Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DetectKubeConfig ¶ added in v0.1.27
DetectKubeConfig detects the kubeconfig for the kubernetes cluster and returns it
func ErrApplyManifest ¶
func ErrServiceDiscovery ¶ added in v0.1.22
ErrServiceDiscovery returns an error of type "ErrServiceDiscovery" along with the passed error
Types ¶
type ApplyOptions ¶
type Client ¶ added in v0.1.26
type Client struct { RestConfig rest.Config `json:"restconfig,omitempty"` Clientset kubernetes.Interface `json:"clientset,omitempty"` }
func (*Client) ApplyManifest ¶ added in v0.1.26
func (client *Client) ApplyManifest(contents []byte, recvOptions ApplyOptions) error
ApplyManifest applies, updates or deletes resources as specified in ApplyOptions. The namespace specified in ApplyOptions is used, if no namespace is specified then the namespace from manifest is used. If the the namespace does not exists, it will be created.
Click to show internal directories.
Click to hide internal directories.