Documentation ¶
Index ¶
- func HashResource(v interface{}) int
- func Provider() *schema.Provider
- func ReadFile(path string) (string, error)
- type CLICommand
- type CLICommandFactory
- func (c *CLICommandFactory) CreateApplyManifestCommand(manifestResource, namespace string) *CLICommand
- func (c *CLICommandFactory) CreateDeleteByHandleCommand(resourceHandle, namespace string) *CLICommand
- func (c *CLICommandFactory) CreateGetByHandleCommand(resourceHandle, namespace string, stdout *bytes.Buffer) *CLICommand
- func (c *CLICommandFactory) CreateGetByManifestCommand(resourceManifest, namespace string, stdout *bytes.Buffer) *CLICommand
- type Config
- type KubectlConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HashResource ¶
func HashResource(v interface{}) int
Types ¶
type CLICommand ¶
func NewCLICommand ¶
func NewCLICommand(name string, args ...string) *CLICommand
func (*CLICommand) RunCommand ¶
func (c *CLICommand) RunCommand() error
type CLICommandFactory ¶
type CLICommandFactory struct {
KubectlConfig *KubectlConfig
}
func (*CLICommandFactory) CreateApplyManifestCommand ¶
func (c *CLICommandFactory) CreateApplyManifestCommand( manifestResource, namespace string) *CLICommand
func (*CLICommandFactory) CreateDeleteByHandleCommand ¶
func (c *CLICommandFactory) CreateDeleteByHandleCommand( resourceHandle, namespace string) *CLICommand
func (*CLICommandFactory) CreateGetByHandleCommand ¶
func (c *CLICommandFactory) CreateGetByHandleCommand( resourceHandle, namespace string, stdout *bytes.Buffer) *CLICommand
func (*CLICommandFactory) CreateGetByManifestCommand ¶
func (c *CLICommandFactory) CreateGetByManifestCommand( resourceManifest, namespace string, stdout *bytes.Buffer) *CLICommand
type KubectlConfig ¶
type KubectlConfig struct { Kubeconfig string Kubecontent string Kubecontext string // contains filtered or unexported fields }
func NewKubectlConfig ¶
func NewKubectlConfig(m interface{}) (*KubectlConfig, error)
func (*KubectlConfig) Cleanup ¶
func (k *KubectlConfig) Cleanup() error
func (*KubectlConfig) InitializeConfiguration ¶
func (k *KubectlConfig) InitializeConfiguration() error
func (*KubectlConfig) RenderArgs ¶
func (k *KubectlConfig) RenderArgs(args ...string) []string
Source Files ¶
Click to show internal directories.
Click to hide internal directories.