team

package
v3.56.0 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2026 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateCmd

type CreateCmd struct {
	Name                        string `arg:"" help:"Name of the team" name:"name"`
	Description                 string `help:"Description of the team" optional:""`
	Privacy                     string `help:"Privacy setting for the team: visible or secret" optional:"" default:"visible" enum:"visible,secret"`
	Default                     bool   `help:"Whether this is the default team for new members" optional:"" name:"default"`
	DefaultMemberRole           string `` /* 138-byte string literal not displayed */
	MembersCanCreatePipelines   bool   `help:"Whether members can create pipelines" optional:"" name:"members-can-create-pipelines" default:"true" negatable:""`
	MembersCanCreateSuites      bool   `help:"Whether members can create test suites" optional:"" name:"members-can-create-suites" default:"true" negatable:""`
	MembersCanCreateRegistries  bool   `help:"Whether members can create registries" optional:"" name:"members-can-create-registries" default:"true" negatable:""`
	MembersCanDestroyRegistries bool   `help:"Whether members can destroy registries" optional:"" name:"members-can-destroy-registries" default:"false" negatable:""`
	MembersCanDestroyPackages   bool   `help:"Whether members can destroy packages" optional:"" name:"members-can-destroy-packages" default:"false" negatable:""`
	output.OutputFlags
}

func (*CreateCmd) Help

func (c *CreateCmd) Help() string

func (*CreateCmd) Run

func (c *CreateCmd) Run(kongCtx *kong.Context, globals cli.GlobalFlags) error

type DeleteCmd

type DeleteCmd struct {
	TeamUUID string `arg:"" help:"UUID of the team to delete" name:"team-uuid"`
}

func (*DeleteCmd) Help

func (c *DeleteCmd) Help() string

func (*DeleteCmd) Run

func (c *DeleteCmd) Run(kongCtx *kong.Context, globals cli.GlobalFlags) error

type ListCmd

type ListCmd struct {
	PerPage int `help:"Number of teams per page" default:"30"`
	Limit   int `help:"Maximum number of teams to return" default:"100"`
	output.OutputFlags
}

func (*ListCmd) Help

func (c *ListCmd) Help() string

func (*ListCmd) Run

func (c *ListCmd) Run(kongCtx *kong.Context, globals cli.GlobalFlags) error

func (*ListCmd) Validate

func (c *ListCmd) Validate() error

type UpdateCmd

type UpdateCmd struct {
	TeamUUID                    string  `arg:"" help:"UUID of the team to update" name:"team-uuid"`
	Name                        string  `help:"New name for the team" optional:""`
	Description                 *string `help:"New description for the team" optional:""`
	Privacy                     string  `help:"Privacy setting: visible or secret" optional:""`
	Default                     *bool   `help:"Whether this is the default team for new members" optional:"" name:"default"`
	DefaultMemberRole           string  `help:"Default role for new members: member or maintainer" optional:"" name:"default-member-role"`
	MembersCanCreatePipelines   *bool   `help:"Whether members can create pipelines" optional:"" name:"members-can-create-pipelines" negatable:""`
	MembersCanCreateSuites      *bool   `help:"Whether members can create test suites" optional:"" name:"members-can-create-suites" negatable:""`
	MembersCanCreateRegistries  *bool   `help:"Whether members can create registries" optional:"" name:"members-can-create-registries" negatable:""`
	MembersCanDestroyRegistries *bool   `help:"Whether members can destroy registries" optional:"" name:"members-can-destroy-registries" negatable:""`
	MembersCanDestroyPackages   *bool   `help:"Whether members can destroy packages" optional:"" name:"members-can-destroy-packages" negatable:""`
	output.OutputFlags
}

func (*UpdateCmd) Help

func (c *UpdateCmd) Help() string

func (*UpdateCmd) Run

func (c *UpdateCmd) Run(kongCtx *kong.Context, globals cli.GlobalFlags) error

func (*UpdateCmd) Validate

func (c *UpdateCmd) Validate() error

type ViewCmd

type ViewCmd struct {
	TeamUUID string `arg:"" help:"UUID of the team to view" name:"team-uuid"`
	output.OutputFlags
}

func (*ViewCmd) Help

func (c *ViewCmd) Help() string

func (*ViewCmd) Run

func (c *ViewCmd) Run(kongCtx *kong.Context, globals cli.GlobalFlags) error

Jump to

Keyboard shortcuts

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