Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewClientFromKubeconfig ¶
NewClientFromKubeconfig creates a new Kubernetes client for the given kubeconfig.
func NewClientFromTarget ¶
func NewClientFromTarget(target lsv1alpha1.Target) (client.Client, error)
NewClientFromKubeconfig creates a new Kubernetes client for the kubeconfig in the given target.
func NewCommandVirtualGarden ¶
NewCommandVirtualGarden creates a *cobra.Command object with default parameters.
Types ¶
type OperationType ¶
type OperationType string
OperationType is a string alias.
const ( // OperationTypeReconcile is a constant for the RECONCILE operation type. OperationTypeReconcile OperationType = "RECONCILE" // OperationTypeDelete is a constant for the DELETE operation type. OperationTypeDelete OperationType = "DELETE" )
type Options ¶
type Options struct { // OperationType is the operation to be executed. OperationType OperationType // ImportsPath is the path to the imports file. ImportsPath string // ExportsPath is the path to the exports file. The parent directory exists; the export file itself must be created. // The format of the exports file must be json or yaml. ExportsPath string // ComponentDescriptorPath is the path to the component descriptor file. ComponentDescriptorPath string }
Options has all the context and parameters needed to run the virtual garden deployer.
func (*Options) InitializeFromEnvironment ¶
func (o *Options) InitializeFromEnvironment()
InitializeFromEnvironment initializes the options from the found environment variables.
Click to show internal directories.
Click to hide internal directories.