v1alpha1

package
v0.0.0-...-0578048 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the auth v1alpha1 API group +k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=github.com/agilestacks/auth-operator/pkg/apis/auth +k8s:defaulter-gen=TypeMeta +groupName=auth.agilestacks.com

Package v1alpha1 contains API Schema definitions for the auth v1alpha1 API group +k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=github.com/agilestacks/auth-operator/pkg/apis/auth +k8s:defaulter-gen=TypeMeta +groupName=auth.agilestacks.com

Index

Constants

This section is empty.

Variables

View Source
var (
	// SchemeGroupVersion is group version used to register these objects
	SchemeGroupVersion = schema.GroupVersion{Group: "auth.agilestacks.com", Version: "v1alpha1"}

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

	// AddToScheme is required by pkg/client/...
	AddToScheme = SchemeBuilder.AddToScheme
)

Functions

func Resource

func Resource(resource string) schema.GroupResource

Resource is required by pkg/client/listers/...

Types

type Oidc

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

	Spec   OidcSpec   `json:"spec,omitempty"`
	Status OidcStatus `json:"status,omitempty"`
}

Oidc is the Schema for the oidcs API +k8s:openapi-gen=true

func (*Oidc) DeepCopy

func (in *Oidc) DeepCopy() *Oidc

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

func (*Oidc) DeepCopyInto

func (in *Oidc) DeepCopyInto(out *Oidc)

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

func (*Oidc) DeepCopyObject

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

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

type OidcList

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

OidcList contains a list of Oidc

func (*OidcList) DeepCopy

func (in *OidcList) DeepCopy() *OidcList

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

func (*OidcList) DeepCopyInto

func (in *OidcList) DeepCopyInto(out *OidcList)

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

func (*OidcList) DeepCopyObject

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

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

type OidcSpec

type OidcSpec struct {
	// Client ID and secret used to identify the client.
	ID     string `json:"id,omitempty"`
	Secret string `json:"secret,omitempty"`

	// A registered set of redirect URIs. When redirecting from dex to the client, the URI
	// requested to redirect to MUST match one of these values, unless the client is "public".
	RedirectURIs []string `json:"redirectURIs,omitempty"`

	// TrustedPeers are a list of peers which can issue tokens on this client's behalf using
	// the dynamic "oauth2:server:client_id:(client_id)" scope. If a peer makes such a request,
	// this client's ID will appear as the ID Token's audience.
	//
	// Clients inherently trust themselves.
	TrustedPeers []string `json:"trustedPeers,omitempty"`

	// Public clients must use either use a redirectURL 127.0.0.1:X or "urn:ietf:wg:oauth:2.0:oob"
	Public bool `json:"public,omitempty"`

	// Name and LogoURL used when displaying this client to the end user.
	Name    string `json:"name,omitempty"`
	LogoURL string `json:"logoURL,omitempty"`
}

OidcSpec defines the desired state of Oidc

func (*OidcSpec) DeepCopy

func (in *OidcSpec) DeepCopy() *OidcSpec

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

func (*OidcSpec) DeepCopyInto

func (in *OidcSpec) DeepCopyInto(out *OidcSpec)

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

type OidcStatus

type OidcStatus struct {
}

OidcStatus defines the observed state of Oidc

func (*OidcStatus) DeepCopy

func (in *OidcStatus) DeepCopy() *OidcStatus

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

func (*OidcStatus) DeepCopyInto

func (in *OidcStatus) DeepCopyInto(out *OidcStatus)

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