Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Cmd = &cobra.Command{
Use: "batch",
Short: "Utilities for managing funnel resources on AWS Batch",
}
Cmd represents the aws batch command
Functions ¶
This section is empty.
Types ¶
type AssumeRolePolicy ¶
type AssumeRolePolicy struct { Version string Statement []RoleStatement }
AssumeRolePolicy represents an AWS policy
type ComputeEnvConfig ¶
type ComputeEnvConfig struct { Name string MinVCPUs int64 MaxVCPUs int64 SecurityGroupIds []string Subnets []string Tags map[string]string ServiceRole string InstanceRole string InstanceTypes []string }
ComputeEnvConfig represents configuration of the AWS Batch Compute Environment.
type Config ¶
type Config struct { AWS config.AWSConfig ComputeEnv ComputeEnvConfig JobQueue JobQueueConfig JobDef JobDefinitionConfig JobRole JobRoleConfig FunnelWorker config.Worker }
Config represents configuration of the AWS proxy, including the compute environment, job queue, and base job definition.
func DefaultConfig ¶
func DefaultConfig() Config
DefaultConfig returns default configuration of for AWS Batch resource creation.
type JobDefinitionConfig ¶
type JobDefinitionConfig struct { Name string Image string MemoryMiB int64 VCPUs int64 JobRoleArn string }
JobDefinitionConfig represents configuration of the AWS Batch Job Definition
type JobQueueConfig ¶
JobQueueConfig represents configuration of the AWS Batch Job Queue.
type JobRoleConfig ¶
type JobRoleConfig struct { RoleName string S3PolicyName string DynamoDBPolicyName string Policies struct { AssumeRole AssumeRolePolicy S3 Policy DynamoDB Policy } }
JobRoleConfig represents configuration of the AWS Batch JobRole.
type RoleStatement ¶
RoleStatement represents an AWS policy statement
Click to show internal directories.
Click to hide internal directories.