package
Version:
v1.3.0
Opens a new window with list of versions in this module.
Published: Aug 30, 2019
License: Apache-2.0
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
-
type Client
-
func (c *Client) Apply(dryRun, verbose bool, namespace string, manifest string, extraArgs ...string) (string, string, error)
-
func (c *Client) GetConfig(name, namespace, output string, extraArgs ...string) (string, string, error)
Client provides an interface to kubectl
New creates a Client that runs kubectl available on the path with default authentication
Apply runs the kubectl apply with the provided manifest argument
GetConfig runs the kubectl get cm command with the provided argument
Source Files
¶
Click to show internal directories.
Click to hide internal directories.