cluster

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2018 License: BSD-3-Clause Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for cluster API

func New

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

New creates a new cluster API client.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) ThreadDump

func (a *Client) ThreadDump(params *ThreadDumpParams, authInfo runtime.ClientAuthInfoWriter) (*ThreadDumpOK, error)

ThreadDump gets a thread dump of the given node

type ThreadDumpOK

type ThreadDumpOK struct {
	Payload *models.SystemThreadDumpResponse
}

ThreadDumpOK handles this case with default header values.

No response was specified

func NewThreadDumpOK

func NewThreadDumpOK() *ThreadDumpOK

NewThreadDumpOK creates a ThreadDumpOK with default headers values

func (*ThreadDumpOK) Error

func (o *ThreadDumpOK) Error() string

type ThreadDumpParams

type ThreadDumpParams struct {

	/*NodeID
	  The id of the node where processing will be paused.

	*/
	NodeID string

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

ThreadDumpParams contains all the parameters to send to the API endpoint for the thread dump operation typically these are written to a http.Request

func NewThreadDumpParams

func NewThreadDumpParams() *ThreadDumpParams

NewThreadDumpParams creates a new ThreadDumpParams object with the default values initialized.

func NewThreadDumpParamsWithContext

func NewThreadDumpParamsWithContext(ctx context.Context) *ThreadDumpParams

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

func NewThreadDumpParamsWithHTTPClient

func NewThreadDumpParamsWithHTTPClient(client *http.Client) *ThreadDumpParams

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

func NewThreadDumpParamsWithTimeout

func NewThreadDumpParamsWithTimeout(timeout time.Duration) *ThreadDumpParams

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

func (*ThreadDumpParams) SetContext

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

SetContext adds the context to the thread dump params

func (*ThreadDumpParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the thread dump params

func (*ThreadDumpParams) SetNodeID

func (o *ThreadDumpParams) SetNodeID(nodeID string)

SetNodeID adds the nodeId to the thread dump params

func (*ThreadDumpParams) SetTimeout

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

SetTimeout adds the timeout to the thread dump params

func (*ThreadDumpParams) WithContext

func (o *ThreadDumpParams) WithContext(ctx context.Context) *ThreadDumpParams

WithContext adds the context to the thread dump params

func (*ThreadDumpParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the thread dump params

func (*ThreadDumpParams) WithNodeID

func (o *ThreadDumpParams) WithNodeID(nodeID string) *ThreadDumpParams

WithNodeID adds the nodeID to the thread dump params

func (*ThreadDumpParams) WithTimeout

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

WithTimeout adds the timeout to the thread dump params

func (*ThreadDumpParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ThreadDumpReader

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

ThreadDumpReader is a Reader for the ThreadDump structure.

func (*ThreadDumpReader) ReadResponse

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

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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