Documentation ¶
Index ¶
Constants ¶
View Source
const ( // functions FuncGet = "get" FuncAdd = "add" FuncRemove = "remove" FuncRemoveAll = "remove_all" FuncKeepOnly = "keep_only" FuncPrintInfo = "print_info" FuncWaitForReady = "wait_for_ready" FuncWaitForDelete = "wait_for_delete" FuncLogin = "login" FuncLogout = "logout" // kinds KindSubscription = "Subscription" KindImageContentSourcePolicy = "ImageContentSourcePolicy" KindCatalogSource = "CatalogSource" KindNamespace = "Namespace" KindDeployment = "Deployment" KindPod = "Pod" KindRoute = "Route" KindInternal = "Internal" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Info ¶
type Info struct { Name string DisplayName string Version version.OperatorVersion Images []string Phase corsosv1alpha1.ClusterServiceVersionPhase }
type Node ¶
type Node struct { Name string `json:"name"` Labels map[string]string `json:"labels"` IsMaster bool `json:"isMaster"` Capacity corev1.ResourceList `json:"capacity"` NodeInfo corev1.NodeSystemInfo `json:"nodeInfo"` }
type PluginConfig ¶
type PluginConfig struct { LoadClient bool `yaml:"load_client"` LoadFromConfig bool `yaml:"load_from_config"` ConfigFile string `yaml:"config_file"` Server string `yaml:"server"` Username string `yaml:"username"` Password string `yaml:"password"` Token string `yaml:"token"` Insecure bool `yaml:"insecure"` TimeoutConfig TimeoutConfig `yaml:"timeout_config"` }
PluginConfig struct
func (*PluginConfig) Validate ¶
func (p *PluginConfig) Validate() error
type PortForwardRequest ¶ added in v1.1.0
type ProviderConfig ¶
type ProviderConfig struct { Kind string `yaml:"kind"` Function string `yaml:"function"` Config TaskConfig `yaml:"config"` Data []interface{} `yaml:"data"` }
ProviderConfig struct
type TaskConfig ¶
type TaskConfig struct { Recreate bool `yaml:"recreate"` TimeoutConfig TimeoutConfig `yaml:"timeout_config"` }
type TimeoutConfig ¶
type TimeoutConfig struct { Timeout time.Duration `yaml:"timeout"` ScanInterval time.Duration `yaml:"scan_interval"` ExpectedSuccessCount int `yaml:"success_count"` }
func (*TimeoutConfig) UpdateDefaults ¶
func (tc *TimeoutConfig) UpdateDefaults()
Click to show internal directories.
Click to hide internal directories.