group

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2026 License: MIT Imports: 11 Imported by: 0

Documentation

Overview

Command construction is serialized by the agent dispatcher.

Package group implements group-related CLI subcommands.

Index

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 GroupCreate

func GroupCreate(cmd *cobra.Command, args []string) error

func GroupDelete

func GroupDelete(cmd *cobra.Command, args []string) error

func GroupGet

func GroupGet(cmd *cobra.Command, args []string) error

func GroupList

func GroupList(cmd *cobra.Command, args []string) error

func GroupUpdate

func GroupUpdate(cmd *cobra.Command, args []string) error

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"`
}

Jump to

Keyboard shortcuts

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