v1alpha1

package
v0.8.2 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

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

Index

Constants

This section is empty.

Variables

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

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

	Spec   PeerPodConfigSpec   `json:"spec,omitempty"`
	Status PeerPodConfigStatus `json:"status,omitempty"`
}

PeerPodConfig is the Schema for the peerpodconfigs API

func (*PeerPodConfig) DeepCopy

func (in *PeerPodConfig) DeepCopy() *PeerPodConfig

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

func (*PeerPodConfig) DeepCopyInto

func (in *PeerPodConfig) DeepCopyInto(out *PeerPodConfig)

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

func (*PeerPodConfig) DeepCopyObject

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

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

type PeerPodConfigList

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

PeerPodConfigList contains a list of PeerPodConfig

func (*PeerPodConfigList) DeepCopy

func (in *PeerPodConfigList) DeepCopy() *PeerPodConfigList

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

func (*PeerPodConfigList) DeepCopyInto

func (in *PeerPodConfigList) DeepCopyInto(out *PeerPodConfigList)

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

func (*PeerPodConfigList) DeepCopyObject

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

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

type PeerPodConfigSpec

type PeerPodConfigSpec struct {

	// InstanceType describes the name of the instance type of the chosen cloud provider
	InstanceType string `json:"instanceType,omitempty"`

	// Limit is the max number of peer pods per node. This is exposed as extended resource on the node
	Limit string `json:"limit,omitempty"`

	// CloudSecretName is the name of the secret that holds the credentials for the cloud provider
	// +kubebuilder:default:=peer-pods-secret
	CloudSecretName string `json:"cloudSecretName"`

	// NodeSelector selects the nodes on which to run the cloud-api-adaptor pods
	// +optional
	NodeSelector map[string]string `json:"nodeSelector"`

	// ConfigMapName is the name of the configmap that holds cloud provider specific environment Variables
	// +kubebuilder:default:=peer-pods-cm
	ConfigMapName string `json:"configMapName"`
}

PeerPodConfigSpec defines the desired state of PeerPodConfig

func (*PeerPodConfigSpec) DeepCopy

func (in *PeerPodConfigSpec) DeepCopy() *PeerPodConfigSpec

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

func (*PeerPodConfigSpec) DeepCopyInto

func (in *PeerPodConfigSpec) DeepCopyInto(out *PeerPodConfigSpec)

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

type PeerPodConfigStatus

type PeerPodConfigStatus struct {

	// SetupCompleted is set to true when all components have been deployed/created
	SetupCompleted bool `json:"setupCompleted,omitempty"`
}

PeerPodConfigStatus defines the observed state of PeerPodConfig

func (*PeerPodConfigStatus) DeepCopy

func (in *PeerPodConfigStatus) DeepCopy() *PeerPodConfigStatus

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

func (*PeerPodConfigStatus) DeepCopyInto

func (in *PeerPodConfigStatus) DeepCopyInto(out *PeerPodConfigStatus)

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