Documentation
¶
Index ¶
- func IsInvalidConfig(err error) bool
- func NewClusterResourceSet(config ClusterResourceSetConfig) (*controller.ResourceSet, error)
- func NewDrainerResourceSet(config DrainerResourceSetConfig) (*controller.ResourceSet, error)
- func VersionBundle() versionbundle.Bundle
- type ClusterResourceSetConfig
- type DrainerResourceSetConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsInvalidConfig ¶
IsInvalidConfig asserts invalidConfigError.
func NewClusterResourceSet ¶
func NewClusterResourceSet(config ClusterResourceSetConfig) (*controller.ResourceSet, error)
func NewDrainerResourceSet ¶
func NewDrainerResourceSet(config DrainerResourceSetConfig) (*controller.ResourceSet, error)
func VersionBundle ¶
func VersionBundle() versionbundle.Bundle
Types ¶
type ClusterResourceSetConfig ¶
type ClusterResourceSetConfig struct {
CertsSearcher certs.Interface
K8sClient kubernetes.Interface
Logger micrologger.Logger
RandomkeysSearcher randomkeys.Interface
GuestUpdateEnabled bool
ProjectName string
}
type DrainerResourceSetConfig ¶
type DrainerResourceSetConfig struct {
G8sClient versioned.Interface
K8sClient kubernetes.Interface
Logger micrologger.Logger
ProjectName string
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.