Documentation
¶
Index ¶
- type Client
- type ClientService
- type GetScanResultUsingGETForbidden
- type GetScanResultUsingGETNotFound
- type GetScanResultUsingGETOK
- type GetScanResultUsingGETParams
- func NewGetScanResultUsingGETParams() *GetScanResultUsingGETParams
- func NewGetScanResultUsingGETParamsWithContext(ctx context.Context) *GetScanResultUsingGETParams
- func NewGetScanResultUsingGETParamsWithHTTPClient(client *http.Client) *GetScanResultUsingGETParams
- func NewGetScanResultUsingGETParamsWithTimeout(timeout time.Duration) *GetScanResultUsingGETParams
- func (o *GetScanResultUsingGETParams) SetAuthorization(authorization *string)
- func (o *GetScanResultUsingGETParams) SetContext(ctx context.Context)
- func (o *GetScanResultUsingGETParams) SetHTTPClient(client *http.Client)
- func (o *GetScanResultUsingGETParams) SetRequestID(requestID string)
- func (o *GetScanResultUsingGETParams) SetTimeout(timeout time.Duration)
- func (o *GetScanResultUsingGETParams) WithAuthorization(authorization *string) *GetScanResultUsingGETParams
- func (o *GetScanResultUsingGETParams) WithContext(ctx context.Context) *GetScanResultUsingGETParams
- func (o *GetScanResultUsingGETParams) WithHTTPClient(client *http.Client) *GetScanResultUsingGETParams
- func (o *GetScanResultUsingGETParams) WithRequestID(requestID string) *GetScanResultUsingGETParams
- func (o *GetScanResultUsingGETParams) WithTimeout(timeout time.Duration) *GetScanResultUsingGETParams
- func (o *GetScanResultUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetScanResultUsingGETReader
- type GetScanResultUsingGETUnauthorized
- type ScanAddressUsingGETForbidden
- type ScanAddressUsingGETNotFound
- type ScanAddressUsingGETOK
- type ScanAddressUsingGETParams
- func NewScanAddressUsingGETParams() *ScanAddressUsingGETParams
- func NewScanAddressUsingGETParamsWithContext(ctx context.Context) *ScanAddressUsingGETParams
- func NewScanAddressUsingGETParamsWithHTTPClient(client *http.Client) *ScanAddressUsingGETParams
- func NewScanAddressUsingGETParamsWithTimeout(timeout time.Duration) *ScanAddressUsingGETParams
- func (o *ScanAddressUsingGETParams) SetAddress(address string)
- func (o *ScanAddressUsingGETParams) SetAuthorization(authorization *string)
- func (o *ScanAddressUsingGETParams) SetChainID(chainID string)
- func (o *ScanAddressUsingGETParams) SetContext(ctx context.Context)
- func (o *ScanAddressUsingGETParams) SetHTTPClient(client *http.Client)
- func (o *ScanAddressUsingGETParams) SetTimeout(timeout time.Duration)
- func (o *ScanAddressUsingGETParams) WithAddress(address string) *ScanAddressUsingGETParams
- func (o *ScanAddressUsingGETParams) WithAuthorization(authorization *string) *ScanAddressUsingGETParams
- func (o *ScanAddressUsingGETParams) WithChainID(chainID string) *ScanAddressUsingGETParams
- func (o *ScanAddressUsingGETParams) WithContext(ctx context.Context) *ScanAddressUsingGETParams
- func (o *ScanAddressUsingGETParams) WithHTTPClient(client *http.Client) *ScanAddressUsingGETParams
- func (o *ScanAddressUsingGETParams) WithTimeout(timeout time.Duration) *ScanAddressUsingGETParams
- func (o *ScanAddressUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ScanAddressUsingGETReader
- type ScanAddressUsingGETUnauthorized
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for sec ware open controller API
func (*Client) GetScanResultUsingGET ¶
func (a *Client) GetScanResultUsingGET(params *GetScanResultUsingGETParams) (*GetScanResultUsingGETOK, error)
GetScanResultUsingGET gets address scan result
func (*Client) ScanAddressUsingGET ¶
func (a *Client) ScanAddressUsingGET(params *ScanAddressUsingGETParams) (*ScanAddressUsingGETOK, error)
ScanAddressUsingGET starts address security scan
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface {
GetScanResultUsingGET(params *GetScanResultUsingGETParams) (*GetScanResultUsingGETOK, error)
ScanAddressUsingGET(params *ScanAddressUsingGETParams) (*ScanAddressUsingGETOK, error)
SetTransport(transport runtime.ClientTransport)
}
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new sec ware open controller API client.
type GetScanResultUsingGETForbidden ¶
type GetScanResultUsingGETForbidden struct {
}
GetScanResultUsingGETForbidden handles this case with default header values.
Forbidden
func NewGetScanResultUsingGETForbidden ¶
func NewGetScanResultUsingGETForbidden() *GetScanResultUsingGETForbidden
NewGetScanResultUsingGETForbidden creates a GetScanResultUsingGETForbidden with default headers values
func (*GetScanResultUsingGETForbidden) Error ¶
func (o *GetScanResultUsingGETForbidden) Error() string
type GetScanResultUsingGETNotFound ¶
type GetScanResultUsingGETNotFound struct {
}
GetScanResultUsingGETNotFound handles this case with default header values.
Not Found
func NewGetScanResultUsingGETNotFound ¶
func NewGetScanResultUsingGETNotFound() *GetScanResultUsingGETNotFound
NewGetScanResultUsingGETNotFound creates a GetScanResultUsingGETNotFound with default headers values
func (*GetScanResultUsingGETNotFound) Error ¶
func (o *GetScanResultUsingGETNotFound) Error() string
type GetScanResultUsingGETOK ¶
type GetScanResultUsingGETOK struct {
Payload *models.ResponseWrapperGetScanResult
}
GetScanResultUsingGETOK handles this case with default header values.
OK
func NewGetScanResultUsingGETOK ¶
func NewGetScanResultUsingGETOK() *GetScanResultUsingGETOK
NewGetScanResultUsingGETOK creates a GetScanResultUsingGETOK with default headers values
func (*GetScanResultUsingGETOK) Error ¶
func (o *GetScanResultUsingGETOK) Error() string
func (*GetScanResultUsingGETOK) GetPayload ¶
func (o *GetScanResultUsingGETOK) GetPayload() *models.ResponseWrapperGetScanResult
type GetScanResultUsingGETParams ¶
type GetScanResultUsingGETParams struct {
/*Authorization
Authorization (test:Bearer 81|9ihH8JzEuFu4MQ9DjWmH5WrNCPW...)
*/
Authorization *string
/*RequestID
request_id
*/
RequestID string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetScanResultUsingGETParams contains all the parameters to send to the API endpoint for the get scan result using g e t operation typically these are written to a http.Request
func NewGetScanResultUsingGETParams ¶
func NewGetScanResultUsingGETParams() *GetScanResultUsingGETParams
NewGetScanResultUsingGETParams creates a new GetScanResultUsingGETParams object with the default values initialized.
func NewGetScanResultUsingGETParamsWithContext ¶
func NewGetScanResultUsingGETParamsWithContext(ctx context.Context) *GetScanResultUsingGETParams
NewGetScanResultUsingGETParamsWithContext creates a new GetScanResultUsingGETParams object with the default values initialized, and the ability to set a context for a request
func NewGetScanResultUsingGETParamsWithHTTPClient ¶
func NewGetScanResultUsingGETParamsWithHTTPClient(client *http.Client) *GetScanResultUsingGETParams
NewGetScanResultUsingGETParamsWithHTTPClient creates a new GetScanResultUsingGETParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetScanResultUsingGETParamsWithTimeout ¶
func NewGetScanResultUsingGETParamsWithTimeout(timeout time.Duration) *GetScanResultUsingGETParams
NewGetScanResultUsingGETParamsWithTimeout creates a new GetScanResultUsingGETParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetScanResultUsingGETParams) SetAuthorization ¶
func (o *GetScanResultUsingGETParams) SetAuthorization(authorization *string)
SetAuthorization adds the authorization to the get scan result using g e t params
func (*GetScanResultUsingGETParams) SetContext ¶
func (o *GetScanResultUsingGETParams) SetContext(ctx context.Context)
SetContext adds the context to the get scan result using g e t params
func (*GetScanResultUsingGETParams) SetHTTPClient ¶
func (o *GetScanResultUsingGETParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get scan result using g e t params
func (*GetScanResultUsingGETParams) SetRequestID ¶
func (o *GetScanResultUsingGETParams) SetRequestID(requestID string)
SetRequestID adds the requestId to the get scan result using g e t params
func (*GetScanResultUsingGETParams) SetTimeout ¶
func (o *GetScanResultUsingGETParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get scan result using g e t params
func (*GetScanResultUsingGETParams) WithAuthorization ¶
func (o *GetScanResultUsingGETParams) WithAuthorization(authorization *string) *GetScanResultUsingGETParams
WithAuthorization adds the authorization to the get scan result using g e t params
func (*GetScanResultUsingGETParams) WithContext ¶
func (o *GetScanResultUsingGETParams) WithContext(ctx context.Context) *GetScanResultUsingGETParams
WithContext adds the context to the get scan result using g e t params
func (*GetScanResultUsingGETParams) WithHTTPClient ¶
func (o *GetScanResultUsingGETParams) WithHTTPClient(client *http.Client) *GetScanResultUsingGETParams
WithHTTPClient adds the HTTPClient to the get scan result using g e t params
func (*GetScanResultUsingGETParams) WithRequestID ¶
func (o *GetScanResultUsingGETParams) WithRequestID(requestID string) *GetScanResultUsingGETParams
WithRequestID adds the requestID to the get scan result using g e t params
func (*GetScanResultUsingGETParams) WithTimeout ¶
func (o *GetScanResultUsingGETParams) WithTimeout(timeout time.Duration) *GetScanResultUsingGETParams
WithTimeout adds the timeout to the get scan result using g e t params
func (*GetScanResultUsingGETParams) WriteToRequest ¶
func (o *GetScanResultUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetScanResultUsingGETReader ¶
type GetScanResultUsingGETReader struct {
// contains filtered or unexported fields
}
GetScanResultUsingGETReader is a Reader for the GetScanResultUsingGET structure.
func (*GetScanResultUsingGETReader) ReadResponse ¶
func (o *GetScanResultUsingGETReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetScanResultUsingGETUnauthorized ¶
type GetScanResultUsingGETUnauthorized struct {
}
GetScanResultUsingGETUnauthorized handles this case with default header values.
Unauthorized
func NewGetScanResultUsingGETUnauthorized ¶
func NewGetScanResultUsingGETUnauthorized() *GetScanResultUsingGETUnauthorized
NewGetScanResultUsingGETUnauthorized creates a GetScanResultUsingGETUnauthorized with default headers values
func (*GetScanResultUsingGETUnauthorized) Error ¶
func (o *GetScanResultUsingGETUnauthorized) Error() string
type ScanAddressUsingGETForbidden ¶
type ScanAddressUsingGETForbidden struct {
}
ScanAddressUsingGETForbidden handles this case with default header values.
Forbidden
func NewScanAddressUsingGETForbidden ¶
func NewScanAddressUsingGETForbidden() *ScanAddressUsingGETForbidden
NewScanAddressUsingGETForbidden creates a ScanAddressUsingGETForbidden with default headers values
func (*ScanAddressUsingGETForbidden) Error ¶
func (o *ScanAddressUsingGETForbidden) Error() string
type ScanAddressUsingGETNotFound ¶
type ScanAddressUsingGETNotFound struct {
}
ScanAddressUsingGETNotFound handles this case with default header values.
Not Found
func NewScanAddressUsingGETNotFound ¶
func NewScanAddressUsingGETNotFound() *ScanAddressUsingGETNotFound
NewScanAddressUsingGETNotFound creates a ScanAddressUsingGETNotFound with default headers values
func (*ScanAddressUsingGETNotFound) Error ¶
func (o *ScanAddressUsingGETNotFound) Error() string
type ScanAddressUsingGETOK ¶
type ScanAddressUsingGETOK struct {
Payload *models.ResponseWrapperOpenScanAddressResp
}
ScanAddressUsingGETOK handles this case with default header values.
OK
func NewScanAddressUsingGETOK ¶
func NewScanAddressUsingGETOK() *ScanAddressUsingGETOK
NewScanAddressUsingGETOK creates a ScanAddressUsingGETOK with default headers values
func (*ScanAddressUsingGETOK) Error ¶
func (o *ScanAddressUsingGETOK) Error() string
func (*ScanAddressUsingGETOK) GetPayload ¶
func (o *ScanAddressUsingGETOK) GetPayload() *models.ResponseWrapperOpenScanAddressResp
type ScanAddressUsingGETParams ¶
type ScanAddressUsingGETParams struct {
/*Authorization
Authorization (test:Bearer 81|9ihH8JzEuFu4MQ9DjWmH5WrNCPW...)
*/
Authorization *string
/*Address
address
*/
Address string
/*ChainID
chain_id
*/
ChainID string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
ScanAddressUsingGETParams contains all the parameters to send to the API endpoint for the scan address using g e t operation typically these are written to a http.Request
func NewScanAddressUsingGETParams ¶
func NewScanAddressUsingGETParams() *ScanAddressUsingGETParams
NewScanAddressUsingGETParams creates a new ScanAddressUsingGETParams object with the default values initialized.
func NewScanAddressUsingGETParamsWithContext ¶
func NewScanAddressUsingGETParamsWithContext(ctx context.Context) *ScanAddressUsingGETParams
NewScanAddressUsingGETParamsWithContext creates a new ScanAddressUsingGETParams object with the default values initialized, and the ability to set a context for a request
func NewScanAddressUsingGETParamsWithHTTPClient ¶
func NewScanAddressUsingGETParamsWithHTTPClient(client *http.Client) *ScanAddressUsingGETParams
NewScanAddressUsingGETParamsWithHTTPClient creates a new ScanAddressUsingGETParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewScanAddressUsingGETParamsWithTimeout ¶
func NewScanAddressUsingGETParamsWithTimeout(timeout time.Duration) *ScanAddressUsingGETParams
NewScanAddressUsingGETParamsWithTimeout creates a new ScanAddressUsingGETParams object with the default values initialized, and the ability to set a timeout on a request
func (*ScanAddressUsingGETParams) SetAddress ¶
func (o *ScanAddressUsingGETParams) SetAddress(address string)
SetAddress adds the address to the scan address using g e t params
func (*ScanAddressUsingGETParams) SetAuthorization ¶
func (o *ScanAddressUsingGETParams) SetAuthorization(authorization *string)
SetAuthorization adds the authorization to the scan address using g e t params
func (*ScanAddressUsingGETParams) SetChainID ¶
func (o *ScanAddressUsingGETParams) SetChainID(chainID string)
SetChainID adds the chainId to the scan address using g e t params
func (*ScanAddressUsingGETParams) SetContext ¶
func (o *ScanAddressUsingGETParams) SetContext(ctx context.Context)
SetContext adds the context to the scan address using g e t params
func (*ScanAddressUsingGETParams) SetHTTPClient ¶
func (o *ScanAddressUsingGETParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the scan address using g e t params
func (*ScanAddressUsingGETParams) SetTimeout ¶
func (o *ScanAddressUsingGETParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the scan address using g e t params
func (*ScanAddressUsingGETParams) WithAddress ¶
func (o *ScanAddressUsingGETParams) WithAddress(address string) *ScanAddressUsingGETParams
WithAddress adds the address to the scan address using g e t params
func (*ScanAddressUsingGETParams) WithAuthorization ¶
func (o *ScanAddressUsingGETParams) WithAuthorization(authorization *string) *ScanAddressUsingGETParams
WithAuthorization adds the authorization to the scan address using g e t params
func (*ScanAddressUsingGETParams) WithChainID ¶
func (o *ScanAddressUsingGETParams) WithChainID(chainID string) *ScanAddressUsingGETParams
WithChainID adds the chainID to the scan address using g e t params
func (*ScanAddressUsingGETParams) WithContext ¶
func (o *ScanAddressUsingGETParams) WithContext(ctx context.Context) *ScanAddressUsingGETParams
WithContext adds the context to the scan address using g e t params
func (*ScanAddressUsingGETParams) WithHTTPClient ¶
func (o *ScanAddressUsingGETParams) WithHTTPClient(client *http.Client) *ScanAddressUsingGETParams
WithHTTPClient adds the HTTPClient to the scan address using g e t params
func (*ScanAddressUsingGETParams) WithTimeout ¶
func (o *ScanAddressUsingGETParams) WithTimeout(timeout time.Duration) *ScanAddressUsingGETParams
WithTimeout adds the timeout to the scan address using g e t params
func (*ScanAddressUsingGETParams) WriteToRequest ¶
func (o *ScanAddressUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ScanAddressUsingGETReader ¶
type ScanAddressUsingGETReader struct {
// contains filtered or unexported fields
}
ScanAddressUsingGETReader is a Reader for the ScanAddressUsingGET structure.
func (*ScanAddressUsingGETReader) ReadResponse ¶
func (o *ScanAddressUsingGETReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ScanAddressUsingGETUnauthorized ¶
type ScanAddressUsingGETUnauthorized struct {
}
ScanAddressUsingGETUnauthorized handles this case with default header values.
Unauthorized
func NewScanAddressUsingGETUnauthorized ¶
func NewScanAddressUsingGETUnauthorized() *ScanAddressUsingGETUnauthorized
NewScanAddressUsingGETUnauthorized creates a ScanAddressUsingGETUnauthorized with default headers values
func (*ScanAddressUsingGETUnauthorized) Error ¶
func (o *ScanAddressUsingGETUnauthorized) Error() string