Documentation ¶
Index ¶
- Constants
- Variables
- func NewCreateCmd() *cobra.Command
- func NewCreateWorkloadIdentityConfiguration() *cobra.Command
- func NewDeleteCmd() *cobra.Command
- func NewDeleteWorkloadIdentityConfiguration() *cobra.Command
- func NewDescribeCmd() *cobra.Command
- func NewDescribeWorkloadIdentityConfiguration() *cobra.Command
- func NewGcpCmd() *cobra.Command
- func NewGetCmd() *cobra.Command
- func NewGetWorkloadIdentityConfiguration() *cobra.Command
- func NewListCmd() *cobra.Command
- func NewListWorkloadIdentityConfiguration() *cobra.Command
- func NewUpdateCmd() *cobra.Command
- func NewUpdateWorkloadIdentityConfiguration() *cobra.Command
- type GcpClientWifConfigShim
- type GcpClientWifConfigShimSpec
Constants ¶
View Source
const ( ModeAuto = "auto" ModeManual = "manual" )
Variables ¶
View Source
var ( // CreateWifConfigOpts captures the options that affect creation of the workload identity configuration CreateWifConfigOpts = options{ Mode: ModeAuto, Name: "", Project: "", RolePrefix: "", TargetDir: "", } )
View Source
var ( // DeleteWifConfigOpts captures the options that affect creation of the workload identity configuration DeleteWifConfigOpts = options{ Mode: ModeAuto, TargetDir: "", } )
View Source
var GetWorkloadIdentityConfigurationOpts struct { // contains filtered or unexported fields }
View Source
var ListWorkloadIdentityConfigurationOpts struct { // contains filtered or unexported fields }
View Source
var Modes = []string{ModeAuto, ModeManual}
View Source
var ( UpdateWifConfigOpts = options{ Mode: ModeAuto, TargetDir: "", } )
Functions ¶
func NewCreateCmd ¶
NewCreateCmd implements the "create" subcommand
func NewCreateWorkloadIdentityConfiguration ¶
NewCreateWorkloadIdentityConfiguration provides the "gcp create wif-config" subcommand
func NewDeleteCmd ¶
NewDeleteCmd implements the "delete" subcommand
func NewDeleteWorkloadIdentityConfiguration ¶
NewDeleteWorkloadIdentityConfiguration provides the "gcp delete wif-config" subcommand
func NewDescribeCmd ¶
NewDescribeCmd implements the "describe" subcommand
func NewDescribeWorkloadIdentityConfiguration ¶
NewDescribeWorkloadIdentityConfiguration provides the "gcp describe wif-config" subcommand
func NewListWorkloadIdentityConfiguration ¶
NewListWorkloadIdentityConfiguration provides the "gcp list wif-config" subcommand
func NewUpdateCmd ¶
NewUpdateCmd implements the "update" subcommand
func NewUpdateWorkloadIdentityConfiguration ¶
NewUpdateWorkloadIdentityConfiguration provides the "gcp update wif-config" subcommand
Types ¶
type GcpClientWifConfigShim ¶ added in v0.1.76
type GcpClientWifConfigShim interface { CreateServiceAccounts(ctx context.Context, log *log.Logger) error CreateWorkloadIdentityPool(ctx context.Context, log *log.Logger) error CreateWorkloadIdentityProvider(ctx context.Context, log *log.Logger) error GrantSupportAccess(ctx context.Context, log *log.Logger) error }
func NewGcpClientWifConfigShim ¶ added in v0.1.76
func NewGcpClientWifConfigShim(spec GcpClientWifConfigShimSpec) GcpClientWifConfigShim
Click to show internal directories.
Click to hide internal directories.