enroll

package
v0.6.3 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EnrollmentAuthenticator

type EnrollmentAuthenticator struct {
	ScalingGroupClient autoscalingiface.AutoScalingAPI
	SQSClient          sqsiface.SQSAPI
	IAMClient          iamiface.IAMAPI
}

EnrollmentAuthenticator holds clients for the enroll command

type EnrollmentContext

type EnrollmentContext struct {
	QueueName            string
	Region               string
	NotificationRoleName string
	TargetScalingGroups  []string
	HeartbeatTimeout     uint
	Authenticator        EnrollmentAuthenticator
	QueueURL             string
	QueueARN             string
	RoleARN              string
	Overwrite            bool
}

type Worker

type Worker struct {
	// contains filtered or unexported fields
}

func (*Worker) CreateLifecycleHook

func (w *Worker) CreateLifecycleHook(scalingGroup string) error

func (*Worker) CreateNotificationRole

func (w *Worker) CreateNotificationRole() error

func (*Worker) CreateSQSQueue

func (w *Worker) CreateSQSQueue() error

func (*Worker) Start

func (w *Worker) Start()

Jump to

Keyboard shortcuts

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