cmd

package
v0.0.0-...-4e12832 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 25, 2024 License: Apache-2.0 Imports: 33 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddSpaceUsers

func AddSpaceUsers(ctx *clicontext.CommandContext, spaceName, role string, usersToAdd []string) error

func Approve

func Approve(ctx *clicontext.CommandContext, lookupUserSignup LookupUserSignup, skipPhone bool, targetCluster string) error

func Ban

func Ban(ctx *clicontext.CommandContext, args ...string) error

func CreateBannedUser

func CreateBannedUser(ctx *clicontext.CommandContext, userSignupName string, confirm func(*toolchainv1alpha1.UserSignup, *toolchainv1alpha1.BannedUser) (bool, error)) error

func CreateSocialEvent

func CreateSocialEvent(ctx *clicontext.CommandContext, startDate, endDate, description, userTier, spaceTier string, maxAttendees int, preferSameCluster bool) error

func Deactivate

func Deactivate(ctx *clicontext.CommandContext, args ...string) error

func Delete

func Delete(ctx *clicontext.CommandContext, args ...string) error

func DisableUser

func DisableUser(ctx *clicontext.CommandContext, args ...string) error

func Execute

func Execute()

Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.

func NewAddSpaceUsersCmd

func NewAddSpaceUsersCmd() *cobra.Command

func NewApproveCmd

func NewApproveCmd() *cobra.Command

func NewBanCmd

func NewBanCmd() *cobra.Command

func NewCreateSocialEventCmd

func NewCreateSocialEventCmd() *cobra.Command

func NewDeactivateCmd

func NewDeactivateCmd() *cobra.Command

func NewDescribeCmd

func NewDescribeCmd() *cobra.Command

func NewDisableUserCmd

func NewDisableUserCmd() *cobra.Command

func NewGdprDeleteCmd

func NewGdprDeleteCmd() *cobra.Command

func NewGetCmd

func NewGetCmd() *cobra.Command

func NewLogsCmd

func NewLogsCmd() *cobra.Command

func NewPromoteSpaceCmd

func NewPromoteSpaceCmd() *cobra.Command

func NewPromoteUserCmd

func NewPromoteUserCmd() *cobra.Command

func NewRemoveSpaceUsersCmd

func NewRemoveSpaceUsersCmd() *cobra.Command

func NewRetargetCmd

func NewRetargetCmd() *cobra.Command

func NewRootCmd

func NewRootCmd() *cobra.Command

func NewStatusCmd

func NewStatusCmd() *cobra.Command

func PromoteSpace

func PromoteSpace(ctx *clicontext.CommandContext, spaceName, targetTier string) error

func PromoteUser

func PromoteUser(ctx *clicontext.CommandContext, murName, targetTier string) error

func RemoveSpaceUsers

func RemoveSpaceUsers(ctx *clicontext.CommandContext, spaceName string, usersToRemove []string) error

func Retarget

func Retarget(ctx *clicontext.CommandContext, spaceName, targetCluster string) error

func Status

func Status(ctx *clicontext.CommandContext) error

Types

type LookupUserSignup

func ByEmailAddress

func ByEmailAddress(emailAddress string) LookupUserSignup

func ByName

func ByName(name string) LookupUserSignup

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL