Documentation ¶
Overview ¶
Package v1 contains API Schema definitions for the operator v1 API group +kubebuilder:object:generate=true +groupName=operator.ibm.com
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "operator.ibm.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 CommonAudit ¶
type CommonAudit struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec CommonAuditSpec `json:"spec,omitempty"` Status CommonAuditStatus `json:"status,omitempty"` }
CommonAudit is the Schema for the commonaudits API +kubebuilder:subresource:status +kubebuilder:resource:path=commonaudits,scope=Namespaced
func (*CommonAudit) DeepCopy ¶
func (in *CommonAudit) DeepCopy() *CommonAudit
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CommonAudit.
func (*CommonAudit) DeepCopyInto ¶
func (in *CommonAudit) DeepCopyInto(out *CommonAudit)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CommonAudit) DeepCopyObject ¶
func (in *CommonAudit) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type CommonAuditList ¶
type CommonAuditList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []CommonAudit `json:"items"` }
CommonAuditList contains a list of CommonAudit
func (*CommonAuditList) DeepCopy ¶
func (in *CommonAuditList) DeepCopy() *CommonAuditList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CommonAuditList.
func (*CommonAuditList) DeepCopyInto ¶
func (in *CommonAuditList) DeepCopyInto(out *CommonAuditList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CommonAuditList) DeepCopyObject ¶
func (in *CommonAuditList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type CommonAuditSpec ¶
type CommonAuditSpec struct { // EnableAuditLoggingForwarding defines if audit logs should be forwarded to an SIEM or not EnableAuditLoggingForwarding bool `json:"enabled,omitempty"` // ClusterIssuer deprecated, use Issuer ClusterIssuer string `json:"clusterIssuer,omitempty"` Issuer string `json:"issuer,omitempty"` Replicas int32 `json:"replicas,omitempty"` Fluentd CommonAuditSpecFluentd `json:"fluentd,omitempty"` Outputs CommonAuditSpecOutputs `json:"outputs,omitempty"` }
CommonAuditSpec defines the desired state of CommonAudit
func (*CommonAuditSpec) DeepCopy ¶
func (in *CommonAuditSpec) DeepCopy() *CommonAuditSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CommonAuditSpec.
func (*CommonAuditSpec) DeepCopyInto ¶
func (in *CommonAuditSpec) DeepCopyInto(out *CommonAuditSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CommonAuditSpecFluentd ¶
type CommonAuditSpecFluentd struct { ImageRegistry string `json:"imageRegistry,omitempty"` PullPolicy string `json:"pullPolicy,omitempty"` Resources corev1.ResourceRequirements `json:"resources,omitempty"` }
CommonAuditSpecFluentd defines the desired state of Fluentd
func (*CommonAuditSpecFluentd) DeepCopy ¶
func (in *CommonAuditSpecFluentd) DeepCopy() *CommonAuditSpecFluentd
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CommonAuditSpecFluentd.
func (*CommonAuditSpecFluentd) DeepCopyInto ¶
func (in *CommonAuditSpecFluentd) DeepCopyInto(out *CommonAuditSpecFluentd)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CommonAuditSpecHostAliases ¶
type CommonAuditSpecHostAliases struct { HostIP string `json:"ip"` Hostnames []string `json:"hostnames"` }
CommonAuditSpecHostAliases defines the host alias for an SIEM
func (*CommonAuditSpecHostAliases) DeepCopy ¶
func (in *CommonAuditSpecHostAliases) DeepCopy() *CommonAuditSpecHostAliases
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CommonAuditSpecHostAliases.
func (*CommonAuditSpecHostAliases) DeepCopyInto ¶
func (in *CommonAuditSpecHostAliases) DeepCopyInto(out *CommonAuditSpecHostAliases)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CommonAuditSpecOutputs ¶
type CommonAuditSpecOutputs struct { Splunk CommonAuditSpecSplunk `json:"splunk,omitempty"` Syslog CommonAuditSpecSyslog `json:"syslog,omitempty"` HostAliases []CommonAuditSpecHostAliases `json:"hostAliases,omitempty"` }
CommonAuditSpecOutputs defines the configurations for forwarding audit logs to Splunk or Syslog
func (*CommonAuditSpecOutputs) DeepCopy ¶
func (in *CommonAuditSpecOutputs) DeepCopy() *CommonAuditSpecOutputs
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CommonAuditSpecOutputs.
func (*CommonAuditSpecOutputs) DeepCopyInto ¶
func (in *CommonAuditSpecOutputs) DeepCopyInto(out *CommonAuditSpecOutputs)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CommonAuditSpecSplunk ¶
type CommonAuditSpecSplunk struct { EnableSIEM bool `json:"enableSIEM"` Host string `json:"host"` Port int32 `json:"port"` Token string `json:"token"` TLS bool `json:"enableTLS"` }
CommonAuditSpecSplunk defines the configurations for forwarding audit logs to Splunk
func (*CommonAuditSpecSplunk) DeepCopy ¶
func (in *CommonAuditSpecSplunk) DeepCopy() *CommonAuditSpecSplunk
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CommonAuditSpecSplunk.
func (*CommonAuditSpecSplunk) DeepCopyInto ¶
func (in *CommonAuditSpecSplunk) DeepCopyInto(out *CommonAuditSpecSplunk)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CommonAuditSpecSyslog ¶
type CommonAuditSpecSyslog struct { EnableSIEM bool `json:"enableSIEM"` Host string `json:"host"` Port int32 `json:"port"` Hostname string `json:"hostname"` TLS bool `json:"enableTLS"` }
CommonAuditSpecSyslog defines the configurations for forwarding audit logs to a syslog SIEM
func (*CommonAuditSpecSyslog) DeepCopy ¶
func (in *CommonAuditSpecSyslog) DeepCopy() *CommonAuditSpecSyslog
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CommonAuditSpecSyslog.
func (*CommonAuditSpecSyslog) DeepCopyInto ¶
func (in *CommonAuditSpecSyslog) DeepCopyInto(out *CommonAuditSpecSyslog)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CommonAuditStatus ¶
type CommonAuditStatus struct { // The list of pod names for fluentd Nodes []string `json:"nodes"` Versions StatusVersion `json:"versions,omitempty"` }
CommonAuditStatus defines the observed state of CommonAudit
func (*CommonAuditStatus) DeepCopy ¶
func (in *CommonAuditStatus) DeepCopy() *CommonAuditStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CommonAuditStatus.
func (*CommonAuditStatus) DeepCopyInto ¶
func (in *CommonAuditStatus) DeepCopyInto(out *CommonAuditStatus)
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.