Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ConfigClientError = func(err error) error { return eris.Wrap(err, "error while getting kube config") } )
Functions ¶
func NewServerVersionClient ¶
func NewServerVersionClient(namespace string, configClient DeploymentClient, imageNameParser docker.ImageNameParser) *serverVersionClient
Types ¶
type DeploymentClient ¶
type DeploymentClient interface {
GetDeployments(namespace string, labelSelector string) (*k8s_apps.DeploymentList, error)
}
func NewDeploymentClient ¶
func NewDeploymentClient(loader common_config.KubeLoader, opts *options.Options) DeploymentClient
type ServerVersion ¶
type ServerVersionClient ¶
type ServerVersionClient interface {
GetServerVersion() (*ServerVersion, error)
}
func DefaultServerVersionClientProvider ¶
func DefaultServerVersionClientProvider(opts *options.Options, loader common_config.KubeLoader, imageNameParser docker.ImageNameParser) ServerVersionClient
default ServerVersionClient
Click to show internal directories.
Click to hide internal directories.