patch

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2016 License: MIT Imports: 6 Imported by: 3

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 patch API

func New

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

New creates a new patch API client.

func (*Client) PatchConfig

func (a *Client) PatchConfig(params *PatchConfigParams, authInfo runtime.ClientAuthInfoWriter) (*PatchConfigOK, error)

PatchConfig patches update server configuration

Patch/update server configurationm and then return the patched configuration.

func (*Client) PatchNodesIdentifier

func (a *Client) PatchNodesIdentifier(params *PatchNodesIdentifierParams, authInfo runtime.ClientAuthInfoWriter) (*PatchNodesIdentifierOK, error)

PatchNodesIdentifier patches specified node

Patch specified node

func (*Client) PatchNodesIdentifierTags

func (a *Client) PatchNodesIdentifierTags(params *PatchNodesIdentifierTagsParams, authInfo runtime.ClientAuthInfoWriter) (*PatchNodesIdentifierTagsOK, error)

PatchNodesIdentifierTags patches specified node s tags

Patch specified node's tags

func (*Client) PatchPollersIdentifier

func (a *Client) PatchPollersIdentifier(params *PatchPollersIdentifierParams, authInfo runtime.ClientAuthInfoWriter) (*PatchPollersIdentifierOK, error)

PatchPollersIdentifier patches specifics of the specified poller

patch specifics of the specified poller

func (*Client) PatchSkusIdentifier

func (a *Client) PatchSkusIdentifier(params *PatchSkusIdentifierParams, authInfo runtime.ClientAuthInfoWriter) (*PatchSkusIdentifierOK, error)

PatchSkusIdentifier patches a single sku

patch a single sku

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type PatchConfigDefault

type PatchConfigDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

PatchConfigDefault handles this case with default header values.

Unexpected error

func NewPatchConfigDefault

func NewPatchConfigDefault(code int) *PatchConfigDefault

NewPatchConfigDefault creates a PatchConfigDefault with default headers values

func (*PatchConfigDefault) Code

func (o *PatchConfigDefault) Code() int

Code gets the status code for the patch config default response

func (*PatchConfigDefault) Error

func (o *PatchConfigDefault) Error() string

type PatchConfigOK

type PatchConfigOK struct {
	Payload PatchConfigOKBodyBody
}

PatchConfigOK handles this case with default header values.

An array of configuration objects

func NewPatchConfigOK

func NewPatchConfigOK() *PatchConfigOK

NewPatchConfigOK creates a PatchConfigOK with default headers values

func (*PatchConfigOK) Error

func (o *PatchConfigOK) Error() string

type PatchConfigOKBodyBody

type PatchConfigOKBodyBody interface{}

PatchConfigOKBodyBody patch config o k body body

swagger:model PatchConfigOKBodyBody

type PatchConfigParams

type PatchConfigParams struct {

	/*Body*/
	Body interface{}
}

PatchConfigParams contains all the parameters to send to the API endpoint for the patch config operation typically these are written to a http.Request

func NewPatchConfigParams

func NewPatchConfigParams() *PatchConfigParams

NewPatchConfigParams creates a new PatchConfigParams object with the default values initialized.

func (*PatchConfigParams) WithBody

func (o *PatchConfigParams) WithBody(Body interface{}) *PatchConfigParams

WithBody adds the body to the patch config params

func (*PatchConfigParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type PatchConfigReader

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

PatchConfigReader is a Reader for the PatchConfig structure.

func (*PatchConfigReader) ReadResponse

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

ReadResponse reads a server response into the recieved o.

type PatchNodesIdentifierDefault

type PatchNodesIdentifierDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

PatchNodesIdentifierDefault handles this case with default header values.

Unexpected error

func NewPatchNodesIdentifierDefault

func NewPatchNodesIdentifierDefault(code int) *PatchNodesIdentifierDefault

NewPatchNodesIdentifierDefault creates a PatchNodesIdentifierDefault with default headers values

func (*PatchNodesIdentifierDefault) Code

func (o *PatchNodesIdentifierDefault) Code() int

Code gets the status code for the patch nodes identifier default response

func (*PatchNodesIdentifierDefault) Error

type PatchNodesIdentifierNotFound

type PatchNodesIdentifierNotFound struct {
	Payload *models.Error
}

PatchNodesIdentifierNotFound handles this case with default header values.

Not found

func NewPatchNodesIdentifierNotFound

func NewPatchNodesIdentifierNotFound() *PatchNodesIdentifierNotFound

NewPatchNodesIdentifierNotFound creates a PatchNodesIdentifierNotFound with default headers values

func (*PatchNodesIdentifierNotFound) Error

type PatchNodesIdentifierOK

type PatchNodesIdentifierOK struct {
	Payload PatchNodesIdentifierOKBodyBody
}

PatchNodesIdentifierOK handles this case with default header values.

patch succeeded

func NewPatchNodesIdentifierOK

func NewPatchNodesIdentifierOK() *PatchNodesIdentifierOK

NewPatchNodesIdentifierOK creates a PatchNodesIdentifierOK with default headers values

func (*PatchNodesIdentifierOK) Error

func (o *PatchNodesIdentifierOK) Error() string

type PatchNodesIdentifierOKBodyBody

type PatchNodesIdentifierOKBodyBody interface{}

PatchNodesIdentifierOKBodyBody patch nodes identifier o k body body

swagger:model PatchNodesIdentifierOKBodyBody

type PatchNodesIdentifierParams

type PatchNodesIdentifierParams struct {

	/*Body
	  object patches to apply.


	*/
	Body interface{}
	/*Identifier
	  Mac addresses and unique aliases to identify the node by, |
	expect a string or an array of strings.


	*/
	Identifier string
}

PatchNodesIdentifierParams contains all the parameters to send to the API endpoint for the patch nodes identifier operation typically these are written to a http.Request

func NewPatchNodesIdentifierParams

func NewPatchNodesIdentifierParams() *PatchNodesIdentifierParams

NewPatchNodesIdentifierParams creates a new PatchNodesIdentifierParams object with the default values initialized.

func (*PatchNodesIdentifierParams) WithBody

func (o *PatchNodesIdentifierParams) WithBody(Body interface{}) *PatchNodesIdentifierParams

WithBody adds the body to the patch nodes identifier params

func (*PatchNodesIdentifierParams) WithIdentifier

func (o *PatchNodesIdentifierParams) WithIdentifier(Identifier string) *PatchNodesIdentifierParams

WithIdentifier adds the identifier to the patch nodes identifier params

func (*PatchNodesIdentifierParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PatchNodesIdentifierReader

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

PatchNodesIdentifierReader is a Reader for the PatchNodesIdentifier structure.

func (*PatchNodesIdentifierReader) ReadResponse

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

ReadResponse reads a server response into the recieved o.

type PatchNodesIdentifierTagsDefault

type PatchNodesIdentifierTagsDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

PatchNodesIdentifierTagsDefault handles this case with default header values.

Unexpected error

func NewPatchNodesIdentifierTagsDefault

func NewPatchNodesIdentifierTagsDefault(code int) *PatchNodesIdentifierTagsDefault

NewPatchNodesIdentifierTagsDefault creates a PatchNodesIdentifierTagsDefault with default headers values

func (*PatchNodesIdentifierTagsDefault) Code

Code gets the status code for the patch nodes identifier tags default response

func (*PatchNodesIdentifierTagsDefault) Error

type PatchNodesIdentifierTagsNotFound

type PatchNodesIdentifierTagsNotFound struct {
	Payload *models.Error
}

PatchNodesIdentifierTagsNotFound handles this case with default header values.

Not found

func NewPatchNodesIdentifierTagsNotFound

func NewPatchNodesIdentifierTagsNotFound() *PatchNodesIdentifierTagsNotFound

NewPatchNodesIdentifierTagsNotFound creates a PatchNodesIdentifierTagsNotFound with default headers values

func (*PatchNodesIdentifierTagsNotFound) Error

type PatchNodesIdentifierTagsOK

type PatchNodesIdentifierTagsOK struct {
	Payload PatchNodesIdentifierTagsOKBodyBody
}

PatchNodesIdentifierTagsOK handles this case with default header values.

patch succeeded

func NewPatchNodesIdentifierTagsOK

func NewPatchNodesIdentifierTagsOK() *PatchNodesIdentifierTagsOK

NewPatchNodesIdentifierTagsOK creates a PatchNodesIdentifierTagsOK with default headers values

func (*PatchNodesIdentifierTagsOK) Error

type PatchNodesIdentifierTagsOKBodyBody

type PatchNodesIdentifierTagsOKBodyBody interface{}

PatchNodesIdentifierTagsOKBodyBody patch nodes identifier tags o k body body

swagger:model PatchNodesIdentifierTagsOKBodyBody

type PatchNodesIdentifierTagsParams

type PatchNodesIdentifierTagsParams struct {

	/*Body
	  tags to apply


	*/
	Body interface{}
	/*Identifier
	  Mac addresses and unique aliases to identify the node by


	*/
	Identifier string
}

PatchNodesIdentifierTagsParams contains all the parameters to send to the API endpoint for the patch nodes identifier tags operation typically these are written to a http.Request

func NewPatchNodesIdentifierTagsParams

func NewPatchNodesIdentifierTagsParams() *PatchNodesIdentifierTagsParams

NewPatchNodesIdentifierTagsParams creates a new PatchNodesIdentifierTagsParams object with the default values initialized.

func (*PatchNodesIdentifierTagsParams) WithBody

func (o *PatchNodesIdentifierTagsParams) WithBody(Body interface{}) *PatchNodesIdentifierTagsParams

WithBody adds the body to the patch nodes identifier tags params

func (*PatchNodesIdentifierTagsParams) WithIdentifier

WithIdentifier adds the identifier to the patch nodes identifier tags params

func (*PatchNodesIdentifierTagsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PatchNodesIdentifierTagsReader

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

PatchNodesIdentifierTagsReader is a Reader for the PatchNodesIdentifierTags structure.

func (*PatchNodesIdentifierTagsReader) ReadResponse

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

ReadResponse reads a server response into the recieved o.

type PatchPollersIdentifierDefault

type PatchPollersIdentifierDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

PatchPollersIdentifierDefault handles this case with default header values.

Unexpected error

func NewPatchPollersIdentifierDefault

func NewPatchPollersIdentifierDefault(code int) *PatchPollersIdentifierDefault

NewPatchPollersIdentifierDefault creates a PatchPollersIdentifierDefault with default headers values

func (*PatchPollersIdentifierDefault) Code

Code gets the status code for the patch pollers identifier default response

func (*PatchPollersIdentifierDefault) Error

type PatchPollersIdentifierNotFound

type PatchPollersIdentifierNotFound struct {
	Payload *models.Error
}

PatchPollersIdentifierNotFound handles this case with default header values.

There is no poller with specified identifier.

func NewPatchPollersIdentifierNotFound

func NewPatchPollersIdentifierNotFound() *PatchPollersIdentifierNotFound

NewPatchPollersIdentifierNotFound creates a PatchPollersIdentifierNotFound with default headers values

func (*PatchPollersIdentifierNotFound) Error

type PatchPollersIdentifierOK

type PatchPollersIdentifierOK struct {
	Payload PatchPollersIdentifierOKBodyBody
}

PatchPollersIdentifierOK handles this case with default header values.

Specifics of the patched poller

func NewPatchPollersIdentifierOK

func NewPatchPollersIdentifierOK() *PatchPollersIdentifierOK

NewPatchPollersIdentifierOK creates a PatchPollersIdentifierOK with default headers values

func (*PatchPollersIdentifierOK) Error

func (o *PatchPollersIdentifierOK) Error() string

type PatchPollersIdentifierOKBodyBody

type PatchPollersIdentifierOKBodyBody interface{}

PatchPollersIdentifierOKBodyBody patch pollers identifier o k body body

swagger:model PatchPollersIdentifierOKBodyBody

type PatchPollersIdentifierParams

type PatchPollersIdentifierParams struct {

	/*Identifier
	  poller identifier


	*/
	Identifier string
}

PatchPollersIdentifierParams contains all the parameters to send to the API endpoint for the patch pollers identifier operation typically these are written to a http.Request

func NewPatchPollersIdentifierParams

func NewPatchPollersIdentifierParams() *PatchPollersIdentifierParams

NewPatchPollersIdentifierParams creates a new PatchPollersIdentifierParams object with the default values initialized.

func (*PatchPollersIdentifierParams) WithIdentifier

func (o *PatchPollersIdentifierParams) WithIdentifier(Identifier string) *PatchPollersIdentifierParams

WithIdentifier adds the identifier to the patch pollers identifier params

func (*PatchPollersIdentifierParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PatchPollersIdentifierReader

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

PatchPollersIdentifierReader is a Reader for the PatchPollersIdentifier structure.

func (*PatchPollersIdentifierReader) ReadResponse

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

ReadResponse reads a server response into the recieved o.

type PatchSkusIdentifierDefault

type PatchSkusIdentifierDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

PatchSkusIdentifierDefault handles this case with default header values.

Unexpected error

func NewPatchSkusIdentifierDefault

func NewPatchSkusIdentifierDefault(code int) *PatchSkusIdentifierDefault

NewPatchSkusIdentifierDefault creates a PatchSkusIdentifierDefault with default headers values

func (*PatchSkusIdentifierDefault) Code

func (o *PatchSkusIdentifierDefault) Code() int

Code gets the status code for the patch skus identifier default response

func (*PatchSkusIdentifierDefault) Error

type PatchSkusIdentifierInternalServerError

type PatchSkusIdentifierInternalServerError struct {
	Payload *models.Error
}

PatchSkusIdentifierInternalServerError handles this case with default header values.

Patch failed.

func NewPatchSkusIdentifierInternalServerError

func NewPatchSkusIdentifierInternalServerError() *PatchSkusIdentifierInternalServerError

NewPatchSkusIdentifierInternalServerError creates a PatchSkusIdentifierInternalServerError with default headers values

func (*PatchSkusIdentifierInternalServerError) Error

type PatchSkusIdentifierNotFound

type PatchSkusIdentifierNotFound struct {
	Payload *models.Error
}

PatchSkusIdentifierNotFound handles this case with default header values.

Not found, no sku with identifier.

func NewPatchSkusIdentifierNotFound

func NewPatchSkusIdentifierNotFound() *PatchSkusIdentifierNotFound

NewPatchSkusIdentifierNotFound creates a PatchSkusIdentifierNotFound with default headers values

func (*PatchSkusIdentifierNotFound) Error

type PatchSkusIdentifierOK

type PatchSkusIdentifierOK struct {
	Payload PatchSkusIdentifierOKBodyBody
}

PatchSkusIdentifierOK handles this case with default header values.

sku to patch

func NewPatchSkusIdentifierOK

func NewPatchSkusIdentifierOK() *PatchSkusIdentifierOK

NewPatchSkusIdentifierOK creates a PatchSkusIdentifierOK with default headers values

func (*PatchSkusIdentifierOK) Error

func (o *PatchSkusIdentifierOK) Error() string

type PatchSkusIdentifierOKBodyBody

type PatchSkusIdentifierOKBodyBody interface{}

PatchSkusIdentifierOKBodyBody patch skus identifier o k body body

swagger:model PatchSkusIdentifierOKBodyBody

type PatchSkusIdentifierParams

type PatchSkusIdentifierParams struct {

	/*Identifier
	  The profile name.


	*/
	Identifier string
}

PatchSkusIdentifierParams contains all the parameters to send to the API endpoint for the patch skus identifier operation typically these are written to a http.Request

func NewPatchSkusIdentifierParams

func NewPatchSkusIdentifierParams() *PatchSkusIdentifierParams

NewPatchSkusIdentifierParams creates a new PatchSkusIdentifierParams object with the default values initialized.

func (*PatchSkusIdentifierParams) WithIdentifier

func (o *PatchSkusIdentifierParams) WithIdentifier(Identifier string) *PatchSkusIdentifierParams

WithIdentifier adds the identifier to the patch skus identifier params

func (*PatchSkusIdentifierParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PatchSkusIdentifierReader

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

PatchSkusIdentifierReader is a Reader for the PatchSkusIdentifier structure.

func (*PatchSkusIdentifierReader) ReadResponse

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

ReadResponse reads a server response into the recieved o.

Jump to

Keyboard shortcuts

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