Documentation
¶
Overview ¶
Command construction is serialized by the agent dispatcher.
Package group implements group-related CLI subcommands.
Index ¶
- Variables
- func GroupCreate(cmd *cobra.Command, args []string) error
- func GroupDelete(cmd *cobra.Command, args []string) error
- func GroupGet(cmd *cobra.Command, args []string) error
- func GroupList(cmd *cobra.Command, args []string) error
- func GroupUpdate(cmd *cobra.Command, args []string) error
- func ResetCommands()
- type GroupJSONOutput
- type GroupUserMembershipJSONOutput
Constants ¶
This section is empty.
Variables ¶
View Source
var GroupCreateCmd = makeGroupCreateCmd()
GroupCreateCmd Creates a Passbolt Group
View Source
var GroupDeleteCmd = makeGroupDeleteCmd()
GroupDeleteCmd Deletes a Group
View Source
var GroupGetCmd = makeGroupGetCmd()
GroupGetCmd Gets a Passbolt Group
View Source
var GroupListCmd = makeGroupListCmd()
GroupListCmd Lists a Passbolt Group
View Source
var GroupUpdateCmd = makeGroupUpdateCmd()
GroupUpdateCmd Updates a Passbolt Group
Functions ¶
func ResetCommands ¶ added in v0.6.0
func ResetCommands()
Types ¶
type GroupJSONOutput ¶
type GroupJSONOutput struct {
ID *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
Users []GroupUserMembershipJSONOutput `json:"users,omitempty"`
CreatedTimestamp *time.Time `json:"created_timestamp,omitempty"`
ModifiedTimestamp *time.Time `json:"modified_timestamp,omitempty"`
// Non-pointer scalars without omitempty so `false` / `0` reach output and
// remain filterable via --filter.
Deleted bool `json:"deleted"`
UserCount int `json:"user_count"`
}
type GroupUserMembershipJSONOutput ¶
type GroupUserMembershipJSONOutput struct {
MembershipID *string `json:"membership_id,omitempty"`
ID *string `json:"id,omitempty"`
Username *string `json:"username,omitempty"`
FirstName *string `json:"first_name,omitempty"`
LastName *string `json:"last_name,omitempty"`
IsGroupManager *bool `json:"is_group_manager,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.