v1alpha1

package
v0.0.0-...-c1c0c3f Latest Latest
Warning

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

Go to latest
Published: May 1, 2024 License: Apache-2.0 Imports: 5 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 DeploymentType

type DeploymentType string

Deployment Type string determines the way to deploy the KBS +enum

const (
	// DeploymentTypeAllInOne: all the KBS components will be deployed in the same container
	DeploymentTypeAllInOne DeploymentType = "AllInOneDeployment"

	// DeploymentTypeMicroservices: all the KBS components will be deployed in separate containers
	DeploymentTypeMicroservices DeploymentType = "MicroservicesDeployment"
)

type KbsConfig

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

	Spec   KbsConfigSpec   `json:"spec,omitempty"`
	Status KbsConfigStatus `json:"status,omitempty"`
}

KbsConfig is the Schema for the kbsconfigs API

func (*KbsConfig) DeepCopy

func (in *KbsConfig) DeepCopy() *KbsConfig

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

func (*KbsConfig) DeepCopyInto

func (in *KbsConfig) DeepCopyInto(out *KbsConfig)

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

func (*KbsConfig) DeepCopyObject

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

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

type KbsConfigList

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

KbsConfigList contains a list of KbsConfig

func (*KbsConfigList) DeepCopy

func (in *KbsConfigList) DeepCopy() *KbsConfigList

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

func (*KbsConfigList) DeepCopyInto

func (in *KbsConfigList) DeepCopyInto(out *KbsConfigList)

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

func (*KbsConfigList) DeepCopyObject

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

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

type KbsConfigSpec

type KbsConfigSpec struct {

	// KbsConfigMapName is the name of the configmap that contains the KBS configuration
	KbsConfigMapName string `json:"kbsConfigMapName,omitempty"`

	// KbsAsConfigMapName is the name of the configmap that contains the KBS AS configuration
	KbsAsConfigMapName string `json:"kbsAsConfigMapName,omitempty"`

	// KbsRvpsConfigMapName is the name of the configmap that contains the KBS RVPS configuration
	KbsRvpsConfigMapName string `json:"kbsRvpsConfigMapName,omitempty"`

	// kbsRvpsRefValuesConfigMapName is the name of the configmap that contains the RVPS reference values
	KbsRvpsRefValuesConfigMapName string `json:"kbsRvpsRefValuesConfigMapName,omitempty"`

	// KbsAuthSecretName is the name of the secret that contains the KBS auth secret
	KbsAuthSecretName string `json:"kbsAuthSecretName,omitempty"`

	// KbsServiceType is the type of service to create for KBS
	KbsServiceType corev1.ServiceType `json:"kbsServiceType,omitempty"`

	// KbsDeploymentType is the type of KBS deployment
	// It can assume one of the following values:
	//    AllInOneDeployment: all the KBS components will be deployed in the same container
	//    MicroservicesDeployment: all the KBS components will be deployed in separate containers
	KbsDeploymentType DeploymentType `json:"kbsDeploymentType,omitempty"`

	// KbsHttpsKeySecretName is the name of the secret that contains the KBS https private key
	KbsHttpsKeySecretName string `json:"kbsHttpsKeySecretName,omitempty"`

	// KbsHttpsCertSecretName is the name of the secret that contains the KBS https certificate
	KbsHttpsCertSecretName string `json:"kbsHttpsCertSecretName,omitempty"`

	// KbsSecretResources is an array of secret names that contain the keys required by clients
	KbsSecretResources []string `json:"kbsSecretResources,omitempty"`
}

KbsConfigSpec defines the desired state of KbsConfig

func (*KbsConfigSpec) DeepCopy

func (in *KbsConfigSpec) DeepCopy() *KbsConfigSpec

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

func (*KbsConfigSpec) DeepCopyInto

func (in *KbsConfigSpec) DeepCopyInto(out *KbsConfigSpec)

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

type KbsConfigStatus

type KbsConfigStatus struct {

	// IsReady is true when the KBS configuration is ready
	IsReady bool `json:"isReady,omitempty"`
}

KbsConfigStatus defines the observed state of KbsConfig

func (*KbsConfigStatus) DeepCopy

func (in *KbsConfigStatus) DeepCopy() *KbsConfigStatus

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

func (*KbsConfigStatus) DeepCopyInto

func (in *KbsConfigStatus) DeepCopyInto(out *KbsConfigStatus)

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