Documentation
¶
Index ¶
- type Securityservice
- func (p *Securityservice) GetCheckItem(body string, query url.Values) (r *security.GetCheckItemResponse, statusCode int, err error)
- func (p *Securityservice) GetCronScan(body string, query url.Values) (r *security.GetCronScanResponse, statusCode int, err error)
- func (p *Securityservice) ListBenchmarks(body string, query url.Values) (r *security.ListBenchmarksResponse, statusCode int, err error)
- func (p *Securityservice) ListCheckItems(body string, query url.Values) (r *security.ListCheckItemsResponse, statusCode int, err error)
- func (p *Securityservice) ListNodeReports(body string, query url.Values) (r *security.ListNodeReportsResponse, statusCode int, err error)
- func (p *Securityservice) StartNodeScan(body string, query url.Values) (r *common.EmptyResponse, statusCode int, err error)
- func (p *Securityservice) StartScan(body string, query url.Values) (r *common.EmptyResponse, statusCode int, err error)
- func (p *Securityservice) UpdateCronScan(body string, query url.Values) (r *common.EmptyResponse, statusCode int, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Securityservice ¶
Securityservice is a base client
func NewAPIClient ¶
func NewAPIClient(ak, sk, host, service, region string, fake bool) *Securityservice
NewAPIClient returns an api client object
func (*Securityservice) GetCheckItem ¶
func (p *Securityservice) GetCheckItem(body string, query url.Values) (r *security.GetCheckItemResponse, statusCode int, err error)
func (*Securityservice) GetCronScan ¶
func (p *Securityservice) GetCronScan(body string, query url.Values) (r *security.GetCronScanResponse, statusCode int, err error)
func (*Securityservice) ListBenchmarks ¶
func (p *Securityservice) ListBenchmarks(body string, query url.Values) (r *security.ListBenchmarksResponse, statusCode int, err error)
func (*Securityservice) ListCheckItems ¶
func (p *Securityservice) ListCheckItems(body string, query url.Values) (r *security.ListCheckItemsResponse, statusCode int, err error)
func (*Securityservice) ListNodeReports ¶
func (p *Securityservice) ListNodeReports(body string, query url.Values) (r *security.ListNodeReportsResponse, statusCode int, err error)
func (*Securityservice) StartNodeScan ¶
func (p *Securityservice) StartNodeScan(body string, query url.Values) (r *common.EmptyResponse, statusCode int, err error)
func (*Securityservice) StartScan ¶
func (p *Securityservice) StartScan(body string, query url.Values) (r *common.EmptyResponse, statusCode int, err error)
func (*Securityservice) UpdateCronScan ¶
func (p *Securityservice) UpdateCronScan(body string, query url.Values) (r *common.EmptyResponse, statusCode int, err error)
Click to show internal directories.
Click to hide internal directories.