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 AppArmorAbstract
- type AppArmorAllowedProtocols
- type AppArmorCapabilityRules
- type AppArmorExecutablesRules
- type AppArmorFsRules
- type AppArmorNetworkRules
- 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) IsDisabled() bool
- func (sp *AppArmorProfile) IsPartial() bool
- func (sp *AppArmorProfile) IsReconcilable() 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 AppArmorAbstract ¶ added in v0.8.3
type AppArmorAbstract struct { Executable *AppArmorExecutablesRules `json:"executable,omitempty"` Filesystem *AppArmorFsRules `json:"filesystem,omitempty"` Network *AppArmorNetworkRules `json:"network,omitempty"` Capability *AppArmorCapabilityRules `json:"capability,omitempty"` }
func (*AppArmorAbstract) DeepCopy ¶ added in v0.8.3
func (in *AppArmorAbstract) DeepCopy() *AppArmorAbstract
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppArmorAbstract.
func (*AppArmorAbstract) DeepCopyInto ¶ added in v0.8.3
func (in *AppArmorAbstract) DeepCopyInto(out *AppArmorAbstract)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AppArmorAllowedProtocols ¶ added in v0.8.3
type AppArmorAllowedProtocols struct { AllowTCP *bool `json:"allowTcp,omitempty"` AllowUDP *bool `json:"allowUdp,omitempty"` }
func (*AppArmorAllowedProtocols) DeepCopy ¶ added in v0.8.3
func (in *AppArmorAllowedProtocols) DeepCopy() *AppArmorAllowedProtocols
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppArmorAllowedProtocols.
func (*AppArmorAllowedProtocols) DeepCopyInto ¶ added in v0.8.3
func (in *AppArmorAllowedProtocols) DeepCopyInto(out *AppArmorAllowedProtocols)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AppArmorCapabilityRules ¶ added in v0.8.3
type AppArmorCapabilityRules struct {
AllowedCapabilities []string `json:"allowedCapabilities,omitempty"`
}
func (*AppArmorCapabilityRules) DeepCopy ¶ added in v0.8.3
func (in *AppArmorCapabilityRules) DeepCopy() *AppArmorCapabilityRules
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppArmorCapabilityRules.
func (*AppArmorCapabilityRules) DeepCopyInto ¶ added in v0.8.3
func (in *AppArmorCapabilityRules) DeepCopyInto(out *AppArmorCapabilityRules)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AppArmorExecutablesRules ¶ added in v0.8.3
type AppArmorExecutablesRules struct { AllowedExecutables *[]string `json:"allowedExecutables,omitempty"` AllowedLibraries *[]string `json:"allowedLibraries,omitempty"` }
func (*AppArmorExecutablesRules) DeepCopy ¶ added in v0.8.3
func (in *AppArmorExecutablesRules) DeepCopy() *AppArmorExecutablesRules
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppArmorExecutablesRules.
func (*AppArmorExecutablesRules) DeepCopyInto ¶ added in v0.8.3
func (in *AppArmorExecutablesRules) DeepCopyInto(out *AppArmorExecutablesRules)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AppArmorFsRules ¶ added in v0.8.3
type AppArmorFsRules struct { ReadOnlyPaths *[]string `json:"readOnlyPaths,omitempty"` WriteOnlyPaths *[]string `json:"writeOnlyPaths,omitempty"` ReadWritePaths *[]string `json:"readWritePaths,omitempty"` }
func (*AppArmorFsRules) DeepCopy ¶ added in v0.8.3
func (in *AppArmorFsRules) DeepCopy() *AppArmorFsRules
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppArmorFsRules.
func (*AppArmorFsRules) DeepCopyInto ¶ added in v0.8.3
func (in *AppArmorFsRules) DeepCopyInto(out *AppArmorFsRules)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AppArmorNetworkRules ¶ added in v0.8.3
type AppArmorNetworkRules struct { AllowRaw *bool `json:"allowRaw,omitempty"` Protocols *AppArmorAllowedProtocols `json:"allowedProtocols,omitempty"` }
func (*AppArmorNetworkRules) DeepCopy ¶ added in v0.8.3
func (in *AppArmorNetworkRules) DeepCopy() *AppArmorNetworkRules
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppArmorNetworkRules.
func (*AppArmorNetworkRules) DeepCopyInto ¶ added in v0.8.3
func (in *AppArmorNetworkRules) DeepCopyInto(out *AppArmorNetworkRules)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
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) IsDisabled ¶ added in v0.8.1
func (sp *AppArmorProfile) IsDisabled() bool
func (*AppArmorProfile) IsPartial ¶ added in v0.5.0
func (sp *AppArmorProfile) IsPartial() bool
func (*AppArmorProfile) IsReconcilable ¶ added in v0.8.1
func (sp *AppArmorProfile) IsReconcilable() 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 { // Common spec fields for all profiles. profilebasev1alpha1.SpecBase `json:",inline"` Policy string `json:"policy,omitempty"` Abstract AppArmorAbstract `json:"abstract,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.