Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateCmd ¶
type CreateCmd struct {
ClusterUUID string `help:"The UUID of the cluster" required:"" name:"cluster-uuid"`
Key string `help:"The key name for the secret (e.g. MY_SECRET)" required:""`
Value string `` /* 126-byte string literal not displayed */
ValueFile string `` /* 142-byte string literal not displayed */
Description string `help:"A description of the secret" optional:""`
Policy string `help:"The access policy for the secret (YAML format)" optional:""`
output.OutputFlags
}
type DeleteCmd ¶
type GetCmd ¶
type GetCmd struct {
ClusterUUID string `help:"The UUID of the cluster" required:"" name:"cluster-uuid"`
SecretID string `help:"The UUID of the secret to view" required:"" name:"secret-id"`
output.OutputFlags
}
type ListCmd ¶
type ListCmd struct {
ClusterUUID string `help:"The UUID of the cluster to list secrets for" required:"" name:"cluster-uuid"`
output.OutputFlags
}
type MigrateGitHubActionsCmd ¶ added in v3.59.0
type MigrateGitHubActionsCmd struct {
Prepare MigrateGitHubActionsPrepareCmd `cmd:"" help:"Prepare a reviewed GitHub Actions migration workflow."`
Run MigrateGitHubActionsRunCmd `cmd:"" help:"Verify and dispatch a prepared migration workflow."`
}
type MigrateGitHubActionsPrepareCmd ¶ added in v3.59.0
type MigrateGitHubActionsPrepareCmd struct {
Organization string `help:"Destination Buildkite organization slug."`
Cluster string `help:"Assert the destination cluster UUID."`
Pipeline string `help:"Destination Buildkite pipeline slug."`
PolicyFile string `help:"Buildkite secret access policy YAML file." type:"path"`
SecretNames []string `help:"Exact GitHub Actions secret name to migrate (repeatable)." name:"secret"`
Matches []string `help:"Glob matching GitHub Actions secret names (repeatable)." name:"match"`
Output string `help:"Write the workflow without replacing an existing file." type:"path"`
}
func (*MigrateGitHubActionsPrepareCmd) Run ¶ added in v3.59.0
func (c *MigrateGitHubActionsPrepareCmd) Run(kongCtx *kong.Context, globals cli.GlobalFlags) error
type MigrateGitHubActionsRunCmd ¶ added in v3.59.0
type MigrateGitHubActionsRunCmd struct {
Workflow string `help:"Prepared workflow committed to the repository default branch." required:"" type:"path"`
}
func (*MigrateGitHubActionsRunCmd) Run ¶ added in v3.59.0
func (c *MigrateGitHubActionsRunCmd) Run(kongCtx *kong.Context, globals cli.GlobalFlags) error
type UpdateCmd ¶
type UpdateCmd struct {
ClusterUUID string `help:"The UUID of the cluster" required:"" name:"cluster-uuid"`
SecretID string `help:"The UUID of the secret to update" required:"" name:"secret-id"`
Description string `help:"Update the description of the secret" optional:""`
Policy string `help:"Update the access policy for the secret (YAML format)" optional:""`
UpdateValue bool `help:"Prompt to update the secret value" optional:"" name:"update-value"`
output.OutputFlags
}
Click to show internal directories.
Click to hide internal directories.