Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsNamespace ¶
Types ¶
type Client ¶
type Client struct {
TargetNamespace string
HookStopChans []chan struct{}
ExistingInformers map[string]bool // namespaces map to invoke the Informer once during deploy
// contains filtered or unexported fields
}
func (*Client) ApplyAppInformers ¶
func (c *Client) ApplyAppInformers(args operatortypes.AppInformersArgs)
func (*Client) DeployApp ¶
func (c *Client) DeployApp(deployArgs operatortypes.DeployAppArgs) (deployed bool, finalError error)
type ClientInterface ¶
type ClientInterface interface {
Init() error
Shutdown()
DeployApp(deployArgs operatortypes.DeployAppArgs) (deployed bool, finalError error)
ApplyAppInformers(args operatortypes.AppInformersArgs)
}
type DeployResults ¶
type DesiredState ¶
type DesiredState struct {
Present []operatortypes.DeployAppArgs `json:"present"`
Missing map[string][]string `json:"missing"`
}
DesiredState is what we receive from the kotsadm api server
type OverlySimpleGVKWithName ¶
type OverlySimpleGVKWithName struct {
APIVersion string `yaml:"apiVersion"`
Kind string `yaml:"kind"`
Metadata OverlySimpleMetadata `yaml:"metadata"`
}
func GetGVKWithNameAndNs ¶
func GetGVKWithNameAndNs(content []byte, baseNS string) (string, OverlySimpleGVKWithName)
Source Files
¶
Click to show internal directories.
Click to hide internal directories.