networks

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2016 License: Apache-2.0 Imports: 8 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 networks API

func New

func New(transport client.Transport, formats strfmt.Registry) *Client

New creates a new networks API client.

func (*Client) DeleteNetworksAccountName

func (a *Client) DeleteNetworksAccountName(params *DeleteNetworksAccountNameParams) error

DeleteNetworksAccountName deletes public owned or private network by name

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

func (*Client) DeleteNetworksID

func (a *Client) DeleteNetworksID(params *DeleteNetworksIDParams) error

DeleteNetworksID deletes network by id

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

func (*Client) DeleteNetworksUserName

func (a *Client) DeleteNetworksUserName(params *DeleteNetworksUserNameParams) error

DeleteNetworksUserName deletes private network by name

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

func (*Client) GetNetworksAccount

func (a *Client) GetNetworksAccount(params *GetNetworksAccountParams) (*GetNetworksAccountOK, error)

GetNetworksAccount retrieves public and private owned networks

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

func (*Client) GetNetworksAccountName

func (a *Client) GetNetworksAccountName(params *GetNetworksAccountNameParams) (*GetNetworksAccountNameOK, error)

GetNetworksAccountName retrieves a public or private owned network by name

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

func (*Client) GetNetworksID

func (a *Client) GetNetworksID(params *GetNetworksIDParams) (*GetNetworksIDOK, error)

GetNetworksID retrieves network by id

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

func (*Client) GetNetworksUser

func (a *Client) GetNetworksUser(params *GetNetworksUserParams) (*GetNetworksUserOK, error)

GetNetworksUser retrieves private networks

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

func (*Client) GetNetworksUserName

func (a *Client) GetNetworksUserName(params *GetNetworksUserNameParams) (*GetNetworksUserNameOK, error)

GetNetworksUserName retrieves a private network by name

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

func (*Client) PostNetworksAccount

func (a *Client) PostNetworksAccount(params *PostNetworksAccountParams) (*PostNetworksAccountOK, error)

PostNetworksAccount creates network as public resource

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

func (*Client) PostNetworksUser

func (a *Client) PostNetworksUser(params *PostNetworksUserParams) (*PostNetworksUserOK, error)

PostNetworksUser creates network as private resource

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

func (*Client) SetTransport

func (a *Client) SetTransport(transport client.Transport)

SetTransport changes the transport on the client

type DeleteNetworksAccountNameDefault

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

DeleteNetworksAccountNameDefault handles this case with default header values.

successful operation

func NewDeleteNetworksAccountNameDefault

func NewDeleteNetworksAccountNameDefault(code int) *DeleteNetworksAccountNameDefault

NewDeleteNetworksAccountNameDefault creates a DeleteNetworksAccountNameDefault with default headers values

func (*DeleteNetworksAccountNameDefault) Code

Code gets the status code for the delete networks account name default response

func (*DeleteNetworksAccountNameDefault) Error

type DeleteNetworksAccountNameParams

type DeleteNetworksAccountNameParams struct {

	/*Name*/
	Name string
}

DeleteNetworksAccountNameParams contains all the parameters to send to the API endpoint for the delete networks account name operation typically these are written to a http.Request

func NewDeleteNetworksAccountNameParams

func NewDeleteNetworksAccountNameParams() *DeleteNetworksAccountNameParams

NewDeleteNetworksAccountNameParams creates a new DeleteNetworksAccountNameParams object with the default values initialized.

func (*DeleteNetworksAccountNameParams) WithName

WithName adds the name to the delete networks account name params

func (*DeleteNetworksAccountNameParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteNetworksAccountNameReader

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

DeleteNetworksAccountNameReader is a Reader for the DeleteNetworksAccountName structure.

func (*DeleteNetworksAccountNameReader) ReadResponse

func (o *DeleteNetworksAccountNameReader) ReadResponse(response client.Response, consumer httpkit.Consumer) (interface{}, error)

ReadResponse reads a server response into the recieved o.

type DeleteNetworksIDDefault

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

DeleteNetworksIDDefault handles this case with default header values.

successful operation

func NewDeleteNetworksIDDefault

func NewDeleteNetworksIDDefault(code int) *DeleteNetworksIDDefault

NewDeleteNetworksIDDefault creates a DeleteNetworksIDDefault with default headers values

func (*DeleteNetworksIDDefault) Code

func (o *DeleteNetworksIDDefault) Code() int

Code gets the status code for the delete networks ID default response

func (*DeleteNetworksIDDefault) Error

func (o *DeleteNetworksIDDefault) Error() string

type DeleteNetworksIDParams

type DeleteNetworksIDParams struct {

	/*ID*/
	ID int64
}

DeleteNetworksIDParams contains all the parameters to send to the API endpoint for the delete networks ID operation typically these are written to a http.Request

func NewDeleteNetworksIDParams

func NewDeleteNetworksIDParams() *DeleteNetworksIDParams

NewDeleteNetworksIDParams creates a new DeleteNetworksIDParams object with the default values initialized.

func (*DeleteNetworksIDParams) WithID

WithID adds the id to the delete networks ID params

func (*DeleteNetworksIDParams) WriteToRequest

func (o *DeleteNetworksIDParams) WriteToRequest(r client.Request, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type DeleteNetworksIDReader

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

DeleteNetworksIDReader is a Reader for the DeleteNetworksID structure.

func (*DeleteNetworksIDReader) ReadResponse

func (o *DeleteNetworksIDReader) ReadResponse(response client.Response, consumer httpkit.Consumer) (interface{}, error)

ReadResponse reads a server response into the recieved o.

type DeleteNetworksUserNameDefault

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

DeleteNetworksUserNameDefault handles this case with default header values.

successful operation

func NewDeleteNetworksUserNameDefault

func NewDeleteNetworksUserNameDefault(code int) *DeleteNetworksUserNameDefault

NewDeleteNetworksUserNameDefault creates a DeleteNetworksUserNameDefault with default headers values

func (*DeleteNetworksUserNameDefault) Code

Code gets the status code for the delete networks user name default response

func (*DeleteNetworksUserNameDefault) Error

type DeleteNetworksUserNameParams

type DeleteNetworksUserNameParams struct {

	/*Name*/
	Name string
}

DeleteNetworksUserNameParams contains all the parameters to send to the API endpoint for the delete networks user name operation typically these are written to a http.Request

func NewDeleteNetworksUserNameParams

func NewDeleteNetworksUserNameParams() *DeleteNetworksUserNameParams

NewDeleteNetworksUserNameParams creates a new DeleteNetworksUserNameParams object with the default values initialized.

func (*DeleteNetworksUserNameParams) WithName

WithName adds the name to the delete networks user name params

func (*DeleteNetworksUserNameParams) WriteToRequest

func (o *DeleteNetworksUserNameParams) WriteToRequest(r client.Request, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type DeleteNetworksUserNameReader

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

DeleteNetworksUserNameReader is a Reader for the DeleteNetworksUserName structure.

func (*DeleteNetworksUserNameReader) ReadResponse

func (o *DeleteNetworksUserNameReader) ReadResponse(response client.Response, consumer httpkit.Consumer) (interface{}, error)

ReadResponse reads a server response into the recieved o.

type GetNetworksAccountNameOK

type GetNetworksAccountNameOK struct {
	Payload *models.NetworkJSON
}

GetNetworksAccountNameOK handles this case with default header values.

successful operation

func NewGetNetworksAccountNameOK

func NewGetNetworksAccountNameOK() *GetNetworksAccountNameOK

NewGetNetworksAccountNameOK creates a GetNetworksAccountNameOK with default headers values

func (*GetNetworksAccountNameOK) Error

func (o *GetNetworksAccountNameOK) Error() string

type GetNetworksAccountNameParams

type GetNetworksAccountNameParams struct {

	/*Name*/
	Name string
}

GetNetworksAccountNameParams contains all the parameters to send to the API endpoint for the get networks account name operation typically these are written to a http.Request

func NewGetNetworksAccountNameParams

func NewGetNetworksAccountNameParams() *GetNetworksAccountNameParams

NewGetNetworksAccountNameParams creates a new GetNetworksAccountNameParams object with the default values initialized.

func (*GetNetworksAccountNameParams) WithName

WithName adds the name to the get networks account name params

func (*GetNetworksAccountNameParams) WriteToRequest

func (o *GetNetworksAccountNameParams) WriteToRequest(r client.Request, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetNetworksAccountNameReader

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

GetNetworksAccountNameReader is a Reader for the GetNetworksAccountName structure.

func (*GetNetworksAccountNameReader) ReadResponse

func (o *GetNetworksAccountNameReader) ReadResponse(response client.Response, consumer httpkit.Consumer) (interface{}, error)

ReadResponse reads a server response into the recieved o.

type GetNetworksAccountOK

type GetNetworksAccountOK struct {
	Payload []*models.NetworkJSON
}

GetNetworksAccountOK handles this case with default header values.

successful operation

func NewGetNetworksAccountOK

func NewGetNetworksAccountOK() *GetNetworksAccountOK

NewGetNetworksAccountOK creates a GetNetworksAccountOK with default headers values

func (*GetNetworksAccountOK) Error

func (o *GetNetworksAccountOK) Error() string

type GetNetworksAccountParams

type GetNetworksAccountParams struct {
}

GetNetworksAccountParams contains all the parameters to send to the API endpoint for the get networks account operation typically these are written to a http.Request

func NewGetNetworksAccountParams

func NewGetNetworksAccountParams() *GetNetworksAccountParams

NewGetNetworksAccountParams creates a new GetNetworksAccountParams object with the default values initialized.

func (*GetNetworksAccountParams) WriteToRequest

func (o *GetNetworksAccountParams) WriteToRequest(r client.Request, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetNetworksAccountReader

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

GetNetworksAccountReader is a Reader for the GetNetworksAccount structure.

func (*GetNetworksAccountReader) ReadResponse

func (o *GetNetworksAccountReader) ReadResponse(response client.Response, consumer httpkit.Consumer) (interface{}, error)

ReadResponse reads a server response into the recieved o.

type GetNetworksIDOK

type GetNetworksIDOK struct {
	Payload *models.NetworkJSON
}

GetNetworksIDOK handles this case with default header values.

successful operation

func NewGetNetworksIDOK

func NewGetNetworksIDOK() *GetNetworksIDOK

NewGetNetworksIDOK creates a GetNetworksIDOK with default headers values

func (*GetNetworksIDOK) Error

func (o *GetNetworksIDOK) Error() string

type GetNetworksIDParams

type GetNetworksIDParams struct {

	/*ID*/
	ID int64
}

GetNetworksIDParams contains all the parameters to send to the API endpoint for the get networks ID operation typically these are written to a http.Request

func NewGetNetworksIDParams

func NewGetNetworksIDParams() *GetNetworksIDParams

NewGetNetworksIDParams creates a new GetNetworksIDParams object with the default values initialized.

func (*GetNetworksIDParams) WithID

WithID adds the id to the get networks ID params

func (*GetNetworksIDParams) WriteToRequest

func (o *GetNetworksIDParams) WriteToRequest(r client.Request, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetNetworksIDReader

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

GetNetworksIDReader is a Reader for the GetNetworksID structure.

func (*GetNetworksIDReader) ReadResponse

func (o *GetNetworksIDReader) ReadResponse(response client.Response, consumer httpkit.Consumer) (interface{}, error)

ReadResponse reads a server response into the recieved o.

type GetNetworksUserNameOK

type GetNetworksUserNameOK struct {
	Payload *models.NetworkJSON
}

GetNetworksUserNameOK handles this case with default header values.

successful operation

func NewGetNetworksUserNameOK

func NewGetNetworksUserNameOK() *GetNetworksUserNameOK

NewGetNetworksUserNameOK creates a GetNetworksUserNameOK with default headers values

func (*GetNetworksUserNameOK) Error

func (o *GetNetworksUserNameOK) Error() string

type GetNetworksUserNameParams

type GetNetworksUserNameParams struct {

	/*Name*/
	Name string
}

GetNetworksUserNameParams contains all the parameters to send to the API endpoint for the get networks user name operation typically these are written to a http.Request

func NewGetNetworksUserNameParams

func NewGetNetworksUserNameParams() *GetNetworksUserNameParams

NewGetNetworksUserNameParams creates a new GetNetworksUserNameParams object with the default values initialized.

func (*GetNetworksUserNameParams) WithName

WithName adds the name to the get networks user name params

func (*GetNetworksUserNameParams) WriteToRequest

func (o *GetNetworksUserNameParams) WriteToRequest(r client.Request, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetNetworksUserNameReader

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

GetNetworksUserNameReader is a Reader for the GetNetworksUserName structure.

func (*GetNetworksUserNameReader) ReadResponse

func (o *GetNetworksUserNameReader) ReadResponse(response client.Response, consumer httpkit.Consumer) (interface{}, error)

ReadResponse reads a server response into the recieved o.

type GetNetworksUserOK

type GetNetworksUserOK struct {
	Payload []*models.NetworkJSON
}

GetNetworksUserOK handles this case with default header values.

successful operation

func NewGetNetworksUserOK

func NewGetNetworksUserOK() *GetNetworksUserOK

NewGetNetworksUserOK creates a GetNetworksUserOK with default headers values

func (*GetNetworksUserOK) Error

func (o *GetNetworksUserOK) Error() string

type GetNetworksUserParams

type GetNetworksUserParams struct {
}

GetNetworksUserParams contains all the parameters to send to the API endpoint for the get networks user operation typically these are written to a http.Request

func NewGetNetworksUserParams

func NewGetNetworksUserParams() *GetNetworksUserParams

NewGetNetworksUserParams creates a new GetNetworksUserParams object with the default values initialized.

func (*GetNetworksUserParams) WriteToRequest

func (o *GetNetworksUserParams) WriteToRequest(r client.Request, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetNetworksUserReader

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

GetNetworksUserReader is a Reader for the GetNetworksUser structure.

func (*GetNetworksUserReader) ReadResponse

func (o *GetNetworksUserReader) ReadResponse(response client.Response, consumer httpkit.Consumer) (interface{}, error)

ReadResponse reads a server response into the recieved o.

type PostNetworksAccountOK

type PostNetworksAccountOK struct {
	Payload *models.ID
}

PostNetworksAccountOK handles this case with default header values.

successful operation

func NewPostNetworksAccountOK

func NewPostNetworksAccountOK() *PostNetworksAccountOK

NewPostNetworksAccountOK creates a PostNetworksAccountOK with default headers values

func (*PostNetworksAccountOK) Error

func (o *PostNetworksAccountOK) Error() string

type PostNetworksAccountParams

type PostNetworksAccountParams struct {

	/*Body*/
	Body *models.NetworkJSON
}

PostNetworksAccountParams contains all the parameters to send to the API endpoint for the post networks account operation typically these are written to a http.Request

func NewPostNetworksAccountParams

func NewPostNetworksAccountParams() *PostNetworksAccountParams

NewPostNetworksAccountParams creates a new PostNetworksAccountParams object with the default values initialized.

func (*PostNetworksAccountParams) WithBody

WithBody adds the body to the post networks account params

func (*PostNetworksAccountParams) WriteToRequest

func (o *PostNetworksAccountParams) WriteToRequest(r client.Request, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type PostNetworksAccountReader

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

PostNetworksAccountReader is a Reader for the PostNetworksAccount structure.

func (*PostNetworksAccountReader) ReadResponse

func (o *PostNetworksAccountReader) ReadResponse(response client.Response, consumer httpkit.Consumer) (interface{}, error)

ReadResponse reads a server response into the recieved o.

type PostNetworksUserOK

type PostNetworksUserOK struct {
	Payload *models.ID
}

PostNetworksUserOK handles this case with default header values.

successful operation

func NewPostNetworksUserOK

func NewPostNetworksUserOK() *PostNetworksUserOK

NewPostNetworksUserOK creates a PostNetworksUserOK with default headers values

func (*PostNetworksUserOK) Error

func (o *PostNetworksUserOK) Error() string

type PostNetworksUserParams

type PostNetworksUserParams struct {

	/*Body*/
	Body *models.NetworkJSON
}

PostNetworksUserParams contains all the parameters to send to the API endpoint for the post networks user operation typically these are written to a http.Request

func NewPostNetworksUserParams

func NewPostNetworksUserParams() *PostNetworksUserParams

NewPostNetworksUserParams creates a new PostNetworksUserParams object with the default values initialized.

func (*PostNetworksUserParams) WithBody

WithBody adds the body to the post networks user params

func (*PostNetworksUserParams) WriteToRequest

func (o *PostNetworksUserParams) WriteToRequest(r client.Request, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type PostNetworksUserReader

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

PostNetworksUserReader is a Reader for the PostNetworksUser structure.

func (*PostNetworksUserReader) ReadResponse

func (o *PostNetworksUserReader) ReadResponse(response client.Response, consumer httpkit.Consumer) (interface{}, error)

ReadResponse reads a server response into the recieved o.

Jump to

Keyboard shortcuts

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