Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the k8s v1alpha1 API group +kubebuilder:object:generate=true +groupName=k8s.mondoo.com
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "k8s.mondoo.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 MondooAuditConfig ¶
type MondooAuditConfig struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec MondooAuditConfigData `json:"spec,omitempty"` Status MondooAuditConfigStatus `json:"status,omitempty"` }
MondooAuditConfig is the Schema for the mondooauditconfigs API
func (*MondooAuditConfig) DeepCopy ¶
func (in *MondooAuditConfig) DeepCopy() *MondooAuditConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MondooAuditConfig.
func (*MondooAuditConfig) DeepCopyInto ¶
func (in *MondooAuditConfig) DeepCopyInto(out *MondooAuditConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MondooAuditConfig) DeepCopyObject ¶
func (in *MondooAuditConfig) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MondooAuditConfigData ¶
type MondooAuditConfigData struct { // Config is an example field of MondooAuditConfig. Edit mondooauditconfig_types.go to remove/update Nodes Nodes `json:"nodes,omitempty"` Workloads Workloads `json:"workloads,omitempty"` MondooSecretRef string `json:"mondooSecretRef"` }
MondooAuditConfigSpec defines the desired state of MondooAuditConfig
func (*MondooAuditConfigData) DeepCopy ¶
func (in *MondooAuditConfigData) DeepCopy() *MondooAuditConfigData
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MondooAuditConfigData.
func (*MondooAuditConfigData) DeepCopyInto ¶
func (in *MondooAuditConfigData) DeepCopyInto(out *MondooAuditConfigData)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MondooAuditConfigList ¶
type MondooAuditConfigList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []MondooAuditConfig `json:"items"` }
MondooAuditConfigList contains a list of MondooAuditConfig
func (*MondooAuditConfigList) DeepCopy ¶
func (in *MondooAuditConfigList) DeepCopy() *MondooAuditConfigList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MondooAuditConfigList.
func (*MondooAuditConfigList) DeepCopyInto ¶
func (in *MondooAuditConfigList) DeepCopyInto(out *MondooAuditConfigList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MondooAuditConfigList) DeepCopyObject ¶
func (in *MondooAuditConfigList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MondooAuditConfigStatus ¶
type MondooAuditConfigStatus struct { // Nodes store the name of the pods which are running mondoo instances Pods []string `json:"pods,omitempty"` }
MondooAuditConfigStatus defines the observed state of MondooAuditConfig
func (*MondooAuditConfigStatus) DeepCopy ¶
func (in *MondooAuditConfigStatus) DeepCopy() *MondooAuditConfigStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MondooAuditConfigStatus.
func (*MondooAuditConfigStatus) DeepCopyInto ¶
func (in *MondooAuditConfigStatus) DeepCopyInto(out *MondooAuditConfigStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Nodes ¶
type Nodes struct { Enable bool `json:"enable,omitempty"` Inventory string `json:"inventory,omitempty"` }
func (*Nodes) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Nodes.
func (*Nodes) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Workloads ¶
type Workloads struct { Enable bool `json:"enable,omitempty"` Inventory string `json:"inventory,omitempty"` // Replicas int32 `json:"replicas,omitempty"` ServiceAccount string `json:"serviceAccount,omitempty"` }
func (*Workloads) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Workloads.
func (*Workloads) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.