Documentation ¶
Overview ¶
Package files provides resources which describe files on disk.
Index ¶
- Constants
- type EtcFileSpec
- func (r *EtcFileSpec) DeepCopy() resource.Resource
- func (r *EtcFileSpec) Metadata() *resource.Metadata
- func (r *EtcFileSpec) ResourceDefinition() meta.ResourceDefinitionSpec
- func (r *EtcFileSpec) Spec() interface{}
- func (r *EtcFileSpec) String() string
- func (r *EtcFileSpec) TypedSpec() *EtcFileSpecSpec
- type EtcFileSpecSpec
- type EtcFileStatus
- func (r *EtcFileStatus) DeepCopy() resource.Resource
- func (r *EtcFileStatus) Metadata() *resource.Metadata
- func (r *EtcFileStatus) ResourceDefinition() meta.ResourceDefinitionSpec
- func (r *EtcFileStatus) Spec() interface{}
- func (r *EtcFileStatus) String() string
- func (r *EtcFileStatus) TypedSpec() *EtcFileStatusSpec
- type EtcFileStatusSpec
Constants ¶
const EtcFileSpecType = resource.Type("EtcFileSpecs.files.talos.dev")
EtcFileSpecType is type of EtcFile resource.
const EtcFileStatusType = resource.Type("EtcFileStatuses.files.talos.dev")
EtcFileStatusType is type of EtcFile resource.
const NamespaceName resource.Namespace = "files"
NamespaceName contains file resources.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EtcFileSpec ¶
type EtcFileSpec struct {
// contains filtered or unexported fields
}
EtcFileSpec resource holds contents of the file which should be put to `/etc` directory.
func NewEtcFileSpec ¶
func NewEtcFileSpec(namespace resource.Namespace, id resource.ID) *EtcFileSpec
NewEtcFileSpec initializes a EtcFileSpec resource.
func (*EtcFileSpec) DeepCopy ¶
func (r *EtcFileSpec) DeepCopy() resource.Resource
DeepCopy implements resource.Resource.
func (*EtcFileSpec) Metadata ¶
func (r *EtcFileSpec) Metadata() *resource.Metadata
Metadata implements resource.Resource.
func (*EtcFileSpec) ResourceDefinition ¶
func (r *EtcFileSpec) ResourceDefinition() meta.ResourceDefinitionSpec
ResourceDefinition implements meta.ResourceDefinitionProvider interface.
func (*EtcFileSpec) Spec ¶
func (r *EtcFileSpec) Spec() interface{}
Spec implements resource.Resource.
func (*EtcFileSpec) String ¶
func (r *EtcFileSpec) String() string
func (*EtcFileSpec) TypedSpec ¶
func (r *EtcFileSpec) TypedSpec() *EtcFileSpecSpec
TypedSpec allows to access the Spec with the proper type.
type EtcFileSpecSpec ¶
EtcFileSpecSpec describes status of rendered secrets.
type EtcFileStatus ¶
type EtcFileStatus struct {
// contains filtered or unexported fields
}
EtcFileStatus resource holds contents of the file which should be put to `/etc` directory.
func NewEtcFileStatus ¶
func NewEtcFileStatus(namespace resource.Namespace, id resource.ID) *EtcFileStatus
NewEtcFileStatus initializes a EtcFileStatus resource.
func (*EtcFileStatus) DeepCopy ¶
func (r *EtcFileStatus) DeepCopy() resource.Resource
DeepCopy implements resource.Resource.
func (*EtcFileStatus) Metadata ¶
func (r *EtcFileStatus) Metadata() *resource.Metadata
Metadata implements resource.Resource.
func (*EtcFileStatus) ResourceDefinition ¶
func (r *EtcFileStatus) ResourceDefinition() meta.ResourceDefinitionSpec
ResourceDefinition implements meta.ResourceDefinitionProvider interface.
func (*EtcFileStatus) Spec ¶
func (r *EtcFileStatus) Spec() interface{}
Spec implements resource.Resource.
func (*EtcFileStatus) String ¶
func (r *EtcFileStatus) String() string
func (*EtcFileStatus) TypedSpec ¶
func (r *EtcFileStatus) TypedSpec() *EtcFileStatusSpec
TypedSpec allows to access the Spec with the proper type.
type EtcFileStatusSpec ¶
type EtcFileStatusSpec struct {
SpecVersion string `yaml:"specVersion"`
}
EtcFileStatusSpec describes status of rendered secrets.