command

package
v0.0.51 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2021 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CloudProvider

type CloudProvider interface {
	SetupEventStream(input *client.EventStreamConfig) error
	CreateNewRole(input *client.RoleCreationInfo) (arn string, externalID string, err error)
	DeleteRole(roleName string)
	RemoveEventStream(input *client.EventRemoveConfig) error
}

CloudProvider for adding cloud account

type Interface

type Interface interface {
	ListCloudAccounts() ([]*client.CloudAccount, error)
	ShowCloudAccountByID(accountNumber, provider string) (*client.CloudAccount, error)
	CreateCloudAccount(input *client.CreateCloudAccountInput) (*client.CloudAccount, error)
	UpdateCloudAccount(input *client.UpdateCloudAccountInput) (*client.CloudAccount, error)
	DeleteCloudAccountByID(accountNumber, provider string) error
	ReValidateRole(accountNumber, provider string) (*client.RoleReValidationResult, error)

	GetEventStreamConfig(accountNumber, provider string) (*client.EventStreamConfig, error)
	GetEventRemoveConfig(accountNumber, provider string) (*client.EventRemoveConfig, error)
	GetRoleCreationInfo(input *client.CreateCloudAccountInput) (*client.RoleCreationInfo, error)
}

Interface for Coreo client for mocking in tests

Jump to

Keyboard shortcuts

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