falcon_container_cli

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2024 License: MIT Imports: 11 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 falcon container cli API

func (*Client) ReadImageVulnerabilities

func (a *Client) ReadImageVulnerabilities(params *ReadImageVulnerabilitiesParams, opts ...ClientOption) (*ReadImageVulnerabilitiesOK, error)

ReadImageVulnerabilities retrieves known vulnerabilities for the provided image

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	ReadImageVulnerabilities(params *ReadImageVulnerabilitiesParams, opts ...ClientOption) (*ReadImageVulnerabilitiesOK, 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 falcon container cli API client.

type ReadImageVulnerabilitiesForbidden

type ReadImageVulnerabilitiesForbidden struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaReplyMetaOnly
}

ReadImageVulnerabilitiesForbidden describes a response with status code 403, with default header values.

Forbidden

func NewReadImageVulnerabilitiesForbidden

func NewReadImageVulnerabilitiesForbidden() *ReadImageVulnerabilitiesForbidden

NewReadImageVulnerabilitiesForbidden creates a ReadImageVulnerabilitiesForbidden with default headers values

func (*ReadImageVulnerabilitiesForbidden) Code

Code gets the status code for the read image vulnerabilities forbidden response

func (*ReadImageVulnerabilitiesForbidden) Error

func (*ReadImageVulnerabilitiesForbidden) GetPayload

func (*ReadImageVulnerabilitiesForbidden) IsClientError

func (o *ReadImageVulnerabilitiesForbidden) IsClientError() bool

IsClientError returns true when this read image vulnerabilities forbidden response has a 4xx status code

func (*ReadImageVulnerabilitiesForbidden) IsCode

func (o *ReadImageVulnerabilitiesForbidden) IsCode(code int) bool

IsCode returns true when this read image vulnerabilities forbidden response a status code equal to that given

func (*ReadImageVulnerabilitiesForbidden) IsRedirect

func (o *ReadImageVulnerabilitiesForbidden) IsRedirect() bool

IsRedirect returns true when this read image vulnerabilities forbidden response has a 3xx status code

func (*ReadImageVulnerabilitiesForbidden) IsServerError

func (o *ReadImageVulnerabilitiesForbidden) IsServerError() bool

IsServerError returns true when this read image vulnerabilities forbidden response has a 5xx status code

func (*ReadImageVulnerabilitiesForbidden) IsSuccess

func (o *ReadImageVulnerabilitiesForbidden) IsSuccess() bool

IsSuccess returns true when this read image vulnerabilities forbidden response has a 2xx status code

func (*ReadImageVulnerabilitiesForbidden) String

type ReadImageVulnerabilitiesInternalServerError

type ReadImageVulnerabilitiesInternalServerError struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.CoreEntitiesResponse
}

ReadImageVulnerabilitiesInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewReadImageVulnerabilitiesInternalServerError

func NewReadImageVulnerabilitiesInternalServerError() *ReadImageVulnerabilitiesInternalServerError

NewReadImageVulnerabilitiesInternalServerError creates a ReadImageVulnerabilitiesInternalServerError with default headers values

func (*ReadImageVulnerabilitiesInternalServerError) Code

Code gets the status code for the read image vulnerabilities internal server error response

func (*ReadImageVulnerabilitiesInternalServerError) Error

func (*ReadImageVulnerabilitiesInternalServerError) GetPayload

func (*ReadImageVulnerabilitiesInternalServerError) IsClientError

IsClientError returns true when this read image vulnerabilities internal server error response has a 4xx status code

func (*ReadImageVulnerabilitiesInternalServerError) IsCode

IsCode returns true when this read image vulnerabilities internal server error response a status code equal to that given

func (*ReadImageVulnerabilitiesInternalServerError) IsRedirect

IsRedirect returns true when this read image vulnerabilities internal server error response has a 3xx status code

func (*ReadImageVulnerabilitiesInternalServerError) IsServerError

IsServerError returns true when this read image vulnerabilities internal server error response has a 5xx status code

func (*ReadImageVulnerabilitiesInternalServerError) IsSuccess

IsSuccess returns true when this read image vulnerabilities internal server error response has a 2xx status code

func (*ReadImageVulnerabilitiesInternalServerError) String

type ReadImageVulnerabilitiesOK

type ReadImageVulnerabilitiesOK struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.CoreEntitiesResponse
}

ReadImageVulnerabilitiesOK describes a response with status code 200, with default header values.

OK

func NewReadImageVulnerabilitiesOK

func NewReadImageVulnerabilitiesOK() *ReadImageVulnerabilitiesOK

NewReadImageVulnerabilitiesOK creates a ReadImageVulnerabilitiesOK with default headers values

func (*ReadImageVulnerabilitiesOK) Code

func (o *ReadImageVulnerabilitiesOK) Code() int

Code gets the status code for the read image vulnerabilities o k response

func (*ReadImageVulnerabilitiesOK) Error

func (*ReadImageVulnerabilitiesOK) GetPayload

func (*ReadImageVulnerabilitiesOK) IsClientError

func (o *ReadImageVulnerabilitiesOK) IsClientError() bool

IsClientError returns true when this read image vulnerabilities o k response has a 4xx status code

func (*ReadImageVulnerabilitiesOK) IsCode

func (o *ReadImageVulnerabilitiesOK) IsCode(code int) bool

IsCode returns true when this read image vulnerabilities o k response a status code equal to that given

func (*ReadImageVulnerabilitiesOK) IsRedirect

func (o *ReadImageVulnerabilitiesOK) IsRedirect() bool

IsRedirect returns true when this read image vulnerabilities o k response has a 3xx status code

func (*ReadImageVulnerabilitiesOK) IsServerError

func (o *ReadImageVulnerabilitiesOK) IsServerError() bool

IsServerError returns true when this read image vulnerabilities o k response has a 5xx status code

func (*ReadImageVulnerabilitiesOK) IsSuccess

func (o *ReadImageVulnerabilitiesOK) IsSuccess() bool

IsSuccess returns true when this read image vulnerabilities o k response has a 2xx status code

func (*ReadImageVulnerabilitiesOK) String

func (o *ReadImageVulnerabilitiesOK) String() string

type ReadImageVulnerabilitiesParams

type ReadImageVulnerabilitiesParams struct {

	// Body.
	Body *models.APIImageLookupRequest

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ReadImageVulnerabilitiesParams contains all the parameters to send to the API endpoint

for the read image vulnerabilities operation.

Typically these are written to a http.Request.

func NewReadImageVulnerabilitiesParams

func NewReadImageVulnerabilitiesParams() *ReadImageVulnerabilitiesParams

NewReadImageVulnerabilitiesParams creates a new ReadImageVulnerabilitiesParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewReadImageVulnerabilitiesParamsWithContext

func NewReadImageVulnerabilitiesParamsWithContext(ctx context.Context) *ReadImageVulnerabilitiesParams

NewReadImageVulnerabilitiesParamsWithContext creates a new ReadImageVulnerabilitiesParams object with the ability to set a context for a request.

func NewReadImageVulnerabilitiesParamsWithHTTPClient

func NewReadImageVulnerabilitiesParamsWithHTTPClient(client *http.Client) *ReadImageVulnerabilitiesParams

NewReadImageVulnerabilitiesParamsWithHTTPClient creates a new ReadImageVulnerabilitiesParams object with the ability to set a custom HTTPClient for a request.

func NewReadImageVulnerabilitiesParamsWithTimeout

func NewReadImageVulnerabilitiesParamsWithTimeout(timeout time.Duration) *ReadImageVulnerabilitiesParams

NewReadImageVulnerabilitiesParamsWithTimeout creates a new ReadImageVulnerabilitiesParams object with the ability to set a timeout on a request.

func (*ReadImageVulnerabilitiesParams) SetBody

SetBody adds the body to the read image vulnerabilities params

func (*ReadImageVulnerabilitiesParams) SetContext

func (o *ReadImageVulnerabilitiesParams) SetContext(ctx context.Context)

SetContext adds the context to the read image vulnerabilities params

func (*ReadImageVulnerabilitiesParams) SetDefaults

func (o *ReadImageVulnerabilitiesParams) SetDefaults()

SetDefaults hydrates default values in the read image vulnerabilities params (not the query body).

All values with no default are reset to their zero value.

func (*ReadImageVulnerabilitiesParams) SetHTTPClient

func (o *ReadImageVulnerabilitiesParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the read image vulnerabilities params

func (*ReadImageVulnerabilitiesParams) SetTimeout

func (o *ReadImageVulnerabilitiesParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the read image vulnerabilities params

func (*ReadImageVulnerabilitiesParams) WithBody

WithBody adds the body to the read image vulnerabilities params

func (*ReadImageVulnerabilitiesParams) WithContext

WithContext adds the context to the read image vulnerabilities params

func (*ReadImageVulnerabilitiesParams) WithDefaults

WithDefaults hydrates default values in the read image vulnerabilities params (not the query body).

All values with no default are reset to their zero value.

func (*ReadImageVulnerabilitiesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the read image vulnerabilities params

func (*ReadImageVulnerabilitiesParams) WithTimeout

WithTimeout adds the timeout to the read image vulnerabilities params

func (*ReadImageVulnerabilitiesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ReadImageVulnerabilitiesReader

type ReadImageVulnerabilitiesReader struct {
	// contains filtered or unexported fields
}

ReadImageVulnerabilitiesReader is a Reader for the ReadImageVulnerabilities structure.

func (*ReadImageVulnerabilitiesReader) ReadResponse

func (o *ReadImageVulnerabilitiesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ReadImageVulnerabilitiesTooManyRequests

type ReadImageVulnerabilitiesTooManyRequests struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	/* Too many requests, retry after this time (as milliseconds since epoch)
	 */
	XRateLimitRetryAfter int64

	Payload *models.MsaReplyMetaOnly
}

ReadImageVulnerabilitiesTooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewReadImageVulnerabilitiesTooManyRequests

func NewReadImageVulnerabilitiesTooManyRequests() *ReadImageVulnerabilitiesTooManyRequests

NewReadImageVulnerabilitiesTooManyRequests creates a ReadImageVulnerabilitiesTooManyRequests with default headers values

func (*ReadImageVulnerabilitiesTooManyRequests) Code

Code gets the status code for the read image vulnerabilities too many requests response

func (*ReadImageVulnerabilitiesTooManyRequests) Error

func (*ReadImageVulnerabilitiesTooManyRequests) GetPayload

func (*ReadImageVulnerabilitiesTooManyRequests) IsClientError

func (o *ReadImageVulnerabilitiesTooManyRequests) IsClientError() bool

IsClientError returns true when this read image vulnerabilities too many requests response has a 4xx status code

func (*ReadImageVulnerabilitiesTooManyRequests) IsCode

IsCode returns true when this read image vulnerabilities too many requests response a status code equal to that given

func (*ReadImageVulnerabilitiesTooManyRequests) IsRedirect

IsRedirect returns true when this read image vulnerabilities too many requests response has a 3xx status code

func (*ReadImageVulnerabilitiesTooManyRequests) IsServerError

func (o *ReadImageVulnerabilitiesTooManyRequests) IsServerError() bool

IsServerError returns true when this read image vulnerabilities too many requests response has a 5xx status code

func (*ReadImageVulnerabilitiesTooManyRequests) IsSuccess

IsSuccess returns true when this read image vulnerabilities too many requests response has a 2xx status code

func (*ReadImageVulnerabilitiesTooManyRequests) String

Jump to

Keyboard shortcuts

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