Documentation ¶
Index ¶
- func LoadAWSConfigForRolesAnywhere(ctx context.Context, nodeConfig *api.NodeConfig) (aws.Config, error)
- func NewHybridNodeProvider(nodeConfig *api.NodeConfig, logger *zap.Logger, opts ...NodeProviderOpt) (nodeprovider.NodeProvider, error)
- func PopulateNodeConfigDefaults(nodeConfig *api.NodeConfig)
- type HybridNodeProvider
- func (hnp *HybridNodeProvider) Cleanup() error
- func (hnp *HybridNodeProvider) ConfigureAws(ctx context.Context) error
- func (p *HybridNodeProvider) Enrich(ctx context.Context) error
- func (hnp *HybridNodeProvider) GetAspects() []system.SystemAspect
- func (hnp *HybridNodeProvider) GetConfig() *aws.Config
- func (hnp *HybridNodeProvider) GetDaemons() ([]daemon.Daemon, error)
- func (hnp *HybridNodeProvider) GetNodeConfig() *api.NodeConfig
- func (hnp *HybridNodeProvider) Logger() *zap.Logger
- func (hnp *HybridNodeProvider) PopulateNodeConfigDefaults()
- func (hnp *HybridNodeProvider) PreProcessDaemon(ctx context.Context) error
- func (hnp *HybridNodeProvider) ValidateConfig() error
- type NodeProviderOpt
- type RolesAnywhereAWSConfigurator
- type SSMAWSConfigurator
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewHybridNodeProvider ¶
func NewHybridNodeProvider(nodeConfig *api.NodeConfig, logger *zap.Logger, opts ...NodeProviderOpt) (nodeprovider.NodeProvider, error)
func PopulateNodeConfigDefaults ¶
func PopulateNodeConfigDefaults(nodeConfig *api.NodeConfig)
Types ¶
type HybridNodeProvider ¶
type HybridNodeProvider struct {
// contains filtered or unexported fields
}
func (*HybridNodeProvider) Cleanup ¶
func (hnp *HybridNodeProvider) Cleanup() error
func (*HybridNodeProvider) ConfigureAws ¶
func (hnp *HybridNodeProvider) ConfigureAws(ctx context.Context) error
func (*HybridNodeProvider) GetAspects ¶
func (hnp *HybridNodeProvider) GetAspects() []system.SystemAspect
func (*HybridNodeProvider) GetConfig ¶
func (hnp *HybridNodeProvider) GetConfig() *aws.Config
func (*HybridNodeProvider) GetDaemons ¶
func (hnp *HybridNodeProvider) GetDaemons() ([]daemon.Daemon, error)
func (*HybridNodeProvider) GetNodeConfig ¶
func (hnp *HybridNodeProvider) GetNodeConfig() *api.NodeConfig
func (*HybridNodeProvider) Logger ¶
func (hnp *HybridNodeProvider) Logger() *zap.Logger
func (*HybridNodeProvider) PopulateNodeConfigDefaults ¶
func (hnp *HybridNodeProvider) PopulateNodeConfigDefaults()
func (*HybridNodeProvider) PreProcessDaemon ¶
func (hnp *HybridNodeProvider) PreProcessDaemon(ctx context.Context) error
func (*HybridNodeProvider) ValidateConfig ¶
func (hnp *HybridNodeProvider) ValidateConfig() error
type NodeProviderOpt ¶
type NodeProviderOpt func(*HybridNodeProvider)
func WithAWSConfig ¶
func WithAWSConfig(config *aws.Config) NodeProviderOpt
type RolesAnywhereAWSConfigurator ¶
type RolesAnywhereAWSConfigurator struct{}
func (RolesAnywhereAWSConfigurator) Configure ¶
func (c RolesAnywhereAWSConfigurator) Configure(_ context.Context, nodeConfig *api.NodeConfig) error
type SSMAWSConfigurator ¶
type SSMAWSConfigurator struct { Manager daemon.DaemonManager Logger *zap.Logger }
func (SSMAWSConfigurator) Configure ¶
func (c SSMAWSConfigurator) Configure(ctx context.Context, nodeConfig *api.NodeConfig) error
Click to show internal directories.
Click to hide internal directories.