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
}
type DeleteCmd ¶
type DeleteCmd struct {
TeamUUID string `arg:"" help:"UUID of the team to delete" name:"team-uuid"`
}
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
}
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
}
Click to show internal directories.
Click to hide internal directories.