# Packages
Package mocks is a generated GoMock package.
# Functions
AskCustomPaths prompts for user input of filepaths, which are then validated.
NewAppEnvSelector returns a selector that chooses applications or environments.
NewAppPipelineSelector returns new selectors with deployed pipelines and apps.
NewCFNSelector initializes a CFNSelector.
NewCFTaskSelect constructs a CFTaskSelector.
NewConfigSelector returns a new selector that chooses applications, environments, or services from the config store.
NewDeploySelect returns a new selector that chooses services and environments from the deploy store.
NewDockerfileSelector constructs a DockerfileSelector.
NewEC2Select returns a new selector that chooses Ec2 resources.
NewLocalEnvironmentSelector returns a new selector that chooses applications from the config store, but an environment from the local workspace.
NewLocalFileSelector constructs a LocalFileSelector.
NewLocalWorkloadSelector returns a new selector that chooses applications and environments from the config store, but services from the local workspace.
NewStaticSelector constructs a staticSelector.
NewTaskSelector returns a new selector that chooses a running task.
NewWorkspaceSelector returns a new selector that prompts for local information.
NewWsPipelineSelector returns a new selector with pipelines from the local workspace.
TaskWithAppEnv sets up the env name for TaskSelector.
TaskWithDefaultCluster sets up whether CFTaskSelector should use only the default cluster.
WithAppEnv sets up the app name and env name for TaskSelector.
WithDefault uses default cluster for TaskSelector.
WithEnv sets up the env name for DeploySelector.
WithName sets up the wkld name for DeploySelector.
WithServiceTypesFilter sets up a ServiceType filter for DeploySelector.
WithTaskGroup sets up the task group name for TaskSelector.
WithTaskID sets up the task ID for TaskSelector.
WithWkldFilter sets up filters for DeploySelector.
# Constants
DockerfilePromptUseImage is the option for using existing image instead of Dockerfile.
# Variables
ErrLocalEnvsNotFound is returned when there are no environment manifests in the workspace.
ErrSubnetsNotFound is returned when no existing subnets are found.
ErrVPCNotFound is returned when no existing VPCs are found.
OnlyInitializedWorkloads modifies LocalWorkloadSelector to show only the initialized workloads in the workspace, ignoring uninitialized workloads with local manifests.
# Structs
AppEnvSelector prompts users to select the name of an application or environment.
AppPipelineSelector is a selector for deployed pipelines and apps.
CFNSelector represents a selector for a CloudFormation template.
CFTaskSelector is a selector based on CF methods to get deployed one off tasks.
CodePipelineSelector is a selector for deployed pipelines.
ConfigSelector is an application and environment selector, but can also choose a service from the config store.
CredsSelect prompts users for credentials.
DeployedJob contains the name and environment of the deployed job.
DeployedService contains the name and environment of the deployed service.
DeployedWorkload contains the name and environment name of the deployed workload.
DeploySelector is a service and environment selector from the deploy store.
EC2Select is a selector for Ec2 resources.
LocalEnvironmentSelector is an application and environment selector, but can also choose an environment from the workspace.
LocalWorkloadSelector is an application and environment selector, but can also choose a service from the workspace.
SubnetsInput holds the arguments for the subnet selector.
TaskSelector is a Copilot running task selector.
WorkspaceSelector selects from local workspace.
WsPipelineSelector is a workspace pipeline selector.
# Interfaces
Names wraps the method that returns a list of names.
Prompter wraps the methods to ask for inputs from the terminal.
SessionProvider wraps the methods to create AWS sessions.
VPCSubnetLister list VPCs and subnets.
# Type aliases
DeployedWorkloadFilter determines if a service or job should be included in the results.
GetDeployedTaskOpts sets up optional parameters for GetDeployedTaskOpts function.
GetDeployedWorkloadOpts sets up optional parameters for GetDeployedWorkloadOpts function.
TaskOpts sets up optional parameters for Task function.
WorkloadSelectOption represents an option for customizing LocalWorkloadSelector's behavior.