Documentation ¶
Overview ¶
Package v1alpha1 is the v1alpha1 version of the API. +groupName=kelefstis.k8s.io
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) AddToScheme = SchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: kelefstis.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 RuleChecker ¶
type RuleChecker struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec RuleCheckerSpec `json:"spec"` Status RuleCheckerStatus `json:"status"` }
RuleChecker is a specification for a RuleChecker resource
func (*RuleChecker) DeepCopy ¶
func (in *RuleChecker) DeepCopy() *RuleChecker
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuleChecker.
func (*RuleChecker) DeepCopyInto ¶
func (in *RuleChecker) DeepCopyInto(out *RuleChecker)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RuleChecker) DeepCopyObject ¶
func (in *RuleChecker) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type RuleCheckerList ¶
type RuleCheckerList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []RuleChecker `json:"items"` }
RuleCheckerList is a list of RuleChecker resources
func (*RuleCheckerList) DeepCopy ¶
func (in *RuleCheckerList) DeepCopy() *RuleCheckerList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuleCheckerList.
func (*RuleCheckerList) DeepCopyInto ¶
func (in *RuleCheckerList) DeepCopyInto(out *RuleCheckerList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RuleCheckerList) DeepCopyObject ¶
func (in *RuleCheckerList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type RuleCheckerSpec ¶
type RuleCheckerSpec struct {
Rules []RuleSpec `json:"rules"`
}
RuleCheckerSpec is the spec for a RuleChecker resource
func (*RuleCheckerSpec) DeepCopy ¶
func (in *RuleCheckerSpec) DeepCopy() *RuleCheckerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuleCheckerSpec.
func (*RuleCheckerSpec) DeepCopyInto ¶
func (in *RuleCheckerSpec) DeepCopyInto(out *RuleCheckerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RuleCheckerStatus ¶
type RuleCheckerStatus struct {
Rules RuleSpec `json:"rules"`
}
RuleCheckerStatus is the status for a RuleChecker resource
func (*RuleCheckerStatus) DeepCopy ¶
func (in *RuleCheckerStatus) DeepCopy() *RuleCheckerStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuleCheckerStatus.
func (*RuleCheckerStatus) DeepCopyInto ¶
func (in *RuleCheckerStatus) DeepCopyInto(out *RuleCheckerStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RuleSpec ¶
type RuleSpec struct {
M map[string]interface{} `json:",inline"`
}
Rulespec defines a single rule for a kubernetes type M will be hidden for (Un)Marshaling
func (*RuleSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuleSpec.
func (*RuleSpec) DeepCopyInto ¶
func (*RuleSpec) MarshalJSON ¶
MarschalJSON marshals the RuleSpec array from the M internal map effectively hiding M
func (*RuleSpec) UnmarshalJSON ¶
UnmarschalJSON unmarshals the []byte array into the M internal map effectively hiding M