Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the security-profiles-operator v1alpha1 API group +kubebuilder:object:generate=true +groupName=security-profiles-operator.x-k8s.io
Index ¶
- Variables
- type AppArmorProfile
- func (in *AppArmorProfile) DeepCopy() *AppArmorProfile
- func (in *AppArmorProfile) DeepCopyInto(out *AppArmorProfile)
- func (in *AppArmorProfile) DeepCopyObject() runtime.Object
- func (sp *AppArmorProfile) DeepCopyToStatusBaseIf() profilebasev1alpha1.StatusBaseUser
- func (sp *AppArmorProfile) GetProfileName() string
- func (sp *AppArmorProfile) GetStatusBase() *profilebasev1alpha1.StatusBase
- func (sp *AppArmorProfile) IsPartial() bool
- func (sp *AppArmorProfile) ListProfilesByRecording(ctx context.Context, cli client.Client, recording string) ([]metav1.Object, error)
- func (sp *AppArmorProfile) SetImplementationStatus()
- type AppArmorProfileList
- type AppArmorProfileSpec
- type AppArmorProfileStatus
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects. GroupVersion = schema.GroupVersion{Group: "security-profiles-operator.x-k8s.io", Version: "v1alpha1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme. SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
This section is empty.
Types ¶
type AppArmorProfile ¶
type AppArmorProfile struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec AppArmorProfileSpec `json:"spec,omitempty"` Status AppArmorProfileStatus `json:"status,omitempty"` }
AppArmorProfile is a cluster level specification for an AppArmor profile. +kubebuilder:resource:shortName=aa +kubebuilder:subresource:status +kubebuilder:printcolumn:name="Status",type="string",JSONPath=`.status.status`
func (*AppArmorProfile) DeepCopy ¶
func (in *AppArmorProfile) DeepCopy() *AppArmorProfile
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppArmorProfile.
func (*AppArmorProfile) DeepCopyInto ¶
func (in *AppArmorProfile) DeepCopyInto(out *AppArmorProfile)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AppArmorProfile) DeepCopyObject ¶
func (in *AppArmorProfile) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*AppArmorProfile) DeepCopyToStatusBaseIf ¶
func (sp *AppArmorProfile) DeepCopyToStatusBaseIf() profilebasev1alpha1.StatusBaseUser
func (*AppArmorProfile) GetProfileName ¶
func (sp *AppArmorProfile) GetProfileName() string
func (*AppArmorProfile) GetStatusBase ¶
func (sp *AppArmorProfile) GetStatusBase() *profilebasev1alpha1.StatusBase
func (*AppArmorProfile) IsPartial ¶ added in v0.5.0
func (sp *AppArmorProfile) IsPartial() bool
func (*AppArmorProfile) ListProfilesByRecording ¶ added in v0.5.0
func (*AppArmorProfile) SetImplementationStatus ¶
func (sp *AppArmorProfile) SetImplementationStatus()
type AppArmorProfileList ¶
type AppArmorProfileList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []AppArmorProfile `json:"items"` }
AppArmorProfileList contains a list of AppArmorProfile.
func (*AppArmorProfileList) DeepCopy ¶
func (in *AppArmorProfileList) DeepCopy() *AppArmorProfileList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppArmorProfileList.
func (*AppArmorProfileList) DeepCopyInto ¶
func (in *AppArmorProfileList) DeepCopyInto(out *AppArmorProfileList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AppArmorProfileList) DeepCopyObject ¶
func (in *AppArmorProfileList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type AppArmorProfileSpec ¶
type AppArmorProfileSpec struct {
Policy string `json:"policy,omitempty"`
}
AppArmorProfileSpec defines the desired state of AppArmorProfile.
func (*AppArmorProfileSpec) DeepCopy ¶
func (in *AppArmorProfileSpec) DeepCopy() *AppArmorProfileSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppArmorProfileSpec.
func (*AppArmorProfileSpec) DeepCopyInto ¶
func (in *AppArmorProfileSpec) DeepCopyInto(out *AppArmorProfileSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AppArmorProfileStatus ¶
type AppArmorProfileStatus struct {
profilebasev1alpha1.StatusBase `json:",inline"`
}
AppArmorProfileStatus defines the observed state of AppArmorProfile.
func (*AppArmorProfileStatus) DeepCopy ¶
func (in *AppArmorProfileStatus) DeepCopy() *AppArmorProfileStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppArmorProfileStatus.
func (*AppArmorProfileStatus) DeepCopyInto ¶
func (in *AppArmorProfileStatus) DeepCopyInto(out *AppArmorProfileStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.