group

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var GroupCreateCmd = &cobra.Command{
	Use:   "group",
	Short: "Creates a Passbolt Group",
	Long:  `Creates a Passbolt Group and Returns the Groups ID`,
	RunE:  GroupCreate,
}

GroupCreateCmd Creates a Passbolt Group

View Source
var GroupDeleteCmd = &cobra.Command{
	Use:   "group",
	Short: "Deletes a Passbolt Group",
	Long:  `Deletes a Passbolt Group`,
	RunE:  GroupDelete,
}

GroupDeleteCmd Deletes a Group

View Source
var GroupGetCmd = &cobra.Command{
	Use:   "group",
	Short: "Gets a Passbolt Group",
	Long:  `Gets a Passbolt Group`,
	RunE:  GroupGet,
}

GroupGetCmd Gets a Passbolt Group

View Source
var GroupListCmd = &cobra.Command{
	Use:     "group",
	Short:   "Lists Passbolt Groups",
	Long:    `Lists Passbolt Groups`,
	Aliases: []string{"groups"},
	RunE:    GroupList,
}

GroupListCmd Lists a Passbolt Group

View Source
var GroupUpdateCmd = &cobra.Command{
	Use:   "group",
	Short: "Updates a Passbolt Group",
	Long:  `Updates a Passbolt Group`,
	RunE:  GroupUpdate,
}

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

Types

type GroupJsonOutput added in v0.2.0

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

type GroupUserMembershipJsonOutput added in v0.2.0

type GroupUserMembershipJsonOutput struct {
	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