role

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: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ApplyRole

func ApplyRole(r *rolev3.Role) error

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

func CreateRole

func CreateRole(r *rolev3.Role) error

func DeleteRole

func DeleteRole(name string) error

func GetRoleByName

func GetRoleByName(name string) (*rolev3.Role, error)

func ListRolesWithCmd

func ListRolesWithCmd(cmd *cobra.Command) (*rolev3.RoleList, error)

func NewRoleFromResponse

func NewRoleFromResponse(json_data []byte) (*rolev3.Role, error)

func Print

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

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 🇻🇳