authentication

package
v1.91.0 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2024 License: Apache-2.0, BSD-2-Clause, MIT, + 1 more Imports: 3 Imported by: 0

Documentation

Overview

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

Index

Constants

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

GroupName is the name of the authentication 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 KubeconfigRequest added in v1.86.0

type KubeconfigRequest struct {
	metav1.TypeMeta
	// Standard object metadata.
	metav1.ObjectMeta
	// Spec is the specification of the KubeconfigRequest.
	Spec KubeconfigRequestSpec
	// Status is the status of the KubeconfigRequest.
	Status KubeconfigRequestStatus
}

KubeconfigRequest can be used to request a kubeconfig for a Shoot cluster.

func (*KubeconfigRequest) DeepCopy added in v1.86.0

func (in *KubeconfigRequest) DeepCopy() *KubeconfigRequest

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

func (*KubeconfigRequest) DeepCopyInto added in v1.86.0

func (in *KubeconfigRequest) DeepCopyInto(out *KubeconfigRequest)

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

func (*KubeconfigRequest) DeepCopyObject added in v1.86.0

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

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

type KubeconfigRequestSpec added in v1.86.0

type KubeconfigRequestSpec struct {
	// ExpirationSeconds is the requested validity duration of the credential. The credential issuer may return a
	// credential with a different validity duration so a client needs to check the 'expirationTimestamp' field in a
	// response.
	// Defaults to 1 hour.
	ExpirationSeconds int64
}

KubeconfigRequestSpec contains the expiration time of the kubeconfig.

func (*KubeconfigRequestSpec) DeepCopy added in v1.86.0

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

func (*KubeconfigRequestSpec) DeepCopyInto added in v1.86.0

func (in *KubeconfigRequestSpec) DeepCopyInto(out *KubeconfigRequestSpec)

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

type KubeconfigRequestStatus added in v1.86.0

type KubeconfigRequestStatus struct {
	// Kubeconfig contains the kubeconfig for the shoot cluster.
	Kubeconfig []byte
	// ExpirationTimestamp is the expiration timestamp of the returned credential.
	ExpirationTimestamp metav1.Time
}

KubeconfigRequestStatus is the status of the KubeconfigRequest containing the kubeconfig and expiration of the credential.

func (*KubeconfigRequestStatus) DeepCopy added in v1.86.0

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

func (*KubeconfigRequestStatus) DeepCopyInto added in v1.86.0

func (in *KubeconfigRequestStatus) DeepCopyInto(out *KubeconfigRequestStatus)

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.
Package validation contains methods to validate kinds in the authentication.k8s.io API group.
Package validation contains methods to validate kinds in the authentication.k8s.io API group.

Jump to

Keyboard shortcuts

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