Documentation
¶
Index ¶
- Constants
- func IsDisabled(prfSpec *SpecBase) bool
- func IsPartial(obj metav1.Object) bool
- func IsReconcilable(prfBase SecurityProfileBase) bool
- func ListProfilesByRecording(ctx context.Context, cli client.Client, recordingName string, ...) ([]metav1.Object, error)
- type SecurityProfileBase
- type SpecBase
- type StatusBase
- type StatusBaseUser
Constants ¶
View Source
const ProfilePartialLabel = "spo.x-k8s.io/partial"
Variables ¶
This section is empty.
Functions ¶
func IsDisabled ¶ added in v0.8.1
func IsReconcilable ¶ added in v0.8.1
func IsReconcilable(prfBase SecurityProfileBase) bool
Types ¶
type SecurityProfileBase ¶ added in v0.5.0
type SpecBase ¶ added in v0.8.1
type SpecBase struct { // Whether the profile is disabled and should be skipped during reconciliation. // +optional // +kubebuilder:default=false Disabled bool `json:"disabled,omitempty"` }
SpecBase contains common attributes for a profile's spec.
type StatusBase ¶
type StatusBase struct { spodv1alpha1.ConditionedStatus `json:",inline"` Status secprofnodestatusv1alpha1.ProfileState `json:"status,omitempty"` }
StatusBase contains common attributes for a profile's status.
func (*StatusBase) DeepCopy ¶
func (in *StatusBase) DeepCopy() *StatusBase
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatusBase.
func (*StatusBase) DeepCopyInto ¶
func (in *StatusBase) DeepCopyInto(out *StatusBase)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type StatusBaseUser ¶
type StatusBaseUser interface { metav1.Object runtime.Object // GetStatusBase gets an instance of the Base status that the // profiles share GetStatusBase() *StatusBase // DeepCopyToStatusBaseIf exposes an interface to call deep copy // on this StatusBaseUser interface DeepCopyToStatusBaseIf() StatusBaseUser // Sets the needed status that's specific to the profile // implementation SetImplementationStatus() }
Click to show internal directories.
Click to hide internal directories.