packet_captures

package
v0.0.0-...-8fe3866 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BulkCreatePacketCapturesBody

type BulkCreatePacketCapturesBody struct {

	// List of packet captures
	// Required: true
	// Min Items: 1
	Items []*models.PacketCapture `json:"items"`
}

BulkCreatePacketCapturesBody BulkCreatePacketCapturesRequest // // Parameters for the bulk create operation swagger:model BulkCreatePacketCapturesBody

func (*BulkCreatePacketCapturesBody) ContextValidate

func (o *BulkCreatePacketCapturesBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this bulk create packet captures body based on the context it is used

func (*BulkCreatePacketCapturesBody) MarshalBinary

func (o *BulkCreatePacketCapturesBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*BulkCreatePacketCapturesBody) UnmarshalBinary

func (o *BulkCreatePacketCapturesBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*BulkCreatePacketCapturesBody) Validate

func (o *BulkCreatePacketCapturesBody) Validate(formats strfmt.Registry) error

Validate validates this bulk create packet captures body

type BulkCreatePacketCapturesOK

type BulkCreatePacketCapturesOK struct {
	Payload *BulkCreatePacketCapturesOKBody
}
BulkCreatePacketCapturesOK describes a response with status code 200, with default header values.

Success

func NewBulkCreatePacketCapturesOK

func NewBulkCreatePacketCapturesOK() *BulkCreatePacketCapturesOK

NewBulkCreatePacketCapturesOK creates a BulkCreatePacketCapturesOK with default headers values

func (*BulkCreatePacketCapturesOK) Error

func (*BulkCreatePacketCapturesOK) GetPayload

type BulkCreatePacketCapturesOKBody

type BulkCreatePacketCapturesOKBody struct {

	// List of packet captures
	// Required: true
	// Min Items: 1
	Items []*models.PacketCapture `json:"items"`
}

BulkCreatePacketCapturesOKBody BulkCreatePacketCapturesResponse swagger:model BulkCreatePacketCapturesOKBody

func (*BulkCreatePacketCapturesOKBody) ContextValidate

func (o *BulkCreatePacketCapturesOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this bulk create packet captures o k body based on the context it is used

func (*BulkCreatePacketCapturesOKBody) MarshalBinary

func (o *BulkCreatePacketCapturesOKBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*BulkCreatePacketCapturesOKBody) UnmarshalBinary

func (o *BulkCreatePacketCapturesOKBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*BulkCreatePacketCapturesOKBody) Validate

func (o *BulkCreatePacketCapturesOKBody) Validate(formats strfmt.Registry) error

Validate validates this bulk create packet captures o k body

type BulkCreatePacketCapturesParams

type BulkCreatePacketCapturesParams struct {

	/* Create.

	   Bulk creation
	*/
	Create BulkCreatePacketCapturesBody

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

BulkCreatePacketCapturesParams contains all the parameters to send to the API endpoint

for the bulk create packet captures operation.

Typically these are written to a http.Request.

func NewBulkCreatePacketCapturesParams

func NewBulkCreatePacketCapturesParams() *BulkCreatePacketCapturesParams

NewBulkCreatePacketCapturesParams creates a new BulkCreatePacketCapturesParams 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 NewBulkCreatePacketCapturesParamsWithContext

func NewBulkCreatePacketCapturesParamsWithContext(ctx context.Context) *BulkCreatePacketCapturesParams

NewBulkCreatePacketCapturesParamsWithContext creates a new BulkCreatePacketCapturesParams object with the ability to set a context for a request.

func NewBulkCreatePacketCapturesParamsWithHTTPClient

func NewBulkCreatePacketCapturesParamsWithHTTPClient(client *http.Client) *BulkCreatePacketCapturesParams

NewBulkCreatePacketCapturesParamsWithHTTPClient creates a new BulkCreatePacketCapturesParams object with the ability to set a custom HTTPClient for a request.

func NewBulkCreatePacketCapturesParamsWithTimeout

func NewBulkCreatePacketCapturesParamsWithTimeout(timeout time.Duration) *BulkCreatePacketCapturesParams

NewBulkCreatePacketCapturesParamsWithTimeout creates a new BulkCreatePacketCapturesParams object with the ability to set a timeout on a request.

func (*BulkCreatePacketCapturesParams) SetContext

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

SetContext adds the context to the bulk create packet captures params

func (*BulkCreatePacketCapturesParams) SetCreate

SetCreate adds the create to the bulk create packet captures params

func (*BulkCreatePacketCapturesParams) SetDefaults

func (o *BulkCreatePacketCapturesParams) SetDefaults()

SetDefaults hydrates default values in the bulk create packet captures params (not the query body).

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

func (*BulkCreatePacketCapturesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the bulk create packet captures params

func (*BulkCreatePacketCapturesParams) SetTimeout

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

SetTimeout adds the timeout to the bulk create packet captures params

func (*BulkCreatePacketCapturesParams) WithContext

WithContext adds the context to the bulk create packet captures params

func (*BulkCreatePacketCapturesParams) WithCreate

WithCreate adds the create to the bulk create packet captures params

func (*BulkCreatePacketCapturesParams) WithDefaults

WithDefaults hydrates default values in the bulk create packet captures params (not the query body).

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

func (*BulkCreatePacketCapturesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the bulk create packet captures params

func (*BulkCreatePacketCapturesParams) WithTimeout

WithTimeout adds the timeout to the bulk create packet captures params

func (*BulkCreatePacketCapturesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type BulkCreatePacketCapturesReader

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

BulkCreatePacketCapturesReader is a Reader for the BulkCreatePacketCaptures structure.

func (*BulkCreatePacketCapturesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type BulkDeletePacketCapturesBody

type BulkDeletePacketCapturesBody struct {

	// List of packet captures
	// Required: true
	// Min Items: 1
	Ids []string `json:"ids"`
}

BulkDeletePacketCapturesBody BulkDeletePacketCapturesRequest // // Parameters for the bulk delete operation swagger:model BulkDeletePacketCapturesBody

func (*BulkDeletePacketCapturesBody) ContextValidate

func (o *BulkDeletePacketCapturesBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this bulk delete packet captures body based on context it is used

func (*BulkDeletePacketCapturesBody) MarshalBinary

func (o *BulkDeletePacketCapturesBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*BulkDeletePacketCapturesBody) UnmarshalBinary

func (o *BulkDeletePacketCapturesBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*BulkDeletePacketCapturesBody) Validate

func (o *BulkDeletePacketCapturesBody) Validate(formats strfmt.Registry) error

Validate validates this bulk delete packet captures body

type BulkDeletePacketCapturesNoContent

type BulkDeletePacketCapturesNoContent struct {
}
BulkDeletePacketCapturesNoContent describes a response with status code 204, with default header values.

No Content

func NewBulkDeletePacketCapturesNoContent

func NewBulkDeletePacketCapturesNoContent() *BulkDeletePacketCapturesNoContent

NewBulkDeletePacketCapturesNoContent creates a BulkDeletePacketCapturesNoContent with default headers values

func (*BulkDeletePacketCapturesNoContent) Error

type BulkDeletePacketCapturesParams

type BulkDeletePacketCapturesParams struct {

	/* Delete.

	   Bulk delete
	*/
	Delete BulkDeletePacketCapturesBody

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

BulkDeletePacketCapturesParams contains all the parameters to send to the API endpoint

for the bulk delete packet captures operation.

Typically these are written to a http.Request.

func NewBulkDeletePacketCapturesParams

func NewBulkDeletePacketCapturesParams() *BulkDeletePacketCapturesParams

NewBulkDeletePacketCapturesParams creates a new BulkDeletePacketCapturesParams 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 NewBulkDeletePacketCapturesParamsWithContext

func NewBulkDeletePacketCapturesParamsWithContext(ctx context.Context) *BulkDeletePacketCapturesParams

NewBulkDeletePacketCapturesParamsWithContext creates a new BulkDeletePacketCapturesParams object with the ability to set a context for a request.

func NewBulkDeletePacketCapturesParamsWithHTTPClient

func NewBulkDeletePacketCapturesParamsWithHTTPClient(client *http.Client) *BulkDeletePacketCapturesParams

NewBulkDeletePacketCapturesParamsWithHTTPClient creates a new BulkDeletePacketCapturesParams object with the ability to set a custom HTTPClient for a request.

func NewBulkDeletePacketCapturesParamsWithTimeout

func NewBulkDeletePacketCapturesParamsWithTimeout(timeout time.Duration) *BulkDeletePacketCapturesParams

NewBulkDeletePacketCapturesParamsWithTimeout creates a new BulkDeletePacketCapturesParams object with the ability to set a timeout on a request.

func (*BulkDeletePacketCapturesParams) SetContext

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

SetContext adds the context to the bulk delete packet captures params

func (*BulkDeletePacketCapturesParams) SetDefaults

func (o *BulkDeletePacketCapturesParams) SetDefaults()

SetDefaults hydrates default values in the bulk delete packet captures params (not the query body).

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

func (*BulkDeletePacketCapturesParams) SetDelete

SetDelete adds the delete to the bulk delete packet captures params

func (*BulkDeletePacketCapturesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the bulk delete packet captures params

func (*BulkDeletePacketCapturesParams) SetTimeout

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

SetTimeout adds the timeout to the bulk delete packet captures params

func (*BulkDeletePacketCapturesParams) WithContext

WithContext adds the context to the bulk delete packet captures params

func (*BulkDeletePacketCapturesParams) WithDefaults

WithDefaults hydrates default values in the bulk delete packet captures params (not the query body).

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

func (*BulkDeletePacketCapturesParams) WithDelete

WithDelete adds the delete to the bulk delete packet captures params

func (*BulkDeletePacketCapturesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the bulk delete packet captures params

func (*BulkDeletePacketCapturesParams) WithTimeout

WithTimeout adds the timeout to the bulk delete packet captures params

func (*BulkDeletePacketCapturesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type BulkDeletePacketCapturesReader

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

BulkDeletePacketCapturesReader is a Reader for the BulkDeletePacketCaptures structure.

func (*BulkDeletePacketCapturesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type BulkStartPacketCapturesBody

type BulkStartPacketCapturesBody struct {

	// List of capture identifiers
	// Required: true
	// Min Items: 1
	Ids []string `json:"ids"`
}

BulkStartPacketCapturesBody BulkStartPacketCapturesRequest // // Parameters for the bulk start operation swagger:model BulkStartPacketCapturesBody

func (*BulkStartPacketCapturesBody) ContextValidate

func (o *BulkStartPacketCapturesBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this bulk start packet captures body based on context it is used

func (*BulkStartPacketCapturesBody) MarshalBinary

func (o *BulkStartPacketCapturesBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*BulkStartPacketCapturesBody) UnmarshalBinary

func (o *BulkStartPacketCapturesBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*BulkStartPacketCapturesBody) Validate

func (o *BulkStartPacketCapturesBody) Validate(formats strfmt.Registry) error

Validate validates this bulk start packet captures body

type BulkStartPacketCapturesOK

type BulkStartPacketCapturesOK struct {
	Payload *BulkStartPacketCapturesOKBody
}
BulkStartPacketCapturesOK describes a response with status code 200, with default header values.

Success

func NewBulkStartPacketCapturesOK

func NewBulkStartPacketCapturesOK() *BulkStartPacketCapturesOK

NewBulkStartPacketCapturesOK creates a BulkStartPacketCapturesOK with default headers values

func (*BulkStartPacketCapturesOK) Error

func (o *BulkStartPacketCapturesOK) Error() string

func (*BulkStartPacketCapturesOK) GetPayload

type BulkStartPacketCapturesOKBody

type BulkStartPacketCapturesOKBody struct {

	// List of capture results
	// Required: true
	// Min Items: 1
	Items []*models.PacketCaptureResult `json:"items"`
}

BulkStartPacketCapturesOKBody BulkStartPacketCapturesResponse swagger:model BulkStartPacketCapturesOKBody

func (*BulkStartPacketCapturesOKBody) ContextValidate

func (o *BulkStartPacketCapturesOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this bulk start packet captures o k body based on the context it is used

func (*BulkStartPacketCapturesOKBody) MarshalBinary

func (o *BulkStartPacketCapturesOKBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*BulkStartPacketCapturesOKBody) UnmarshalBinary

func (o *BulkStartPacketCapturesOKBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*BulkStartPacketCapturesOKBody) Validate

func (o *BulkStartPacketCapturesOKBody) Validate(formats strfmt.Registry) error

Validate validates this bulk start packet captures o k body

type BulkStartPacketCapturesParams

type BulkStartPacketCapturesParams struct {

	/* Start.

	   Bulk start
	*/
	Start BulkStartPacketCapturesBody

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

BulkStartPacketCapturesParams contains all the parameters to send to the API endpoint

for the bulk start packet captures operation.

Typically these are written to a http.Request.

func NewBulkStartPacketCapturesParams

func NewBulkStartPacketCapturesParams() *BulkStartPacketCapturesParams

NewBulkStartPacketCapturesParams creates a new BulkStartPacketCapturesParams 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 NewBulkStartPacketCapturesParamsWithContext

func NewBulkStartPacketCapturesParamsWithContext(ctx context.Context) *BulkStartPacketCapturesParams

NewBulkStartPacketCapturesParamsWithContext creates a new BulkStartPacketCapturesParams object with the ability to set a context for a request.

func NewBulkStartPacketCapturesParamsWithHTTPClient

func NewBulkStartPacketCapturesParamsWithHTTPClient(client *http.Client) *BulkStartPacketCapturesParams

NewBulkStartPacketCapturesParamsWithHTTPClient creates a new BulkStartPacketCapturesParams object with the ability to set a custom HTTPClient for a request.

func NewBulkStartPacketCapturesParamsWithTimeout

func NewBulkStartPacketCapturesParamsWithTimeout(timeout time.Duration) *BulkStartPacketCapturesParams

NewBulkStartPacketCapturesParamsWithTimeout creates a new BulkStartPacketCapturesParams object with the ability to set a timeout on a request.

func (*BulkStartPacketCapturesParams) SetContext

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

SetContext adds the context to the bulk start packet captures params

func (*BulkStartPacketCapturesParams) SetDefaults

func (o *BulkStartPacketCapturesParams) SetDefaults()

SetDefaults hydrates default values in the bulk start packet captures params (not the query body).

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

func (*BulkStartPacketCapturesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the bulk start packet captures params

func (*BulkStartPacketCapturesParams) SetStart

SetStart adds the start to the bulk start packet captures params

func (*BulkStartPacketCapturesParams) SetTimeout

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

SetTimeout adds the timeout to the bulk start packet captures params

func (*BulkStartPacketCapturesParams) WithContext

WithContext adds the context to the bulk start packet captures params

func (*BulkStartPacketCapturesParams) WithDefaults

WithDefaults hydrates default values in the bulk start packet captures params (not the query body).

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

func (*BulkStartPacketCapturesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the bulk start packet captures params

func (*BulkStartPacketCapturesParams) WithStart

WithStart adds the start to the bulk start packet captures params

func (*BulkStartPacketCapturesParams) WithTimeout

WithTimeout adds the timeout to the bulk start packet captures params

func (*BulkStartPacketCapturesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type BulkStartPacketCapturesReader

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

BulkStartPacketCapturesReader is a Reader for the BulkStartPacketCaptures structure.

func (*BulkStartPacketCapturesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type BulkStopPacketCapturesBody

type BulkStopPacketCapturesBody struct {

	// List of capture identifiers
	// Required: true
	// Min Items: 1
	Ids []string `json:"ids"`
}

BulkStopPacketCapturesBody BulkStopPacketCapturesRequest // // Parameters for the bulk stop operation swagger:model BulkStopPacketCapturesBody

func (*BulkStopPacketCapturesBody) ContextValidate

func (o *BulkStopPacketCapturesBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this bulk stop packet captures body based on context it is used

func (*BulkStopPacketCapturesBody) MarshalBinary

func (o *BulkStopPacketCapturesBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*BulkStopPacketCapturesBody) UnmarshalBinary

func (o *BulkStopPacketCapturesBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*BulkStopPacketCapturesBody) Validate

func (o *BulkStopPacketCapturesBody) Validate(formats strfmt.Registry) error

Validate validates this bulk stop packet captures body

type BulkStopPacketCapturesNoContent

type BulkStopPacketCapturesNoContent struct {
}
BulkStopPacketCapturesNoContent describes a response with status code 204, with default header values.

No Content

func NewBulkStopPacketCapturesNoContent

func NewBulkStopPacketCapturesNoContent() *BulkStopPacketCapturesNoContent

NewBulkStopPacketCapturesNoContent creates a BulkStopPacketCapturesNoContent with default headers values

func (*BulkStopPacketCapturesNoContent) Error

type BulkStopPacketCapturesParams

type BulkStopPacketCapturesParams struct {

	/* Stop.

	   Bulk stop
	*/
	Stop BulkStopPacketCapturesBody

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

BulkStopPacketCapturesParams contains all the parameters to send to the API endpoint

for the bulk stop packet captures operation.

Typically these are written to a http.Request.

func NewBulkStopPacketCapturesParams

func NewBulkStopPacketCapturesParams() *BulkStopPacketCapturesParams

NewBulkStopPacketCapturesParams creates a new BulkStopPacketCapturesParams 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 NewBulkStopPacketCapturesParamsWithContext

func NewBulkStopPacketCapturesParamsWithContext(ctx context.Context) *BulkStopPacketCapturesParams

NewBulkStopPacketCapturesParamsWithContext creates a new BulkStopPacketCapturesParams object with the ability to set a context for a request.

func NewBulkStopPacketCapturesParamsWithHTTPClient

func NewBulkStopPacketCapturesParamsWithHTTPClient(client *http.Client) *BulkStopPacketCapturesParams

NewBulkStopPacketCapturesParamsWithHTTPClient creates a new BulkStopPacketCapturesParams object with the ability to set a custom HTTPClient for a request.

func NewBulkStopPacketCapturesParamsWithTimeout

func NewBulkStopPacketCapturesParamsWithTimeout(timeout time.Duration) *BulkStopPacketCapturesParams

NewBulkStopPacketCapturesParamsWithTimeout creates a new BulkStopPacketCapturesParams object with the ability to set a timeout on a request.

func (*BulkStopPacketCapturesParams) SetContext

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

SetContext adds the context to the bulk stop packet captures params

func (*BulkStopPacketCapturesParams) SetDefaults

func (o *BulkStopPacketCapturesParams) SetDefaults()

SetDefaults hydrates default values in the bulk stop packet captures params (not the query body).

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

func (*BulkStopPacketCapturesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the bulk stop packet captures params

func (*BulkStopPacketCapturesParams) SetStop

SetStop adds the stop to the bulk stop packet captures params

func (*BulkStopPacketCapturesParams) SetTimeout

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

SetTimeout adds the timeout to the bulk stop packet captures params

func (*BulkStopPacketCapturesParams) WithContext

WithContext adds the context to the bulk stop packet captures params

func (*BulkStopPacketCapturesParams) WithDefaults

WithDefaults hydrates default values in the bulk stop packet captures params (not the query body).

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

func (*BulkStopPacketCapturesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the bulk stop packet captures params

func (*BulkStopPacketCapturesParams) WithStop

WithStop adds the stop to the bulk stop packet captures params

func (*BulkStopPacketCapturesParams) WithTimeout

WithTimeout adds the timeout to the bulk stop packet captures params

func (*BulkStopPacketCapturesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type BulkStopPacketCapturesReader

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

BulkStopPacketCapturesReader is a Reader for the BulkStopPacketCaptures structure.

func (*BulkStopPacketCapturesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type Client

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

Client for packet captures API

func (*Client) BulkCreatePacketCaptures

func (a *Client) BulkCreatePacketCaptures(params *BulkCreatePacketCapturesParams, opts ...ClientOption) (*BulkCreatePacketCapturesOK, error)
BulkCreatePacketCaptures bulks create packet captures

Create multiple packet captures. Requests are processed in an

all-or-nothing manner, i.e. a single capture creation failure causes all capture creations for this request to fail.

func (*Client) BulkDeletePacketCaptures

func (a *Client) BulkDeletePacketCaptures(params *BulkDeletePacketCapturesParams, opts ...ClientOption) (*BulkDeletePacketCapturesNoContent, error)
BulkDeletePacketCaptures bulks delete packet captures

Delete multiple packet captures in a best-effort manner. Captures

can only be deleted when inactive. Active or Non-existant capture ids do not cause errors. Also deletes results and captured packets associated with the capture. Idempotent.

func (*Client) BulkStartPacketCaptures

func (a *Client) BulkStartPacketCaptures(params *BulkStartPacketCapturesParams, opts ...ClientOption) (*BulkStartPacketCapturesOK, error)

BulkStartPacketCaptures bulks start packet captures

Start multiple packet captures simultaneously

func (*Client) BulkStopPacketCaptures

func (a *Client) BulkStopPacketCaptures(params *BulkStopPacketCapturesParams, opts ...ClientOption) (*BulkStopPacketCapturesNoContent, error)

BulkStopPacketCaptures bulks stop packet captures

Stop multiple packet captures simultaneously

func (*Client) CreatePacketCapture

func (a *Client) CreatePacketCapture(params *CreatePacketCaptureParams, opts ...ClientOption) (*CreatePacketCaptureCreated, error)

CreatePacketCapture creates a packet capture

Create a new packet capture.

func (*Client) DeletePacketCapture

func (a *Client) DeletePacketCapture(params *DeletePacketCaptureParams, opts ...ClientOption) (*DeletePacketCaptureNoContent, error)
DeletePacketCapture deletes a packet capture

Delete a stopped packet capture by id.

Also deletes results and captured packets associated with the capture. Idempotent.

func (*Client) DeletePacketCaptureResult

func (a *Client) DeletePacketCaptureResult(params *DeletePacketCaptureResultParams, opts ...ClientOption) (*DeletePacketCaptureResultNoContent, error)
DeletePacketCaptureResult deletes a packet capture result

Delete an inactive packet capture result.

Also deletes captured packets associated with the results.

func (*Client) DeletePacketCaptureResults

func (a *Client) DeletePacketCaptureResults(params *DeletePacketCaptureResultsParams, opts ...ClientOption) (*DeletePacketCaptureResultsNoContent, error)

DeletePacketCaptureResults deletes all capture results

Delete all inactive packet capture results. Also deletes captured packets associated with the results.

func (*Client) DeletePacketCaptures

func (a *Client) DeletePacketCaptures(params *DeletePacketCapturesParams, opts ...ClientOption) (*DeletePacketCapturesNoContent, error)
DeletePacketCaptures deletes all packet captures

Delete all inactive packet captures.

Also deletes captured packets and results associated with the capture. Idempotent.

func (*Client) GetPacketCapture

func (a *Client) GetPacketCapture(params *GetPacketCaptureParams, opts ...ClientOption) (*GetPacketCaptureOK, error)

GetPacketCapture gets a packet capture

Return a packet capture by id.

func (*Client) GetPacketCaptureLive

func (a *Client) GetPacketCaptureLive(params *GetPacketCaptureLiveParams, writer io.Writer, opts ...ClientOption) (*GetPacketCaptureLiveOK, error)

GetPacketCaptureLive gets live capture packet data as a pcap file

Returns a pcap file of the captured data.

func (*Client) GetPacketCapturePcap

func (a *Client) GetPacketCapturePcap(params *GetPacketCapturePcapParams, writer io.Writer, opts ...ClientOption) (*GetPacketCapturePcapOK, error)

GetPacketCapturePcap gets a packet data as a pcap file

Returns a pcap file of the captured data.

func (*Client) GetPacketCaptureResult

func (a *Client) GetPacketCaptureResult(params *GetPacketCaptureResultParams, opts ...ClientOption) (*GetPacketCaptureResultOK, error)

GetPacketCaptureResult gets a packet capture result

Returns results from a packet capture by result id.

func (*Client) GetPacketCapturesPcap

func (a *Client) GetPacketCapturesPcap(params *GetPacketCapturesPcapParams, writer io.Writer, opts ...ClientOption) (*GetPacketCapturesPcapOK, error)

GetPacketCapturesPcap gets merged packet data from multiple captures

Get merged packet data from multiple captures as a pcap file

func (*Client) ListPacketCaptureResults

func (a *Client) ListPacketCaptureResults(params *ListPacketCaptureResultsParams, opts ...ClientOption) (*ListPacketCaptureResultsOK, error)
ListPacketCaptureResults lists capture results

The `capture-results` endpoint returns all capture results created

by capture instances.

func (*Client) ListPacketCaptures

func (a *Client) ListPacketCaptures(params *ListPacketCapturesParams, opts ...ClientOption) (*ListPacketCapturesOK, error)

ListPacketCaptures lists packet capture

The `captures` endpoint returns all configured packet captures.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) StartPacketCapture

func (a *Client) StartPacketCapture(params *StartPacketCaptureParams, opts ...ClientOption) (*StartPacketCaptureCreated, error)
StartPacketCapture starts packet capture

Used to start a non-running capture. Creates a new capture.

result on success.

func (*Client) StopPacketCapture

func (a *Client) StopPacketCapture(params *StopPacketCaptureParams, opts ...ClientOption) (*StopPacketCaptureNoContent, error)

StopPacketCapture stops packet capture

Use to halt a running capture. Idempotent.

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	BulkCreatePacketCaptures(params *BulkCreatePacketCapturesParams, opts ...ClientOption) (*BulkCreatePacketCapturesOK, error)

	BulkDeletePacketCaptures(params *BulkDeletePacketCapturesParams, opts ...ClientOption) (*BulkDeletePacketCapturesNoContent, error)

	BulkStartPacketCaptures(params *BulkStartPacketCapturesParams, opts ...ClientOption) (*BulkStartPacketCapturesOK, error)

	BulkStopPacketCaptures(params *BulkStopPacketCapturesParams, opts ...ClientOption) (*BulkStopPacketCapturesNoContent, error)

	CreatePacketCapture(params *CreatePacketCaptureParams, opts ...ClientOption) (*CreatePacketCaptureCreated, error)

	DeletePacketCapture(params *DeletePacketCaptureParams, opts ...ClientOption) (*DeletePacketCaptureNoContent, error)

	DeletePacketCaptureResult(params *DeletePacketCaptureResultParams, opts ...ClientOption) (*DeletePacketCaptureResultNoContent, error)

	DeletePacketCaptureResults(params *DeletePacketCaptureResultsParams, opts ...ClientOption) (*DeletePacketCaptureResultsNoContent, error)

	DeletePacketCaptures(params *DeletePacketCapturesParams, opts ...ClientOption) (*DeletePacketCapturesNoContent, error)

	GetPacketCapture(params *GetPacketCaptureParams, opts ...ClientOption) (*GetPacketCaptureOK, error)

	GetPacketCaptureLive(params *GetPacketCaptureLiveParams, writer io.Writer, opts ...ClientOption) (*GetPacketCaptureLiveOK, error)

	GetPacketCapturePcap(params *GetPacketCapturePcapParams, writer io.Writer, opts ...ClientOption) (*GetPacketCapturePcapOK, error)

	GetPacketCaptureResult(params *GetPacketCaptureResultParams, opts ...ClientOption) (*GetPacketCaptureResultOK, error)

	GetPacketCapturesPcap(params *GetPacketCapturesPcapParams, writer io.Writer, opts ...ClientOption) (*GetPacketCapturesPcapOK, error)

	ListPacketCaptureResults(params *ListPacketCaptureResultsParams, opts ...ClientOption) (*ListPacketCaptureResultsOK, error)

	ListPacketCaptures(params *ListPacketCapturesParams, opts ...ClientOption) (*ListPacketCapturesOK, error)

	StartPacketCapture(params *StartPacketCaptureParams, opts ...ClientOption) (*StartPacketCaptureCreated, error)

	StopPacketCapture(params *StopPacketCaptureParams, opts ...ClientOption) (*StopPacketCaptureNoContent, 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 packet captures API client.

type CreatePacketCaptureCreated

type CreatePacketCaptureCreated struct {

	/* URI of created capture
	 */
	Location string

	Payload *models.PacketCapture
}
CreatePacketCaptureCreated describes a response with status code 201, with default header values.

Created

func NewCreatePacketCaptureCreated

func NewCreatePacketCaptureCreated() *CreatePacketCaptureCreated

NewCreatePacketCaptureCreated creates a CreatePacketCaptureCreated with default headers values

func (*CreatePacketCaptureCreated) Error

func (*CreatePacketCaptureCreated) GetPayload

type CreatePacketCaptureParams

type CreatePacketCaptureParams struct {

	/* Capture.

	   New packet capture
	*/
	Capture *models.PacketCapture

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

CreatePacketCaptureParams contains all the parameters to send to the API endpoint

for the create packet capture operation.

Typically these are written to a http.Request.

func NewCreatePacketCaptureParams

func NewCreatePacketCaptureParams() *CreatePacketCaptureParams

NewCreatePacketCaptureParams creates a new CreatePacketCaptureParams 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 NewCreatePacketCaptureParamsWithContext

func NewCreatePacketCaptureParamsWithContext(ctx context.Context) *CreatePacketCaptureParams

NewCreatePacketCaptureParamsWithContext creates a new CreatePacketCaptureParams object with the ability to set a context for a request.

func NewCreatePacketCaptureParamsWithHTTPClient

func NewCreatePacketCaptureParamsWithHTTPClient(client *http.Client) *CreatePacketCaptureParams

NewCreatePacketCaptureParamsWithHTTPClient creates a new CreatePacketCaptureParams object with the ability to set a custom HTTPClient for a request.

func NewCreatePacketCaptureParamsWithTimeout

func NewCreatePacketCaptureParamsWithTimeout(timeout time.Duration) *CreatePacketCaptureParams

NewCreatePacketCaptureParamsWithTimeout creates a new CreatePacketCaptureParams object with the ability to set a timeout on a request.

func (*CreatePacketCaptureParams) SetCapture

func (o *CreatePacketCaptureParams) SetCapture(capture *models.PacketCapture)

SetCapture adds the capture to the create packet capture params

func (*CreatePacketCaptureParams) SetContext

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

SetContext adds the context to the create packet capture params

func (*CreatePacketCaptureParams) SetDefaults

func (o *CreatePacketCaptureParams) SetDefaults()

SetDefaults hydrates default values in the create packet capture params (not the query body).

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

func (*CreatePacketCaptureParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create packet capture params

func (*CreatePacketCaptureParams) SetTimeout

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

SetTimeout adds the timeout to the create packet capture params

func (*CreatePacketCaptureParams) WithCapture

WithCapture adds the capture to the create packet capture params

func (*CreatePacketCaptureParams) WithContext

WithContext adds the context to the create packet capture params

func (*CreatePacketCaptureParams) WithDefaults

WithDefaults hydrates default values in the create packet capture params (not the query body).

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

func (*CreatePacketCaptureParams) WithHTTPClient

func (o *CreatePacketCaptureParams) WithHTTPClient(client *http.Client) *CreatePacketCaptureParams

WithHTTPClient adds the HTTPClient to the create packet capture params

func (*CreatePacketCaptureParams) WithTimeout

WithTimeout adds the timeout to the create packet capture params

func (*CreatePacketCaptureParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreatePacketCaptureReader

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

CreatePacketCaptureReader is a Reader for the CreatePacketCapture structure.

func (*CreatePacketCaptureReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeletePacketCaptureNoContent

type DeletePacketCaptureNoContent struct {
}
DeletePacketCaptureNoContent describes a response with status code 204, with default header values.

No Content

func NewDeletePacketCaptureNoContent

func NewDeletePacketCaptureNoContent() *DeletePacketCaptureNoContent

NewDeletePacketCaptureNoContent creates a DeletePacketCaptureNoContent with default headers values

func (*DeletePacketCaptureNoContent) Error

type DeletePacketCaptureParams

type DeletePacketCaptureParams struct {

	/* ID.

	   Unique resource identifier

	   Format: string
	*/
	ID string

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

DeletePacketCaptureParams contains all the parameters to send to the API endpoint

for the delete packet capture operation.

Typically these are written to a http.Request.

func NewDeletePacketCaptureParams

func NewDeletePacketCaptureParams() *DeletePacketCaptureParams

NewDeletePacketCaptureParams creates a new DeletePacketCaptureParams 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 NewDeletePacketCaptureParamsWithContext

func NewDeletePacketCaptureParamsWithContext(ctx context.Context) *DeletePacketCaptureParams

NewDeletePacketCaptureParamsWithContext creates a new DeletePacketCaptureParams object with the ability to set a context for a request.

func NewDeletePacketCaptureParamsWithHTTPClient

func NewDeletePacketCaptureParamsWithHTTPClient(client *http.Client) *DeletePacketCaptureParams

NewDeletePacketCaptureParamsWithHTTPClient creates a new DeletePacketCaptureParams object with the ability to set a custom HTTPClient for a request.

func NewDeletePacketCaptureParamsWithTimeout

func NewDeletePacketCaptureParamsWithTimeout(timeout time.Duration) *DeletePacketCaptureParams

NewDeletePacketCaptureParamsWithTimeout creates a new DeletePacketCaptureParams object with the ability to set a timeout on a request.

func (*DeletePacketCaptureParams) SetContext

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

SetContext adds the context to the delete packet capture params

func (*DeletePacketCaptureParams) SetDefaults

func (o *DeletePacketCaptureParams) SetDefaults()

SetDefaults hydrates default values in the delete packet capture params (not the query body).

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

func (*DeletePacketCaptureParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete packet capture params

func (*DeletePacketCaptureParams) SetID

func (o *DeletePacketCaptureParams) SetID(id string)

SetID adds the id to the delete packet capture params

func (*DeletePacketCaptureParams) SetTimeout

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

SetTimeout adds the timeout to the delete packet capture params

func (*DeletePacketCaptureParams) WithContext

WithContext adds the context to the delete packet capture params

func (*DeletePacketCaptureParams) WithDefaults

WithDefaults hydrates default values in the delete packet capture params (not the query body).

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

func (*DeletePacketCaptureParams) WithHTTPClient

func (o *DeletePacketCaptureParams) WithHTTPClient(client *http.Client) *DeletePacketCaptureParams

WithHTTPClient adds the HTTPClient to the delete packet capture params

func (*DeletePacketCaptureParams) WithID

WithID adds the id to the delete packet capture params

func (*DeletePacketCaptureParams) WithTimeout

WithTimeout adds the timeout to the delete packet capture params

func (*DeletePacketCaptureParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeletePacketCaptureReader

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

DeletePacketCaptureReader is a Reader for the DeletePacketCapture structure.

func (*DeletePacketCaptureReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeletePacketCaptureResultNoContent

type DeletePacketCaptureResultNoContent struct {
}
DeletePacketCaptureResultNoContent describes a response with status code 204, with default header values.

No Content

func NewDeletePacketCaptureResultNoContent

func NewDeletePacketCaptureResultNoContent() *DeletePacketCaptureResultNoContent

NewDeletePacketCaptureResultNoContent creates a DeletePacketCaptureResultNoContent with default headers values

func (*DeletePacketCaptureResultNoContent) Error

type DeletePacketCaptureResultParams

type DeletePacketCaptureResultParams struct {

	/* ID.

	   Unique resource identifier

	   Format: string
	*/
	ID string

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

DeletePacketCaptureResultParams contains all the parameters to send to the API endpoint

for the delete packet capture result operation.

Typically these are written to a http.Request.

func NewDeletePacketCaptureResultParams

func NewDeletePacketCaptureResultParams() *DeletePacketCaptureResultParams

NewDeletePacketCaptureResultParams creates a new DeletePacketCaptureResultParams 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 NewDeletePacketCaptureResultParamsWithContext

func NewDeletePacketCaptureResultParamsWithContext(ctx context.Context) *DeletePacketCaptureResultParams

NewDeletePacketCaptureResultParamsWithContext creates a new DeletePacketCaptureResultParams object with the ability to set a context for a request.

func NewDeletePacketCaptureResultParamsWithHTTPClient

func NewDeletePacketCaptureResultParamsWithHTTPClient(client *http.Client) *DeletePacketCaptureResultParams

NewDeletePacketCaptureResultParamsWithHTTPClient creates a new DeletePacketCaptureResultParams object with the ability to set a custom HTTPClient for a request.

func NewDeletePacketCaptureResultParamsWithTimeout

func NewDeletePacketCaptureResultParamsWithTimeout(timeout time.Duration) *DeletePacketCaptureResultParams

NewDeletePacketCaptureResultParamsWithTimeout creates a new DeletePacketCaptureResultParams object with the ability to set a timeout on a request.

func (*DeletePacketCaptureResultParams) SetContext

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

SetContext adds the context to the delete packet capture result params

func (*DeletePacketCaptureResultParams) SetDefaults

func (o *DeletePacketCaptureResultParams) SetDefaults()

SetDefaults hydrates default values in the delete packet capture result params (not the query body).

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

func (*DeletePacketCaptureResultParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete packet capture result params

func (*DeletePacketCaptureResultParams) SetID

SetID adds the id to the delete packet capture result params

func (*DeletePacketCaptureResultParams) SetTimeout

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

SetTimeout adds the timeout to the delete packet capture result params

func (*DeletePacketCaptureResultParams) WithContext

WithContext adds the context to the delete packet capture result params

func (*DeletePacketCaptureResultParams) WithDefaults

WithDefaults hydrates default values in the delete packet capture result params (not the query body).

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

func (*DeletePacketCaptureResultParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete packet capture result params

func (*DeletePacketCaptureResultParams) WithID

WithID adds the id to the delete packet capture result params

func (*DeletePacketCaptureResultParams) WithTimeout

WithTimeout adds the timeout to the delete packet capture result params

func (*DeletePacketCaptureResultParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeletePacketCaptureResultReader

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

DeletePacketCaptureResultReader is a Reader for the DeletePacketCaptureResult structure.

func (*DeletePacketCaptureResultReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeletePacketCaptureResultsNoContent

type DeletePacketCaptureResultsNoContent struct {
}
DeletePacketCaptureResultsNoContent describes a response with status code 204, with default header values.

No Content

func NewDeletePacketCaptureResultsNoContent

func NewDeletePacketCaptureResultsNoContent() *DeletePacketCaptureResultsNoContent

NewDeletePacketCaptureResultsNoContent creates a DeletePacketCaptureResultsNoContent with default headers values

func (*DeletePacketCaptureResultsNoContent) Error

type DeletePacketCaptureResultsParams

type DeletePacketCaptureResultsParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

DeletePacketCaptureResultsParams contains all the parameters to send to the API endpoint

for the delete packet capture results operation.

Typically these are written to a http.Request.

func NewDeletePacketCaptureResultsParams

func NewDeletePacketCaptureResultsParams() *DeletePacketCaptureResultsParams

NewDeletePacketCaptureResultsParams creates a new DeletePacketCaptureResultsParams 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 NewDeletePacketCaptureResultsParamsWithContext

func NewDeletePacketCaptureResultsParamsWithContext(ctx context.Context) *DeletePacketCaptureResultsParams

NewDeletePacketCaptureResultsParamsWithContext creates a new DeletePacketCaptureResultsParams object with the ability to set a context for a request.

func NewDeletePacketCaptureResultsParamsWithHTTPClient

func NewDeletePacketCaptureResultsParamsWithHTTPClient(client *http.Client) *DeletePacketCaptureResultsParams

NewDeletePacketCaptureResultsParamsWithHTTPClient creates a new DeletePacketCaptureResultsParams object with the ability to set a custom HTTPClient for a request.

func NewDeletePacketCaptureResultsParamsWithTimeout

func NewDeletePacketCaptureResultsParamsWithTimeout(timeout time.Duration) *DeletePacketCaptureResultsParams

NewDeletePacketCaptureResultsParamsWithTimeout creates a new DeletePacketCaptureResultsParams object with the ability to set a timeout on a request.

func (*DeletePacketCaptureResultsParams) SetContext

SetContext adds the context to the delete packet capture results params

func (*DeletePacketCaptureResultsParams) SetDefaults

func (o *DeletePacketCaptureResultsParams) SetDefaults()

SetDefaults hydrates default values in the delete packet capture results params (not the query body).

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

func (*DeletePacketCaptureResultsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete packet capture results params

func (*DeletePacketCaptureResultsParams) SetTimeout

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

SetTimeout adds the timeout to the delete packet capture results params

func (*DeletePacketCaptureResultsParams) WithContext

WithContext adds the context to the delete packet capture results params

func (*DeletePacketCaptureResultsParams) WithDefaults

WithDefaults hydrates default values in the delete packet capture results params (not the query body).

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

func (*DeletePacketCaptureResultsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete packet capture results params

func (*DeletePacketCaptureResultsParams) WithTimeout

WithTimeout adds the timeout to the delete packet capture results params

func (*DeletePacketCaptureResultsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeletePacketCaptureResultsReader

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

DeletePacketCaptureResultsReader is a Reader for the DeletePacketCaptureResults structure.

func (*DeletePacketCaptureResultsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeletePacketCapturesNoContent

type DeletePacketCapturesNoContent struct {
}
DeletePacketCapturesNoContent describes a response with status code 204, with default header values.

No Content

func NewDeletePacketCapturesNoContent

func NewDeletePacketCapturesNoContent() *DeletePacketCapturesNoContent

NewDeletePacketCapturesNoContent creates a DeletePacketCapturesNoContent with default headers values

func (*DeletePacketCapturesNoContent) Error

type DeletePacketCapturesParams

type DeletePacketCapturesParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

DeletePacketCapturesParams contains all the parameters to send to the API endpoint

for the delete packet captures operation.

Typically these are written to a http.Request.

func NewDeletePacketCapturesParams

func NewDeletePacketCapturesParams() *DeletePacketCapturesParams

NewDeletePacketCapturesParams creates a new DeletePacketCapturesParams 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 NewDeletePacketCapturesParamsWithContext

func NewDeletePacketCapturesParamsWithContext(ctx context.Context) *DeletePacketCapturesParams

NewDeletePacketCapturesParamsWithContext creates a new DeletePacketCapturesParams object with the ability to set a context for a request.

func NewDeletePacketCapturesParamsWithHTTPClient

func NewDeletePacketCapturesParamsWithHTTPClient(client *http.Client) *DeletePacketCapturesParams

NewDeletePacketCapturesParamsWithHTTPClient creates a new DeletePacketCapturesParams object with the ability to set a custom HTTPClient for a request.

func NewDeletePacketCapturesParamsWithTimeout

func NewDeletePacketCapturesParamsWithTimeout(timeout time.Duration) *DeletePacketCapturesParams

NewDeletePacketCapturesParamsWithTimeout creates a new DeletePacketCapturesParams object with the ability to set a timeout on a request.

func (*DeletePacketCapturesParams) SetContext

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

SetContext adds the context to the delete packet captures params

func (*DeletePacketCapturesParams) SetDefaults

func (o *DeletePacketCapturesParams) SetDefaults()

SetDefaults hydrates default values in the delete packet captures params (not the query body).

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

func (*DeletePacketCapturesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete packet captures params

func (*DeletePacketCapturesParams) SetTimeout

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

SetTimeout adds the timeout to the delete packet captures params

func (*DeletePacketCapturesParams) WithContext

WithContext adds the context to the delete packet captures params

func (*DeletePacketCapturesParams) WithDefaults

WithDefaults hydrates default values in the delete packet captures params (not the query body).

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

func (*DeletePacketCapturesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete packet captures params

func (*DeletePacketCapturesParams) WithTimeout

WithTimeout adds the timeout to the delete packet captures params

func (*DeletePacketCapturesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeletePacketCapturesReader

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

DeletePacketCapturesReader is a Reader for the DeletePacketCaptures structure.

func (*DeletePacketCapturesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetPacketCaptureLiveOK

type GetPacketCaptureLiveOK struct {
	Payload io.Writer
}
GetPacketCaptureLiveOK describes a response with status code 200, with default header values.

Success

func NewGetPacketCaptureLiveOK

func NewGetPacketCaptureLiveOK(writer io.Writer) *GetPacketCaptureLiveOK

NewGetPacketCaptureLiveOK creates a GetPacketCaptureLiveOK with default headers values

func (*GetPacketCaptureLiveOK) Error

func (o *GetPacketCaptureLiveOK) Error() string

func (*GetPacketCaptureLiveOK) GetPayload

func (o *GetPacketCaptureLiveOK) GetPayload() io.Writer

type GetPacketCaptureLiveParams

type GetPacketCaptureLiveParams struct {

	/* ID.

	   Unique resource identifier

	   Format: string
	*/
	ID string

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

GetPacketCaptureLiveParams contains all the parameters to send to the API endpoint

for the get packet capture live operation.

Typically these are written to a http.Request.

func NewGetPacketCaptureLiveParams

func NewGetPacketCaptureLiveParams() *GetPacketCaptureLiveParams

NewGetPacketCaptureLiveParams creates a new GetPacketCaptureLiveParams 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 NewGetPacketCaptureLiveParamsWithContext

func NewGetPacketCaptureLiveParamsWithContext(ctx context.Context) *GetPacketCaptureLiveParams

NewGetPacketCaptureLiveParamsWithContext creates a new GetPacketCaptureLiveParams object with the ability to set a context for a request.

func NewGetPacketCaptureLiveParamsWithHTTPClient

func NewGetPacketCaptureLiveParamsWithHTTPClient(client *http.Client) *GetPacketCaptureLiveParams

NewGetPacketCaptureLiveParamsWithHTTPClient creates a new GetPacketCaptureLiveParams object with the ability to set a custom HTTPClient for a request.

func NewGetPacketCaptureLiveParamsWithTimeout

func NewGetPacketCaptureLiveParamsWithTimeout(timeout time.Duration) *GetPacketCaptureLiveParams

NewGetPacketCaptureLiveParamsWithTimeout creates a new GetPacketCaptureLiveParams object with the ability to set a timeout on a request.

func (*GetPacketCaptureLiveParams) SetContext

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

SetContext adds the context to the get packet capture live params

func (*GetPacketCaptureLiveParams) SetDefaults

func (o *GetPacketCaptureLiveParams) SetDefaults()

SetDefaults hydrates default values in the get packet capture live params (not the query body).

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

func (*GetPacketCaptureLiveParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get packet capture live params

func (*GetPacketCaptureLiveParams) SetID

func (o *GetPacketCaptureLiveParams) SetID(id string)

SetID adds the id to the get packet capture live params

func (*GetPacketCaptureLiveParams) SetTimeout

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

SetTimeout adds the timeout to the get packet capture live params

func (*GetPacketCaptureLiveParams) WithContext

WithContext adds the context to the get packet capture live params

func (*GetPacketCaptureLiveParams) WithDefaults

WithDefaults hydrates default values in the get packet capture live params (not the query body).

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

func (*GetPacketCaptureLiveParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get packet capture live params

func (*GetPacketCaptureLiveParams) WithID

WithID adds the id to the get packet capture live params

func (*GetPacketCaptureLiveParams) WithTimeout

WithTimeout adds the timeout to the get packet capture live params

func (*GetPacketCaptureLiveParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPacketCaptureLiveReader

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

GetPacketCaptureLiveReader is a Reader for the GetPacketCaptureLive structure.

func (*GetPacketCaptureLiveReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetPacketCaptureOK

type GetPacketCaptureOK struct {
	Payload *models.PacketCapture
}
GetPacketCaptureOK describes a response with status code 200, with default header values.

Success

func NewGetPacketCaptureOK

func NewGetPacketCaptureOK() *GetPacketCaptureOK

NewGetPacketCaptureOK creates a GetPacketCaptureOK with default headers values

func (*GetPacketCaptureOK) Error

func (o *GetPacketCaptureOK) Error() string

func (*GetPacketCaptureOK) GetPayload

func (o *GetPacketCaptureOK) GetPayload() *models.PacketCapture

type GetPacketCaptureParams

type GetPacketCaptureParams struct {

	/* ID.

	   Unique resource identifier

	   Format: string
	*/
	ID string

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

GetPacketCaptureParams contains all the parameters to send to the API endpoint

for the get packet capture operation.

Typically these are written to a http.Request.

func NewGetPacketCaptureParams

func NewGetPacketCaptureParams() *GetPacketCaptureParams

NewGetPacketCaptureParams creates a new GetPacketCaptureParams 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 NewGetPacketCaptureParamsWithContext

func NewGetPacketCaptureParamsWithContext(ctx context.Context) *GetPacketCaptureParams

NewGetPacketCaptureParamsWithContext creates a new GetPacketCaptureParams object with the ability to set a context for a request.

func NewGetPacketCaptureParamsWithHTTPClient

func NewGetPacketCaptureParamsWithHTTPClient(client *http.Client) *GetPacketCaptureParams

NewGetPacketCaptureParamsWithHTTPClient creates a new GetPacketCaptureParams object with the ability to set a custom HTTPClient for a request.

func NewGetPacketCaptureParamsWithTimeout

func NewGetPacketCaptureParamsWithTimeout(timeout time.Duration) *GetPacketCaptureParams

NewGetPacketCaptureParamsWithTimeout creates a new GetPacketCaptureParams object with the ability to set a timeout on a request.

func (*GetPacketCaptureParams) SetContext

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

SetContext adds the context to the get packet capture params

func (*GetPacketCaptureParams) SetDefaults

func (o *GetPacketCaptureParams) SetDefaults()

SetDefaults hydrates default values in the get packet capture params (not the query body).

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

func (*GetPacketCaptureParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get packet capture params

func (*GetPacketCaptureParams) SetID

func (o *GetPacketCaptureParams) SetID(id string)

SetID adds the id to the get packet capture params

func (*GetPacketCaptureParams) SetTimeout

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

SetTimeout adds the timeout to the get packet capture params

func (*GetPacketCaptureParams) WithContext

WithContext adds the context to the get packet capture params

func (*GetPacketCaptureParams) WithDefaults

WithDefaults hydrates default values in the get packet capture params (not the query body).

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

func (*GetPacketCaptureParams) WithHTTPClient

func (o *GetPacketCaptureParams) WithHTTPClient(client *http.Client) *GetPacketCaptureParams

WithHTTPClient adds the HTTPClient to the get packet capture params

func (*GetPacketCaptureParams) WithID

WithID adds the id to the get packet capture params

func (*GetPacketCaptureParams) WithTimeout

WithTimeout adds the timeout to the get packet capture params

func (*GetPacketCaptureParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPacketCapturePcapOK

type GetPacketCapturePcapOK struct {
	Payload io.Writer
}
GetPacketCapturePcapOK describes a response with status code 200, with default header values.

Success

func NewGetPacketCapturePcapOK

func NewGetPacketCapturePcapOK(writer io.Writer) *GetPacketCapturePcapOK

NewGetPacketCapturePcapOK creates a GetPacketCapturePcapOK with default headers values

func (*GetPacketCapturePcapOK) Error

func (o *GetPacketCapturePcapOK) Error() string

func (*GetPacketCapturePcapOK) GetPayload

func (o *GetPacketCapturePcapOK) GetPayload() io.Writer

type GetPacketCapturePcapParams

type GetPacketCapturePcapParams struct {

	/* ID.

	   Unique resource identifier

	   Format: string
	*/
	ID string

	/* PacketEnd.

	   The packet offset in the capture buffer to end reading (0 based)

	   Format: int64
	*/
	PacketEnd *int64

	/* PacketStart.

	   The packet offset in the capture buffer to start reading (0 based)

	   Format: int64
	*/
	PacketStart *int64

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

GetPacketCapturePcapParams contains all the parameters to send to the API endpoint

for the get packet capture pcap operation.

Typically these are written to a http.Request.

func NewGetPacketCapturePcapParams

func NewGetPacketCapturePcapParams() *GetPacketCapturePcapParams

NewGetPacketCapturePcapParams creates a new GetPacketCapturePcapParams 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 NewGetPacketCapturePcapParamsWithContext

func NewGetPacketCapturePcapParamsWithContext(ctx context.Context) *GetPacketCapturePcapParams

NewGetPacketCapturePcapParamsWithContext creates a new GetPacketCapturePcapParams object with the ability to set a context for a request.

func NewGetPacketCapturePcapParamsWithHTTPClient

func NewGetPacketCapturePcapParamsWithHTTPClient(client *http.Client) *GetPacketCapturePcapParams

NewGetPacketCapturePcapParamsWithHTTPClient creates a new GetPacketCapturePcapParams object with the ability to set a custom HTTPClient for a request.

func NewGetPacketCapturePcapParamsWithTimeout

func NewGetPacketCapturePcapParamsWithTimeout(timeout time.Duration) *GetPacketCapturePcapParams

NewGetPacketCapturePcapParamsWithTimeout creates a new GetPacketCapturePcapParams object with the ability to set a timeout on a request.

func (*GetPacketCapturePcapParams) SetContext

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

SetContext adds the context to the get packet capture pcap params

func (*GetPacketCapturePcapParams) SetDefaults

func (o *GetPacketCapturePcapParams) SetDefaults()

SetDefaults hydrates default values in the get packet capture pcap params (not the query body).

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

func (*GetPacketCapturePcapParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get packet capture pcap params

func (*GetPacketCapturePcapParams) SetID

func (o *GetPacketCapturePcapParams) SetID(id string)

SetID adds the id to the get packet capture pcap params

func (*GetPacketCapturePcapParams) SetPacketEnd

func (o *GetPacketCapturePcapParams) SetPacketEnd(packetEnd *int64)

SetPacketEnd adds the packetEnd to the get packet capture pcap params

func (*GetPacketCapturePcapParams) SetPacketStart

func (o *GetPacketCapturePcapParams) SetPacketStart(packetStart *int64)

SetPacketStart adds the packetStart to the get packet capture pcap params

func (*GetPacketCapturePcapParams) SetTimeout

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

SetTimeout adds the timeout to the get packet capture pcap params

func (*GetPacketCapturePcapParams) WithContext

WithContext adds the context to the get packet capture pcap params

func (*GetPacketCapturePcapParams) WithDefaults

WithDefaults hydrates default values in the get packet capture pcap params (not the query body).

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

func (*GetPacketCapturePcapParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get packet capture pcap params

func (*GetPacketCapturePcapParams) WithID

WithID adds the id to the get packet capture pcap params

func (*GetPacketCapturePcapParams) WithPacketEnd

func (o *GetPacketCapturePcapParams) WithPacketEnd(packetEnd *int64) *GetPacketCapturePcapParams

WithPacketEnd adds the packetEnd to the get packet capture pcap params

func (*GetPacketCapturePcapParams) WithPacketStart

func (o *GetPacketCapturePcapParams) WithPacketStart(packetStart *int64) *GetPacketCapturePcapParams

WithPacketStart adds the packetStart to the get packet capture pcap params

func (*GetPacketCapturePcapParams) WithTimeout

WithTimeout adds the timeout to the get packet capture pcap params

func (*GetPacketCapturePcapParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPacketCapturePcapReader

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

GetPacketCapturePcapReader is a Reader for the GetPacketCapturePcap structure.

func (*GetPacketCapturePcapReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetPacketCaptureReader

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

GetPacketCaptureReader is a Reader for the GetPacketCapture structure.

func (*GetPacketCaptureReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetPacketCaptureResultOK

type GetPacketCaptureResultOK struct {
	Payload *models.PacketCaptureResult
}
GetPacketCaptureResultOK describes a response with status code 200, with default header values.

Success

func NewGetPacketCaptureResultOK

func NewGetPacketCaptureResultOK() *GetPacketCaptureResultOK

NewGetPacketCaptureResultOK creates a GetPacketCaptureResultOK with default headers values

func (*GetPacketCaptureResultOK) Error

func (o *GetPacketCaptureResultOK) Error() string

func (*GetPacketCaptureResultOK) GetPayload

type GetPacketCaptureResultParams

type GetPacketCaptureResultParams struct {

	/* ID.

	   Unique resource identifier

	   Format: string
	*/
	ID string

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

GetPacketCaptureResultParams contains all the parameters to send to the API endpoint

for the get packet capture result operation.

Typically these are written to a http.Request.

func NewGetPacketCaptureResultParams

func NewGetPacketCaptureResultParams() *GetPacketCaptureResultParams

NewGetPacketCaptureResultParams creates a new GetPacketCaptureResultParams 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 NewGetPacketCaptureResultParamsWithContext

func NewGetPacketCaptureResultParamsWithContext(ctx context.Context) *GetPacketCaptureResultParams

NewGetPacketCaptureResultParamsWithContext creates a new GetPacketCaptureResultParams object with the ability to set a context for a request.

func NewGetPacketCaptureResultParamsWithHTTPClient

func NewGetPacketCaptureResultParamsWithHTTPClient(client *http.Client) *GetPacketCaptureResultParams

NewGetPacketCaptureResultParamsWithHTTPClient creates a new GetPacketCaptureResultParams object with the ability to set a custom HTTPClient for a request.

func NewGetPacketCaptureResultParamsWithTimeout

func NewGetPacketCaptureResultParamsWithTimeout(timeout time.Duration) *GetPacketCaptureResultParams

NewGetPacketCaptureResultParamsWithTimeout creates a new GetPacketCaptureResultParams object with the ability to set a timeout on a request.

func (*GetPacketCaptureResultParams) SetContext

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

SetContext adds the context to the get packet capture result params

func (*GetPacketCaptureResultParams) SetDefaults

func (o *GetPacketCaptureResultParams) SetDefaults()

SetDefaults hydrates default values in the get packet capture result params (not the query body).

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

func (*GetPacketCaptureResultParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get packet capture result params

func (*GetPacketCaptureResultParams) SetID

func (o *GetPacketCaptureResultParams) SetID(id string)

SetID adds the id to the get packet capture result params

func (*GetPacketCaptureResultParams) SetTimeout

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

SetTimeout adds the timeout to the get packet capture result params

func (*GetPacketCaptureResultParams) WithContext

WithContext adds the context to the get packet capture result params

func (*GetPacketCaptureResultParams) WithDefaults

WithDefaults hydrates default values in the get packet capture result params (not the query body).

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

func (*GetPacketCaptureResultParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get packet capture result params

func (*GetPacketCaptureResultParams) WithID

WithID adds the id to the get packet capture result params

func (*GetPacketCaptureResultParams) WithTimeout

WithTimeout adds the timeout to the get packet capture result params

func (*GetPacketCaptureResultParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPacketCaptureResultReader

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

GetPacketCaptureResultReader is a Reader for the GetPacketCaptureResult structure.

func (*GetPacketCaptureResultReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetPacketCapturesPcapBody

type GetPacketCapturesPcapBody struct {

	// List of capture results identifiers
	// Required: true
	// Min Items: 1
	Ids []string `json:"ids"`

	// The packet offset in the capture buffer to end reading (0 based)
	// Minimum: 0
	PacketEnd *int64 `json:"packet_end,omitempty"`

	// The packet offset in the capture buffer to start reading (0 based)
	// Minimum: 0
	PacketStart *int64 `json:"packet_start,omitempty"`
}

GetPacketCapturesPcapBody GetPacketCapturesPcapConfig // // Parameters for the capture data retrieval swagger:model GetPacketCapturesPcapBody

func (*GetPacketCapturesPcapBody) ContextValidate

func (o *GetPacketCapturesPcapBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this get packet captures pcap body based on context it is used

func (*GetPacketCapturesPcapBody) MarshalBinary

func (o *GetPacketCapturesPcapBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetPacketCapturesPcapBody) UnmarshalBinary

func (o *GetPacketCapturesPcapBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetPacketCapturesPcapBody) Validate

func (o *GetPacketCapturesPcapBody) Validate(formats strfmt.Registry) error

Validate validates this get packet captures pcap body

type GetPacketCapturesPcapOK

type GetPacketCapturesPcapOK struct {
	Payload io.Writer
}
GetPacketCapturesPcapOK describes a response with status code 200, with default header values.

Success

func NewGetPacketCapturesPcapOK

func NewGetPacketCapturesPcapOK(writer io.Writer) *GetPacketCapturesPcapOK

NewGetPacketCapturesPcapOK creates a GetPacketCapturesPcapOK with default headers values

func (*GetPacketCapturesPcapOK) Error

func (o *GetPacketCapturesPcapOK) Error() string

func (*GetPacketCapturesPcapOK) GetPayload

func (o *GetPacketCapturesPcapOK) GetPayload() io.Writer

type GetPacketCapturesPcapParams

type GetPacketCapturesPcapParams struct {

	/* Config.

	   Packet capture data retrieval configuration
	*/
	Config GetPacketCapturesPcapBody

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

GetPacketCapturesPcapParams contains all the parameters to send to the API endpoint

for the get packet captures pcap operation.

Typically these are written to a http.Request.

func NewGetPacketCapturesPcapParams

func NewGetPacketCapturesPcapParams() *GetPacketCapturesPcapParams

NewGetPacketCapturesPcapParams creates a new GetPacketCapturesPcapParams 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 NewGetPacketCapturesPcapParamsWithContext

func NewGetPacketCapturesPcapParamsWithContext(ctx context.Context) *GetPacketCapturesPcapParams

NewGetPacketCapturesPcapParamsWithContext creates a new GetPacketCapturesPcapParams object with the ability to set a context for a request.

func NewGetPacketCapturesPcapParamsWithHTTPClient

func NewGetPacketCapturesPcapParamsWithHTTPClient(client *http.Client) *GetPacketCapturesPcapParams

NewGetPacketCapturesPcapParamsWithHTTPClient creates a new GetPacketCapturesPcapParams object with the ability to set a custom HTTPClient for a request.

func NewGetPacketCapturesPcapParamsWithTimeout

func NewGetPacketCapturesPcapParamsWithTimeout(timeout time.Duration) *GetPacketCapturesPcapParams

NewGetPacketCapturesPcapParamsWithTimeout creates a new GetPacketCapturesPcapParams object with the ability to set a timeout on a request.

func (*GetPacketCapturesPcapParams) SetConfig

SetConfig adds the config to the get packet captures pcap params

func (*GetPacketCapturesPcapParams) SetContext

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

SetContext adds the context to the get packet captures pcap params

func (*GetPacketCapturesPcapParams) SetDefaults

func (o *GetPacketCapturesPcapParams) SetDefaults()

SetDefaults hydrates default values in the get packet captures pcap params (not the query body).

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

func (*GetPacketCapturesPcapParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get packet captures pcap params

func (*GetPacketCapturesPcapParams) SetTimeout

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

SetTimeout adds the timeout to the get packet captures pcap params

func (*GetPacketCapturesPcapParams) WithConfig

WithConfig adds the config to the get packet captures pcap params

func (*GetPacketCapturesPcapParams) WithContext

WithContext adds the context to the get packet captures pcap params

func (*GetPacketCapturesPcapParams) WithDefaults

WithDefaults hydrates default values in the get packet captures pcap params (not the query body).

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

func (*GetPacketCapturesPcapParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get packet captures pcap params

func (*GetPacketCapturesPcapParams) WithTimeout

WithTimeout adds the timeout to the get packet captures pcap params

func (*GetPacketCapturesPcapParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPacketCapturesPcapReader

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

GetPacketCapturesPcapReader is a Reader for the GetPacketCapturesPcap structure.

func (*GetPacketCapturesPcapReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListPacketCaptureResultsOK

type ListPacketCaptureResultsOK struct {
	Payload []*models.PacketCaptureResult
}
ListPacketCaptureResultsOK describes a response with status code 200, with default header values.

Success

func NewListPacketCaptureResultsOK

func NewListPacketCaptureResultsOK() *ListPacketCaptureResultsOK

NewListPacketCaptureResultsOK creates a ListPacketCaptureResultsOK with default headers values

func (*ListPacketCaptureResultsOK) Error

func (*ListPacketCaptureResultsOK) GetPayload

type ListPacketCaptureResultsParams

type ListPacketCaptureResultsParams struct {

	/* CaptureID.

	   Filter by capture id
	*/
	CaptureID *string

	/* SourceID.

	   Filter by receive port or interface id
	*/
	SourceID *string

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

ListPacketCaptureResultsParams contains all the parameters to send to the API endpoint

for the list packet capture results operation.

Typically these are written to a http.Request.

func NewListPacketCaptureResultsParams

func NewListPacketCaptureResultsParams() *ListPacketCaptureResultsParams

NewListPacketCaptureResultsParams creates a new ListPacketCaptureResultsParams 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 NewListPacketCaptureResultsParamsWithContext

func NewListPacketCaptureResultsParamsWithContext(ctx context.Context) *ListPacketCaptureResultsParams

NewListPacketCaptureResultsParamsWithContext creates a new ListPacketCaptureResultsParams object with the ability to set a context for a request.

func NewListPacketCaptureResultsParamsWithHTTPClient

func NewListPacketCaptureResultsParamsWithHTTPClient(client *http.Client) *ListPacketCaptureResultsParams

NewListPacketCaptureResultsParamsWithHTTPClient creates a new ListPacketCaptureResultsParams object with the ability to set a custom HTTPClient for a request.

func NewListPacketCaptureResultsParamsWithTimeout

func NewListPacketCaptureResultsParamsWithTimeout(timeout time.Duration) *ListPacketCaptureResultsParams

NewListPacketCaptureResultsParamsWithTimeout creates a new ListPacketCaptureResultsParams object with the ability to set a timeout on a request.

func (*ListPacketCaptureResultsParams) SetCaptureID

func (o *ListPacketCaptureResultsParams) SetCaptureID(captureID *string)

SetCaptureID adds the captureId to the list packet capture results params

func (*ListPacketCaptureResultsParams) SetContext

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

SetContext adds the context to the list packet capture results params

func (*ListPacketCaptureResultsParams) SetDefaults

func (o *ListPacketCaptureResultsParams) SetDefaults()

SetDefaults hydrates default values in the list packet capture results params (not the query body).

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

func (*ListPacketCaptureResultsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list packet capture results params

func (*ListPacketCaptureResultsParams) SetSourceID

func (o *ListPacketCaptureResultsParams) SetSourceID(sourceID *string)

SetSourceID adds the sourceId to the list packet capture results params

func (*ListPacketCaptureResultsParams) SetTimeout

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

SetTimeout adds the timeout to the list packet capture results params

func (*ListPacketCaptureResultsParams) WithCaptureID

WithCaptureID adds the captureID to the list packet capture results params

func (*ListPacketCaptureResultsParams) WithContext

WithContext adds the context to the list packet capture results params

func (*ListPacketCaptureResultsParams) WithDefaults

WithDefaults hydrates default values in the list packet capture results params (not the query body).

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

func (*ListPacketCaptureResultsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the list packet capture results params

func (*ListPacketCaptureResultsParams) WithSourceID

WithSourceID adds the sourceID to the list packet capture results params

func (*ListPacketCaptureResultsParams) WithTimeout

WithTimeout adds the timeout to the list packet capture results params

func (*ListPacketCaptureResultsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListPacketCaptureResultsReader

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

ListPacketCaptureResultsReader is a Reader for the ListPacketCaptureResults structure.

func (*ListPacketCaptureResultsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListPacketCapturesOK

type ListPacketCapturesOK struct {
	Payload []*models.PacketCapture
}
ListPacketCapturesOK describes a response with status code 200, with default header values.

Success

func NewListPacketCapturesOK

func NewListPacketCapturesOK() *ListPacketCapturesOK

NewListPacketCapturesOK creates a ListPacketCapturesOK with default headers values

func (*ListPacketCapturesOK) Error

func (o *ListPacketCapturesOK) Error() string

func (*ListPacketCapturesOK) GetPayload

func (o *ListPacketCapturesOK) GetPayload() []*models.PacketCapture

type ListPacketCapturesParams

type ListPacketCapturesParams struct {

	/* SourceID.

	   Filter by source id
	*/
	SourceID *string

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

ListPacketCapturesParams contains all the parameters to send to the API endpoint

for the list packet captures operation.

Typically these are written to a http.Request.

func NewListPacketCapturesParams

func NewListPacketCapturesParams() *ListPacketCapturesParams

NewListPacketCapturesParams creates a new ListPacketCapturesParams 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 NewListPacketCapturesParamsWithContext

func NewListPacketCapturesParamsWithContext(ctx context.Context) *ListPacketCapturesParams

NewListPacketCapturesParamsWithContext creates a new ListPacketCapturesParams object with the ability to set a context for a request.

func NewListPacketCapturesParamsWithHTTPClient

func NewListPacketCapturesParamsWithHTTPClient(client *http.Client) *ListPacketCapturesParams

NewListPacketCapturesParamsWithHTTPClient creates a new ListPacketCapturesParams object with the ability to set a custom HTTPClient for a request.

func NewListPacketCapturesParamsWithTimeout

func NewListPacketCapturesParamsWithTimeout(timeout time.Duration) *ListPacketCapturesParams

NewListPacketCapturesParamsWithTimeout creates a new ListPacketCapturesParams object with the ability to set a timeout on a request.

func (*ListPacketCapturesParams) SetContext

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

SetContext adds the context to the list packet captures params

func (*ListPacketCapturesParams) SetDefaults

func (o *ListPacketCapturesParams) SetDefaults()

SetDefaults hydrates default values in the list packet captures params (not the query body).

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

func (*ListPacketCapturesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list packet captures params

func (*ListPacketCapturesParams) SetSourceID

func (o *ListPacketCapturesParams) SetSourceID(sourceID *string)

SetSourceID adds the sourceId to the list packet captures params

func (*ListPacketCapturesParams) SetTimeout

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

SetTimeout adds the timeout to the list packet captures params

func (*ListPacketCapturesParams) WithContext

WithContext adds the context to the list packet captures params

func (*ListPacketCapturesParams) WithDefaults

WithDefaults hydrates default values in the list packet captures params (not the query body).

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

func (*ListPacketCapturesParams) WithHTTPClient

func (o *ListPacketCapturesParams) WithHTTPClient(client *http.Client) *ListPacketCapturesParams

WithHTTPClient adds the HTTPClient to the list packet captures params

func (*ListPacketCapturesParams) WithSourceID

func (o *ListPacketCapturesParams) WithSourceID(sourceID *string) *ListPacketCapturesParams

WithSourceID adds the sourceID to the list packet captures params

func (*ListPacketCapturesParams) WithTimeout

WithTimeout adds the timeout to the list packet captures params

func (*ListPacketCapturesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListPacketCapturesReader

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

ListPacketCapturesReader is a Reader for the ListPacketCaptures structure.

func (*ListPacketCapturesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type StartPacketCaptureCreated

type StartPacketCaptureCreated struct {

	/* URI to created capture result object
	 */
	Location string

	Payload *models.PacketCaptureResult
}
StartPacketCaptureCreated describes a response with status code 201, with default header values.

Created

func NewStartPacketCaptureCreated

func NewStartPacketCaptureCreated() *StartPacketCaptureCreated

NewStartPacketCaptureCreated creates a StartPacketCaptureCreated with default headers values

func (*StartPacketCaptureCreated) Error

func (o *StartPacketCaptureCreated) Error() string

func (*StartPacketCaptureCreated) GetPayload

type StartPacketCaptureParams

type StartPacketCaptureParams struct {

	/* ID.

	   Unique resource identifier

	   Format: string
	*/
	ID string

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

StartPacketCaptureParams contains all the parameters to send to the API endpoint

for the start packet capture operation.

Typically these are written to a http.Request.

func NewStartPacketCaptureParams

func NewStartPacketCaptureParams() *StartPacketCaptureParams

NewStartPacketCaptureParams creates a new StartPacketCaptureParams 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 NewStartPacketCaptureParamsWithContext

func NewStartPacketCaptureParamsWithContext(ctx context.Context) *StartPacketCaptureParams

NewStartPacketCaptureParamsWithContext creates a new StartPacketCaptureParams object with the ability to set a context for a request.

func NewStartPacketCaptureParamsWithHTTPClient

func NewStartPacketCaptureParamsWithHTTPClient(client *http.Client) *StartPacketCaptureParams

NewStartPacketCaptureParamsWithHTTPClient creates a new StartPacketCaptureParams object with the ability to set a custom HTTPClient for a request.

func NewStartPacketCaptureParamsWithTimeout

func NewStartPacketCaptureParamsWithTimeout(timeout time.Duration) *StartPacketCaptureParams

NewStartPacketCaptureParamsWithTimeout creates a new StartPacketCaptureParams object with the ability to set a timeout on a request.

func (*StartPacketCaptureParams) SetContext

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

SetContext adds the context to the start packet capture params

func (*StartPacketCaptureParams) SetDefaults

func (o *StartPacketCaptureParams) SetDefaults()

SetDefaults hydrates default values in the start packet capture params (not the query body).

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

func (*StartPacketCaptureParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the start packet capture params

func (*StartPacketCaptureParams) SetID

func (o *StartPacketCaptureParams) SetID(id string)

SetID adds the id to the start packet capture params

func (*StartPacketCaptureParams) SetTimeout

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

SetTimeout adds the timeout to the start packet capture params

func (*StartPacketCaptureParams) WithContext

WithContext adds the context to the start packet capture params

func (*StartPacketCaptureParams) WithDefaults

WithDefaults hydrates default values in the start packet capture params (not the query body).

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

func (*StartPacketCaptureParams) WithHTTPClient

func (o *StartPacketCaptureParams) WithHTTPClient(client *http.Client) *StartPacketCaptureParams

WithHTTPClient adds the HTTPClient to the start packet capture params

func (*StartPacketCaptureParams) WithID

WithID adds the id to the start packet capture params

func (*StartPacketCaptureParams) WithTimeout

WithTimeout adds the timeout to the start packet capture params

func (*StartPacketCaptureParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type StartPacketCaptureReader

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

StartPacketCaptureReader is a Reader for the StartPacketCapture structure.

func (*StartPacketCaptureReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type StopPacketCaptureNoContent

type StopPacketCaptureNoContent struct {
}
StopPacketCaptureNoContent describes a response with status code 204, with default header values.

No Content

func NewStopPacketCaptureNoContent

func NewStopPacketCaptureNoContent() *StopPacketCaptureNoContent

NewStopPacketCaptureNoContent creates a StopPacketCaptureNoContent with default headers values

func (*StopPacketCaptureNoContent) Error

type StopPacketCaptureParams

type StopPacketCaptureParams struct {

	/* ID.

	   Unique resource identifier

	   Format: string
	*/
	ID string

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

StopPacketCaptureParams contains all the parameters to send to the API endpoint

for the stop packet capture operation.

Typically these are written to a http.Request.

func NewStopPacketCaptureParams

func NewStopPacketCaptureParams() *StopPacketCaptureParams

NewStopPacketCaptureParams creates a new StopPacketCaptureParams 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 NewStopPacketCaptureParamsWithContext

func NewStopPacketCaptureParamsWithContext(ctx context.Context) *StopPacketCaptureParams

NewStopPacketCaptureParamsWithContext creates a new StopPacketCaptureParams object with the ability to set a context for a request.

func NewStopPacketCaptureParamsWithHTTPClient

func NewStopPacketCaptureParamsWithHTTPClient(client *http.Client) *StopPacketCaptureParams

NewStopPacketCaptureParamsWithHTTPClient creates a new StopPacketCaptureParams object with the ability to set a custom HTTPClient for a request.

func NewStopPacketCaptureParamsWithTimeout

func NewStopPacketCaptureParamsWithTimeout(timeout time.Duration) *StopPacketCaptureParams

NewStopPacketCaptureParamsWithTimeout creates a new StopPacketCaptureParams object with the ability to set a timeout on a request.

func (*StopPacketCaptureParams) SetContext

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

SetContext adds the context to the stop packet capture params

func (*StopPacketCaptureParams) SetDefaults

func (o *StopPacketCaptureParams) SetDefaults()

SetDefaults hydrates default values in the stop packet capture params (not the query body).

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

func (*StopPacketCaptureParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the stop packet capture params

func (*StopPacketCaptureParams) SetID

func (o *StopPacketCaptureParams) SetID(id string)

SetID adds the id to the stop packet capture params

func (*StopPacketCaptureParams) SetTimeout

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

SetTimeout adds the timeout to the stop packet capture params

func (*StopPacketCaptureParams) WithContext

WithContext adds the context to the stop packet capture params

func (*StopPacketCaptureParams) WithDefaults

WithDefaults hydrates default values in the stop packet capture params (not the query body).

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

func (*StopPacketCaptureParams) WithHTTPClient

func (o *StopPacketCaptureParams) WithHTTPClient(client *http.Client) *StopPacketCaptureParams

WithHTTPClient adds the HTTPClient to the stop packet capture params

func (*StopPacketCaptureParams) WithID

WithID adds the id to the stop packet capture params

func (*StopPacketCaptureParams) WithTimeout

WithTimeout adds the timeout to the stop packet capture params

func (*StopPacketCaptureParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type StopPacketCaptureReader

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

StopPacketCaptureReader is a Reader for the StopPacketCapture structure.

func (*StopPacketCaptureReader) ReadResponse

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

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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