node_topo

package
v1.10.0 Latest Latest
Warning

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

Go to latest
Published: May 13, 2022 License: ISC 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 node topo API

func (*Client) GetNodeTopoes

func (a *Client) GetNodeTopoes(params *GetNodeTopoesParams, opts ...ClientOption) (*GetNodeTopoesOK, error)

GetNodeTopoes get node topoes API

func (*Client) GetNodeTopoesConnection

func (a *Client) GetNodeTopoesConnection(params *GetNodeTopoesConnectionParams, opts ...ClientOption) (*GetNodeTopoesConnectionOK, error)

GetNodeTopoesConnection get node topoes connection API

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateNodeTopo

func (a *Client) UpdateNodeTopo(params *UpdateNodeTopoParams, opts ...ClientOption) (*UpdateNodeTopoOK, error)

UpdateNodeTopo update node topo API

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	GetNodeTopoes(params *GetNodeTopoesParams, opts ...ClientOption) (*GetNodeTopoesOK, error)

	GetNodeTopoesConnection(params *GetNodeTopoesConnectionParams, opts ...ClientOption) (*GetNodeTopoesConnectionOK, error)

	UpdateNodeTopo(params *UpdateNodeTopoParams, opts ...ClientOption) (*UpdateNodeTopoOK, 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 node topo API client.

type GetNodeTopoesBadRequest

type GetNodeTopoesBadRequest struct {
	Payload *models.ErrorBody
}
GetNodeTopoesBadRequest describes a response with status code 400, with default header values.

Bad request

func NewGetNodeTopoesBadRequest

func NewGetNodeTopoesBadRequest() *GetNodeTopoesBadRequest

NewGetNodeTopoesBadRequest creates a GetNodeTopoesBadRequest with default headers values

func (*GetNodeTopoesBadRequest) Error

func (o *GetNodeTopoesBadRequest) Error() string

func (*GetNodeTopoesBadRequest) GetPayload

func (o *GetNodeTopoesBadRequest) GetPayload() *models.ErrorBody

type GetNodeTopoesConnectionBadRequest

type GetNodeTopoesConnectionBadRequest struct {
	Payload *models.ErrorBody
}
GetNodeTopoesConnectionBadRequest describes a response with status code 400, with default header values.

Bad request

func NewGetNodeTopoesConnectionBadRequest

func NewGetNodeTopoesConnectionBadRequest() *GetNodeTopoesConnectionBadRequest

NewGetNodeTopoesConnectionBadRequest creates a GetNodeTopoesConnectionBadRequest with default headers values

func (*GetNodeTopoesConnectionBadRequest) Error

func (*GetNodeTopoesConnectionBadRequest) GetPayload

type GetNodeTopoesConnectionInternalServerError added in v1.10.0

type GetNodeTopoesConnectionInternalServerError struct {
	Payload *models.ErrorBody
}
GetNodeTopoesConnectionInternalServerError describes a response with status code 500, with default header values.

Server error

func NewGetNodeTopoesConnectionInternalServerError added in v1.10.0

func NewGetNodeTopoesConnectionInternalServerError() *GetNodeTopoesConnectionInternalServerError

NewGetNodeTopoesConnectionInternalServerError creates a GetNodeTopoesConnectionInternalServerError with default headers values

func (*GetNodeTopoesConnectionInternalServerError) Error added in v1.10.0

func (*GetNodeTopoesConnectionInternalServerError) GetPayload added in v1.10.0

type GetNodeTopoesConnectionNotFound added in v1.10.0

type GetNodeTopoesConnectionNotFound struct {
	Payload *models.ErrorBody
}
GetNodeTopoesConnectionNotFound describes a response with status code 404, with default header values.

Not found

func NewGetNodeTopoesConnectionNotFound added in v1.10.0

func NewGetNodeTopoesConnectionNotFound() *GetNodeTopoesConnectionNotFound

NewGetNodeTopoesConnectionNotFound creates a GetNodeTopoesConnectionNotFound with default headers values

func (*GetNodeTopoesConnectionNotFound) Error added in v1.10.0

func (*GetNodeTopoesConnectionNotFound) GetPayload added in v1.10.0

type GetNodeTopoesConnectionOK

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

Ok

func NewGetNodeTopoesConnectionOK

func NewGetNodeTopoesConnectionOK() *GetNodeTopoesConnectionOK

NewGetNodeTopoesConnectionOK creates a GetNodeTopoesConnectionOK with default headers values

func (*GetNodeTopoesConnectionOK) Error

func (o *GetNodeTopoesConnectionOK) Error() string

func (*GetNodeTopoesConnectionOK) GetPayload

type GetNodeTopoesConnectionParams

type GetNodeTopoesConnectionParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody *models.GetNodeTopoesConnectionRequestBody

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

GetNodeTopoesConnectionParams contains all the parameters to send to the API endpoint

for the get node topoes connection operation.

Typically these are written to a http.Request.

func NewGetNodeTopoesConnectionParams

func NewGetNodeTopoesConnectionParams() *GetNodeTopoesConnectionParams

NewGetNodeTopoesConnectionParams creates a new GetNodeTopoesConnectionParams 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 NewGetNodeTopoesConnectionParamsWithContext

func NewGetNodeTopoesConnectionParamsWithContext(ctx context.Context) *GetNodeTopoesConnectionParams

NewGetNodeTopoesConnectionParamsWithContext creates a new GetNodeTopoesConnectionParams object with the ability to set a context for a request.

func NewGetNodeTopoesConnectionParamsWithHTTPClient

func NewGetNodeTopoesConnectionParamsWithHTTPClient(client *http.Client) *GetNodeTopoesConnectionParams

NewGetNodeTopoesConnectionParamsWithHTTPClient creates a new GetNodeTopoesConnectionParams object with the ability to set a custom HTTPClient for a request.

func NewGetNodeTopoesConnectionParamsWithTimeout

func NewGetNodeTopoesConnectionParamsWithTimeout(timeout time.Duration) *GetNodeTopoesConnectionParams

NewGetNodeTopoesConnectionParamsWithTimeout creates a new GetNodeTopoesConnectionParams object with the ability to set a timeout on a request.

func (*GetNodeTopoesConnectionParams) SetContentLanguage

func (o *GetNodeTopoesConnectionParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the get node topoes connection params

func (*GetNodeTopoesConnectionParams) SetContext

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

SetContext adds the context to the get node topoes connection params

func (*GetNodeTopoesConnectionParams) SetDefaults

func (o *GetNodeTopoesConnectionParams) SetDefaults()

SetDefaults hydrates default values in the get node topoes connection params (not the query body).

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

func (*GetNodeTopoesConnectionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get node topoes connection params

func (*GetNodeTopoesConnectionParams) SetRequestBody

SetRequestBody adds the requestBody to the get node topoes connection params

func (*GetNodeTopoesConnectionParams) SetTimeout

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

SetTimeout adds the timeout to the get node topoes connection params

func (*GetNodeTopoesConnectionParams) WithContentLanguage

func (o *GetNodeTopoesConnectionParams) WithContentLanguage(contentLanguage *string) *GetNodeTopoesConnectionParams

WithContentLanguage adds the contentLanguage to the get node topoes connection params

func (*GetNodeTopoesConnectionParams) WithContext

WithContext adds the context to the get node topoes connection params

func (*GetNodeTopoesConnectionParams) WithDefaults

WithDefaults hydrates default values in the get node topoes connection params (not the query body).

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

func (*GetNodeTopoesConnectionParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get node topoes connection params

func (*GetNodeTopoesConnectionParams) WithRequestBody

WithRequestBody adds the requestBody to the get node topoes connection params

func (*GetNodeTopoesConnectionParams) WithTimeout

WithTimeout adds the timeout to the get node topoes connection params

func (*GetNodeTopoesConnectionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetNodeTopoesConnectionReader

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

GetNodeTopoesConnectionReader is a Reader for the GetNodeTopoesConnection structure.

func (*GetNodeTopoesConnectionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetNodeTopoesInternalServerError added in v1.10.0

type GetNodeTopoesInternalServerError struct {
	Payload *models.ErrorBody
}
GetNodeTopoesInternalServerError describes a response with status code 500, with default header values.

Server error

func NewGetNodeTopoesInternalServerError added in v1.10.0

func NewGetNodeTopoesInternalServerError() *GetNodeTopoesInternalServerError

NewGetNodeTopoesInternalServerError creates a GetNodeTopoesInternalServerError with default headers values

func (*GetNodeTopoesInternalServerError) Error added in v1.10.0

func (*GetNodeTopoesInternalServerError) GetPayload added in v1.10.0

type GetNodeTopoesNotFound added in v1.10.0

type GetNodeTopoesNotFound struct {
	Payload *models.ErrorBody
}
GetNodeTopoesNotFound describes a response with status code 404, with default header values.

Not found

func NewGetNodeTopoesNotFound added in v1.10.0

func NewGetNodeTopoesNotFound() *GetNodeTopoesNotFound

NewGetNodeTopoesNotFound creates a GetNodeTopoesNotFound with default headers values

func (*GetNodeTopoesNotFound) Error added in v1.10.0

func (o *GetNodeTopoesNotFound) Error() string

func (*GetNodeTopoesNotFound) GetPayload added in v1.10.0

func (o *GetNodeTopoesNotFound) GetPayload() *models.ErrorBody

type GetNodeTopoesOK

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

Ok

func NewGetNodeTopoesOK

func NewGetNodeTopoesOK() *GetNodeTopoesOK

NewGetNodeTopoesOK creates a GetNodeTopoesOK with default headers values

func (*GetNodeTopoesOK) Error

func (o *GetNodeTopoesOK) Error() string

func (*GetNodeTopoesOK) GetPayload

func (o *GetNodeTopoesOK) GetPayload() []*models.NodeTopo

type GetNodeTopoesParams

type GetNodeTopoesParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody *models.GetNodeTopoesRequestBody

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

GetNodeTopoesParams contains all the parameters to send to the API endpoint

for the get node topoes operation.

Typically these are written to a http.Request.

func NewGetNodeTopoesParams

func NewGetNodeTopoesParams() *GetNodeTopoesParams

NewGetNodeTopoesParams creates a new GetNodeTopoesParams 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 NewGetNodeTopoesParamsWithContext

func NewGetNodeTopoesParamsWithContext(ctx context.Context) *GetNodeTopoesParams

NewGetNodeTopoesParamsWithContext creates a new GetNodeTopoesParams object with the ability to set a context for a request.

func NewGetNodeTopoesParamsWithHTTPClient

func NewGetNodeTopoesParamsWithHTTPClient(client *http.Client) *GetNodeTopoesParams

NewGetNodeTopoesParamsWithHTTPClient creates a new GetNodeTopoesParams object with the ability to set a custom HTTPClient for a request.

func NewGetNodeTopoesParamsWithTimeout

func NewGetNodeTopoesParamsWithTimeout(timeout time.Duration) *GetNodeTopoesParams

NewGetNodeTopoesParamsWithTimeout creates a new GetNodeTopoesParams object with the ability to set a timeout on a request.

func (*GetNodeTopoesParams) SetContentLanguage

func (o *GetNodeTopoesParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the get node topoes params

func (*GetNodeTopoesParams) SetContext

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

SetContext adds the context to the get node topoes params

func (*GetNodeTopoesParams) SetDefaults

func (o *GetNodeTopoesParams) SetDefaults()

SetDefaults hydrates default values in the get node topoes params (not the query body).

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

func (*GetNodeTopoesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get node topoes params

func (*GetNodeTopoesParams) SetRequestBody

func (o *GetNodeTopoesParams) SetRequestBody(requestBody *models.GetNodeTopoesRequestBody)

SetRequestBody adds the requestBody to the get node topoes params

func (*GetNodeTopoesParams) SetTimeout

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

SetTimeout adds the timeout to the get node topoes params

func (*GetNodeTopoesParams) WithContentLanguage

func (o *GetNodeTopoesParams) WithContentLanguage(contentLanguage *string) *GetNodeTopoesParams

WithContentLanguage adds the contentLanguage to the get node topoes params

func (*GetNodeTopoesParams) WithContext

WithContext adds the context to the get node topoes params

func (*GetNodeTopoesParams) WithDefaults

func (o *GetNodeTopoesParams) WithDefaults() *GetNodeTopoesParams

WithDefaults hydrates default values in the get node topoes params (not the query body).

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

func (*GetNodeTopoesParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get node topoes params

func (*GetNodeTopoesParams) WithRequestBody

func (o *GetNodeTopoesParams) WithRequestBody(requestBody *models.GetNodeTopoesRequestBody) *GetNodeTopoesParams

WithRequestBody adds the requestBody to the get node topoes params

func (*GetNodeTopoesParams) WithTimeout

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

WithTimeout adds the timeout to the get node topoes params

func (*GetNodeTopoesParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetNodeTopoesReader

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

GetNodeTopoesReader is a Reader for the GetNodeTopoes structure.

func (*GetNodeTopoesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateNodeTopoBadRequest

type UpdateNodeTopoBadRequest struct {
	Payload *models.ErrorBody
}
UpdateNodeTopoBadRequest describes a response with status code 400, with default header values.

Bad request

func NewUpdateNodeTopoBadRequest

func NewUpdateNodeTopoBadRequest() *UpdateNodeTopoBadRequest

NewUpdateNodeTopoBadRequest creates a UpdateNodeTopoBadRequest with default headers values

func (*UpdateNodeTopoBadRequest) Error

func (o *UpdateNodeTopoBadRequest) Error() string

func (*UpdateNodeTopoBadRequest) GetPayload

func (o *UpdateNodeTopoBadRequest) GetPayload() *models.ErrorBody

type UpdateNodeTopoInternalServerError added in v1.10.0

type UpdateNodeTopoInternalServerError struct {
	Payload *models.ErrorBody
}
UpdateNodeTopoInternalServerError describes a response with status code 500, with default header values.

Server error

func NewUpdateNodeTopoInternalServerError added in v1.10.0

func NewUpdateNodeTopoInternalServerError() *UpdateNodeTopoInternalServerError

NewUpdateNodeTopoInternalServerError creates a UpdateNodeTopoInternalServerError with default headers values

func (*UpdateNodeTopoInternalServerError) Error added in v1.10.0

func (*UpdateNodeTopoInternalServerError) GetPayload added in v1.10.0

type UpdateNodeTopoNotFound added in v1.10.0

type UpdateNodeTopoNotFound struct {
	Payload *models.ErrorBody
}
UpdateNodeTopoNotFound describes a response with status code 404, with default header values.

Not found

func NewUpdateNodeTopoNotFound added in v1.10.0

func NewUpdateNodeTopoNotFound() *UpdateNodeTopoNotFound

NewUpdateNodeTopoNotFound creates a UpdateNodeTopoNotFound with default headers values

func (*UpdateNodeTopoNotFound) Error added in v1.10.0

func (o *UpdateNodeTopoNotFound) Error() string

func (*UpdateNodeTopoNotFound) GetPayload added in v1.10.0

func (o *UpdateNodeTopoNotFound) GetPayload() *models.ErrorBody

type UpdateNodeTopoOK

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

Ok

func NewUpdateNodeTopoOK

func NewUpdateNodeTopoOK() *UpdateNodeTopoOK

NewUpdateNodeTopoOK creates a UpdateNodeTopoOK with default headers values

func (*UpdateNodeTopoOK) Error

func (o *UpdateNodeTopoOK) Error() string

func (*UpdateNodeTopoOK) GetPayload

func (o *UpdateNodeTopoOK) GetPayload() []*models.WithTaskNodeTopo

type UpdateNodeTopoParams

type UpdateNodeTopoParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody models.NodeTopoUpdationParams

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

UpdateNodeTopoParams contains all the parameters to send to the API endpoint

for the update node topo operation.

Typically these are written to a http.Request.

func NewUpdateNodeTopoParams

func NewUpdateNodeTopoParams() *UpdateNodeTopoParams

NewUpdateNodeTopoParams creates a new UpdateNodeTopoParams 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 NewUpdateNodeTopoParamsWithContext

func NewUpdateNodeTopoParamsWithContext(ctx context.Context) *UpdateNodeTopoParams

NewUpdateNodeTopoParamsWithContext creates a new UpdateNodeTopoParams object with the ability to set a context for a request.

func NewUpdateNodeTopoParamsWithHTTPClient

func NewUpdateNodeTopoParamsWithHTTPClient(client *http.Client) *UpdateNodeTopoParams

NewUpdateNodeTopoParamsWithHTTPClient creates a new UpdateNodeTopoParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateNodeTopoParamsWithTimeout

func NewUpdateNodeTopoParamsWithTimeout(timeout time.Duration) *UpdateNodeTopoParams

NewUpdateNodeTopoParamsWithTimeout creates a new UpdateNodeTopoParams object with the ability to set a timeout on a request.

func (*UpdateNodeTopoParams) SetContentLanguage

func (o *UpdateNodeTopoParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the update node topo params

func (*UpdateNodeTopoParams) SetContext

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

SetContext adds the context to the update node topo params

func (*UpdateNodeTopoParams) SetDefaults

func (o *UpdateNodeTopoParams) SetDefaults()

SetDefaults hydrates default values in the update node topo params (not the query body).

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

func (*UpdateNodeTopoParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update node topo params

func (*UpdateNodeTopoParams) SetRequestBody

func (o *UpdateNodeTopoParams) SetRequestBody(requestBody models.NodeTopoUpdationParams)

SetRequestBody adds the requestBody to the update node topo params

func (*UpdateNodeTopoParams) SetTimeout

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

SetTimeout adds the timeout to the update node topo params

func (*UpdateNodeTopoParams) WithContentLanguage

func (o *UpdateNodeTopoParams) WithContentLanguage(contentLanguage *string) *UpdateNodeTopoParams

WithContentLanguage adds the contentLanguage to the update node topo params

func (*UpdateNodeTopoParams) WithContext

WithContext adds the context to the update node topo params

func (*UpdateNodeTopoParams) WithDefaults

func (o *UpdateNodeTopoParams) WithDefaults() *UpdateNodeTopoParams

WithDefaults hydrates default values in the update node topo params (not the query body).

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

func (*UpdateNodeTopoParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update node topo params

func (*UpdateNodeTopoParams) WithRequestBody

WithRequestBody adds the requestBody to the update node topo params

func (*UpdateNodeTopoParams) WithTimeout

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

WithTimeout adds the timeout to the update node topo params

func (*UpdateNodeTopoParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type UpdateNodeTopoReader

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

UpdateNodeTopoReader is a Reader for the UpdateNodeTopo structure.

func (*UpdateNodeTopoReader) ReadResponse

func (o *UpdateNodeTopoReader) 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