v1alpha1

package
v0.0.0-...-b23332f Latest Latest
Warning

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

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

Documentation

Overview

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

Index

Constants

This section is empty.

Variables

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

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

	Spec   AuditLoggingSpec   `json:"spec,omitempty"`
	Status AuditLoggingStatus `json:"status,omitempty"`
}

AuditLogging is the Schema for the auditloggings API +kubebuilder:subresource:status +kubebuilder:resource:path=auditloggings,scope=Cluster

func (*AuditLogging) DeepCopy

func (in *AuditLogging) DeepCopy() *AuditLogging

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

func (*AuditLogging) DeepCopyInto

func (in *AuditLogging) DeepCopyInto(out *AuditLogging)

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

func (*AuditLogging) DeepCopyObject

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

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

type AuditLoggingList

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

AuditLoggingList contains a list of AuditLogging

func (*AuditLoggingList) DeepCopy

func (in *AuditLoggingList) DeepCopy() *AuditLoggingList

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

func (*AuditLoggingList) DeepCopyInto

func (in *AuditLoggingList) DeepCopyInto(out *AuditLoggingList)

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

func (*AuditLoggingList) DeepCopyObject

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

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

type AuditLoggingSpec

type AuditLoggingSpec struct {
	// Fluentd defines the desired state of Fluentd
	Fluentd AuditLoggingSpecFluentd `json:"fluentd,omitempty"`
	// PolicyController has been deprecated.
	PolicyController AuditLoggingSpecPolicyController `json:"policyController,omitempty"`
}

AuditLoggingSpec defines the desired state of AuditLogging

func (*AuditLoggingSpec) DeepCopy

func (in *AuditLoggingSpec) DeepCopy() *AuditLoggingSpec

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

func (*AuditLoggingSpec) DeepCopyInto

func (in *AuditLoggingSpec) DeepCopyInto(out *AuditLoggingSpec)

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

type AuditLoggingSpecFluentd

type AuditLoggingSpecFluentd struct {
	EnableAuditLoggingForwarding bool   `json:"enabled,omitempty"`
	ImageRegistry                string `json:"imageRegistry,omitempty"`
	// ImageTag no longer supported. Define image sha or tag in operator.yaml
	ImageTag   string `json:"imageTag,omitempty"`
	PullPolicy string `json:"pullPolicy,omitempty"`
	// ClusterIssuer deprecated, use Issuer
	ClusterIssuer string                      `json:"clusterIssuer,omitempty"`
	Issuer        string                      `json:"issuer,omitempty"`
	Resources     corev1.ResourceRequirements `json:"resources,omitempty"`
}

AuditLoggingSpecFluentd defines the desired state of Fluentd

func (*AuditLoggingSpecFluentd) DeepCopy

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

func (*AuditLoggingSpecFluentd) DeepCopyInto

func (in *AuditLoggingSpecFluentd) DeepCopyInto(out *AuditLoggingSpecFluentd)

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

type AuditLoggingSpecPolicyController

type AuditLoggingSpecPolicyController struct {
	// +kubebuilder:validation:Pattern=^(true|false)?$
	EnableAuditPolicy string `json:"enabled,omitempty"`
	ImageRegistry     string `json:"imageRegistry,omitempty"`
	ImageTag          string `json:"imageTag,omitempty"`
	PullPolicy        string `json:"pullPolicy,omitempty"`
	Verbosity         string `json:"verbosity,omitempty"`
	Frequency         string `json:"frequency,omitempty"`
}

AuditLoggingSpecPolicyController defines the policy controller configuration in the the audit logging spec.

func (*AuditLoggingSpecPolicyController) DeepCopy

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

func (*AuditLoggingSpecPolicyController) DeepCopyInto

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

type AuditLoggingStatus

type AuditLoggingStatus struct {
	// Nodes defines the names of the audit pods
	Nodes    []string      `json:"nodes"`
	Versions StatusVersion `json:"versions,omitempty"`
}

AuditLoggingStatus defines the observed state of AuditLogging

func (*AuditLoggingStatus) DeepCopy

func (in *AuditLoggingStatus) DeepCopy() *AuditLoggingStatus

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

func (*AuditLoggingStatus) DeepCopyInto

func (in *AuditLoggingStatus) DeepCopyInto(out *AuditLoggingStatus)

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

type StatusVersion

type StatusVersion struct {
	Reconciled string `json:"reconciled"`
}

StatusVersion defines the Operator versions

func (*StatusVersion) DeepCopy

func (in *StatusVersion) DeepCopy() *StatusVersion

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

func (*StatusVersion) DeepCopyInto

func (in *StatusVersion) DeepCopyInto(out *StatusVersion)

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