Documentation
¶
Index ¶
Constants ¶
View Source
const ( DefaultAuthfileSrcPath = "/root/containers/auth.json" // image-rs fixed dst path for support at the agent, we convert it explictly to the resources file format // e.g. https://github.com/confidential-containers/attestation-agent/blob/main/src/kbc_modules/offline_fs_kbc/aa-offline_fs_kbc-resources.json DefaultAuthfileDstPath = "/etc/aa-offline_fs_kbc-resources.json" DefaultAuthfileLimit = 12288 // TODO: use a whole userdata limit mechanism instead of limiting authfile )
Variables ¶
This section is empty.
Functions ¶
func AuthJSONToResourcesJSON ¶
Types ¶
type CloudConfig ¶
type CloudConfig struct {
WriteFiles []WriteFile `yaml:"write_files"`
}
func (*CloudConfig) Generate ¶
func (config *CloudConfig) Generate() (string, error)
type CloudConfigGenerator ¶
type WriteFile ¶
type WriteFile struct { Path string `yaml:"path"` Content string `yaml:"content,omitempty"` Owner string `yaml:"owner,omitempty"` Permissions string `yaml:"permissions,omitempty"` Encoding string `yaml:"encoding,omitempty"` Append string `yaml:"append,omitempty"` }
https://cloudinit.readthedocs.io/en/latest/topics/modules.html#write-files
Click to show internal directories.
Click to hide internal directories.