Documentation
¶
Index ¶
Constants ¶
View Source
const (
SubmarinerGatewayLabel = "submariner.io/gateway"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Interface ¶ added in v0.12.0
type Interface interface {
ListNodesWithLabel(ctx context.Context, labelSelector string) (*v1.NodeList, error)
ListGatewayNodes(ctx context.Context) (*v1.NodeList, error)
AddGWLabelOnNode(ctx context.Context, nodeName string) error
RemoveGWLabelFromWorkerNodes(ctx context.Context) error
RemoveGWLabelFromWorkerNode(ctx context.Context, node *v1.Node) error
}
func NewInterface ¶ added in v0.12.0
func NewInterface(clientSet kubernetes.Interface) Interface
Click to show internal directories.
Click to hide internal directories.