group

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ApplyGroup

func ApplyGroup(grp *groupv3.Group) error

Apply group takes the group details and sends it to the core

func CreateGroup

func CreateGroup(name, description string) error

func DeleteGroup

func DeleteGroup(groupName string) error

func GetGroupByName

func GetGroupByName(groupName string) (*groupv3.Group, error)

func ListGroupsWithCmd

func ListGroupsWithCmd(cmd *cobra.Command) (*groupv3.GroupList, error)

func ListPrint

func ListPrint(cmd *cobra.Command, jsonObj []byte) error

func NewGroupFromResponse

func NewGroupFromResponse(json_data []byte) (*groupv3.Group, error)

func Print

func Print(cmd *cobra.Command, jsonObj []byte) error

func UpdateGroup

func UpdateGroup(grp *groupv3.Group) error

Update group takes the updated group details and sends it to the core

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳