Documentation
¶
Index ¶
Constants ¶
View Source
const ( PagerDutyOauthTokenConfigKey = "pd_oauth_token" PagerDutyUserTokenConfigKey = "pd_user_token" )
View Source
const ( Undefined optionsDialogResponse = 0 Retry = 1 Skip = 2 Force = 3 Cancel = 4 )
Variables ¶
This section is empty.
Functions ¶
func GetPagerdutyClient ¶ added in v0.13.0
func NewCmdCluster ¶
func NewCmdCluster(streams genericclioptions.IOStreams, flags *genericclioptions.ConfigFlags, client client.Client, globalOpts *globalflags.GlobalOptions) *cobra.Command
NewCmdCluster implements the cluster utility
Types ¶
type ClusterHealthCondensedObject ¶
type ClusterHealthCondensedObject struct {
ID string `yaml:"ID"`
Name string `yaml:"Name"`
Provider string `yaml:"Provider"`
AZs []string `yaml:"AZs"`
Expected struct {
Master int `yaml:"Master"`
Infra int `yaml:"Infra"`
Worker interface{} `yaml:"Worker"`
} `yaml:"Expected nodes"`
Actual struct {
Total int `yaml:"Total"`
Stopped int `yaml:"Stopped"`
RunningMasters int `yaml:"Running Masters"`
RunningInfra int `yaml:"Running Infra"`
RunningWorker int `yaml:"Running Worker"`
} `yaml:"Actual nodes"`
}
type CreatorPatch ¶ added in v0.12.0
type CreatorPatch struct {
Creator_ID string `json:"creator_id"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.