Documentation ¶
Overview ¶
Package v1alpha1 is a version of the API. +groupName=authentication.gardener.cloud
Copyright 2021 SAP SE or an SAP affiliate company. All rights reserved. This file is licensed under the Apache Software License, v. 2 except as noted otherwise in the LICENSE file
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Index ¶
- Constants
- Variables
- func Convert_authentication_KubeconfigRequest_To_v1alpha1_AdminKubeconfigRequest(in *authentication.KubeconfigRequest, out *AdminKubeconfigRequest, ...) error
- func Convert_authentication_KubeconfigRequest_To_v1alpha1_ViewerKubeconfigRequest(in *authentication.KubeconfigRequest, out *ViewerKubeconfigRequest, ...) error
- func Convert_v1alpha1_AdminKubeconfigRequest_To_authentication_KubeconfigRequest(in *AdminKubeconfigRequest, out *authentication.KubeconfigRequest, ...) error
- func Convert_v1alpha1_ViewerKubeconfigRequest_To_authentication_KubeconfigRequest(in *ViewerKubeconfigRequest, out *authentication.KubeconfigRequest, ...) error
- func Kind(kind string) schema.GroupKind
- func RegisterConversions(s *runtime.Scheme) error
- func RegisterDefaults(scheme *runtime.Scheme) error
- func Resource(resource string) schema.GroupResource
- func SetDefaults_AdminKubeconfigRequestSpec(obj *AdminKubeconfigRequestSpec)
- func SetDefaults_ViewerKubeconfigRequestSpec(obj *ViewerKubeconfigRequestSpec)
- func SetObjectDefaults_AdminKubeconfigRequest(in *AdminKubeconfigRequest)
- func SetObjectDefaults_ViewerKubeconfigRequest(in *ViewerKubeconfigRequest)
- type AdminKubeconfigRequest
- func (in *AdminKubeconfigRequest) DeepCopy() *AdminKubeconfigRequest
- func (in *AdminKubeconfigRequest) DeepCopyInto(out *AdminKubeconfigRequest)
- func (in *AdminKubeconfigRequest) DeepCopyObject() runtime.Object
- func (*AdminKubeconfigRequest) Descriptor() ([]byte, []int)
- func (m *AdminKubeconfigRequest) Marshal() (dAtA []byte, err error)
- func (m *AdminKubeconfigRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *AdminKubeconfigRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AdminKubeconfigRequest) ProtoMessage()
- func (m *AdminKubeconfigRequest) Reset()
- func (m *AdminKubeconfigRequest) Size() (n int)
- func (this *AdminKubeconfigRequest) String() string
- func (m *AdminKubeconfigRequest) Unmarshal(dAtA []byte) error
- func (m *AdminKubeconfigRequest) XXX_DiscardUnknown()
- func (m *AdminKubeconfigRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AdminKubeconfigRequest) XXX_Merge(src proto.Message)
- func (m *AdminKubeconfigRequest) XXX_Size() int
- func (m *AdminKubeconfigRequest) XXX_Unmarshal(b []byte) error
- type AdminKubeconfigRequestSpec
- func (in *AdminKubeconfigRequestSpec) DeepCopy() *AdminKubeconfigRequestSpec
- func (in *AdminKubeconfigRequestSpec) DeepCopyInto(out *AdminKubeconfigRequestSpec)
- func (*AdminKubeconfigRequestSpec) Descriptor() ([]byte, []int)
- func (m *AdminKubeconfigRequestSpec) Marshal() (dAtA []byte, err error)
- func (m *AdminKubeconfigRequestSpec) MarshalTo(dAtA []byte) (int, error)
- func (m *AdminKubeconfigRequestSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AdminKubeconfigRequestSpec) ProtoMessage()
- func (m *AdminKubeconfigRequestSpec) Reset()
- func (m *AdminKubeconfigRequestSpec) Size() (n int)
- func (this *AdminKubeconfigRequestSpec) String() string
- func (m *AdminKubeconfigRequestSpec) Unmarshal(dAtA []byte) error
- func (m *AdminKubeconfigRequestSpec) XXX_DiscardUnknown()
- func (m *AdminKubeconfigRequestSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AdminKubeconfigRequestSpec) XXX_Merge(src proto.Message)
- func (m *AdminKubeconfigRequestSpec) XXX_Size() int
- func (m *AdminKubeconfigRequestSpec) XXX_Unmarshal(b []byte) error
- type AdminKubeconfigRequestStatus
- func (in *AdminKubeconfigRequestStatus) DeepCopy() *AdminKubeconfigRequestStatus
- func (in *AdminKubeconfigRequestStatus) DeepCopyInto(out *AdminKubeconfigRequestStatus)
- func (*AdminKubeconfigRequestStatus) Descriptor() ([]byte, []int)
- func (m *AdminKubeconfigRequestStatus) Marshal() (dAtA []byte, err error)
- func (m *AdminKubeconfigRequestStatus) MarshalTo(dAtA []byte) (int, error)
- func (m *AdminKubeconfigRequestStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AdminKubeconfigRequestStatus) ProtoMessage()
- func (m *AdminKubeconfigRequestStatus) Reset()
- func (m *AdminKubeconfigRequestStatus) Size() (n int)
- func (this *AdminKubeconfigRequestStatus) String() string
- func (m *AdminKubeconfigRequestStatus) Unmarshal(dAtA []byte) error
- func (m *AdminKubeconfigRequestStatus) XXX_DiscardUnknown()
- func (m *AdminKubeconfigRequestStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AdminKubeconfigRequestStatus) XXX_Merge(src proto.Message)
- func (m *AdminKubeconfigRequestStatus) XXX_Size() int
- func (m *AdminKubeconfigRequestStatus) XXX_Unmarshal(b []byte) error
- type ViewerKubeconfigRequest
- func (in *ViewerKubeconfigRequest) DeepCopy() *ViewerKubeconfigRequest
- func (in *ViewerKubeconfigRequest) DeepCopyInto(out *ViewerKubeconfigRequest)
- func (in *ViewerKubeconfigRequest) DeepCopyObject() runtime.Object
- func (*ViewerKubeconfigRequest) Descriptor() ([]byte, []int)
- func (m *ViewerKubeconfigRequest) Marshal() (dAtA []byte, err error)
- func (m *ViewerKubeconfigRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *ViewerKubeconfigRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ViewerKubeconfigRequest) ProtoMessage()
- func (m *ViewerKubeconfigRequest) Reset()
- func (m *ViewerKubeconfigRequest) Size() (n int)
- func (this *ViewerKubeconfigRequest) String() string
- func (m *ViewerKubeconfigRequest) Unmarshal(dAtA []byte) error
- func (m *ViewerKubeconfigRequest) XXX_DiscardUnknown()
- func (m *ViewerKubeconfigRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ViewerKubeconfigRequest) XXX_Merge(src proto.Message)
- func (m *ViewerKubeconfigRequest) XXX_Size() int
- func (m *ViewerKubeconfigRequest) XXX_Unmarshal(b []byte) error
- type ViewerKubeconfigRequestSpec
- func (in *ViewerKubeconfigRequestSpec) DeepCopy() *ViewerKubeconfigRequestSpec
- func (in *ViewerKubeconfigRequestSpec) DeepCopyInto(out *ViewerKubeconfigRequestSpec)
- func (*ViewerKubeconfigRequestSpec) Descriptor() ([]byte, []int)
- func (m *ViewerKubeconfigRequestSpec) Marshal() (dAtA []byte, err error)
- func (m *ViewerKubeconfigRequestSpec) MarshalTo(dAtA []byte) (int, error)
- func (m *ViewerKubeconfigRequestSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ViewerKubeconfigRequestSpec) ProtoMessage()
- func (m *ViewerKubeconfigRequestSpec) Reset()
- func (m *ViewerKubeconfigRequestSpec) Size() (n int)
- func (this *ViewerKubeconfigRequestSpec) String() string
- func (m *ViewerKubeconfigRequestSpec) Unmarshal(dAtA []byte) error
- func (m *ViewerKubeconfigRequestSpec) XXX_DiscardUnknown()
- func (m *ViewerKubeconfigRequestSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ViewerKubeconfigRequestSpec) XXX_Merge(src proto.Message)
- func (m *ViewerKubeconfigRequestSpec) XXX_Size() int
- func (m *ViewerKubeconfigRequestSpec) XXX_Unmarshal(b []byte) error
- type ViewerKubeconfigRequestStatus
- func (in *ViewerKubeconfigRequestStatus) DeepCopy() *ViewerKubeconfigRequestStatus
- func (in *ViewerKubeconfigRequestStatus) DeepCopyInto(out *ViewerKubeconfigRequestStatus)
- func (*ViewerKubeconfigRequestStatus) Descriptor() ([]byte, []int)
- func (m *ViewerKubeconfigRequestStatus) Marshal() (dAtA []byte, err error)
- func (m *ViewerKubeconfigRequestStatus) MarshalTo(dAtA []byte) (int, error)
- func (m *ViewerKubeconfigRequestStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ViewerKubeconfigRequestStatus) ProtoMessage()
- func (m *ViewerKubeconfigRequestStatus) Reset()
- func (m *ViewerKubeconfigRequestStatus) Size() (n int)
- func (this *ViewerKubeconfigRequestStatus) String() string
- func (m *ViewerKubeconfigRequestStatus) Unmarshal(dAtA []byte) error
- func (m *ViewerKubeconfigRequestStatus) XXX_DiscardUnknown()
- func (m *ViewerKubeconfigRequestStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ViewerKubeconfigRequestStatus) XXX_Merge(src proto.Message)
- func (m *ViewerKubeconfigRequestStatus) XXX_Size() int
- func (m *ViewerKubeconfigRequestStatus) XXX_Unmarshal(b []byte) error
Constants ¶
const GroupName = "authentication.gardener.cloud"
GroupName is the name of the authentication API group.
Variables ¶
var ( ErrInvalidLengthGenerated = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowGenerated = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupGenerated = fmt.Errorf("proto: unexpected end of group") )
var ( // SchemeBuilder is a new Scheme Builder which registers our API. SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes, addDefaultingFuncs) // AddToScheme is a reference to the Scheme Builder's AddToScheme function. AddToScheme = SchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1alpha1"}
SchemeGroupVersion is group version used to register these objects
Functions ¶
func Convert_authentication_KubeconfigRequest_To_v1alpha1_AdminKubeconfigRequest ¶ added in v1.86.0
func Convert_authentication_KubeconfigRequest_To_v1alpha1_AdminKubeconfigRequest(in *authentication.KubeconfigRequest, out *AdminKubeconfigRequest, _ conversion.Scope) error
func Convert_authentication_KubeconfigRequest_To_v1alpha1_ViewerKubeconfigRequest ¶ added in v1.86.0
func Convert_authentication_KubeconfigRequest_To_v1alpha1_ViewerKubeconfigRequest(in *authentication.KubeconfigRequest, out *ViewerKubeconfigRequest, _ conversion.Scope) error
func Convert_v1alpha1_AdminKubeconfigRequest_To_authentication_KubeconfigRequest ¶ added in v1.86.0
func Convert_v1alpha1_AdminKubeconfigRequest_To_authentication_KubeconfigRequest(in *AdminKubeconfigRequest, out *authentication.KubeconfigRequest, _ conversion.Scope) error
func Convert_v1alpha1_ViewerKubeconfigRequest_To_authentication_KubeconfigRequest ¶ added in v1.86.0
func Convert_v1alpha1_ViewerKubeconfigRequest_To_authentication_KubeconfigRequest(in *ViewerKubeconfigRequest, out *authentication.KubeconfigRequest, _ conversion.Scope) error
func RegisterConversions ¶
RegisterConversions adds conversion functions to the given scheme. Public to allow building arbitrary schemes.
func RegisterDefaults ¶
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.
func SetDefaults_AdminKubeconfigRequestSpec ¶
func SetDefaults_AdminKubeconfigRequestSpec(obj *AdminKubeconfigRequestSpec)
SetDefaults_AdminKubeconfigRequestSpec sets default values for AdminKubeconfigRequestSpec objects.
func SetDefaults_ViewerKubeconfigRequestSpec ¶ added in v1.86.0
func SetDefaults_ViewerKubeconfigRequestSpec(obj *ViewerKubeconfigRequestSpec)
SetDefaults_ViewerKubeconfigRequestSpec sets default values for ViewerKubeconfigRequestSpec objects.
func SetObjectDefaults_AdminKubeconfigRequest ¶
func SetObjectDefaults_AdminKubeconfigRequest(in *AdminKubeconfigRequest)
func SetObjectDefaults_ViewerKubeconfigRequest ¶ added in v1.86.0
func SetObjectDefaults_ViewerKubeconfigRequest(in *ViewerKubeconfigRequest)
Types ¶
type AdminKubeconfigRequest ¶
type AdminKubeconfigRequest struct { metav1.TypeMeta `json:",inline"` // Standard object metadata. metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // Spec is the specification of the AdminKubeconfigRequest. Spec AdminKubeconfigRequestSpec `json:"spec" protobuf:"bytes,2,opt,name=spec"` // Status is the status of the AdminKubeconfigRequest. Status AdminKubeconfigRequestStatus `json:"status" protobuf:"bytes,3,opt,name=status"` }
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.
func (*AdminKubeconfigRequest) Descriptor ¶
func (*AdminKubeconfigRequest) Descriptor() ([]byte, []int)
func (*AdminKubeconfigRequest) Marshal ¶
func (m *AdminKubeconfigRequest) Marshal() (dAtA []byte, err error)
func (*AdminKubeconfigRequest) MarshalTo ¶
func (m *AdminKubeconfigRequest) MarshalTo(dAtA []byte) (int, error)
func (*AdminKubeconfigRequest) MarshalToSizedBuffer ¶
func (m *AdminKubeconfigRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AdminKubeconfigRequest) ProtoMessage ¶
func (*AdminKubeconfigRequest) ProtoMessage()
func (*AdminKubeconfigRequest) Reset ¶
func (m *AdminKubeconfigRequest) Reset()
func (*AdminKubeconfigRequest) Size ¶
func (m *AdminKubeconfigRequest) Size() (n int)
func (*AdminKubeconfigRequest) String ¶
func (this *AdminKubeconfigRequest) String() string
func (*AdminKubeconfigRequest) Unmarshal ¶
func (m *AdminKubeconfigRequest) Unmarshal(dAtA []byte) error
func (*AdminKubeconfigRequest) XXX_DiscardUnknown ¶
func (m *AdminKubeconfigRequest) XXX_DiscardUnknown()
func (*AdminKubeconfigRequest) XXX_Marshal ¶
func (m *AdminKubeconfigRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AdminKubeconfigRequest) XXX_Merge ¶
func (m *AdminKubeconfigRequest) XXX_Merge(src proto.Message)
func (*AdminKubeconfigRequest) XXX_Size ¶
func (m *AdminKubeconfigRequest) XXX_Size() int
func (*AdminKubeconfigRequest) XXX_Unmarshal ¶
func (m *AdminKubeconfigRequest) XXX_Unmarshal(b []byte) error
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. // +optional ExpirationSeconds *int64 `json:"expirationSeconds,omitempty" protobuf:"varint,1,opt,name=expirationSeconds"` }
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.
func (*AdminKubeconfigRequestSpec) Descriptor ¶
func (*AdminKubeconfigRequestSpec) Descriptor() ([]byte, []int)
func (*AdminKubeconfigRequestSpec) Marshal ¶
func (m *AdminKubeconfigRequestSpec) Marshal() (dAtA []byte, err error)
func (*AdminKubeconfigRequestSpec) MarshalTo ¶
func (m *AdminKubeconfigRequestSpec) MarshalTo(dAtA []byte) (int, error)
func (*AdminKubeconfigRequestSpec) MarshalToSizedBuffer ¶
func (m *AdminKubeconfigRequestSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AdminKubeconfigRequestSpec) ProtoMessage ¶
func (*AdminKubeconfigRequestSpec) ProtoMessage()
func (*AdminKubeconfigRequestSpec) Reset ¶
func (m *AdminKubeconfigRequestSpec) Reset()
func (*AdminKubeconfigRequestSpec) Size ¶
func (m *AdminKubeconfigRequestSpec) Size() (n int)
func (*AdminKubeconfigRequestSpec) String ¶
func (this *AdminKubeconfigRequestSpec) String() string
func (*AdminKubeconfigRequestSpec) Unmarshal ¶
func (m *AdminKubeconfigRequestSpec) Unmarshal(dAtA []byte) error
func (*AdminKubeconfigRequestSpec) XXX_DiscardUnknown ¶
func (m *AdminKubeconfigRequestSpec) XXX_DiscardUnknown()
func (*AdminKubeconfigRequestSpec) XXX_Marshal ¶
func (m *AdminKubeconfigRequestSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AdminKubeconfigRequestSpec) XXX_Merge ¶
func (m *AdminKubeconfigRequestSpec) XXX_Merge(src proto.Message)
func (*AdminKubeconfigRequestSpec) XXX_Size ¶
func (m *AdminKubeconfigRequestSpec) XXX_Size() int
func (*AdminKubeconfigRequestSpec) XXX_Unmarshal ¶
func (m *AdminKubeconfigRequestSpec) XXX_Unmarshal(b []byte) error
type AdminKubeconfigRequestStatus ¶
type AdminKubeconfigRequestStatus struct { // Kubeconfig contains the kubeconfig with cluster-admin privileges for the shoot cluster. Kubeconfig []byte `json:"kubeconfig" protobuf:"bytes,1,opt,name=kubeconfig"` // ExpirationTimestamp is the expiration timestamp of the returned credential. ExpirationTimestamp metav1.Time `json:"expirationTimestamp" protobuf:"bytes,2,opt,name=expirationTimestamp"` }
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.
func (*AdminKubeconfigRequestStatus) Descriptor ¶
func (*AdminKubeconfigRequestStatus) Descriptor() ([]byte, []int)
func (*AdminKubeconfigRequestStatus) Marshal ¶
func (m *AdminKubeconfigRequestStatus) Marshal() (dAtA []byte, err error)
func (*AdminKubeconfigRequestStatus) MarshalTo ¶
func (m *AdminKubeconfigRequestStatus) MarshalTo(dAtA []byte) (int, error)
func (*AdminKubeconfigRequestStatus) MarshalToSizedBuffer ¶
func (m *AdminKubeconfigRequestStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AdminKubeconfigRequestStatus) ProtoMessage ¶
func (*AdminKubeconfigRequestStatus) ProtoMessage()
func (*AdminKubeconfigRequestStatus) Reset ¶
func (m *AdminKubeconfigRequestStatus) Reset()
func (*AdminKubeconfigRequestStatus) Size ¶
func (m *AdminKubeconfigRequestStatus) Size() (n int)
func (*AdminKubeconfigRequestStatus) String ¶
func (this *AdminKubeconfigRequestStatus) String() string
func (*AdminKubeconfigRequestStatus) Unmarshal ¶
func (m *AdminKubeconfigRequestStatus) Unmarshal(dAtA []byte) error
func (*AdminKubeconfigRequestStatus) XXX_DiscardUnknown ¶
func (m *AdminKubeconfigRequestStatus) XXX_DiscardUnknown()
func (*AdminKubeconfigRequestStatus) XXX_Marshal ¶
func (m *AdminKubeconfigRequestStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AdminKubeconfigRequestStatus) XXX_Merge ¶
func (m *AdminKubeconfigRequestStatus) XXX_Merge(src proto.Message)
func (*AdminKubeconfigRequestStatus) XXX_Size ¶
func (m *AdminKubeconfigRequestStatus) XXX_Size() int
func (*AdminKubeconfigRequestStatus) XXX_Unmarshal ¶
func (m *AdminKubeconfigRequestStatus) XXX_Unmarshal(b []byte) error
type ViewerKubeconfigRequest ¶ added in v1.86.0
type ViewerKubeconfigRequest struct { metav1.TypeMeta `json:",inline"` // Standard object metadata. metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // Spec is the specification of the ViewerKubeconfigRequest. Spec ViewerKubeconfigRequestSpec `json:"spec" protobuf:"bytes,2,opt,name=spec"` // Status is the status of the ViewerKubeconfigRequest. Status ViewerKubeconfigRequestStatus `json:"status" protobuf:"bytes,3,opt,name=status"` }
ViewerKubeconfigRequest can be used to request a kubeconfig with viewer credentials (excluding Secrets) for a Shoot cluster.
func (*ViewerKubeconfigRequest) DeepCopy ¶ added in v1.86.0
func (in *ViewerKubeconfigRequest) DeepCopy() *ViewerKubeconfigRequest
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ViewerKubeconfigRequest.
func (*ViewerKubeconfigRequest) DeepCopyInto ¶ added in v1.86.0
func (in *ViewerKubeconfigRequest) DeepCopyInto(out *ViewerKubeconfigRequest)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ViewerKubeconfigRequest) DeepCopyObject ¶ added in v1.86.0
func (in *ViewerKubeconfigRequest) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ViewerKubeconfigRequest) Descriptor ¶ added in v1.86.0
func (*ViewerKubeconfigRequest) Descriptor() ([]byte, []int)
func (*ViewerKubeconfigRequest) Marshal ¶ added in v1.86.0
func (m *ViewerKubeconfigRequest) Marshal() (dAtA []byte, err error)
func (*ViewerKubeconfigRequest) MarshalTo ¶ added in v1.86.0
func (m *ViewerKubeconfigRequest) MarshalTo(dAtA []byte) (int, error)
func (*ViewerKubeconfigRequest) MarshalToSizedBuffer ¶ added in v1.86.0
func (m *ViewerKubeconfigRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ViewerKubeconfigRequest) ProtoMessage ¶ added in v1.86.0
func (*ViewerKubeconfigRequest) ProtoMessage()
func (*ViewerKubeconfigRequest) Reset ¶ added in v1.86.0
func (m *ViewerKubeconfigRequest) Reset()
func (*ViewerKubeconfigRequest) Size ¶ added in v1.86.0
func (m *ViewerKubeconfigRequest) Size() (n int)
func (*ViewerKubeconfigRequest) String ¶ added in v1.86.0
func (this *ViewerKubeconfigRequest) String() string
func (*ViewerKubeconfigRequest) Unmarshal ¶ added in v1.86.0
func (m *ViewerKubeconfigRequest) Unmarshal(dAtA []byte) error
func (*ViewerKubeconfigRequest) XXX_DiscardUnknown ¶ added in v1.86.0
func (m *ViewerKubeconfigRequest) XXX_DiscardUnknown()
func (*ViewerKubeconfigRequest) XXX_Marshal ¶ added in v1.86.0
func (m *ViewerKubeconfigRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ViewerKubeconfigRequest) XXX_Merge ¶ added in v1.86.0
func (m *ViewerKubeconfigRequest) XXX_Merge(src proto.Message)
func (*ViewerKubeconfigRequest) XXX_Size ¶ added in v1.86.0
func (m *ViewerKubeconfigRequest) XXX_Size() int
func (*ViewerKubeconfigRequest) XXX_Unmarshal ¶ added in v1.86.0
func (m *ViewerKubeconfigRequest) XXX_Unmarshal(b []byte) error
type ViewerKubeconfigRequestSpec ¶ added in v1.86.0
type ViewerKubeconfigRequestSpec 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. // +optional ExpirationSeconds *int64 `json:"expirationSeconds,omitempty" protobuf:"varint,1,opt,name=expirationSeconds"` }
ViewerKubeconfigRequestSpec contains the expiration time of the kubeconfig.
func (*ViewerKubeconfigRequestSpec) DeepCopy ¶ added in v1.86.0
func (in *ViewerKubeconfigRequestSpec) DeepCopy() *ViewerKubeconfigRequestSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ViewerKubeconfigRequestSpec.
func (*ViewerKubeconfigRequestSpec) DeepCopyInto ¶ added in v1.86.0
func (in *ViewerKubeconfigRequestSpec) DeepCopyInto(out *ViewerKubeconfigRequestSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ViewerKubeconfigRequestSpec) Descriptor ¶ added in v1.86.0
func (*ViewerKubeconfigRequestSpec) Descriptor() ([]byte, []int)
func (*ViewerKubeconfigRequestSpec) Marshal ¶ added in v1.86.0
func (m *ViewerKubeconfigRequestSpec) Marshal() (dAtA []byte, err error)
func (*ViewerKubeconfigRequestSpec) MarshalTo ¶ added in v1.86.0
func (m *ViewerKubeconfigRequestSpec) MarshalTo(dAtA []byte) (int, error)
func (*ViewerKubeconfigRequestSpec) MarshalToSizedBuffer ¶ added in v1.86.0
func (m *ViewerKubeconfigRequestSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ViewerKubeconfigRequestSpec) ProtoMessage ¶ added in v1.86.0
func (*ViewerKubeconfigRequestSpec) ProtoMessage()
func (*ViewerKubeconfigRequestSpec) Reset ¶ added in v1.86.0
func (m *ViewerKubeconfigRequestSpec) Reset()
func (*ViewerKubeconfigRequestSpec) Size ¶ added in v1.86.0
func (m *ViewerKubeconfigRequestSpec) Size() (n int)
func (*ViewerKubeconfigRequestSpec) String ¶ added in v1.86.0
func (this *ViewerKubeconfigRequestSpec) String() string
func (*ViewerKubeconfigRequestSpec) Unmarshal ¶ added in v1.86.0
func (m *ViewerKubeconfigRequestSpec) Unmarshal(dAtA []byte) error
func (*ViewerKubeconfigRequestSpec) XXX_DiscardUnknown ¶ added in v1.86.0
func (m *ViewerKubeconfigRequestSpec) XXX_DiscardUnknown()
func (*ViewerKubeconfigRequestSpec) XXX_Marshal ¶ added in v1.86.0
func (m *ViewerKubeconfigRequestSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ViewerKubeconfigRequestSpec) XXX_Merge ¶ added in v1.86.0
func (m *ViewerKubeconfigRequestSpec) XXX_Merge(src proto.Message)
func (*ViewerKubeconfigRequestSpec) XXX_Size ¶ added in v1.86.0
func (m *ViewerKubeconfigRequestSpec) XXX_Size() int
func (*ViewerKubeconfigRequestSpec) XXX_Unmarshal ¶ added in v1.86.0
func (m *ViewerKubeconfigRequestSpec) XXX_Unmarshal(b []byte) error
type ViewerKubeconfigRequestStatus ¶ added in v1.86.0
type ViewerKubeconfigRequestStatus struct { // Kubeconfig contains the kubeconfig with viewer privileges (excluding Secrets) for the shoot cluster. Kubeconfig []byte `json:"kubeconfig" protobuf:"bytes,1,opt,name=kubeconfig"` // ExpirationTimestamp is the expiration timestamp of the returned credential. ExpirationTimestamp metav1.Time `json:"expirationTimestamp" protobuf:"bytes,2,opt,name=expirationTimestamp"` }
ViewerKubeconfigRequestStatus is the status of the ViewerKubeconfigRequest containing the kubeconfig and expiration of the credential.
func (*ViewerKubeconfigRequestStatus) DeepCopy ¶ added in v1.86.0
func (in *ViewerKubeconfigRequestStatus) DeepCopy() *ViewerKubeconfigRequestStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ViewerKubeconfigRequestStatus.
func (*ViewerKubeconfigRequestStatus) DeepCopyInto ¶ added in v1.86.0
func (in *ViewerKubeconfigRequestStatus) DeepCopyInto(out *ViewerKubeconfigRequestStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ViewerKubeconfigRequestStatus) Descriptor ¶ added in v1.86.0
func (*ViewerKubeconfigRequestStatus) Descriptor() ([]byte, []int)
func (*ViewerKubeconfigRequestStatus) Marshal ¶ added in v1.86.0
func (m *ViewerKubeconfigRequestStatus) Marshal() (dAtA []byte, err error)
func (*ViewerKubeconfigRequestStatus) MarshalTo ¶ added in v1.86.0
func (m *ViewerKubeconfigRequestStatus) MarshalTo(dAtA []byte) (int, error)
func (*ViewerKubeconfigRequestStatus) MarshalToSizedBuffer ¶ added in v1.86.0
func (m *ViewerKubeconfigRequestStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ViewerKubeconfigRequestStatus) ProtoMessage ¶ added in v1.86.0
func (*ViewerKubeconfigRequestStatus) ProtoMessage()
func (*ViewerKubeconfigRequestStatus) Reset ¶ added in v1.86.0
func (m *ViewerKubeconfigRequestStatus) Reset()
func (*ViewerKubeconfigRequestStatus) Size ¶ added in v1.86.0
func (m *ViewerKubeconfigRequestStatus) Size() (n int)
func (*ViewerKubeconfigRequestStatus) String ¶ added in v1.86.0
func (this *ViewerKubeconfigRequestStatus) String() string
func (*ViewerKubeconfigRequestStatus) Unmarshal ¶ added in v1.86.0
func (m *ViewerKubeconfigRequestStatus) Unmarshal(dAtA []byte) error
func (*ViewerKubeconfigRequestStatus) XXX_DiscardUnknown ¶ added in v1.86.0
func (m *ViewerKubeconfigRequestStatus) XXX_DiscardUnknown()
func (*ViewerKubeconfigRequestStatus) XXX_Marshal ¶ added in v1.86.0
func (m *ViewerKubeconfigRequestStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ViewerKubeconfigRequestStatus) XXX_Merge ¶ added in v1.86.0
func (m *ViewerKubeconfigRequestStatus) XXX_Merge(src proto.Message)
func (*ViewerKubeconfigRequestStatus) XXX_Size ¶ added in v1.86.0
func (m *ViewerKubeconfigRequestStatus) XXX_Size() int
func (*ViewerKubeconfigRequestStatus) XXX_Unmarshal ¶ added in v1.86.0
func (m *ViewerKubeconfigRequestStatus) XXX_Unmarshal(b []byte) error