v1alpha1

package
v0.0.10 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

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

View Source
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

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

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

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

func (in *Nodes) DeepCopy() *Nodes

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

func (*Nodes) DeepCopyInto

func (in *Nodes) DeepCopyInto(out *Nodes)

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

func (in *Workloads) DeepCopy() *Workloads

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

func (*Workloads) DeepCopyInto

func (in *Workloads) DeepCopyInto(out *Workloads)

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