operations

package
v1.63.1 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2023 License: Apache-2.0, BSD-2-Clause, MIT, + 1 more Imports: 6 Imported by: 0

Documentation

Overview

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

Index

Constants

View Source
const (
	// BastionSeedName is the field selector path for finding
	// the Seed cluster of a operations.gardener.cloud/v1alpha1 Bastion.
	BastionSeedName = "spec.seedName"
	// BastionShootName is the field selector path for finding
	// the Shoot name of a operations.gardener.cloud/v1alpha1 Bastion.
	BastionShootName = "spec.shootRef.name"
)

Field path constants that are specific to the internal API representation.

View Source
const GroupName = "operations.gardener.cloud"

GroupName is the name of the operations API group.

Variables

View Source
var (
	// SchemeBuilder is a new Scheme Builder which registers our API.
	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)
	// AddToScheme is a reference to the Scheme Builder's AddToScheme function.
	AddToScheme = SchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: runtime.APIVersionInternal}

SchemeGroupVersion is group version used to register these objects.

Functions

func Kind

func Kind(kind string) schema.GroupKind

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

func Resource

func Resource(resource string) schema.GroupResource

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

Types

type Bastion

type Bastion struct {
	metav1.TypeMeta
	// Standard object metadata.
	metav1.ObjectMeta
	// Specification of the Bastion.
	Spec BastionSpec
	// Most recently observed status of the Bastion.
	Status BastionStatus
}

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.

type BastionIngressPolicy

type BastionIngressPolicy struct {
	// IPBlock defines an IP block that is allowed to access the bastion.
	IPBlock networkingv1.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.

type BastionList

type BastionList struct {
	metav1.TypeMeta
	// Standard list object metadata.
	metav1.ListMeta
	// Items is the list of Bastion.
	Items []Bastion
}

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.

type BastionSpec

type BastionSpec struct {
	// ShootRef defines the target shoot for a Bastion. The name field of the ShootRef is immutable.
	ShootRef corev1.LocalObjectReference
	// 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.
	SeedName *string
	// ProviderType is cloud provider used by the referenced Shoot.
	ProviderType *string
	// SSHPublicKey is the user's public key. This field is immutable.
	SSHPublicKey string
	// Ingress controls from where the created bastion host should be reachable.
	Ingress []BastionIngressPolicy
}

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.

type BastionStatus

type BastionStatus struct {
	// Ingress holds the public IP and/or hostname of the bastion instance.
	Ingress *corev1.LoadBalancerIngress
	// Conditions represents the latest available observations of a Bastion's current state.
	Conditions []gardencore.Condition
	// 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.
	LastHeartbeatTimestamp *metav1.Time
	// ExpirationTimestamp is the time after which a Bastion is supposed to be
	// garbage collected.
	ExpirationTimestamp *metav1.Time
	// 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.
	ObservedGeneration *int64
}

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.

Directories

Path Synopsis
Package v1alpha1 is a version of the API.
Package v1alpha1 is a version of the API.

Jump to

Keyboard shortcuts

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