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 ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Authorino.
func (*Authorino) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Authorino) DeepCopyObject ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Condition.
func (*Condition) DeepCopyInto ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Healthz.
func (*Healthz) DeepCopyInto ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Listener.
func (*Listener) DeepCopyInto ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Metrics.
func (*Metrics) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OIDCServer ¶
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 ¶
func (*Ports) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Ports.
func (*Ports) DeepCopyInto ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Tls.
func (*Tls) DeepCopyInto ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Tracing.
func (*Tracing) DeepCopyInto ¶
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.