v1beta1

package
v0.0.0-...-49f5ef6 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	GroupName = "clusters.kubeception.io"
	Version   = "v1beta1"
)

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 initializes a scheme builder
	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)
	// AddToScheme is a global function that registers this API group & version to a scheme
	AddToScheme = SchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: Version}

SchemeGroupVersion is a group version used to register these objects

Functions

func Kind

func Kind(kind string) schema.GroupKind

Kind takes an unqualified kind and returns a Group qualified GroupKind

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

Types

type Cluster

type Cluster struct {
	metav1.TypeMeta `json:",inline"`

	// Standard object's metadata.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	// +optional
	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// Specification of the desired behavior of a cluster.
	// +optional
	Spec ClusterSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"`

	// Current status of a cluster.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
	// +optional
	Status ClusterStatus `json:"status" protobuf:"bytes,3,opt,name=status"`
}

func (*Cluster) DeepCopy

func (in *Cluster) DeepCopy() *Cluster

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

func (*Cluster) DeepCopyInto

func (in *Cluster) DeepCopyInto(out *Cluster)

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

func (*Cluster) DeepCopyObject

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

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

func (*Cluster) Descriptor

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

func (*Cluster) Marshal

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

func (*Cluster) MarshalTo

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

func (*Cluster) MarshalToSizedBuffer

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

func (*Cluster) ProtoMessage

func (*Cluster) ProtoMessage()

func (*Cluster) Reset

func (m *Cluster) Reset()

func (*Cluster) Size

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

func (*Cluster) String

func (this *Cluster) String() string

func (*Cluster) Unmarshal

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

func (*Cluster) XXX_DiscardUnknown

func (m *Cluster) XXX_DiscardUnknown()

func (*Cluster) XXX_Marshal

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

func (*Cluster) XXX_Merge

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

func (*Cluster) XXX_Size

func (m *Cluster) XXX_Size() int

func (*Cluster) XXX_Unmarshal

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

type ClusterCondition

type ClusterCondition struct {
	// Type of cluster condition, Complete or Failed.
	Type ClusterConditionType `json:"type" protobuf:"bytes,1,opt,name=type,casttype=ClusterConditionType"`

	// Status of the condition, one of True, False, Unknown.
	Status corev1.ConditionStatus `json:"status" protobuf:"bytes,2,opt,name=status,casttype=k8s.io/api/core/v1.ConditionStatus"`

	// Last time the condition was checked.
	// +optional
	LastProbeTime metav1.Time `json:"lastProbeTime,omitempty" protobuf:"bytes,3,opt,name=lastProbeTime"`

	// Last time the condition transit from one status to another.
	// +optional
	LastTransitionTime metav1.Time `json:"lastTransitionTime,omitempty" protobuf:"bytes,4,opt,name=lastTransitionTime"`

	// (brief) reason for the condition's last transition.
	// +optional
	Reason string `json:"reason,omitempty" protobuf:"bytes,5,opt,name=reason"`

	// Human readable message indicating details about last transition.
	// +optional
	Message string `json:"message,omitempty" protobuf:"bytes,6,opt,name=message"`
}

ClusterCondition describes current state of a cluster.

func (*ClusterCondition) DeepCopy

func (in *ClusterCondition) DeepCopy() *ClusterCondition

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

func (*ClusterCondition) DeepCopyInto

func (in *ClusterCondition) DeepCopyInto(out *ClusterCondition)

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

func (*ClusterCondition) Descriptor

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

func (*ClusterCondition) Marshal

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

func (*ClusterCondition) MarshalTo

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

func (*ClusterCondition) MarshalToSizedBuffer

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

func (*ClusterCondition) ProtoMessage

func (*ClusterCondition) ProtoMessage()

func (*ClusterCondition) Reset

func (m *ClusterCondition) Reset()

func (*ClusterCondition) Size

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

func (*ClusterCondition) String

func (this *ClusterCondition) String() string

func (*ClusterCondition) Unmarshal

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

func (*ClusterCondition) XXX_DiscardUnknown

func (m *ClusterCondition) XXX_DiscardUnknown()

func (*ClusterCondition) XXX_Marshal

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

func (*ClusterCondition) XXX_Merge

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

func (*ClusterCondition) XXX_Size

func (m *ClusterCondition) XXX_Size() int

func (*ClusterCondition) XXX_Unmarshal

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

type ClusterConditionType

type ClusterConditionType string
const (
	// ClusterActive means the cluster is active
	ClusterActive ClusterConditionType = "Active"

	// ClusterCreating means the cluster is being created
	ClusterCreating ClusterConditionType = "Creating"

	// ClusterUpdating means the cluster is being updated
	ClusterUpdating ClusterConditionType = "Updating"

	// ClusterDeleting means the cluster is being deleted
	ClusterDeleting ClusterConditionType = "Deleting"

	// ClusterSuspending means the cluster is being suspended
	ClusterSuspending ClusterConditionType = "Suspending"

	// ClusterSuspended means the cluster is suspended
	ClusterSuspended ClusterConditionType = "Suspended"

	// ClusterError means the cluster is encounter an issue
	ClusterError ClusterConditionType = "Error"
)

These are built-in conditions of a cluster.

type ClusterList

type ClusterList struct {
	metav1.TypeMeta `json:",inline"`

	// Standard list metadata.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	// +optional
	metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// items is the list of clusters.
	Items []Cluster `json:"items" protobuf:"bytes,2,rep,name=items"`
}

func (*ClusterList) DeepCopy

func (in *ClusterList) DeepCopy() *ClusterList

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

func (*ClusterList) DeepCopyInto

func (in *ClusterList) DeepCopyInto(out *ClusterList)

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

func (*ClusterList) DeepCopyObject

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

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

func (*ClusterList) Descriptor

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

func (*ClusterList) Marshal

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

func (*ClusterList) MarshalTo

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

func (*ClusterList) MarshalToSizedBuffer

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

func (*ClusterList) ProtoMessage

func (*ClusterList) ProtoMessage()

func (*ClusterList) Reset

func (m *ClusterList) Reset()

func (*ClusterList) Size

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

func (*ClusterList) String

func (this *ClusterList) String() string

func (*ClusterList) Unmarshal

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

func (*ClusterList) XXX_DiscardUnknown

func (m *ClusterList) XXX_DiscardUnknown()

func (*ClusterList) XXX_Marshal

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

func (*ClusterList) XXX_Merge

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

func (*ClusterList) XXX_Size

func (m *ClusterList) XXX_Size() int

func (*ClusterList) XXX_Unmarshal

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

type ClusterSpec

type ClusterSpec struct {
	// Version of the cluster.
	// +optional
	Version string `json:"version" protobuf:"bytes,1,opt,name=version"`
}

func (*ClusterSpec) DeepCopy

func (in *ClusterSpec) DeepCopy() *ClusterSpec

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

func (*ClusterSpec) DeepCopyInto

func (in *ClusterSpec) DeepCopyInto(out *ClusterSpec)

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

func (*ClusterSpec) Descriptor

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

func (*ClusterSpec) Marshal

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

func (*ClusterSpec) MarshalTo

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

func (*ClusterSpec) MarshalToSizedBuffer

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

func (*ClusterSpec) ProtoMessage

func (*ClusterSpec) ProtoMessage()

func (*ClusterSpec) Reset

func (m *ClusterSpec) Reset()

func (*ClusterSpec) Size

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

func (*ClusterSpec) String

func (this *ClusterSpec) String() string

func (*ClusterSpec) Unmarshal

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

func (*ClusterSpec) XXX_DiscardUnknown

func (m *ClusterSpec) XXX_DiscardUnknown()

func (*ClusterSpec) XXX_Marshal

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

func (*ClusterSpec) XXX_Merge

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

func (*ClusterSpec) XXX_Size

func (m *ClusterSpec) XXX_Size() int

func (*ClusterSpec) XXX_Unmarshal

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

type ClusterStatus

type ClusterStatus struct {
	// The latest available observations of an object's current state. When a Cluster
	// fails, one of the conditions will have type "Failed" and status true. When
	// a Cluster is suspended, one of the conditions will have type "Suspended" and
	// status true; when the Cluster is resumed, the status of this condition will
	// become false.
	//
	// +optional
	// +patchMergeKey=type
	// +patchStrategy=merge
	// +listType=atomic
	Conditions []ClusterCondition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,1,rep,name=conditions"`
}

ClusterStatus represents the current state of a cluster.

func (*ClusterStatus) DeepCopy

func (in *ClusterStatus) DeepCopy() *ClusterStatus

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

func (*ClusterStatus) DeepCopyInto

func (in *ClusterStatus) DeepCopyInto(out *ClusterStatus)

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

func (*ClusterStatus) Descriptor

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

func (*ClusterStatus) Marshal

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

func (*ClusterStatus) MarshalTo

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

func (*ClusterStatus) MarshalToSizedBuffer

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

func (*ClusterStatus) ProtoMessage

func (*ClusterStatus) ProtoMessage()

func (*ClusterStatus) Reset

func (m *ClusterStatus) Reset()

func (*ClusterStatus) Size

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

func (*ClusterStatus) String

func (this *ClusterStatus) String() string

func (*ClusterStatus) Unmarshal

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

func (*ClusterStatus) XXX_DiscardUnknown

func (m *ClusterStatus) XXX_DiscardUnknown()

func (*ClusterStatus) XXX_Marshal

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

func (*ClusterStatus) XXX_Merge

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

func (*ClusterStatus) XXX_Size

func (m *ClusterStatus) XXX_Size() int

func (*ClusterStatus) XXX_Unmarshal

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

type HelmConsumerTemplate

type HelmConsumerTemplate struct {
}

func (*HelmConsumerTemplate) DeepCopy

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

func (*HelmConsumerTemplate) DeepCopyInto

func (in *HelmConsumerTemplate) DeepCopyInto(out *HelmConsumerTemplate)

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

func (*HelmConsumerTemplate) Descriptor

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

func (*HelmConsumerTemplate) Marshal

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

func (*HelmConsumerTemplate) MarshalTo

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

func (*HelmConsumerTemplate) MarshalToSizedBuffer

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

func (*HelmConsumerTemplate) ProtoMessage

func (*HelmConsumerTemplate) ProtoMessage()

func (*HelmConsumerTemplate) Reset

func (m *HelmConsumerTemplate) Reset()

func (*HelmConsumerTemplate) Size

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

func (*HelmConsumerTemplate) String

func (this *HelmConsumerTemplate) String() string

func (*HelmConsumerTemplate) Unmarshal

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

func (*HelmConsumerTemplate) XXX_DiscardUnknown

func (m *HelmConsumerTemplate) XXX_DiscardUnknown()

func (*HelmConsumerTemplate) XXX_Marshal

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

func (*HelmConsumerTemplate) XXX_Merge

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

func (*HelmConsumerTemplate) XXX_Size

func (m *HelmConsumerTemplate) XXX_Size() int

func (*HelmConsumerTemplate) XXX_Unmarshal

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

type HelmControlPlaneTemplate

type HelmControlPlaneTemplate struct {

	// The address/hostname on which to advertise the kube-apiserver of the consumer cluster (must be accessible from both management and consumer cluster)
	Advertise string `json:"advertise,omitempty" protobuf:"bytes,1,opt,name=advertise"`

	// Open ID Connect (Single Sign-On)
	// +optional
	OpenID OpenID `json:"oidc,omitempty" protobuf:"bytes,2,opt,name=oidc"`
}

func (*HelmControlPlaneTemplate) DeepCopy

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

func (*HelmControlPlaneTemplate) DeepCopyInto

func (in *HelmControlPlaneTemplate) DeepCopyInto(out *HelmControlPlaneTemplate)

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

func (*HelmControlPlaneTemplate) Descriptor

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

func (*HelmControlPlaneTemplate) Marshal

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

func (*HelmControlPlaneTemplate) MarshalTo

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

func (*HelmControlPlaneTemplate) MarshalToSizedBuffer

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

func (*HelmControlPlaneTemplate) ProtoMessage

func (*HelmControlPlaneTemplate) ProtoMessage()

func (*HelmControlPlaneTemplate) Reset

func (m *HelmControlPlaneTemplate) Reset()

func (*HelmControlPlaneTemplate) Size

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

func (*HelmControlPlaneTemplate) String

func (this *HelmControlPlaneTemplate) String() string

func (*HelmControlPlaneTemplate) Unmarshal

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

func (*HelmControlPlaneTemplate) XXX_DiscardUnknown

func (m *HelmControlPlaneTemplate) XXX_DiscardUnknown()

func (*HelmControlPlaneTemplate) XXX_Marshal

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

func (*HelmControlPlaneTemplate) XXX_Merge

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

func (*HelmControlPlaneTemplate) XXX_Size

func (m *HelmControlPlaneTemplate) XXX_Size() int

func (*HelmControlPlaneTemplate) XXX_Unmarshal

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

type HelmTemplate

type HelmTemplate struct {
	metav1.TypeMeta `json:",inline"`

	// Standard object's metadata.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	// +optional
	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// Containers image registry (must be accessible from both management and consumer cluster)
	// +optional
	Registry string `json:"registry,omitempty" protobuf:"bytes,2,opt,name=registry"`

	// Kubernetes control plane template (kube-apiserver, kube-controller-manager, ...)
	// +optional
	ControlPlan HelmControlPlaneTemplate `json:"controlPlan,omitempty" protobuf:"bytes,3,opt,name=controlPlan"`

	// Kubernetes consumer cluster template (coredns, cni, csi, ...)
	// +optional
	Consumer HelmConsumerTemplate `json:"consumer,omitempty" protobuf:"bytes,4,opt,name=consumer"`
}

func (*HelmTemplate) DeepCopy

func (in *HelmTemplate) DeepCopy() *HelmTemplate

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

func (*HelmTemplate) DeepCopyInto

func (in *HelmTemplate) DeepCopyInto(out *HelmTemplate)

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

func (*HelmTemplate) DeepCopyObject

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

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

func (*HelmTemplate) Descriptor

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

func (*HelmTemplate) Marshal

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

func (*HelmTemplate) MarshalTo

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

func (*HelmTemplate) MarshalToSizedBuffer

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

func (*HelmTemplate) ProtoMessage

func (*HelmTemplate) ProtoMessage()

func (*HelmTemplate) Reset

func (m *HelmTemplate) Reset()

func (*HelmTemplate) Size

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

func (*HelmTemplate) String

func (this *HelmTemplate) String() string

func (*HelmTemplate) Unmarshal

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

func (*HelmTemplate) XXX_DiscardUnknown

func (m *HelmTemplate) XXX_DiscardUnknown()

func (*HelmTemplate) XXX_Marshal

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

func (*HelmTemplate) XXX_Merge

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

func (*HelmTemplate) XXX_Size

func (m *HelmTemplate) XXX_Size() int

func (*HelmTemplate) XXX_Unmarshal

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

type OpenID

type OpenID struct {
	// The URL of the OpenID issuer, only HTTPS scheme will be accepted. If set, it will be used to verify the OIDC JSON Web Token (JWT).
	Issuer string `json:"issuer,omitempty" protobuf:"bytes,1,opt,name=issuer"`

	// Comma-separated list of allowed JOSE asymmetric signing algorithms. JWTs with a supported 'alg' header values are: RS256, RS384, RS512, ES256, ES384, ES512, PS256, PS384, PS512. Values are defined by RFC 7518 https://tools.ietf.org/html/rfc7518#section-3.1.
	Algs string `json:"algs,omitempty" protobuf:"bytes,2,opt,name=algs"`

	// Name of the secret projected inside of the management cluster (automatically created when OpenID is configured)
	SecretName string `json:"secretName,omitempty" protobuf:"bytes,3,opt,name=secretName"`

	// The OpenID claim to use as the user name. Note that claims other than the default ('sub') is not guaranteed to be unique and immutable.
	Username OpenIDPrefix `json:"username,omitempty" protobuf:"bytes,4,opt,name=username"`

	// If provided, the name of a custom OpenID Connect claim for specifying user groups.
	Groups OpenIDPrefix `json:"groups,omitempty" protobuf:"bytes,5,opt,name=groups"`
}

func (*OpenID) DeepCopy

func (in *OpenID) DeepCopy() *OpenID

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

func (*OpenID) DeepCopyInto

func (in *OpenID) DeepCopyInto(out *OpenID)

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

func (*OpenID) Descriptor

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

func (*OpenID) Marshal

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

func (*OpenID) MarshalTo

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

func (*OpenID) MarshalToSizedBuffer

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

func (*OpenID) ProtoMessage

func (*OpenID) ProtoMessage()

func (*OpenID) Reset

func (m *OpenID) Reset()

func (*OpenID) Size

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

func (*OpenID) String

func (this *OpenID) String() string

func (*OpenID) Unmarshal

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

func (*OpenID) XXX_DiscardUnknown

func (m *OpenID) XXX_DiscardUnknown()

func (*OpenID) XXX_Marshal

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

func (*OpenID) XXX_Merge

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

func (*OpenID) XXX_Size

func (m *OpenID) XXX_Size() int

func (*OpenID) XXX_Unmarshal

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

type OpenIDPrefix

type OpenIDPrefix struct {
	// The OpenID claim to use
	Name string `json:"name,omitempty" protobuf:"bytes,1,opt,name=name"`

	// Prefix is use to avoid collision with existing internal role bindings (group `example` become `oidc:example`).
	Prefix string `json:"prefix,omitempty" protobuf:"bytes,2,opt,name=prefix"`
}

func (*OpenIDPrefix) DeepCopy

func (in *OpenIDPrefix) DeepCopy() *OpenIDPrefix

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

func (*OpenIDPrefix) DeepCopyInto

func (in *OpenIDPrefix) DeepCopyInto(out *OpenIDPrefix)

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

func (*OpenIDPrefix) Descriptor

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

func (*OpenIDPrefix) Marshal

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

func (*OpenIDPrefix) MarshalTo

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

func (*OpenIDPrefix) MarshalToSizedBuffer

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

func (*OpenIDPrefix) ProtoMessage

func (*OpenIDPrefix) ProtoMessage()

func (*OpenIDPrefix) Reset

func (m *OpenIDPrefix) Reset()

func (*OpenIDPrefix) Size

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

func (*OpenIDPrefix) String

func (this *OpenIDPrefix) String() string

func (*OpenIDPrefix) Unmarshal

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

func (*OpenIDPrefix) XXX_DiscardUnknown

func (m *OpenIDPrefix) XXX_DiscardUnknown()

func (*OpenIDPrefix) XXX_Marshal

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

func (*OpenIDPrefix) XXX_Merge

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

func (*OpenIDPrefix) XXX_Size

func (m *OpenIDPrefix) XXX_Size() int

func (*OpenIDPrefix) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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