network

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2020 License: MIT Imports: 10 Imported by: 7

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AllocateNetworkConflict

type AllocateNetworkConflict struct {
	Payload *models.HttperrorsHTTPErrorResponse
}

AllocateNetworkConflict handles this case with default header values.

Conflict

func NewAllocateNetworkConflict

func NewAllocateNetworkConflict() *AllocateNetworkConflict

NewAllocateNetworkConflict creates a AllocateNetworkConflict with default headers values

func (*AllocateNetworkConflict) Error

func (o *AllocateNetworkConflict) Error() string

type AllocateNetworkCreated

type AllocateNetworkCreated struct {
	Payload *models.V1NetworkResponse
}

AllocateNetworkCreated handles this case with default header values.

Created

func NewAllocateNetworkCreated

func NewAllocateNetworkCreated() *AllocateNetworkCreated

NewAllocateNetworkCreated creates a AllocateNetworkCreated with default headers values

func (*AllocateNetworkCreated) Error

func (o *AllocateNetworkCreated) Error() string

type AllocateNetworkDefault

type AllocateNetworkDefault struct {
	Payload *models.HttperrorsHTTPErrorResponse
	// contains filtered or unexported fields
}

AllocateNetworkDefault handles this case with default header values.

Error

func NewAllocateNetworkDefault

func NewAllocateNetworkDefault(code int) *AllocateNetworkDefault

NewAllocateNetworkDefault creates a AllocateNetworkDefault with default headers values

func (*AllocateNetworkDefault) Code

func (o *AllocateNetworkDefault) Code() int

Code gets the status code for the allocate network default response

func (*AllocateNetworkDefault) Error

func (o *AllocateNetworkDefault) Error() string

type AllocateNetworkParams

type AllocateNetworkParams struct {

	/*Body*/
	Body *models.V1NetworkAllocateRequest

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

AllocateNetworkParams contains all the parameters to send to the API endpoint for the allocate network operation typically these are written to a http.Request

func NewAllocateNetworkParams

func NewAllocateNetworkParams() *AllocateNetworkParams

NewAllocateNetworkParams creates a new AllocateNetworkParams object with the default values initialized.

func NewAllocateNetworkParamsWithContext

func NewAllocateNetworkParamsWithContext(ctx context.Context) *AllocateNetworkParams

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

func NewAllocateNetworkParamsWithHTTPClient

func NewAllocateNetworkParamsWithHTTPClient(client *http.Client) *AllocateNetworkParams

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

func NewAllocateNetworkParamsWithTimeout

func NewAllocateNetworkParamsWithTimeout(timeout time.Duration) *AllocateNetworkParams

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

func (*AllocateNetworkParams) SetBody

SetBody adds the body to the allocate network params

func (*AllocateNetworkParams) SetContext

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

SetContext adds the context to the allocate network params

func (*AllocateNetworkParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the allocate network params

func (*AllocateNetworkParams) SetTimeout

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

SetTimeout adds the timeout to the allocate network params

func (*AllocateNetworkParams) WithBody

WithBody adds the body to the allocate network params

func (*AllocateNetworkParams) WithContext

WithContext adds the context to the allocate network params

func (*AllocateNetworkParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the allocate network params

func (*AllocateNetworkParams) WithTimeout

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

WithTimeout adds the timeout to the allocate network params

func (*AllocateNetworkParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type AllocateNetworkReader

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

AllocateNetworkReader is a Reader for the AllocateNetwork structure.

func (*AllocateNetworkReader) ReadResponse

func (o *AllocateNetworkReader) 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 network API

func New

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

New creates a new network API client.

func (*Client) AllocateNetwork

func (a *Client) AllocateNetwork(params *AllocateNetworkParams, authInfo runtime.ClientAuthInfoWriter) (*AllocateNetworkCreated, error)

AllocateNetwork allocates a child network from a partition s private super network

func (*Client) CreateNetwork

func (a *Client) CreateNetwork(params *CreateNetworkParams, authInfo runtime.ClientAuthInfoWriter) (*CreateNetworkCreated, error)

CreateNetwork creates a network if the given ID already exists a conflict is returned

func (*Client) DeleteNetwork

func (a *Client) DeleteNetwork(params *DeleteNetworkParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteNetworkOK, error)

DeleteNetwork deletes a network and returns the deleted entity

func (*Client) FindNetwork

func (a *Client) FindNetwork(params *FindNetworkParams, authInfo runtime.ClientAuthInfoWriter) (*FindNetworkOK, error)

FindNetwork gets network by id

func (*Client) FindNetworks

func (a *Client) FindNetworks(params *FindNetworksParams, authInfo runtime.ClientAuthInfoWriter) (*FindNetworksOK, error)

FindNetworks gets all networks that match given properties

func (*Client) FreeNetwork

func (a *Client) FreeNetwork(params *FreeNetworkParams, authInfo runtime.ClientAuthInfoWriter) (*FreeNetworkOK, error)

FreeNetwork frees a network

func (*Client) ListNetworks

func (a *Client) ListNetworks(params *ListNetworksParams, authInfo runtime.ClientAuthInfoWriter) (*ListNetworksOK, error)

ListNetworks gets all networks

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateNetwork

func (a *Client) UpdateNetwork(params *UpdateNetworkParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateNetworkOK, error)

UpdateNetwork updates a network if the network was changed since this one was read a conflict is returned

type CreateNetworkConflict

type CreateNetworkConflict struct {
	Payload *models.HttperrorsHTTPErrorResponse
}

CreateNetworkConflict handles this case with default header values.

Conflict

func NewCreateNetworkConflict

func NewCreateNetworkConflict() *CreateNetworkConflict

NewCreateNetworkConflict creates a CreateNetworkConflict with default headers values

func (*CreateNetworkConflict) Error

func (o *CreateNetworkConflict) Error() string

type CreateNetworkCreated

type CreateNetworkCreated struct {
	Payload *models.V1NetworkResponse
}

CreateNetworkCreated handles this case with default header values.

Created

func NewCreateNetworkCreated

func NewCreateNetworkCreated() *CreateNetworkCreated

NewCreateNetworkCreated creates a CreateNetworkCreated with default headers values

func (*CreateNetworkCreated) Error

func (o *CreateNetworkCreated) Error() string

type CreateNetworkDefault

type CreateNetworkDefault struct {
	Payload *models.HttperrorsHTTPErrorResponse
	// contains filtered or unexported fields
}

CreateNetworkDefault handles this case with default header values.

Error

func NewCreateNetworkDefault

func NewCreateNetworkDefault(code int) *CreateNetworkDefault

NewCreateNetworkDefault creates a CreateNetworkDefault with default headers values

func (*CreateNetworkDefault) Code

func (o *CreateNetworkDefault) Code() int

Code gets the status code for the create network default response

func (*CreateNetworkDefault) Error

func (o *CreateNetworkDefault) Error() string

type CreateNetworkParams

type CreateNetworkParams struct {

	/*Body*/
	Body *models.V1NetworkCreateRequest

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

CreateNetworkParams contains all the parameters to send to the API endpoint for the create network operation typically these are written to a http.Request

func NewCreateNetworkParams

func NewCreateNetworkParams() *CreateNetworkParams

NewCreateNetworkParams creates a new CreateNetworkParams object with the default values initialized.

func NewCreateNetworkParamsWithContext

func NewCreateNetworkParamsWithContext(ctx context.Context) *CreateNetworkParams

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

func NewCreateNetworkParamsWithHTTPClient

func NewCreateNetworkParamsWithHTTPClient(client *http.Client) *CreateNetworkParams

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

func NewCreateNetworkParamsWithTimeout

func NewCreateNetworkParamsWithTimeout(timeout time.Duration) *CreateNetworkParams

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

func (*CreateNetworkParams) SetBody

SetBody adds the body to the create network params

func (*CreateNetworkParams) SetContext

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

SetContext adds the context to the create network params

func (*CreateNetworkParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create network params

func (*CreateNetworkParams) SetTimeout

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

SetTimeout adds the timeout to the create network params

func (*CreateNetworkParams) WithBody

WithBody adds the body to the create network params

func (*CreateNetworkParams) WithContext

WithContext adds the context to the create network params

func (*CreateNetworkParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create network params

func (*CreateNetworkParams) WithTimeout

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

WithTimeout adds the timeout to the create network params

func (*CreateNetworkParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type CreateNetworkReader

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

CreateNetworkReader is a Reader for the CreateNetwork structure.

func (*CreateNetworkReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteNetworkDefault

type DeleteNetworkDefault struct {
	Payload *models.HttperrorsHTTPErrorResponse
	// contains filtered or unexported fields
}

DeleteNetworkDefault handles this case with default header values.

Error

func NewDeleteNetworkDefault

func NewDeleteNetworkDefault(code int) *DeleteNetworkDefault

NewDeleteNetworkDefault creates a DeleteNetworkDefault with default headers values

func (*DeleteNetworkDefault) Code

func (o *DeleteNetworkDefault) Code() int

Code gets the status code for the delete network default response

func (*DeleteNetworkDefault) Error

func (o *DeleteNetworkDefault) Error() string

type DeleteNetworkOK

type DeleteNetworkOK struct {
	Payload *models.V1NetworkResponse
}

DeleteNetworkOK handles this case with default header values.

OK

func NewDeleteNetworkOK

func NewDeleteNetworkOK() *DeleteNetworkOK

NewDeleteNetworkOK creates a DeleteNetworkOK with default headers values

func (*DeleteNetworkOK) Error

func (o *DeleteNetworkOK) Error() string

type DeleteNetworkParams

type DeleteNetworkParams struct {

	/*ID
	  identifier of the network

	*/
	ID string

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

DeleteNetworkParams contains all the parameters to send to the API endpoint for the delete network operation typically these are written to a http.Request

func NewDeleteNetworkParams

func NewDeleteNetworkParams() *DeleteNetworkParams

NewDeleteNetworkParams creates a new DeleteNetworkParams object with the default values initialized.

func NewDeleteNetworkParamsWithContext

func NewDeleteNetworkParamsWithContext(ctx context.Context) *DeleteNetworkParams

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

func NewDeleteNetworkParamsWithHTTPClient

func NewDeleteNetworkParamsWithHTTPClient(client *http.Client) *DeleteNetworkParams

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

func NewDeleteNetworkParamsWithTimeout

func NewDeleteNetworkParamsWithTimeout(timeout time.Duration) *DeleteNetworkParams

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

func (*DeleteNetworkParams) SetContext

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

SetContext adds the context to the delete network params

func (*DeleteNetworkParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete network params

func (*DeleteNetworkParams) SetID

func (o *DeleteNetworkParams) SetID(id string)

SetID adds the id to the delete network params

func (*DeleteNetworkParams) SetTimeout

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

SetTimeout adds the timeout to the delete network params

func (*DeleteNetworkParams) WithContext

WithContext adds the context to the delete network params

func (*DeleteNetworkParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete network params

func (*DeleteNetworkParams) WithID

WithID adds the id to the delete network params

func (*DeleteNetworkParams) WithTimeout

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

WithTimeout adds the timeout to the delete network params

func (*DeleteNetworkParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DeleteNetworkReader

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

DeleteNetworkReader is a Reader for the DeleteNetwork structure.

func (*DeleteNetworkReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type FindNetworkDefault

type FindNetworkDefault struct {
	Payload *models.HttperrorsHTTPErrorResponse
	// contains filtered or unexported fields
}

FindNetworkDefault handles this case with default header values.

Error

func NewFindNetworkDefault

func NewFindNetworkDefault(code int) *FindNetworkDefault

NewFindNetworkDefault creates a FindNetworkDefault with default headers values

func (*FindNetworkDefault) Code

func (o *FindNetworkDefault) Code() int

Code gets the status code for the find network default response

func (*FindNetworkDefault) Error

func (o *FindNetworkDefault) Error() string

type FindNetworkOK

type FindNetworkOK struct {
	Payload *models.V1NetworkResponse
}

FindNetworkOK handles this case with default header values.

OK

func NewFindNetworkOK

func NewFindNetworkOK() *FindNetworkOK

NewFindNetworkOK creates a FindNetworkOK with default headers values

func (*FindNetworkOK) Error

func (o *FindNetworkOK) Error() string

type FindNetworkParams

type FindNetworkParams struct {

	/*ID
	  identifier of the network

	*/
	ID string

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

FindNetworkParams contains all the parameters to send to the API endpoint for the find network operation typically these are written to a http.Request

func NewFindNetworkParams

func NewFindNetworkParams() *FindNetworkParams

NewFindNetworkParams creates a new FindNetworkParams object with the default values initialized.

func NewFindNetworkParamsWithContext

func NewFindNetworkParamsWithContext(ctx context.Context) *FindNetworkParams

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

func NewFindNetworkParamsWithHTTPClient

func NewFindNetworkParamsWithHTTPClient(client *http.Client) *FindNetworkParams

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

func NewFindNetworkParamsWithTimeout

func NewFindNetworkParamsWithTimeout(timeout time.Duration) *FindNetworkParams

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

func (*FindNetworkParams) SetContext

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

SetContext adds the context to the find network params

func (*FindNetworkParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the find network params

func (*FindNetworkParams) SetID

func (o *FindNetworkParams) SetID(id string)

SetID adds the id to the find network params

func (*FindNetworkParams) SetTimeout

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

SetTimeout adds the timeout to the find network params

func (*FindNetworkParams) WithContext

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

WithContext adds the context to the find network params

func (*FindNetworkParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the find network params

func (*FindNetworkParams) WithID

WithID adds the id to the find network params

func (*FindNetworkParams) WithTimeout

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

WithTimeout adds the timeout to the find network params

func (*FindNetworkParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type FindNetworkReader

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

FindNetworkReader is a Reader for the FindNetwork structure.

func (*FindNetworkReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type FindNetworksDefault

type FindNetworksDefault struct {
	Payload *models.HttperrorsHTTPErrorResponse
	// contains filtered or unexported fields
}

FindNetworksDefault handles this case with default header values.

Error

func NewFindNetworksDefault

func NewFindNetworksDefault(code int) *FindNetworksDefault

NewFindNetworksDefault creates a FindNetworksDefault with default headers values

func (*FindNetworksDefault) Code

func (o *FindNetworksDefault) Code() int

Code gets the status code for the find networks default response

func (*FindNetworksDefault) Error

func (o *FindNetworksDefault) Error() string

type FindNetworksOK

type FindNetworksOK struct {
	Payload []*models.V1NetworkResponse
}

FindNetworksOK handles this case with default header values.

OK

func NewFindNetworksOK

func NewFindNetworksOK() *FindNetworksOK

NewFindNetworksOK creates a FindNetworksOK with default headers values

func (*FindNetworksOK) Error

func (o *FindNetworksOK) Error() string

type FindNetworksParams

type FindNetworksParams struct {

	/*Body*/
	Body *models.V1NetworkFindRequest

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

FindNetworksParams contains all the parameters to send to the API endpoint for the find networks operation typically these are written to a http.Request

func NewFindNetworksParams

func NewFindNetworksParams() *FindNetworksParams

NewFindNetworksParams creates a new FindNetworksParams object with the default values initialized.

func NewFindNetworksParamsWithContext

func NewFindNetworksParamsWithContext(ctx context.Context) *FindNetworksParams

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

func NewFindNetworksParamsWithHTTPClient

func NewFindNetworksParamsWithHTTPClient(client *http.Client) *FindNetworksParams

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

func NewFindNetworksParamsWithTimeout

func NewFindNetworksParamsWithTimeout(timeout time.Duration) *FindNetworksParams

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

func (*FindNetworksParams) SetBody

SetBody adds the body to the find networks params

func (*FindNetworksParams) SetContext

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

SetContext adds the context to the find networks params

func (*FindNetworksParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the find networks params

func (*FindNetworksParams) SetTimeout

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

SetTimeout adds the timeout to the find networks params

func (*FindNetworksParams) WithBody

WithBody adds the body to the find networks params

func (*FindNetworksParams) WithContext

WithContext adds the context to the find networks params

func (*FindNetworksParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the find networks params

func (*FindNetworksParams) WithTimeout

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

WithTimeout adds the timeout to the find networks params

func (*FindNetworksParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type FindNetworksReader

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

FindNetworksReader is a Reader for the FindNetworks structure.

func (*FindNetworksReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type FreeNetworkConflict

type FreeNetworkConflict struct {
	Payload *models.HttperrorsHTTPErrorResponse
}

FreeNetworkConflict handles this case with default header values.

Conflict

func NewFreeNetworkConflict

func NewFreeNetworkConflict() *FreeNetworkConflict

NewFreeNetworkConflict creates a FreeNetworkConflict with default headers values

func (*FreeNetworkConflict) Error

func (o *FreeNetworkConflict) Error() string

type FreeNetworkDefault

type FreeNetworkDefault struct {
	Payload *models.HttperrorsHTTPErrorResponse
	// contains filtered or unexported fields
}

FreeNetworkDefault handles this case with default header values.

Error

func NewFreeNetworkDefault

func NewFreeNetworkDefault(code int) *FreeNetworkDefault

NewFreeNetworkDefault creates a FreeNetworkDefault with default headers values

func (*FreeNetworkDefault) Code

func (o *FreeNetworkDefault) Code() int

Code gets the status code for the free network default response

func (*FreeNetworkDefault) Error

func (o *FreeNetworkDefault) Error() string

type FreeNetworkOK

type FreeNetworkOK struct {
	Payload *models.V1NetworkResponse
}

FreeNetworkOK handles this case with default header values.

OK

func NewFreeNetworkOK

func NewFreeNetworkOK() *FreeNetworkOK

NewFreeNetworkOK creates a FreeNetworkOK with default headers values

func (*FreeNetworkOK) Error

func (o *FreeNetworkOK) Error() string

type FreeNetworkParams

type FreeNetworkParams struct {

	/*ID
	  identifier of the network

	*/
	ID string

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

FreeNetworkParams contains all the parameters to send to the API endpoint for the free network operation typically these are written to a http.Request

func NewFreeNetworkParams

func NewFreeNetworkParams() *FreeNetworkParams

NewFreeNetworkParams creates a new FreeNetworkParams object with the default values initialized.

func NewFreeNetworkParamsWithContext

func NewFreeNetworkParamsWithContext(ctx context.Context) *FreeNetworkParams

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

func NewFreeNetworkParamsWithHTTPClient

func NewFreeNetworkParamsWithHTTPClient(client *http.Client) *FreeNetworkParams

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

func NewFreeNetworkParamsWithTimeout

func NewFreeNetworkParamsWithTimeout(timeout time.Duration) *FreeNetworkParams

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

func (*FreeNetworkParams) SetContext

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

SetContext adds the context to the free network params

func (*FreeNetworkParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the free network params

func (*FreeNetworkParams) SetID

func (o *FreeNetworkParams) SetID(id string)

SetID adds the id to the free network params

func (*FreeNetworkParams) SetTimeout

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

SetTimeout adds the timeout to the free network params

func (*FreeNetworkParams) WithContext

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

WithContext adds the context to the free network params

func (*FreeNetworkParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the free network params

func (*FreeNetworkParams) WithID

WithID adds the id to the free network params

func (*FreeNetworkParams) WithTimeout

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

WithTimeout adds the timeout to the free network params

func (*FreeNetworkParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type FreeNetworkReader

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

FreeNetworkReader is a Reader for the FreeNetwork structure.

func (*FreeNetworkReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListNetworksDefault

type ListNetworksDefault struct {
	Payload *models.HttperrorsHTTPErrorResponse
	// contains filtered or unexported fields
}

ListNetworksDefault handles this case with default header values.

Error

func NewListNetworksDefault

func NewListNetworksDefault(code int) *ListNetworksDefault

NewListNetworksDefault creates a ListNetworksDefault with default headers values

func (*ListNetworksDefault) Code

func (o *ListNetworksDefault) Code() int

Code gets the status code for the list networks default response

func (*ListNetworksDefault) Error

func (o *ListNetworksDefault) Error() string

type ListNetworksOK

type ListNetworksOK struct {
	Payload []*models.V1NetworkResponse
}

ListNetworksOK handles this case with default header values.

OK

func NewListNetworksOK

func NewListNetworksOK() *ListNetworksOK

NewListNetworksOK creates a ListNetworksOK with default headers values

func (*ListNetworksOK) Error

func (o *ListNetworksOK) Error() string

type ListNetworksParams

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

ListNetworksParams contains all the parameters to send to the API endpoint for the list networks operation typically these are written to a http.Request

func NewListNetworksParams

func NewListNetworksParams() *ListNetworksParams

NewListNetworksParams creates a new ListNetworksParams object with the default values initialized.

func NewListNetworksParamsWithContext

func NewListNetworksParamsWithContext(ctx context.Context) *ListNetworksParams

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

func NewListNetworksParamsWithHTTPClient

func NewListNetworksParamsWithHTTPClient(client *http.Client) *ListNetworksParams

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

func NewListNetworksParamsWithTimeout

func NewListNetworksParamsWithTimeout(timeout time.Duration) *ListNetworksParams

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

func (*ListNetworksParams) SetContext

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

SetContext adds the context to the list networks params

func (*ListNetworksParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list networks params

func (*ListNetworksParams) SetTimeout

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

SetTimeout adds the timeout to the list networks params

func (*ListNetworksParams) WithContext

WithContext adds the context to the list networks params

func (*ListNetworksParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list networks params

func (*ListNetworksParams) WithTimeout

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

WithTimeout adds the timeout to the list networks params

func (*ListNetworksParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ListNetworksReader

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

ListNetworksReader is a Reader for the ListNetworks structure.

func (*ListNetworksReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateNetworkConflict

type UpdateNetworkConflict struct {
	Payload *models.HttperrorsHTTPErrorResponse
}

UpdateNetworkConflict handles this case with default header values.

Conflict

func NewUpdateNetworkConflict

func NewUpdateNetworkConflict() *UpdateNetworkConflict

NewUpdateNetworkConflict creates a UpdateNetworkConflict with default headers values

func (*UpdateNetworkConflict) Error

func (o *UpdateNetworkConflict) Error() string

type UpdateNetworkDefault

type UpdateNetworkDefault struct {
	Payload *models.HttperrorsHTTPErrorResponse
	// contains filtered or unexported fields
}

UpdateNetworkDefault handles this case with default header values.

Error

func NewUpdateNetworkDefault

func NewUpdateNetworkDefault(code int) *UpdateNetworkDefault

NewUpdateNetworkDefault creates a UpdateNetworkDefault with default headers values

func (*UpdateNetworkDefault) Code

func (o *UpdateNetworkDefault) Code() int

Code gets the status code for the update network default response

func (*UpdateNetworkDefault) Error

func (o *UpdateNetworkDefault) Error() string

type UpdateNetworkOK

type UpdateNetworkOK struct {
	Payload *models.V1NetworkResponse
}

UpdateNetworkOK handles this case with default header values.

OK

func NewUpdateNetworkOK

func NewUpdateNetworkOK() *UpdateNetworkOK

NewUpdateNetworkOK creates a UpdateNetworkOK with default headers values

func (*UpdateNetworkOK) Error

func (o *UpdateNetworkOK) Error() string

type UpdateNetworkParams

type UpdateNetworkParams struct {

	/*Body*/
	Body *models.V1NetworkUpdateRequest

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

UpdateNetworkParams contains all the parameters to send to the API endpoint for the update network operation typically these are written to a http.Request

func NewUpdateNetworkParams

func NewUpdateNetworkParams() *UpdateNetworkParams

NewUpdateNetworkParams creates a new UpdateNetworkParams object with the default values initialized.

func NewUpdateNetworkParamsWithContext

func NewUpdateNetworkParamsWithContext(ctx context.Context) *UpdateNetworkParams

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

func NewUpdateNetworkParamsWithHTTPClient

func NewUpdateNetworkParamsWithHTTPClient(client *http.Client) *UpdateNetworkParams

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

func NewUpdateNetworkParamsWithTimeout

func NewUpdateNetworkParamsWithTimeout(timeout time.Duration) *UpdateNetworkParams

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

func (*UpdateNetworkParams) SetBody

SetBody adds the body to the update network params

func (*UpdateNetworkParams) SetContext

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

SetContext adds the context to the update network params

func (*UpdateNetworkParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update network params

func (*UpdateNetworkParams) SetTimeout

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

SetTimeout adds the timeout to the update network params

func (*UpdateNetworkParams) WithBody

WithBody adds the body to the update network params

func (*UpdateNetworkParams) WithContext

WithContext adds the context to the update network params

func (*UpdateNetworkParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update network params

func (*UpdateNetworkParams) WithTimeout

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

WithTimeout adds the timeout to the update network params

func (*UpdateNetworkParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type UpdateNetworkReader

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

UpdateNetworkReader is a Reader for the UpdateNetwork structure.

func (*UpdateNetworkReader) ReadResponse

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