Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrInitResources = fmt.Errorf("failed to initalize resources")
)
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager interface { AddOrUpdateNode(v1Node *v1.Node) error DeleteNode(nodeName string) error GetNode(nodeName string) (node Node, managed bool) }
func NewNodeManager ¶
func NewNodeManager(logger logr.Logger, provider []provider.ResourceProvider, ec2APIHelper api.EC2APIHelper, k8sWrapper k8s.K8sWrapper) Manager
NewNodeManager returns a new node manager
type Node ¶
type Node interface { InitResources(resourceProviders []provider.ResourceProvider, helper api.EC2APIHelper) error DeleteResources(resourceProviders []provider.ResourceProvider, helper api.EC2APIHelper) error UpdateResources(resourceProviders []provider.ResourceProvider, helper api.EC2APIHelper) error UpdateCustomNetworkingSpecs(subnetID string, securityGroup []string) IsReady() bool }
Click to show internal directories.
Click to hide internal directories.