hybrid

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 29, 2024 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadAWSConfigForRolesAnywhere

func LoadAWSConfigForRolesAnywhere(ctx context.Context, nodeConfig *api.NodeConfig) (aws.Config, error)

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) Enrich

func (p *HybridNodeProvider) Enrich(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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL