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 {
	CreateUserGroupPrivi(ctx context.Context, groupID string, h util.Headers, dat interface{}) (resp *api.BKAPIRsp, err error)
	UpdateUserGroupPrivi(ctx context.Context, groupID string, h util.Headers, dat interface{}) (resp *api.BKAPIRsp, err error)
	GetUserGroupPrivi(ctx context.Context, groupID string, h util.Headers) (resp *api.BKAPIRsp, err error)
	CreateRolePri(ctx context.Context, objID string, propertyID string, h util.Headers, role []string) (resp *api.BKAPIRsp, err error)
	GetRolePri(ctx context.Context, objID string, propertyID string, h util.Headers) (resp *api.BKAPIRsp, err error)
	UpdateRolePri(ctx context.Context, objID string, propertyID string, h util.Headers, role []string) (resp *api.BKAPIRsp, err error)
	GetSystemFlag(ctx context.Context, flag 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