Documentation ¶
Overview ¶
Package v1alpha1 is the v1alpha1 version of the API. +groupName=apis.integrityshield.io
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) AddToScheme = SchemeBuilder.AddToScheme )
var ( // SchemeGroupVersion is group version used to register these objects SchemeGroupVersion = schema.GroupVersion{Group: verifyresourcestatus.GroupName, Version: "v1alpha1"} )
Functions ¶
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type VerifyResourceStatus ¶
type VerifyResourceStatus struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec VerifyResourceStatusSpec `json:"spec,omitempty"` Status VerifyResourceStatusStatus `json:"status,omitempty"` }
EnforcePolicy is the CRD. Use this command to generate deepcopy for it: ./k8s.io/code-generator/generate-groups.sh all github.com/IBM/pas-client-go/pkg/crd/packageadmissionsignature/v1/apis github.com/IBM/pas-client-go/pkg/crd/ "packageadmissionsignature:v1" For more details of code-generator, please visit https://github.com/kubernetes/code-generator +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object VerifyResourceStatus is the CRD. Use this command to generate deepcopy for it:
func (*VerifyResourceStatus) DeepCopy ¶
func (in *VerifyResourceStatus) DeepCopy() *VerifyResourceStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VerifyResourceStatus.
func (*VerifyResourceStatus) DeepCopyInto ¶
func (in *VerifyResourceStatus) DeepCopyInto(out *VerifyResourceStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VerifyResourceStatus) DeepCopyObject ¶
func (in *VerifyResourceStatus) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type VerifyResourceStatusList ¶
type VerifyResourceStatusList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []VerifyResourceStatus `json:"items"` }
VerifyResourceStatusList contains a list of VerifyResourceStatus
func (*VerifyResourceStatusList) DeepCopy ¶
func (in *VerifyResourceStatusList) DeepCopy() *VerifyResourceStatusList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VerifyResourceStatusList.
func (*VerifyResourceStatusList) DeepCopyInto ¶
func (in *VerifyResourceStatusList) DeepCopyInto(out *VerifyResourceStatusList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VerifyResourceStatusList) DeepCopyObject ¶
func (in *VerifyResourceStatusList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type VerifyResourceStatusSpec ¶
type VerifyResourceStatusSpec struct { ConstraintName string `json:"constraintName"` Violation bool `json:"violation"` TotalViolations int `json:"totalViolations"` Violations []VerifyResult `json:"violations"` NonViolations []VerifyResult `json:"nonViolations"` ObservationTime string `json:"observationTime"` }
VerifyResourceStatusSpec defines the desired state of AppEnforcePolicy
func (*VerifyResourceStatusSpec) DeepCopy ¶
func (in *VerifyResourceStatusSpec) DeepCopy() *VerifyResourceStatusSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VerifyResourceStatusSpec.
func (*VerifyResourceStatusSpec) DeepCopyInto ¶
func (in *VerifyResourceStatusSpec) DeepCopyInto(out *VerifyResourceStatusSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VerifyResourceStatusStatus ¶
type VerifyResourceStatusStatus struct { }
VerifyResourceStatusStatus defines the observed state of VerifyResourceStatus
func (*VerifyResourceStatusStatus) DeepCopy ¶
func (in *VerifyResourceStatusStatus) DeepCopy() *VerifyResourceStatusStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VerifyResourceStatusStatus.
func (*VerifyResourceStatusStatus) DeepCopyInto ¶
func (in *VerifyResourceStatusStatus) DeepCopyInto(out *VerifyResourceStatusStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VerifyResult ¶
type VerifyResult struct { Namespace string `json:"namespace"` Name string `json:"name"` Kind string `json:"kind"` ApiGroup string `json:"apiGroup"` ApiVersion string `json:"apiVersion"` Result string `json:"result"` Signer string `json:"signer,omitempty"` SignedTime *time.Time `json:"signedTime,omitempty"` SigRef string `json:"sigRef,omitempty"` }
func (*VerifyResult) DeepCopy ¶
func (in *VerifyResult) DeepCopy() *VerifyResult
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VerifyResult.
func (*VerifyResult) DeepCopyInto ¶
func (in *VerifyResult) DeepCopyInto(out *VerifyResult)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.