Documentation ¶
Index ¶
- func GetRegionIds() []string
- type BaseInstance
- type DynamoDBInstance
- type EC2Instance
- type LambdaInstance
- type Region
- func (r *Region) GetServiceById(serviceId string) Service
- func (r *Region) GetServiceIds() []string
- func (r *Region) GetServiceInstanceById(serviceId, instanceId string) ServiceInstance
- func (r *Region) GetServiceInstanceData(serviceId string) []string
- func (r *Region) GetServiceInstanceIds(serviceId string) []string
- func (r *Region) UpdateServiceInstances(serviceId string)
- type S3Instance
- type Service
- type ServiceInstance
- type ServiceInstanceListFactory
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetRegionIds ¶
func GetRegionIds() []string
Types ¶
type BaseInstance ¶
type BaseInstance struct {
// contains filtered or unexported fields
}
type DynamoDBInstance ¶
type DynamoDBInstance struct {
BaseInstance
}
func (*DynamoDBInstance) GetData ¶
func (d *DynamoDBInstance) GetData() string
func (*DynamoDBInstance) GetId ¶
func (d *DynamoDBInstance) GetId() string
func (*DynamoDBInstance) SetData ¶
func (d *DynamoDBInstance) SetData(data interface{})
func (*DynamoDBInstance) SetId ¶
func (d *DynamoDBInstance) SetId(id string)
type EC2Instance ¶
type EC2Instance struct {
BaseInstance
}
func (*EC2Instance) GetData ¶
func (e *EC2Instance) GetData() string
func (*EC2Instance) GetId ¶
func (e *EC2Instance) GetId() string
func (*EC2Instance) SetData ¶
func (e *EC2Instance) SetData(data interface{})
func (*EC2Instance) SetId ¶
func (e *EC2Instance) SetId(id string)
type LambdaInstance ¶
type LambdaInstance struct { BaseInstance // The SHA256 hash of the function's deployment package. CodeSha256 *string `type:"string"` // The size of the function's deployment package in bytes. CodeSize *int64 `type:"long"` // The function's Amazon Resource Name (ARN). FunctionArn *string `type:"string"` // The name of the function. FunctionName *string `min:"1" type:"string"` // The function Lambda calls to begin executing your function. Handler *string `type:"string"` // The date and time that the function was last updated, in ISO-8601 format // (https://www.w3.org/TR/NOTE-datetime) (YYYY-MM-DDThh:mm:ss.sTZD). LastModified *string `type:"string"` // For Lambda@Edge functions, the ARN of the master function. MasterArn *string `type:"string"` // The memory allocated to the function MemorySize *int64 `min:"128" type:"integer"` // The function's execution role. Role *string `type:"string"` // The runtime environment for the Lambda function. Runtime *string `type:"string" enum:"Runtime"` // The amount of time that Lambda allows a function to run before terminating // it. Timeout *int64 `min:"1" type:"integer"` // The version of the Lambda function. Version *string `min:"1" type:"string"` }
func (*LambdaInstance) GetData ¶
func (l *LambdaInstance) GetData() string
func (*LambdaInstance) GetId ¶
func (l *LambdaInstance) GetId() string
func (*LambdaInstance) SetData ¶
func (l *LambdaInstance) SetData(data interface{})
func (*LambdaInstance) SetId ¶
func (l *LambdaInstance) SetId(id string)
type Region ¶
type Region struct { Id string // contains filtered or unexported fields }
func (*Region) GetServiceById ¶
func (*Region) GetServiceIds ¶
func (*Region) GetServiceInstanceById ¶
func (r *Region) GetServiceInstanceById(serviceId, instanceId string) ServiceInstance
func (*Region) GetServiceInstanceData ¶
func (*Region) GetServiceInstanceIds ¶
func (*Region) UpdateServiceInstances ¶
type S3Instance ¶
type S3Instance struct {
BaseInstance
}
func (*S3Instance) GetData ¶
func (s *S3Instance) GetData() string
func (*S3Instance) GetId ¶
func (s *S3Instance) GetId() string
func (*S3Instance) SetData ¶
func (s *S3Instance) SetData(data interface{})
func (*S3Instance) SetId ¶
func (s *S3Instance) SetId(id string)
type Service ¶
type Service struct { Id string // contains filtered or unexported fields }
func (*Service) SetServiceInstances ¶
func (s *Service) SetServiceInstances(serviceInstances []ServiceInstance)
func (*Service) UpdateServiceInstance ¶
func (s *Service) UpdateServiceInstance(serviceInstance ServiceInstance)
type ServiceInstance ¶
type ServiceInstanceListFactory ¶
type ServiceInstanceListFactory func(awsSession *session.Session) []ServiceInstance
Click to show internal directories.
Click to hide internal directories.