-
Notifications
You must be signed in to change notification settings - Fork 94
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
50cf684
commit 978a4a1
Showing
15 changed files
with
453 additions
and
58 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,27 @@ | ||
package v1beta1 | ||
|
||
type SingleOutcome struct { | ||
When string `json:"when,omitempty" yaml:"when,omitempty"` | ||
Message string `json:"message,omitempty" yaml:"message,omitempty"` | ||
URI string `json:"uri,omitempty" yaml:"uri,omitempty"` | ||
} | ||
|
||
type Outcome struct { | ||
Fail *SingleOutcome `json:"fail,omitempty" yaml:"fail,omitempty"` | ||
Warn *SingleOutcome `json:"warn,omitempty" yaml:"warn,omitempty"` | ||
Pass *SingleOutcome `json:"pass,omitempty" yaml:"pass,omitempty"` | ||
} | ||
|
||
type ClusterVersion struct { | ||
Outcomes []*Outcome `json:"outcomes" yaml:"outcomes"` | ||
} | ||
|
||
type StorageClass struct { | ||
Outcome []*Outcome `json:"outcomes" yaml:"outcomes"` | ||
Name string `json:"name" yaml:"name"` | ||
} | ||
|
||
type Analyze struct { | ||
ClusterVersion *ClusterVersion `json:"clusterVersion,omitempty" yaml:"clusterVersion,omitempty"` | ||
StorageClass *StorageClass `json:"storageClass,omitempty" yaml:"supportBundle,omitempty"` | ||
} |
Oops, something went wrong.