Documentation ¶
Overview ¶
Package authentication is the internal version of the API. +groupName=authentication.gardener.cloud
Index ¶
Constants ¶
const GroupName = "authentication.gardener.cloud"
GroupName is the name of the authentication API group.
Variables ¶
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 )
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: runtime.APIVersionInternal}
SchemeGroupVersion is group version used to register these objects.
Functions ¶
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns back a Group qualified GroupResource.
Types ¶
type AdminKubeconfigRequest ¶
type AdminKubeconfigRequest struct { metav1.TypeMeta // Standard object metadata. metav1.ObjectMeta // Spec is the specification of the AdminKubeconfigRequest. Spec AdminKubeconfigRequestSpec // Status is the status of the AdminKubeconfigRequest. Status AdminKubeconfigRequestStatus }
AdminKubeconfigRequest can be used to request a kubeconfig with admin credentials for a Shoot cluster.
func (*AdminKubeconfigRequest) DeepCopy ¶
func (in *AdminKubeconfigRequest) DeepCopy() *AdminKubeconfigRequest
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdminKubeconfigRequest.
func (*AdminKubeconfigRequest) DeepCopyInto ¶
func (in *AdminKubeconfigRequest) DeepCopyInto(out *AdminKubeconfigRequest)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AdminKubeconfigRequest) DeepCopyObject ¶
func (in *AdminKubeconfigRequest) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type AdminKubeconfigRequestSpec ¶
type AdminKubeconfigRequestSpec 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 }
AdminKubeconfigRequestSpec contains the expiration time of the kubeconfig.
func (*AdminKubeconfigRequestSpec) DeepCopy ¶
func (in *AdminKubeconfigRequestSpec) DeepCopy() *AdminKubeconfigRequestSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdminKubeconfigRequestSpec.
func (*AdminKubeconfigRequestSpec) DeepCopyInto ¶
func (in *AdminKubeconfigRequestSpec) DeepCopyInto(out *AdminKubeconfigRequestSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AdminKubeconfigRequestStatus ¶
type AdminKubeconfigRequestStatus struct { // Kubeconfig contains the kubeconfig with cluster-admin privileges for the shoot cluster. Kubeconfig []byte // ExpirationTimestamp is the expiration timestamp of the returned credential. ExpirationTimestamp metav1.Time }
AdminKubeconfigRequestStatus is the status of the AdminKubeconfigRequest containing the kubeconfig and expiration of the credential.
func (*AdminKubeconfigRequestStatus) DeepCopy ¶
func (in *AdminKubeconfigRequestStatus) DeepCopy() *AdminKubeconfigRequestStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdminKubeconfigRequestStatus.
func (*AdminKubeconfigRequestStatus) DeepCopyInto ¶
func (in *AdminKubeconfigRequestStatus) DeepCopyInto(out *AdminKubeconfigRequestStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
Source Files ¶
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. |