Documentation ¶
Overview ¶
Package v1alpha1 is the v1alpha1 version of the API.
Index ¶
Constants ¶
This section is empty.
Variables ¶
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 )
var SchemeGroupVersion = schema.GroupVersion{Group: zap.GroupName, Version: "v1alpha1"}
SchemeGroupVersion is group version used to register these objects
Functions ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Zap.
func (*Zap) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Zap) DeepCopyObject ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ZapList.
func (*ZapList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ZapList) DeepCopyObject ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ZapSpec.
func (*ZapSpec) DeepCopyInto ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ZapStatus.
func (*ZapStatus) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.