sec_ware_open_controller

package
v1.2.7 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2026 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

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

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

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

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

WithContext adds the context to the get scan result using g e t params

func (*GetScanResultUsingGETParams) WithHTTPClient

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

WithTimeout adds the timeout to the get scan result using g e t params

func (*GetScanResultUsingGETParams) WriteToRequest

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

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

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

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

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

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

WithChainID adds the chainID to the scan address using g e t params

func (*ScanAddressUsingGETParams) WithContext

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

WithTimeout adds the timeout to the scan address using g e t params

func (*ScanAddressUsingGETParams) WriteToRequest

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

Jump to

Keyboard shortcuts

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