Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppInformersArgs ¶
type AppInformersArgs struct {
AppID string `json:"app_id"`
Sequence int64 `json:"sequence"`
Informers []appstatetypes.StatusInformerString `json:"informers"`
}
type DeployAppArgs ¶
type DeployAppArgs struct {
AppID string `json:"app_id"`
AppSlug string `json:"app_slug"`
ClusterID string `json:"cluster_id"`
Sequence int64 `json:"sequence"`
KubectlVersion string `json:"kubectl_version"`
KustomizeVersion string `json:"kustomize_version"`
AdditionalNamespaces []string `json:"additional_namespaces"`
ImagePullSecrets []string `json:"image_pull_secrets"`
PreviousManifests string `json:"previous_manifests"`
Manifests string `json:"manifests"`
PreviousCharts []byte `json:"previous_charts"`
Charts []byte `json:"charts"`
Wait bool `json:"wait"`
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"`
PreviousKotsKinds *kotsutil.KotsKinds
KotsKinds *kotsutil.KotsKinds
}
type Resource ¶ added in v1.98.3
type Resource struct {
Manifest string
GVR schema.GroupVersionResource
GVK *schema.GroupVersionKind
Unstructured *unstructured.Unstructured
DecodeErrMsg string
}
func (Resource) GetNamespace ¶ added in v1.98.3
func (Resource) GetVersion ¶ added in v1.98.3
type Resources ¶ added in v1.98.3
type Resources []Resource
func (Resources) GroupByKind ¶ added in v1.98.3
func (Resources) HasNamespaces ¶ added in v1.98.3
type UndeployAppArgs ¶ added in v1.98.3
type UndeployAppArgs struct {
AppID string `json:"app_id"`
AppSlug string `json:"app_slug"`
ClusterID string `json:"cluster_id"`
KubectlVersion string `json:"kubectl_version"`
KustomizeVersion string `json:"kustomize_version"`
AdditionalNamespaces []string `json:"additional_namespaces"`
Manifests string `json:"manifests"`
Charts []byte `json:"charts"`
Wait bool `json:"wait"`
ClearNamespaces []string `json:"clear_namespaces"`
ClearPVCs bool `json:"clear_pvcs"`
IsRestore bool `json:"is_restore"`
RestoreLabelSelector *metav1.LabelSelector `json:"restore_label_selector"`
KotsKinds *kotsutil.KotsKinds
}
Click to show internal directories.
Click to hide internal directories.