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, options ApplyOptions) error
ApplyManifest applies, updates or deletes resources as specified in ApplyOptions. The namespace specified in ApplyOptions is used if there is no namespace specified in the manifest, default value is "default". The namespace has to exist.
Click to show internal directories.
Click to hide internal directories.