v1alpha1

package
v0.0.0-...-5453b1d Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the kude.kfirs.com/v1alpha1 API group +kubebuilder:object:generate=true +groupName=kude.kfirs.com

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "kude.kfirs.com", Version: "v1alpha1"}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion}

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)

Functions

This section is empty.

Types

type CommandRun

type CommandRun struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   CommandRunSpec   `json:"spec,omitempty"`
	Status CommandRunStatus `json:"status,omitempty"`
}

CommandRun defines the complete definition of a command run.

func (*CommandRun) DeepCopy

func (in *CommandRun) DeepCopy() *CommandRun

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CommandRun.

func (*CommandRun) DeepCopyInto

func (in *CommandRun) DeepCopyInto(out *CommandRun)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*CommandRun) DeepCopyObject

func (in *CommandRun) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*CommandRun) GetStatus

func (in *CommandRun) GetStatus() object.Status

type CommandRunList

type CommandRunList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []CommandRun `json:"items"`
}

CommandRunList contains a list of CommandRun

func (*CommandRunList) DeepCopy

func (in *CommandRunList) DeepCopy() *CommandRunList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CommandRunList.

func (*CommandRunList) DeepCopyInto

func (in *CommandRunList) DeepCopyInto(out *CommandRunList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*CommandRunList) DeepCopyObject

func (in *CommandRunList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*CommandRunList) Len

func (in *CommandRunList) Len() int

func (*CommandRunList) Less

func (in *CommandRunList) Less(i, j int) bool

func (*CommandRunList) Swap

func (in *CommandRunList) Swap(i, j int)

type CommandRunSpec

type CommandRunSpec struct {
	// The commit SHA this command runs for
	CommitSHA string `json:"commitSHA"`

	// Local directory in the kude-controller pod where the command is executed
	Directory string `json:"directory"`

	// Executable (e.g. "kubectl")
	Command string `json:"command"`

	// Arguments passed to the command
	Args []string `json:"args"`
}

CommandRunSpec defines the specification of the run

func (*CommandRunSpec) DeepCopy

func (in *CommandRunSpec) DeepCopy() *CommandRunSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CommandRunSpec.

func (*CommandRunSpec) DeepCopyInto

func (in *CommandRunSpec) DeepCopyInto(out *CommandRunSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type CommandRunStatus

type CommandRunStatus struct {
	// Exit code of the command
	ExitCode int `json:"exitCode"`

	// Combined output of stdout and stderr of the command
	Output string `json:"output,omitempty"`

	// Optional additional error message
	Error string `json:"error,omitempty"`

	// Conditions of the command run
	Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,1,rep,name=conditions"`
}

CommandRunStatus defines the observed state of a CommandRun.

func (*CommandRunStatus) DeepCopy

func (in *CommandRunStatus) DeepCopy() *CommandRunStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CommandRunStatus.

func (*CommandRunStatus) DeepCopyInto

func (in *CommandRunStatus) DeepCopyInto(out *CommandRunStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*CommandRunStatus) GetConditions

func (in *CommandRunStatus) GetConditions() *[]metav1.Condition

type GitRepository

type GitRepository struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   GitRepositorySpec   `json:"spec"`
	Status GitRepositoryStatus `json:"status,omitempty"`
}

GitRepository defines a single monitored Git repository

func (*GitRepository) DeepCopy

func (in *GitRepository) DeepCopy() *GitRepository

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GitRepository.

func (*GitRepository) DeepCopyInto

func (in *GitRepository) DeepCopyInto(out *GitRepository)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*GitRepository) DeepCopyObject

func (in *GitRepository) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*GitRepository) GetStatus

func (in *GitRepository) GetStatus() object.Status

type GitRepositoryList

type GitRepositoryList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []GitRepository `json:"items"`
}

GitRepositoryList contains a list of GitRepository

func (*GitRepositoryList) DeepCopy

func (in *GitRepositoryList) DeepCopy() *GitRepositoryList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GitRepositoryList.

func (*GitRepositoryList) DeepCopyInto

func (in *GitRepositoryList) DeepCopyInto(out *GitRepositoryList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*GitRepositoryList) DeepCopyObject

func (in *GitRepositoryList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*GitRepositoryList) Len

func (in *GitRepositoryList) Len() int

func (*GitRepositoryList) Less

func (in *GitRepositoryList) Less(i, j int) bool

func (*GitRepositoryList) Swap

func (in *GitRepositoryList) Swap(i, j int)

type GitRepositorySpec

type GitRepositorySpec struct {
	// +kubebuilder:validation:Required
	// URL of the Git repository
	URL string `json:"url"`

	// +kubebuilder:validation:Required
	// Branch of the Git repository to monitor (TODO: rename to "Ref"; let user specify "refs/heads/...", "refs/tags/..." or SHA)
	Branch string `json:"branch"`

	// +kubebuilder:validation:MinLength=1
	// Polling interval for the Git repository
	PollingInterval string `json:"pollingInterval"`
}

GitRepositorySpec is the desired state of a monitored Git repository.

func (*GitRepositorySpec) DeepCopy

func (in *GitRepositorySpec) DeepCopy() *GitRepositorySpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GitRepositorySpec.

func (*GitRepositorySpec) DeepCopyInto

func (in *GitRepositorySpec) DeepCopyInto(out *GitRepositorySpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type GitRepositoryStatus

type GitRepositoryStatus struct {
	// SHA of the last successfully applied commit
	LastPulledSHA string `json:"lastPulledSHA,omitempty"`

	// Directory where the Git repository is cloned
	WorkDirectory string `json:"workDirectory,omitempty"`

	// Conditions represent the latest available observations of the resource
	Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,1,rep,name=conditions"`
}

GitRepositoryStatus defines the observed state of GitRepository

func (*GitRepositoryStatus) DeepCopy

func (in *GitRepositoryStatus) DeepCopy() *GitRepositoryStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GitRepositoryStatus.

func (*GitRepositoryStatus) DeepCopyInto

func (in *GitRepositoryStatus) DeepCopyInto(out *GitRepositoryStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*GitRepositoryStatus) GetConditions

func (in *GitRepositoryStatus) GetConditions() *[]metav1.Condition

type HelmBundle

type HelmBundle struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   HelmBundleSpec   `json:"spec,omitempty"`
	Status HelmBundleStatus `json:"status,omitempty"`
}

HelmBundle describes a bundle that installs a Helm chart into the cluster.

func (*HelmBundle) DeepCopy

func (in *HelmBundle) DeepCopy() *HelmBundle

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HelmBundle.

func (*HelmBundle) DeepCopyInto

func (in *HelmBundle) DeepCopyInto(out *HelmBundle)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*HelmBundle) DeepCopyObject

func (in *HelmBundle) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*HelmBundle) GetStatus

func (in *HelmBundle) GetStatus() object.Status

type HelmBundleList

type HelmBundleList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []HelmBundle `json:"items"`
}

HelmBundleList contains a list of helm bundles.

func (*HelmBundleList) DeepCopy

func (in *HelmBundleList) DeepCopy() *HelmBundleList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HelmBundleList.

func (*HelmBundleList) DeepCopyInto

func (in *HelmBundleList) DeepCopyInto(out *HelmBundleList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*HelmBundleList) DeepCopyObject

func (in *HelmBundleList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*HelmBundleList) Len

func (in *HelmBundleList) Len() int

func (*HelmBundleList) Less

func (in *HelmBundleList) Less(i, j int) bool

func (*HelmBundleList) Swap

func (in *HelmBundleList) Swap(i, j int)

type HelmBundleSpec

type HelmBundleSpec struct {
	Chart      string `json:"chart,omitempty"`      // Name of the Helm chart to be installed (without the "MyRepo/" prefix)
	Repository string `json:"repository,omitempty"` // Source repository of the Helm chart
	Release    string `json:"release,omitempty"`    // Name of the Helm release - use this to differentiate between multiple installations of the same chart in the cluster (e.g. "db1", "db2")
	Version    string `json:"version,omitempty"`    // Version of the Helm chart to use
	Values     string `json:"values,omitempty"`     // Custom values to provide as parameters to the Helm chart
}

HelmBundleSpec describes the desired state of a HelmBundle in the cluster. It provides the necessary information on the Helm chart to be installed in the cluster.

func (*HelmBundleSpec) DeepCopy

func (in *HelmBundleSpec) DeepCopy() *HelmBundleSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HelmBundleSpec.

func (*HelmBundleSpec) DeepCopyInto

func (in *HelmBundleSpec) DeepCopyInto(out *HelmBundleSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type HelmBundleStatus

type HelmBundleStatus struct {
	ChartStatus string `json:"chartStatus,omitempty"` // Status of the chart in the cluster

	// Conditions represent the latest available observations of the resource
	Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,1,rep,name=conditions"`
}

HelmBundleStatus defines the observed state of a HelmBundle.

func (*HelmBundleStatus) DeepCopy

func (in *HelmBundleStatus) DeepCopy() *HelmBundleStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HelmBundleStatus.

func (*HelmBundleStatus) DeepCopyInto

func (in *HelmBundleStatus) DeepCopyInto(out *HelmBundleStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*HelmBundleStatus) GetConditions

func (in *HelmBundleStatus) GetConditions() *[]metav1.Condition

type KubectlBundle

type KubectlBundle struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   KubectlBundleSpec   `json:"spec"`
	Status KubectlBundleStatus `json:"status,omitempty"`
}

KubectlBundle defines a set of Kubernetes manifest YAML files to be applied in the cluster.

func (*KubectlBundle) DeepCopy

func (in *KubectlBundle) DeepCopy() *KubectlBundle

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubectlBundle.

func (*KubectlBundle) DeepCopyInto

func (in *KubectlBundle) DeepCopyInto(out *KubectlBundle)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*KubectlBundle) DeepCopyObject

func (in *KubectlBundle) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*KubectlBundle) GetStatus

func (in *KubectlBundle) GetStatus() object.Status

type KubectlBundleList

type KubectlBundleList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []KubectlBundle `json:"items"`
}

KubectlBundleList contains a list of KubectlBundle

func (*KubectlBundleList) DeepCopy

func (in *KubectlBundleList) DeepCopy() *KubectlBundleList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubectlBundleList.

func (*KubectlBundleList) DeepCopyInto

func (in *KubectlBundleList) DeepCopyInto(out *KubectlBundleList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*KubectlBundleList) DeepCopyObject

func (in *KubectlBundleList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*KubectlBundleList) Len

func (in *KubectlBundleList) Len() int

func (*KubectlBundleList) Less

func (in *KubectlBundleList) Less(i, j int) bool

func (*KubectlBundleList) Swap

func (in *KubectlBundleList) Swap(i, j int)

type KubectlBundleSpec

type KubectlBundleSpec struct {
	// Arguments to pass to the kubectl command
	Args []string `json:"args,omitempty"`

	// +kubebuilder:validation:Required
	// +kubebuilder:validation:MinItems=1
	// Files to apply
	Files []string `json:"files"`

	// +kubebuilder:validation:Required
	// +kubebuilder:validation:Pattern=`^[^/]+/[^/]+$`
	// Source repository to pull the files from
	SourceRepository string `json:"sourceRepository"`

	// +kubebuilder:validation:Required
	// +kubebuilder:validation:MinLength=1
	// Drift verification interval
	DriftDetectionInterval string `json:"driftDetectionInterval"`

	// +kubebuilder:validation:Minimum=1
	// Runs history limit
	RunsHistoryLimit int `json:"runsHistoryLimit,omitempty"`
}

KubectlBundleSpec describes the desired state of a KubectlBundle in the cluster. It provides the necessary information on the manifests to be installed in the cluster.

func (*KubectlBundleSpec) DeepCopy

func (in *KubectlBundleSpec) DeepCopy() *KubectlBundleSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubectlBundleSpec.

func (*KubectlBundleSpec) DeepCopyInto

func (in *KubectlBundleSpec) DeepCopyInto(out *KubectlBundleSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type KubectlBundleStatus

type KubectlBundleStatus struct {
	Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,1,rep,name=conditions"`
}

KubectlBundleStatus defines the observed state of a KubectlBundle.

func (*KubectlBundleStatus) DeepCopy

func (in *KubectlBundleStatus) DeepCopy() *KubectlBundleStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubectlBundleStatus.

func (*KubectlBundleStatus) DeepCopyInto

func (in *KubectlBundleStatus) DeepCopyInto(out *KubectlBundleStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*KubectlBundleStatus) GetConditions

func (in *KubectlBundleStatus) GetConditions() *[]metav1.Condition

type KudeBundle

type KudeBundle struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   KudeBundleSpec   `json:"spec,omitempty"`
	Status KudeBundleStatus `json:"status,omitempty"`
}

KudeBundle defines a set of Kubernetes manifest YAML files to be applied in the cluster.

func (*KudeBundle) DeepCopy

func (in *KudeBundle) DeepCopy() *KudeBundle

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KudeBundle.

func (*KudeBundle) DeepCopyInto

func (in *KudeBundle) DeepCopyInto(out *KudeBundle)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*KudeBundle) DeepCopyObject

func (in *KudeBundle) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*KudeBundle) GetStatus

func (in *KudeBundle) GetStatus() object.Status

type KudeBundleList

type KudeBundleList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []KudeBundle `json:"items"`
}

KudeBundleList contains a list of KudeBundle

func (*KudeBundleList) DeepCopy

func (in *KudeBundleList) DeepCopy() *KudeBundleList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KudeBundleList.

func (*KudeBundleList) DeepCopyInto

func (in *KudeBundleList) DeepCopyInto(out *KudeBundleList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*KudeBundleList) DeepCopyObject

func (in *KudeBundleList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*KudeBundleList) Len

func (in *KudeBundleList) Len() int

func (*KudeBundleList) Less

func (in *KudeBundleList) Less(i, j int) bool

func (*KudeBundleList) Swap

func (in *KudeBundleList) Swap(i, j int)

type KudeBundleSpec

type KudeBundleSpec struct {
	Files []string `json:"files,omitempty"`

	// +kubebuilder:validation:Pattern=`^[^/]+/[^/]+$`
	SourceRepository string `json:"sourceRepository,omitempty"`
}

KudeBundleSpec describes the desired state of a KudeBundle in the cluster. It provides the necessary information on the manifests to be installed in the cluster.

func (*KudeBundleSpec) DeepCopy

func (in *KudeBundleSpec) DeepCopy() *KudeBundleSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KudeBundleSpec.

func (*KudeBundleSpec) DeepCopyInto

func (in *KudeBundleSpec) DeepCopyInto(out *KudeBundleSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type KudeBundleStatus

type KudeBundleStatus struct {
	Errors []string `json:"errors,omitempty"` // List of errors encountered while applying the files

	// Conditions represent the latest available observations of the resource
	Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,1,rep,name=conditions"`
}

KudeBundleStatus defines the observed state of a KudeBundle.

func (*KudeBundleStatus) DeepCopy

func (in *KudeBundleStatus) DeepCopy() *KudeBundleStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KudeBundleStatus.

func (*KudeBundleStatus) DeepCopyInto

func (in *KudeBundleStatus) DeepCopyInto(out *KudeBundleStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*KudeBundleStatus) GetConditions

func (in *KudeBundleStatus) GetConditions() *[]metav1.Condition

type KustomizeBundle

type KustomizeBundle struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   KustomizeBundleSpec   `json:"spec,omitempty"`
	Status KustomizeBundleStatus `json:"status,omitempty"`
}

KustomizeBundle defines a set of Kubernetes manifest YAML files to be applied in the cluster.

func (*KustomizeBundle) DeepCopy

func (in *KustomizeBundle) DeepCopy() *KustomizeBundle

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KustomizeBundle.

func (*KustomizeBundle) DeepCopyInto

func (in *KustomizeBundle) DeepCopyInto(out *KustomizeBundle)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*KustomizeBundle) DeepCopyObject

func (in *KustomizeBundle) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*KustomizeBundle) GetStatus

func (in *KustomizeBundle) GetStatus() object.Status

type KustomizeBundleList

type KustomizeBundleList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []KustomizeBundle `json:"items"`
}

KustomizeBundleList contains a list of KustomizeBundle

func (*KustomizeBundleList) DeepCopy

func (in *KustomizeBundleList) DeepCopy() *KustomizeBundleList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KustomizeBundleList.

func (*KustomizeBundleList) DeepCopyInto

func (in *KustomizeBundleList) DeepCopyInto(out *KustomizeBundleList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*KustomizeBundleList) DeepCopyObject

func (in *KustomizeBundleList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*KustomizeBundleList) Len

func (in *KustomizeBundleList) Len() int

func (*KustomizeBundleList) Less

func (in *KustomizeBundleList) Less(i, j int) bool

func (*KustomizeBundleList) Swap

func (in *KustomizeBundleList) Swap(i, j int)

type KustomizeBundleSpec

type KustomizeBundleSpec struct {
	Files []string `json:"files,omitempty"`

	// +kubebuilder:validation:Pattern=`^[^/]+/[^/]+$`
	SourceRepository string `json:"sourceRepository,omitempty"`
}

KustomizeBundleSpec describes the desired state of a KustomizeBundle in the cluster. It provides the necessary information on the manifests to be installed in the cluster.

func (*KustomizeBundleSpec) DeepCopy

func (in *KustomizeBundleSpec) DeepCopy() *KustomizeBundleSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KustomizeBundleSpec.

func (*KustomizeBundleSpec) DeepCopyInto

func (in *KustomizeBundleSpec) DeepCopyInto(out *KustomizeBundleSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type KustomizeBundleStatus

type KustomizeBundleStatus struct {
	Errors []string `json:"errors,omitempty"` // List of errors encountered while applying the files

	// Conditions represent the latest available observations of the resource
	Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,1,rep,name=conditions"`
}

KustomizeBundleStatus defines the observed state of a KustomizeBundle.

func (*KustomizeBundleStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KustomizeBundleStatus.

func (*KustomizeBundleStatus) DeepCopyInto

func (in *KustomizeBundleStatus) DeepCopyInto(out *KustomizeBundleStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*KustomizeBundleStatus) GetConditions

func (in *KustomizeBundleStatus) GetConditions() *[]metav1.Condition

Jump to

Keyboard shortcuts

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