debugconfig

package
v0.1.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddDebugConfigBadRequest

type AddDebugConfigBadRequest struct {
}

AddDebugConfigBadRequest handles this case with default header values.

Bad request

func NewAddDebugConfigBadRequest

func NewAddDebugConfigBadRequest() *AddDebugConfigBadRequest

NewAddDebugConfigBadRequest creates a AddDebugConfigBadRequest with default headers values

func (*AddDebugConfigBadRequest) Error

func (o *AddDebugConfigBadRequest) Error() string

type AddDebugConfigCreated

type AddDebugConfigCreated struct {
	Payload *models.DebugConfig
}

AddDebugConfigCreated handles this case with default header values.

Debug config created

func NewAddDebugConfigCreated

func NewAddDebugConfigCreated() *AddDebugConfigCreated

NewAddDebugConfigCreated creates a AddDebugConfigCreated with default headers values

func (*AddDebugConfigCreated) Error

func (o *AddDebugConfigCreated) Error() string

type AddDebugConfigNotFound

type AddDebugConfigNotFound struct {
}

AddDebugConfigNotFound handles this case with default header values.

Attachment not found

func NewAddDebugConfigNotFound

func NewAddDebugConfigNotFound() *AddDebugConfigNotFound

NewAddDebugConfigNotFound creates a AddDebugConfigNotFound with default headers values

func (*AddDebugConfigNotFound) Error

func (o *AddDebugConfigNotFound) Error() string

type AddDebugConfigParams

type AddDebugConfigParams struct {

	/*Body
	  DebugConfig object that needs to be added

	*/
	Body *models.DebugConfig

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

AddDebugConfigParams contains all the parameters to send to the API endpoint for the add debug config operation typically these are written to a http.Request

func NewAddDebugConfigParams

func NewAddDebugConfigParams() *AddDebugConfigParams

NewAddDebugConfigParams creates a new AddDebugConfigParams object with the default values initialized.

func NewAddDebugConfigParamsWithContext

func NewAddDebugConfigParamsWithContext(ctx context.Context) *AddDebugConfigParams

NewAddDebugConfigParamsWithContext creates a new AddDebugConfigParams object with the default values initialized, and the ability to set a context for a request

func NewAddDebugConfigParamsWithHTTPClient

func NewAddDebugConfigParamsWithHTTPClient(client *http.Client) *AddDebugConfigParams

NewAddDebugConfigParamsWithHTTPClient creates a new AddDebugConfigParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewAddDebugConfigParamsWithTimeout

func NewAddDebugConfigParamsWithTimeout(timeout time.Duration) *AddDebugConfigParams

NewAddDebugConfigParamsWithTimeout creates a new AddDebugConfigParams object with the default values initialized, and the ability to set a timeout on a request

func (*AddDebugConfigParams) SetBody

func (o *AddDebugConfigParams) SetBody(body *models.DebugConfig)

SetBody adds the body to the add debug config params

func (*AddDebugConfigParams) SetContext

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

SetContext adds the context to the add debug config params

func (*AddDebugConfigParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the add debug config params

func (*AddDebugConfigParams) SetTimeout

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

SetTimeout adds the timeout to the add debug config params

func (*AddDebugConfigParams) WithBody

WithBody adds the body to the add debug config params

func (*AddDebugConfigParams) WithContext

WithContext adds the context to the add debug config params

func (*AddDebugConfigParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the add debug config params

func (*AddDebugConfigParams) WithTimeout

func (o *AddDebugConfigParams) WithTimeout(timeout time.Duration) *AddDebugConfigParams

WithTimeout adds the timeout to the add debug config params

func (*AddDebugConfigParams) WriteToRequest

func (o *AddDebugConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type AddDebugConfigReader

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

AddDebugConfigReader is a Reader for the AddDebugConfig structure.

func (*AddDebugConfigReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AddDebugConfigServiceUnavailable

type AddDebugConfigServiceUnavailable struct {
}

AddDebugConfigServiceUnavailable handles this case with default header values.

Service Unavailable

func NewAddDebugConfigServiceUnavailable

func NewAddDebugConfigServiceUnavailable() *AddDebugConfigServiceUnavailable

NewAddDebugConfigServiceUnavailable creates a AddDebugConfigServiceUnavailable with default headers values

func (*AddDebugConfigServiceUnavailable) Error

type AddDebugConfigUnprocessableEntity

type AddDebugConfigUnprocessableEntity struct {
}

AddDebugConfigUnprocessableEntity handles this case with default header values.

Invalid input

func NewAddDebugConfigUnprocessableEntity

func NewAddDebugConfigUnprocessableEntity() *AddDebugConfigUnprocessableEntity

NewAddDebugConfigUnprocessableEntity creates a AddDebugConfigUnprocessableEntity with default headers values

func (*AddDebugConfigUnprocessableEntity) Error

type Client

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

Client for debugconfig API

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client

New creates a new debugconfig API client.

func (*Client) AddDebugConfig

func (a *Client) AddDebugConfig(params *AddDebugConfigParams) (*AddDebugConfigCreated, error)

AddDebugConfig adds a new debug configuration for squash server

Add a debug config to squash. A debug config instrucs squash what containers should be debugged, and now. DebugConfig object consists of:

  • Attachment: The object we are attaching to. either a specific container, or a service. in the case of the service, the squash will attach to the first container that hits a debug event.
  • Breakpoints: A list of breakpoints. When "immediately" set to false, squash will wait for a debug event (i.e a program crash) before giving the user access to the remote debugger. If breakpoints is set, squash will place them and will notify when the first breakpoint hits.
  • image: The container image we are debugging. this is used for extra validation, as placing breakpoints on the wrong binary can lead to unexpected results.
  • debugger: Type of debugger to use. "dlv" and "gdb" are supported now.
  • immediately: Weather to attach immediatly or wait for debug event. can only be set to true if attachment type is container.

func (*Client) DeleteDebugConfig

func (a *Client) DeleteDebugConfig(params *DeleteDebugConfigParams) (*DeleteDebugConfigOK, error)

DeleteDebugConfig deletes a debug config

Delete a debug config

func (*Client) GetDebugConfig

func (a *Client) GetDebugConfig(params *GetDebugConfigParams) (*GetDebugConfigOK, error)

GetDebugConfig retruns a debug config

Retrun a debug config

func (*Client) GetDebugConfigs

func (a *Client) GetDebugConfigs(params *GetDebugConfigsParams) (*GetDebugConfigsOK, error)

GetDebugConfigs retruns all debug configs

Retrun all debug configs

func (*Client) PopContainerToDebug

func (a *Client) PopContainerToDebug(params *PopContainerToDebugParams) (*PopContainerToDebugOK, error)

PopContainerToDebug pops the latest debugconfig for a node in the cluster this is used by the squash client

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateDebugConfig

func (a *Client) UpdateDebugConfig(params *UpdateDebugConfigParams) (*UpdateDebugConfigOK, error)

UpdateDebugConfig updates an existing debug config

type DeleteDebugConfigBadRequest

type DeleteDebugConfigBadRequest struct {
}

DeleteDebugConfigBadRequest handles this case with default header values.

Invalid ID supplied

func NewDeleteDebugConfigBadRequest

func NewDeleteDebugConfigBadRequest() *DeleteDebugConfigBadRequest

NewDeleteDebugConfigBadRequest creates a DeleteDebugConfigBadRequest with default headers values

func (*DeleteDebugConfigBadRequest) Error

type DeleteDebugConfigNotFound

type DeleteDebugConfigNotFound struct {
}

DeleteDebugConfigNotFound handles this case with default header values.

Debug config not found

func NewDeleteDebugConfigNotFound

func NewDeleteDebugConfigNotFound() *DeleteDebugConfigNotFound

NewDeleteDebugConfigNotFound creates a DeleteDebugConfigNotFound with default headers values

func (*DeleteDebugConfigNotFound) Error

func (o *DeleteDebugConfigNotFound) Error() string

type DeleteDebugConfigOK

type DeleteDebugConfigOK struct {
}

DeleteDebugConfigOK handles this case with default header values.

OK

func NewDeleteDebugConfigOK

func NewDeleteDebugConfigOK() *DeleteDebugConfigOK

NewDeleteDebugConfigOK creates a DeleteDebugConfigOK with default headers values

func (*DeleteDebugConfigOK) Error

func (o *DeleteDebugConfigOK) Error() string

type DeleteDebugConfigParams

type DeleteDebugConfigParams struct {

	/*DebugConfigID
	  ID of config to return

	*/
	DebugConfigID string

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

DeleteDebugConfigParams contains all the parameters to send to the API endpoint for the delete debug config operation typically these are written to a http.Request

func NewDeleteDebugConfigParams

func NewDeleteDebugConfigParams() *DeleteDebugConfigParams

NewDeleteDebugConfigParams creates a new DeleteDebugConfigParams object with the default values initialized.

func NewDeleteDebugConfigParamsWithContext

func NewDeleteDebugConfigParamsWithContext(ctx context.Context) *DeleteDebugConfigParams

NewDeleteDebugConfigParamsWithContext creates a new DeleteDebugConfigParams object with the default values initialized, and the ability to set a context for a request

func NewDeleteDebugConfigParamsWithHTTPClient

func NewDeleteDebugConfigParamsWithHTTPClient(client *http.Client) *DeleteDebugConfigParams

NewDeleteDebugConfigParamsWithHTTPClient creates a new DeleteDebugConfigParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewDeleteDebugConfigParamsWithTimeout

func NewDeleteDebugConfigParamsWithTimeout(timeout time.Duration) *DeleteDebugConfigParams

NewDeleteDebugConfigParamsWithTimeout creates a new DeleteDebugConfigParams object with the default values initialized, and the ability to set a timeout on a request

func (*DeleteDebugConfigParams) SetContext

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

SetContext adds the context to the delete debug config params

func (*DeleteDebugConfigParams) SetDebugConfigID

func (o *DeleteDebugConfigParams) SetDebugConfigID(debugConfigID string)

SetDebugConfigID adds the debugConfigId to the delete debug config params

func (*DeleteDebugConfigParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete debug config params

func (*DeleteDebugConfigParams) SetTimeout

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

SetTimeout adds the timeout to the delete debug config params

func (*DeleteDebugConfigParams) WithContext

WithContext adds the context to the delete debug config params

func (*DeleteDebugConfigParams) WithDebugConfigID

func (o *DeleteDebugConfigParams) WithDebugConfigID(debugConfigID string) *DeleteDebugConfigParams

WithDebugConfigID adds the debugConfigID to the delete debug config params

func (*DeleteDebugConfigParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete debug config params

func (*DeleteDebugConfigParams) WithTimeout

WithTimeout adds the timeout to the delete debug config params

func (*DeleteDebugConfigParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteDebugConfigReader

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

DeleteDebugConfigReader is a Reader for the DeleteDebugConfig structure.

func (*DeleteDebugConfigReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteDebugConfigUnprocessableEntity

type DeleteDebugConfigUnprocessableEntity struct {
}

DeleteDebugConfigUnprocessableEntity handles this case with default header values.

Validation exception

func NewDeleteDebugConfigUnprocessableEntity

func NewDeleteDebugConfigUnprocessableEntity() *DeleteDebugConfigUnprocessableEntity

NewDeleteDebugConfigUnprocessableEntity creates a DeleteDebugConfigUnprocessableEntity with default headers values

func (*DeleteDebugConfigUnprocessableEntity) Error

type GetDebugConfigBadRequest

type GetDebugConfigBadRequest struct {
}

GetDebugConfigBadRequest handles this case with default header values.

Invalid ID supplied

func NewGetDebugConfigBadRequest

func NewGetDebugConfigBadRequest() *GetDebugConfigBadRequest

NewGetDebugConfigBadRequest creates a GetDebugConfigBadRequest with default headers values

func (*GetDebugConfigBadRequest) Error

func (o *GetDebugConfigBadRequest) Error() string

type GetDebugConfigNotFound

type GetDebugConfigNotFound struct {
}

GetDebugConfigNotFound handles this case with default header values.

Debug config not found

func NewGetDebugConfigNotFound

func NewGetDebugConfigNotFound() *GetDebugConfigNotFound

NewGetDebugConfigNotFound creates a GetDebugConfigNotFound with default headers values

func (*GetDebugConfigNotFound) Error

func (o *GetDebugConfigNotFound) Error() string

type GetDebugConfigOK

type GetDebugConfigOK struct {
	Payload *models.DebugConfig
}

GetDebugConfigOK handles this case with default header values.

OK

func NewGetDebugConfigOK

func NewGetDebugConfigOK() *GetDebugConfigOK

NewGetDebugConfigOK creates a GetDebugConfigOK with default headers values

func (*GetDebugConfigOK) Error

func (o *GetDebugConfigOK) Error() string

type GetDebugConfigParams

type GetDebugConfigParams struct {

	/*DebugConfigID
	  ID of config to return

	*/
	DebugConfigID string

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

GetDebugConfigParams contains all the parameters to send to the API endpoint for the get debug config operation typically these are written to a http.Request

func NewGetDebugConfigParams

func NewGetDebugConfigParams() *GetDebugConfigParams

NewGetDebugConfigParams creates a new GetDebugConfigParams object with the default values initialized.

func NewGetDebugConfigParamsWithContext

func NewGetDebugConfigParamsWithContext(ctx context.Context) *GetDebugConfigParams

NewGetDebugConfigParamsWithContext creates a new GetDebugConfigParams object with the default values initialized, and the ability to set a context for a request

func NewGetDebugConfigParamsWithHTTPClient

func NewGetDebugConfigParamsWithHTTPClient(client *http.Client) *GetDebugConfigParams

NewGetDebugConfigParamsWithHTTPClient creates a new GetDebugConfigParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetDebugConfigParamsWithTimeout

func NewGetDebugConfigParamsWithTimeout(timeout time.Duration) *GetDebugConfigParams

NewGetDebugConfigParamsWithTimeout creates a new GetDebugConfigParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetDebugConfigParams) SetContext

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

SetContext adds the context to the get debug config params

func (*GetDebugConfigParams) SetDebugConfigID

func (o *GetDebugConfigParams) SetDebugConfigID(debugConfigID string)

SetDebugConfigID adds the debugConfigId to the get debug config params

func (*GetDebugConfigParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get debug config params

func (*GetDebugConfigParams) SetTimeout

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

SetTimeout adds the timeout to the get debug config params

func (*GetDebugConfigParams) WithContext

WithContext adds the context to the get debug config params

func (*GetDebugConfigParams) WithDebugConfigID

func (o *GetDebugConfigParams) WithDebugConfigID(debugConfigID string) *GetDebugConfigParams

WithDebugConfigID adds the debugConfigID to the get debug config params

func (*GetDebugConfigParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get debug config params

func (*GetDebugConfigParams) WithTimeout

func (o *GetDebugConfigParams) WithTimeout(timeout time.Duration) *GetDebugConfigParams

WithTimeout adds the timeout to the get debug config params

func (*GetDebugConfigParams) WriteToRequest

func (o *GetDebugConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetDebugConfigReader

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

GetDebugConfigReader is a Reader for the GetDebugConfig structure.

func (*GetDebugConfigReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetDebugConfigUnprocessableEntity

type GetDebugConfigUnprocessableEntity struct {
}

GetDebugConfigUnprocessableEntity handles this case with default header values.

Validation exception

func NewGetDebugConfigUnprocessableEntity

func NewGetDebugConfigUnprocessableEntity() *GetDebugConfigUnprocessableEntity

NewGetDebugConfigUnprocessableEntity creates a GetDebugConfigUnprocessableEntity with default headers values

func (*GetDebugConfigUnprocessableEntity) Error

type GetDebugConfigsBadRequest

type GetDebugConfigsBadRequest struct {
}

GetDebugConfigsBadRequest handles this case with default header values.

Invalid ID supplied

func NewGetDebugConfigsBadRequest

func NewGetDebugConfigsBadRequest() *GetDebugConfigsBadRequest

NewGetDebugConfigsBadRequest creates a GetDebugConfigsBadRequest with default headers values

func (*GetDebugConfigsBadRequest) Error

func (o *GetDebugConfigsBadRequest) Error() string

type GetDebugConfigsNotFound

type GetDebugConfigsNotFound struct {
}

GetDebugConfigsNotFound handles this case with default header values.

Debug config not found

func NewGetDebugConfigsNotFound

func NewGetDebugConfigsNotFound() *GetDebugConfigsNotFound

NewGetDebugConfigsNotFound creates a GetDebugConfigsNotFound with default headers values

func (*GetDebugConfigsNotFound) Error

func (o *GetDebugConfigsNotFound) Error() string

type GetDebugConfigsOK

type GetDebugConfigsOK struct {
	Payload []*models.DebugConfig
}

GetDebugConfigsOK handles this case with default header values.

OK

func NewGetDebugConfigsOK

func NewGetDebugConfigsOK() *GetDebugConfigsOK

NewGetDebugConfigsOK creates a GetDebugConfigsOK with default headers values

func (*GetDebugConfigsOK) Error

func (o *GetDebugConfigsOK) Error() string

type GetDebugConfigsParams

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

GetDebugConfigsParams contains all the parameters to send to the API endpoint for the get debug configs operation typically these are written to a http.Request

func NewGetDebugConfigsParams

func NewGetDebugConfigsParams() *GetDebugConfigsParams

NewGetDebugConfigsParams creates a new GetDebugConfigsParams object with the default values initialized.

func NewGetDebugConfigsParamsWithContext

func NewGetDebugConfigsParamsWithContext(ctx context.Context) *GetDebugConfigsParams

NewGetDebugConfigsParamsWithContext creates a new GetDebugConfigsParams object with the default values initialized, and the ability to set a context for a request

func NewGetDebugConfigsParamsWithHTTPClient

func NewGetDebugConfigsParamsWithHTTPClient(client *http.Client) *GetDebugConfigsParams

NewGetDebugConfigsParamsWithHTTPClient creates a new GetDebugConfigsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetDebugConfigsParamsWithTimeout

func NewGetDebugConfigsParamsWithTimeout(timeout time.Duration) *GetDebugConfigsParams

NewGetDebugConfigsParamsWithTimeout creates a new GetDebugConfigsParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetDebugConfigsParams) SetContext

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

SetContext adds the context to the get debug configs params

func (*GetDebugConfigsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get debug configs params

func (*GetDebugConfigsParams) SetTimeout

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

SetTimeout adds the timeout to the get debug configs params

func (*GetDebugConfigsParams) WithContext

WithContext adds the context to the get debug configs params

func (*GetDebugConfigsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get debug configs params

func (*GetDebugConfigsParams) WithTimeout

func (o *GetDebugConfigsParams) WithTimeout(timeout time.Duration) *GetDebugConfigsParams

WithTimeout adds the timeout to the get debug configs params

func (*GetDebugConfigsParams) WriteToRequest

func (o *GetDebugConfigsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetDebugConfigsReader

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

GetDebugConfigsReader is a Reader for the GetDebugConfigs structure.

func (*GetDebugConfigsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetDebugConfigsUnprocessableEntity

type GetDebugConfigsUnprocessableEntity struct {
}

GetDebugConfigsUnprocessableEntity handles this case with default header values.

Validation exception

func NewGetDebugConfigsUnprocessableEntity

func NewGetDebugConfigsUnprocessableEntity() *GetDebugConfigsUnprocessableEntity

NewGetDebugConfigsUnprocessableEntity creates a GetDebugConfigsUnprocessableEntity with default headers values

func (*GetDebugConfigsUnprocessableEntity) Error

type PopContainerToDebugBadRequest

type PopContainerToDebugBadRequest struct {
}

PopContainerToDebugBadRequest handles this case with default header values.

Invalid ID supplied

func NewPopContainerToDebugBadRequest

func NewPopContainerToDebugBadRequest() *PopContainerToDebugBadRequest

NewPopContainerToDebugBadRequest creates a PopContainerToDebugBadRequest with default headers values

func (*PopContainerToDebugBadRequest) Error

type PopContainerToDebugNotFound

type PopContainerToDebugNotFound struct {
}

PopContainerToDebugNotFound handles this case with default header values.

Node note not found

func NewPopContainerToDebugNotFound

func NewPopContainerToDebugNotFound() *PopContainerToDebugNotFound

NewPopContainerToDebugNotFound creates a PopContainerToDebugNotFound with default headers values

func (*PopContainerToDebugNotFound) Error

type PopContainerToDebugOK

type PopContainerToDebugOK struct {
	Payload *models.DebugConfig
}

PopContainerToDebugOK handles this case with default header values.

OK

func NewPopContainerToDebugOK

func NewPopContainerToDebugOK() *PopContainerToDebugOK

NewPopContainerToDebugOK creates a PopContainerToDebugOK with default headers values

func (*PopContainerToDebugOK) Error

func (o *PopContainerToDebugOK) Error() string

type PopContainerToDebugParams

type PopContainerToDebugParams struct {

	/*Node
	  ID the node we are watching

	*/
	Node string

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

PopContainerToDebugParams contains all the parameters to send to the API endpoint for the pop container to debug operation typically these are written to a http.Request

func NewPopContainerToDebugParams

func NewPopContainerToDebugParams() *PopContainerToDebugParams

NewPopContainerToDebugParams creates a new PopContainerToDebugParams object with the default values initialized.

func NewPopContainerToDebugParamsWithContext

func NewPopContainerToDebugParamsWithContext(ctx context.Context) *PopContainerToDebugParams

NewPopContainerToDebugParamsWithContext creates a new PopContainerToDebugParams object with the default values initialized, and the ability to set a context for a request

func NewPopContainerToDebugParamsWithHTTPClient

func NewPopContainerToDebugParamsWithHTTPClient(client *http.Client) *PopContainerToDebugParams

NewPopContainerToDebugParamsWithHTTPClient creates a new PopContainerToDebugParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPopContainerToDebugParamsWithTimeout

func NewPopContainerToDebugParamsWithTimeout(timeout time.Duration) *PopContainerToDebugParams

NewPopContainerToDebugParamsWithTimeout creates a new PopContainerToDebugParams object with the default values initialized, and the ability to set a timeout on a request

func (*PopContainerToDebugParams) SetContext

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

SetContext adds the context to the pop container to debug params

func (*PopContainerToDebugParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the pop container to debug params

func (*PopContainerToDebugParams) SetNode

func (o *PopContainerToDebugParams) SetNode(node string)

SetNode adds the node to the pop container to debug params

func (*PopContainerToDebugParams) SetTimeout

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

SetTimeout adds the timeout to the pop container to debug params

func (*PopContainerToDebugParams) WithContext

WithContext adds the context to the pop container to debug params

func (*PopContainerToDebugParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the pop container to debug params

func (*PopContainerToDebugParams) WithNode

WithNode adds the node to the pop container to debug params

func (*PopContainerToDebugParams) WithTimeout

WithTimeout adds the timeout to the pop container to debug params

func (*PopContainerToDebugParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PopContainerToDebugReader

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

PopContainerToDebugReader is a Reader for the PopContainerToDebug structure.

func (*PopContainerToDebugReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PopContainerToDebugRequestTimeout

type PopContainerToDebugRequestTimeout struct {
}

PopContainerToDebugRequestTimeout handles this case with default header values.

Timeout reached

func NewPopContainerToDebugRequestTimeout

func NewPopContainerToDebugRequestTimeout() *PopContainerToDebugRequestTimeout

NewPopContainerToDebugRequestTimeout creates a PopContainerToDebugRequestTimeout with default headers values

func (*PopContainerToDebugRequestTimeout) Error

type UpdateDebugConfigBadRequest

type UpdateDebugConfigBadRequest struct {
}

UpdateDebugConfigBadRequest handles this case with default header values.

Invalid ID supplied

func NewUpdateDebugConfigBadRequest

func NewUpdateDebugConfigBadRequest() *UpdateDebugConfigBadRequest

NewUpdateDebugConfigBadRequest creates a UpdateDebugConfigBadRequest with default headers values

func (*UpdateDebugConfigBadRequest) Error

type UpdateDebugConfigNotFound

type UpdateDebugConfigNotFound struct {
}

UpdateDebugConfigNotFound handles this case with default header values.

Debug config not found

func NewUpdateDebugConfigNotFound

func NewUpdateDebugConfigNotFound() *UpdateDebugConfigNotFound

NewUpdateDebugConfigNotFound creates a UpdateDebugConfigNotFound with default headers values

func (*UpdateDebugConfigNotFound) Error

func (o *UpdateDebugConfigNotFound) Error() string

type UpdateDebugConfigOK

type UpdateDebugConfigOK struct {
	Payload *models.DebugConfig
}

UpdateDebugConfigOK handles this case with default header values.

OK

func NewUpdateDebugConfigOK

func NewUpdateDebugConfigOK() *UpdateDebugConfigOK

NewUpdateDebugConfigOK creates a UpdateDebugConfigOK with default headers values

func (*UpdateDebugConfigOK) Error

func (o *UpdateDebugConfigOK) Error() string

type UpdateDebugConfigParams

type UpdateDebugConfigParams struct {

	/*Body
	  debug config edited

	*/
	Body *models.DebugConfig
	/*DebugConfigID
	  ID of config to return

	*/
	DebugConfigID string

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

UpdateDebugConfigParams contains all the parameters to send to the API endpoint for the update debug config operation typically these are written to a http.Request

func NewUpdateDebugConfigParams

func NewUpdateDebugConfigParams() *UpdateDebugConfigParams

NewUpdateDebugConfigParams creates a new UpdateDebugConfigParams object with the default values initialized.

func NewUpdateDebugConfigParamsWithContext

func NewUpdateDebugConfigParamsWithContext(ctx context.Context) *UpdateDebugConfigParams

NewUpdateDebugConfigParamsWithContext creates a new UpdateDebugConfigParams object with the default values initialized, and the ability to set a context for a request

func NewUpdateDebugConfigParamsWithHTTPClient

func NewUpdateDebugConfigParamsWithHTTPClient(client *http.Client) *UpdateDebugConfigParams

NewUpdateDebugConfigParamsWithHTTPClient creates a new UpdateDebugConfigParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewUpdateDebugConfigParamsWithTimeout

func NewUpdateDebugConfigParamsWithTimeout(timeout time.Duration) *UpdateDebugConfigParams

NewUpdateDebugConfigParamsWithTimeout creates a new UpdateDebugConfigParams object with the default values initialized, and the ability to set a timeout on a request

func (*UpdateDebugConfigParams) SetBody

func (o *UpdateDebugConfigParams) SetBody(body *models.DebugConfig)

SetBody adds the body to the update debug config params

func (*UpdateDebugConfigParams) SetContext

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

SetContext adds the context to the update debug config params

func (*UpdateDebugConfigParams) SetDebugConfigID

func (o *UpdateDebugConfigParams) SetDebugConfigID(debugConfigID string)

SetDebugConfigID adds the debugConfigId to the update debug config params

func (*UpdateDebugConfigParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update debug config params

func (*UpdateDebugConfigParams) SetTimeout

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

SetTimeout adds the timeout to the update debug config params

func (*UpdateDebugConfigParams) WithBody

WithBody adds the body to the update debug config params

func (*UpdateDebugConfigParams) WithContext

WithContext adds the context to the update debug config params

func (*UpdateDebugConfigParams) WithDebugConfigID

func (o *UpdateDebugConfigParams) WithDebugConfigID(debugConfigID string) *UpdateDebugConfigParams

WithDebugConfigID adds the debugConfigID to the update debug config params

func (*UpdateDebugConfigParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update debug config params

func (*UpdateDebugConfigParams) WithTimeout

WithTimeout adds the timeout to the update debug config params

func (*UpdateDebugConfigParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateDebugConfigReader

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

UpdateDebugConfigReader is a Reader for the UpdateDebugConfig structure.

func (*UpdateDebugConfigReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateDebugConfigUnprocessableEntity

type UpdateDebugConfigUnprocessableEntity struct {
}

UpdateDebugConfigUnprocessableEntity handles this case with default header values.

Validation exception

func NewUpdateDebugConfigUnprocessableEntity

func NewUpdateDebugConfigUnprocessableEntity() *UpdateDebugConfigUnprocessableEntity

NewUpdateDebugConfigUnprocessableEntity creates a UpdateDebugConfigUnprocessableEntity with default headers values

func (*UpdateDebugConfigUnprocessableEntity) Error

Jump to

Keyboard shortcuts

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