v1beta1

package
v0.11.1 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2024 License: Apache-2.0 Imports: 5 Imported by: 3

Documentation

Overview

Package v1beta1 contains API Schema definitions for the authorino-operator v1beta1 API group +kubebuilder:object:generate=true +groupName=operator.authorino.kuadrant.io

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "operator.authorino.kuadrant.io", 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 Authorino

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

	Spec   AuthorinoSpec   `json:"spec,omitempty"`
	Status AuthorinoStatus `json:"status,omitempty"`
}

Authorino is the Schema for the authorinos API

func (*Authorino) DeepCopy

func (in *Authorino) DeepCopy() *Authorino

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

func (*Authorino) DeepCopyInto

func (in *Authorino) DeepCopyInto(out *Authorino)

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

func (*Authorino) DeepCopyObject

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

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

type AuthorinoList

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

AuthorinoList contains a list of Authorino

func (*AuthorinoList) DeepCopy

func (in *AuthorinoList) DeepCopy() *AuthorinoList

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

func (*AuthorinoList) DeepCopyInto

func (in *AuthorinoList) DeepCopyInto(out *AuthorinoList)

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

func (*AuthorinoList) DeepCopyObject

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

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

type AuthorinoSpec

type AuthorinoSpec struct {
	Image                    string             `json:"image,omitempty"`
	ImagePullPolicy          k8score.PullPolicy `json:"imagePullPolicy,omitempty"`
	Replicas                 *int32             `json:"replicas,omitempty"`
	Volumes                  VolumesSpec        `json:"volumes,omitempty"`
	LogLevel                 string             `json:"logLevel,omitempty"`
	LogMode                  string             `json:"logMode,omitempty"`
	ClusterWide              bool               `json:"clusterWide,omitempty"`
	Listener                 Listener           `json:"listener"`
	OIDCServer               OIDCServer         `json:"oidcServer"`
	AuthConfigLabelSelectors string             `json:"authConfigLabelSelectors,omitempty"`
	SecretLabelSelectors     string             `json:"secretLabelSelectors,omitempty"`
	SupersedingHostSubsets   bool               `json:"supersedingHostSubsets,omitempty"`
	EvaluatorCacheSize       *int               `json:"evaluatorCacheSize,omitempty"`
	Tracing                  Tracing            `json:"tracing,omitempty"`
	Metrics                  Metrics            `json:"metrics,omitempty"`
	Healthz                  Healthz            `json:"healthz,omitempty"`
}

AuthorinoSpec defines the desired state of Authorino

func (*AuthorinoSpec) DeepCopy

func (in *AuthorinoSpec) DeepCopy() *AuthorinoSpec

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

func (*AuthorinoSpec) DeepCopyInto

func (in *AuthorinoSpec) DeepCopyInto(out *AuthorinoSpec)

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

type AuthorinoStatus

type AuthorinoStatus struct {

	// Conditions is an array of the current Authorino's CR conditions
	// Supported condition types: ConditionReady
	// +optional
	// +patchMergeKey=type
	// +patchStrategy=merge
	// +listType=map
	// +listMapKey=type
	Conditions []Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type"`
}

AuthorinoStatus defines the observed state of Authorino

func (*AuthorinoStatus) DeepCopy

func (in *AuthorinoStatus) DeepCopy() *AuthorinoStatus

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

func (*AuthorinoStatus) DeepCopyInto

func (in *AuthorinoStatus) DeepCopyInto(out *AuthorinoStatus)

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

func (*AuthorinoStatus) Ready

func (status *AuthorinoStatus) Ready() bool

type Condition

type Condition struct {
	// Type of condition
	Type ConditionType `json:"type"`

	// Status of the condition, one of True, False, Unknown.
	Status k8score.ConditionStatus `json:"status"`

	// Last time the condition transit from one status to another.
	// +optional
	LastTransitionTime metav1.Time `json:"lastTransitionTime,omitempty"`

	// (brief) reason for the condition's last transition.
	// +optional
	Reason string `json:"reason,omitempty"`

	// Human readable message indicating details about last transition.
	// +optional
	Message string `json:"message,omitempty"`

	// Last time the condition was updated
	// +optional
	LastUpdatedTime *metav1.Time `json:"lastUpdatedTime,omitempty"`
}

func (*Condition) DeepCopy

func (in *Condition) DeepCopy() *Condition

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

func (*Condition) DeepCopyInto

func (in *Condition) DeepCopyInto(out *Condition)

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

type ConditionType

type ConditionType string
const (
	// ConditionReady specifies that the resource is ready
	ConditionReady ConditionType = "Ready"
)

type Healthz

type Healthz struct {
	// Port number of the health/readiness probe endpoints.
	Port *int32 `json:"port,omitempty"`
}

func (*Healthz) DeepCopy

func (in *Healthz) DeepCopy() *Healthz

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

func (*Healthz) DeepCopyInto

func (in *Healthz) DeepCopyInto(out *Healthz)

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

type Listener

type Listener struct {
	// Port number of the GRPC interface.
	// DEPRECATED: use 'ports.grpc' instead.
	Port *int32 `json:"port,omitempty"`
	// Port numbers of the GRPC and HTTP auth interfaces.
	Ports Ports `json:"ports,omitempty"`
	// TLS configuration of the auth service (GRPC and HTTP interfaces).
	Tls Tls `json:"tls"`
	// Timeout of the auth service (GRPC and HTTP interfaces), in milliseconds.
	Timeout *int `json:"timeout,omitempty"`
	// Maximum payload (request body) size for the auth service (HTTP interface), in bytes.
	MaxHttpRequestBodySize *int `json:"maxHttpRequestBodySize,omitempty"`
}

func (*Listener) DeepCopy

func (in *Listener) DeepCopy() *Listener

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

func (*Listener) DeepCopyInto

func (in *Listener) DeepCopyInto(out *Listener)

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

type Metrics

type Metrics struct {
	Port               *int32 `json:"port,omitempty"`
	DeepMetricsEnabled *bool  `json:"deep,omitempty"`
}

func (*Metrics) DeepCopy

func (in *Metrics) DeepCopy() *Metrics

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

func (*Metrics) DeepCopyInto

func (in *Metrics) DeepCopyInto(out *Metrics)

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

type OIDCServer

type OIDCServer struct {
	Port *int32 `json:"port,omitempty"`
	Tls  Tls    `json:"tls"`
}

func (*OIDCServer) DeepCopy

func (in *OIDCServer) DeepCopy() *OIDCServer

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

func (*OIDCServer) DeepCopyInto

func (in *OIDCServer) DeepCopyInto(out *OIDCServer)

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

type Ports

type Ports struct {
	GRPC *int32 `json:"grpc,omitempty"`
	HTTP *int32 `json:"http,omitempty"`
}

func (*Ports) DeepCopy

func (in *Ports) DeepCopy() *Ports

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

func (*Ports) DeepCopyInto

func (in *Ports) DeepCopyInto(out *Ports)

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

type Tls

type Tls struct {
	Enabled    *bool                         `json:"enabled,omitempty"`
	CertSecret *k8score.LocalObjectReference `json:"certSecretRef,omitempty"`
}

func (*Tls) DeepCopy

func (in *Tls) DeepCopy() *Tls

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

func (*Tls) DeepCopyInto

func (in *Tls) DeepCopyInto(out *Tls)

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

type Tracing

type Tracing struct {
	Endpoint string            `json:"endpoint"`
	Tags     map[string]string `json:"tags,omitempty"`
	Insecure bool              `json:"insecure,omitempty"`
}

func (*Tracing) DeepCopy

func (in *Tracing) DeepCopy() *Tracing

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

func (*Tracing) DeepCopyInto

func (in *Tracing) DeepCopyInto(out *Tracing)

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

type VolumeSpec

type VolumeSpec struct {
	// Volume name
	Name string `json:"name,omitempty"`
	// An absolute path where to mount it
	MountPath string `json:"mountPath"`
	// Allow multiple configmaps to mount to the same directory
	// +optional
	ConfigMaps []string `json:"configMaps,omitempty"`
	// Secret mount
	// +optional
	Secrets []string `json:"secrets,omitempty"`
	// Mount details
	// +optional
	Items []k8score.KeyToPath `json:"items,omitempty" protobuf:"bytes,2,rep,name=items"`
}

func (*VolumeSpec) DeepCopy

func (in *VolumeSpec) DeepCopy() *VolumeSpec

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

func (*VolumeSpec) DeepCopyInto

func (in *VolumeSpec) DeepCopyInto(out *VolumeSpec)

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

type VolumesSpec

type VolumesSpec struct {
	Items []VolumeSpec `json:"items,omitempty"`
	// Permissions mode.
	// +optional
	DefaultMode *int32 `json:"defaultMode,omitempty"`
}

func (*VolumesSpec) DeepCopy

func (in *VolumesSpec) DeepCopy() *VolumesSpec

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

func (*VolumesSpec) DeepCopyInto

func (in *VolumesSpec) DeepCopyInto(out *VolumesSpec)

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