Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HostInterface ¶
type HostInterface interface { GetHostByID(ctx context.Context, hostID string, h util.Headers) (resp *api.BKAPIRsp, err error) GetHosts(ctx context.Context, h util.Headers, opt *commondata.ObjQueryInput) (resp *api.BKAPIRsp, err error) AddHost(ctx context.Context, h util.Headers, dat interface{}) (resp *api.BKAPIRsp, err error) GetHostSnap(ctx context.Context, hostID string, h util.Headers) (resp *api.BKAPIRsp, err error) }
func NewHostInterface ¶
func NewHostInterface(client rest.ClientInterface) HostInterface
Click to show internal directories.
Click to hide internal directories.