v1alpha1

package
v0.0.0-...-0e2d6d1 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

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

Index

Constants

View Source
const (
	AssignmentKind                  = "Assignment"
	AssignmentSchedulingPolicyLabel = "scheduling-policy"
)
View Source
const (
	ClusterTypeLabel      = "cluster-type"
	DeploymentTargetLabel = "deployment-target"
	YamlContentType       = "yaml"
	EnvContentType        = "sh"
)
View Source
const (
	WorkspaceLabel = "workspace"
	WorkloadLabel  = "workload"
)
View Source
const (
	ReadyToPRConditionType = "ReadyToPR"
	PRConditionType        = "PR"
	ReadyConditionType     = "Ready"
)

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "scheduler.kalypso.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 Assignment

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

	Spec   AssignmentSpec   `json:"spec,omitempty"`
	Status AssignmentStatus `json:"status,omitempty"`
}

Assignment is the Schema for the assignments API

func (*Assignment) DeepCopy

func (in *Assignment) DeepCopy() *Assignment

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

func (*Assignment) DeepCopyInto

func (in *Assignment) DeepCopyInto(out *Assignment)

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

func (*Assignment) DeepCopyObject

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

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

type AssignmentList

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

AssignmentList contains a list of Assignment

func (*AssignmentList) DeepCopy

func (in *AssignmentList) DeepCopy() *AssignmentList

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

func (*AssignmentList) DeepCopyInto

func (in *AssignmentList) DeepCopyInto(out *AssignmentList)

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

func (*AssignmentList) DeepCopyObject

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

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

type AssignmentPackage

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

	Spec   AssignmentPackageSpec   `json:"spec,omitempty"`
	Status AssignmentPackageStatus `json:"status,omitempty"`
}

AssignmentPackage is the Schema for the assignmentpackages API

func (*AssignmentPackage) DeepCopy

func (in *AssignmentPackage) DeepCopy() *AssignmentPackage

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

func (*AssignmentPackage) DeepCopyInto

func (in *AssignmentPackage) DeepCopyInto(out *AssignmentPackage)

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

func (*AssignmentPackage) DeepCopyObject

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

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

type AssignmentPackageList

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

AssignmentPackageList contains a list of AssignmentPackage

func (*AssignmentPackageList) DeepCopy

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

func (*AssignmentPackageList) DeepCopyInto

func (in *AssignmentPackageList) DeepCopyInto(out *AssignmentPackageList)

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

func (*AssignmentPackageList) DeepCopyObject

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

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

type AssignmentPackageSpec

type AssignmentPackageSpec struct {
	//+kubebuilder:pruning:PreserveUnknownFields
	ReconcilerManifests []string `json:"reconcilerManifests,omitempty"`
	//+optional
	ReconcilerManifestsContentType string `json:"reconcilerManifestsContentType,omitempty"`

	//+kubebuilder:pruning:PreserveUnknownFields
	NamespaceManifests []string `json:"namespaceManifests,omitempty"`
	//+optional
	NamespaceManifestsContentType string `json:"namespaceManifestsContentType,omitempty"`

	//+kubebuilder:pruning:PreserveUnknownFields
	ConfigManifests []string `json:"configManifests,omitempty"`
	//+optional
	ConfigManifestsContentType string `json:"configManifestsContentType,omitempty"`
}

AssignmentPackageSpec defines the desired state of AssignmentPackage

func (*AssignmentPackageSpec) DeepCopy

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

func (*AssignmentPackageSpec) DeepCopyInto

func (in *AssignmentPackageSpec) DeepCopyInto(out *AssignmentPackageSpec)

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

type AssignmentPackageStatus

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

AssignmentPackageStatus defines the observed state of AssignmentPackage

func (*AssignmentPackageStatus) DeepCopy

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

func (*AssignmentPackageStatus) DeepCopyInto

func (in *AssignmentPackageStatus) DeepCopyInto(out *AssignmentPackageStatus)

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

type AssignmentSpec

type AssignmentSpec struct {
	//+kubebuilder:validation:MinLength=0
	Workload string `json:"workload"`

	//+kubebuilder:validation:MinLength=0
	DeploymentTarget string `json:"deploymentTarget"`

	//+kubebuilder:validation:MinLength=0
	ClusterType string `json:"clusterType"`
}

AssignmentSpec defines the desired state of Assignment

func (*AssignmentSpec) DeepCopy

func (in *AssignmentSpec) DeepCopy() *AssignmentSpec

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

func (*AssignmentSpec) DeepCopyInto

func (in *AssignmentSpec) DeepCopyInto(out *AssignmentSpec)

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

type AssignmentStatus

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

	//optional
	GitIssueStatus GitIssueStatus `json:"gitIssueStatus,omitempty"`
}

AssignmentStatus defines the observed state of Assignment

func (*AssignmentStatus) DeepCopy

func (in *AssignmentStatus) DeepCopy() *AssignmentStatus

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

func (*AssignmentStatus) DeepCopyInto

func (in *AssignmentStatus) DeepCopyInto(out *AssignmentStatus)

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

type BaseRepo

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

	Spec   BaseRepoSpec   `json:"spec,omitempty"`
	Status BaseRepoStatus `json:"status,omitempty"`
}

BaseRepo is the Schema for the baserepoes API

func (*BaseRepo) DeepCopy

func (in *BaseRepo) DeepCopy() *BaseRepo

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

func (*BaseRepo) DeepCopyInto

func (in *BaseRepo) DeepCopyInto(out *BaseRepo)

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

func (*BaseRepo) DeepCopyObject

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

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

type BaseRepoList

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

BaseRepoList contains a list of BaseRepo

func (*BaseRepoList) DeepCopy

func (in *BaseRepoList) DeepCopy() *BaseRepoList

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

func (*BaseRepoList) DeepCopyInto

func (in *BaseRepoList) DeepCopyInto(out *BaseRepoList)

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

func (*BaseRepoList) DeepCopyObject

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

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

type BaseRepoSpec

type BaseRepoSpec struct {
	ManifestsSpec `json:",inline"`

	//+optional
	Commit string `json:"commit,omitempty"`
}

BaseRepoSpec defines the desired state of BaseRepo

func (*BaseRepoSpec) DeepCopy

func (in *BaseRepoSpec) DeepCopy() *BaseRepoSpec

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

func (*BaseRepoSpec) DeepCopyInto

func (in *BaseRepoSpec) DeepCopyInto(out *BaseRepoSpec)

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

type BaseRepoStatus

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

BaseRepoStatus defines the observed state of BaseRepo

func (*BaseRepoStatus) DeepCopy

func (in *BaseRepoStatus) DeepCopy() *BaseRepoStatus

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

func (*BaseRepoStatus) DeepCopyInto

func (in *BaseRepoStatus) DeepCopyInto(out *BaseRepoStatus)

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

type ClusterContentType

type ClusterContentType struct {
	DeploymentTargets map[string]AssignmentPackageSpec
}

func NewClusterContentType

func NewClusterContentType() *ClusterContentType

NewClusterContentType creates a new ClusterContentType

func (*ClusterContentType) DeepCopy

func (in *ClusterContentType) DeepCopy() *ClusterContentType

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

func (*ClusterContentType) DeepCopyInto

func (in *ClusterContentType) DeepCopyInto(out *ClusterContentType)

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

type ClusterType

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

	Spec   ClusterTypeSpec   `json:"spec,omitempty"`
	Status ClusterTypeStatus `json:"status,omitempty"`
}

ClusterType is the Schema for the clustertypes API

func (*ClusterType) DeepCopy

func (in *ClusterType) DeepCopy() *ClusterType

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

func (*ClusterType) DeepCopyInto

func (in *ClusterType) DeepCopyInto(out *ClusterType)

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

func (*ClusterType) DeepCopyObject

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

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

type ClusterTypeList

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

ClusterTypeList contains a list of ClusterType

func (*ClusterTypeList) DeepCopy

func (in *ClusterTypeList) DeepCopy() *ClusterTypeList

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

func (*ClusterTypeList) DeepCopyInto

func (in *ClusterTypeList) DeepCopyInto(out *ClusterTypeList)

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

func (*ClusterTypeList) DeepCopyObject

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

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

type ClusterTypeSelectorSpec

type ClusterTypeSelectorSpec struct {
	LabelSelector metav1.LabelSelector `json:"labelSelector"`
}

func (*ClusterTypeSelectorSpec) DeepCopy

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

func (*ClusterTypeSelectorSpec) DeepCopyInto

func (in *ClusterTypeSelectorSpec) DeepCopyInto(out *ClusterTypeSelectorSpec)

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

type ClusterTypeSpec

type ClusterTypeSpec struct {
	//+kubebuilder:validation:MinLength=0
	Reconciler string `json:"reconciler"`

	//+kubebuilder:validation:MinLength=0
	NamespaceService string `json:"namespaceService"`

	//+kubebuilder:validation:MinLength=0
	ConfigType string `json:"configType"`
}

ClusterTypeSpec defines the desired state of ClusterType

func (*ClusterTypeSpec) DeepCopy

func (in *ClusterTypeSpec) DeepCopy() *ClusterTypeSpec

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

func (*ClusterTypeSpec) DeepCopyInto

func (in *ClusterTypeSpec) DeepCopyInto(out *ClusterTypeSpec)

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

type ClusterTypeStatus

type ClusterTypeStatus struct {
}

ClusterTypeStatus defines the observed state of ClusterType

func (*ClusterTypeStatus) DeepCopy

func (in *ClusterTypeStatus) DeepCopy() *ClusterTypeStatus

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

func (*ClusterTypeStatus) DeepCopyInto

func (in *ClusterTypeStatus) DeepCopyInto(out *ClusterTypeStatus)

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

type ConfigSchema

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

	Spec   ConfigSchemaSpec   `json:"spec,omitempty"`
	Status ConfigSchemaStatus `json:"status,omitempty"`
}

ConfigSchema is the Schema for the configschemas API

func (*ConfigSchema) DeepCopy

func (in *ConfigSchema) DeepCopy() *ConfigSchema

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

func (*ConfigSchema) DeepCopyInto

func (in *ConfigSchema) DeepCopyInto(out *ConfigSchema)

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

func (*ConfigSchema) DeepCopyObject

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

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

type ConfigSchemaList

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

ConfigSchemaList contains a list of ConfigSchema

func (*ConfigSchemaList) DeepCopy

func (in *ConfigSchemaList) DeepCopy() *ConfigSchemaList

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

func (*ConfigSchemaList) DeepCopyInto

func (in *ConfigSchemaList) DeepCopyInto(out *ConfigSchemaList)

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

func (*ConfigSchemaList) DeepCopyObject

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

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

type ConfigSchemaSpec

type ConfigSchemaSpec struct {
	//+kubebuilder:pruning:PreserveUnknownFields
	//+kubebuilder:validation:MinLength=0
	Schema string `json:"schema"`
}

ConfigSchemaSpec defines the desired state of ConfigSchema

func (*ConfigSchemaSpec) DeepCopy

func (in *ConfigSchemaSpec) DeepCopy() *ConfigSchemaSpec

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

func (*ConfigSchemaSpec) DeepCopyInto

func (in *ConfigSchemaSpec) DeepCopyInto(out *ConfigSchemaSpec)

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

type ConfigSchemaStatus

type ConfigSchemaStatus struct {
}

ConfigSchemaStatus defines the observed state of ConfigSchema

func (*ConfigSchemaStatus) DeepCopy

func (in *ConfigSchemaStatus) DeepCopy() *ConfigSchemaStatus

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

func (*ConfigSchemaStatus) DeepCopyInto

func (in *ConfigSchemaStatus) DeepCopyInto(out *ConfigSchemaStatus)

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

type ConfigType

type ConfigType string

+kubebuilder:validation:Enum=configMap;envFile

const (
	ConfigMapConfigType ConfigType = "configMap"
	EnvFileConfigType   ConfigType = "envFile"
)

type DeploymentTarget

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

	Spec   DeploymentTargetSpec   `json:"spec,omitempty"`
	Status DeploymentTargetStatus `json:"status,omitempty"`
}

DeploymentTarget is the Schema for the deploymenttargets API

func (*DeploymentTarget) DeepCopy

func (in *DeploymentTarget) DeepCopy() *DeploymentTarget

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

func (*DeploymentTarget) DeepCopyInto

func (in *DeploymentTarget) DeepCopyInto(out *DeploymentTarget)

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

func (*DeploymentTarget) DeepCopyObject

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

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

func (*DeploymentTarget) GetWorkload

func (dt *DeploymentTarget) GetWorkload() string

get deployment target workload

func (*DeploymentTarget) GetWorkspace

func (dt *DeploymentTarget) GetWorkspace() string

get deployment target workspace

type DeploymentTargetDetail

type DeploymentTargetDetail struct {
	Name string `json:"name"`
	// +optional
	Labels map[string]string `json:"labels,omitempty"`

	DeploymentTargetSpec `json:",inline"`
}

func (*DeploymentTargetDetail) DeepCopy

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

func (*DeploymentTargetDetail) DeepCopyInto

func (in *DeploymentTargetDetail) DeepCopyInto(out *DeploymentTargetDetail)

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

type DeploymentTargetList

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

DeploymentTargetList contains a list of DeploymentTarget

func (*DeploymentTargetList) DeepCopy

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

func (*DeploymentTargetList) DeepCopyInto

func (in *DeploymentTargetList) DeepCopyInto(out *DeploymentTargetList)

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

func (*DeploymentTargetList) DeepCopyObject

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

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

type DeploymentTargetSelectorSpec

type DeploymentTargetSelectorSpec struct {
	//+optional
	Workspace string `json:"workspace,omitempty"`

	LabelSelector metav1.LabelSelector `json:"labelSelector"`
}

func (*DeploymentTargetSelectorSpec) DeepCopy

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

func (*DeploymentTargetSelectorSpec) DeepCopyInto

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

type DeploymentTargetSpec

type DeploymentTargetSpec struct {
	//+kubebuilder:validation:MinLength=0
	Environment string `json:"environment"`

	Manifests map[string]string `json:"manifests"`

	// +optional
	ConfigSchemas []string `json:"configSchemas"`
}

DeploymentTargetSpec defines the desired state of DeploymentTarget

func (*DeploymentTargetSpec) DeepCopy

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

func (*DeploymentTargetSpec) DeepCopyInto

func (in *DeploymentTargetSpec) DeepCopyInto(out *DeploymentTargetSpec)

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

type DeploymentTargetStatus

type DeploymentTargetStatus struct {
}

DeploymentTargetStatus defines the observed state of DeploymentTarget

func (*DeploymentTargetStatus) DeepCopy

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

func (*DeploymentTargetStatus) DeepCopyInto

func (in *DeploymentTargetStatus) DeepCopyInto(out *DeploymentTargetStatus)

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

type Environment

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

	Spec   EnvironmentSpec   `json:"spec,omitempty"`
	Status EnvironmentStatus `json:"status,omitempty"`
}

Environment is the Schema for the environments API

func (*Environment) DeepCopy

func (in *Environment) DeepCopy() *Environment

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

func (*Environment) DeepCopyInto

func (in *Environment) DeepCopyInto(out *Environment)

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

func (*Environment) DeepCopyObject

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

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

type EnvironmentList

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

EnvironmentList contains a list of Environment

func (*EnvironmentList) DeepCopy

func (in *EnvironmentList) DeepCopy() *EnvironmentList

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

func (*EnvironmentList) DeepCopyInto

func (in *EnvironmentList) DeepCopyInto(out *EnvironmentList)

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

func (*EnvironmentList) DeepCopyObject

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

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

type EnvironmentSpec

type EnvironmentSpec struct {
	ControlPlane ManifestsSpec `json:"controlPlane"`
}

EnvironmentSpec defines the desired state of Environment

func (*EnvironmentSpec) DeepCopy

func (in *EnvironmentSpec) DeepCopy() *EnvironmentSpec

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

func (*EnvironmentSpec) DeepCopyInto

func (in *EnvironmentSpec) DeepCopyInto(out *EnvironmentSpec)

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

type EnvironmentStatus

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

EnvironmentStatus defines the observed state of Environment

func (*EnvironmentStatus) DeepCopy

func (in *EnvironmentStatus) DeepCopy() *EnvironmentStatus

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

func (*EnvironmentStatus) DeepCopyInto

func (in *EnvironmentStatus) DeepCopyInto(out *EnvironmentStatus)

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

type GitIssueStatus

type GitIssueStatus struct {
	IssueNo     int    `json:"issueNo,omitempty"`
	ContentHash string `json:"contentHash,omitempty"`
}

func (*GitIssueStatus) DeepCopy

func (in *GitIssueStatus) DeepCopy() *GitIssueStatus

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

func (*GitIssueStatus) DeepCopyInto

func (in *GitIssueStatus) DeepCopyInto(out *GitIssueStatus)

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

type GitOpsRepo

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

	Spec   GitOpsRepoSpec   `json:"spec,omitempty"`
	Status GitOpsRepoStatus `json:"status,omitempty"`
}

GitOpsRepo is the Schema for the gitopsrepoes API

func (*GitOpsRepo) DeepCopy

func (in *GitOpsRepo) DeepCopy() *GitOpsRepo

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

func (*GitOpsRepo) DeepCopyInto

func (in *GitOpsRepo) DeepCopyInto(out *GitOpsRepo)

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

func (*GitOpsRepo) DeepCopyObject

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

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

type GitOpsRepoList

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

GitOpsRepoList contains a list of GitOpsRepo

func (*GitOpsRepoList) DeepCopy

func (in *GitOpsRepoList) DeepCopy() *GitOpsRepoList

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

func (*GitOpsRepoList) DeepCopyInto

func (in *GitOpsRepoList) DeepCopyInto(out *GitOpsRepoList)

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

func (*GitOpsRepoList) DeepCopyObject

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

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

type GitOpsRepoSpec

type GitOpsRepoSpec struct {
	ManifestsSpec `json:",inline"`
}

GitOpsRepoSpec defines the desired state of GitOpsRepo

func (*GitOpsRepoSpec) DeepCopy

func (in *GitOpsRepoSpec) DeepCopy() *GitOpsRepoSpec

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

func (*GitOpsRepoSpec) DeepCopyInto

func (in *GitOpsRepoSpec) DeepCopyInto(out *GitOpsRepoSpec)

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

type GitOpsRepoStatus

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

GitOpsRepoStatus defines the observed state of GitOpsRepo

func (*GitOpsRepoStatus) DeepCopy

func (in *GitOpsRepoStatus) DeepCopy() *GitOpsRepoStatus

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

func (*GitOpsRepoStatus) DeepCopyInto

func (in *GitOpsRepoStatus) DeepCopyInto(out *GitOpsRepoStatus)

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

type ManifestsSpec

type ManifestsSpec struct {
	//+kubebuilder:validation:MinLength=0
	Repo string `json:"repo"`

	//+kubebuilder:validation:MinLength=0
	Branch string `json:"branch"`

	//+kubebuilder:validation:MinLength=0
	Path string `json:"path"`
}

func (*ManifestsSpec) DeepCopy

func (in *ManifestsSpec) DeepCopy() *ManifestsSpec

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

func (*ManifestsSpec) DeepCopyInto

func (in *ManifestsSpec) DeepCopyInto(out *ManifestsSpec)

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

type RepoContentType

type RepoContentType struct {
	ClusterTypes map[string]ClusterContentType
	BaseRepo     BaseRepoSpec
}

func NewRepoContentType

func NewRepoContentType() *RepoContentType

newRepoContentType creates a new RepoContentType

func (*RepoContentType) DeepCopy

func (in *RepoContentType) DeepCopy() *RepoContentType

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

func (*RepoContentType) DeepCopyInto

func (in *RepoContentType) DeepCopyInto(out *RepoContentType)

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

type SchedulingPolicy

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

	Spec   SchedulingPolicySpec   `json:"spec,omitempty"`
	Status SchedulingPolicyStatus `json:"status,omitempty"`
}

SchedulingPolicy is the Schema for the schedulingpolicies API

func (*SchedulingPolicy) DeepCopy

func (in *SchedulingPolicy) DeepCopy() *SchedulingPolicy

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

func (*SchedulingPolicy) DeepCopyInto

func (in *SchedulingPolicy) DeepCopyInto(out *SchedulingPolicy)

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

func (*SchedulingPolicy) DeepCopyObject

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

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

type SchedulingPolicyList

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

SchedulingPolicyList contains a list of SchedulingPolicy

func (*SchedulingPolicyList) DeepCopy

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

func (*SchedulingPolicyList) DeepCopyInto

func (in *SchedulingPolicyList) DeepCopyInto(out *SchedulingPolicyList)

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

func (*SchedulingPolicyList) DeepCopyObject

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

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

type SchedulingPolicySpec

type SchedulingPolicySpec struct {
	DeploymentTargetSelector DeploymentTargetSelectorSpec `json:"deploymentTargetSelector"`
	ClusterTypeSelector      ClusterTypeSelectorSpec      `json:"clusterTypeSelector"`
}

SchedulingPolicySpec defines the desired state of SchedulingPolicy

func (*SchedulingPolicySpec) DeepCopy

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

func (*SchedulingPolicySpec) DeepCopyInto

func (in *SchedulingPolicySpec) DeepCopyInto(out *SchedulingPolicySpec)

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

type SchedulingPolicyStatus

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

SchedulingPolicyStatus defines the observed state of SchedulingPolicy

func (*SchedulingPolicyStatus) DeepCopy

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

func (*SchedulingPolicyStatus) DeepCopyInto

func (in *SchedulingPolicyStatus) DeepCopyInto(out *SchedulingPolicyStatus)

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

type Template

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

	Spec   TemplateSpec   `json:"spec,omitempty"`
	Status TemplateStatus `json:"status,omitempty"`
}

Template is the Schema for the templates API

func (*Template) DeepCopy

func (in *Template) DeepCopy() *Template

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

func (*Template) DeepCopyInto

func (in *Template) DeepCopyInto(out *Template)

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

func (*Template) DeepCopyObject

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

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

type TemplateList

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

TemplateList contains a list of Template

func (*TemplateList) DeepCopy

func (in *TemplateList) DeepCopy() *TemplateList

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

func (*TemplateList) DeepCopyInto

func (in *TemplateList) DeepCopyInto(out *TemplateList)

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

func (*TemplateList) DeepCopyObject

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

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

type TemplateSpec

type TemplateSpec struct {
	Type TemplateType `json:"type"`

	//+optional
	ContentType string `json:"contentType"`

	//+kubebuilder:pruning:PreserveUnknownFields
	Manifests []string `json:"manifests"`
}

TemplateSpec defines the desired state of Template

func (*TemplateSpec) DeepCopy

func (in *TemplateSpec) DeepCopy() *TemplateSpec

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

func (*TemplateSpec) DeepCopyInto

func (in *TemplateSpec) DeepCopyInto(out *TemplateSpec)

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

type TemplateStatus

type TemplateStatus struct {
}

TemplateStatus defines the observed state of Template

func (*TemplateStatus) DeepCopy

func (in *TemplateStatus) DeepCopy() *TemplateStatus

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

func (*TemplateStatus) DeepCopyInto

func (in *TemplateStatus) DeepCopyInto(out *TemplateStatus)

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

type TemplateType

type TemplateType string

+kubebuilder:validation:Enum=reconciler;namespace;config

const (
	ReconcilerTemplate TemplateType = "reconciler"
	NamespaceTemplate  TemplateType = "namespace"
	ConfigTemplate     TemplateType = "config"
)

type Workload

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

	Spec   WorkloadSpec   `json:"spec,omitempty"`
	Status WorkloadStatus `json:"status,omitempty"`
}

Workload is the Schema for the workloads API

func (*Workload) DeepCopy

func (in *Workload) DeepCopy() *Workload

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

func (*Workload) DeepCopyInto

func (in *Workload) DeepCopyInto(out *Workload)

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

func (*Workload) DeepCopyObject

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

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

type WorkloadList

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

WorkloadList contains a list of Workload

func (*WorkloadList) DeepCopy

func (in *WorkloadList) DeepCopy() *WorkloadList

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

func (*WorkloadList) DeepCopyInto

func (in *WorkloadList) DeepCopyInto(out *WorkloadList)

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

func (*WorkloadList) DeepCopyObject

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

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

type WorkloadRegistration

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

	Spec   WorkloadRegistrationSpec   `json:"spec,omitempty"`
	Status WorkloadRegistrationStatus `json:"status,omitempty"`
}

WorkloadRegistration is the Schema for the workloadregistrations API

func (*WorkloadRegistration) DeepCopy

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

func (*WorkloadRegistration) DeepCopyInto

func (in *WorkloadRegistration) DeepCopyInto(out *WorkloadRegistration)

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

func (*WorkloadRegistration) DeepCopyObject

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

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

type WorkloadRegistrationList

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

WorkloadRegistrationList contains a list of WorkloadRegistration

func (*WorkloadRegistrationList) DeepCopy

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

func (*WorkloadRegistrationList) DeepCopyInto

func (in *WorkloadRegistrationList) DeepCopyInto(out *WorkloadRegistrationList)

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

func (*WorkloadRegistrationList) DeepCopyObject

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

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

type WorkloadRegistrationSpec

type WorkloadRegistrationSpec struct {
	Workload  ManifestsSpec `json:"workload"`
	Workspace string        `json:"workspace,omitempty"`
}

WorkloadRegistrationSpec defines the desired state of WorkloadRegistration

func (*WorkloadRegistrationSpec) DeepCopy

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

func (*WorkloadRegistrationSpec) DeepCopyInto

func (in *WorkloadRegistrationSpec) DeepCopyInto(out *WorkloadRegistrationSpec)

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

type WorkloadRegistrationStatus

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

WorkloadRegistrationStatus defines the observed state of WorkloadRegistration

func (*WorkloadRegistrationStatus) DeepCopy

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

func (*WorkloadRegistrationStatus) DeepCopyInto

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

type WorkloadSpec

type WorkloadSpec struct {
	DeploymentTargets []DeploymentTargetDetail `json:"deploymentTargets,omitempty"`
	// +optional
	ConfigSchemas []string `json:"configSchemas"`
}

WorkloadSpec defines the desired state of Workload

func (*WorkloadSpec) DeepCopy

func (in *WorkloadSpec) DeepCopy() *WorkloadSpec

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

func (*WorkloadSpec) DeepCopyInto

func (in *WorkloadSpec) DeepCopyInto(out *WorkloadSpec)

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

type WorkloadStatus

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

WorkloadStatus defines the observed state of Workload

func (*WorkloadStatus) DeepCopy

func (in *WorkloadStatus) DeepCopy() *WorkloadStatus

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

func (*WorkloadStatus) DeepCopyInto

func (in *WorkloadStatus) DeepCopyInto(out *WorkloadStatus)

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