v1networks

package
v2.8.0-dev.215+incompa... Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2018 License: Apache-2.0, BSD-2-Clause Imports: 11 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 v1networks API

func New

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

New creates a new v1networks API client.

func (*Client) DeleteNetwork

func (a *Client) DeleteNetwork(params *DeleteNetworkParams) error

DeleteNetwork deletes network by id

Provider specific network settings could be configured by using Network resources.

func (*Client) DeletePrivateNetwork

func (a *Client) DeletePrivateNetwork(params *DeletePrivateNetworkParams) error

DeletePrivateNetwork deletes private network by name

Provider specific network settings could be configured by using Network resources.

func (*Client) DeletePublicNetwork

func (a *Client) DeletePublicNetwork(params *DeletePublicNetworkParams) error

DeletePublicNetwork deletes public owned or private network by name

Provider specific network settings could be configured by using Network resources.

func (*Client) GetNetwork

func (a *Client) GetNetwork(params *GetNetworkParams) (*GetNetworkOK, error)

GetNetwork retrieves network by id

Provider specific network settings could be configured by using Network resources.

func (*Client) GetPrivateNetwork

func (a *Client) GetPrivateNetwork(params *GetPrivateNetworkParams) (*GetPrivateNetworkOK, error)

GetPrivateNetwork retrieves a private network by name

Provider specific network settings could be configured by using Network resources.

func (*Client) GetPrivatesNetwork

func (a *Client) GetPrivatesNetwork(params *GetPrivatesNetworkParams) (*GetPrivatesNetworkOK, error)

GetPrivatesNetwork retrieves private networks

Provider specific network settings could be configured by using Network resources.

func (*Client) GetPublicNetwork

func (a *Client) GetPublicNetwork(params *GetPublicNetworkParams) (*GetPublicNetworkOK, error)

GetPublicNetwork retrieves a public or private owned network by name

Provider specific network settings could be configured by using Network resources.

func (*Client) GetPublicsNetwork

func (a *Client) GetPublicsNetwork(params *GetPublicsNetworkParams) (*GetPublicsNetworkOK, error)

GetPublicsNetwork retrieves public and private owned networks

Provider specific network settings could be configured by using Network resources.

func (*Client) PostPrivateNetwork

func (a *Client) PostPrivateNetwork(params *PostPrivateNetworkParams) (*PostPrivateNetworkOK, error)

PostPrivateNetwork creates network as private resource

Provider specific network settings could be configured by using Network resources.

func (*Client) PostPublicNetwork

func (a *Client) PostPublicNetwork(params *PostPublicNetworkParams) (*PostPublicNetworkOK, error)

PostPublicNetwork creates network as public resource

Provider specific network settings could be configured by using Network resources.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type DeleteNetworkDefault

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

DeleteNetworkDefault handles this case with default header values.

successful operation

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 DeleteNetworkParams

type DeleteNetworkParams struct {

	/*ID*/
	ID int64

	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 int64)

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 DeletePrivateNetworkDefault

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

DeletePrivateNetworkDefault handles this case with default header values.

successful operation

func NewDeletePrivateNetworkDefault

func NewDeletePrivateNetworkDefault(code int) *DeletePrivateNetworkDefault

NewDeletePrivateNetworkDefault creates a DeletePrivateNetworkDefault with default headers values

func (*DeletePrivateNetworkDefault) Code

func (o *DeletePrivateNetworkDefault) Code() int

Code gets the status code for the delete private network default response

func (*DeletePrivateNetworkDefault) Error

type DeletePrivateNetworkParams

type DeletePrivateNetworkParams struct {

	/*Name*/
	Name string

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

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

func NewDeletePrivateNetworkParams

func NewDeletePrivateNetworkParams() *DeletePrivateNetworkParams

NewDeletePrivateNetworkParams creates a new DeletePrivateNetworkParams object with the default values initialized.

func NewDeletePrivateNetworkParamsWithContext

func NewDeletePrivateNetworkParamsWithContext(ctx context.Context) *DeletePrivateNetworkParams

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

func NewDeletePrivateNetworkParamsWithHTTPClient

func NewDeletePrivateNetworkParamsWithHTTPClient(client *http.Client) *DeletePrivateNetworkParams

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

func NewDeletePrivateNetworkParamsWithTimeout

func NewDeletePrivateNetworkParamsWithTimeout(timeout time.Duration) *DeletePrivateNetworkParams

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

func (*DeletePrivateNetworkParams) SetContext

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

SetContext adds the context to the delete private network params

func (*DeletePrivateNetworkParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete private network params

func (*DeletePrivateNetworkParams) SetName

func (o *DeletePrivateNetworkParams) SetName(name string)

SetName adds the name to the delete private network params

func (*DeletePrivateNetworkParams) SetTimeout

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

SetTimeout adds the timeout to the delete private network params

func (*DeletePrivateNetworkParams) WithContext

WithContext adds the context to the delete private network params

func (*DeletePrivateNetworkParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete private network params

func (*DeletePrivateNetworkParams) WithName

WithName adds the name to the delete private network params

func (*DeletePrivateNetworkParams) WithTimeout

WithTimeout adds the timeout to the delete private network params

func (*DeletePrivateNetworkParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeletePrivateNetworkReader

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

DeletePrivateNetworkReader is a Reader for the DeletePrivateNetwork structure.

func (*DeletePrivateNetworkReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeletePublicNetworkDefault

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

DeletePublicNetworkDefault handles this case with default header values.

successful operation

func NewDeletePublicNetworkDefault

func NewDeletePublicNetworkDefault(code int) *DeletePublicNetworkDefault

NewDeletePublicNetworkDefault creates a DeletePublicNetworkDefault with default headers values

func (*DeletePublicNetworkDefault) Code

func (o *DeletePublicNetworkDefault) Code() int

Code gets the status code for the delete public network default response

func (*DeletePublicNetworkDefault) Error

type DeletePublicNetworkParams

type DeletePublicNetworkParams struct {

	/*Name*/
	Name string

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

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

func NewDeletePublicNetworkParams

func NewDeletePublicNetworkParams() *DeletePublicNetworkParams

NewDeletePublicNetworkParams creates a new DeletePublicNetworkParams object with the default values initialized.

func NewDeletePublicNetworkParamsWithContext

func NewDeletePublicNetworkParamsWithContext(ctx context.Context) *DeletePublicNetworkParams

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

func NewDeletePublicNetworkParamsWithHTTPClient

func NewDeletePublicNetworkParamsWithHTTPClient(client *http.Client) *DeletePublicNetworkParams

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

func NewDeletePublicNetworkParamsWithTimeout

func NewDeletePublicNetworkParamsWithTimeout(timeout time.Duration) *DeletePublicNetworkParams

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

func (*DeletePublicNetworkParams) SetContext

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

SetContext adds the context to the delete public network params

func (*DeletePublicNetworkParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete public network params

func (*DeletePublicNetworkParams) SetName

func (o *DeletePublicNetworkParams) SetName(name string)

SetName adds the name to the delete public network params

func (*DeletePublicNetworkParams) SetTimeout

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

SetTimeout adds the timeout to the delete public network params

func (*DeletePublicNetworkParams) WithContext

WithContext adds the context to the delete public network params

func (*DeletePublicNetworkParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete public network params

func (*DeletePublicNetworkParams) WithName

WithName adds the name to the delete public network params

func (*DeletePublicNetworkParams) WithTimeout

WithTimeout adds the timeout to the delete public network params

func (*DeletePublicNetworkParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeletePublicNetworkReader

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

DeletePublicNetworkReader is a Reader for the DeletePublicNetwork structure.

func (*DeletePublicNetworkReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetNetworkOK

type GetNetworkOK struct {
	Payload *models_cloudbreak.NetworkResponse
}

GetNetworkOK handles this case with default header values.

successful operation

func NewGetNetworkOK

func NewGetNetworkOK() *GetNetworkOK

NewGetNetworkOK creates a GetNetworkOK with default headers values

func (*GetNetworkOK) Error

func (o *GetNetworkOK) Error() string

type GetNetworkParams

type GetNetworkParams struct {

	/*ID*/
	ID int64

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

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

func NewGetNetworkParams

func NewGetNetworkParams() *GetNetworkParams

NewGetNetworkParams creates a new GetNetworkParams object with the default values initialized.

func NewGetNetworkParamsWithContext

func NewGetNetworkParamsWithContext(ctx context.Context) *GetNetworkParams

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

func NewGetNetworkParamsWithHTTPClient

func NewGetNetworkParamsWithHTTPClient(client *http.Client) *GetNetworkParams

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

func NewGetNetworkParamsWithTimeout

func NewGetNetworkParamsWithTimeout(timeout time.Duration) *GetNetworkParams

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

func (*GetNetworkParams) SetContext

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

SetContext adds the context to the get network params

func (*GetNetworkParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get network params

func (*GetNetworkParams) SetID

func (o *GetNetworkParams) SetID(id int64)

SetID adds the id to the get network params

func (*GetNetworkParams) SetTimeout

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

SetTimeout adds the timeout to the get network params

func (*GetNetworkParams) WithContext

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

WithContext adds the context to the get network params

func (*GetNetworkParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get network params

func (*GetNetworkParams) WithID

func (o *GetNetworkParams) WithID(id int64) *GetNetworkParams

WithID adds the id to the get network params

func (*GetNetworkParams) WithTimeout

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

WithTimeout adds the timeout to the get network params

func (*GetNetworkParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetNetworkReader

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

GetNetworkReader is a Reader for the GetNetwork structure.

func (*GetNetworkReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetPrivateNetworkOK

type GetPrivateNetworkOK struct {
	Payload *models_cloudbreak.NetworkResponse
}

GetPrivateNetworkOK handles this case with default header values.

successful operation

func NewGetPrivateNetworkOK

func NewGetPrivateNetworkOK() *GetPrivateNetworkOK

NewGetPrivateNetworkOK creates a GetPrivateNetworkOK with default headers values

func (*GetPrivateNetworkOK) Error

func (o *GetPrivateNetworkOK) Error() string

type GetPrivateNetworkParams

type GetPrivateNetworkParams struct {

	/*Name*/
	Name string

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

GetPrivateNetworkParams contains all the parameters to send to the API endpoint for the get private network operation typically these are written to a http.Request

func NewGetPrivateNetworkParams

func NewGetPrivateNetworkParams() *GetPrivateNetworkParams

NewGetPrivateNetworkParams creates a new GetPrivateNetworkParams object with the default values initialized.

func NewGetPrivateNetworkParamsWithContext

func NewGetPrivateNetworkParamsWithContext(ctx context.Context) *GetPrivateNetworkParams

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

func NewGetPrivateNetworkParamsWithHTTPClient

func NewGetPrivateNetworkParamsWithHTTPClient(client *http.Client) *GetPrivateNetworkParams

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

func NewGetPrivateNetworkParamsWithTimeout

func NewGetPrivateNetworkParamsWithTimeout(timeout time.Duration) *GetPrivateNetworkParams

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

func (*GetPrivateNetworkParams) SetContext

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

SetContext adds the context to the get private network params

func (*GetPrivateNetworkParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get private network params

func (*GetPrivateNetworkParams) SetName

func (o *GetPrivateNetworkParams) SetName(name string)

SetName adds the name to the get private network params

func (*GetPrivateNetworkParams) SetTimeout

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

SetTimeout adds the timeout to the get private network params

func (*GetPrivateNetworkParams) WithContext

WithContext adds the context to the get private network params

func (*GetPrivateNetworkParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get private network params

func (*GetPrivateNetworkParams) WithName

WithName adds the name to the get private network params

func (*GetPrivateNetworkParams) WithTimeout

WithTimeout adds the timeout to the get private network params

func (*GetPrivateNetworkParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPrivateNetworkReader

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

GetPrivateNetworkReader is a Reader for the GetPrivateNetwork structure.

func (*GetPrivateNetworkReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetPrivatesNetworkOK

type GetPrivatesNetworkOK struct {
	Payload []*models_cloudbreak.NetworkResponse
}

GetPrivatesNetworkOK handles this case with default header values.

successful operation

func NewGetPrivatesNetworkOK

func NewGetPrivatesNetworkOK() *GetPrivatesNetworkOK

NewGetPrivatesNetworkOK creates a GetPrivatesNetworkOK with default headers values

func (*GetPrivatesNetworkOK) Error

func (o *GetPrivatesNetworkOK) Error() string

type GetPrivatesNetworkParams

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

GetPrivatesNetworkParams contains all the parameters to send to the API endpoint for the get privates network operation typically these are written to a http.Request

func NewGetPrivatesNetworkParams

func NewGetPrivatesNetworkParams() *GetPrivatesNetworkParams

NewGetPrivatesNetworkParams creates a new GetPrivatesNetworkParams object with the default values initialized.

func NewGetPrivatesNetworkParamsWithContext

func NewGetPrivatesNetworkParamsWithContext(ctx context.Context) *GetPrivatesNetworkParams

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

func NewGetPrivatesNetworkParamsWithHTTPClient

func NewGetPrivatesNetworkParamsWithHTTPClient(client *http.Client) *GetPrivatesNetworkParams

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

func NewGetPrivatesNetworkParamsWithTimeout

func NewGetPrivatesNetworkParamsWithTimeout(timeout time.Duration) *GetPrivatesNetworkParams

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

func (*GetPrivatesNetworkParams) SetContext

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

SetContext adds the context to the get privates network params

func (*GetPrivatesNetworkParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get privates network params

func (*GetPrivatesNetworkParams) SetTimeout

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

SetTimeout adds the timeout to the get privates network params

func (*GetPrivatesNetworkParams) WithContext

WithContext adds the context to the get privates network params

func (*GetPrivatesNetworkParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get privates network params

func (*GetPrivatesNetworkParams) WithTimeout

WithTimeout adds the timeout to the get privates network params

func (*GetPrivatesNetworkParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPrivatesNetworkReader

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

GetPrivatesNetworkReader is a Reader for the GetPrivatesNetwork structure.

func (*GetPrivatesNetworkReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetPublicNetworkOK

type GetPublicNetworkOK struct {
	Payload *models_cloudbreak.NetworkResponse
}

GetPublicNetworkOK handles this case with default header values.

successful operation

func NewGetPublicNetworkOK

func NewGetPublicNetworkOK() *GetPublicNetworkOK

NewGetPublicNetworkOK creates a GetPublicNetworkOK with default headers values

func (*GetPublicNetworkOK) Error

func (o *GetPublicNetworkOK) Error() string

type GetPublicNetworkParams

type GetPublicNetworkParams struct {

	/*Name*/
	Name string

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

GetPublicNetworkParams contains all the parameters to send to the API endpoint for the get public network operation typically these are written to a http.Request

func NewGetPublicNetworkParams

func NewGetPublicNetworkParams() *GetPublicNetworkParams

NewGetPublicNetworkParams creates a new GetPublicNetworkParams object with the default values initialized.

func NewGetPublicNetworkParamsWithContext

func NewGetPublicNetworkParamsWithContext(ctx context.Context) *GetPublicNetworkParams

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

func NewGetPublicNetworkParamsWithHTTPClient

func NewGetPublicNetworkParamsWithHTTPClient(client *http.Client) *GetPublicNetworkParams

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

func NewGetPublicNetworkParamsWithTimeout

func NewGetPublicNetworkParamsWithTimeout(timeout time.Duration) *GetPublicNetworkParams

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

func (*GetPublicNetworkParams) SetContext

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

SetContext adds the context to the get public network params

func (*GetPublicNetworkParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get public network params

func (*GetPublicNetworkParams) SetName

func (o *GetPublicNetworkParams) SetName(name string)

SetName adds the name to the get public network params

func (*GetPublicNetworkParams) SetTimeout

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

SetTimeout adds the timeout to the get public network params

func (*GetPublicNetworkParams) WithContext

WithContext adds the context to the get public network params

func (*GetPublicNetworkParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get public network params

func (*GetPublicNetworkParams) WithName

WithName adds the name to the get public network params

func (*GetPublicNetworkParams) WithTimeout

WithTimeout adds the timeout to the get public network params

func (*GetPublicNetworkParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPublicNetworkReader

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

GetPublicNetworkReader is a Reader for the GetPublicNetwork structure.

func (*GetPublicNetworkReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetPublicsNetworkOK

type GetPublicsNetworkOK struct {
	Payload []*models_cloudbreak.NetworkResponse
}

GetPublicsNetworkOK handles this case with default header values.

successful operation

func NewGetPublicsNetworkOK

func NewGetPublicsNetworkOK() *GetPublicsNetworkOK

NewGetPublicsNetworkOK creates a GetPublicsNetworkOK with default headers values

func (*GetPublicsNetworkOK) Error

func (o *GetPublicsNetworkOK) Error() string

type GetPublicsNetworkParams

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

GetPublicsNetworkParams contains all the parameters to send to the API endpoint for the get publics network operation typically these are written to a http.Request

func NewGetPublicsNetworkParams

func NewGetPublicsNetworkParams() *GetPublicsNetworkParams

NewGetPublicsNetworkParams creates a new GetPublicsNetworkParams object with the default values initialized.

func NewGetPublicsNetworkParamsWithContext

func NewGetPublicsNetworkParamsWithContext(ctx context.Context) *GetPublicsNetworkParams

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

func NewGetPublicsNetworkParamsWithHTTPClient

func NewGetPublicsNetworkParamsWithHTTPClient(client *http.Client) *GetPublicsNetworkParams

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

func NewGetPublicsNetworkParamsWithTimeout

func NewGetPublicsNetworkParamsWithTimeout(timeout time.Duration) *GetPublicsNetworkParams

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

func (*GetPublicsNetworkParams) SetContext

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

SetContext adds the context to the get publics network params

func (*GetPublicsNetworkParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get publics network params

func (*GetPublicsNetworkParams) SetTimeout

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

SetTimeout adds the timeout to the get publics network params

func (*GetPublicsNetworkParams) WithContext

WithContext adds the context to the get publics network params

func (*GetPublicsNetworkParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get publics network params

func (*GetPublicsNetworkParams) WithTimeout

WithTimeout adds the timeout to the get publics network params

func (*GetPublicsNetworkParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPublicsNetworkReader

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

GetPublicsNetworkReader is a Reader for the GetPublicsNetwork structure.

func (*GetPublicsNetworkReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostPrivateNetworkOK

type PostPrivateNetworkOK struct {
	Payload *models_cloudbreak.NetworkResponse
}

PostPrivateNetworkOK handles this case with default header values.

successful operation

func NewPostPrivateNetworkOK

func NewPostPrivateNetworkOK() *PostPrivateNetworkOK

NewPostPrivateNetworkOK creates a PostPrivateNetworkOK with default headers values

func (*PostPrivateNetworkOK) Error

func (o *PostPrivateNetworkOK) Error() string

type PostPrivateNetworkParams

type PostPrivateNetworkParams struct {

	/*Body*/
	Body *models_cloudbreak.NetworkRequest

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

PostPrivateNetworkParams contains all the parameters to send to the API endpoint for the post private network operation typically these are written to a http.Request

func NewPostPrivateNetworkParams

func NewPostPrivateNetworkParams() *PostPrivateNetworkParams

NewPostPrivateNetworkParams creates a new PostPrivateNetworkParams object with the default values initialized.

func NewPostPrivateNetworkParamsWithContext

func NewPostPrivateNetworkParamsWithContext(ctx context.Context) *PostPrivateNetworkParams

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

func NewPostPrivateNetworkParamsWithHTTPClient

func NewPostPrivateNetworkParamsWithHTTPClient(client *http.Client) *PostPrivateNetworkParams

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

func NewPostPrivateNetworkParamsWithTimeout

func NewPostPrivateNetworkParamsWithTimeout(timeout time.Duration) *PostPrivateNetworkParams

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

func (*PostPrivateNetworkParams) SetBody

SetBody adds the body to the post private network params

func (*PostPrivateNetworkParams) SetContext

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

SetContext adds the context to the post private network params

func (*PostPrivateNetworkParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post private network params

func (*PostPrivateNetworkParams) SetTimeout

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

SetTimeout adds the timeout to the post private network params

func (*PostPrivateNetworkParams) WithBody

WithBody adds the body to the post private network params

func (*PostPrivateNetworkParams) WithContext

WithContext adds the context to the post private network params

func (*PostPrivateNetworkParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the post private network params

func (*PostPrivateNetworkParams) WithTimeout

WithTimeout adds the timeout to the post private network params

func (*PostPrivateNetworkParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostPrivateNetworkReader

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

PostPrivateNetworkReader is a Reader for the PostPrivateNetwork structure.

func (*PostPrivateNetworkReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostPublicNetworkOK

type PostPublicNetworkOK struct {
	Payload *models_cloudbreak.NetworkResponse
}

PostPublicNetworkOK handles this case with default header values.

successful operation

func NewPostPublicNetworkOK

func NewPostPublicNetworkOK() *PostPublicNetworkOK

NewPostPublicNetworkOK creates a PostPublicNetworkOK with default headers values

func (*PostPublicNetworkOK) Error

func (o *PostPublicNetworkOK) Error() string

type PostPublicNetworkParams

type PostPublicNetworkParams struct {

	/*Body*/
	Body *models_cloudbreak.NetworkRequest

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

PostPublicNetworkParams contains all the parameters to send to the API endpoint for the post public network operation typically these are written to a http.Request

func NewPostPublicNetworkParams

func NewPostPublicNetworkParams() *PostPublicNetworkParams

NewPostPublicNetworkParams creates a new PostPublicNetworkParams object with the default values initialized.

func NewPostPublicNetworkParamsWithContext

func NewPostPublicNetworkParamsWithContext(ctx context.Context) *PostPublicNetworkParams

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

func NewPostPublicNetworkParamsWithHTTPClient

func NewPostPublicNetworkParamsWithHTTPClient(client *http.Client) *PostPublicNetworkParams

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

func NewPostPublicNetworkParamsWithTimeout

func NewPostPublicNetworkParamsWithTimeout(timeout time.Duration) *PostPublicNetworkParams

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

func (*PostPublicNetworkParams) SetBody

SetBody adds the body to the post public network params

func (*PostPublicNetworkParams) SetContext

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

SetContext adds the context to the post public network params

func (*PostPublicNetworkParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post public network params

func (*PostPublicNetworkParams) SetTimeout

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

SetTimeout adds the timeout to the post public network params

func (*PostPublicNetworkParams) WithBody

WithBody adds the body to the post public network params

func (*PostPublicNetworkParams) WithContext

WithContext adds the context to the post public network params

func (*PostPublicNetworkParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the post public network params

func (*PostPublicNetworkParams) WithTimeout

WithTimeout adds the timeout to the post public network params

func (*PostPublicNetworkParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostPublicNetworkReader

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

PostPublicNetworkReader is a Reader for the PostPublicNetwork structure.

func (*PostPublicNetworkReader) ReadResponse

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