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
Click to show internal directories.
Click to hide internal directories.