v1alpha1

package
v0.0.0-...-1dc87c9 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2023 License: Apache-2.0 Imports: 3 Imported by: 1

Documentation

Index

Constants

View Source
const GroupName = "security.banzaicloud.com"

GroupName for crd

View Source
const GroupVersion = "v1alpha1"

GroupVersion for crd

Variables

View Source
var (
	// SchemeGroupVersion for crd
	SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: GroupVersion}
	// SchemeBuilder for crd
	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)
	// AddToScheme for crd
	AddToScheme = SchemeBuilder.AddToScheme
)

nolint: gochecknoglobals

Functions

This section is empty.

Types

type Audit

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

	Spec   AuditSpec   `json:"spec"`
	Status AuditStatus `json:"status,omitempty"`
}

Audit for AuditList

func (*Audit) DeepCopyInto

func (in *Audit) DeepCopyInto(out *Audit)

DeepCopyInto Audit

func (*Audit) DeepCopyObject

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

DeepCopyObject for Audit

type AuditImage

type AuditImage struct {
	ImageName   string `json:"imageName"`
	ImageTag    string `json:"imageTag"`
	ImageDigest string `json:"imageDigest"`
	LastUpdated string `json:"lastUpdated"`
}

AuditImage for AuditSpec

type AuditList

type AuditList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`

	Items []Audit `json:"items"`
}

AuditList for Scan events

func (*AuditList) DeepCopyObject

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

DeepCopyObject for AuditList

type AuditSpec

type AuditSpec struct {
	ReleaseName string       `json:"releaseName"`
	Resource    string       `json:"resource"`
	Result      []string     `json:"result"`
	Action      string       `json:"action"`
	Images      []AuditImage `json:"image"`
}

AuditSpec for Audit

type AuditStatus

type AuditStatus struct {
	State string `json:"state"`
}

AuditStatus for AuditSpec

type WhiteListItem

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

	Spec WhiteListSpec `json:"spec"`
}

WhiteListItem for whitelisting crd

func (*WhiteListItem) DeepCopyInto

func (in *WhiteListItem) DeepCopyInto(out *WhiteListItem)

DeepCopyInto for WhiteListItem

func (*WhiteListItem) DeepCopyObject

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

DeepCopyObject for WhiteListItem

type WhiteListItemList

type WhiteListItemList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`

	Items []WhiteListItem `json:"items"`
}

WhiteListItemList for whitelisting crd

func (*WhiteListItemList) DeepCopyObject

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

DeepCopyObject for WhiteList

type WhiteListSpec

type WhiteListSpec struct {
	Creator string `json:"creator"`
	Reason  string `json:"reason"`
	Regexp  string `json:"regexp,omitempty"`
}

WhiteListSpec for WhiteListItem

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL