Documentation ¶
Overview ¶
Package v1alpha1 is the v1alpha1 version of the API. +groupName=apis.integrityverifier.io
Index ¶
- Variables
- func Kind(kind string) schema.GroupKind
- func Resource(resource string) schema.GroupResource
- type ProfileStatusDetail
- type ResourceSigningProfile
- func (in *ResourceSigningProfile) DeepCopy() *ResourceSigningProfile
- func (in *ResourceSigningProfile) DeepCopyInto(out *ResourceSigningProfile)
- func (in *ResourceSigningProfile) DeepCopyObject() runtime.Object
- func (self ResourceSigningProfile) IgnoreAttrs(reqFields map[string]string) []*profile.AttrsPattern
- func (self ResourceSigningProfile) IsEmpty() bool
- func (self ResourceSigningProfile) Kustomize(reqFields map[string]string) []*profile.KustomizePattern
- func (self ResourceSigningProfile) Match(reqFields map[string]string) (bool, *profile.Rule)
- func (self ResourceSigningProfile) Merge(another ResourceSigningProfile) ResourceSigningProfile
- func (self ResourceSigningProfile) ProtectAttrs(reqFields map[string]string) []*profile.AttrsPattern
- func (self ResourceSigningProfile) UnprotectAttrs(reqFields map[string]string) []*profile.AttrsPattern
- func (self *ResourceSigningProfile) UpdateStatus(request *profile.Request, errMsg string) *ResourceSigningProfile
- type ResourceSigningProfileList
- type ResourceSigningProfileSpec
- type ResourceSigningProfileStatus
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: rsp.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 ProfileStatusDetail ¶
type ProfileStatusDetail struct { Request *profile.Request `json:"request,omitempty"` Count int `json:"count,omitempty"` History []profile.Result `json:"history,omitempty"` }
func (*ProfileStatusDetail) DeepCopy ¶
func (in *ProfileStatusDetail) DeepCopy() *ProfileStatusDetail
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProfileStatusDetail.
func (*ProfileStatusDetail) DeepCopyInto ¶
func (in *ProfileStatusDetail) DeepCopyInto(out *ProfileStatusDetail)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ResourceSigningProfile ¶
type ResourceSigningProfile struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ResourceSigningProfileSpec `json:"spec,omitempty"` Status ResourceSigningProfileStatus `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 ResourceSigningProfile is the CRD. Use this command to generate deepcopy for it:
func (*ResourceSigningProfile) DeepCopy ¶
func (in *ResourceSigningProfile) DeepCopy() *ResourceSigningProfile
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceSigningProfile.
func (*ResourceSigningProfile) DeepCopyInto ¶
func (in *ResourceSigningProfile) DeepCopyInto(out *ResourceSigningProfile)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ResourceSigningProfile) DeepCopyObject ¶
func (in *ResourceSigningProfile) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (ResourceSigningProfile) IgnoreAttrs ¶
func (self ResourceSigningProfile) IgnoreAttrs(reqFields map[string]string) []*profile.AttrsPattern
func (ResourceSigningProfile) IsEmpty ¶
func (self ResourceSigningProfile) IsEmpty() bool
func (ResourceSigningProfile) Kustomize ¶
func (self ResourceSigningProfile) Kustomize(reqFields map[string]string) []*profile.KustomizePattern
func (ResourceSigningProfile) Merge ¶
func (self ResourceSigningProfile) Merge(another ResourceSigningProfile) ResourceSigningProfile
func (ResourceSigningProfile) ProtectAttrs ¶
func (self ResourceSigningProfile) ProtectAttrs(reqFields map[string]string) []*profile.AttrsPattern
func (ResourceSigningProfile) UnprotectAttrs ¶
func (self ResourceSigningProfile) UnprotectAttrs(reqFields map[string]string) []*profile.AttrsPattern
func (*ResourceSigningProfile) UpdateStatus ¶
func (self *ResourceSigningProfile) UpdateStatus(request *profile.Request, errMsg string) *ResourceSigningProfile
type ResourceSigningProfileList ¶
type ResourceSigningProfileList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ResourceSigningProfile `json:"items"` }
ResourceSigningProfileList contains a list of ResourceSigningProfile
func (*ResourceSigningProfileList) DeepCopy ¶
func (in *ResourceSigningProfileList) DeepCopy() *ResourceSigningProfileList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceSigningProfileList.
func (*ResourceSigningProfileList) DeepCopyInto ¶
func (in *ResourceSigningProfileList) DeepCopyInto(out *ResourceSigningProfileList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ResourceSigningProfileList) DeepCopyObject ¶
func (in *ResourceSigningProfileList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ResourceSigningProfileSpec ¶
type ResourceSigningProfileSpec struct { Disabled bool `json:"disabled,omitempty"` // `TargetNamespaceSelector` is used only for profile in IV NS TargetNamespaceSelector *common.NamespaceSelector `json:"targetNamespaceSelector,omitempty"` ProtectRules []*profile.Rule `json:"protectRules,omitempty"` IgnoreRules []*profile.Rule `json:"ignoreRules,omitempty"` ForceCheckRules []*profile.Rule `json:"forceCheckRules,omitempty"` KustomizePatterns []*profile.KustomizePattern `json:"kustomizePatterns,omitempty"` ProtectAttrs []*profile.AttrsPattern `json:"protectAttrs,omitempty"` UnprotectAttrs []*profile.AttrsPattern `json:"unprotectAttrs,omitempty"` IgnoreAttrs []*profile.AttrsPattern `json:"ignoreAttrs,omitempty"` }
ResourceSigningProfileSpec defines the desired state of AppEnforcePolicy
func (*ResourceSigningProfileSpec) DeepCopy ¶
func (in *ResourceSigningProfileSpec) DeepCopy() *ResourceSigningProfileSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceSigningProfileSpec.
func (*ResourceSigningProfileSpec) DeepCopyInto ¶
func (in *ResourceSigningProfileSpec) DeepCopyInto(out *ResourceSigningProfileSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ResourceSigningProfileStatus ¶
type ResourceSigningProfileStatus struct {
Details []ProfileStatusDetail `json:"deniedRequests,omitempty"`
}
ResourceSigningProfileStatus defines the observed state of AppEnforcePolicy
func (*ResourceSigningProfileStatus) DeepCopy ¶
func (in *ResourceSigningProfileStatus) DeepCopy() *ResourceSigningProfileStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceSigningProfileStatus.
func (*ResourceSigningProfileStatus) DeepCopyInto ¶
func (in *ResourceSigningProfileStatus) DeepCopyInto(out *ResourceSigningProfileStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.