Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewControllerRuntimeClient ¶ added in v0.1.0
func NewControllerRuntimeClient(cfg *rest.Config, scheme *runtime.Scheme) (cr.Client, error)
NewControllerRuntimeClient provides an instance of the Controller runtime client with the provided rest config and custom runtime scheme.
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.