v1alpha1

package
v0.0.0-...-9ab1067 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: 5 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the security v1alpha1 API group +kubebuilder:object:generate=true +groupName=security.banzaicloud.io

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "security.banzaicloud.io", 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 Analyzer

type Analyzer struct {
	Image   string          `json:"image"`
	Name    string          `json:"name"`
	Target  string          `json:"target,omitempty"`
	Service *corev1.Service `json:"service,omitempty"`
}

func (*Analyzer) DeepCopy

func (in *Analyzer) DeepCopy() *Analyzer

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

func (*Analyzer) DeepCopyInto

func (in *Analyzer) DeepCopyInto(out *Analyzer)

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

type Dast

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

	Spec   DastSpec   `json:"spec"`
	Status DastStatus `json:"status,omitempty"`
}

Dast is the Schema for the dasts API

func (*Dast) DeepCopy

func (in *Dast) DeepCopy() *Dast

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

func (*Dast) DeepCopyInto

func (in *Dast) DeepCopyInto(out *Dast)

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

func (*Dast) DeepCopyObject

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

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

type DastList

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

DastList contains a list of Dast

func (*DastList) DeepCopy

func (in *DastList) DeepCopy() *DastList

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

func (*DastList) DeepCopyInto

func (in *DastList) DeepCopyInto(out *DastList)

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

func (*DastList) DeepCopyObject

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

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

type DastSpec

type DastSpec struct {
	// INSERT ADDITIONAL SPEC FIELDS - desired state of cluster
	// Important: Run "make" to regenerate code after modifying this file
	ZaProxy  ZaProxy  `json:"zaproxy"`
	Analyzer Analyzer `json:"analyzer,omitempty"`
}

DastSpec defines the desired state of Dast

func (*DastSpec) DeepCopy

func (in *DastSpec) DeepCopy() *DastSpec

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

func (*DastSpec) DeepCopyInto

func (in *DastSpec) DeepCopyInto(out *DastSpec)

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

type DastStatus

type DastStatus struct {
}

DastStatus defines the observed state of Dast

func (*DastStatus) DeepCopy

func (in *DastStatus) DeepCopy() *DastStatus

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

func (*DastStatus) DeepCopyInto

func (in *DastStatus) DeepCopyInto(out *DastStatus)

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

type ZaProxy

type ZaProxy struct {
	Image     string   `json:"image,omitempty"`
	Name      string   `json:"name"`
	NameSpace string   `json:"namespace,omitempty"`
	APIKey    string   `json:"apikey,omitempty"`
	Config    []string `json:"config,omitempty"`
}

func (*ZaProxy) DeepCopy

func (in *ZaProxy) DeepCopy() *ZaProxy

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

func (*ZaProxy) DeepCopyInto

func (in *ZaProxy) DeepCopyInto(out *ZaProxy)

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