Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ErrInitResources ¶
ErrInitResources to wrap error messages for all errors encountered during node initialization so the node can be de-registered on failure
func (*ErrInitResources) Error ¶ added in v1.0.7
func (e *ErrInitResources) Error() string
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.