Documentation ¶
Overview ¶
Package v1 is the v1 version of the API. +groupName=apis.integrityshield.io
Index ¶
- Variables
- func Kind(kind string) schema.GroupKind
- func Resource(resource string) schema.GroupResource
- type Kinds
- type ManifestIntegrityProfile
- func (in *ManifestIntegrityProfile) DeepCopy() *ManifestIntegrityProfile
- func (in *ManifestIntegrityProfile) DeepCopyInto(out *ManifestIntegrityProfile)
- func (in *ManifestIntegrityProfile) DeepCopyObject() runtime.Object
- func (self *ManifestIntegrityProfile) UpdateStatus(request admission.Request, errMsg string) *ManifestIntegrityProfile
- type ManifestIntegrityProfileList
- type ManifestIntegrityProfileSpec
- type ManifestIntegrityProfileStatus
- type MatchCondition
- type ViolationDetail
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: miprofile.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 Kinds ¶
type Kinds struct { Kinds []string `json:"kinds,omitempty"` ApiGroups []string `json:"apiGroups,omitempty"` }
func (*Kinds) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Kinds.
func (*Kinds) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ManifestIntegrityProfile ¶
type ManifestIntegrityProfile struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ManifestIntegrityProfileSpec `json:"spec,omitempty"` Status ManifestIntegrityProfileStatus `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 ManifestIntegrityProfile is the CRD. Use this command to generate deepcopy for it:
func (*ManifestIntegrityProfile) DeepCopy ¶
func (in *ManifestIntegrityProfile) DeepCopy() *ManifestIntegrityProfile
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManifestIntegrityProfile.
func (*ManifestIntegrityProfile) DeepCopyInto ¶
func (in *ManifestIntegrityProfile) DeepCopyInto(out *ManifestIntegrityProfile)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ManifestIntegrityProfile) DeepCopyObject ¶
func (in *ManifestIntegrityProfile) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ManifestIntegrityProfile) UpdateStatus ¶
func (self *ManifestIntegrityProfile) UpdateStatus(request admission.Request, errMsg string) *ManifestIntegrityProfile
type ManifestIntegrityProfileList ¶
type ManifestIntegrityProfileList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ManifestIntegrityProfile `json:"items"` }
ManifestIntegrityProfileList contains a list of ManifestIntegrityProfile
func (*ManifestIntegrityProfileList) DeepCopy ¶
func (in *ManifestIntegrityProfileList) DeepCopy() *ManifestIntegrityProfileList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManifestIntegrityProfileList.
func (*ManifestIntegrityProfileList) DeepCopyInto ¶
func (in *ManifestIntegrityProfileList) DeepCopyInto(out *ManifestIntegrityProfileList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ManifestIntegrityProfileList) DeepCopyObject ¶
func (in *ManifestIntegrityProfileList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ManifestIntegrityProfileSpec ¶
type ManifestIntegrityProfileSpec struct { Match MatchCondition `json:"match,omitempty"` Parameters k8smnfconfig.ParameterObject `json:"parameters,omitempty"` }
ManifestIntegrityProfileSpec defines the desired state of AppEnforcePolicy
func (*ManifestIntegrityProfileSpec) DeepCopy ¶
func (in *ManifestIntegrityProfileSpec) DeepCopy() *ManifestIntegrityProfileSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManifestIntegrityProfileSpec.
func (*ManifestIntegrityProfileSpec) DeepCopyInto ¶
func (in *ManifestIntegrityProfileSpec) DeepCopyInto(out *ManifestIntegrityProfileSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ManifestIntegrityProfileStatus ¶
type ManifestIntegrityProfileStatus struct { DenyCount int `json:"denyCount,omitempty"` Violations []*ViolationDetail `json:"violations,omitempty"` }
ManifestIntegrityProfileStatus defines the observed state of ManifestIntegrityProfile
func (*ManifestIntegrityProfileStatus) DeepCopy ¶
func (in *ManifestIntegrityProfileStatus) DeepCopy() *ManifestIntegrityProfileStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManifestIntegrityProfileStatus.
func (*ManifestIntegrityProfileStatus) DeepCopyInto ¶
func (in *ManifestIntegrityProfileStatus) DeepCopyInto(out *ManifestIntegrityProfileStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MatchCondition ¶
type MatchCondition struct { Kinds []Kinds `json:"kinds,omitempty"` Namespaces []string `json:"namespaces,omitempty"` ExcludedNamespaces []string `json:"excludedNamespaces,omitempty"` LabelSelector *metav1.LabelSelector `json:"labelSelector,omitempty"` NamespaceSelector *metav1.LabelSelector `json:"namespaceSelector,omitempty"` }
func (*MatchCondition) DeepCopy ¶
func (in *MatchCondition) DeepCopy() *MatchCondition
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MatchCondition.
func (*MatchCondition) DeepCopyInto ¶
func (p *MatchCondition) DeepCopyInto(p2 *MatchCondition)
type ViolationDetail ¶
type ViolationDetail struct { Namespace string `json:"namespace,omitempty"` Kind string `json:"kind,omitempty"` Name string `json:"name,omitempty"` Message string `json:"message,omitempty"` Timestamp string `json:"timestamp,omitempty"` }
func (*ViolationDetail) DeepCopy ¶
func (in *ViolationDetail) DeepCopy() *ViolationDetail
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ViolationDetail.
func (*ViolationDetail) DeepCopyInto ¶
func (in *ViolationDetail) DeepCopyInto(out *ViolationDetail)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.