v1alpha1

package
v1.102.0 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2024 License: Apache-2.0 Imports: 15 Imported by: 3

Documentation

Overview

Package v1alpha1 is a version of the API. +groupName=security.gardener.cloud

Index

Constants

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

GroupName is the name of the security 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_security_ContextObject_To_v1alpha1_ContextObject added in v1.97.0

func Convert_security_ContextObject_To_v1alpha1_ContextObject(in *security.ContextObject, out *ContextObject, s conversion.Scope) error

Convert_security_ContextObject_To_v1alpha1_ContextObject is an autogenerated conversion function.

func Convert_security_CredentialsBindingList_To_v1alpha1_CredentialsBindingList

func Convert_security_CredentialsBindingList_To_v1alpha1_CredentialsBindingList(in *security.CredentialsBindingList, out *CredentialsBindingList, s conversion.Scope) error

Convert_security_CredentialsBindingList_To_v1alpha1_CredentialsBindingList is an autogenerated conversion function.

func Convert_security_CredentialsBindingProvider_To_v1alpha1_CredentialsBindingProvider

func Convert_security_CredentialsBindingProvider_To_v1alpha1_CredentialsBindingProvider(in *security.CredentialsBindingProvider, out *CredentialsBindingProvider, s conversion.Scope) error

Convert_security_CredentialsBindingProvider_To_v1alpha1_CredentialsBindingProvider is an autogenerated conversion function.

func Convert_security_CredentialsBinding_To_v1alpha1_CredentialsBinding

func Convert_security_CredentialsBinding_To_v1alpha1_CredentialsBinding(in *security.CredentialsBinding, out *CredentialsBinding, s conversion.Scope) error

Convert_security_CredentialsBinding_To_v1alpha1_CredentialsBinding is an autogenerated conversion function.

func Convert_security_TargetSystem_To_v1alpha1_TargetSystem added in v1.97.0

func Convert_security_TargetSystem_To_v1alpha1_TargetSystem(in *security.TargetSystem, out *TargetSystem, s conversion.Scope) error

Convert_security_TargetSystem_To_v1alpha1_TargetSystem is a manual conversion function.

func Convert_security_TokenRequestSpec_To_v1alpha1_TokenRequestSpec added in v1.97.0

func Convert_security_TokenRequestSpec_To_v1alpha1_TokenRequestSpec(in *security.TokenRequestSpec, out *TokenRequestSpec, s conversion.Scope) error

Convert_security_TokenRequestSpec_To_v1alpha1_TokenRequestSpec is an autogenerated conversion function.

func Convert_security_TokenRequestStatus_To_v1alpha1_TokenRequestStatus added in v1.97.0

func Convert_security_TokenRequestStatus_To_v1alpha1_TokenRequestStatus(in *security.TokenRequestStatus, out *TokenRequestStatus, s conversion.Scope) error

Convert_security_TokenRequestStatus_To_v1alpha1_TokenRequestStatus is an autogenerated conversion function.

func Convert_security_TokenRequest_To_v1alpha1_TokenRequest added in v1.97.0

func Convert_security_TokenRequest_To_v1alpha1_TokenRequest(in *security.TokenRequest, out *TokenRequest, s conversion.Scope) error

Convert_security_TokenRequest_To_v1alpha1_TokenRequest is an autogenerated conversion function.

func Convert_security_WorkloadIdentityList_To_v1alpha1_WorkloadIdentityList added in v1.97.0

func Convert_security_WorkloadIdentityList_To_v1alpha1_WorkloadIdentityList(in *security.WorkloadIdentityList, out *WorkloadIdentityList, s conversion.Scope) error

Convert_security_WorkloadIdentityList_To_v1alpha1_WorkloadIdentityList is an autogenerated conversion function.

func Convert_security_WorkloadIdentitySpec_To_v1alpha1_WorkloadIdentitySpec added in v1.97.0

func Convert_security_WorkloadIdentitySpec_To_v1alpha1_WorkloadIdentitySpec(in *security.WorkloadIdentitySpec, out *WorkloadIdentitySpec, s conversion.Scope) error

Convert_security_WorkloadIdentitySpec_To_v1alpha1_WorkloadIdentitySpec is an autogenerated conversion function.

func Convert_security_WorkloadIdentityStatus_To_v1alpha1_WorkloadIdentityStatus added in v1.97.0

func Convert_security_WorkloadIdentityStatus_To_v1alpha1_WorkloadIdentityStatus(in *security.WorkloadIdentityStatus, out *WorkloadIdentityStatus, s conversion.Scope) error

Convert_security_WorkloadIdentityStatus_To_v1alpha1_WorkloadIdentityStatus is an autogenerated conversion function.

func Convert_security_WorkloadIdentity_To_v1alpha1_WorkloadIdentity added in v1.97.0

func Convert_security_WorkloadIdentity_To_v1alpha1_WorkloadIdentity(in *security.WorkloadIdentity, out *WorkloadIdentity, s conversion.Scope) error

Convert_security_WorkloadIdentity_To_v1alpha1_WorkloadIdentity is an autogenerated conversion function.

func Convert_v1alpha1_ContextObject_To_security_ContextObject added in v1.97.0

func Convert_v1alpha1_ContextObject_To_security_ContextObject(in *ContextObject, out *security.ContextObject, s conversion.Scope) error

Convert_v1alpha1_ContextObject_To_security_ContextObject is an autogenerated conversion function.

func Convert_v1alpha1_CredentialsBindingList_To_security_CredentialsBindingList

func Convert_v1alpha1_CredentialsBindingList_To_security_CredentialsBindingList(in *CredentialsBindingList, out *security.CredentialsBindingList, s conversion.Scope) error

Convert_v1alpha1_CredentialsBindingList_To_security_CredentialsBindingList is an autogenerated conversion function.

func Convert_v1alpha1_CredentialsBindingProvider_To_security_CredentialsBindingProvider

func Convert_v1alpha1_CredentialsBindingProvider_To_security_CredentialsBindingProvider(in *CredentialsBindingProvider, out *security.CredentialsBindingProvider, s conversion.Scope) error

Convert_v1alpha1_CredentialsBindingProvider_To_security_CredentialsBindingProvider is an autogenerated conversion function.

func Convert_v1alpha1_CredentialsBinding_To_security_CredentialsBinding

func Convert_v1alpha1_CredentialsBinding_To_security_CredentialsBinding(in *CredentialsBinding, out *security.CredentialsBinding, s conversion.Scope) error

Convert_v1alpha1_CredentialsBinding_To_security_CredentialsBinding is an autogenerated conversion function.

func Convert_v1alpha1_TargetSystem_To_security_TargetSystem added in v1.97.0

func Convert_v1alpha1_TargetSystem_To_security_TargetSystem(in *TargetSystem, out *security.TargetSystem, s conversion.Scope) error

Convert_v1alpha1_TargetSystem_To_security_TargetSystem is a manual conversion function.

func Convert_v1alpha1_TokenRequestSpec_To_security_TokenRequestSpec added in v1.97.0

func Convert_v1alpha1_TokenRequestSpec_To_security_TokenRequestSpec(in *TokenRequestSpec, out *security.TokenRequestSpec, s conversion.Scope) error

Convert_v1alpha1_TokenRequestSpec_To_security_TokenRequestSpec is an autogenerated conversion function.

func Convert_v1alpha1_TokenRequestStatus_To_security_TokenRequestStatus added in v1.97.0

func Convert_v1alpha1_TokenRequestStatus_To_security_TokenRequestStatus(in *TokenRequestStatus, out *security.TokenRequestStatus, s conversion.Scope) error

Convert_v1alpha1_TokenRequestStatus_To_security_TokenRequestStatus is an autogenerated conversion function.

func Convert_v1alpha1_TokenRequest_To_security_TokenRequest added in v1.97.0

func Convert_v1alpha1_TokenRequest_To_security_TokenRequest(in *TokenRequest, out *security.TokenRequest, s conversion.Scope) error

Convert_v1alpha1_TokenRequest_To_security_TokenRequest is an autogenerated conversion function.

func Convert_v1alpha1_WorkloadIdentityList_To_security_WorkloadIdentityList added in v1.97.0

func Convert_v1alpha1_WorkloadIdentityList_To_security_WorkloadIdentityList(in *WorkloadIdentityList, out *security.WorkloadIdentityList, s conversion.Scope) error

Convert_v1alpha1_WorkloadIdentityList_To_security_WorkloadIdentityList is an autogenerated conversion function.

func Convert_v1alpha1_WorkloadIdentitySpec_To_security_WorkloadIdentitySpec added in v1.97.0

func Convert_v1alpha1_WorkloadIdentitySpec_To_security_WorkloadIdentitySpec(in *WorkloadIdentitySpec, out *security.WorkloadIdentitySpec, s conversion.Scope) error

Convert_v1alpha1_WorkloadIdentitySpec_To_security_WorkloadIdentitySpec is an autogenerated conversion function.

func Convert_v1alpha1_WorkloadIdentityStatus_To_security_WorkloadIdentityStatus added in v1.97.0

func Convert_v1alpha1_WorkloadIdentityStatus_To_security_WorkloadIdentityStatus(in *WorkloadIdentityStatus, out *security.WorkloadIdentityStatus, s conversion.Scope) error

Convert_v1alpha1_WorkloadIdentityStatus_To_security_WorkloadIdentityStatus is an autogenerated conversion function.

func Convert_v1alpha1_WorkloadIdentity_To_security_WorkloadIdentity added in v1.97.0

func Convert_v1alpha1_WorkloadIdentity_To_security_WorkloadIdentity(in *WorkloadIdentity, out *security.WorkloadIdentity, s conversion.Scope) error

Convert_v1alpha1_WorkloadIdentity_To_security_WorkloadIdentity 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_CredentialsBinding

func SetDefaults_CredentialsBinding(obj *CredentialsBinding)

SetDefaults_CredentialsBinding sets default values for CredentialsBinding objects.

func SetDefaults_TokenRequest added in v1.97.0

func SetDefaults_TokenRequest(obj *TokenRequest)

SetDefaults_TokenRequest sets default values for TokenRequest objects.

func SetObjectDefaults_CredentialsBinding

func SetObjectDefaults_CredentialsBinding(in *CredentialsBinding)

func SetObjectDefaults_CredentialsBindingList

func SetObjectDefaults_CredentialsBindingList(in *CredentialsBindingList)

func SetObjectDefaults_TokenRequest added in v1.97.0

func SetObjectDefaults_TokenRequest(in *TokenRequest)

Types

type ContextObject added in v1.97.0

type ContextObject struct {
	// Kind of the object the token is requested for. Valid kinds are 'Shoot', 'Seed', etc.
	Kind string `json:"kind" protobuf:"bytes,1,opt,name=kind"`
	// API version of the object the token is requested for.
	APIVersion string `json:"apiVersion" protobuf:"bytes,2,opt,name=apiVersion"`
	// Name of the object the token is requested for.
	Name string `json:"name" protobuf:"bytes,3,opt,name=name"`
	// Namespace of the object the token is requested for.
	// +optional
	Namespace *string `json:"namespace,omitempty" protobuf:"bytes,4,opt,name=namespace"`
	// UID of the object the token is requested for.
	UID types.UID `json:"uid" protobuf:"bytes,5,opt,name=uid,casttype=k8s.io/apimachinery/pkg/types.UID"`
}

ContextObject identifies the object the token is requested for.

func (*ContextObject) DeepCopy added in v1.97.0

func (in *ContextObject) DeepCopy() *ContextObject

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

func (*ContextObject) DeepCopyInto added in v1.97.0

func (in *ContextObject) DeepCopyInto(out *ContextObject)

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

func (*ContextObject) Descriptor added in v1.97.0

func (*ContextObject) Descriptor() ([]byte, []int)

func (*ContextObject) Marshal added in v1.97.0

func (m *ContextObject) Marshal() (dAtA []byte, err error)

func (*ContextObject) MarshalTo added in v1.97.0

func (m *ContextObject) MarshalTo(dAtA []byte) (int, error)

func (*ContextObject) MarshalToSizedBuffer added in v1.97.0

func (m *ContextObject) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ContextObject) ProtoMessage added in v1.97.0

func (*ContextObject) ProtoMessage()

func (*ContextObject) Reset added in v1.97.0

func (m *ContextObject) Reset()

func (*ContextObject) Size added in v1.97.0

func (m *ContextObject) Size() (n int)

func (*ContextObject) String added in v1.97.0

func (this *ContextObject) String() string

func (*ContextObject) Unmarshal added in v1.97.0

func (m *ContextObject) Unmarshal(dAtA []byte) error

func (*ContextObject) XXX_DiscardUnknown added in v1.97.0

func (m *ContextObject) XXX_DiscardUnknown()

func (*ContextObject) XXX_Marshal added in v1.97.0

func (m *ContextObject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ContextObject) XXX_Merge added in v1.97.0

func (m *ContextObject) XXX_Merge(src proto.Message)

func (*ContextObject) XXX_Size added in v1.97.0

func (m *ContextObject) XXX_Size() int

func (*ContextObject) XXX_Unmarshal added in v1.97.0

func (m *ContextObject) XXX_Unmarshal(b []byte) error

type CredentialsBinding

type CredentialsBinding struct {
	metav1.TypeMeta `json:",inline"`
	// Standard object metadata.
	// +optional
	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
	// Provider defines the provider type of the CredentialsBinding.
	// This field is immutable.
	Provider CredentialsBindingProvider `json:"provider" protobuf:"bytes,2,opt,name=provider"`
	// CredentialsRef is a reference to a resource holding the credentials.
	// Accepted resources are core/v1.Secret and security.gardener.cloud/v1alpha1.WorkloadIdentity
	CredentialsRef corev1.ObjectReference `json:"credentialsRef" protobuf:"bytes,3,name=credentialsRef"`
	// Quotas is a list of references to Quota objects in the same or another namespace.
	// This field is immutable.
	// +optional
	Quotas []corev1.ObjectReference `json:"quotas,omitempty" protobuf:"bytes,4,rep,name=quotas"`
}

CredentialsBinding represents a binding to credentials in the same or another namespace.

func (*CredentialsBinding) DeepCopy

func (in *CredentialsBinding) DeepCopy() *CredentialsBinding

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

func (*CredentialsBinding) DeepCopyInto

func (in *CredentialsBinding) DeepCopyInto(out *CredentialsBinding)

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

func (*CredentialsBinding) DeepCopyObject

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

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

func (*CredentialsBinding) Descriptor

func (*CredentialsBinding) Descriptor() ([]byte, []int)

func (*CredentialsBinding) GetProviderType

func (cb *CredentialsBinding) GetProviderType() string

GetProviderType gets the type of the provider.

func (*CredentialsBinding) Marshal

func (m *CredentialsBinding) Marshal() (dAtA []byte, err error)

func (*CredentialsBinding) MarshalTo

func (m *CredentialsBinding) MarshalTo(dAtA []byte) (int, error)

func (*CredentialsBinding) MarshalToSizedBuffer

func (m *CredentialsBinding) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CredentialsBinding) ProtoMessage

func (*CredentialsBinding) ProtoMessage()

func (*CredentialsBinding) Reset

func (m *CredentialsBinding) Reset()

func (*CredentialsBinding) Size

func (m *CredentialsBinding) Size() (n int)

func (*CredentialsBinding) String

func (this *CredentialsBinding) String() string

func (*CredentialsBinding) Unmarshal

func (m *CredentialsBinding) Unmarshal(dAtA []byte) error

func (*CredentialsBinding) XXX_DiscardUnknown

func (m *CredentialsBinding) XXX_DiscardUnknown()

func (*CredentialsBinding) XXX_Marshal

func (m *CredentialsBinding) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CredentialsBinding) XXX_Merge

func (m *CredentialsBinding) XXX_Merge(src proto.Message)

func (*CredentialsBinding) XXX_Size

func (m *CredentialsBinding) XXX_Size() int

func (*CredentialsBinding) XXX_Unmarshal

func (m *CredentialsBinding) XXX_Unmarshal(b []byte) error

type CredentialsBindingList

type CredentialsBindingList struct {
	metav1.TypeMeta `json:",inline"`
	// Standard list object metadata.
	// +optional
	metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
	// Items is the list of CredentialsBindings.
	Items []CredentialsBinding `json:"items" protobuf:"bytes,2,rep,name=items"`
}

CredentialsBindingList is a collection of CredentialsBindings.

func (*CredentialsBindingList) DeepCopy

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

func (*CredentialsBindingList) DeepCopyInto

func (in *CredentialsBindingList) DeepCopyInto(out *CredentialsBindingList)

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

func (*CredentialsBindingList) DeepCopyObject

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

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

func (*CredentialsBindingList) Descriptor

func (*CredentialsBindingList) Descriptor() ([]byte, []int)

func (*CredentialsBindingList) Marshal

func (m *CredentialsBindingList) Marshal() (dAtA []byte, err error)

func (*CredentialsBindingList) MarshalTo

func (m *CredentialsBindingList) MarshalTo(dAtA []byte) (int, error)

func (*CredentialsBindingList) MarshalToSizedBuffer

func (m *CredentialsBindingList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CredentialsBindingList) ProtoMessage

func (*CredentialsBindingList) ProtoMessage()

func (*CredentialsBindingList) Reset

func (m *CredentialsBindingList) Reset()

func (*CredentialsBindingList) Size

func (m *CredentialsBindingList) Size() (n int)

func (*CredentialsBindingList) String

func (this *CredentialsBindingList) String() string

func (*CredentialsBindingList) Unmarshal

func (m *CredentialsBindingList) Unmarshal(dAtA []byte) error

func (*CredentialsBindingList) XXX_DiscardUnknown

func (m *CredentialsBindingList) XXX_DiscardUnknown()

func (*CredentialsBindingList) XXX_Marshal

func (m *CredentialsBindingList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CredentialsBindingList) XXX_Merge

func (m *CredentialsBindingList) XXX_Merge(src proto.Message)

func (*CredentialsBindingList) XXX_Size

func (m *CredentialsBindingList) XXX_Size() int

func (*CredentialsBindingList) XXX_Unmarshal

func (m *CredentialsBindingList) XXX_Unmarshal(b []byte) error

type CredentialsBindingProvider

type CredentialsBindingProvider struct {
	// Type is the type of the provider.
	Type string `json:"type" protobuf:"bytes,1,opt,name=type"`
}

CredentialsBindingProvider defines the provider type of the CredentialsBinding.

func (*CredentialsBindingProvider) DeepCopy

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

func (*CredentialsBindingProvider) DeepCopyInto

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

func (*CredentialsBindingProvider) Descriptor

func (*CredentialsBindingProvider) Descriptor() ([]byte, []int)

func (*CredentialsBindingProvider) Marshal

func (m *CredentialsBindingProvider) Marshal() (dAtA []byte, err error)

func (*CredentialsBindingProvider) MarshalTo

func (m *CredentialsBindingProvider) MarshalTo(dAtA []byte) (int, error)

func (*CredentialsBindingProvider) MarshalToSizedBuffer

func (m *CredentialsBindingProvider) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CredentialsBindingProvider) ProtoMessage

func (*CredentialsBindingProvider) ProtoMessage()

func (*CredentialsBindingProvider) Reset

func (m *CredentialsBindingProvider) Reset()

func (*CredentialsBindingProvider) Size

func (m *CredentialsBindingProvider) Size() (n int)

func (*CredentialsBindingProvider) String

func (this *CredentialsBindingProvider) String() string

func (*CredentialsBindingProvider) Unmarshal

func (m *CredentialsBindingProvider) Unmarshal(dAtA []byte) error

func (*CredentialsBindingProvider) XXX_DiscardUnknown

func (m *CredentialsBindingProvider) XXX_DiscardUnknown()

func (*CredentialsBindingProvider) XXX_Marshal

func (m *CredentialsBindingProvider) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CredentialsBindingProvider) XXX_Merge

func (m *CredentialsBindingProvider) XXX_Merge(src proto.Message)

func (*CredentialsBindingProvider) XXX_Size

func (m *CredentialsBindingProvider) XXX_Size() int

func (*CredentialsBindingProvider) XXX_Unmarshal

func (m *CredentialsBindingProvider) XXX_Unmarshal(b []byte) error

type TargetSystem added in v1.97.0

type TargetSystem struct {
	// Type is the type of the target system.
	Type string `json:"type" protobuf:"bytes,1,opt,name=type"`
	// ProviderConfig is the configuration passed to extension resource.
	// +optional
	ProviderConfig *runtime.RawExtension `json:"providerConfig,omitempty" protobuf:"bytes,2,opt,name=providerConfig"`
}

TargetSystem represents specific configurations for the system that will accept the JWTs.

func (*TargetSystem) DeepCopy added in v1.97.0

func (in *TargetSystem) DeepCopy() *TargetSystem

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

func (*TargetSystem) DeepCopyInto added in v1.97.0

func (in *TargetSystem) DeepCopyInto(out *TargetSystem)

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

func (*TargetSystem) Descriptor added in v1.97.0

func (*TargetSystem) Descriptor() ([]byte, []int)

func (*TargetSystem) Marshal added in v1.97.0

func (m *TargetSystem) Marshal() (dAtA []byte, err error)

func (*TargetSystem) MarshalTo added in v1.97.0

func (m *TargetSystem) MarshalTo(dAtA []byte) (int, error)

func (*TargetSystem) MarshalToSizedBuffer added in v1.97.0

func (m *TargetSystem) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*TargetSystem) ProtoMessage added in v1.97.0

func (*TargetSystem) ProtoMessage()

func (*TargetSystem) Reset added in v1.97.0

func (m *TargetSystem) Reset()

func (*TargetSystem) Size added in v1.97.0

func (m *TargetSystem) Size() (n int)

func (*TargetSystem) String added in v1.97.0

func (this *TargetSystem) String() string

func (*TargetSystem) Unmarshal added in v1.97.0

func (m *TargetSystem) Unmarshal(dAtA []byte) error

func (*TargetSystem) XXX_DiscardUnknown added in v1.97.0

func (m *TargetSystem) XXX_DiscardUnknown()

func (*TargetSystem) XXX_Marshal added in v1.97.0

func (m *TargetSystem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TargetSystem) XXX_Merge added in v1.97.0

func (m *TargetSystem) XXX_Merge(src proto.Message)

func (*TargetSystem) XXX_Size added in v1.97.0

func (m *TargetSystem) XXX_Size() int

func (*TargetSystem) XXX_Unmarshal added in v1.97.0

func (m *TargetSystem) XXX_Unmarshal(b []byte) error

type TokenRequest added in v1.97.0

type TokenRequest struct {
	metav1.TypeMeta `json:",inline"`
	// Standard object metadata.
	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
	// Spec holds configuration settings for the requested token.
	Spec TokenRequestSpec `json:"spec" protobuf:"bytes,2,opt,name=spec"`
	// Status bears the issued token with additional information back to the client.
	Status TokenRequestStatus `json:"status" protobuf:"bytes,3,opt,name=status"`
}

TokenRequest is a resource that is used to request WorkloadIdentity tokens.

func (*TokenRequest) DeepCopy added in v1.97.0

func (in *TokenRequest) DeepCopy() *TokenRequest

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

func (*TokenRequest) DeepCopyInto added in v1.97.0

func (in *TokenRequest) DeepCopyInto(out *TokenRequest)

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

func (*TokenRequest) DeepCopyObject added in v1.97.0

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

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

func (*TokenRequest) Descriptor added in v1.97.0

func (*TokenRequest) Descriptor() ([]byte, []int)

func (*TokenRequest) Marshal added in v1.97.0

func (m *TokenRequest) Marshal() (dAtA []byte, err error)

func (*TokenRequest) MarshalTo added in v1.97.0

func (m *TokenRequest) MarshalTo(dAtA []byte) (int, error)

func (*TokenRequest) MarshalToSizedBuffer added in v1.97.0

func (m *TokenRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*TokenRequest) ProtoMessage added in v1.97.0

func (*TokenRequest) ProtoMessage()

func (*TokenRequest) Reset added in v1.97.0

func (m *TokenRequest) Reset()

func (*TokenRequest) Size added in v1.97.0

func (m *TokenRequest) Size() (n int)

func (*TokenRequest) String added in v1.97.0

func (this *TokenRequest) String() string

func (*TokenRequest) Unmarshal added in v1.97.0

func (m *TokenRequest) Unmarshal(dAtA []byte) error

func (*TokenRequest) XXX_DiscardUnknown added in v1.97.0

func (m *TokenRequest) XXX_DiscardUnknown()

func (*TokenRequest) XXX_Marshal added in v1.97.0

func (m *TokenRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TokenRequest) XXX_Merge added in v1.97.0

func (m *TokenRequest) XXX_Merge(src proto.Message)

func (*TokenRequest) XXX_Size added in v1.97.0

func (m *TokenRequest) XXX_Size() int

func (*TokenRequest) XXX_Unmarshal added in v1.97.0

func (m *TokenRequest) XXX_Unmarshal(b []byte) error

type TokenRequestSpec added in v1.97.0

type TokenRequestSpec struct {
	// ContextObject identifies the object the token is requested for.
	// +optional
	ContextObject *ContextObject `json:"contextObject,omitempty" protobuf:"bytes,1,opt,name=contextObject"`
	// ExpirationSeconds specifies for how long the requested token should be valid.
	// +optional
	ExpirationSeconds *int64 `json:"expirationSeconds,omitempty" protobuf:"bytes,2,opt,name=expirationSeconds"`
}

TokenRequestSpec holds configuration settings for the requested token.

func (*TokenRequestSpec) DeepCopy added in v1.97.0

func (in *TokenRequestSpec) DeepCopy() *TokenRequestSpec

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

func (*TokenRequestSpec) DeepCopyInto added in v1.97.0

func (in *TokenRequestSpec) DeepCopyInto(out *TokenRequestSpec)

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

func (*TokenRequestSpec) Descriptor added in v1.97.0

func (*TokenRequestSpec) Descriptor() ([]byte, []int)

func (*TokenRequestSpec) Marshal added in v1.97.0

func (m *TokenRequestSpec) Marshal() (dAtA []byte, err error)

func (*TokenRequestSpec) MarshalTo added in v1.97.0

func (m *TokenRequestSpec) MarshalTo(dAtA []byte) (int, error)

func (*TokenRequestSpec) MarshalToSizedBuffer added in v1.97.0

func (m *TokenRequestSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*TokenRequestSpec) ProtoMessage added in v1.97.0

func (*TokenRequestSpec) ProtoMessage()

func (*TokenRequestSpec) Reset added in v1.97.0

func (m *TokenRequestSpec) Reset()

func (*TokenRequestSpec) Size added in v1.97.0

func (m *TokenRequestSpec) Size() (n int)

func (*TokenRequestSpec) String added in v1.97.0

func (this *TokenRequestSpec) String() string

func (*TokenRequestSpec) Unmarshal added in v1.97.0

func (m *TokenRequestSpec) Unmarshal(dAtA []byte) error

func (*TokenRequestSpec) XXX_DiscardUnknown added in v1.97.0

func (m *TokenRequestSpec) XXX_DiscardUnknown()

func (*TokenRequestSpec) XXX_Marshal added in v1.97.0

func (m *TokenRequestSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TokenRequestSpec) XXX_Merge added in v1.97.0

func (m *TokenRequestSpec) XXX_Merge(src proto.Message)

func (*TokenRequestSpec) XXX_Size added in v1.97.0

func (m *TokenRequestSpec) XXX_Size() int

func (*TokenRequestSpec) XXX_Unmarshal added in v1.97.0

func (m *TokenRequestSpec) XXX_Unmarshal(b []byte) error

type TokenRequestStatus added in v1.97.0

type TokenRequestStatus struct {
	// Token is the issued token.
	Token string `json:"token" protobuf:"bytes,1,opt,name=token"`
	// ExpirationTimestamp is the time of expiration of the returned token.
	ExpirationTimestamp metav1.Time `json:"expirationTimestamp" protobuf:"bytes,2,opt,name=expirationTimestamp"`
}

TokenRequestStatus bears the issued token with additional information back to the client.

func (*TokenRequestStatus) DeepCopy added in v1.97.0

func (in *TokenRequestStatus) DeepCopy() *TokenRequestStatus

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

func (*TokenRequestStatus) DeepCopyInto added in v1.97.0

func (in *TokenRequestStatus) DeepCopyInto(out *TokenRequestStatus)

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

func (*TokenRequestStatus) Descriptor added in v1.97.0

func (*TokenRequestStatus) Descriptor() ([]byte, []int)

func (*TokenRequestStatus) Marshal added in v1.97.0

func (m *TokenRequestStatus) Marshal() (dAtA []byte, err error)

func (*TokenRequestStatus) MarshalTo added in v1.97.0

func (m *TokenRequestStatus) MarshalTo(dAtA []byte) (int, error)

func (*TokenRequestStatus) MarshalToSizedBuffer added in v1.97.0

func (m *TokenRequestStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*TokenRequestStatus) ProtoMessage added in v1.97.0

func (*TokenRequestStatus) ProtoMessage()

func (*TokenRequestStatus) Reset added in v1.97.0

func (m *TokenRequestStatus) Reset()

func (*TokenRequestStatus) Size added in v1.97.0

func (m *TokenRequestStatus) Size() (n int)

func (*TokenRequestStatus) String added in v1.97.0

func (this *TokenRequestStatus) String() string

func (*TokenRequestStatus) Unmarshal added in v1.97.0

func (m *TokenRequestStatus) Unmarshal(dAtA []byte) error

func (*TokenRequestStatus) XXX_DiscardUnknown added in v1.97.0

func (m *TokenRequestStatus) XXX_DiscardUnknown()

func (*TokenRequestStatus) XXX_Marshal added in v1.97.0

func (m *TokenRequestStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TokenRequestStatus) XXX_Merge added in v1.97.0

func (m *TokenRequestStatus) XXX_Merge(src proto.Message)

func (*TokenRequestStatus) XXX_Size added in v1.97.0

func (m *TokenRequestStatus) XXX_Size() int

func (*TokenRequestStatus) XXX_Unmarshal added in v1.97.0

func (m *TokenRequestStatus) XXX_Unmarshal(b []byte) error

type WorkloadIdentity added in v1.97.0

type WorkloadIdentity struct {
	metav1.TypeMeta `json:",inline"`
	// Standard object metadata.
	// +optional
	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
	// Spec configures the JSON Web Token issued by the Gardener API server.
	Spec WorkloadIdentitySpec `json:"spec" protobuf:"bytes,2,opt,name=spec"`
	// Status contain the latest observed status of the WorkloadIdentity.
	Status WorkloadIdentityStatus `json:"status" protobuf:"bytes,3,opt,name=status"`
}

WorkloadIdentity is resource that allows workloads to be presented before external systems by giving them identities managed by the Gardener API server. The identity of such workload is represented by JSON Web Token issued by the Gardener API server. Workload identities are designed to be used by components running in the Gardener environment, seed or runtime cluster, that make use of identity federation inspired by the OIDC protocol.

func (*WorkloadIdentity) DeepCopy added in v1.97.0

func (in *WorkloadIdentity) DeepCopy() *WorkloadIdentity

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

func (*WorkloadIdentity) DeepCopyInto added in v1.97.0

func (in *WorkloadIdentity) DeepCopyInto(out *WorkloadIdentity)

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

func (*WorkloadIdentity) DeepCopyObject added in v1.97.0

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

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

func (*WorkloadIdentity) Descriptor added in v1.97.0

func (*WorkloadIdentity) Descriptor() ([]byte, []int)

func (*WorkloadIdentity) Marshal added in v1.97.0

func (m *WorkloadIdentity) Marshal() (dAtA []byte, err error)

func (*WorkloadIdentity) MarshalTo added in v1.97.0

func (m *WorkloadIdentity) MarshalTo(dAtA []byte) (int, error)

func (*WorkloadIdentity) MarshalToSizedBuffer added in v1.97.0

func (m *WorkloadIdentity) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*WorkloadIdentity) ProtoMessage added in v1.97.0

func (*WorkloadIdentity) ProtoMessage()

func (*WorkloadIdentity) Reset added in v1.97.0

func (m *WorkloadIdentity) Reset()

func (*WorkloadIdentity) Size added in v1.97.0

func (m *WorkloadIdentity) Size() (n int)

func (*WorkloadIdentity) String added in v1.97.0

func (this *WorkloadIdentity) String() string

func (*WorkloadIdentity) Unmarshal added in v1.97.0

func (m *WorkloadIdentity) Unmarshal(dAtA []byte) error

func (*WorkloadIdentity) XXX_DiscardUnknown added in v1.97.0

func (m *WorkloadIdentity) XXX_DiscardUnknown()

func (*WorkloadIdentity) XXX_Marshal added in v1.97.0

func (m *WorkloadIdentity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*WorkloadIdentity) XXX_Merge added in v1.97.0

func (m *WorkloadIdentity) XXX_Merge(src proto.Message)

func (*WorkloadIdentity) XXX_Size added in v1.97.0

func (m *WorkloadIdentity) XXX_Size() int

func (*WorkloadIdentity) XXX_Unmarshal added in v1.97.0

func (m *WorkloadIdentity) XXX_Unmarshal(b []byte) error

type WorkloadIdentityList added in v1.97.0

type WorkloadIdentityList struct {
	metav1.TypeMeta `json:",inline"`
	// Standard list object metadata.
	// +optional
	metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
	// Items is the list of WorkloadIdentities.
	Items []WorkloadIdentity `json:"items" protobuf:"bytes,2,rep,name=items"`
}

WorkloadIdentityList is a collection of WorkloadIdentities.

func (*WorkloadIdentityList) DeepCopy added in v1.97.0

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

func (*WorkloadIdentityList) DeepCopyInto added in v1.97.0

func (in *WorkloadIdentityList) DeepCopyInto(out *WorkloadIdentityList)

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

func (*WorkloadIdentityList) DeepCopyObject added in v1.97.0

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

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

func (*WorkloadIdentityList) Descriptor added in v1.97.0

func (*WorkloadIdentityList) Descriptor() ([]byte, []int)

func (*WorkloadIdentityList) Marshal added in v1.97.0

func (m *WorkloadIdentityList) Marshal() (dAtA []byte, err error)

func (*WorkloadIdentityList) MarshalTo added in v1.97.0

func (m *WorkloadIdentityList) MarshalTo(dAtA []byte) (int, error)

func (*WorkloadIdentityList) MarshalToSizedBuffer added in v1.97.0

func (m *WorkloadIdentityList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*WorkloadIdentityList) ProtoMessage added in v1.97.0

func (*WorkloadIdentityList) ProtoMessage()

func (*WorkloadIdentityList) Reset added in v1.97.0

func (m *WorkloadIdentityList) Reset()

func (*WorkloadIdentityList) Size added in v1.97.0

func (m *WorkloadIdentityList) Size() (n int)

func (*WorkloadIdentityList) String added in v1.97.0

func (this *WorkloadIdentityList) String() string

func (*WorkloadIdentityList) Unmarshal added in v1.97.0

func (m *WorkloadIdentityList) Unmarshal(dAtA []byte) error

func (*WorkloadIdentityList) XXX_DiscardUnknown added in v1.97.0

func (m *WorkloadIdentityList) XXX_DiscardUnknown()

func (*WorkloadIdentityList) XXX_Marshal added in v1.97.0

func (m *WorkloadIdentityList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*WorkloadIdentityList) XXX_Merge added in v1.97.0

func (m *WorkloadIdentityList) XXX_Merge(src proto.Message)

func (*WorkloadIdentityList) XXX_Size added in v1.97.0

func (m *WorkloadIdentityList) XXX_Size() int

func (*WorkloadIdentityList) XXX_Unmarshal added in v1.97.0

func (m *WorkloadIdentityList) XXX_Unmarshal(b []byte) error

type WorkloadIdentitySpec added in v1.97.0

type WorkloadIdentitySpec struct {
	// Audiences specify the list of recipients that the JWT is intended for.
	// The values of this field will be set in the 'aud' claim.
	Audiences []string `json:"audiences" protobuf:"bytes,1,opt,name=audiences"`
	// TargetSystem represents specific configurations for the system that will accept the JWTs.
	TargetSystem TargetSystem `json:"targetSystem" protobuf:"bytes,2,opt,name=targetSystem"`
}

WorkloadIdentitySpec configures the JSON Web Token issued by the Gardener API server.

func (*WorkloadIdentitySpec) DeepCopy added in v1.97.0

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

func (*WorkloadIdentitySpec) DeepCopyInto added in v1.97.0

func (in *WorkloadIdentitySpec) DeepCopyInto(out *WorkloadIdentitySpec)

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

func (*WorkloadIdentitySpec) Descriptor added in v1.97.0

func (*WorkloadIdentitySpec) Descriptor() ([]byte, []int)

func (*WorkloadIdentitySpec) Marshal added in v1.97.0

func (m *WorkloadIdentitySpec) Marshal() (dAtA []byte, err error)

func (*WorkloadIdentitySpec) MarshalTo added in v1.97.0

func (m *WorkloadIdentitySpec) MarshalTo(dAtA []byte) (int, error)

func (*WorkloadIdentitySpec) MarshalToSizedBuffer added in v1.97.0

func (m *WorkloadIdentitySpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*WorkloadIdentitySpec) ProtoMessage added in v1.97.0

func (*WorkloadIdentitySpec) ProtoMessage()

func (*WorkloadIdentitySpec) Reset added in v1.97.0

func (m *WorkloadIdentitySpec) Reset()

func (*WorkloadIdentitySpec) Size added in v1.97.0

func (m *WorkloadIdentitySpec) Size() (n int)

func (*WorkloadIdentitySpec) String added in v1.97.0

func (this *WorkloadIdentitySpec) String() string

func (*WorkloadIdentitySpec) Unmarshal added in v1.97.0

func (m *WorkloadIdentitySpec) Unmarshal(dAtA []byte) error

func (*WorkloadIdentitySpec) XXX_DiscardUnknown added in v1.97.0

func (m *WorkloadIdentitySpec) XXX_DiscardUnknown()

func (*WorkloadIdentitySpec) XXX_Marshal added in v1.97.0

func (m *WorkloadIdentitySpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*WorkloadIdentitySpec) XXX_Merge added in v1.97.0

func (m *WorkloadIdentitySpec) XXX_Merge(src proto.Message)

func (*WorkloadIdentitySpec) XXX_Size added in v1.97.0

func (m *WorkloadIdentitySpec) XXX_Size() int

func (*WorkloadIdentitySpec) XXX_Unmarshal added in v1.97.0

func (m *WorkloadIdentitySpec) XXX_Unmarshal(b []byte) error

type WorkloadIdentityStatus added in v1.97.0

type WorkloadIdentityStatus struct {
	// Sub contains the computed value of the subject that is going to be set in JWTs 'sub' claim.
	Sub string `json:"sub" protobuf:"bytes,1,opt,name=sub"`
}

WorkloadIdentityStatus contain the latest observed status of the WorkloadIdentity.

func (*WorkloadIdentityStatus) DeepCopy added in v1.97.0

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

func (*WorkloadIdentityStatus) DeepCopyInto added in v1.97.0

func (in *WorkloadIdentityStatus) DeepCopyInto(out *WorkloadIdentityStatus)

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

func (*WorkloadIdentityStatus) Descriptor added in v1.97.0

func (*WorkloadIdentityStatus) Descriptor() ([]byte, []int)

func (*WorkloadIdentityStatus) Marshal added in v1.97.0

func (m *WorkloadIdentityStatus) Marshal() (dAtA []byte, err error)

func (*WorkloadIdentityStatus) MarshalTo added in v1.97.0

func (m *WorkloadIdentityStatus) MarshalTo(dAtA []byte) (int, error)

func (*WorkloadIdentityStatus) MarshalToSizedBuffer added in v1.97.0

func (m *WorkloadIdentityStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*WorkloadIdentityStatus) ProtoMessage added in v1.97.0

func (*WorkloadIdentityStatus) ProtoMessage()

func (*WorkloadIdentityStatus) Reset added in v1.97.0

func (m *WorkloadIdentityStatus) Reset()

func (*WorkloadIdentityStatus) Size added in v1.97.0

func (m *WorkloadIdentityStatus) Size() (n int)

func (*WorkloadIdentityStatus) String added in v1.97.0

func (this *WorkloadIdentityStatus) String() string

func (*WorkloadIdentityStatus) Unmarshal added in v1.97.0

func (m *WorkloadIdentityStatus) Unmarshal(dAtA []byte) error

func (*WorkloadIdentityStatus) XXX_DiscardUnknown added in v1.97.0

func (m *WorkloadIdentityStatus) XXX_DiscardUnknown()

func (*WorkloadIdentityStatus) XXX_Marshal added in v1.97.0

func (m *WorkloadIdentityStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*WorkloadIdentityStatus) XXX_Merge added in v1.97.0

func (m *WorkloadIdentityStatus) XXX_Merge(src proto.Message)

func (*WorkloadIdentityStatus) XXX_Size added in v1.97.0

func (m *WorkloadIdentityStatus) XXX_Size() int

func (*WorkloadIdentityStatus) XXX_Unmarshal added in v1.97.0

func (m *WorkloadIdentityStatus) XXX_Unmarshal(b []byte) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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