security

package
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 7, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Securityservice

type Securityservice struct {
	Client client.Client
}

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)

Jump to

Keyboard shortcuts

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