service

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ProgressBar

type ProgressBar interface {
	Describe(string)
}

type Service

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

func New

func New(conf aws.Config, progress ProgressBar) *Service

func (*Service) CheckHealthNode

func (service *Service) CheckHealthNode(ctx context.Context, name string, interval time.Duration) (*types.StatusNode, error)

func (*Service) CheckHealthRegion

func (service *Service) CheckHealthRegion(ctx context.Context, interval time.Duration) (*types.StatusRegion, error)

func (*Service) ShowNode

func (service *Service) ShowNode(ctx context.Context, name string, interval time.Duration) (*types.StatusNode, error)

func (*Service) ShowRegion

func (service *Service) ShowRegion(ctx context.Context) (*types.Region, error)

Jump to

Keyboard shortcuts

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