v1alpha1

package
v1.47.1 Latest Latest
Warning

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

Go to latest
Published: May 25, 2022 License: Apache-2.0, BSD-2-Clause, MIT, + 1 more Imports: 17 Imported by: 5

Documentation

Overview

Package v1alpha1 is a version of the API. +groupName=operations.gardener.cloud

Index

Constants

View Source
const (
	// BastionReady is a condition type for indicating whether the bastion has been
	// successfully reconciled on the seed cluster and is available to be used.
	BastionReady gardenercorev1alpha1.ConditionType = "BastionReady"
)
View Source
const GroupName = "operations.gardener.cloud"

GroupName is the name of the operations 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: "v1alpha1"}

SchemeGroupVersion is group version used to register these objects

Functions

func Convert_operations_BastionIngressPolicy_To_v1alpha1_BastionIngressPolicy

func Convert_operations_BastionIngressPolicy_To_v1alpha1_BastionIngressPolicy(in *operations.BastionIngressPolicy, out *BastionIngressPolicy, s conversion.Scope) error

Convert_operations_BastionIngressPolicy_To_v1alpha1_BastionIngressPolicy is an autogenerated conversion function.

func Convert_operations_BastionList_To_v1alpha1_BastionList

func Convert_operations_BastionList_To_v1alpha1_BastionList(in *operations.BastionList, out *BastionList, s conversion.Scope) error

Convert_operations_BastionList_To_v1alpha1_BastionList is an autogenerated conversion function.

func Convert_operations_BastionSpec_To_v1alpha1_BastionSpec

func Convert_operations_BastionSpec_To_v1alpha1_BastionSpec(in *operations.BastionSpec, out *BastionSpec, s conversion.Scope) error

Convert_operations_BastionSpec_To_v1alpha1_BastionSpec is an autogenerated conversion function.

func Convert_operations_BastionStatus_To_v1alpha1_BastionStatus

func Convert_operations_BastionStatus_To_v1alpha1_BastionStatus(in *operations.BastionStatus, out *BastionStatus, s conversion.Scope) error

Convert_operations_BastionStatus_To_v1alpha1_BastionStatus is an autogenerated conversion function.

func Convert_operations_Bastion_To_v1alpha1_Bastion

func Convert_operations_Bastion_To_v1alpha1_Bastion(in *operations.Bastion, out *Bastion, s conversion.Scope) error

Convert_operations_Bastion_To_v1alpha1_Bastion is an autogenerated conversion function.

func Convert_v1alpha1_BastionIngressPolicy_To_operations_BastionIngressPolicy

func Convert_v1alpha1_BastionIngressPolicy_To_operations_BastionIngressPolicy(in *BastionIngressPolicy, out *operations.BastionIngressPolicy, s conversion.Scope) error

Convert_v1alpha1_BastionIngressPolicy_To_operations_BastionIngressPolicy is an autogenerated conversion function.

func Convert_v1alpha1_BastionList_To_operations_BastionList

func Convert_v1alpha1_BastionList_To_operations_BastionList(in *BastionList, out *operations.BastionList, s conversion.Scope) error

Convert_v1alpha1_BastionList_To_operations_BastionList is an autogenerated conversion function.

func Convert_v1alpha1_BastionSpec_To_operations_BastionSpec

func Convert_v1alpha1_BastionSpec_To_operations_BastionSpec(in *BastionSpec, out *operations.BastionSpec, s conversion.Scope) error

Convert_v1alpha1_BastionSpec_To_operations_BastionSpec is an autogenerated conversion function.

func Convert_v1alpha1_BastionStatus_To_operations_BastionStatus

func Convert_v1alpha1_BastionStatus_To_operations_BastionStatus(in *BastionStatus, out *operations.BastionStatus, s conversion.Scope) error

Convert_v1alpha1_BastionStatus_To_operations_BastionStatus is an autogenerated conversion function.

func Convert_v1alpha1_Bastion_To_operations_Bastion

func Convert_v1alpha1_Bastion_To_operations_Bastion(in *Bastion, out *operations.Bastion, s conversion.Scope) error

Convert_v1alpha1_Bastion_To_operations_Bastion 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 Bastion

type Bastion struct {
	metav1.TypeMeta `json:",inline"`
	// Standard object metadata.
	metav1.ObjectMeta `json:"metadata" protobuf:"bytes,1,opt,name=metadata"`
	// Specification of the Bastion.
	Spec BastionSpec `json:"spec" protobuf:"bytes,2,opt,name=spec"`
	// Most recently observed status of the Bastion.
	// +optional
	Status BastionStatus `json:"status" protobuf:"bytes,3,opt,name=status"`
}

Bastion holds details about an SSH bastion for a shoot cluster.

func (*Bastion) DeepCopy

func (in *Bastion) DeepCopy() *Bastion

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

func (*Bastion) DeepCopyInto

func (in *Bastion) DeepCopyInto(out *Bastion)

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

func (*Bastion) DeepCopyObject

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

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

func (*Bastion) Descriptor

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

func (*Bastion) Marshal

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

func (*Bastion) MarshalTo

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

func (*Bastion) MarshalToSizedBuffer

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

func (*Bastion) ProtoMessage

func (*Bastion) ProtoMessage()

func (*Bastion) Reset

func (m *Bastion) Reset()

func (*Bastion) Size

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

func (*Bastion) String

func (this *Bastion) String() string

func (*Bastion) Unmarshal

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

func (*Bastion) XXX_DiscardUnknown

func (m *Bastion) XXX_DiscardUnknown()

func (*Bastion) XXX_Marshal

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

func (*Bastion) XXX_Merge

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

func (*Bastion) XXX_Size

func (m *Bastion) XXX_Size() int

func (*Bastion) XXX_Unmarshal

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

type BastionIngressPolicy

type BastionIngressPolicy struct {
	// IPBlock defines an IP block that is allowed to access the bastion.
	IPBlock networkingv1.IPBlock `json:"ipBlock" protobuf:"bytes,1,opt,name=ipBlock"`
}

BastionIngressPolicy represents an ingress policy for SSH bastion hosts.

func (*BastionIngressPolicy) DeepCopy

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

func (*BastionIngressPolicy) DeepCopyInto

func (in *BastionIngressPolicy) DeepCopyInto(out *BastionIngressPolicy)

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

func (*BastionIngressPolicy) Descriptor

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

func (*BastionIngressPolicy) Marshal

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

func (*BastionIngressPolicy) MarshalTo

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

func (*BastionIngressPolicy) MarshalToSizedBuffer

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

func (*BastionIngressPolicy) ProtoMessage

func (*BastionIngressPolicy) ProtoMessage()

func (*BastionIngressPolicy) Reset

func (m *BastionIngressPolicy) Reset()

func (*BastionIngressPolicy) Size

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

func (*BastionIngressPolicy) String

func (this *BastionIngressPolicy) String() string

func (*BastionIngressPolicy) Unmarshal

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

func (*BastionIngressPolicy) XXX_DiscardUnknown

func (m *BastionIngressPolicy) XXX_DiscardUnknown()

func (*BastionIngressPolicy) XXX_Marshal

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

func (*BastionIngressPolicy) XXX_Merge

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

func (*BastionIngressPolicy) XXX_Size

func (m *BastionIngressPolicy) XXX_Size() int

func (*BastionIngressPolicy) XXX_Unmarshal

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

type BastionList

type BastionList 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 Bastion.
	Items []Bastion `json:"items" protobuf:"bytes,2,rep,name=items"`
}

BastionList is a list of Bastion objects.

func (*BastionList) DeepCopy

func (in *BastionList) DeepCopy() *BastionList

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

func (*BastionList) DeepCopyInto

func (in *BastionList) DeepCopyInto(out *BastionList)

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

func (*BastionList) DeepCopyObject

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

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

func (*BastionList) Descriptor

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

func (*BastionList) Marshal

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

func (*BastionList) MarshalTo

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

func (*BastionList) MarshalToSizedBuffer

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

func (*BastionList) ProtoMessage

func (*BastionList) ProtoMessage()

func (*BastionList) Reset

func (m *BastionList) Reset()

func (*BastionList) Size

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

func (*BastionList) String

func (this *BastionList) String() string

func (*BastionList) Unmarshal

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

func (*BastionList) XXX_DiscardUnknown

func (m *BastionList) XXX_DiscardUnknown()

func (*BastionList) XXX_Marshal

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

func (*BastionList) XXX_Merge

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

func (*BastionList) XXX_Size

func (m *BastionList) XXX_Size() int

func (*BastionList) XXX_Unmarshal

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

type BastionSpec

type BastionSpec struct {
	// ShootRef defines the target shoot for a Bastion. The name field of the ShootRef is immutable.
	ShootRef corev1.LocalObjectReference `json:"shootRef" protobuf:"bytes,1,opt,name=shootRef"`
	// SeedName is the name of the seed to which this Bastion is currently scheduled. This field is populated
	// at the beginning of a create/reconcile operation.
	// +optional
	SeedName *string `json:"seedName,omitempty" protobuf:"bytes,2,opt,name=seedName"`
	// ProviderType is cloud provider used by the referenced Shoot.
	// +optional
	ProviderType *string `json:"providerType,omitempty" protobuf:"bytes,3,opt,name=providerType"`
	// SSHPublicKey is the user's public key. This field is immutable.
	SSHPublicKey string `json:"sshPublicKey" protobuf:"bytes,4,opt,name=sshPublicKey"`
	// Ingress controls from where the created bastion host should be reachable.
	Ingress []BastionIngressPolicy `json:"ingress" protobuf:"bytes,5,opt,name=ingress"`
}

BastionSpec is the specification of a Bastion.

func (*BastionSpec) DeepCopy

func (in *BastionSpec) DeepCopy() *BastionSpec

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

func (*BastionSpec) DeepCopyInto

func (in *BastionSpec) DeepCopyInto(out *BastionSpec)

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

func (*BastionSpec) Descriptor

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

func (*BastionSpec) Marshal

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

func (*BastionSpec) MarshalTo

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

func (*BastionSpec) MarshalToSizedBuffer

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

func (*BastionSpec) ProtoMessage

func (*BastionSpec) ProtoMessage()

func (*BastionSpec) Reset

func (m *BastionSpec) Reset()

func (*BastionSpec) Size

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

func (*BastionSpec) String

func (this *BastionSpec) String() string

func (*BastionSpec) Unmarshal

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

func (*BastionSpec) XXX_DiscardUnknown

func (m *BastionSpec) XXX_DiscardUnknown()

func (*BastionSpec) XXX_Marshal

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

func (*BastionSpec) XXX_Merge

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

func (*BastionSpec) XXX_Size

func (m *BastionSpec) XXX_Size() int

func (*BastionSpec) XXX_Unmarshal

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

type BastionStatus

type BastionStatus struct {
	// Ingress holds the public IP and/or hostname of the bastion instance.
	// +optional
	Ingress *corev1.LoadBalancerIngress `json:"ingress,omitempty" protobuf:"bytes,1,opt,name=ingress"`
	// Conditions represents the latest available observations of a Bastion's current state.
	// +patchMergeKey=type
	// +patchStrategy=merge
	// +optional
	Conditions []gardenercorev1alpha1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,2,rep,name=conditions"`
	// LastHeartbeatTimestamp is the time when the bastion was last marked as
	// not to be deleted. When this is set, the ExpirationTimestamp is advanced
	// as well.
	// +optional
	LastHeartbeatTimestamp *metav1.Time `json:"lastHeartbeatTimestamp,omitempty" protobuf:"bytes,3,opt,name=lastHeartbeatTimestamp"`
	// ExpirationTimestamp is the time after which a Bastion is supposed to be
	// garbage collected.
	// +optional
	ExpirationTimestamp *metav1.Time `json:"expirationTimestamp,omitempty" protobuf:"bytes,4,opt,name=expirationTimestamp"`
	// ObservedGeneration is the most recent generation observed for this Bastion. It corresponds to the
	// Bastion's generation, which is updated on mutation by the API Server.
	// +optional
	ObservedGeneration *int64 `json:"observedGeneration,omitempty" protobuf:"varint,5,opt,name=observedGeneration"`
}

BastionStatus holds the most recently observed status of the Bastion.

func (*BastionStatus) DeepCopy

func (in *BastionStatus) DeepCopy() *BastionStatus

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

func (*BastionStatus) DeepCopyInto

func (in *BastionStatus) DeepCopyInto(out *BastionStatus)

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

func (*BastionStatus) Descriptor

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

func (*BastionStatus) Marshal

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

func (*BastionStatus) MarshalTo

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

func (*BastionStatus) MarshalToSizedBuffer

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

func (*BastionStatus) ProtoMessage

func (*BastionStatus) ProtoMessage()

func (*BastionStatus) Reset

func (m *BastionStatus) Reset()

func (*BastionStatus) Size

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

func (*BastionStatus) String

func (this *BastionStatus) String() string

func (*BastionStatus) Unmarshal

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

func (*BastionStatus) XXX_DiscardUnknown

func (m *BastionStatus) XXX_DiscardUnknown()

func (*BastionStatus) XXX_Marshal

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

func (*BastionStatus) XXX_Merge

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

func (*BastionStatus) XXX_Size

func (m *BastionStatus) XXX_Size() int

func (*BastionStatus) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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