Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrInvalidUsage = errors.New("kubeformation: invalid command usage")
Functions ¶
Types ¶
type Kubeformation ¶
type Kubeformation struct { // Input Flags ProviderValue string InputFile string OutputDir string // Processed Data Data []byte Provider provider.ProviderType // Rendered Files OutputFiles map[string][]byte // Handler to generate files Handler spec.VersionedSpecHandler }
func (*Kubeformation) GetHandler ¶
func (k *Kubeformation) GetHandler() error
func (*Kubeformation) ParseInputFlags ¶
func (k *Kubeformation) ParseInputFlags() error
func (*Kubeformation) ParseProvider ¶
func (k *Kubeformation) ParseProvider()
func (*Kubeformation) PrintFiles ¶
func (k *Kubeformation) PrintFiles()
func (*Kubeformation) RenderOutputFiles ¶
func (k *Kubeformation) RenderOutputFiles() error
func (*Kubeformation) WriteFilesToDir ¶
func (k *Kubeformation) WriteFilesToDir() error
Click to show internal directories.
Click to hide internal directories.