Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
PollInterval = time.Second * 10
)
Functions ¶
func GetGVKWithName ¶
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"` Wait bool `json:"wait"` ResultCallback string `json:"result_callback"` ClearNamespaces []string `json:"clear_namespaces"` ClearPVCs bool `json:"clear_pvcs"` AnnotateSlug bool `json:"annotate_slug"` }
type Client ¶
type DesiredState ¶
type DesiredState struct { Present []ApplicationManifests `json:"present"` Missing map[string][]string `json:"missing"` Preflight []string `json:"preflight"` }
DesiredState is what we receive from the kotsadm-api server
type InformRequest ¶
type InformRequest struct { AppID string `json:"app_id"` Informers []types.StatusInformerString `json:"informers"` }
type OverlySimpleGVKWithName ¶
type OverlySimpleGVKWithName struct { APIVersion string `yaml:"apiVersion"` Kind string `yaml:"kind"` Metadata OverlySimpleMetadata `yaml:"metadata"` }
type OverlySimpleMetadata ¶
type PreflightRequest ¶
type SupportBundleRequest ¶
type SupportBundleRequest struct {
URI string `json:"uri"`
}
Source Files ¶
Click to show internal directories.
Click to hide internal directories.