v1

package
v0.0.0-...-5897a89 Latest Latest
Warning

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

Go to latest
Published: May 20, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package v1 contains API Schema definitions for the idp v1 API group +kubebuilder:object:generate=true +groupName=idp.dcas.dev

Index

Constants

View Source
const KindOAuthClient = "OAuthClient"

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "idp.dcas.dev", Version: "v1"}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion}

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)

Functions

This section is empty.

Types

type OAuthClient

type OAuthClient struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   OAuthClientSpec   `json:"spec,omitempty"`
	Status OAuthClientStatus `json:"status,omitempty"`
}

OAuthClient is the Schema for the oauthclients API

func (*OAuthClient) DeepCopy

func (in *OAuthClient) DeepCopy() *OAuthClient

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

func (*OAuthClient) DeepCopyInto

func (in *OAuthClient) DeepCopyInto(out *OAuthClient)

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

func (*OAuthClient) DeepCopyObject

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

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

func (*OAuthClient) Default

func (r *OAuthClient) Default()

Default implements webhook.Defaulter so a webhook will be registered for the type

func (*OAuthClient) SetupWebhookWithManager

func (r *OAuthClient) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*OAuthClient) ValidateCreate

func (r *OAuthClient) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*OAuthClient) ValidateDelete

func (r *OAuthClient) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*OAuthClient) ValidateUpdate

func (r *OAuthClient) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type OAuthClientList

type OAuthClientList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []OAuthClient `json:"items"`
}

OAuthClientList contains a list of OAuthClient

func (*OAuthClientList) DeepCopy

func (in *OAuthClientList) DeepCopy() *OAuthClientList

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

func (*OAuthClientList) DeepCopyInto

func (in *OAuthClientList) DeepCopyInto(out *OAuthClientList)

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

func (*OAuthClientList) DeepCopyObject

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

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

type OAuthClientSpec

type OAuthClientSpec struct {
	//+kubebuilder:validation:Required
	ClientID string `json:"id"`
	//+kubebuilder:validation:Required
	ClientSecretRef corev1.SecretKeySelector `json:"secretRef"`

	//+kubebuilder:validation:MinItems:=1
	RedirectURIs []string `json:"redirectURIs"`

	TrustedPeers []string `json:"trustedPeers,omitempty"`
	Public       bool     `json:"public,omitempty"`
	LogoURL      string   `json:"logoURL,omitempty"`
}

OAuthClientSpec defines the desired state of OAuthClient

func (*OAuthClientSpec) DeepCopy

func (in *OAuthClientSpec) DeepCopy() *OAuthClientSpec

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

func (*OAuthClientSpec) DeepCopyInto

func (in *OAuthClientSpec) DeepCopyInto(out *OAuthClientSpec)

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

type OAuthClientStatus

type OAuthClientStatus struct {
	Conditions []metav1.Condition `json:"conditions,omitempty"`
}

OAuthClientStatus defines the observed state of OAuthClient

func (*OAuthClientStatus) DeepCopy

func (in *OAuthClientStatus) DeepCopy() *OAuthClientStatus

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

func (*OAuthClientStatus) DeepCopyInto

func (in *OAuthClientStatus) DeepCopyInto(out *OAuthClientStatus)

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

Jump to

Keyboard shortcuts

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