v1alpha1

package
v0.0.0-...-7d49ea4 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the stack v1alpha1 API group +kubebuilder:object:generate=true +groupName=stack.zncdata.net

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "stack.zncdata.net", 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 ArgoWorkFlow

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

	Spec   ArgoWorkFlowSpec `json:"spec,omitempty"`
	Status status.Status    `json:"status,omitempty"`
}

ArgoWorkFlow is the Schema for the argoworkflows API

func (*ArgoWorkFlow) DeepCopy

func (in *ArgoWorkFlow) DeepCopy() *ArgoWorkFlow

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

func (*ArgoWorkFlow) DeepCopyInto

func (in *ArgoWorkFlow) DeepCopyInto(out *ArgoWorkFlow)

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

func (*ArgoWorkFlow) DeepCopyObject

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

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

func (*ArgoWorkFlow) GetNameWithSuffix

func (a *ArgoWorkFlow) GetNameWithSuffix(suffix string) string

func (*ArgoWorkFlow) InitStatusConditions

func (a *ArgoWorkFlow) InitStatusConditions()

type ArgoWorkFlowList

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

ArgoWorkFlowList contains a list of ArgoWorkFlow

func (*ArgoWorkFlowList) DeepCopy

func (in *ArgoWorkFlowList) DeepCopy() *ArgoWorkFlowList

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

func (*ArgoWorkFlowList) DeepCopyInto

func (in *ArgoWorkFlowList) DeepCopyInto(out *ArgoWorkFlowList)

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

func (*ArgoWorkFlowList) DeepCopyObject

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

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

type ArgoWorkFlowSpec

type ArgoWorkFlowSpec struct {

	// +kubebuilder:validation:Optional
	RoleConfig *RoleConfigSpec `json:"roleConfig"`

	// +kubebuilder:validation:Optional
	RoleGroups map[string]*RoleConfigSpec `json:"roleGroups"`

	// +kubebuilder:validation:Optional
	Labels map[string]string `json:"labels"`
}

ArgoWorkFlowSpec defines the desired state of ArgoWorkFlow

func (*ArgoWorkFlowSpec) DeepCopy

func (in *ArgoWorkFlowSpec) DeepCopy() *ArgoWorkFlowSpec

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

func (*ArgoWorkFlowSpec) DeepCopyInto

func (in *ArgoWorkFlowSpec) DeepCopyInto(out *ArgoWorkFlowSpec)

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

type ArgoWorkFlowStatus

type ArgoWorkFlowStatus struct {
	// +kubebuilder:validation:Optional
	Conditions []metav1.Condition `json:"condition,omitempty"`
}

ArgoWorkFlowStatus defines the observed state of ArgoWorkFlow

func (*ArgoWorkFlowStatus) DeepCopy

func (in *ArgoWorkFlowStatus) DeepCopy() *ArgoWorkFlowStatus

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

func (*ArgoWorkFlowStatus) DeepCopyInto

func (in *ArgoWorkFlowStatus) DeepCopyInto(out *ArgoWorkFlowStatus)

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

type ConfigSpec

type ConfigSpec struct {
	// +kubebuilder:validation:Optional
	Resources *corev1.ResourceRequirements `json:"resources"`
}

func (*ConfigSpec) DeepCopy

func (in *ConfigSpec) DeepCopy() *ConfigSpec

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

func (*ConfigSpec) DeepCopyInto

func (in *ConfigSpec) DeepCopyInto(out *ConfigSpec)

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

type ImageSpec

type ImageSpec struct {
	// +kubebuilder:validation:Optional
	// +kubebuilder:default:="bitnami/argo-workflow-controller"
	Repository string `json:"repository,omitempty"`
	// +kubebuilder:validation:Optional
	// +kubebuilder:default:="3.5.0"
	Tag string `json:"tag,omitempty"`
	// +kubebuilder:validation:Optional
	// +kubebuilder:default:=IfNotPresent
	PullPolicy corev1.PullPolicy `json:"pullPolicy,omitempty"`
}

func (*ImageSpec) DeepCopy

func (in *ImageSpec) DeepCopy() *ImageSpec

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

func (*ImageSpec) DeepCopyInto

func (in *ImageSpec) DeepCopyInto(out *ImageSpec)

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

type RoleConfigSpec

type RoleConfigSpec struct {
	// +kubebuilder:validation:Optional
	// +kubebuilder:default:=1
	Replicas int32 `json:"replicas"`

	// +kubebuilder:validation:Optional
	Image *ImageSpec `json:"image"`

	// +kubebuilder:validation:Required
	Service *ServiceSpec `json:"service"`

	// +kubebuilder:validation:Optional
	SecurityContext *corev1.PodSecurityContext `json:"securityContext"`

	// +kubebuilder:validation:Optional
	MatchLabels map[string]string `json:"matchLabels,omitempty"`

	// +kubebuilder:validation:Optional
	Affinity *corev1.Affinity `json:"affinity"`

	// +kubebuilder:validation:Optional
	NodeSelector map[string]string `json:"nodeSelector"`

	// +kubebuilder:validation:Optional
	Tolerations *corev1.Toleration `json:"tolerations"`

	// +kubebuilder:validation:Optional
	// +kubebuilder:default:=true
	ServiceAccount *bool `json:"serviceAccount"`

	// +kubebuilder:validation:Optional
	Config *ConfigSpec `json:"config"`
}

func (*RoleConfigSpec) DeepCopy

func (in *RoleConfigSpec) DeepCopy() *RoleConfigSpec

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

func (*RoleConfigSpec) DeepCopyInto

func (in *RoleConfigSpec) DeepCopyInto(out *RoleConfigSpec)

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

type ServiceSpec

type ServiceSpec struct {
	// +kubebuilder:validation:Optional
	Annotations map[string]string `json:"annotations,omitempty"`
	// +kubebuilder:validation:enum=ClusterIP;NodePort;LoadBalancer;ExternalName
	// +kubebuilder:default=ClusterIP
	Type corev1.ServiceType `json:"type,omitempty"`
	// +kubebuilder:validation:Minimum=1
	// +kubebuilder:validation:Maximum=65535
	// +kubebuilder:default=18080
	Port int32 `json:"port"`
}

func (*ServiceSpec) DeepCopy

func (in *ServiceSpec) DeepCopy() *ServiceSpec

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

func (*ServiceSpec) DeepCopyInto

func (in *ServiceSpec) DeepCopyInto(out *ServiceSpec)

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