Documentation
¶
Index ¶
- type Provider
- func (p *Provider) Create(ctx context.Context, instance config.ResourceInstance) error
- func (p *Provider) Delete(ctx context.Context, instance config.ResourceInstance) error
- func (p *Provider) GetCurrentState(ctx context.Context, instance config.ResourceInstance) (map[string]interface{}, error)
- func (p *Provider) GetSupportedResourceTypes() []string
- func (p *Provider) Initialize(ctx context.Context, providerConfig map[string]interface{}) error
- func (p *Provider) Update(ctx context.Context, instance config.ResourceInstance, ...) error
- func (p *Provider) ValidateResource(instance config.ResourceInstance) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Provider ¶
type Provider struct {
// contains filtered or unexported fields
}
Provider implements the AWS provider
func (*Provider) GetCurrentState ¶
func (p *Provider) GetCurrentState(ctx context.Context, instance config.ResourceInstance) (map[string]interface{}, error)
GetCurrentState retrieves the current state of an AWS resource
func (*Provider) GetSupportedResourceTypes ¶
GetSupportedResourceTypes returns the AWS resource types supported
func (*Provider) Initialize ¶
Initialize sets up the AWS provider with configuration
func (*Provider) Update ¶
func (p *Provider) Update(ctx context.Context, instance config.ResourceInstance, currentState map[string]interface{}) error
Update updates an existing AWS resource
func (*Provider) ValidateResource ¶
func (p *Provider) ValidateResource(instance config.ResourceInstance) error
ValidateResource validates an AWS resource configuration
Click to show internal directories.
Click to hide internal directories.