Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNodesNotFound = fmt.Errorf("nodes not found")
View Source
var ErrNotSet = errors.New("node client not initialized")
ErrNotSet represents error when NodeClient is not set
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func New ¶
func New(cfg *ClientConfig) *Client
type ClientConfig ¶
type ClientConfig struct {
Log logging.Logger
HTTPClient *http.Client
K8sClient *k8s.Client
BeeClients orchestration.ClientMap
Namespace string
LabelSelector string
DeploymentType DeploymentType
InCluster bool
UseNamespace bool // Overrides the usage of the bee clients
NodeGroups []string // Node groups for filtering nodes (only used with beekeeper deployment)
}
type DeploymentType ¶
type DeploymentType string
const ( DeploymentTypeBeekeeper DeploymentType = "beekeeper" DeploymentTypeHelm DeploymentType = "helm" )
type NodeProvider ¶
Click to show internal directories.
Click to hide internal directories.