Documentation ¶
Index ¶
- type Configuration
- func (c *Configuration) AddFile(filename string, content string)
- func (c *Configuration) AddFilePath(filename, filePath, manifestFilePath string) error
- func (c *Configuration) Backup(target string) error
- func (c *Configuration) Get(filename string) (string, error)
- func (c *Configuration) UploadTo(conn executor.Interface, directory string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Configuration ¶
type Configuration struct { KubernetesPKI map[string][]byte // contains filtered or unexported fields }
Configuration holds a map of generated files
func (*Configuration) AddFile ¶
func (c *Configuration) AddFile(filename string, content string)
AddFile save file contents for future references
func (*Configuration) AddFilePath ¶
func (c *Configuration) AddFilePath(filename, filePath, manifestFilePath string) error
AddFilePath saves file contents from a file on filesystem for future references
func (*Configuration) Backup ¶
func (c *Configuration) Backup(target string) error
Backup dumps the files into a .tar.gz archive.
Click to show internal directories.
Click to hide internal directories.