Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IntegrationCredentials ¶
type IntegrationCredentials struct {
AccountID string `json:"account_id"`
AwsAccessKeyID string `json:"aws_access_key_id"`
AwsSecretAccessKey string `json:"aws_secret_access_key"`
CrossAccountRoleName string `json:"cross_account_role_name"`
RoleToAssumeInMainAccount string `json:"role_to_assume_in_main_account"`
ExternalID string `json:"external_id"`
}
type Resource ¶
type Resource struct {
// ARN uniquely identifies an AWS resource across regions, accounts and types.
ARN string
// ID doesn't uniquely identifies a resource. It will be used to create a
// unique identifier by concating PARTITION|REGION|ACCOUNT|TYPE|ID
ID string
Description interface{}
Name string
Account string
Region string
Partition string
Type string
}
type ResourceDescriber ¶
type ResourceDescriber func(context.Context, IntegrationCredentials, enums.DescribeTriggerType, map[string]string, *StreamSender) ([]Resource, error)
any types are used to load your provider configuration.
type ResourceType ¶
type ResourceType struct {
IntegrationType integration.Type
ResourceName string
ListDescriber ResourceDescriber
GetDescriber SingleResourceDescriber
Annotations map[string]string
Labels map[string]string
Tags map[string][]string
}
func (ResourceType) GetIntegrationType ¶
func (r ResourceType) GetIntegrationType() integration.Type
func (ResourceType) GetResourceName ¶
func (r ResourceType) GetResourceName() string
func (ResourceType) GetTags ¶
func (r ResourceType) GetTags() map[string][]string
type SingleResourceDescriber ¶
type SingleResourceDescriber func(context.Context, IntegrationCredentials, enums.DescribeTriggerType, map[string]string, string, *StreamSender) (*Resource, error)
type StreamSender ¶
Click to show internal directories.
Click to hide internal directories.