v1

package
v0.0.0-...-7d604d6 Latest Latest
Warning

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

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

Documentation

Overview

Package v1 contains API Schema definitions for the authcontroller v1 API group +kubebuilder:object:generate=true +groupName=authcontroller.intel.com

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "authcontroller.intel.com", 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 Chain

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

	Spec   ChainSpec   `json:"spec,omitempty"`
	Status ChainStatus `json:"status,omitempty"`
}

Chain is the Schema for the chains API

func (*Chain) DeepCopy

func (in *Chain) DeepCopy() *Chain

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

func (*Chain) DeepCopyInto

func (in *Chain) DeepCopyInto(out *Chain)

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

func (*Chain) DeepCopyObject

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

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

func (*Chain) SetupWebhookWithManager

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

SetupWebhookWithManager connects the webhook with controller manager.

func (*Chain) ValidateCreate

func (r *Chain) ValidateCreate() error

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

func (*Chain) ValidateDelete

func (r *Chain) ValidateDelete() error

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

func (*Chain) ValidateUpdate

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

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

type ChainList

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

ChainList contains a list of Chain

func (*ChainList) DeepCopy

func (in *ChainList) DeepCopy() *ChainList

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

func (*ChainList) DeepCopyInto

func (in *ChainList) DeepCopyInto(out *ChainList)

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

func (*ChainList) DeepCopyObject

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

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

type ChainMatch

type ChainMatch struct {
	Header   string `json:"header,omitempty"`
	Criteria string `json:"criteria,omitempty"`
	Prefix   string `json:"prefix,omitempty"`
	Equality string `json:"equality,omitempty"`
}

ChainMatch has the request match criteria.

func (*ChainMatch) DeepCopy

func (in *ChainMatch) DeepCopy() *ChainMatch

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

func (*ChainMatch) DeepCopyInto

func (in *ChainMatch) DeepCopyInto(out *ChainMatch)

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

type ChainSpec

type ChainSpec struct {
	// Desired state of cluster
	Match                       ChainMatch `json:"match,omitempty"`
	AuthorizationURI            string     `json:"authorizationUri,omitempty"`
	TokenURI                    string     `json:"tokenUri,omitempty"`
	CallbackURI                 string     `json:"callbackUri,omitempty"`
	ClientID                    string     `json:"clientId,omitempty"`
	Jwks                        string     `json:"jwks,omitempty"`         // Contents of JwksURI (escaped)
	ClientSecret                string     `json:"clientSecret,omitempty"` // TODO: store this in Kubernetes Secret?
	TrustedCertificateAuthority string     `json:"trustedCertificateAuthority,omitempty"`
	CookieNamePrefix            string     `json:"cookieNamePrefix,omitempty"`
	Issuer                      string     `json:"issuer,omitempty"`  // For Istio RequestAuthentication
	JwksURI                     string     `json:"jwksUri,omitempty"` // For Istio RequestAuthentication
}

ChainSpec defines the desired state of Chain

func (*ChainSpec) DeepCopy

func (in *ChainSpec) DeepCopy() *ChainSpec

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

func (*ChainSpec) DeepCopyInto

func (in *ChainSpec) DeepCopyInto(out *ChainSpec)

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

type ChainStatus

type ChainStatus struct {
}

ChainStatus defines the observed state of Chain

func (*ChainStatus) DeepCopy

func (in *ChainStatus) DeepCopy() *ChainStatus

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

func (*ChainStatus) DeepCopyInto

func (in *ChainStatus) DeepCopyInto(out *ChainStatus)

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