Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AuthCmd = &cobra.Command{
Use: "auth",
Short: "Authenticate with ECR",
Long: `Authenticate with the AWS ECR service and login to the ECR.`,
Run: authFunc,
}
AuthCmd represents the ECR auth commands
View Source
var EcrCmd = &cobra.Command{
Use: "ecr",
Short: "ECR related commands",
PersistentPreRun: configClient,
}
EcrCmd represents the root of the auth command
View Source
var GetAuthCmd = &cobra.Command{
Use: "get-auth",
Short: "Get ECR authentication creds",
Long: `Get the credentials for authenticating with the AWS ECR service.`,
Run: getAuthFunc,
}
GetAuthCmd represents the ECR get-auth commands
View Source
var RepoCmd = &cobra.Command{ Use: "repo <repository>", Short: "Create ECR repo", Long: `Create an ECR repo if it does not exist.`, Args: cobra.ExactArgs(1), Run: repoFunc, }
RepoCmd represents the repo command
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.