user

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UserInterface

type UserInterface interface {
	AddUserConfig(ctx context.Context, h util.Headers, dat map[string]interface{}) (resp *api.BKAPIRsp, err error)
	UpdateUserConfig(ctx context.Context, businessID string, id string, h util.Headers, dat map[string]interface{}) (resp *api.BKAPIRsp, err error)
	DeleteUserConfig(ctx context.Context, businessID string, id string, h util.Headers) (resp *api.BKAPIRsp, err error)
	GetUserConfig(ctx context.Context, h util.Headers, opt *commondata.ObjQueryInput) (resp *api.BKAPIRsp, err error)
	GetUserConfigDetail(ctx context.Context, businessID string, id string, h util.Headers) (resp *api.BKAPIRsp, err error)

	AddUserCustom(ctx context.Context, user string, h util.Headers, dat map[string]interface{}) (resp *api.BKAPIRsp, err error)
	UpdateUserCustomByID(ctx context.Context, user string, id string, h util.Headers, dat map[string]interface{}) (resp *api.BKAPIRsp, err error)
	GetUserCustomByUser(ctx context.Context, user string, h util.Headers) (resp *api.BKAPIRsp, err error)
	GetDefaultUserCustom(ctx context.Context, user string, h util.Headers) (resp *api.BKAPIRsp, err error)
}

func NewUserInterface

func NewUserInterface(client rest.ClientInterface) UserInterface

Jump to

Keyboard shortcuts

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