v1alpha1

package
v0.0.0-...-5af6bcd Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2024 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the v1alpha1 API group +kubebuilder:object:generate=true +groupName=udmire.cn

Index

Constants

This section is empty.

Variables

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

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

	Spec   AgentsSpec   `json:"spec,omitempty"`
	Status AgentsStatus `json:"status,omitempty"`
}

Agents is the Schema for the agents API

func (*Agents) DeepCopy

func (in *Agents) DeepCopy() *Agents

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

func (*Agents) DeepCopyInto

func (in *Agents) DeepCopyInto(out *Agents)

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

func (*Agents) DeepCopyObject

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

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

type AgentsList

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

AgentsList contains a list of Agents

func (*AgentsList) DeepCopy

func (in *AgentsList) DeepCopy() *AgentsList

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

func (*AgentsList) DeepCopyInto

func (in *AgentsList) DeepCopyInto(out *AgentsList)

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

func (*AgentsList) DeepCopyObject

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

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

type AgentsSpec

type AgentsSpec struct {
	AppSpec `json:",inline"`
}

AgentsSpec defines the desired state of Agents

func (*AgentsSpec) DeepCopy

func (in *AgentsSpec) DeepCopy() *AgentsSpec

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

func (*AgentsSpec) DeepCopyInto

func (in *AgentsSpec) DeepCopyInto(out *AgentsSpec)

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

type AgentsStatus

type AgentsStatus struct {
}

AgentsStatus defines the observed state of Agents

func (*AgentsStatus) DeepCopy

func (in *AgentsStatus) DeepCopy() *AgentsStatus

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

func (*AgentsStatus) DeepCopyInto

func (in *AgentsStatus) DeepCopyInto(out *AgentsStatus)

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

type AppDepsSpec

type AppDepsSpec struct {
	Capsules map[string]CapsuleSpec `json:"capsules,omitempty"`
}

func (*AppDepsSpec) DeepCopy

func (in *AppDepsSpec) DeepCopy() *AppDepsSpec

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

func (*AppDepsSpec) DeepCopyInto

func (in *AppDepsSpec) DeepCopyInto(out *AppDepsSpec)

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

type AppSpec

type AppSpec struct {
	Name      string   `json:"name,omitempty"`
	Namespace string   `json:"namespace,omitempty"`
	Template  Template `json:"template"`
	Singleton bool     `json:"singleton,omitempty"`

	Registry string `json:"registry,omitempty"`

	CommonSpec `json:",inline"`
	Components map[string]ComponentSpec `json:"components,omitempty"`

	// App Dependencies, must be ready before AppSpec Applied.
	Dependencies AppDepsSpec `json:"deps,omitempty"`
}

func (*AppSpec) DeepCopy

func (in *AppSpec) DeepCopy() *AppSpec

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

func (*AppSpec) DeepCopyInto

func (in *AppSpec) DeepCopyInto(out *AppSpec)

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

type Apps

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

	Spec   AppsSpec   `json:"spec,omitempty"`
	Status AppsStatus `json:"status,omitempty"`
}

Apps is the Schema for the apps API

func (*Apps) DeepCopy

func (in *Apps) DeepCopy() *Apps

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

func (*Apps) DeepCopyInto

func (in *Apps) DeepCopyInto(out *Apps)

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

func (*Apps) DeepCopyObject

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

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

type AppsList

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

AppsList contains a list of Apps

func (*AppsList) DeepCopy

func (in *AppsList) DeepCopy() *AppsList

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

func (*AppsList) DeepCopyInto

func (in *AppsList) DeepCopyInto(out *AppsList)

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

func (*AppsList) DeepCopyObject

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

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

type AppsSpec

type AppsSpec struct {
	Registry    string             `json:"registry,omitempty"`
	Apployments map[string]AppSpec `json:"apployments,omitempty"`
}

AppsSpec defines the desired state of Apps

func (*AppsSpec) DeepCopy

func (in *AppsSpec) DeepCopy() *AppsSpec

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

func (*AppsSpec) DeepCopyInto

func (in *AppsSpec) DeepCopyInto(out *AppsSpec)

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

type AppsStatus

type AppsStatus struct {
}

AppsStatus defines the observed state of Apps

func (*AppsStatus) DeepCopy

func (in *AppsStatus) DeepCopy() *AppsStatus

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

func (*AppsStatus) DeepCopyInto

func (in *AppsStatus) DeepCopyInto(out *AppsStatus)

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

type Capsule

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

	Spec   CapsuleSpec   `json:"spec,omitempty"`
	Status CapsuleStatus `json:"status,omitempty"`
}

Capsule is the Schema for the agents API

func (*Capsule) DeepCopy

func (in *Capsule) DeepCopy() *Capsule

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

func (*Capsule) DeepCopyInto

func (in *Capsule) DeepCopyInto(out *Capsule)

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

func (*Capsule) DeepCopyObject

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

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

type CapsuleCommonSpec

type CapsuleCommonSpec struct {
	ConfigMaps map[string]*ConfigMapSpec `json:"configmaps,omitempty"`
	Secrets    map[string]*SecretSpec    `json:"secrets,omitempty"`
}

func (*CapsuleCommonSpec) DeepCopy

func (in *CapsuleCommonSpec) DeepCopy() *CapsuleCommonSpec

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

func (*CapsuleCommonSpec) DeepCopyInto

func (in *CapsuleCommonSpec) DeepCopyInto(out *CapsuleCommonSpec)

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

type CapsuleList

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

CapsuleList contains a list of Capsule

func (*CapsuleList) DeepCopy

func (in *CapsuleList) DeepCopy() *CapsuleList

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

func (*CapsuleList) DeepCopyInto

func (in *CapsuleList) DeepCopyInto(out *CapsuleList)

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

func (*CapsuleList) DeepCopyObject

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

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

type CapsuleSpec

type CapsuleSpec struct {
	Name      string   `json:"name,omitempty"`
	Namespace string   `json:"namespace,omitempty"`
	Template  Template `json:"template"`

	CapsuleCommonSpec `json:",inline"`

	Components map[string]CapsuleCommonSpec `json:"components,omitempty"`
}

CapsuleSpec defines the desired state of Capsule

func (*CapsuleSpec) DeepCopy

func (in *CapsuleSpec) DeepCopy() *CapsuleSpec

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

func (*CapsuleSpec) DeepCopyInto

func (in *CapsuleSpec) DeepCopyInto(out *CapsuleSpec)

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

type CapsuleStatus

type CapsuleStatus struct {
}

CapsuleStatus defines the observed state of Capsule

func (*CapsuleStatus) DeepCopy

func (in *CapsuleStatus) DeepCopy() *CapsuleStatus

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

func (*CapsuleStatus) DeepCopyInto

func (in *CapsuleStatus) DeepCopyInto(out *CapsuleStatus)

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

type ClusterRoleBindingSpec

type ClusterRoleBindingSpec struct {
	Subjects []rbac_v1.Subject `json:"subjects,omitempty"`
	RoleRef  *rbac_v1.RoleRef  `json:"roleRef,omitempty"`
}

func (*ClusterRoleBindingSpec) DeepCopy

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

func (*ClusterRoleBindingSpec) DeepCopyInto

func (in *ClusterRoleBindingSpec) DeepCopyInto(out *ClusterRoleBindingSpec)

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

type ClusterRoleSpec

type ClusterRoleSpec struct {
	Rules           []rbac_v1.PolicyRule     `json:"rules,omitempty"`
	AggregationRule *rbac_v1.AggregationRule `json:"aggregationRule,omitempty"`
}

func (*ClusterRoleSpec) DeepCopy

func (in *ClusterRoleSpec) DeepCopy() *ClusterRoleSpec

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

func (*ClusterRoleSpec) DeepCopyInto

func (in *ClusterRoleSpec) DeepCopyInto(out *ClusterRoleSpec)

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

type CommonSpec

type CommonSpec struct {
	ConfigMaps map[string]*ConfigMapSpec `json:"configmaps,omitempty"`
	Secrets    map[string]*SecretSpec    `json:"secrets,omitempty"`
	Services   map[string]*ServiceSpec   `json:"services,omitempty"`

	ServiceAccount     *ServiceAccountSpec     `json:"serviceAccount,omitempty"`
	ClusterRole        *ClusterRoleSpec        `json:"clusterRole,omitempty"`
	ClusterRoleBinding *ClusterRoleBindingSpec `json:"clusterRoleBinding,omitempty"`
	Role               *RoleSpec               `json:"role,omitempty"`
	RoleBinding        *RoleBindingSpec        `json:"roleBinding,omitempty"`
	Ingress            *IngressSpec            `json:"ingress,omitempty"`
}

func (*CommonSpec) DeepCopy

func (in *CommonSpec) DeepCopy() *CommonSpec

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

func (*CommonSpec) DeepCopyInto

func (in *CommonSpec) DeepCopyInto(out *CommonSpec)

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

type ComponentSpec

type ComponentSpec struct {
	CommonSpec   `json:",inline"`
	WorkloadSpec `json:",inline"`
	HPA          *HpaSpec `json:"hpa,omitempty"`
}

func (*ComponentSpec) DeepCopy

func (in *ComponentSpec) DeepCopy() *ComponentSpec

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

func (*ComponentSpec) DeepCopyInto

func (in *ComponentSpec) DeepCopyInto(out *ComponentSpec)

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

type ConfigMapSpec

type ConfigMapSpec struct {
	Data map[string]string `json:"data,omitempty"`
}

func (*ConfigMapSpec) DeepCopy

func (in *ConfigMapSpec) DeepCopy() *ConfigMapSpec

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

func (*ConfigMapSpec) DeepCopyInto

func (in *ConfigMapSpec) DeepCopyInto(out *ConfigMapSpec)

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

type CronJobSpec

type CronJobSpec struct {
	Schedule                   *string                     `json:"schedule,omitempty"`
	TimeZone                   *string                     `json:"timeZone,omitempty"`
	StartingDeadlineSeconds    *int64                      `json:"startingDeadlineSeconds,omitempty"`
	ConcurrencyPolicy          *batch_v1.ConcurrencyPolicy `json:"concurrencyPolicy,omitempty"`
	Suspend                    *bool                       `json:"suspend,omitempty"`
	JobTemplate                *JobTemplateSpec            `json:"jobTemplate,omitempty"`
	SuccessfulJobsHistoryLimit *int32                      `json:"successfulJobsHistoryLimit,omitempty"`
	FailedJobsHistoryLimit     *int32                      `json:"failedJobsHistoryLimit,omitempty"`
}

func (*CronJobSpec) DeepCopy

func (in *CronJobSpec) DeepCopy() *CronJobSpec

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

func (*CronJobSpec) DeepCopyInto

func (in *CronJobSpec) DeepCopyInto(out *CronJobSpec)

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

type DaemonSetSpec

type DaemonSetSpec struct {
	Selector             *metav1.LabelSelector            `json:"selector,omitempty"`
	Template             *PodTemplateSpec                 `json:"template,omitempty"`
	UpdateStrategy       *apps_v1.DaemonSetUpdateStrategy `json:"updateStrategy,omitempty"`
	MinReadySeconds      *int32                           `json:"minReadySeconds,omitempty"`
	RevisionHistoryLimit *int32                           `json:"revisionHistoryLimit,omitempty"`
}

func (*DaemonSetSpec) DeepCopy

func (in *DaemonSetSpec) DeepCopy() *DaemonSetSpec

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

func (*DaemonSetSpec) DeepCopyInto

func (in *DaemonSetSpec) DeepCopyInto(out *DaemonSetSpec)

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

type DeploymentSpec

type DeploymentSpec struct {
	Replicas             *int32                      `json:"replicas,omitempty"`
	Selector             *metav1.LabelSelector       `json:"selector,omitempty"`
	Template             *PodTemplateSpec            `json:"template,omitempty"`
	Strategy             *apps_v1.DeploymentStrategy `json:"strategy,omitempty" patchStrategy:"retainKeys"`
	MinReadySeconds      *int32                      `json:"minReadySeconds,omitempty"`
	RevisionHistoryLimit *int32                      `json:"revisionHistoryLimit,omitempty"`
}

func (*DeploymentSpec) DeepCopy

func (in *DeploymentSpec) DeepCopy() *DeploymentSpec

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

func (*DeploymentSpec) DeepCopyInto

func (in *DeploymentSpec) DeepCopyInto(out *DeploymentSpec)

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

type Exporters

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

	Spec   ExportersSpec   `json:"spec,omitempty"`
	Status ExportersStatus `json:"status,omitempty"`
}

Exporters is the Schema for the exporters API

func (*Exporters) DeepCopy

func (in *Exporters) DeepCopy() *Exporters

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

func (*Exporters) DeepCopyInto

func (in *Exporters) DeepCopyInto(out *Exporters)

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

func (*Exporters) DeepCopyObject

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

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

type ExportersList

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

ExportersList contains a list of Exporters

func (*ExportersList) DeepCopy

func (in *ExportersList) DeepCopy() *ExportersList

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

func (*ExportersList) DeepCopyInto

func (in *ExportersList) DeepCopyInto(out *ExportersList)

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

func (*ExportersList) DeepCopyObject

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

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

type ExportersSpec

type ExportersSpec struct {
	Registry    string             `json:"registry,omitempty"`
	Exployments map[string]AppSpec `json:"exployments,omitempty"`
}

ExportersSpec defines the desired state of Exporters

func (*ExportersSpec) DeepCopy

func (in *ExportersSpec) DeepCopy() *ExportersSpec

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

func (*ExportersSpec) DeepCopyInto

func (in *ExportersSpec) DeepCopyInto(out *ExportersSpec)

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

type ExportersStatus

type ExportersStatus struct {
}

ExportersStatus defines the observed state of Exporters

func (*ExportersStatus) DeepCopy

func (in *ExportersStatus) DeepCopy() *ExportersStatus

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

func (*ExportersStatus) DeepCopyInto

func (in *ExportersStatus) DeepCopyInto(out *ExportersStatus)

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

type HpaSpec

type HpaSpec struct {
	ScaleTargetRef                 autoscaling_v1.CrossVersionObjectReference `json:"scaleTargetRef"`
	MinReplicas                    *int32                                     `json:"minReplicas,omitempty"`
	MaxReplicas                    int32                                      `json:"maxReplicas"`
	TargetCPUUtilizationPercentage *int32                                     `json:"targetCPUUtilizationPercentage,omitempty"`
}

func (*HpaSpec) DeepCopy

func (in *HpaSpec) DeepCopy() *HpaSpec

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

func (*HpaSpec) DeepCopyInto

func (in *HpaSpec) DeepCopyInto(out *HpaSpec)

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

type IngressSpec

type IngressSpec struct {
	IngressClassName *string                       `json:"ingressClassName,omitempty"`
	DefaultBackend   *networking_v1.IngressBackend `json:"defaultBackend,omitempty"`
	TLS              []networking_v1.IngressTLS    `json:"tls,omitempty"`
	Rules            []networking_v1.IngressRule   `json:"rules,omitempty"`
}

func (*IngressSpec) DeepCopy

func (in *IngressSpec) DeepCopy() *IngressSpec

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

func (*IngressSpec) DeepCopyInto

func (in *IngressSpec) DeepCopyInto(out *IngressSpec)

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

type JobSpec

type JobSpec struct {
	Parallelism             *int32                     `json:"parallelism,omitempty"`
	Completions             *int32                     `json:"completions,omitempty"`
	ActiveDeadlineSeconds   *int64                     `json:"activeDeadlineSeconds,omitempty"`
	PodFailurePolicy        *batch_v1.PodFailurePolicy `json:"podFailurePolicy,omitempty"`
	BackoffLimit            *int32                     `json:"backoffLimit,omitempty"`
	Selector                *metav1.LabelSelector      `json:"selector,omitempty"`
	ManualSelector          *bool                      `json:"manualSelector,omitempty"`
	Template                *PodTemplateSpec           `json:"template,omitempty"`
	TTLSecondsAfterFinished *int32                     `json:"ttlSecondsAfterFinished,omitempty"`
	CompletionMode          *batch_v1.CompletionMode   `json:"completionMode,omitempty"`
	Suspend                 *bool                      `json:"suspend,omitempty"`
}

func (*JobSpec) DeepCopy

func (in *JobSpec) DeepCopy() *JobSpec

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

func (*JobSpec) DeepCopyInto

func (in *JobSpec) DeepCopyInto(out *JobSpec)

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

type JobTemplateSpec

type JobTemplateSpec struct {
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              JobSpec `json:"spec,omitempty"`
}

func (*JobTemplateSpec) DeepCopy

func (in *JobTemplateSpec) DeepCopy() *JobTemplateSpec

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

func (*JobTemplateSpec) DeepCopyInto

func (in *JobTemplateSpec) DeepCopyInto(out *JobTemplateSpec)

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

type PodSpec

type PodSpec struct {
	Containers                []core_v1.Container                `json:"containers,omitempty"`
	InitContainers            []core_v1.Container                `json:"initContainers,omitempty"`
	Volumes                   []core_v1.Volume                   `json:"volumes,omitempty"`
	DNSPolicy                 *core_v1.DNSPolicy                 `json:"dnsPolicy,omitempty"`
	NodeSelector              *map[string]string                 `json:"nodeSelector,omitempty"`
	ServiceAccountName        *string                            `json:"serviceAccountName,omitempty"`
	SecurityContext           *core_v1.PodSecurityContext        `json:"securityContext,omitempty"`
	ImagePullSecrets          []core_v1.LocalObjectReference     `json:"imagePullSecrets,omitempty"`
	Affinity                  *core_v1.Affinity                  `json:"affinity,omitempty"`
	Tolerations               []core_v1.Toleration               `json:"tolerations,omitempty"`
	HostAliases               []core_v1.HostAlias                `json:"hostAliases,omitempty"`
	PriorityClassName         *string                            `json:"priorityClassName,omitempty"`
	TopologySpreadConstraints []core_v1.TopologySpreadConstraint `json:"topologySpreadConstraints,omitempty"`
}

func (*PodSpec) DeepCopy

func (in *PodSpec) DeepCopy() *PodSpec

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

func (*PodSpec) DeepCopyInto

func (in *PodSpec) DeepCopyInto(out *PodSpec)

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

type PodTemplateSpec

type PodTemplateSpec struct {
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              PodSpec `json:"spec,omitempty"`
}

func (*PodTemplateSpec) DeepCopy

func (in *PodTemplateSpec) DeepCopy() *PodTemplateSpec

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

func (*PodTemplateSpec) DeepCopyInto

func (in *PodTemplateSpec) DeepCopyInto(out *PodTemplateSpec)

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

type ReplicaSetSpec

type ReplicaSetSpec struct {
	Replicas        *int32                `json:"replicas,omitempty"`
	MinReadySeconds *int32                `json:"minReadySeconds,omitempty"`
	Selector        *metav1.LabelSelector `json:"selector,omitempty"`
	Template        *PodTemplateSpec      `json:"template,omitempty"`
}

func (*ReplicaSetSpec) DeepCopy

func (in *ReplicaSetSpec) DeepCopy() *ReplicaSetSpec

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

func (*ReplicaSetSpec) DeepCopyInto

func (in *ReplicaSetSpec) DeepCopyInto(out *ReplicaSetSpec)

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

type RoleBindingSpec

type RoleBindingSpec struct {
	Subjects []rbac_v1.Subject `json:"subjects,omitempty"`
	RoleRef  *rbac_v1.RoleRef  `json:"roleRef,omitempty"`
}

func (*RoleBindingSpec) DeepCopy

func (in *RoleBindingSpec) DeepCopy() *RoleBindingSpec

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

func (*RoleBindingSpec) DeepCopyInto

func (in *RoleBindingSpec) DeepCopyInto(out *RoleBindingSpec)

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

type RoleSpec

type RoleSpec struct {
	Rules []rbac_v1.PolicyRule `json:"rules,omitempty"`
}

func (*RoleSpec) DeepCopy

func (in *RoleSpec) DeepCopy() *RoleSpec

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

func (*RoleSpec) DeepCopyInto

func (in *RoleSpec) DeepCopyInto(out *RoleSpec)

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

type SecretSpec

type SecretSpec struct {
	StringData map[string]string `json:"stringData,omitempty"`
}

func (*SecretSpec) DeepCopy

func (in *SecretSpec) DeepCopy() *SecretSpec

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

func (*SecretSpec) DeepCopyInto

func (in *SecretSpec) DeepCopyInto(out *SecretSpec)

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

type ServiceAccountSpec

type ServiceAccountSpec struct {
	Secrets                      []core_v1.ObjectReference      `json:"secrets,omitempty"`
	ImagePullSecrets             []core_v1.LocalObjectReference `json:"imagePullSecrets,omitempty"`
	AutomountServiceAccountToken *bool                          `json:"automountServiceAccountToken,omitempty"`
}

func (*ServiceAccountSpec) DeepCopy

func (in *ServiceAccountSpec) DeepCopy() *ServiceAccountSpec

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

func (*ServiceAccountSpec) DeepCopyInto

func (in *ServiceAccountSpec) DeepCopyInto(out *ServiceAccountSpec)

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

type ServiceSpec

type ServiceSpec struct {
	Ports     []core_v1.ServicePort `json:"ports,omitempty"`
	Selector  map[string]string     `json:"selector,omitempty"`
	ClusterIP string                `json:"clusterIP,omitempty"`
}

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.

type StatefulSetSpec

type StatefulSetSpec struct {
	Replicas             *int32                             `json:"replicas,omitempty"`
	Selector             *metav1.LabelSelector              `json:"selector,omitempty"`
	Template             *PodTemplateSpec                   `json:"template,omitempty"`
	VolumeClaimTemplates []core_v1.PersistentVolumeClaim    `json:"volumeClaimTemplates,omitempty"`
	ServiceName          *string                            `json:"serviceName,omitempty"`
	PodManagementPolicy  *apps_v1.PodManagementPolicyType   `json:"podManagementPolicy,omitempty"`
	UpdateStrategy       *apps_v1.StatefulSetUpdateStrategy `json:"updateStrategy,omitempty"`
	RevisionHistoryLimit *int32                             `json:"revisionHistoryLimit,omitempty"`
	MinReadySeconds      *int32                             `json:"minReadySeconds,omitempty"`

	PersistentVolumeClaimRetentionPolicy *apps_v1.StatefulSetPersistentVolumeClaimRetentionPolicy `json:"persistentVolumeClaimRetentionPolicy,omitempty"`

	Ordinals *apps_v1.StatefulSetOrdinals `json:"ordinals,omitempty"`
}

func (*StatefulSetSpec) DeepCopy

func (in *StatefulSetSpec) DeepCopy() *StatefulSetSpec

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

func (*StatefulSetSpec) DeepCopyInto

func (in *StatefulSetSpec) DeepCopyInto(out *StatefulSetSpec)

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

type Template

type Template struct {
	Name    string `json:"name"`
	Version string `json:"version,omitempty"`
}

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.

type WorkloadSpec

type WorkloadSpec struct {
	Deployment  *DeploymentSpec  `json:"deployment,omitempty"`
	DaemonSet   *DaemonSetSpec   `json:"daemonset,omitempty"`
	StatefulSet *StatefulSetSpec `json:"statefulset,omitempty"`
	ReplicaSet  *ReplicaSetSpec  `json:"replicaset,omitempty"`
	Job         *JobSpec         `json:"job,omitempty"`
	CronJob     *CronJobSpec     `json:"cronjob,omitempty"`
}

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.

Jump to

Keyboard shortcuts

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