Documentation ¶
Overview ¶
Package v1 is the v1 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: manifestintegritystate.GroupName, Version: "v1"} )
Functions ¶
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type ManifestIntegrityState ¶
type ManifestIntegrityState struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ManifestIntegrityStateSpec `json:"spec,omitempty"` Status ManifestIntegrityStateStatus `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 ManifestIntegrityState is the CRD. Use this command to generate deepcopy for it:
func (*ManifestIntegrityState) DeepCopy ¶
func (in *ManifestIntegrityState) DeepCopy() *ManifestIntegrityState
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManifestIntegrityState.
func (*ManifestIntegrityState) DeepCopyInto ¶
func (in *ManifestIntegrityState) DeepCopyInto(out *ManifestIntegrityState)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ManifestIntegrityState) DeepCopyObject ¶
func (in *ManifestIntegrityState) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ManifestIntegrityStateList ¶
type ManifestIntegrityStateList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ManifestIntegrityState `json:"items"` }
ManifestIntegrityStateList contains a list of ManifestIntegrityState
func (*ManifestIntegrityStateList) DeepCopy ¶
func (in *ManifestIntegrityStateList) DeepCopy() *ManifestIntegrityStateList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManifestIntegrityStateList.
func (*ManifestIntegrityStateList) DeepCopyInto ¶
func (in *ManifestIntegrityStateList) DeepCopyInto(out *ManifestIntegrityStateList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ManifestIntegrityStateList) DeepCopyObject ¶
func (in *ManifestIntegrityStateList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ManifestIntegrityStateSpec ¶
type ManifestIntegrityStateSpec 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"` }
ManifestIntegrityStateSpec defines the desired state of AppEnforcePolicy
func (*ManifestIntegrityStateSpec) DeepCopy ¶
func (in *ManifestIntegrityStateSpec) DeepCopy() *ManifestIntegrityStateSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManifestIntegrityStateSpec.
func (*ManifestIntegrityStateSpec) DeepCopyInto ¶
func (in *ManifestIntegrityStateSpec) DeepCopyInto(out *ManifestIntegrityStateSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ManifestIntegrityStateStatus ¶
type ManifestIntegrityStateStatus struct { }
ManifestIntegrityStateStatus defines the observed state of ManifestIntegrityState
func (*ManifestIntegrityStateStatus) DeepCopy ¶
func (in *ManifestIntegrityStateStatus) DeepCopy() *ManifestIntegrityStateStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManifestIntegrityStateStatus.
func (*ManifestIntegrityStateStatus) DeepCopyInto ¶
func (in *ManifestIntegrityStateStatus) DeepCopyInto(out *ManifestIntegrityStateStatus)
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.