v1alpha1

package
v0.0.0-...-20b8e5d Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the oauth2proxy v1alpha1 API group +kubebuilder:object:generate=true +groupName=oauth2proxy.oauth2proxy-operator.dexter0195.com

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "oauth2proxy.oauth2proxy-operator.dexter0195.com", Version: "v1alpha1"}

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

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

	Spec   OAuth2ProxySpec   `json:"spec,omitempty"`
	Status OAuth2ProxyStatus `json:"status,omitempty"`
}

OAuth2Proxy is the Schema for the oauth2proxies API

func (*OAuth2Proxy) DeepCopy

func (in *OAuth2Proxy) DeepCopy() *OAuth2Proxy

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

func (*OAuth2Proxy) DeepCopyInto

func (in *OAuth2Proxy) DeepCopyInto(out *OAuth2Proxy)

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

func (*OAuth2Proxy) DeepCopyObject

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

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

type OAuth2ProxyExistingSecret

type OAuth2ProxyExistingSecret struct {
	// Size is the number of replicas
	// +kubebuilder:validation:Required
	// +operator-sdk:csv:customresourcedefinitions:type=spec
	SecretRef map[string]string `json:"secretRef,omitempty"`
}

func (*OAuth2ProxyExistingSecret) DeepCopy

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

func (*OAuth2ProxyExistingSecret) DeepCopyInto

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

type OAuth2ProxyList

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

OAuth2ProxyList contains a list of OAuth2Proxy

func (*OAuth2ProxyList) DeepCopy

func (in *OAuth2ProxyList) DeepCopy() *OAuth2ProxyList

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

func (*OAuth2ProxyList) DeepCopyInto

func (in *OAuth2ProxyList) DeepCopyInto(out *OAuth2ProxyList)

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

func (*OAuth2ProxyList) DeepCopyObject

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

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

type OAuth2ProxySpec

type OAuth2ProxySpec struct {

	// Size is the number of replicas
	// +kubebuilder:validation:Required
	// +operator-sdk:csv:customresourcedefinitions:type=spec
	Size int32 `json:"size"`

	// Config is the configuration file to pass to oAuth2Proxy
	// +kubebuilder:validation:Required
	// +operator-sdk:csv:customresourcedefinitions:type=spec
	Config string `json:"config,omitempty"`

	// ClientSecretFromExistingSecret is the name of the secret that contains the client secret
	// +kubebuilder:validation:Required
	// +operator-sdk:csv:customresourcedefinitions:type=spec
	EnvFromExistingSecret OAuth2ProxyExistingSecret `json:"envFromExistingSecret,omitempty"`
}

OAuth2ProxySpec defines the desired state of OAuth2Proxy

func (*OAuth2ProxySpec) DeepCopy

func (in *OAuth2ProxySpec) DeepCopy() *OAuth2ProxySpec

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

func (*OAuth2ProxySpec) DeepCopyInto

func (in *OAuth2ProxySpec) DeepCopyInto(out *OAuth2ProxySpec)

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

type OAuth2ProxyStatus

type OAuth2ProxyStatus struct {
	Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,1,rep,name=conditions"`
}

OAuth2ProxyStatus defines the observed state of OAuth2Proxy

func (*OAuth2ProxyStatus) DeepCopy

func (in *OAuth2ProxyStatus) DeepCopy() *OAuth2ProxyStatus

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

func (*OAuth2ProxyStatus) DeepCopyInto

func (in *OAuth2ProxyStatus) DeepCopyInto(out *OAuth2ProxyStatus)

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