privilege

package
v3.0.8-rc.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2018 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PrivilegeInterface

type PrivilegeInterface interface {
	CreateUserGroup(ctx context.Context, supplierAcct string, h util.Headers, dat map[string]interface{}) (resp *api.BKAPIRsp, err error)
	DeleteUserGroup(ctx context.Context, supplierAcct string, groupID string, h util.Headers) (resp *api.BKAPIRsp, err error)
	UpdateUserGroup(ctx context.Context, supplierAcct string, groupID string, h util.Headers, dat map[string]interface{}) (resp *api.BKAPIRsp, err error)
	SearchUserGroup(ctx context.Context, supplierAcct string, h util.Headers, dat map[string]interface{}) (resp *api.BKAPIRsp, err error)
	UpdateUserGroupPrivi(ctx context.Context, supplierAcct string, groupID string, h util.Headers, dat map[string]interface{}) (resp *api.BKAPIRsp, err error)
	GetUserGroupPrivi(ctx context.Context, supplierAcct string, groupID string, h util.Headers) (resp *api.BKAPIRsp, err error)
	GetUserPrivi(ctx context.Context, supplierAcct string, userName string, h util.Headers) (resp *api.BKAPIRsp, err error)
	CreatePrivilege(ctx context.Context, supplierAcct string, objID string, propertyID string, h util.Headers) (resp *api.BKAPIRsp, err error)
	GetPrivilege(ctx context.Context, supplierAcct string, objID string, propertyID string, h util.Headers) (resp *api.BKAPIRsp, err error)
}

func NewPrivilegeInterface

func NewPrivilegeInterface(client rest.ClientInterface) PrivilegeInterface

Jump to

Keyboard shortcuts

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