Documentation ¶
Index ¶
- type BulkCreatePacketCapturesBody
- func (o *BulkCreatePacketCapturesBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *BulkCreatePacketCapturesBody) MarshalBinary() ([]byte, error)
- func (o *BulkCreatePacketCapturesBody) UnmarshalBinary(b []byte) error
- func (o *BulkCreatePacketCapturesBody) Validate(formats strfmt.Registry) error
- type BulkCreatePacketCapturesOK
- type BulkCreatePacketCapturesOKBody
- func (o *BulkCreatePacketCapturesOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *BulkCreatePacketCapturesOKBody) MarshalBinary() ([]byte, error)
- func (o *BulkCreatePacketCapturesOKBody) UnmarshalBinary(b []byte) error
- func (o *BulkCreatePacketCapturesOKBody) Validate(formats strfmt.Registry) error
- type BulkCreatePacketCapturesParams
- func NewBulkCreatePacketCapturesParams() *BulkCreatePacketCapturesParams
- func NewBulkCreatePacketCapturesParamsWithContext(ctx context.Context) *BulkCreatePacketCapturesParams
- func NewBulkCreatePacketCapturesParamsWithHTTPClient(client *http.Client) *BulkCreatePacketCapturesParams
- func NewBulkCreatePacketCapturesParamsWithTimeout(timeout time.Duration) *BulkCreatePacketCapturesParams
- func (o *BulkCreatePacketCapturesParams) SetContext(ctx context.Context)
- func (o *BulkCreatePacketCapturesParams) SetCreate(create BulkCreatePacketCapturesBody)
- func (o *BulkCreatePacketCapturesParams) SetDefaults()
- func (o *BulkCreatePacketCapturesParams) SetHTTPClient(client *http.Client)
- func (o *BulkCreatePacketCapturesParams) SetTimeout(timeout time.Duration)
- func (o *BulkCreatePacketCapturesParams) WithContext(ctx context.Context) *BulkCreatePacketCapturesParams
- func (o *BulkCreatePacketCapturesParams) WithCreate(create BulkCreatePacketCapturesBody) *BulkCreatePacketCapturesParams
- func (o *BulkCreatePacketCapturesParams) WithDefaults() *BulkCreatePacketCapturesParams
- func (o *BulkCreatePacketCapturesParams) WithHTTPClient(client *http.Client) *BulkCreatePacketCapturesParams
- func (o *BulkCreatePacketCapturesParams) WithTimeout(timeout time.Duration) *BulkCreatePacketCapturesParams
- func (o *BulkCreatePacketCapturesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type BulkCreatePacketCapturesReader
- type BulkDeletePacketCapturesBody
- func (o *BulkDeletePacketCapturesBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *BulkDeletePacketCapturesBody) MarshalBinary() ([]byte, error)
- func (o *BulkDeletePacketCapturesBody) UnmarshalBinary(b []byte) error
- func (o *BulkDeletePacketCapturesBody) Validate(formats strfmt.Registry) error
- type BulkDeletePacketCapturesNoContent
- type BulkDeletePacketCapturesParams
- func NewBulkDeletePacketCapturesParams() *BulkDeletePacketCapturesParams
- func NewBulkDeletePacketCapturesParamsWithContext(ctx context.Context) *BulkDeletePacketCapturesParams
- func NewBulkDeletePacketCapturesParamsWithHTTPClient(client *http.Client) *BulkDeletePacketCapturesParams
- func NewBulkDeletePacketCapturesParamsWithTimeout(timeout time.Duration) *BulkDeletePacketCapturesParams
- func (o *BulkDeletePacketCapturesParams) SetContext(ctx context.Context)
- func (o *BulkDeletePacketCapturesParams) SetDefaults()
- func (o *BulkDeletePacketCapturesParams) SetDelete(delete BulkDeletePacketCapturesBody)
- func (o *BulkDeletePacketCapturesParams) SetHTTPClient(client *http.Client)
- func (o *BulkDeletePacketCapturesParams) SetTimeout(timeout time.Duration)
- func (o *BulkDeletePacketCapturesParams) WithContext(ctx context.Context) *BulkDeletePacketCapturesParams
- func (o *BulkDeletePacketCapturesParams) WithDefaults() *BulkDeletePacketCapturesParams
- func (o *BulkDeletePacketCapturesParams) WithDelete(delete BulkDeletePacketCapturesBody) *BulkDeletePacketCapturesParams
- func (o *BulkDeletePacketCapturesParams) WithHTTPClient(client *http.Client) *BulkDeletePacketCapturesParams
- func (o *BulkDeletePacketCapturesParams) WithTimeout(timeout time.Duration) *BulkDeletePacketCapturesParams
- func (o *BulkDeletePacketCapturesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type BulkDeletePacketCapturesReader
- type BulkStartPacketCapturesBody
- func (o *BulkStartPacketCapturesBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *BulkStartPacketCapturesBody) MarshalBinary() ([]byte, error)
- func (o *BulkStartPacketCapturesBody) UnmarshalBinary(b []byte) error
- func (o *BulkStartPacketCapturesBody) Validate(formats strfmt.Registry) error
- type BulkStartPacketCapturesOK
- type BulkStartPacketCapturesOKBody
- func (o *BulkStartPacketCapturesOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *BulkStartPacketCapturesOKBody) MarshalBinary() ([]byte, error)
- func (o *BulkStartPacketCapturesOKBody) UnmarshalBinary(b []byte) error
- func (o *BulkStartPacketCapturesOKBody) Validate(formats strfmt.Registry) error
- type BulkStartPacketCapturesParams
- func NewBulkStartPacketCapturesParams() *BulkStartPacketCapturesParams
- func NewBulkStartPacketCapturesParamsWithContext(ctx context.Context) *BulkStartPacketCapturesParams
- func NewBulkStartPacketCapturesParamsWithHTTPClient(client *http.Client) *BulkStartPacketCapturesParams
- func NewBulkStartPacketCapturesParamsWithTimeout(timeout time.Duration) *BulkStartPacketCapturesParams
- func (o *BulkStartPacketCapturesParams) SetContext(ctx context.Context)
- func (o *BulkStartPacketCapturesParams) SetDefaults()
- func (o *BulkStartPacketCapturesParams) SetHTTPClient(client *http.Client)
- func (o *BulkStartPacketCapturesParams) SetStart(start BulkStartPacketCapturesBody)
- func (o *BulkStartPacketCapturesParams) SetTimeout(timeout time.Duration)
- func (o *BulkStartPacketCapturesParams) WithContext(ctx context.Context) *BulkStartPacketCapturesParams
- func (o *BulkStartPacketCapturesParams) WithDefaults() *BulkStartPacketCapturesParams
- func (o *BulkStartPacketCapturesParams) WithHTTPClient(client *http.Client) *BulkStartPacketCapturesParams
- func (o *BulkStartPacketCapturesParams) WithStart(start BulkStartPacketCapturesBody) *BulkStartPacketCapturesParams
- func (o *BulkStartPacketCapturesParams) WithTimeout(timeout time.Duration) *BulkStartPacketCapturesParams
- func (o *BulkStartPacketCapturesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type BulkStartPacketCapturesReader
- type BulkStopPacketCapturesBody
- func (o *BulkStopPacketCapturesBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *BulkStopPacketCapturesBody) MarshalBinary() ([]byte, error)
- func (o *BulkStopPacketCapturesBody) UnmarshalBinary(b []byte) error
- func (o *BulkStopPacketCapturesBody) Validate(formats strfmt.Registry) error
- type BulkStopPacketCapturesNoContent
- type BulkStopPacketCapturesParams
- func NewBulkStopPacketCapturesParams() *BulkStopPacketCapturesParams
- func NewBulkStopPacketCapturesParamsWithContext(ctx context.Context) *BulkStopPacketCapturesParams
- func NewBulkStopPacketCapturesParamsWithHTTPClient(client *http.Client) *BulkStopPacketCapturesParams
- func NewBulkStopPacketCapturesParamsWithTimeout(timeout time.Duration) *BulkStopPacketCapturesParams
- func (o *BulkStopPacketCapturesParams) SetContext(ctx context.Context)
- func (o *BulkStopPacketCapturesParams) SetDefaults()
- func (o *BulkStopPacketCapturesParams) SetHTTPClient(client *http.Client)
- func (o *BulkStopPacketCapturesParams) SetStop(stop BulkStopPacketCapturesBody)
- func (o *BulkStopPacketCapturesParams) SetTimeout(timeout time.Duration)
- func (o *BulkStopPacketCapturesParams) WithContext(ctx context.Context) *BulkStopPacketCapturesParams
- func (o *BulkStopPacketCapturesParams) WithDefaults() *BulkStopPacketCapturesParams
- func (o *BulkStopPacketCapturesParams) WithHTTPClient(client *http.Client) *BulkStopPacketCapturesParams
- func (o *BulkStopPacketCapturesParams) WithStop(stop BulkStopPacketCapturesBody) *BulkStopPacketCapturesParams
- func (o *BulkStopPacketCapturesParams) WithTimeout(timeout time.Duration) *BulkStopPacketCapturesParams
- func (o *BulkStopPacketCapturesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type BulkStopPacketCapturesReader
- type Client
- func (a *Client) BulkCreatePacketCaptures(params *BulkCreatePacketCapturesParams, opts ...ClientOption) (*BulkCreatePacketCapturesOK, error)
- func (a *Client) BulkDeletePacketCaptures(params *BulkDeletePacketCapturesParams, opts ...ClientOption) (*BulkDeletePacketCapturesNoContent, error)
- func (a *Client) BulkStartPacketCaptures(params *BulkStartPacketCapturesParams, opts ...ClientOption) (*BulkStartPacketCapturesOK, error)
- func (a *Client) BulkStopPacketCaptures(params *BulkStopPacketCapturesParams, opts ...ClientOption) (*BulkStopPacketCapturesNoContent, error)
- func (a *Client) CreatePacketCapture(params *CreatePacketCaptureParams, opts ...ClientOption) (*CreatePacketCaptureCreated, error)
- func (a *Client) DeletePacketCapture(params *DeletePacketCaptureParams, opts ...ClientOption) (*DeletePacketCaptureNoContent, error)
- func (a *Client) DeletePacketCaptureResult(params *DeletePacketCaptureResultParams, opts ...ClientOption) (*DeletePacketCaptureResultNoContent, error)
- func (a *Client) DeletePacketCaptureResults(params *DeletePacketCaptureResultsParams, opts ...ClientOption) (*DeletePacketCaptureResultsNoContent, error)
- func (a *Client) DeletePacketCaptures(params *DeletePacketCapturesParams, opts ...ClientOption) (*DeletePacketCapturesNoContent, error)
- func (a *Client) GetPacketCapture(params *GetPacketCaptureParams, opts ...ClientOption) (*GetPacketCaptureOK, error)
- func (a *Client) GetPacketCaptureLive(params *GetPacketCaptureLiveParams, writer io.Writer, opts ...ClientOption) (*GetPacketCaptureLiveOK, error)
- func (a *Client) GetPacketCapturePcap(params *GetPacketCapturePcapParams, writer io.Writer, opts ...ClientOption) (*GetPacketCapturePcapOK, error)
- func (a *Client) GetPacketCaptureResult(params *GetPacketCaptureResultParams, opts ...ClientOption) (*GetPacketCaptureResultOK, error)
- func (a *Client) GetPacketCapturesPcap(params *GetPacketCapturesPcapParams, writer io.Writer, opts ...ClientOption) (*GetPacketCapturesPcapOK, error)
- func (a *Client) ListPacketCaptureResults(params *ListPacketCaptureResultsParams, opts ...ClientOption) (*ListPacketCaptureResultsOK, error)
- func (a *Client) ListPacketCaptures(params *ListPacketCapturesParams, opts ...ClientOption) (*ListPacketCapturesOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) StartPacketCapture(params *StartPacketCaptureParams, opts ...ClientOption) (*StartPacketCaptureCreated, error)
- func (a *Client) StopPacketCapture(params *StopPacketCaptureParams, opts ...ClientOption) (*StopPacketCaptureNoContent, error)
- type ClientOption
- type ClientService
- type CreatePacketCaptureCreated
- type CreatePacketCaptureParams
- func NewCreatePacketCaptureParams() *CreatePacketCaptureParams
- func NewCreatePacketCaptureParamsWithContext(ctx context.Context) *CreatePacketCaptureParams
- func NewCreatePacketCaptureParamsWithHTTPClient(client *http.Client) *CreatePacketCaptureParams
- func NewCreatePacketCaptureParamsWithTimeout(timeout time.Duration) *CreatePacketCaptureParams
- func (o *CreatePacketCaptureParams) SetCapture(capture *models.PacketCapture)
- func (o *CreatePacketCaptureParams) SetContext(ctx context.Context)
- func (o *CreatePacketCaptureParams) SetDefaults()
- func (o *CreatePacketCaptureParams) SetHTTPClient(client *http.Client)
- func (o *CreatePacketCaptureParams) SetTimeout(timeout time.Duration)
- func (o *CreatePacketCaptureParams) WithCapture(capture *models.PacketCapture) *CreatePacketCaptureParams
- func (o *CreatePacketCaptureParams) WithContext(ctx context.Context) *CreatePacketCaptureParams
- func (o *CreatePacketCaptureParams) WithDefaults() *CreatePacketCaptureParams
- func (o *CreatePacketCaptureParams) WithHTTPClient(client *http.Client) *CreatePacketCaptureParams
- func (o *CreatePacketCaptureParams) WithTimeout(timeout time.Duration) *CreatePacketCaptureParams
- func (o *CreatePacketCaptureParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreatePacketCaptureReader
- type DeletePacketCaptureNoContent
- type DeletePacketCaptureParams
- func NewDeletePacketCaptureParams() *DeletePacketCaptureParams
- func NewDeletePacketCaptureParamsWithContext(ctx context.Context) *DeletePacketCaptureParams
- func NewDeletePacketCaptureParamsWithHTTPClient(client *http.Client) *DeletePacketCaptureParams
- func NewDeletePacketCaptureParamsWithTimeout(timeout time.Duration) *DeletePacketCaptureParams
- func (o *DeletePacketCaptureParams) SetContext(ctx context.Context)
- func (o *DeletePacketCaptureParams) SetDefaults()
- func (o *DeletePacketCaptureParams) SetHTTPClient(client *http.Client)
- func (o *DeletePacketCaptureParams) SetID(id string)
- func (o *DeletePacketCaptureParams) SetTimeout(timeout time.Duration)
- func (o *DeletePacketCaptureParams) WithContext(ctx context.Context) *DeletePacketCaptureParams
- func (o *DeletePacketCaptureParams) WithDefaults() *DeletePacketCaptureParams
- func (o *DeletePacketCaptureParams) WithHTTPClient(client *http.Client) *DeletePacketCaptureParams
- func (o *DeletePacketCaptureParams) WithID(id string) *DeletePacketCaptureParams
- func (o *DeletePacketCaptureParams) WithTimeout(timeout time.Duration) *DeletePacketCaptureParams
- func (o *DeletePacketCaptureParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeletePacketCaptureReader
- type DeletePacketCaptureResultNoContent
- type DeletePacketCaptureResultParams
- func NewDeletePacketCaptureResultParams() *DeletePacketCaptureResultParams
- func NewDeletePacketCaptureResultParamsWithContext(ctx context.Context) *DeletePacketCaptureResultParams
- func NewDeletePacketCaptureResultParamsWithHTTPClient(client *http.Client) *DeletePacketCaptureResultParams
- func NewDeletePacketCaptureResultParamsWithTimeout(timeout time.Duration) *DeletePacketCaptureResultParams
- func (o *DeletePacketCaptureResultParams) SetContext(ctx context.Context)
- func (o *DeletePacketCaptureResultParams) SetDefaults()
- func (o *DeletePacketCaptureResultParams) SetHTTPClient(client *http.Client)
- func (o *DeletePacketCaptureResultParams) SetID(id string)
- func (o *DeletePacketCaptureResultParams) SetTimeout(timeout time.Duration)
- func (o *DeletePacketCaptureResultParams) WithContext(ctx context.Context) *DeletePacketCaptureResultParams
- func (o *DeletePacketCaptureResultParams) WithDefaults() *DeletePacketCaptureResultParams
- func (o *DeletePacketCaptureResultParams) WithHTTPClient(client *http.Client) *DeletePacketCaptureResultParams
- func (o *DeletePacketCaptureResultParams) WithID(id string) *DeletePacketCaptureResultParams
- func (o *DeletePacketCaptureResultParams) WithTimeout(timeout time.Duration) *DeletePacketCaptureResultParams
- func (o *DeletePacketCaptureResultParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeletePacketCaptureResultReader
- type DeletePacketCaptureResultsNoContent
- type DeletePacketCaptureResultsParams
- func NewDeletePacketCaptureResultsParams() *DeletePacketCaptureResultsParams
- func NewDeletePacketCaptureResultsParamsWithContext(ctx context.Context) *DeletePacketCaptureResultsParams
- func NewDeletePacketCaptureResultsParamsWithHTTPClient(client *http.Client) *DeletePacketCaptureResultsParams
- func NewDeletePacketCaptureResultsParamsWithTimeout(timeout time.Duration) *DeletePacketCaptureResultsParams
- func (o *DeletePacketCaptureResultsParams) SetContext(ctx context.Context)
- func (o *DeletePacketCaptureResultsParams) SetDefaults()
- func (o *DeletePacketCaptureResultsParams) SetHTTPClient(client *http.Client)
- func (o *DeletePacketCaptureResultsParams) SetTimeout(timeout time.Duration)
- func (o *DeletePacketCaptureResultsParams) WithContext(ctx context.Context) *DeletePacketCaptureResultsParams
- func (o *DeletePacketCaptureResultsParams) WithDefaults() *DeletePacketCaptureResultsParams
- func (o *DeletePacketCaptureResultsParams) WithHTTPClient(client *http.Client) *DeletePacketCaptureResultsParams
- func (o *DeletePacketCaptureResultsParams) WithTimeout(timeout time.Duration) *DeletePacketCaptureResultsParams
- func (o *DeletePacketCaptureResultsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeletePacketCaptureResultsReader
- type DeletePacketCapturesNoContent
- type DeletePacketCapturesParams
- func NewDeletePacketCapturesParams() *DeletePacketCapturesParams
- func NewDeletePacketCapturesParamsWithContext(ctx context.Context) *DeletePacketCapturesParams
- func NewDeletePacketCapturesParamsWithHTTPClient(client *http.Client) *DeletePacketCapturesParams
- func NewDeletePacketCapturesParamsWithTimeout(timeout time.Duration) *DeletePacketCapturesParams
- func (o *DeletePacketCapturesParams) SetContext(ctx context.Context)
- func (o *DeletePacketCapturesParams) SetDefaults()
- func (o *DeletePacketCapturesParams) SetHTTPClient(client *http.Client)
- func (o *DeletePacketCapturesParams) SetTimeout(timeout time.Duration)
- func (o *DeletePacketCapturesParams) WithContext(ctx context.Context) *DeletePacketCapturesParams
- func (o *DeletePacketCapturesParams) WithDefaults() *DeletePacketCapturesParams
- func (o *DeletePacketCapturesParams) WithHTTPClient(client *http.Client) *DeletePacketCapturesParams
- func (o *DeletePacketCapturesParams) WithTimeout(timeout time.Duration) *DeletePacketCapturesParams
- func (o *DeletePacketCapturesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeletePacketCapturesReader
- type GetPacketCaptureLiveOK
- type GetPacketCaptureLiveParams
- func NewGetPacketCaptureLiveParams() *GetPacketCaptureLiveParams
- func NewGetPacketCaptureLiveParamsWithContext(ctx context.Context) *GetPacketCaptureLiveParams
- func NewGetPacketCaptureLiveParamsWithHTTPClient(client *http.Client) *GetPacketCaptureLiveParams
- func NewGetPacketCaptureLiveParamsWithTimeout(timeout time.Duration) *GetPacketCaptureLiveParams
- func (o *GetPacketCaptureLiveParams) SetContext(ctx context.Context)
- func (o *GetPacketCaptureLiveParams) SetDefaults()
- func (o *GetPacketCaptureLiveParams) SetHTTPClient(client *http.Client)
- func (o *GetPacketCaptureLiveParams) SetID(id string)
- func (o *GetPacketCaptureLiveParams) SetTimeout(timeout time.Duration)
- func (o *GetPacketCaptureLiveParams) WithContext(ctx context.Context) *GetPacketCaptureLiveParams
- func (o *GetPacketCaptureLiveParams) WithDefaults() *GetPacketCaptureLiveParams
- func (o *GetPacketCaptureLiveParams) WithHTTPClient(client *http.Client) *GetPacketCaptureLiveParams
- func (o *GetPacketCaptureLiveParams) WithID(id string) *GetPacketCaptureLiveParams
- func (o *GetPacketCaptureLiveParams) WithTimeout(timeout time.Duration) *GetPacketCaptureLiveParams
- func (o *GetPacketCaptureLiveParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPacketCaptureLiveReader
- type GetPacketCaptureOK
- type GetPacketCaptureParams
- func NewGetPacketCaptureParams() *GetPacketCaptureParams
- func NewGetPacketCaptureParamsWithContext(ctx context.Context) *GetPacketCaptureParams
- func NewGetPacketCaptureParamsWithHTTPClient(client *http.Client) *GetPacketCaptureParams
- func NewGetPacketCaptureParamsWithTimeout(timeout time.Duration) *GetPacketCaptureParams
- func (o *GetPacketCaptureParams) SetContext(ctx context.Context)
- func (o *GetPacketCaptureParams) SetDefaults()
- func (o *GetPacketCaptureParams) SetHTTPClient(client *http.Client)
- func (o *GetPacketCaptureParams) SetID(id string)
- func (o *GetPacketCaptureParams) SetTimeout(timeout time.Duration)
- func (o *GetPacketCaptureParams) WithContext(ctx context.Context) *GetPacketCaptureParams
- func (o *GetPacketCaptureParams) WithDefaults() *GetPacketCaptureParams
- func (o *GetPacketCaptureParams) WithHTTPClient(client *http.Client) *GetPacketCaptureParams
- func (o *GetPacketCaptureParams) WithID(id string) *GetPacketCaptureParams
- func (o *GetPacketCaptureParams) WithTimeout(timeout time.Duration) *GetPacketCaptureParams
- func (o *GetPacketCaptureParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPacketCapturePcapOK
- type GetPacketCapturePcapParams
- func NewGetPacketCapturePcapParams() *GetPacketCapturePcapParams
- func NewGetPacketCapturePcapParamsWithContext(ctx context.Context) *GetPacketCapturePcapParams
- func NewGetPacketCapturePcapParamsWithHTTPClient(client *http.Client) *GetPacketCapturePcapParams
- func NewGetPacketCapturePcapParamsWithTimeout(timeout time.Duration) *GetPacketCapturePcapParams
- func (o *GetPacketCapturePcapParams) SetContext(ctx context.Context)
- func (o *GetPacketCapturePcapParams) SetDefaults()
- func (o *GetPacketCapturePcapParams) SetHTTPClient(client *http.Client)
- func (o *GetPacketCapturePcapParams) SetID(id string)
- func (o *GetPacketCapturePcapParams) SetPacketEnd(packetEnd *int64)
- func (o *GetPacketCapturePcapParams) SetPacketStart(packetStart *int64)
- func (o *GetPacketCapturePcapParams) SetTimeout(timeout time.Duration)
- func (o *GetPacketCapturePcapParams) WithContext(ctx context.Context) *GetPacketCapturePcapParams
- func (o *GetPacketCapturePcapParams) WithDefaults() *GetPacketCapturePcapParams
- func (o *GetPacketCapturePcapParams) WithHTTPClient(client *http.Client) *GetPacketCapturePcapParams
- func (o *GetPacketCapturePcapParams) WithID(id string) *GetPacketCapturePcapParams
- func (o *GetPacketCapturePcapParams) WithPacketEnd(packetEnd *int64) *GetPacketCapturePcapParams
- func (o *GetPacketCapturePcapParams) WithPacketStart(packetStart *int64) *GetPacketCapturePcapParams
- func (o *GetPacketCapturePcapParams) WithTimeout(timeout time.Duration) *GetPacketCapturePcapParams
- func (o *GetPacketCapturePcapParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPacketCapturePcapReader
- type GetPacketCaptureReader
- type GetPacketCaptureResultOK
- type GetPacketCaptureResultParams
- func NewGetPacketCaptureResultParams() *GetPacketCaptureResultParams
- func NewGetPacketCaptureResultParamsWithContext(ctx context.Context) *GetPacketCaptureResultParams
- func NewGetPacketCaptureResultParamsWithHTTPClient(client *http.Client) *GetPacketCaptureResultParams
- func NewGetPacketCaptureResultParamsWithTimeout(timeout time.Duration) *GetPacketCaptureResultParams
- func (o *GetPacketCaptureResultParams) SetContext(ctx context.Context)
- func (o *GetPacketCaptureResultParams) SetDefaults()
- func (o *GetPacketCaptureResultParams) SetHTTPClient(client *http.Client)
- func (o *GetPacketCaptureResultParams) SetID(id string)
- func (o *GetPacketCaptureResultParams) SetTimeout(timeout time.Duration)
- func (o *GetPacketCaptureResultParams) WithContext(ctx context.Context) *GetPacketCaptureResultParams
- func (o *GetPacketCaptureResultParams) WithDefaults() *GetPacketCaptureResultParams
- func (o *GetPacketCaptureResultParams) WithHTTPClient(client *http.Client) *GetPacketCaptureResultParams
- func (o *GetPacketCaptureResultParams) WithID(id string) *GetPacketCaptureResultParams
- func (o *GetPacketCaptureResultParams) WithTimeout(timeout time.Duration) *GetPacketCaptureResultParams
- func (o *GetPacketCaptureResultParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPacketCaptureResultReader
- type GetPacketCapturesPcapBody
- func (o *GetPacketCapturesPcapBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetPacketCapturesPcapBody) MarshalBinary() ([]byte, error)
- func (o *GetPacketCapturesPcapBody) UnmarshalBinary(b []byte) error
- func (o *GetPacketCapturesPcapBody) Validate(formats strfmt.Registry) error
- type GetPacketCapturesPcapOK
- type GetPacketCapturesPcapParams
- func NewGetPacketCapturesPcapParams() *GetPacketCapturesPcapParams
- func NewGetPacketCapturesPcapParamsWithContext(ctx context.Context) *GetPacketCapturesPcapParams
- func NewGetPacketCapturesPcapParamsWithHTTPClient(client *http.Client) *GetPacketCapturesPcapParams
- func NewGetPacketCapturesPcapParamsWithTimeout(timeout time.Duration) *GetPacketCapturesPcapParams
- func (o *GetPacketCapturesPcapParams) SetConfig(config GetPacketCapturesPcapBody)
- func (o *GetPacketCapturesPcapParams) SetContext(ctx context.Context)
- func (o *GetPacketCapturesPcapParams) SetDefaults()
- func (o *GetPacketCapturesPcapParams) SetHTTPClient(client *http.Client)
- func (o *GetPacketCapturesPcapParams) SetTimeout(timeout time.Duration)
- func (o *GetPacketCapturesPcapParams) WithConfig(config GetPacketCapturesPcapBody) *GetPacketCapturesPcapParams
- func (o *GetPacketCapturesPcapParams) WithContext(ctx context.Context) *GetPacketCapturesPcapParams
- func (o *GetPacketCapturesPcapParams) WithDefaults() *GetPacketCapturesPcapParams
- func (o *GetPacketCapturesPcapParams) WithHTTPClient(client *http.Client) *GetPacketCapturesPcapParams
- func (o *GetPacketCapturesPcapParams) WithTimeout(timeout time.Duration) *GetPacketCapturesPcapParams
- func (o *GetPacketCapturesPcapParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPacketCapturesPcapReader
- type ListPacketCaptureResultsOK
- type ListPacketCaptureResultsParams
- func NewListPacketCaptureResultsParams() *ListPacketCaptureResultsParams
- func NewListPacketCaptureResultsParamsWithContext(ctx context.Context) *ListPacketCaptureResultsParams
- func NewListPacketCaptureResultsParamsWithHTTPClient(client *http.Client) *ListPacketCaptureResultsParams
- func NewListPacketCaptureResultsParamsWithTimeout(timeout time.Duration) *ListPacketCaptureResultsParams
- func (o *ListPacketCaptureResultsParams) SetCaptureID(captureID *string)
- func (o *ListPacketCaptureResultsParams) SetContext(ctx context.Context)
- func (o *ListPacketCaptureResultsParams) SetDefaults()
- func (o *ListPacketCaptureResultsParams) SetHTTPClient(client *http.Client)
- func (o *ListPacketCaptureResultsParams) SetSourceID(sourceID *string)
- func (o *ListPacketCaptureResultsParams) SetTimeout(timeout time.Duration)
- func (o *ListPacketCaptureResultsParams) WithCaptureID(captureID *string) *ListPacketCaptureResultsParams
- func (o *ListPacketCaptureResultsParams) WithContext(ctx context.Context) *ListPacketCaptureResultsParams
- func (o *ListPacketCaptureResultsParams) WithDefaults() *ListPacketCaptureResultsParams
- func (o *ListPacketCaptureResultsParams) WithHTTPClient(client *http.Client) *ListPacketCaptureResultsParams
- func (o *ListPacketCaptureResultsParams) WithSourceID(sourceID *string) *ListPacketCaptureResultsParams
- func (o *ListPacketCaptureResultsParams) WithTimeout(timeout time.Duration) *ListPacketCaptureResultsParams
- func (o *ListPacketCaptureResultsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListPacketCaptureResultsReader
- type ListPacketCapturesOK
- type ListPacketCapturesParams
- func NewListPacketCapturesParams() *ListPacketCapturesParams
- func NewListPacketCapturesParamsWithContext(ctx context.Context) *ListPacketCapturesParams
- func NewListPacketCapturesParamsWithHTTPClient(client *http.Client) *ListPacketCapturesParams
- func NewListPacketCapturesParamsWithTimeout(timeout time.Duration) *ListPacketCapturesParams
- func (o *ListPacketCapturesParams) SetContext(ctx context.Context)
- func (o *ListPacketCapturesParams) SetDefaults()
- func (o *ListPacketCapturesParams) SetHTTPClient(client *http.Client)
- func (o *ListPacketCapturesParams) SetSourceID(sourceID *string)
- func (o *ListPacketCapturesParams) SetTimeout(timeout time.Duration)
- func (o *ListPacketCapturesParams) WithContext(ctx context.Context) *ListPacketCapturesParams
- func (o *ListPacketCapturesParams) WithDefaults() *ListPacketCapturesParams
- func (o *ListPacketCapturesParams) WithHTTPClient(client *http.Client) *ListPacketCapturesParams
- func (o *ListPacketCapturesParams) WithSourceID(sourceID *string) *ListPacketCapturesParams
- func (o *ListPacketCapturesParams) WithTimeout(timeout time.Duration) *ListPacketCapturesParams
- func (o *ListPacketCapturesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListPacketCapturesReader
- type StartPacketCaptureCreated
- type StartPacketCaptureParams
- func NewStartPacketCaptureParams() *StartPacketCaptureParams
- func NewStartPacketCaptureParamsWithContext(ctx context.Context) *StartPacketCaptureParams
- func NewStartPacketCaptureParamsWithHTTPClient(client *http.Client) *StartPacketCaptureParams
- func NewStartPacketCaptureParamsWithTimeout(timeout time.Duration) *StartPacketCaptureParams
- func (o *StartPacketCaptureParams) SetContext(ctx context.Context)
- func (o *StartPacketCaptureParams) SetDefaults()
- func (o *StartPacketCaptureParams) SetHTTPClient(client *http.Client)
- func (o *StartPacketCaptureParams) SetID(id string)
- func (o *StartPacketCaptureParams) SetTimeout(timeout time.Duration)
- func (o *StartPacketCaptureParams) WithContext(ctx context.Context) *StartPacketCaptureParams
- func (o *StartPacketCaptureParams) WithDefaults() *StartPacketCaptureParams
- func (o *StartPacketCaptureParams) WithHTTPClient(client *http.Client) *StartPacketCaptureParams
- func (o *StartPacketCaptureParams) WithID(id string) *StartPacketCaptureParams
- func (o *StartPacketCaptureParams) WithTimeout(timeout time.Duration) *StartPacketCaptureParams
- func (o *StartPacketCaptureParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type StartPacketCaptureReader
- type StopPacketCaptureNoContent
- type StopPacketCaptureParams
- func NewStopPacketCaptureParams() *StopPacketCaptureParams
- func NewStopPacketCaptureParamsWithContext(ctx context.Context) *StopPacketCaptureParams
- func NewStopPacketCaptureParamsWithHTTPClient(client *http.Client) *StopPacketCaptureParams
- func NewStopPacketCaptureParamsWithTimeout(timeout time.Duration) *StopPacketCaptureParams
- func (o *StopPacketCaptureParams) SetContext(ctx context.Context)
- func (o *StopPacketCaptureParams) SetDefaults()
- func (o *StopPacketCaptureParams) SetHTTPClient(client *http.Client)
- func (o *StopPacketCaptureParams) SetID(id string)
- func (o *StopPacketCaptureParams) SetTimeout(timeout time.Duration)
- func (o *StopPacketCaptureParams) WithContext(ctx context.Context) *StopPacketCaptureParams
- func (o *StopPacketCaptureParams) WithDefaults() *StopPacketCaptureParams
- func (o *StopPacketCaptureParams) WithHTTPClient(client *http.Client) *StopPacketCaptureParams
- func (o *StopPacketCaptureParams) WithID(id string) *StopPacketCaptureParams
- func (o *StopPacketCaptureParams) WithTimeout(timeout time.Duration) *StopPacketCaptureParams
- func (o *StopPacketCaptureParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type StopPacketCaptureReader
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
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 (o *BulkCreatePacketCapturesOK) Error() string
func (*BulkCreatePacketCapturesOK) GetPayload ¶
func (o *BulkCreatePacketCapturesOK) GetPayload() *BulkCreatePacketCapturesOKBody
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
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 ¶
func (o *BulkCreatePacketCapturesParams) SetCreate(create BulkCreatePacketCapturesBody)
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 ¶
func (o *BulkCreatePacketCapturesParams) WithContext(ctx context.Context) *BulkCreatePacketCapturesParams
WithContext adds the context to the bulk create packet captures params
func (*BulkCreatePacketCapturesParams) WithCreate ¶
func (o *BulkCreatePacketCapturesParams) WithCreate(create BulkCreatePacketCapturesBody) *BulkCreatePacketCapturesParams
WithCreate adds the create to the bulk create packet captures params
func (*BulkCreatePacketCapturesParams) WithDefaults ¶
func (o *BulkCreatePacketCapturesParams) WithDefaults() *BulkCreatePacketCapturesParams
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 ¶
func (o *BulkCreatePacketCapturesParams) WithHTTPClient(client *http.Client) *BulkCreatePacketCapturesParams
WithHTTPClient adds the HTTPClient to the bulk create packet captures params
func (*BulkCreatePacketCapturesParams) WithTimeout ¶
func (o *BulkCreatePacketCapturesParams) WithTimeout(timeout time.Duration) *BulkCreatePacketCapturesParams
WithTimeout adds the timeout to the bulk create packet captures params
func (*BulkCreatePacketCapturesParams) WriteToRequest ¶
func (o *BulkCreatePacketCapturesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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
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 ¶
func (o *BulkDeletePacketCapturesNoContent) Error() string
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 ¶
func (o *BulkDeletePacketCapturesParams) SetDelete(delete BulkDeletePacketCapturesBody)
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 ¶
func (o *BulkDeletePacketCapturesParams) WithContext(ctx context.Context) *BulkDeletePacketCapturesParams
WithContext adds the context to the bulk delete packet captures params
func (*BulkDeletePacketCapturesParams) WithDefaults ¶
func (o *BulkDeletePacketCapturesParams) WithDefaults() *BulkDeletePacketCapturesParams
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 ¶
func (o *BulkDeletePacketCapturesParams) WithDelete(delete BulkDeletePacketCapturesBody) *BulkDeletePacketCapturesParams
WithDelete adds the delete to the bulk delete packet captures params
func (*BulkDeletePacketCapturesParams) WithHTTPClient ¶
func (o *BulkDeletePacketCapturesParams) WithHTTPClient(client *http.Client) *BulkDeletePacketCapturesParams
WithHTTPClient adds the HTTPClient to the bulk delete packet captures params
func (*BulkDeletePacketCapturesParams) WithTimeout ¶
func (o *BulkDeletePacketCapturesParams) WithTimeout(timeout time.Duration) *BulkDeletePacketCapturesParams
WithTimeout adds the timeout to the bulk delete packet captures params
func (*BulkDeletePacketCapturesParams) WriteToRequest ¶
func (o *BulkDeletePacketCapturesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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
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 ¶
func (o *BulkStartPacketCapturesOK) GetPayload() *BulkStartPacketCapturesOKBody
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
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 ¶
func (o *BulkStartPacketCapturesParams) SetStart(start BulkStartPacketCapturesBody)
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 ¶
func (o *BulkStartPacketCapturesParams) WithContext(ctx context.Context) *BulkStartPacketCapturesParams
WithContext adds the context to the bulk start packet captures params
func (*BulkStartPacketCapturesParams) WithDefaults ¶
func (o *BulkStartPacketCapturesParams) WithDefaults() *BulkStartPacketCapturesParams
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 ¶
func (o *BulkStartPacketCapturesParams) WithHTTPClient(client *http.Client) *BulkStartPacketCapturesParams
WithHTTPClient adds the HTTPClient to the bulk start packet captures params
func (*BulkStartPacketCapturesParams) WithStart ¶
func (o *BulkStartPacketCapturesParams) WithStart(start BulkStartPacketCapturesBody) *BulkStartPacketCapturesParams
WithStart adds the start to the bulk start packet captures params
func (*BulkStartPacketCapturesParams) WithTimeout ¶
func (o *BulkStartPacketCapturesParams) WithTimeout(timeout time.Duration) *BulkStartPacketCapturesParams
WithTimeout adds the timeout to the bulk start packet captures params
func (*BulkStartPacketCapturesParams) WriteToRequest ¶
func (o *BulkStartPacketCapturesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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
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 ¶
func (o *BulkStopPacketCapturesNoContent) Error() string
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 ¶
func (o *BulkStopPacketCapturesParams) SetStop(stop BulkStopPacketCapturesBody)
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 ¶
func (o *BulkStopPacketCapturesParams) WithContext(ctx context.Context) *BulkStopPacketCapturesParams
WithContext adds the context to the bulk stop packet captures params
func (*BulkStopPacketCapturesParams) WithDefaults ¶
func (o *BulkStopPacketCapturesParams) WithDefaults() *BulkStopPacketCapturesParams
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 ¶
func (o *BulkStopPacketCapturesParams) WithHTTPClient(client *http.Client) *BulkStopPacketCapturesParams
WithHTTPClient adds the HTTPClient to the bulk stop packet captures params
func (*BulkStopPacketCapturesParams) WithStop ¶
func (o *BulkStopPacketCapturesParams) WithStop(stop BulkStopPacketCapturesBody) *BulkStopPacketCapturesParams
WithStop adds the stop to the bulk stop packet captures params
func (*BulkStopPacketCapturesParams) WithTimeout ¶
func (o *BulkStopPacketCapturesParams) WithTimeout(timeout time.Duration) *BulkStopPacketCapturesParams
WithTimeout adds the timeout to the bulk stop packet captures params
func (*BulkStopPacketCapturesParams) WriteToRequest ¶
func (o *BulkStopPacketCapturesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *CreatePacketCaptureCreated) Error() string
func (*CreatePacketCaptureCreated) GetPayload ¶
func (o *CreatePacketCaptureCreated) GetPayload() *models.PacketCapture
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 ¶
func (o *CreatePacketCaptureParams) WithCapture(capture *models.PacketCapture) *CreatePacketCaptureParams
WithCapture adds the capture to the create packet capture params
func (*CreatePacketCaptureParams) WithContext ¶
func (o *CreatePacketCaptureParams) WithContext(ctx context.Context) *CreatePacketCaptureParams
WithContext adds the context to the create packet capture params
func (*CreatePacketCaptureParams) WithDefaults ¶
func (o *CreatePacketCaptureParams) WithDefaults() *CreatePacketCaptureParams
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 ¶
func (o *CreatePacketCaptureParams) WithTimeout(timeout time.Duration) *CreatePacketCaptureParams
WithTimeout adds the timeout to the create packet capture params
func (*CreatePacketCaptureParams) WriteToRequest ¶
func (o *CreatePacketCaptureParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *DeletePacketCaptureNoContent) Error() string
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 ¶
func (o *DeletePacketCaptureParams) WithContext(ctx context.Context) *DeletePacketCaptureParams
WithContext adds the context to the delete packet capture params
func (*DeletePacketCaptureParams) WithDefaults ¶
func (o *DeletePacketCaptureParams) WithDefaults() *DeletePacketCaptureParams
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 ¶
func (o *DeletePacketCaptureParams) WithID(id string) *DeletePacketCaptureParams
WithID adds the id to the delete packet capture params
func (*DeletePacketCaptureParams) WithTimeout ¶
func (o *DeletePacketCaptureParams) WithTimeout(timeout time.Duration) *DeletePacketCaptureParams
WithTimeout adds the timeout to the delete packet capture params
func (*DeletePacketCaptureParams) WriteToRequest ¶
func (o *DeletePacketCaptureParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *DeletePacketCaptureResultNoContent) Error() string
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 ¶
func (o *DeletePacketCaptureResultParams) SetID(id string)
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 ¶
func (o *DeletePacketCaptureResultParams) WithContext(ctx context.Context) *DeletePacketCaptureResultParams
WithContext adds the context to the delete packet capture result params
func (*DeletePacketCaptureResultParams) WithDefaults ¶
func (o *DeletePacketCaptureResultParams) WithDefaults() *DeletePacketCaptureResultParams
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 ¶
func (o *DeletePacketCaptureResultParams) WithHTTPClient(client *http.Client) *DeletePacketCaptureResultParams
WithHTTPClient adds the HTTPClient to the delete packet capture result params
func (*DeletePacketCaptureResultParams) WithID ¶
func (o *DeletePacketCaptureResultParams) WithID(id string) *DeletePacketCaptureResultParams
WithID adds the id to the delete packet capture result params
func (*DeletePacketCaptureResultParams) WithTimeout ¶
func (o *DeletePacketCaptureResultParams) WithTimeout(timeout time.Duration) *DeletePacketCaptureResultParams
WithTimeout adds the timeout to the delete packet capture result params
func (*DeletePacketCaptureResultParams) WriteToRequest ¶
func (o *DeletePacketCaptureResultParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *DeletePacketCaptureResultsNoContent) Error() string
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 ¶
func (o *DeletePacketCaptureResultsParams) SetContext(ctx context.Context)
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 ¶
func (o *DeletePacketCaptureResultsParams) WithContext(ctx context.Context) *DeletePacketCaptureResultsParams
WithContext adds the context to the delete packet capture results params
func (*DeletePacketCaptureResultsParams) WithDefaults ¶
func (o *DeletePacketCaptureResultsParams) WithDefaults() *DeletePacketCaptureResultsParams
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 ¶
func (o *DeletePacketCaptureResultsParams) WithHTTPClient(client *http.Client) *DeletePacketCaptureResultsParams
WithHTTPClient adds the HTTPClient to the delete packet capture results params
func (*DeletePacketCaptureResultsParams) WithTimeout ¶
func (o *DeletePacketCaptureResultsParams) WithTimeout(timeout time.Duration) *DeletePacketCaptureResultsParams
WithTimeout adds the timeout to the delete packet capture results params
func (*DeletePacketCaptureResultsParams) WriteToRequest ¶
func (o *DeletePacketCaptureResultsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *DeletePacketCapturesNoContent) Error() string
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 ¶
func (o *DeletePacketCapturesParams) WithContext(ctx context.Context) *DeletePacketCapturesParams
WithContext adds the context to the delete packet captures params
func (*DeletePacketCapturesParams) WithDefaults ¶
func (o *DeletePacketCapturesParams) WithDefaults() *DeletePacketCapturesParams
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 ¶
func (o *DeletePacketCapturesParams) WithHTTPClient(client *http.Client) *DeletePacketCapturesParams
WithHTTPClient adds the HTTPClient to the delete packet captures params
func (*DeletePacketCapturesParams) WithTimeout ¶
func (o *DeletePacketCapturesParams) WithTimeout(timeout time.Duration) *DeletePacketCapturesParams
WithTimeout adds the timeout to the delete packet captures params
func (*DeletePacketCapturesParams) WriteToRequest ¶
func (o *DeletePacketCapturesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
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 ¶
func (o *GetPacketCaptureLiveParams) WithContext(ctx context.Context) *GetPacketCaptureLiveParams
WithContext adds the context to the get packet capture live params
func (*GetPacketCaptureLiveParams) WithDefaults ¶
func (o *GetPacketCaptureLiveParams) WithDefaults() *GetPacketCaptureLiveParams
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 ¶
func (o *GetPacketCaptureLiveParams) WithHTTPClient(client *http.Client) *GetPacketCaptureLiveParams
WithHTTPClient adds the HTTPClient to the get packet capture live params
func (*GetPacketCaptureLiveParams) WithID ¶
func (o *GetPacketCaptureLiveParams) WithID(id string) *GetPacketCaptureLiveParams
WithID adds the id to the get packet capture live params
func (*GetPacketCaptureLiveParams) WithTimeout ¶
func (o *GetPacketCaptureLiveParams) WithTimeout(timeout time.Duration) *GetPacketCaptureLiveParams
WithTimeout adds the timeout to the get packet capture live params
func (*GetPacketCaptureLiveParams) WriteToRequest ¶
func (o *GetPacketCaptureLiveParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *GetPacketCaptureParams) WithContext(ctx context.Context) *GetPacketCaptureParams
WithContext adds the context to the get packet capture params
func (*GetPacketCaptureParams) WithDefaults ¶
func (o *GetPacketCaptureParams) WithDefaults() *GetPacketCaptureParams
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 ¶
func (o *GetPacketCaptureParams) WithID(id string) *GetPacketCaptureParams
WithID adds the id to the get packet capture params
func (*GetPacketCaptureParams) WithTimeout ¶
func (o *GetPacketCaptureParams) WithTimeout(timeout time.Duration) *GetPacketCaptureParams
WithTimeout adds the timeout to the get packet capture params
func (*GetPacketCaptureParams) WriteToRequest ¶
func (o *GetPacketCaptureParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetPacketCapturePcapOK ¶
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 ¶
func (o *GetPacketCapturePcapParams) WithContext(ctx context.Context) *GetPacketCapturePcapParams
WithContext adds the context to the get packet capture pcap params
func (*GetPacketCapturePcapParams) WithDefaults ¶
func (o *GetPacketCapturePcapParams) WithDefaults() *GetPacketCapturePcapParams
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 ¶
func (o *GetPacketCapturePcapParams) WithHTTPClient(client *http.Client) *GetPacketCapturePcapParams
WithHTTPClient adds the HTTPClient to the get packet capture pcap params
func (*GetPacketCapturePcapParams) WithID ¶
func (o *GetPacketCapturePcapParams) WithID(id string) *GetPacketCapturePcapParams
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 ¶
func (o *GetPacketCapturePcapParams) WithTimeout(timeout time.Duration) *GetPacketCapturePcapParams
WithTimeout adds the timeout to the get packet capture pcap params
func (*GetPacketCapturePcapParams) WriteToRequest ¶
func (o *GetPacketCapturePcapParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *GetPacketCaptureResultOK) GetPayload() *models.PacketCaptureResult
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 ¶
func (o *GetPacketCaptureResultParams) WithContext(ctx context.Context) *GetPacketCaptureResultParams
WithContext adds the context to the get packet capture result params
func (*GetPacketCaptureResultParams) WithDefaults ¶
func (o *GetPacketCaptureResultParams) WithDefaults() *GetPacketCaptureResultParams
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 ¶
func (o *GetPacketCaptureResultParams) WithHTTPClient(client *http.Client) *GetPacketCaptureResultParams
WithHTTPClient adds the HTTPClient to the get packet capture result params
func (*GetPacketCaptureResultParams) WithID ¶
func (o *GetPacketCaptureResultParams) WithID(id string) *GetPacketCaptureResultParams
WithID adds the id to the get packet capture result params
func (*GetPacketCaptureResultParams) WithTimeout ¶
func (o *GetPacketCaptureResultParams) WithTimeout(timeout time.Duration) *GetPacketCaptureResultParams
WithTimeout adds the timeout to the get packet capture result params
func (*GetPacketCaptureResultParams) WriteToRequest ¶
func (o *GetPacketCaptureResultParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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
type GetPacketCapturesPcapOK ¶
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 ¶
func (o *GetPacketCapturesPcapParams) SetConfig(config GetPacketCapturesPcapBody)
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 ¶
func (o *GetPacketCapturesPcapParams) WithConfig(config GetPacketCapturesPcapBody) *GetPacketCapturesPcapParams
WithConfig adds the config to the get packet captures pcap params
func (*GetPacketCapturesPcapParams) WithContext ¶
func (o *GetPacketCapturesPcapParams) WithContext(ctx context.Context) *GetPacketCapturesPcapParams
WithContext adds the context to the get packet captures pcap params
func (*GetPacketCapturesPcapParams) WithDefaults ¶
func (o *GetPacketCapturesPcapParams) WithDefaults() *GetPacketCapturesPcapParams
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 ¶
func (o *GetPacketCapturesPcapParams) WithHTTPClient(client *http.Client) *GetPacketCapturesPcapParams
WithHTTPClient adds the HTTPClient to the get packet captures pcap params
func (*GetPacketCapturesPcapParams) WithTimeout ¶
func (o *GetPacketCapturesPcapParams) WithTimeout(timeout time.Duration) *GetPacketCapturesPcapParams
WithTimeout adds the timeout to the get packet captures pcap params
func (*GetPacketCapturesPcapParams) WriteToRequest ¶
func (o *GetPacketCapturesPcapParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *ListPacketCaptureResultsOK) Error() string
func (*ListPacketCaptureResultsOK) GetPayload ¶
func (o *ListPacketCaptureResultsOK) GetPayload() []*models.PacketCaptureResult
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 ¶
func (o *ListPacketCaptureResultsParams) WithCaptureID(captureID *string) *ListPacketCaptureResultsParams
WithCaptureID adds the captureID to the list packet capture results params
func (*ListPacketCaptureResultsParams) WithContext ¶
func (o *ListPacketCaptureResultsParams) WithContext(ctx context.Context) *ListPacketCaptureResultsParams
WithContext adds the context to the list packet capture results params
func (*ListPacketCaptureResultsParams) WithDefaults ¶
func (o *ListPacketCaptureResultsParams) WithDefaults() *ListPacketCaptureResultsParams
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 ¶
func (o *ListPacketCaptureResultsParams) WithHTTPClient(client *http.Client) *ListPacketCaptureResultsParams
WithHTTPClient adds the HTTPClient to the list packet capture results params
func (*ListPacketCaptureResultsParams) WithSourceID ¶
func (o *ListPacketCaptureResultsParams) WithSourceID(sourceID *string) *ListPacketCaptureResultsParams
WithSourceID adds the sourceID to the list packet capture results params
func (*ListPacketCaptureResultsParams) WithTimeout ¶
func (o *ListPacketCaptureResultsParams) WithTimeout(timeout time.Duration) *ListPacketCaptureResultsParams
WithTimeout adds the timeout to the list packet capture results params
func (*ListPacketCaptureResultsParams) WriteToRequest ¶
func (o *ListPacketCaptureResultsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *ListPacketCapturesParams) WithContext(ctx context.Context) *ListPacketCapturesParams
WithContext adds the context to the list packet captures params
func (*ListPacketCapturesParams) WithDefaults ¶
func (o *ListPacketCapturesParams) WithDefaults() *ListPacketCapturesParams
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 ¶
func (o *ListPacketCapturesParams) WithTimeout(timeout time.Duration) *ListPacketCapturesParams
WithTimeout adds the timeout to the list packet captures params
func (*ListPacketCapturesParams) WriteToRequest ¶
func (o *ListPacketCapturesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *StartPacketCaptureCreated) GetPayload() *models.PacketCaptureResult
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 ¶
func (o *StartPacketCaptureParams) WithContext(ctx context.Context) *StartPacketCaptureParams
WithContext adds the context to the start packet capture params
func (*StartPacketCaptureParams) WithDefaults ¶
func (o *StartPacketCaptureParams) WithDefaults() *StartPacketCaptureParams
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 ¶
func (o *StartPacketCaptureParams) WithID(id string) *StartPacketCaptureParams
WithID adds the id to the start packet capture params
func (*StartPacketCaptureParams) WithTimeout ¶
func (o *StartPacketCaptureParams) WithTimeout(timeout time.Duration) *StartPacketCaptureParams
WithTimeout adds the timeout to the start packet capture params
func (*StartPacketCaptureParams) WriteToRequest ¶
func (o *StartPacketCaptureParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *StopPacketCaptureNoContent) Error() string
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 ¶
func (o *StopPacketCaptureParams) WithContext(ctx context.Context) *StopPacketCaptureParams
WithContext adds the context to the stop packet capture params
func (*StopPacketCaptureParams) WithDefaults ¶
func (o *StopPacketCaptureParams) WithDefaults() *StopPacketCaptureParams
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 ¶
func (o *StopPacketCaptureParams) WithID(id string) *StopPacketCaptureParams
WithID adds the id to the stop packet capture params
func (*StopPacketCaptureParams) WithTimeout ¶
func (o *StopPacketCaptureParams) WithTimeout(timeout time.Duration) *StopPacketCaptureParams
WithTimeout adds the timeout to the stop packet capture params
func (*StopPacketCaptureParams) WriteToRequest ¶
func (o *StopPacketCaptureParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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.
Source Files ¶
- bulk_create_packet_captures_parameters.go
- bulk_create_packet_captures_responses.go
- bulk_delete_packet_captures_parameters.go
- bulk_delete_packet_captures_responses.go
- bulk_start_packet_captures_parameters.go
- bulk_start_packet_captures_responses.go
- bulk_stop_packet_captures_parameters.go
- bulk_stop_packet_captures_responses.go
- create_packet_capture_parameters.go
- create_packet_capture_responses.go
- delete_packet_capture_parameters.go
- delete_packet_capture_responses.go
- delete_packet_capture_result_parameters.go
- delete_packet_capture_result_responses.go
- delete_packet_capture_results_parameters.go
- delete_packet_capture_results_responses.go
- delete_packet_captures_parameters.go
- delete_packet_captures_responses.go
- get_packet_capture_live_parameters.go
- get_packet_capture_live_responses.go
- get_packet_capture_parameters.go
- get_packet_capture_pcap_parameters.go
- get_packet_capture_pcap_responses.go
- get_packet_capture_responses.go
- get_packet_capture_result_parameters.go
- get_packet_capture_result_responses.go
- get_packet_captures_pcap_parameters.go
- get_packet_captures_pcap_responses.go
- list_packet_capture_results_parameters.go
- list_packet_capture_results_responses.go
- list_packet_captures_parameters.go
- list_packet_captures_responses.go
- packet_captures_client.go
- start_packet_capture_parameters.go
- start_packet_capture_responses.go
- stop_packet_capture_parameters.go
- stop_packet_capture_responses.go