Documentation
¶
Index ¶
- type AwsClient
- type BatchRepository
- func (r *BatchRepository) GetRegion() ptypes.AwsRegion
- func (r *BatchRepository) ListComputeEnvironmentAll() ([]ComputeEnvironment, error)
- func (r *BatchRepository) ListComputeEnvironmentByInput(query *batch.DescribeComputeEnvironmentsInput) ([]ComputeEnvironment, error)
- func (r *BatchRepository) ListJobQueueAll() ([]JobQueue, error)
- func (r *BatchRepository) ListJobQueueByInput(query *batch.DescribeJobQueuesInput) ([]JobQueue, error)
- type ComputeEnvironment
- type ComputeEnvironmentList
- type JobQueue
- type JobQueueList
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BatchRepository ¶
type BatchRepository struct {
// contains filtered or unexported fields
}
func NewBatchRepository ¶
func NewBatchRepository(ctx context.Context, client AwsClient) *BatchRepository
func (*BatchRepository) GetRegion ¶
func (r *BatchRepository) GetRegion() ptypes.AwsRegion
func (*BatchRepository) ListComputeEnvironmentAll ¶
func (r *BatchRepository) ListComputeEnvironmentAll() ([]ComputeEnvironment, error)
cfg.ResourceTypeBatchComputeEnvironment
func (*BatchRepository) ListComputeEnvironmentByInput ¶
func (r *BatchRepository) ListComputeEnvironmentByInput(query *batch.DescribeComputeEnvironmentsInput) ([]ComputeEnvironment, error)
func (*BatchRepository) ListJobQueueAll ¶
func (r *BatchRepository) ListJobQueueAll() ([]JobQueue, error)
func (*BatchRepository) ListJobQueueByInput ¶
func (r *BatchRepository) ListJobQueueByInput(query *batch.DescribeJobQueuesInput) ([]JobQueue, error)
type ComputeEnvironment ¶
type ComputeEnvironment struct { service.AbstractResource types.ComputeEnvironmentDetail Tags map[string]string }
func NewComputeEnvironment ¶
func NewComputeEnvironment(client AwsClient, cenv types.ComputeEnvironmentDetail) ComputeEnvironment
func (ComputeEnvironment) GetName ¶
func (e ComputeEnvironment) GetName() string
func (ComputeEnvironment) GetTagValue ¶
func (e ComputeEnvironment) GetTagValue(tag string) string
func (ComputeEnvironment) GetTags ¶
func (e ComputeEnvironment) GetTags() map[string]string
type ComputeEnvironmentList ¶
type ComputeEnvironmentList struct {
Items []ComputeEnvironment
}
type JobQueue ¶
type JobQueue struct { service.AbstractResource types.JobQueueDetail Tags map[string]string }
func NewJobQueue ¶
func NewJobQueue(client AwsClient, jobQueue types.JobQueueDetail) JobQueue
func (JobQueue) GetTagValue ¶
type JobQueueList ¶
type JobQueueList struct {
Items []JobQueue
}
Click to show internal directories.
Click to hide internal directories.