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 *SetupEventStreamInput) error
}
type Interface ¶
type Interface interface {
ListTeams() ([]*client.Team, error)
ShowTeamByID(teamID string) (*client.Team, error)
CreateTeam(teamName, teamDescripton string) (*client.Team, error)
ListTokens() ([]*client.Token, error)
ShowTokenByID(tokenID string) (*client.Token, error)
DeleteTokenByID(tokenID string) error
ListCloudAccounts(teamID string) ([]*client.CloudAccount, error)
ShowCloudAccountByID(teamID, cloudID string) (*client.CloudAccount, error)
CreateCloudAccount(input *client.CreateCloudAccountInput) (*client.CloudAccount, error)
DeleteCloudAccountByID(teamID, cloudID string) error
ShowResultObject(teamID, cloudID, level string) ([]*client.ResultObject, error)
ShowResultRule(teamID, cloudID, level string) ([]*client.ResultRule, error)
GetEventStreamConfig(teamID, cloudID string) (*client.EventStreamConfig, error)
}
Interface for Coreo client for mocking in tests
type SetupEventStreamInput ¶
type SetupEventStreamInput struct {
AwsProfile string
AwsProfilePath string
Config *client.EventStreamConfig
}
Click to show internal directories.
Click to hide internal directories.