remote

package
v0.28.1 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2022 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Activate

func Activate(remote, version string, alerter *alerter.Alerter,
	providerLibrary *terraform.ProviderLibrary,
	remoteLibrary *common.RemoteLibrary,
	progress output.Progress,
	resourceSchemaRepository *resource.SchemaRepository,
	factory resource.ResourceFactory,
	configDir string) error

func GetSupportedRemotes

func GetSupportedRemotes() []string

func HandleResourceDetailsFetchingError

func HandleResourceDetailsFetchingError(err error, alerter alerter.AlerterInterface) error

func HandleResourceEnumerationError

func HandleResourceEnumerationError(err error, alerter alerter.AlerterInterface) error

func IsSupported

func IsSupported(remote string) bool

Types

type Scanner

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

func NewScanner

func NewScanner(remoteLibrary *common.RemoteLibrary, alerter alerter.AlerterInterface, options ScannerOptions, filter filter.Filter) *Scanner

func (*Scanner) Resources

func (s *Scanner) Resources() ([]*resource.Resource, error)

func (*Scanner) Stop

func (s *Scanner) Stop()

type ScannerOptions

type ScannerOptions struct {
	Deep bool
}

Jump to

Keyboard shortcuts

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