v1alpha1

package
v0.0.0-...-1a58fdd Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the argo.generators v1alpha1 API group +kubebuilder:object:generate=true +groupName=argo.generators.bashkimkasa

Index

Constants

This section is empty.

Variables

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

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

	Spec   ClusterDecisionResourceSpec   `json:"spec,omitempty"`
	Status ClusterDecisionResourceStatus `json:"status,omitempty"`
}

ClusterDecisionResource is the Schema for the clusterdecisionresources API

func (*ClusterDecisionResource) DeepCopy

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

func (*ClusterDecisionResource) DeepCopyInto

func (in *ClusterDecisionResource) DeepCopyInto(out *ClusterDecisionResource)

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

func (*ClusterDecisionResource) DeepCopyObject

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

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

type ClusterDecisionResourceList

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

ClusterDecisionResourceList contains a list of ClusterDecisionResource

func (*ClusterDecisionResourceList) DeepCopy

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

func (*ClusterDecisionResourceList) DeepCopyInto

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

func (*ClusterDecisionResourceList) DeepCopyObject

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

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

type ClusterDecisionResourceSpec

type ClusterDecisionResourceSpec struct {
	// Availability choice, maximum number of clusters to provision to
	// +operator-sdk:csv:customresourcedefinitions:type=spec
	MaxClusters int `json:"maxClusters,omitempty"`

	// Ordered list of clusters to provision to
	// +operator-sdk:csv:customresourcedefinitions:type=spec
	ClusterList []string `json:"clusterList,omitempty"`
}

ClusterDecisionResourceSpec defines the desired state of ClusterDecisionResource

func (*ClusterDecisionResourceSpec) DeepCopy

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

func (*ClusterDecisionResourceSpec) DeepCopyInto

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

type ClusterDecisionResourceStatus

type ClusterDecisionResourceStatus struct {
	// This is used by the ARGO ClusterDecisionResource generator to get the list of clusters to deploy to
	// +operator-sdk:csv:customresourcedefinitions:type=status
	Decisions []map[string]string `json:"decisions,omitempty"`
}

ClusterDecisionResourceStatus defines the Status of ClusterDecisionResource

func (*ClusterDecisionResourceStatus) DeepCopy

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

func (*ClusterDecisionResourceStatus) DeepCopyInto

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