v1alpha1

package
v0.0.0-...-30fd807 Latest Latest
Warning

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

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

Documentation

Overview

Package v1alpha1 is the v1alpha1 version of the API.

Index

Constants

This section is empty.

Variables

View Source
var (
	// SchemeBuilder initializes a scheme builder
	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)
	// AddToScheme is a global function that registers this API group & version to a scheme
	AddToScheme = SchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: zap.GroupName, Version: "v1alpha1"}

SchemeGroupVersion is group version used to register these objects

Functions

func Kind

func Kind(kind string) schema.GroupKind

Kind takes an unqualified kind and returns back a Group qualified GroupKind

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

Types

type Zap

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

	Spec   ZapSpec   `json:"spec"`
	Status ZapStatus `json:"status"`
}

Zap is a specification for a Zap resource

func (*Zap) DeepCopy

func (in *Zap) DeepCopy() *Zap

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

func (*Zap) DeepCopyInto

func (in *Zap) DeepCopyInto(out *Zap)

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

func (*Zap) DeepCopyObject

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

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

type ZapList

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

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

ZapList is a list of Zap resources

func (*ZapList) DeepCopy

func (in *ZapList) DeepCopy() *ZapList

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

func (*ZapList) DeepCopyInto

func (in *ZapList) DeepCopyInto(out *ZapList)

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

func (*ZapList) DeepCopyObject

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

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

type ZapSpec

type ZapSpec struct {
	ScanName   string `json:"scanName"`
	AppUrl     string `json:"appUrl"`
	OpenApiUrl string `json:"openApiUrl"`
}

ZapSpec is the spec for a Zap resource

func (*ZapSpec) DeepCopy

func (in *ZapSpec) DeepCopy() *ZapSpec

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

func (*ZapSpec) DeepCopyInto

func (in *ZapSpec) DeepCopyInto(out *ZapSpec)

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

type ZapStatus

type ZapStatus struct {
	AvailableReports int32 `json:"availableReports"`
}

ZapStatus is the status for a Zap resource

func (*ZapStatus) DeepCopy

func (in *ZapStatus) DeepCopy() *ZapStatus

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

func (*ZapStatus) DeepCopyInto

func (in *ZapStatus) DeepCopyInto(out *ZapStatus)

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