Documentation ¶
Index ¶
- Constants
- type KernelParamSpec
- func (r *KernelParamSpec) DeepCopy() resource.Resource
- func (r *KernelParamSpec) Metadata() *resource.Metadata
- func (r *KernelParamSpec) ResourceDefinition() meta.ResourceDefinitionSpec
- func (r *KernelParamSpec) Spec() interface{}
- func (r *KernelParamSpec) String() string
- func (r *KernelParamSpec) TypedSpec() *KernelParamSpecSpec
- type KernelParamSpecSpec
- type KernelParamStatus
- func (r *KernelParamStatus) DeepCopy() resource.Resource
- func (r *KernelParamStatus) Metadata() *resource.Metadata
- func (r *KernelParamStatus) ResourceDefinition() meta.ResourceDefinitionSpec
- func (r *KernelParamStatus) Spec() interface{}
- func (r *KernelParamStatus) String() string
- func (r *KernelParamStatus) TypedSpec() *KernelParamStatusSpec
- type KernelParamStatusSpec
- type KernelParamsSetCondition
Constants ¶
const KernelParamSpecType = resource.Type("KernelParamSpecs.runtime.talos.dev")
KernelParamSpecType is type of KernelParam resource.
const KernelParamStatusType = resource.Type("KernelParamStatuses.runtime.talos.dev")
KernelParamStatusType is type of KernelParam resource.
const NamespaceName resource.Namespace = v1alpha1.NamespaceName
NamespaceName contains configuration resources.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KernelParamSpec ¶
type KernelParamSpec struct {
// contains filtered or unexported fields
}
KernelParamSpec resource holds sysctl flags to define.
func NewKernelParamSpec ¶
func NewKernelParamSpec(namespace resource.Namespace, id resource.ID) *KernelParamSpec
NewKernelParamSpec initializes a KernelParamSpec resource.
func (*KernelParamSpec) DeepCopy ¶
func (r *KernelParamSpec) DeepCopy() resource.Resource
DeepCopy implements resource.Resource.
func (*KernelParamSpec) Metadata ¶
func (r *KernelParamSpec) Metadata() *resource.Metadata
Metadata implements resource.Resource.
func (*KernelParamSpec) ResourceDefinition ¶
func (r *KernelParamSpec) ResourceDefinition() meta.ResourceDefinitionSpec
ResourceDefinition implements meta.ResourceDefinitionProvider interface.
func (*KernelParamSpec) Spec ¶
func (r *KernelParamSpec) Spec() interface{}
Spec implements resource.Resource.
func (*KernelParamSpec) String ¶
func (r *KernelParamSpec) String() string
func (*KernelParamSpec) TypedSpec ¶
func (r *KernelParamSpec) TypedSpec() *KernelParamSpecSpec
TypedSpec allows to access the KernelParamSpecSpec with the proper type.
type KernelParamSpecSpec ¶
type KernelParamSpecSpec struct { Value string `yaml:"value"` IgnoreErrors bool `yaml:"ignoreErrors"` }
KernelParamSpecSpec describes status of the defined sysctls.
type KernelParamStatus ¶
type KernelParamStatus struct {
// contains filtered or unexported fields
}
KernelParamStatus resource holds defined sysctl flags status.
func NewKernelParamStatus ¶
func NewKernelParamStatus(namespace resource.Namespace, id resource.ID) *KernelParamStatus
NewKernelParamStatus initializes a KernelParamStatus resource.
func (*KernelParamStatus) DeepCopy ¶
func (r *KernelParamStatus) DeepCopy() resource.Resource
DeepCopy implements resource.Resource.
func (*KernelParamStatus) Metadata ¶
func (r *KernelParamStatus) Metadata() *resource.Metadata
Metadata implements resource.Resource.
func (*KernelParamStatus) ResourceDefinition ¶
func (r *KernelParamStatus) ResourceDefinition() meta.ResourceDefinitionSpec
ResourceDefinition implements meta.ResourceDefinitionProvider interface.
func (*KernelParamStatus) Spec ¶
func (r *KernelParamStatus) Spec() interface{}
Spec implements resource.Resource.
func (*KernelParamStatus) String ¶
func (r *KernelParamStatus) String() string
func (*KernelParamStatus) TypedSpec ¶
func (r *KernelParamStatus) TypedSpec() *KernelParamStatusSpec
TypedSpec allows to access the KernelParamStatusSpec with the proper type.
type KernelParamStatusSpec ¶
type KernelParamStatusSpec struct { Current string `yaml:"current"` Default string `yaml:"default"` Unsupported bool `yaml:"unsupported"` }
KernelParamStatusSpec describes status of the defined sysctls.
type KernelParamsSetCondition ¶
type KernelParamsSetCondition struct {
// contains filtered or unexported fields
}
KernelParamsSetCondition implements condition which waits for the kernels to be in sync.
func NewKernelParamsSetCondition ¶
func NewKernelParamsSetCondition(state state.State, props ...*kernel.Param) *KernelParamsSetCondition
NewKernelParamsSetCondition builds a coondition which waits for the kernel to be in sync.
func (*KernelParamsSetCondition) String ¶
func (condition *KernelParamsSetCondition) String() string