Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsNamespace ¶
Types ¶
type ApplicationManifests ¶
type ApplicationManifests struct { AppID string `json:"app_id"` AppSlug string `json:"app_slug"` KubectlVersion string `json:"kubectl_version"` AdditionalNamespaces []string `json:"additional_namespaces"` ImagePullSecret string `json:"image_pull_secret"` Namespace string `json:"namespace"` PreviousManifests string `json:"previous_manifests"` Manifests string `json:"manifests"` PreviousCharts []byte `json:"previous_charts"` Charts []byte `json:"charts"` Wait bool `json:"wait"` ResultCallback string `json:"result_callback"` ClearNamespaces []string `json:"clear_namespaces"` ClearPVCs bool `json:"clear_pvcs"` AnnotateSlug bool `json:"annotate_slug"` IsRestore bool `json:"is_restore"` RestoreLabelSelector *metav1.LabelSelector `json:"restore_label_selector"` }
type Client ¶
type DesiredState ¶
type DesiredState struct { Present []ApplicationManifests `json:"present"` Missing map[string][]string `json:"missing"` }
DesiredState is what we receive from the kotsadm-api server
type InformRequest ¶
type InformRequest struct { AppID string `json:"app_id"` Sequence int64 `json:"sequence"` Informers []types.StatusInformerString `json:"informers"` }
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.