Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface { client.Client // Return a discovery client. DiscoveryClient() discovery.DiscoveryInterface // Return an event recorder. EventRecorder() record.EventRecorder }
The Client interface extends the controller-runtime client by discovery and event recording capabilities.
func NewClient ¶
func NewClient(clnt client.Client, discoveryClient discovery.DiscoveryInterface, eventRecorder record.EventRecorder) Client
type ClientFactory ¶
type ClientFactory struct {
// contains filtered or unexported fields
}
func NewClientFactory ¶
func NewClientFactory(name string, controllerName string, config *rest.Config, schemeBuilders []types.SchemeBuilder) (*ClientFactory, error)
Click to show internal directories.
Click to hide internal directories.