v1

package
v1.107.3 Latest Latest
Warning

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

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

Documentation

Overview

Package v1 is a version of the API. +groupName=core.gardener.cloud

Index

Constants

View Source
const (
	// MigrationControllerDeploymentType is an annotation added to ControllerDeployment resources in v1 if the v1beta1
	// version used a custom type (not built-in). The value contains the value of the type field.
	MigrationControllerDeploymentType = "migration.controllerdeployment.gardener.cloud/type"
	// MigrationControllerDeploymentProviderConfig is an annotation added to ControllerDeployment resources in v1 if the
	// v1beta1 version used a custom type (not built-in). The value contains the value of the providerConfig field.
	MigrationControllerDeploymentProviderConfig = "migration.controllerdeployment.gardener.cloud/providerConfig"
)
View Source
const GroupName = "core.gardener.cloud"

GroupName is the name of the core API group.

Variables

View Source
var (
	ErrInvalidLengthGenerated        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowGenerated          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupGenerated = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	// SchemeBuilder is a new Scheme Builder which registers our API.
	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes, addDefaultingFuncs, addConversionFuncs)

	// AddToScheme is a reference to the Scheme Builder's AddToScheme function.
	AddToScheme = SchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1"}

SchemeGroupVersion is group version used to register these objects

Functions

func Convert_core_ControllerDeploymentList_To_v1_ControllerDeploymentList

func Convert_core_ControllerDeploymentList_To_v1_ControllerDeploymentList(in *core.ControllerDeploymentList, out *ControllerDeploymentList, s conversion.Scope) error

Convert_core_ControllerDeploymentList_To_v1_ControllerDeploymentList is an autogenerated conversion function.

func Convert_core_ControllerDeployment_To_v1_ControllerDeployment

func Convert_core_ControllerDeployment_To_v1_ControllerDeployment(in *core.ControllerDeployment, out *ControllerDeployment, s conversion.Scope) error

func Convert_core_HelmControllerDeployment_To_v1_HelmControllerDeployment

func Convert_core_HelmControllerDeployment_To_v1_HelmControllerDeployment(in *core.HelmControllerDeployment, out *HelmControllerDeployment, s conversion.Scope) error

Convert_core_HelmControllerDeployment_To_v1_HelmControllerDeployment is an autogenerated conversion function.

func Convert_core_OCIRepository_To_v1_OCIRepository

func Convert_core_OCIRepository_To_v1_OCIRepository(in *core.OCIRepository, out *OCIRepository, s conversion.Scope) error

Convert_core_OCIRepository_To_v1_OCIRepository is an autogenerated conversion function.

func Convert_v1_ControllerDeploymentList_To_core_ControllerDeploymentList

func Convert_v1_ControllerDeploymentList_To_core_ControllerDeploymentList(in *ControllerDeploymentList, out *core.ControllerDeploymentList, s conversion.Scope) error

Convert_v1_ControllerDeploymentList_To_core_ControllerDeploymentList is an autogenerated conversion function.

func Convert_v1_ControllerDeployment_To_core_ControllerDeployment

func Convert_v1_ControllerDeployment_To_core_ControllerDeployment(in *ControllerDeployment, out *core.ControllerDeployment, s conversion.Scope) error

func Convert_v1_HelmControllerDeployment_To_core_HelmControllerDeployment

func Convert_v1_HelmControllerDeployment_To_core_HelmControllerDeployment(in *HelmControllerDeployment, out *core.HelmControllerDeployment, s conversion.Scope) error

Convert_v1_HelmControllerDeployment_To_core_HelmControllerDeployment is an autogenerated conversion function.

func Convert_v1_OCIRepository_To_core_OCIRepository

func Convert_v1_OCIRepository_To_core_OCIRepository(in *OCIRepository, out *core.OCIRepository, s conversion.Scope) error

Convert_v1_OCIRepository_To_core_OCIRepository is an autogenerated conversion function.

func Kind

func Kind(kind string) schema.GroupKind

Kind takes an unqualified kind and returns a Group qualified GroupKind.

func RegisterConversions

func RegisterConversions(s *runtime.Scheme) error

RegisterConversions adds conversion functions to the given scheme. Public to allow building arbitrary schemes.

func RegisterDefaults

func RegisterDefaults(scheme *runtime.Scheme) error

RegisterDefaults adds defaulters functions to the given scheme. Public to allow building arbitrary schemes. All generated defaulters are covering - they call all nested defaulters.

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource.

Types

type ControllerDeployment

type ControllerDeployment struct {
	metav1.TypeMeta `json:",inline"`
	// Standard object metadata.
	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
	// Helm configures that an extension controller is deployed using helm.
	// +optional
	Helm *HelmControllerDeployment `json:"helm,omitempty" protobuf:"bytes,2,opt,name=helm"`
}

ControllerDeployment contains information about how this controller is deployed.

func (*ControllerDeployment) DeepCopy

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

func (*ControllerDeployment) DeepCopyInto

func (in *ControllerDeployment) DeepCopyInto(out *ControllerDeployment)

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

func (*ControllerDeployment) DeepCopyObject

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

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

func (*ControllerDeployment) Descriptor

func (*ControllerDeployment) Descriptor() ([]byte, []int)

func (*ControllerDeployment) Marshal

func (m *ControllerDeployment) Marshal() (dAtA []byte, err error)

func (*ControllerDeployment) MarshalTo

func (m *ControllerDeployment) MarshalTo(dAtA []byte) (int, error)

func (*ControllerDeployment) MarshalToSizedBuffer

func (m *ControllerDeployment) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ControllerDeployment) ProtoMessage

func (*ControllerDeployment) ProtoMessage()

func (*ControllerDeployment) Reset

func (m *ControllerDeployment) Reset()

func (*ControllerDeployment) Size

func (m *ControllerDeployment) Size() (n int)

func (*ControllerDeployment) String

func (this *ControllerDeployment) String() string

func (*ControllerDeployment) Unmarshal

func (m *ControllerDeployment) Unmarshal(dAtA []byte) error

func (*ControllerDeployment) XXX_DiscardUnknown

func (m *ControllerDeployment) XXX_DiscardUnknown()

func (*ControllerDeployment) XXX_Marshal

func (m *ControllerDeployment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ControllerDeployment) XXX_Merge

func (m *ControllerDeployment) XXX_Merge(src proto.Message)

func (*ControllerDeployment) XXX_Size

func (m *ControllerDeployment) XXX_Size() int

func (*ControllerDeployment) XXX_Unmarshal

func (m *ControllerDeployment) XXX_Unmarshal(b []byte) error

type ControllerDeploymentList

type ControllerDeploymentList struct {
	metav1.TypeMeta `json:",inline"`
	// Standard list object metadata.
	// +optional
	metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
	// Items is the list of ControllerDeployments.
	Items []ControllerDeployment `json:"items" protobuf:"bytes,2,rep,name=items"`
}

ControllerDeploymentList is a collection of ControllerDeployments.

func (*ControllerDeploymentList) DeepCopy

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

func (*ControllerDeploymentList) DeepCopyInto

func (in *ControllerDeploymentList) DeepCopyInto(out *ControllerDeploymentList)

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

func (*ControllerDeploymentList) DeepCopyObject

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

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

func (*ControllerDeploymentList) Descriptor

func (*ControllerDeploymentList) Descriptor() ([]byte, []int)

func (*ControllerDeploymentList) Marshal

func (m *ControllerDeploymentList) Marshal() (dAtA []byte, err error)

func (*ControllerDeploymentList) MarshalTo

func (m *ControllerDeploymentList) MarshalTo(dAtA []byte) (int, error)

func (*ControllerDeploymentList) MarshalToSizedBuffer

func (m *ControllerDeploymentList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ControllerDeploymentList) ProtoMessage

func (*ControllerDeploymentList) ProtoMessage()

func (*ControllerDeploymentList) Reset

func (m *ControllerDeploymentList) Reset()

func (*ControllerDeploymentList) Size

func (m *ControllerDeploymentList) Size() (n int)

func (*ControllerDeploymentList) String

func (this *ControllerDeploymentList) String() string

func (*ControllerDeploymentList) Unmarshal

func (m *ControllerDeploymentList) Unmarshal(dAtA []byte) error

func (*ControllerDeploymentList) XXX_DiscardUnknown

func (m *ControllerDeploymentList) XXX_DiscardUnknown()

func (*ControllerDeploymentList) XXX_Marshal

func (m *ControllerDeploymentList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ControllerDeploymentList) XXX_Merge

func (m *ControllerDeploymentList) XXX_Merge(src proto.Message)

func (*ControllerDeploymentList) XXX_Size

func (m *ControllerDeploymentList) XXX_Size() int

func (*ControllerDeploymentList) XXX_Unmarshal

func (m *ControllerDeploymentList) XXX_Unmarshal(b []byte) error

type HelmControllerDeployment

type HelmControllerDeployment struct {
	// RawChart is the base64-encoded, gzip'ed, tar'ed extension controller chart.
	// +optional
	RawChart []byte `json:"rawChart,omitempty" protobuf:"bytes,1,opt,name=rawChart"`
	// Values are the chart values.
	// +optional
	Values *apiextensionsv1.JSON `json:"values,omitempty" protobuf:"bytes,2,opt,name=values"`
	// OCIRepository defines where to pull the chart.
	// +optional
	OCIRepository *OCIRepository `json:"ociRepository,omitempty" protobuf:"bytes,3,opt,name=ociRepository"`
}

HelmControllerDeployment configures how an extension controller is deployed using helm.

func (*HelmControllerDeployment) DeepCopy

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

func (*HelmControllerDeployment) DeepCopyInto

func (in *HelmControllerDeployment) DeepCopyInto(out *HelmControllerDeployment)

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

func (*HelmControllerDeployment) Descriptor

func (*HelmControllerDeployment) Descriptor() ([]byte, []int)

func (*HelmControllerDeployment) Marshal

func (m *HelmControllerDeployment) Marshal() (dAtA []byte, err error)

func (*HelmControllerDeployment) MarshalTo

func (m *HelmControllerDeployment) MarshalTo(dAtA []byte) (int, error)

func (*HelmControllerDeployment) MarshalToSizedBuffer

func (m *HelmControllerDeployment) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*HelmControllerDeployment) ProtoMessage

func (*HelmControllerDeployment) ProtoMessage()

func (*HelmControllerDeployment) Reset

func (m *HelmControllerDeployment) Reset()

func (*HelmControllerDeployment) Size

func (m *HelmControllerDeployment) Size() (n int)

func (*HelmControllerDeployment) String

func (this *HelmControllerDeployment) String() string

func (*HelmControllerDeployment) Unmarshal

func (m *HelmControllerDeployment) Unmarshal(dAtA []byte) error

func (*HelmControllerDeployment) XXX_DiscardUnknown

func (m *HelmControllerDeployment) XXX_DiscardUnknown()

func (*HelmControllerDeployment) XXX_Marshal

func (m *HelmControllerDeployment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*HelmControllerDeployment) XXX_Merge

func (m *HelmControllerDeployment) XXX_Merge(src proto.Message)

func (*HelmControllerDeployment) XXX_Size

func (m *HelmControllerDeployment) XXX_Size() int

func (*HelmControllerDeployment) XXX_Unmarshal

func (m *HelmControllerDeployment) XXX_Unmarshal(b []byte) error

type OCIRepository

type OCIRepository struct {
	// Ref is the full artifact Ref and takes precedence over all other fields.
	// +optional
	Ref *string `json:"ref,omitempty" protobuf:"bytes,1,name=ref"`
	// Repository is a reference to an OCI artifact repository.
	// +optional
	Repository *string `json:"repository,omitempty" protobuf:"bytes,2,name=repository"`
	// Tag is the image tag to pull.
	// +optional
	Tag *string `json:"tag,omitempty" protobuf:"bytes,3,opt,name=tag"`
	// Digest of the image to pull, takes precedence over tag.
	// The value should be in the format 'sha256:<HASH>'.
	// +optional
	Digest *string `json:"digest,omitempty" protobuf:"bytes,4,opt,name=digest"`
}

OCIRepository configures where to pull an OCI Artifact, that could contain for example a Helm Chart.

func (*OCIRepository) DeepCopy

func (in *OCIRepository) DeepCopy() *OCIRepository

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

func (*OCIRepository) DeepCopyInto

func (in *OCIRepository) DeepCopyInto(out *OCIRepository)

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

func (*OCIRepository) Descriptor

func (*OCIRepository) Descriptor() ([]byte, []int)

func (*OCIRepository) GetURL

func (o *OCIRepository) GetURL() string

GetURL returns the fully-qualified OCIRepository URL of the artifact.

func (*OCIRepository) Marshal

func (m *OCIRepository) Marshal() (dAtA []byte, err error)

func (*OCIRepository) MarshalTo

func (m *OCIRepository) MarshalTo(dAtA []byte) (int, error)

func (*OCIRepository) MarshalToSizedBuffer

func (m *OCIRepository) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*OCIRepository) ProtoMessage

func (*OCIRepository) ProtoMessage()

func (*OCIRepository) Reset

func (m *OCIRepository) Reset()

func (*OCIRepository) Size

func (m *OCIRepository) Size() (n int)

func (*OCIRepository) String

func (this *OCIRepository) String() string

func (*OCIRepository) Unmarshal

func (m *OCIRepository) Unmarshal(dAtA []byte) error

func (*OCIRepository) XXX_DiscardUnknown

func (m *OCIRepository) XXX_DiscardUnknown()

func (*OCIRepository) XXX_Marshal

func (m *OCIRepository) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*OCIRepository) XXX_Merge

func (m *OCIRepository) XXX_Merge(src proto.Message)

func (*OCIRepository) XXX_Size

func (m *OCIRepository) XXX_Size() int

func (*OCIRepository) XXX_Unmarshal

func (m *OCIRepository) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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