Documentation ¶
Index ¶
- Constants
- Variables
- func AccountCredentialsFromMap(m map[string]any) (configs.IntegrationCredentials, error)
- func AdjustResource(job describe.DescribeJob, resource *model.Resource) error
- func DescribeByIntegration(...) model.ResourceDescriber
- func GetAdditionalParameters(job describe.DescribeJob) (map[string]string, error)
- func GetResourceMetadata(job describe.DescribeJob, resource model.Resource) (map[string]string, error)
Constants ¶
View Source
const (
ErrSubscriptionRequired = "SubscriptionRequiredException"
)
Variables ¶
View Source
var ResourceTypes = map[string]model.ResourceType{}
Functions ¶
func AccountCredentialsFromMap ¶
func AccountCredentialsFromMap(m map[string]any) (configs.IntegrationCredentials, error)
AccountCredentialsFromMap TODO: converts a map to an configs.IntegrationCredentials.
func AdjustResource ¶
func AdjustResource(job describe.DescribeJob, resource *model.Resource) error
AdjustResource TODO: Do any needed adjustment on resource object before storing
func DescribeByIntegration ¶
func DescribeByIntegration(describe func(context.Context, *configs.IntegrationCredentials, string, *model.StreamSender) ([]model.Resource, error)) model.ResourceDescriber
DescribeByIntegration TODO: implement a wrapper to pass integration authorization to describer functions
func GetAdditionalParameters ¶
func GetAdditionalParameters(job describe.DescribeJob) (map[string]string, error)
GetAdditionalParameters TODO: pass additional parameters needed in describer wrappers in /provider/describer_wrapper.go
func GetResourceMetadata ¶
func GetResourceMetadata(job describe.DescribeJob, resource model.Resource) (map[string]string, error)
GetResourceMetadata TODO: Get metadata as a map to add to the resources
Types ¶
This section is empty.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.