Documentation
¶
Index ¶
- Constants
- func ListImages(ctx core.ListResourcesContext, resourceType string) ([]core.IntegrationResource, error)
- func ListInstances(ctx core.ListResourcesContext, resourceType string) ([]core.IntegrationResource, error)
- type AMIStateChangeDetail
- type Client
- func (c *Client) CopyImage(input CopyImageInput) (*CopyImageOutput, error)
- func (c *Client) CreateImage(input CreateImageInput) (*CreateImageOutput, error)
- func (c *Client) DeleteSnapshot(snapshotID string) (string, error)
- func (c *Client) DeregisterImage(imageID string) (string, error)
- func (c *Client) DescribeImage(imageID string) (*Image, error)
- func (c *Client) DisableImage(imageID string) (string, error)
- func (c *Client) DisableImageDeprecation(imageID string) (string, error)
- func (c *Client) EnableImage(imageID string) (string, error)
- func (c *Client) EnableImageDeprecation(imageID, deprecateAt string) (*EnableImageDeprecationOutput, error)
- func (c *Client) ListImages(ownerID string, includeDisabled bool) ([]Image, error)
- func (c *Client) ListInstances() ([]Instance, error)
- type CopyImage
- func (c *CopyImage) Actions() []core.Action
- func (c *CopyImage) Cancel(ctx core.ExecutionContext) error
- func (c *CopyImage) Cleanup(ctx core.SetupContext) error
- func (c *CopyImage) Color() string
- func (c *CopyImage) Configuration() []configuration.Field
- func (c *CopyImage) Description() string
- func (c *CopyImage) Documentation() string
- func (c *CopyImage) ExampleOutput() map[string]any
- func (c *CopyImage) Execute(ctx core.ExecutionContext) error
- func (c *CopyImage) HandleAction(ctx core.ActionContext) error
- func (c *CopyImage) HandleWebhook(ctx core.WebhookRequestContext) (int, error)
- func (c *CopyImage) Icon() string
- func (c *CopyImage) Label() string
- func (c *CopyImage) Name() string
- func (c *CopyImage) OnIntegrationMessage(ctx core.IntegrationMessageContext) error
- func (c *CopyImage) OutputChannels(configuration any) []core.OutputChannel
- func (c *CopyImage) ProcessQueueItem(ctx core.ProcessQueueContext) (*uuid.UUID, error)
- func (c *CopyImage) Setup(ctx core.SetupContext) error
- type CopyImageConfiguration
- type CopyImageExecutionMetadata
- type CopyImageInput
- type CopyImageNodeMetadata
- type CopyImageOutput
- type CreateImage
- func (c *CreateImage) Actions() []core.Action
- func (c *CreateImage) Cancel(ctx core.ExecutionContext) error
- func (c *CreateImage) Cleanup(ctx core.SetupContext) error
- func (c *CreateImage) Color() string
- func (c *CreateImage) Configuration() []configuration.Field
- func (c *CreateImage) Description() string
- func (c *CreateImage) Documentation() string
- func (c *CreateImage) ExampleOutput() map[string]any
- func (c *CreateImage) Execute(ctx core.ExecutionContext) error
- func (c *CreateImage) HandleAction(ctx core.ActionContext) error
- func (c *CreateImage) HandleWebhook(ctx core.WebhookRequestContext) (int, error)
- func (c *CreateImage) Icon() string
- func (c *CreateImage) Label() string
- func (c *CreateImage) Name() string
- func (c *CreateImage) OnIntegrationMessage(ctx core.IntegrationMessageContext) error
- func (c *CreateImage) OutputChannels(configuration any) []core.OutputChannel
- func (c *CreateImage) ProcessQueueItem(ctx core.ProcessQueueContext) (*uuid.UUID, error)
- func (c *CreateImage) Setup(ctx core.SetupContext) error
- type CreateImageConfiguration
- type CreateImageExecutionMetadata
- type CreateImageInput
- type CreateImageNodeMetadata
- type CreateImageOutput
- type DeregisterImage
- func (c *DeregisterImage) Actions() []core.Action
- func (c *DeregisterImage) Cancel(ctx core.ExecutionContext) error
- func (c *DeregisterImage) Cleanup(ctx core.SetupContext) error
- func (c *DeregisterImage) Color() string
- func (c *DeregisterImage) Configuration() []configuration.Field
- func (c *DeregisterImage) Description() string
- func (c *DeregisterImage) Documentation() string
- func (c *DeregisterImage) ExampleOutput() map[string]any
- func (c *DeregisterImage) Execute(ctx core.ExecutionContext) error
- func (c *DeregisterImage) HandleAction(ctx core.ActionContext) error
- func (c *DeregisterImage) HandleWebhook(ctx core.WebhookRequestContext) (int, error)
- func (c *DeregisterImage) Icon() string
- func (c *DeregisterImage) Label() string
- func (c *DeregisterImage) Name() string
- func (c *DeregisterImage) OutputChannels(configuration any) []core.OutputChannel
- func (c *DeregisterImage) ProcessQueueItem(ctx core.ProcessQueueContext) (*uuid.UUID, error)
- func (c *DeregisterImage) Setup(ctx core.SetupContext) error
- type DeregisterImageConfiguration
- type DisableImage
- func (c *DisableImage) Actions() []core.Action
- func (c *DisableImage) Cancel(ctx core.ExecutionContext) error
- func (c *DisableImage) Cleanup(ctx core.SetupContext) error
- func (c *DisableImage) Color() string
- func (c *DisableImage) Configuration() []configuration.Field
- func (c *DisableImage) Description() string
- func (c *DisableImage) Documentation() string
- func (c *DisableImage) ExampleOutput() map[string]any
- func (c *DisableImage) Execute(ctx core.ExecutionContext) error
- func (c *DisableImage) HandleAction(ctx core.ActionContext) error
- func (c *DisableImage) HandleWebhook(ctx core.WebhookRequestContext) (int, error)
- func (c *DisableImage) Icon() string
- func (c *DisableImage) Label() string
- func (c *DisableImage) Name() string
- func (c *DisableImage) OutputChannels(configuration any) []core.OutputChannel
- func (c *DisableImage) ProcessQueueItem(ctx core.ProcessQueueContext) (*uuid.UUID, error)
- func (c *DisableImage) Setup(ctx core.SetupContext) error
- type DisableImageConfiguration
- type DisableImageDeprecation
- func (c *DisableImageDeprecation) Actions() []core.Action
- func (c *DisableImageDeprecation) Cancel(ctx core.ExecutionContext) error
- func (c *DisableImageDeprecation) Cleanup(ctx core.SetupContext) error
- func (c *DisableImageDeprecation) Color() string
- func (c *DisableImageDeprecation) Configuration() []configuration.Field
- func (c *DisableImageDeprecation) Description() string
- func (c *DisableImageDeprecation) Documentation() string
- func (c *DisableImageDeprecation) ExampleOutput() map[string]any
- func (c *DisableImageDeprecation) Execute(ctx core.ExecutionContext) error
- func (c *DisableImageDeprecation) HandleAction(ctx core.ActionContext) error
- func (c *DisableImageDeprecation) HandleWebhook(ctx core.WebhookRequestContext) (int, error)
- func (c *DisableImageDeprecation) Icon() string
- func (c *DisableImageDeprecation) Label() string
- func (c *DisableImageDeprecation) Name() string
- func (c *DisableImageDeprecation) OutputChannels(configuration any) []core.OutputChannel
- func (c *DisableImageDeprecation) ProcessQueueItem(ctx core.ProcessQueueContext) (*uuid.UUID, error)
- func (c *DisableImageDeprecation) Setup(ctx core.SetupContext) error
- type DisableImageDeprecationConfiguration
- type EnableImage
- func (c *EnableImage) Actions() []core.Action
- func (c *EnableImage) Cancel(ctx core.ExecutionContext) error
- func (c *EnableImage) Cleanup(ctx core.SetupContext) error
- func (c *EnableImage) Color() string
- func (c *EnableImage) Configuration() []configuration.Field
- func (c *EnableImage) Description() string
- func (c *EnableImage) Documentation() string
- func (c *EnableImage) ExampleOutput() map[string]any
- func (c *EnableImage) Execute(ctx core.ExecutionContext) error
- func (c *EnableImage) HandleAction(ctx core.ActionContext) error
- func (c *EnableImage) HandleWebhook(ctx core.WebhookRequestContext) (int, error)
- func (c *EnableImage) Icon() string
- func (c *EnableImage) Label() string
- func (c *EnableImage) Name() string
- func (c *EnableImage) OutputChannels(configuration any) []core.OutputChannel
- func (c *EnableImage) ProcessQueueItem(ctx core.ProcessQueueContext) (*uuid.UUID, error)
- func (c *EnableImage) Setup(ctx core.SetupContext) error
- type EnableImageConfiguration
- type EnableImageDeprecation
- func (c *EnableImageDeprecation) Actions() []core.Action
- func (c *EnableImageDeprecation) Cancel(ctx core.ExecutionContext) error
- func (c *EnableImageDeprecation) Cleanup(ctx core.SetupContext) error
- func (c *EnableImageDeprecation) Color() string
- func (c *EnableImageDeprecation) Configuration() []configuration.Field
- func (c *EnableImageDeprecation) Description() string
- func (c *EnableImageDeprecation) Documentation() string
- func (c *EnableImageDeprecation) ExampleOutput() map[string]any
- func (c *EnableImageDeprecation) Execute(ctx core.ExecutionContext) error
- func (c *EnableImageDeprecation) HandleAction(ctx core.ActionContext) error
- func (c *EnableImageDeprecation) HandleWebhook(ctx core.WebhookRequestContext) (int, error)
- func (c *EnableImageDeprecation) Icon() string
- func (c *EnableImageDeprecation) Label() string
- func (c *EnableImageDeprecation) Name() string
- func (c *EnableImageDeprecation) OutputChannels(configuration any) []core.OutputChannel
- func (c *EnableImageDeprecation) ProcessQueueItem(ctx core.ProcessQueueContext) (*uuid.UUID, error)
- func (c *EnableImageDeprecation) Setup(ctx core.SetupContext) error
- type EnableImageDeprecationConfiguration
- type EnableImageDeprecationOutput
- type GetImage
- func (c *GetImage) Actions() []core.Action
- func (c *GetImage) Cancel(ctx core.ExecutionContext) error
- func (c *GetImage) Cleanup(ctx core.SetupContext) error
- func (c *GetImage) Color() string
- func (c *GetImage) Configuration() []configuration.Field
- func (c *GetImage) Description() string
- func (c *GetImage) Documentation() string
- func (c *GetImage) ExampleOutput() map[string]any
- func (c *GetImage) Execute(ctx core.ExecutionContext) error
- func (c *GetImage) HandleAction(ctx core.ActionContext) error
- func (c *GetImage) HandleWebhook(ctx core.WebhookRequestContext) (int, error)
- func (c *GetImage) Icon() string
- func (c *GetImage) Label() string
- func (c *GetImage) Name() string
- func (c *GetImage) OutputChannels(configuration any) []core.OutputChannel
- func (c *GetImage) ProcessQueueItem(ctx core.ProcessQueueContext) (*uuid.UUID, error)
- func (c *GetImage) Setup(ctx core.SetupContext) error
- type GetImageConfiguration
- type Image
- type ImageBlockDeviceMapping
- type ImageEbsDetails
- type Instance
- type OnImage
- func (p *OnImage) Actions() []core.Action
- func (p *OnImage) Cleanup(ctx core.TriggerContext) error
- func (p *OnImage) Color() string
- func (p *OnImage) Configuration() []configuration.Field
- func (p *OnImage) Description() string
- func (p *OnImage) Documentation() string
- func (t *OnImage) ExampleData() map[string]any
- func (p *OnImage) HandleAction(ctx core.TriggerActionContext) (map[string]any, error)
- func (p *OnImage) HandleWebhook(ctx core.WebhookRequestContext) (int, error)
- func (p *OnImage) Icon() string
- func (p *OnImage) Label() string
- func (p *OnImage) Name() string
- func (p *OnImage) OnIntegrationMessage(ctx core.IntegrationMessageContext) error
- func (p *OnImage) Setup(ctx core.TriggerContext) error
- type OnImageConfiguration
- type OnImageMetadata
Constants ¶
View Source
const ( Source = "aws.ec2" DetailTypeAMIStateChange = "EC2 AMI State Change" )
View Source
const ( ImageStatePending = "pending" ImageStateAvailable = "available" ImageStateFailed = "failed" ImageStateDeregistered = "deregistered" ImageStateDisabled = "disabled" )
Variables ¶
This section is empty.
Functions ¶
func ListImages ¶
func ListImages(ctx core.ListResourcesContext, resourceType string) ([]core.IntegrationResource, error)
func ListInstances ¶
func ListInstances(ctx core.ListResourcesContext, resourceType string) ([]core.IntegrationResource, error)
Types ¶
type AMIStateChangeDetail ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func NewClient ¶
func NewClient(httpCtx core.HTTPContext, credentials *aws.Credentials, region string) *Client
func (*Client) CopyImage ¶
func (c *Client) CopyImage(input CopyImageInput) (*CopyImageOutput, error)
func (*Client) CreateImage ¶
func (c *Client) CreateImage(input CreateImageInput) (*CreateImageOutput, error)
func (*Client) DisableImageDeprecation ¶
func (*Client) EnableImageDeprecation ¶
func (c *Client) EnableImageDeprecation(imageID, deprecateAt string) (*EnableImageDeprecationOutput, error)
func (*Client) ListImages ¶
func (*Client) ListInstances ¶
type CopyImage ¶
type CopyImage struct{}
func (*CopyImage) Configuration ¶
func (c *CopyImage) Configuration() []configuration.Field
func (*CopyImage) Description ¶
func (*CopyImage) Documentation ¶
func (*CopyImage) ExampleOutput ¶
func (*CopyImage) HandleAction ¶
func (c *CopyImage) HandleAction(ctx core.ActionContext) error
func (*CopyImage) HandleWebhook ¶
func (c *CopyImage) HandleWebhook(ctx core.WebhookRequestContext) (int, error)
func (*CopyImage) OnIntegrationMessage ¶
func (c *CopyImage) OnIntegrationMessage(ctx core.IntegrationMessageContext) error
func (*CopyImage) OutputChannels ¶
func (c *CopyImage) OutputChannels(configuration any) []core.OutputChannel
func (*CopyImage) ProcessQueueItem ¶
type CopyImageConfiguration ¶
type CopyImageConfiguration struct {
SourceRegion string `json:"sourceRegion" mapstructure:"sourceRegion"`
SourceImageID string `json:"sourceImageId" mapstructure:"sourceImageId"`
Region string `json:"region" mapstructure:"region"`
Name *string `json:"name,omitempty" mapstructure:"name,omitempty"`
Description *string `json:"description,omitempty" mapstructure:"description,omitempty"`
}
func (*CopyImageConfiguration) IsDescriptionSet ¶
func (c *CopyImageConfiguration) IsDescriptionSet() bool
func (*CopyImageConfiguration) IsNameSet ¶
func (c *CopyImageConfiguration) IsNameSet() bool
type CopyImageExecutionMetadata ¶
type CopyImageExecutionMetadata struct {
ImageID string `json:"imageId" mapstructure:"imageId"`
SourceImageID string `json:"sourceImageId" mapstructure:"sourceImageId"`
SourceRegion string `json:"sourceRegion" mapstructure:"sourceRegion"`
State string `json:"state" mapstructure:"state"`
RequestID string `json:"requestId" mapstructure:"requestId"`
}
type CopyImageInput ¶
type CopyImageNodeMetadata ¶
type CopyImageOutput ¶
type CopyImageOutput struct {
RequestID string `json:"requestId" mapstructure:"requestId"`
ImageID string `json:"imageId" mapstructure:"imageId"`
SourceImageID string `json:"sourceImageId" mapstructure:"sourceImageId"`
SourceRegion string `json:"sourceRegion" mapstructure:"sourceRegion"`
Name string `json:"name" mapstructure:"name"`
Description string `json:"description" mapstructure:"description"`
Region string `json:"region" mapstructure:"region"`
State string `json:"state" mapstructure:"state"`
}
type CreateImage ¶
type CreateImage struct{}
func (*CreateImage) Actions ¶
func (c *CreateImage) Actions() []core.Action
func (*CreateImage) Cancel ¶
func (c *CreateImage) Cancel(ctx core.ExecutionContext) error
func (*CreateImage) Cleanup ¶
func (c *CreateImage) Cleanup(ctx core.SetupContext) error
func (*CreateImage) Color ¶
func (c *CreateImage) Color() string
func (*CreateImage) Configuration ¶
func (c *CreateImage) Configuration() []configuration.Field
func (*CreateImage) Description ¶
func (c *CreateImage) Description() string
func (*CreateImage) Documentation ¶
func (c *CreateImage) Documentation() string
func (*CreateImage) ExampleOutput ¶
func (c *CreateImage) ExampleOutput() map[string]any
func (*CreateImage) Execute ¶
func (c *CreateImage) Execute(ctx core.ExecutionContext) error
func (*CreateImage) HandleAction ¶
func (c *CreateImage) HandleAction(ctx core.ActionContext) error
func (*CreateImage) HandleWebhook ¶
func (c *CreateImage) HandleWebhook(ctx core.WebhookRequestContext) (int, error)
func (*CreateImage) Icon ¶
func (c *CreateImage) Icon() string
func (*CreateImage) Label ¶
func (c *CreateImage) Label() string
func (*CreateImage) Name ¶
func (c *CreateImage) Name() string
func (*CreateImage) OnIntegrationMessage ¶
func (c *CreateImage) OnIntegrationMessage(ctx core.IntegrationMessageContext) error
func (*CreateImage) OutputChannels ¶
func (c *CreateImage) OutputChannels(configuration any) []core.OutputChannel
func (*CreateImage) ProcessQueueItem ¶
func (c *CreateImage) ProcessQueueItem(ctx core.ProcessQueueContext) (*uuid.UUID, error)
func (*CreateImage) Setup ¶
func (c *CreateImage) Setup(ctx core.SetupContext) error
type CreateImageConfiguration ¶
type CreateImageConfiguration struct {
Region string `json:"region" mapstructure:"region"`
InstanceID string `json:"instanceId" mapstructure:"instanceId"`
Name string `json:"name" mapstructure:"name"`
Description string `json:"description" mapstructure:"description"`
NoReboot bool `json:"noReboot" mapstructure:"noReboot"`
}
type CreateImageInput ¶
type CreateImageNodeMetadata ¶
type CreateImageOutput ¶
type CreateImageOutput struct {
RequestID string `json:"requestId" mapstructure:"requestId"`
ImageID string `json:"imageId" mapstructure:"imageId"`
InstanceID string `json:"instanceId" mapstructure:"instanceId"`
Name string `json:"name" mapstructure:"name"`
Region string `json:"region" mapstructure:"region"`
State string `json:"state" mapstructure:"state"`
}
type DeregisterImage ¶
type DeregisterImage struct{}
func (*DeregisterImage) Actions ¶
func (c *DeregisterImage) Actions() []core.Action
func (*DeregisterImage) Cancel ¶
func (c *DeregisterImage) Cancel(ctx core.ExecutionContext) error
func (*DeregisterImage) Cleanup ¶
func (c *DeregisterImage) Cleanup(ctx core.SetupContext) error
func (*DeregisterImage) Color ¶
func (c *DeregisterImage) Color() string
func (*DeregisterImage) Configuration ¶
func (c *DeregisterImage) Configuration() []configuration.Field
func (*DeregisterImage) Description ¶
func (c *DeregisterImage) Description() string
func (*DeregisterImage) Documentation ¶
func (c *DeregisterImage) Documentation() string
func (*DeregisterImage) ExampleOutput ¶
func (c *DeregisterImage) ExampleOutput() map[string]any
func (*DeregisterImage) Execute ¶
func (c *DeregisterImage) Execute(ctx core.ExecutionContext) error
func (*DeregisterImage) HandleAction ¶
func (c *DeregisterImage) HandleAction(ctx core.ActionContext) error
func (*DeregisterImage) HandleWebhook ¶
func (c *DeregisterImage) HandleWebhook(ctx core.WebhookRequestContext) (int, error)
func (*DeregisterImage) Icon ¶
func (c *DeregisterImage) Icon() string
func (*DeregisterImage) Label ¶
func (c *DeregisterImage) Label() string
func (*DeregisterImage) Name ¶
func (c *DeregisterImage) Name() string
func (*DeregisterImage) OutputChannels ¶
func (c *DeregisterImage) OutputChannels(configuration any) []core.OutputChannel
func (*DeregisterImage) ProcessQueueItem ¶
func (c *DeregisterImage) ProcessQueueItem(ctx core.ProcessQueueContext) (*uuid.UUID, error)
func (*DeregisterImage) Setup ¶
func (c *DeregisterImage) Setup(ctx core.SetupContext) error
type DisableImage ¶
type DisableImage struct{}
func (*DisableImage) Actions ¶
func (c *DisableImage) Actions() []core.Action
func (*DisableImage) Cancel ¶
func (c *DisableImage) Cancel(ctx core.ExecutionContext) error
func (*DisableImage) Cleanup ¶
func (c *DisableImage) Cleanup(ctx core.SetupContext) error
func (*DisableImage) Color ¶
func (c *DisableImage) Color() string
func (*DisableImage) Configuration ¶
func (c *DisableImage) Configuration() []configuration.Field
func (*DisableImage) Description ¶
func (c *DisableImage) Description() string
func (*DisableImage) Documentation ¶
func (c *DisableImage) Documentation() string
func (*DisableImage) ExampleOutput ¶
func (c *DisableImage) ExampleOutput() map[string]any
func (*DisableImage) Execute ¶
func (c *DisableImage) Execute(ctx core.ExecutionContext) error
func (*DisableImage) HandleAction ¶
func (c *DisableImage) HandleAction(ctx core.ActionContext) error
func (*DisableImage) HandleWebhook ¶
func (c *DisableImage) HandleWebhook(ctx core.WebhookRequestContext) (int, error)
func (*DisableImage) Icon ¶
func (c *DisableImage) Icon() string
func (*DisableImage) Label ¶
func (c *DisableImage) Label() string
func (*DisableImage) Name ¶
func (c *DisableImage) Name() string
func (*DisableImage) OutputChannels ¶
func (c *DisableImage) OutputChannels(configuration any) []core.OutputChannel
func (*DisableImage) ProcessQueueItem ¶
func (c *DisableImage) ProcessQueueItem(ctx core.ProcessQueueContext) (*uuid.UUID, error)
func (*DisableImage) Setup ¶
func (c *DisableImage) Setup(ctx core.SetupContext) error
type DisableImageDeprecation ¶
type DisableImageDeprecation struct{}
func (*DisableImageDeprecation) Actions ¶
func (c *DisableImageDeprecation) Actions() []core.Action
func (*DisableImageDeprecation) Cancel ¶
func (c *DisableImageDeprecation) Cancel(ctx core.ExecutionContext) error
func (*DisableImageDeprecation) Cleanup ¶
func (c *DisableImageDeprecation) Cleanup(ctx core.SetupContext) error
func (*DisableImageDeprecation) Color ¶
func (c *DisableImageDeprecation) Color() string
func (*DisableImageDeprecation) Configuration ¶
func (c *DisableImageDeprecation) Configuration() []configuration.Field
func (*DisableImageDeprecation) Description ¶
func (c *DisableImageDeprecation) Description() string
func (*DisableImageDeprecation) Documentation ¶
func (c *DisableImageDeprecation) Documentation() string
func (*DisableImageDeprecation) ExampleOutput ¶
func (c *DisableImageDeprecation) ExampleOutput() map[string]any
func (*DisableImageDeprecation) Execute ¶
func (c *DisableImageDeprecation) Execute(ctx core.ExecutionContext) error
func (*DisableImageDeprecation) HandleAction ¶
func (c *DisableImageDeprecation) HandleAction(ctx core.ActionContext) error
func (*DisableImageDeprecation) HandleWebhook ¶
func (c *DisableImageDeprecation) HandleWebhook(ctx core.WebhookRequestContext) (int, error)
func (*DisableImageDeprecation) Icon ¶
func (c *DisableImageDeprecation) Icon() string
func (*DisableImageDeprecation) Label ¶
func (c *DisableImageDeprecation) Label() string
func (*DisableImageDeprecation) Name ¶
func (c *DisableImageDeprecation) Name() string
func (*DisableImageDeprecation) OutputChannels ¶
func (c *DisableImageDeprecation) OutputChannels(configuration any) []core.OutputChannel
func (*DisableImageDeprecation) ProcessQueueItem ¶
func (c *DisableImageDeprecation) ProcessQueueItem(ctx core.ProcessQueueContext) (*uuid.UUID, error)
func (*DisableImageDeprecation) Setup ¶
func (c *DisableImageDeprecation) Setup(ctx core.SetupContext) error
type EnableImage ¶
type EnableImage struct{}
func (*EnableImage) Actions ¶
func (c *EnableImage) Actions() []core.Action
func (*EnableImage) Cancel ¶
func (c *EnableImage) Cancel(ctx core.ExecutionContext) error
func (*EnableImage) Cleanup ¶
func (c *EnableImage) Cleanup(ctx core.SetupContext) error
func (*EnableImage) Color ¶
func (c *EnableImage) Color() string
func (*EnableImage) Configuration ¶
func (c *EnableImage) Configuration() []configuration.Field
func (*EnableImage) Description ¶
func (c *EnableImage) Description() string
func (*EnableImage) Documentation ¶
func (c *EnableImage) Documentation() string
func (*EnableImage) ExampleOutput ¶
func (c *EnableImage) ExampleOutput() map[string]any
func (*EnableImage) Execute ¶
func (c *EnableImage) Execute(ctx core.ExecutionContext) error
func (*EnableImage) HandleAction ¶
func (c *EnableImage) HandleAction(ctx core.ActionContext) error
func (*EnableImage) HandleWebhook ¶
func (c *EnableImage) HandleWebhook(ctx core.WebhookRequestContext) (int, error)
func (*EnableImage) Icon ¶
func (c *EnableImage) Icon() string
func (*EnableImage) Label ¶
func (c *EnableImage) Label() string
func (*EnableImage) Name ¶
func (c *EnableImage) Name() string
func (*EnableImage) OutputChannels ¶
func (c *EnableImage) OutputChannels(configuration any) []core.OutputChannel
func (*EnableImage) ProcessQueueItem ¶
func (c *EnableImage) ProcessQueueItem(ctx core.ProcessQueueContext) (*uuid.UUID, error)
func (*EnableImage) Setup ¶
func (c *EnableImage) Setup(ctx core.SetupContext) error
type EnableImageDeprecation ¶
type EnableImageDeprecation struct{}
func (*EnableImageDeprecation) Actions ¶
func (c *EnableImageDeprecation) Actions() []core.Action
func (*EnableImageDeprecation) Cancel ¶
func (c *EnableImageDeprecation) Cancel(ctx core.ExecutionContext) error
func (*EnableImageDeprecation) Cleanup ¶
func (c *EnableImageDeprecation) Cleanup(ctx core.SetupContext) error
func (*EnableImageDeprecation) Color ¶
func (c *EnableImageDeprecation) Color() string
func (*EnableImageDeprecation) Configuration ¶
func (c *EnableImageDeprecation) Configuration() []configuration.Field
func (*EnableImageDeprecation) Description ¶
func (c *EnableImageDeprecation) Description() string
func (*EnableImageDeprecation) Documentation ¶
func (c *EnableImageDeprecation) Documentation() string
func (*EnableImageDeprecation) ExampleOutput ¶
func (c *EnableImageDeprecation) ExampleOutput() map[string]any
func (*EnableImageDeprecation) Execute ¶
func (c *EnableImageDeprecation) Execute(ctx core.ExecutionContext) error
func (*EnableImageDeprecation) HandleAction ¶
func (c *EnableImageDeprecation) HandleAction(ctx core.ActionContext) error
func (*EnableImageDeprecation) HandleWebhook ¶
func (c *EnableImageDeprecation) HandleWebhook(ctx core.WebhookRequestContext) (int, error)
func (*EnableImageDeprecation) Icon ¶
func (c *EnableImageDeprecation) Icon() string
func (*EnableImageDeprecation) Label ¶
func (c *EnableImageDeprecation) Label() string
func (*EnableImageDeprecation) Name ¶
func (c *EnableImageDeprecation) Name() string
func (*EnableImageDeprecation) OutputChannels ¶
func (c *EnableImageDeprecation) OutputChannels(configuration any) []core.OutputChannel
func (*EnableImageDeprecation) ProcessQueueItem ¶
func (c *EnableImageDeprecation) ProcessQueueItem(ctx core.ProcessQueueContext) (*uuid.UUID, error)
func (*EnableImageDeprecation) Setup ¶
func (c *EnableImageDeprecation) Setup(ctx core.SetupContext) error
type GetImage ¶
type GetImage struct{}
func (*GetImage) Configuration ¶
func (c *GetImage) Configuration() []configuration.Field
func (*GetImage) Description ¶
func (*GetImage) Documentation ¶
func (*GetImage) ExampleOutput ¶
func (*GetImage) HandleAction ¶
func (c *GetImage) HandleAction(ctx core.ActionContext) error
func (*GetImage) HandleWebhook ¶
func (c *GetImage) HandleWebhook(ctx core.WebhookRequestContext) (int, error)
func (*GetImage) OutputChannels ¶
func (c *GetImage) OutputChannels(configuration any) []core.OutputChannel
func (*GetImage) ProcessQueueItem ¶
type GetImageConfiguration ¶
type Image ¶
type Image struct {
RequestID string `json:"requestId" mapstructure:"requestId"`
ImageID string `json:"imageId" mapstructure:"imageId"`
ImageLocation string `json:"imageLocation" mapstructure:"imageLocation"`
Public bool `json:"public" mapstructure:"public"`
Name string `json:"name" mapstructure:"name"`
Description string `json:"description" mapstructure:"description"`
State string `json:"state" mapstructure:"state"`
CreationDate string `json:"creationDate" mapstructure:"creationDate"`
OwnerID string `json:"ownerId" mapstructure:"ownerId"`
PlatformDetails string `json:"platformDetails" mapstructure:"platformDetails"`
UsageOperation string `json:"usageOperation" mapstructure:"usageOperation"`
BlockDeviceMappings []ImageBlockDeviceMapping `json:"blockDeviceMappings" mapstructure:"blockDeviceMappings"`
EnaSupport bool `json:"enaSupport" mapstructure:"enaSupport"`
SriovNetSupport string `json:"sriovNetSupport" mapstructure:"sriovNetSupport"`
BootMode string `json:"bootMode" mapstructure:"bootMode"`
ImdsSupport string `json:"imdsSupport" mapstructure:"imdsSupport"`
Architecture string `json:"architecture" mapstructure:"architecture"`
ImageType string `json:"imageType" mapstructure:"imageType"`
RootDeviceType string `json:"rootDeviceType" mapstructure:"rootDeviceType"`
RootDeviceName string `json:"rootDeviceName" mapstructure:"rootDeviceName"`
VirtualizationType string `json:"virtualizationType" mapstructure:"virtualizationType"`
Hypervisor string `json:"hypervisor" mapstructure:"hypervisor"`
Region string `json:"region" mapstructure:"region"`
}
type ImageBlockDeviceMapping ¶
type ImageBlockDeviceMapping struct {
DeviceName string `json:"deviceName" mapstructure:"deviceName"`
Ebs ImageEbsDetails `json:"ebs" mapstructure:"ebs"`
}
type ImageEbsDetails ¶
type ImageEbsDetails struct {
DeleteOnTermination bool `json:"deleteOnTermination" mapstructure:"deleteOnTermination"`
Iops int `json:"iops" mapstructure:"iops"`
SnapshotID string `json:"snapshotId" mapstructure:"snapshotId"`
VolumeSize int `json:"volumeSize" mapstructure:"volumeSize"`
VolumeType string `json:"volumeType" mapstructure:"volumeType"`
Throughput int `json:"throughput" mapstructure:"throughput"`
Encrypted bool `json:"encrypted" mapstructure:"encrypted"`
}
type OnImage ¶
type OnImage struct{}
func (*OnImage) Configuration ¶
func (p *OnImage) Configuration() []configuration.Field
func (*OnImage) Description ¶
func (*OnImage) Documentation ¶
func (*OnImage) ExampleData ¶
func (*OnImage) HandleAction ¶
func (*OnImage) HandleWebhook ¶
func (p *OnImage) HandleWebhook(ctx core.WebhookRequestContext) (int, error)
func (*OnImage) OnIntegrationMessage ¶
func (p *OnImage) OnIntegrationMessage(ctx core.IntegrationMessageContext) error
type OnImageConfiguration ¶
type OnImageMetadata ¶
Click to show internal directories.
Click to hide internal directories.