host

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 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

Jump to

Keyboard shortcuts

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