v1alpha1

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2023 License: Apache-2.0 Imports: 6 Imported by: 2

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the platform v1alpha1 API group +kubebuilder:object:generate=true +groupName=platform.kratix.io

Index

Constants

View Source
const ResourceRequestReplicas = 1
View Source
const WorkerResourceReplicas = -1

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "platform.kratix.io", 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 BucketStateStore added in v0.0.3

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

	Spec   BucketStateStoreSpec   `json:"spec,omitempty"`
	Status BucketStateStoreStatus `json:"status,omitempty"`
}

BucketStateStore is the Schema for the bucketstatestores API

func (*BucketStateStore) DeepCopy added in v0.0.3

func (in *BucketStateStore) DeepCopy() *BucketStateStore

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

func (*BucketStateStore) DeepCopyInto added in v0.0.3

func (in *BucketStateStore) DeepCopyInto(out *BucketStateStore)

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

func (*BucketStateStore) DeepCopyObject added in v0.0.3

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

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

type BucketStateStoreList added in v0.0.3

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

BucketStateStoreList contains a list of BucketStateStore

func (*BucketStateStoreList) DeepCopy added in v0.0.3

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

func (*BucketStateStoreList) DeepCopyInto added in v0.0.3

func (in *BucketStateStoreList) DeepCopyInto(out *BucketStateStoreList)

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

func (*BucketStateStoreList) DeepCopyObject added in v0.0.3

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

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

type BucketStateStoreSpec added in v0.0.3

type BucketStateStoreSpec struct {
	BucketName           string `json:"bucketName"`
	Endpoint             string `json:"endpoint"`
	StateStoreCoreFields `json:",inline"`

	//+kubebuilder:validation:Optional
	Insecure bool `json:"insecure"`
}

BucketStateStoreSpec defines the desired state of BucketStateStore

func (*BucketStateStoreSpec) DeepCopy added in v0.0.3

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

func (*BucketStateStoreSpec) DeepCopyInto added in v0.0.3

func (in *BucketStateStoreSpec) DeepCopyInto(out *BucketStateStoreSpec)

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

type BucketStateStoreStatus added in v0.0.3

type BucketStateStoreStatus struct {
}

BucketStateStoreStatus defines the observed state of BucketStateStore

func (*BucketStateStoreStatus) DeepCopy added in v0.0.3

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

func (*BucketStateStoreStatus) DeepCopyInto added in v0.0.3

func (in *BucketStateStoreStatus) DeepCopyInto(out *BucketStateStoreStatus)

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

type Cluster

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

	Spec   ClusterSpec   `json:"spec,omitempty"`
	Status ClusterStatus `json:"status,omitempty"`
}

Cluster is the Schema for the clusters API

func (*Cluster) DeepCopy

func (in *Cluster) DeepCopy() *Cluster

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

func (*Cluster) DeepCopyInto

func (in *Cluster) DeepCopyInto(out *Cluster)

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

func (*Cluster) DeepCopyObject

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

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

type ClusterList

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

ClusterList contains a list of Cluster

func (*ClusterList) DeepCopy

func (in *ClusterList) DeepCopy() *ClusterList

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

func (*ClusterList) DeepCopyInto

func (in *ClusterList) DeepCopyInto(out *ClusterList)

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

func (*ClusterList) DeepCopyObject

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

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

type ClusterSpec

type ClusterSpec struct {

	// Path within StateStore to write documents, this will be appended to any
	// specficed Spec.Path provided in the referenced StateStore.
	// Kratix will then namespace any resources within the provided path.
	// Path structure will be:
	//   <StateStore.Spec.Path>/<Cluster.Spec.Path>/<Cluster.Metadata.Namespace>/<Cluster.Metadata.Name>/
	//+kubebuilder:validation:Optional
	StateStoreCoreFields `json:",inline"`
	StateStoreRef        *StateStoreReference `json:"stateStoreRef,omitempty"`
}

ClusterSpec defines the desired state of Cluster

func (*ClusterSpec) DeepCopy

func (in *ClusterSpec) DeepCopy() *ClusterSpec

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

func (*ClusterSpec) DeepCopyInto

func (in *ClusterSpec) DeepCopyInto(out *ClusterSpec)

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

type ClusterStatus

type ClusterStatus struct {
}

ClusterStatus defines the observed state of Cluster

func (*ClusterStatus) DeepCopy

func (in *ClusterStatus) DeepCopy() *ClusterStatus

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

func (*ClusterStatus) DeepCopyInto

func (in *ClusterStatus) DeepCopyInto(out *ClusterStatus)

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

type GitStateStore added in v0.0.3

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

	Spec   GitStateStoreSpec   `json:"spec,omitempty"`
	Status GitStateStoreStatus `json:"status,omitempty"`
}

GitStateStore is the Schema for the gitstatestores API

func (*GitStateStore) DeepCopy added in v0.0.3

func (in *GitStateStore) DeepCopy() *GitStateStore

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

func (*GitStateStore) DeepCopyInto added in v0.0.3

func (in *GitStateStore) DeepCopyInto(out *GitStateStore)

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

func (*GitStateStore) DeepCopyObject added in v0.0.3

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

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

type GitStateStoreList added in v0.0.3

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

GitStateStoreList contains a list of GitStateStore

func (*GitStateStoreList) DeepCopy added in v0.0.3

func (in *GitStateStoreList) DeepCopy() *GitStateStoreList

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

func (*GitStateStoreList) DeepCopyInto added in v0.0.3

func (in *GitStateStoreList) DeepCopyInto(out *GitStateStoreList)

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

func (*GitStateStoreList) DeepCopyObject added in v0.0.3

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

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

type GitStateStoreSpec added in v0.0.3

type GitStateStoreSpec struct {
	URL string `json:"url,omitempty"`

	StateStoreCoreFields `json:",inline"`

	//+kubebuilder:validation:Optional
	//+kubebuilder:default=main
	Branch string `json:"branch,omitempty"`
}

GitStateStoreSpec defines the desired state of GitStateStore

func (*GitStateStoreSpec) DeepCopy added in v0.0.3

func (in *GitStateStoreSpec) DeepCopy() *GitStateStoreSpec

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

func (*GitStateStoreSpec) DeepCopyInto added in v0.0.3

func (in *GitStateStoreSpec) DeepCopyInto(out *GitStateStoreSpec)

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

type GitStateStoreStatus added in v0.0.3

type GitStateStoreStatus struct {
}

GitStateStoreStatus defines the observed state of GitStateStore

func (*GitStateStoreStatus) DeepCopy added in v0.0.3

func (in *GitStateStoreStatus) DeepCopy() *GitStateStoreStatus

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

func (*GitStateStoreStatus) DeepCopyInto added in v0.0.3

func (in *GitStateStoreStatus) DeepCopyInto(out *GitStateStoreStatus)

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

type Manifest

type Manifest struct {
	// +kubebuilder:pruning:PreserveUnknownFields
	unstructured.Unstructured `json:",inline"`
}

Manifest represents a resource to be deployed on worker cluster

func (*Manifest) DeepCopy

func (in *Manifest) DeepCopy() *Manifest

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

func (*Manifest) DeepCopyInto

func (in *Manifest) DeepCopyInto(out *Manifest)

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

type Promise

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

	Spec   PromiseSpec   `json:"spec,omitempty"`
	Status PromiseStatus `json:"status,omitempty"`
}

Promise is the Schema for the promises API

func (*Promise) DeepCopy

func (in *Promise) DeepCopy() *Promise

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

func (*Promise) DeepCopyInto

func (in *Promise) DeepCopyInto(out *Promise)

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

func (*Promise) DeepCopyObject

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

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

func (*Promise) DoesNotContainXAASCrd added in v0.0.2

func (p *Promise) DoesNotContainXAASCrd() bool

func (*Promise) GenerateSharedLabels added in v0.0.2

func (p *Promise) GenerateSharedLabels() map[string]string

func (*Promise) GetConfigMapName added in v0.0.2

func (p *Promise) GetConfigMapName() string

func (*Promise) GetControllerResourceName added in v0.0.2

func (p *Promise) GetControllerResourceName() string

func (*Promise) GetIdentifier added in v0.0.2

func (p *Promise) GetIdentifier() string

func (*Promise) GetPipelineResourceName added in v0.0.2

func (p *Promise) GetPipelineResourceName() string

func (*Promise) GetPipelineResourceNamespace added in v0.0.2

func (p *Promise) GetPipelineResourceNamespace() string

type PromiseList

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

PromiseList contains a list of Promise

func (*PromiseList) DeepCopy

func (in *PromiseList) DeepCopy() *PromiseList

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

func (*PromiseList) DeepCopyInto

func (in *PromiseList) DeepCopyInto(out *PromiseList)

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

func (*PromiseList) DeepCopyObject

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

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

type PromiseSpec

type PromiseSpec struct {

	// X's CustomResourceDefinition to create the X-aaS offering
	//
	// +kubebuilder:pruning:PreserveUnknownFields
	// +kubebuilder:validation:EmbeddedResource
	XaasCrd runtime.RawExtension `json:"xaasCrd,omitempty"`

	// Array of Image tags to transform from input request custom resource to output resource(s)
	XaasRequestPipeline []string `json:"xaasRequestPipeline,omitempty"`

	WorkerClusterResources []WorkerClusterResource `json:"workerClusterResources,omitempty"`

	ClusterSelector map[string]string `json:"clusterSelector,omitempty"`
}

PromiseSpec defines the desired state of Promise

func (*PromiseSpec) DeepCopy

func (in *PromiseSpec) DeepCopy() *PromiseSpec

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

func (*PromiseSpec) DeepCopyInto

func (in *PromiseSpec) DeepCopyInto(out *PromiseSpec)

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

type PromiseStatus

type PromiseStatus struct {
}

PromiseStatus defines the observed state of Promise

func (*PromiseStatus) DeepCopy

func (in *PromiseStatus) DeepCopy() *PromiseStatus

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

func (*PromiseStatus) DeepCopyInto

func (in *PromiseStatus) DeepCopyInto(out *PromiseStatus)

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

type StateStoreCoreFields added in v0.0.3

type StateStoreCoreFields struct {
	// Path within the StateStore to write documents. This path should be allocated
	// to Kratix as it will create, update, and delete files within this path.
	// Path structure begins with provided path and ends with namespaced cluster name:
	//   <StateStore.Spec.Path>/<Cluster.Spec.Path>/<Cluster.Metadata.Namespace>/<Cluster.Metadata.Name>/
	//+kubebuilder:validation:Optional
	Path string `json:"path,omitempty"`
	// SecretRef specifies the Secret containing authentication credentials
	SecretRef *corev1.LocalObjectReference `json:"secretRef,omitempty"`
}

func (*StateStoreCoreFields) DeepCopy added in v0.0.3

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

func (*StateStoreCoreFields) DeepCopyInto added in v0.0.3

func (in *StateStoreCoreFields) DeepCopyInto(out *StateStoreCoreFields)

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

type StateStoreReference added in v0.0.3

type StateStoreReference struct {
	// +kubebuilder:validation:Enum=BucketStateStore;GitStateStore
	Kind string `json:"kind"`
	Name string `json:"name"`
}

StateStoreReference is a reference to a StateStore

func (*StateStoreReference) DeepCopy added in v0.0.3

func (in *StateStoreReference) DeepCopy() *StateStoreReference

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

func (*StateStoreReference) DeepCopyInto added in v0.0.3

func (in *StateStoreReference) DeepCopyInto(out *StateStoreReference)

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

type Work

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

	Spec   WorkSpec   `json:"spec,omitempty"`
	Status WorkStatus `json:"status,omitempty"`
}

Work is the Schema for the works API

func (*Work) DeepCopy

func (in *Work) DeepCopy() *Work

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

func (*Work) DeepCopyInto

func (in *Work) DeepCopyInto(out *Work)

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

func (*Work) DeepCopyObject

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

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

func (*Work) HasClusterSelector

func (w *Work) HasClusterSelector() bool

func (*Work) IsResourceRequest

func (w *Work) IsResourceRequest() bool

func (*Work) IsWorkerResource

func (w *Work) IsWorkerResource() bool

type WorkList

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

WorkList contains a list of Work

func (*WorkList) DeepCopy

func (in *WorkList) DeepCopy() *WorkList

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

func (*WorkList) DeepCopyInto

func (in *WorkList) DeepCopyInto(out *WorkList)

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

func (*WorkList) DeepCopyObject

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

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

type WorkPlacement

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

	Spec   WorkPlacementSpec   `json:"spec,omitempty"`
	Status WorkPlacementStatus `json:"status,omitempty"`
}

WorkPlacement is the Schema for the workplacements API

func (*WorkPlacement) DeepCopy

func (in *WorkPlacement) DeepCopy() *WorkPlacement

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

func (*WorkPlacement) DeepCopyInto

func (in *WorkPlacement) DeepCopyInto(out *WorkPlacement)

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

func (*WorkPlacement) DeepCopyObject

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

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

type WorkPlacementList

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

WorkPlacementList contains a list of WorkPlacement

func (*WorkPlacementList) DeepCopy

func (in *WorkPlacementList) DeepCopy() *WorkPlacementList

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

func (*WorkPlacementList) DeepCopyInto

func (in *WorkPlacementList) DeepCopyInto(out *WorkPlacementList)

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

func (*WorkPlacementList) DeepCopyObject

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

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

type WorkPlacementSpec

type WorkPlacementSpec struct {

	// The unique identifier of the Work parent
	WorkName          string `json:"workName,omitempty"`
	TargetClusterName string `json:"targetClusterName,omitempty"`
}

WorkPlacementSpec defines the desired state of WorkPlacement

func (*WorkPlacementSpec) DeepCopy

func (in *WorkPlacementSpec) DeepCopy() *WorkPlacementSpec

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

func (*WorkPlacementSpec) DeepCopyInto

func (in *WorkPlacementSpec) DeepCopyInto(out *WorkPlacementSpec)

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

type WorkPlacementStatus

type WorkPlacementStatus struct {
}

WorkPlacementStatus defines the observed state of WorkPlacement

func (*WorkPlacementStatus) DeepCopy

func (in *WorkPlacementStatus) DeepCopy() *WorkPlacementStatus

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

func (*WorkPlacementStatus) DeepCopyInto

func (in *WorkPlacementStatus) DeepCopyInto(out *WorkPlacementStatus)

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

type WorkSpec

type WorkSpec struct {
	// Workload represents the manifest workload to be deployed on worker cluster
	Workload WorkloadTemplate `json:"workload,omitempty"`

	// ClusterSelector is the selector to use for selecting the worker cluster
	ClusterSelector map[string]string `json:"clusterSelector,omitempty"`

	// -1 denotes Cluster Worker Resources, 1 denotes Resource Request
	Replicas int `json:"replicas,omitempty"`
}

WorkSpec defines the desired state of Work

func (*WorkSpec) DeepCopy

func (in *WorkSpec) DeepCopy() *WorkSpec

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

func (*WorkSpec) DeepCopyInto

func (in *WorkSpec) DeepCopyInto(out *WorkSpec)

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

type WorkStatus

type WorkStatus struct {
}

WorkStatus defines the observed state of Work

func (*WorkStatus) DeepCopy

func (in *WorkStatus) DeepCopy() *WorkStatus

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

func (*WorkStatus) DeepCopyInto

func (in *WorkStatus) DeepCopyInto(out *WorkStatus)

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

type WorkerClusterResource

type WorkerClusterResource struct {
	// Manifests represents a list of kubernetes resources to be deployed on the worker cluster.
	// +optional
	// +kubebuilder:pruning:PreserveUnknownFields
	unstructured.Unstructured `json:",inline"`
}

Resources represents the manifest workload to be deployed on worker cluster

func (*WorkerClusterResource) DeepCopy

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

func (*WorkerClusterResource) DeepCopyInto

func (in *WorkerClusterResource) DeepCopyInto(out *WorkerClusterResource)

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

type WorkloadTemplate

type WorkloadTemplate struct {
	// Manifests represents a list of kuberenetes resources to be deployed on the worker cluster.
	// +optional
	Manifests []Manifest `json:"manifests,omitempty"`
}

WorkloadTemplate represents the manifest workload to be deployed on worker cluster

func (*WorkloadTemplate) DeepCopy

func (in *WorkloadTemplate) DeepCopy() *WorkloadTemplate

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

func (*WorkloadTemplate) DeepCopyInto

func (in *WorkloadTemplate) DeepCopyInto(out *WorkloadTemplate)

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳