Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NodeProvider ¶
type NodeProvider interface { // GetNodeConfig gets the node config with which the node will be inited GetNodeConfig() *api.NodeConfig // PopulateNodeConfigDefaults populates the node config with default values. // This doesn't require having aws Credentials or accessing any external services. PopulateNodeConfigDefaults() // ValidateConfig validates the node config with appropriate validations for the provider ValidateConfig() error // PreProcessDaemon runs a pre-init hook function if required by node provider. This could be SSM registration // for hybrid nodes PreProcessDaemon(ctx context.Context) error // GetDaemons returns daemons to be run for the node provider GetDaemons() ([]daemon.Daemon, error) // GetAspects returns the aspects to be configured for node provider GetAspects() []system.SystemAspect // Logger defines the logger for the node provider Logger() *zap.Logger // Cleanup runs post init cleanup if any are required by node provider. Cleanup() error configenricher.ConfigEnricher aws.Config }
NodeProvider is an interface that defines functions that a nodeProvider should implement
Click to show internal directories.
Click to hide internal directories.