v1beta1

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package v1beta1 contains API Schema definitions for the request.infra.doodle.com v1beta1 API group +kubebuilder:object:generate=true +groupName=oauth2.infra.doodle.com

Index

Constants

View Source
const (
	ReadyCondition            = "Ready"
	ServicePortNotFoundReason = "ServicePortNotFound"
	ServiceNotFoundReason     = "ServiceNotFound"
	ServiceBackendReadyReason = "ServiceBackendReady"
)

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "oauth2.infra.doodle.com", Version: "v1beta1"}

	// 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 OAUTH2Proxys API

func OAUTH2ProxyNotReady

func OAUTH2ProxyNotReady(clone OAUTH2Proxy, reason, message string) OAUTH2Proxy

OAUTH2ProxyNotReady

func OAUTH2ProxyReady

func OAUTH2ProxyReady(clone OAUTH2Proxy, reason, message string) OAUTH2Proxy

OAUTH2ProxyReady

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.

func (*OAUTH2Proxy) GetStatusConditions

func (in *OAUTH2Proxy) GetStatusConditions() *[]metav1.Condition

GetStatusConditions returns a pointer to the Status.Conditions slice

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 {
	// +required
	Host string `json:"host"`

	// +optional
	Paths []string `json:"paths"`

	// +required
	RedirectURI string `json:"redirectURI"`

	// +required
	Backend ServiceSelector `json:"backend"`
}

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 holds the conditions for the VaultBinding.
	// +optional
	Conditions []metav1.Condition `json:"conditions,omitempty"`
}

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.

type ServiceSelector

type ServiceSelector struct {
	ServiceName string `json:"serviceName"`
	ServicePort string `json:"servicePort"`
}

func (*ServiceSelector) DeepCopy

func (in *ServiceSelector) DeepCopy() *ServiceSelector

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

func (*ServiceSelector) DeepCopyInto

func (in *ServiceSelector) DeepCopyInto(out *ServiceSelector)

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