Documentation ¶
Index ¶
Constants ¶
View Source
const NamespaceName resource.Namespace = "cri"
NamespaceName contains resources related to stats.
View Source
const SeccompProfileType = resource.Type("SeccompProfiles.cri.talos.dev")
SeccompProfileType is type of SeccompProfile resource.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SeccompProfile ¶
type SeccompProfile = typed.Resource[SeccompProfileSpec, SeccompProfileExtension]
SeccompProfile represents SeccompProfile typed resource.
func NewSeccompProfile ¶
func NewSeccompProfile(id string) *SeccompProfile
NewSeccompProfile creates new SeccompProfile object.
type SeccompProfileExtension ¶ added in v1.4.0
type SeccompProfileExtension struct{}
SeccompProfileExtension is an auxiliary type for SeccompProfile resource.
func (SeccompProfileExtension) ResourceDefinition ¶ added in v1.4.0
func (SeccompProfileExtension) ResourceDefinition() meta.ResourceDefinitionSpec
ResourceDefinition implements meta.ResourceDefinitionProvider interface.
type SeccompProfileSpec ¶
type SeccompProfileSpec struct { Name string `yaml:"name" protobuf:"1"` Value map[string]any `yaml:"value" protobuf:"2"` }
SeccompProfileSpec represents the SeccompProfile.
func (SeccompProfileSpec) DeepCopy ¶
func (o SeccompProfileSpec) DeepCopy() SeccompProfileSpec
DeepCopy generates a deep copy of SeccompProfileSpec.
Click to show internal directories.
Click to hide internal directories.