Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface { // Connect connects to the host. Connect() error // Disconnect disconnects from the host. Disconnect() error // OS returns information about the operating system the host. OS() *v1alpha1.OSInfo }
Client is the interface for a client.
type ClientFactory ¶
type ClientFactory func(*v1alpha1.Connection, ...Option) (Client, error)
ClientFactory is a function that creates a new client.
type Option ¶
Option applies a configuration option for the execution of an operation.
func WithKubernetesClient ¶
WithKubernetesClient allows to provide a Kubernetes client that knows how to talk to the Kubernetes API.
type Options ¶
Options contains the configuration for an operation.
func GetDefaultOptions ¶
func GetDefaultOptions() *Options
GetDefaultOptions returns the default options for all operations of this library.
Click to show internal directories.
Click to hide internal directories.