Documentation ¶
Index ¶
Constants ¶
View Source
const ( MaxNodeReconciliationInterval = 15 * time.Minute NodeInitialCleanupInterval = 1 * time.Minute )
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 Node ¶
type Node interface { InitResources(resourceManager resource.ResourceManager) error DeleteResources(resourceManager resource.ResourceManager) error UpdateResources(resourceManager resource.ResourceManager) error UpdateCustomNetworkingSpecs(subnetID string, securityGroup []string) IsReady() bool IsManaged() bool IsNitroInstance() bool GetNodeInstanceID() string HasInstance() bool GetNextReconciliationTime() time.Time SetNextReconciliationTime(time time.Time) GetReconciliationInterval() time.Duration SetReconciliationInterval(time time.Duration) }
func NewManagedNode ¶ added in v1.1.0
func NewManagedNode(log logr.Logger, nodeName string, instanceID string, os string, k8sAPI k8s.K8sWrapper, ec2API api.EC2APIHelper) Node
NewManagedNode returns node managed by the controller
Click to show internal directories.
Click to hide internal directories.