v1alpha1

package
v1.74.0 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2023 License: Apache-2.0, BSD-2-Clause, MIT, + 1 more Imports: 13 Imported by: 3

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

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

GroupName is the name of the authentication 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)

	// 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_authentication_AdminKubeconfigRequestSpec_To_v1alpha1_AdminKubeconfigRequestSpec

func Convert_authentication_AdminKubeconfigRequestSpec_To_v1alpha1_AdminKubeconfigRequestSpec(in *authentication.AdminKubeconfigRequestSpec, out *AdminKubeconfigRequestSpec, s conversion.Scope) error

Convert_authentication_AdminKubeconfigRequestSpec_To_v1alpha1_AdminKubeconfigRequestSpec is an autogenerated conversion function.

func Convert_authentication_AdminKubeconfigRequestStatus_To_v1alpha1_AdminKubeconfigRequestStatus

func Convert_authentication_AdminKubeconfigRequestStatus_To_v1alpha1_AdminKubeconfigRequestStatus(in *authentication.AdminKubeconfigRequestStatus, out *AdminKubeconfigRequestStatus, s conversion.Scope) error

Convert_authentication_AdminKubeconfigRequestStatus_To_v1alpha1_AdminKubeconfigRequestStatus is an autogenerated conversion function.

func Convert_authentication_AdminKubeconfigRequest_To_v1alpha1_AdminKubeconfigRequest

func Convert_authentication_AdminKubeconfigRequest_To_v1alpha1_AdminKubeconfigRequest(in *authentication.AdminKubeconfigRequest, out *AdminKubeconfigRequest, s conversion.Scope) error

Convert_authentication_AdminKubeconfigRequest_To_v1alpha1_AdminKubeconfigRequest is an autogenerated conversion function.

func Convert_v1alpha1_AdminKubeconfigRequestSpec_To_authentication_AdminKubeconfigRequestSpec

func Convert_v1alpha1_AdminKubeconfigRequestSpec_To_authentication_AdminKubeconfigRequestSpec(in *AdminKubeconfigRequestSpec, out *authentication.AdminKubeconfigRequestSpec, s conversion.Scope) error

Convert_v1alpha1_AdminKubeconfigRequestSpec_To_authentication_AdminKubeconfigRequestSpec is an autogenerated conversion function.

func Convert_v1alpha1_AdminKubeconfigRequestStatus_To_authentication_AdminKubeconfigRequestStatus

func Convert_v1alpha1_AdminKubeconfigRequestStatus_To_authentication_AdminKubeconfigRequestStatus(in *AdminKubeconfigRequestStatus, out *authentication.AdminKubeconfigRequestStatus, s conversion.Scope) error

Convert_v1alpha1_AdminKubeconfigRequestStatus_To_authentication_AdminKubeconfigRequestStatus is an autogenerated conversion function.

func Convert_v1alpha1_AdminKubeconfigRequest_To_authentication_AdminKubeconfigRequest

func Convert_v1alpha1_AdminKubeconfigRequest_To_authentication_AdminKubeconfigRequest(in *AdminKubeconfigRequest, out *authentication.AdminKubeconfigRequest, s conversion.Scope) error

Convert_v1alpha1_AdminKubeconfigRequest_To_authentication_AdminKubeconfigRequest 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.

func SetDefaults_AdminKubeconfigRequestSpec

func SetDefaults_AdminKubeconfigRequestSpec(obj *AdminKubeconfigRequestSpec)

SetDefaults_AdminKubeconfigRequestSpec sets default values for AdminKubeconfigRequestSpec objects.

func SetObjectDefaults_AdminKubeconfigRequest

func SetObjectDefaults_AdminKubeconfigRequest(in *AdminKubeconfigRequest)

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

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

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

func (*AdminKubeconfigRequestSpec) DeepCopyInto

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,name=kubeconfig"`
	// ExpirationTimestamp is the expiration timestamp of the returned credential.
	ExpirationTimestamp metav1.Time `json:"expirationTimestamp" protobuf:"bytes,2,name=expirationTimestamp"`
}

AdminKubeconfigRequestStatus is the status of the AdminKubeconfigRequest containing the kubeconfig and expiration of the credential.

func (*AdminKubeconfigRequestStatus) DeepCopy

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

func (*AdminKubeconfigRequestStatus) DeepCopyInto

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

Jump to

Keyboard shortcuts

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