Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface {
// RESTConfig returns the *rest.Config associated with this client.
RESTConfig() *rest.Config
// Resources returns a *Resources type to access resource CRUD operations.
// This method takes zero or at most 1 namespace (more will panic) that
// can be used in List operations.
Resources(...string) *resources.Resources
}
Client stores values to interact with the API-server.
func NewWithKubeConfigFile ¶
func NewWithKubeConfigFile(filePath string) (Client, error)
NewWithKubeConfigFile creates a client using the kubeconfig filePath
Click to show internal directories.
Click to hide internal directories.