types

package
v1.98.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 4, 2023 License: Apache-2.0 Imports: 5 Imported by: 1

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) GetGroup added in v1.98.3

func (r Resource) GetGroup() string

func (Resource) GetKind added in v1.98.3

func (r Resource) GetKind() string

func (Resource) GetName added in v1.98.3

func (r Resource) GetName() string

func (Resource) GetNamespace added in v1.98.3

func (r Resource) GetNamespace() string

func (Resource) GetVersion added in v1.98.3

func (r Resource) GetVersion() string

type Resources added in v1.98.3

type Resources []Resource

func (Resources) GroupByKind added in v1.98.3

func (r Resources) GroupByKind() map[string]Resources

func (Resources) HasCRDs added in v1.98.3

func (r Resources) HasCRDs() bool

func (Resources) HasNamespaces added in v1.98.3

func (r Resources) HasNamespaces() bool

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
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL