network

package
v0.2.15 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2020 License: Apache-2.0 Imports: 11 Imported by: 1

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

func New

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

New creates a new network API client.

func (*Client) CreateNetwork

func (a *Client) CreateNetwork(params *CreateNetworkParams) (*CreateNetworkAccepted, error)

CreateNetwork creates network

Provision a new network based on the passed in constraints. The network should be destroyed after the machine is destroyed to free up resources.

func (*Client) DeleteNetwork

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

DeleteNetwork deletes a network

Delete a network with a given id

func (*Client) GetMachineNetworkInterface

func (a *Client) GetMachineNetworkInterface(params *GetMachineNetworkInterfaceParams) (*GetMachineNetworkInterfaceOK, error)

GetMachineNetworkInterface gets machine network interface

Get network interface with a given id for specific machine

func (*Client) GetNetwork

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

GetNetwork gets network

Get network with a given id

func (*Client) GetNetworkDomain

func (a *Client) GetNetworkDomain(params *GetNetworkDomainParams) (*GetNetworkDomainOK, error)

GetNetworkDomain gets network domain

Get network domain with a given id

func (*Client) GetNetworkDomains

func (a *Client) GetNetworkDomains(params *GetNetworkDomainsParams) (*GetNetworkDomainsOK, error)

GetNetworkDomains gets network domains

Get all network domains.

func (*Client) GetNetworks

func (a *Client) GetNetworks(params *GetNetworksParams) (*GetNetworksOK, error)

GetNetworks gets networks

Get all networks

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type CreateNetworkAccepted

type CreateNetworkAccepted struct {
	Payload *models.RequestTracker
}

CreateNetworkAccepted handles this case with default header values.

successful operation

func NewCreateNetworkAccepted

func NewCreateNetworkAccepted() *CreateNetworkAccepted

NewCreateNetworkAccepted creates a CreateNetworkAccepted with default headers values

func (*CreateNetworkAccepted) Error

func (o *CreateNetworkAccepted) Error() string

func (*CreateNetworkAccepted) GetPayload

func (o *CreateNetworkAccepted) GetPayload() *models.RequestTracker

type CreateNetworkBadRequest

type CreateNetworkBadRequest struct {
	Payload *models.Error
}

CreateNetworkBadRequest handles this case with default header values.

Invalid Request - bad data

func NewCreateNetworkBadRequest

func NewCreateNetworkBadRequest() *CreateNetworkBadRequest

NewCreateNetworkBadRequest creates a CreateNetworkBadRequest with default headers values

func (*CreateNetworkBadRequest) Error

func (o *CreateNetworkBadRequest) Error() string

func (*CreateNetworkBadRequest) GetPayload added in v0.2.9

func (o *CreateNetworkBadRequest) GetPayload() *models.Error

type CreateNetworkForbidden

type CreateNetworkForbidden struct {
}

CreateNetworkForbidden handles this case with default header values.

Forbidden

func NewCreateNetworkForbidden

func NewCreateNetworkForbidden() *CreateNetworkForbidden

NewCreateNetworkForbidden creates a CreateNetworkForbidden with default headers values

func (*CreateNetworkForbidden) Error

func (o *CreateNetworkForbidden) Error() string

type CreateNetworkParams

type CreateNetworkParams struct {

	/*APIVersion
	  The version of the API in yyyy-MM-dd format (UTC). For versioning information refer to /iaas/api/about

	*/
	APIVersion *string
	/*Body
	  Network Specification instance

	*/
	Body *models.NetworkSpecification

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

func (o *CreateNetworkParams) SetAPIVersion(aPIVersion *string)

SetAPIVersion adds the apiVersion to the create network params

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

func (o *CreateNetworkParams) WithAPIVersion(aPIVersion *string) *CreateNetworkParams

WithAPIVersion adds the aPIVersion 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 DeleteNetworkAccepted

type DeleteNetworkAccepted struct {
	Payload *models.RequestTracker
}

DeleteNetworkAccepted handles this case with default header values.

successful operation

func NewDeleteNetworkAccepted

func NewDeleteNetworkAccepted() *DeleteNetworkAccepted

NewDeleteNetworkAccepted creates a DeleteNetworkAccepted with default headers values

func (*DeleteNetworkAccepted) Error

func (o *DeleteNetworkAccepted) Error() string

func (*DeleteNetworkAccepted) GetPayload

func (o *DeleteNetworkAccepted) GetPayload() *models.RequestTracker

type DeleteNetworkForbidden

type DeleteNetworkForbidden struct {
}

DeleteNetworkForbidden handles this case with default header values.

Forbidden

func NewDeleteNetworkForbidden

func NewDeleteNetworkForbidden() *DeleteNetworkForbidden

NewDeleteNetworkForbidden creates a DeleteNetworkForbidden with default headers values

func (*DeleteNetworkForbidden) Error

func (o *DeleteNetworkForbidden) Error() string

type DeleteNetworkParams

type DeleteNetworkParams struct {

	/*APIVersion
	  The version of the API in yyyy-MM-dd format (UTC). For versioning information refer to /iaas/api/about

	*/
	APIVersion *string
	/*ForceDelete
	  Controls whether this is a force delete operation. If true, best effort is made for deleting this network. Use with caution as force deleting may cause inconsistencies between the cloud provider and vRA.

	*/
	ForceDelete *bool
	/*ID
	  The ID 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) SetAPIVersion

func (o *DeleteNetworkParams) SetAPIVersion(aPIVersion *string)

SetAPIVersion adds the apiVersion to the delete network params

func (*DeleteNetworkParams) SetContext

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

SetContext adds the context to the delete network params

func (*DeleteNetworkParams) SetForceDelete added in v0.2.8

func (o *DeleteNetworkParams) SetForceDelete(forceDelete *bool)

SetForceDelete adds the forceDelete 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) WithAPIVersion

func (o *DeleteNetworkParams) WithAPIVersion(aPIVersion *string) *DeleteNetworkParams

WithAPIVersion adds the aPIVersion to the delete network params

func (*DeleteNetworkParams) WithContext

WithContext adds the context to the delete network params

func (*DeleteNetworkParams) WithForceDelete added in v0.2.8

func (o *DeleteNetworkParams) WithForceDelete(forceDelete *bool) *DeleteNetworkParams

WithForceDelete adds the forceDelete 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 GetMachineNetworkInterfaceForbidden

type GetMachineNetworkInterfaceForbidden struct {
}

GetMachineNetworkInterfaceForbidden handles this case with default header values.

Forbidden

func NewGetMachineNetworkInterfaceForbidden

func NewGetMachineNetworkInterfaceForbidden() *GetMachineNetworkInterfaceForbidden

NewGetMachineNetworkInterfaceForbidden creates a GetMachineNetworkInterfaceForbidden with default headers values

func (*GetMachineNetworkInterfaceForbidden) Error

type GetMachineNetworkInterfaceNotFound

type GetMachineNetworkInterfaceNotFound struct {
	Payload *models.Error
}

GetMachineNetworkInterfaceNotFound handles this case with default header values.

Not Found

func NewGetMachineNetworkInterfaceNotFound

func NewGetMachineNetworkInterfaceNotFound() *GetMachineNetworkInterfaceNotFound

NewGetMachineNetworkInterfaceNotFound creates a GetMachineNetworkInterfaceNotFound with default headers values

func (*GetMachineNetworkInterfaceNotFound) Error

func (*GetMachineNetworkInterfaceNotFound) GetPayload added in v0.2.9

type GetMachineNetworkInterfaceOK

type GetMachineNetworkInterfaceOK struct {
	Payload *models.NetworkInterface
}

GetMachineNetworkInterfaceOK handles this case with default header values.

successful operation

func NewGetMachineNetworkInterfaceOK

func NewGetMachineNetworkInterfaceOK() *GetMachineNetworkInterfaceOK

NewGetMachineNetworkInterfaceOK creates a GetMachineNetworkInterfaceOK with default headers values

func (*GetMachineNetworkInterfaceOK) Error

func (*GetMachineNetworkInterfaceOK) GetPayload

type GetMachineNetworkInterfaceParams

type GetMachineNetworkInterfaceParams struct {

	/*APIVersion
	  The version of the API in yyyy-MM-dd format (UTC). For versioning information refer to /iaas/api/about

	*/
	APIVersion *string
	/*ID
	  The ID of the machine.

	*/
	ID string
	/*Id1
	  The ID of the network interface.

	*/
	Id1 string

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

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

func NewGetMachineNetworkInterfaceParams

func NewGetMachineNetworkInterfaceParams() *GetMachineNetworkInterfaceParams

NewGetMachineNetworkInterfaceParams creates a new GetMachineNetworkInterfaceParams object with the default values initialized.

func NewGetMachineNetworkInterfaceParamsWithContext

func NewGetMachineNetworkInterfaceParamsWithContext(ctx context.Context) *GetMachineNetworkInterfaceParams

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

func NewGetMachineNetworkInterfaceParamsWithHTTPClient

func NewGetMachineNetworkInterfaceParamsWithHTTPClient(client *http.Client) *GetMachineNetworkInterfaceParams

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

func NewGetMachineNetworkInterfaceParamsWithTimeout

func NewGetMachineNetworkInterfaceParamsWithTimeout(timeout time.Duration) *GetMachineNetworkInterfaceParams

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

func (*GetMachineNetworkInterfaceParams) SetAPIVersion

func (o *GetMachineNetworkInterfaceParams) SetAPIVersion(aPIVersion *string)

SetAPIVersion adds the apiVersion to the get machine network interface params

func (*GetMachineNetworkInterfaceParams) SetContext

SetContext adds the context to the get machine network interface params

func (*GetMachineNetworkInterfaceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get machine network interface params

func (*GetMachineNetworkInterfaceParams) SetID

SetID adds the id to the get machine network interface params

func (*GetMachineNetworkInterfaceParams) SetId1

SetId1 adds the id1 to the get machine network interface params

func (*GetMachineNetworkInterfaceParams) SetTimeout

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

SetTimeout adds the timeout to the get machine network interface params

func (*GetMachineNetworkInterfaceParams) WithAPIVersion

WithAPIVersion adds the aPIVersion to the get machine network interface params

func (*GetMachineNetworkInterfaceParams) WithContext

WithContext adds the context to the get machine network interface params

func (*GetMachineNetworkInterfaceParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get machine network interface params

func (*GetMachineNetworkInterfaceParams) WithID

WithID adds the id to the get machine network interface params

func (*GetMachineNetworkInterfaceParams) WithId1

WithId1 adds the id1 to the get machine network interface params

func (*GetMachineNetworkInterfaceParams) WithTimeout

WithTimeout adds the timeout to the get machine network interface params

func (*GetMachineNetworkInterfaceParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetMachineNetworkInterfaceReader

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

GetMachineNetworkInterfaceReader is a Reader for the GetMachineNetworkInterface structure.

func (*GetMachineNetworkInterfaceReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetNetworkDomainForbidden

type GetNetworkDomainForbidden struct {
}

GetNetworkDomainForbidden handles this case with default header values.

Forbidden

func NewGetNetworkDomainForbidden

func NewGetNetworkDomainForbidden() *GetNetworkDomainForbidden

NewGetNetworkDomainForbidden creates a GetNetworkDomainForbidden with default headers values

func (*GetNetworkDomainForbidden) Error

func (o *GetNetworkDomainForbidden) Error() string

type GetNetworkDomainNotFound

type GetNetworkDomainNotFound struct {
	Payload *models.Error
}

GetNetworkDomainNotFound handles this case with default header values.

Not Found

func NewGetNetworkDomainNotFound

func NewGetNetworkDomainNotFound() *GetNetworkDomainNotFound

NewGetNetworkDomainNotFound creates a GetNetworkDomainNotFound with default headers values

func (*GetNetworkDomainNotFound) Error

func (o *GetNetworkDomainNotFound) Error() string

func (*GetNetworkDomainNotFound) GetPayload added in v0.2.9

func (o *GetNetworkDomainNotFound) GetPayload() *models.Error

type GetNetworkDomainOK

type GetNetworkDomainOK struct {
	Payload *models.NetworkDomain
}

GetNetworkDomainOK handles this case with default header values.

successful operation

func NewGetNetworkDomainOK

func NewGetNetworkDomainOK() *GetNetworkDomainOK

NewGetNetworkDomainOK creates a GetNetworkDomainOK with default headers values

func (*GetNetworkDomainOK) Error

func (o *GetNetworkDomainOK) Error() string

func (*GetNetworkDomainOK) GetPayload

func (o *GetNetworkDomainOK) GetPayload() *models.NetworkDomain

type GetNetworkDomainParams

type GetNetworkDomainParams struct {

	/*APIVersion
	  The version of the API in yyyy-MM-dd format (UTC). For versioning information refer to /iaas/api/about

	*/
	APIVersion *string
	/*ID
	  The ID of the network domain.

	*/
	ID string

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

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

func NewGetNetworkDomainParams

func NewGetNetworkDomainParams() *GetNetworkDomainParams

NewGetNetworkDomainParams creates a new GetNetworkDomainParams object with the default values initialized.

func NewGetNetworkDomainParamsWithContext

func NewGetNetworkDomainParamsWithContext(ctx context.Context) *GetNetworkDomainParams

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

func NewGetNetworkDomainParamsWithHTTPClient

func NewGetNetworkDomainParamsWithHTTPClient(client *http.Client) *GetNetworkDomainParams

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

func NewGetNetworkDomainParamsWithTimeout

func NewGetNetworkDomainParamsWithTimeout(timeout time.Duration) *GetNetworkDomainParams

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

func (*GetNetworkDomainParams) SetAPIVersion

func (o *GetNetworkDomainParams) SetAPIVersion(aPIVersion *string)

SetAPIVersion adds the apiVersion to the get network domain params

func (*GetNetworkDomainParams) SetContext

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

SetContext adds the context to the get network domain params

func (*GetNetworkDomainParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get network domain params

func (*GetNetworkDomainParams) SetID

func (o *GetNetworkDomainParams) SetID(id string)

SetID adds the id to the get network domain params

func (*GetNetworkDomainParams) SetTimeout

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

SetTimeout adds the timeout to the get network domain params

func (*GetNetworkDomainParams) WithAPIVersion

func (o *GetNetworkDomainParams) WithAPIVersion(aPIVersion *string) *GetNetworkDomainParams

WithAPIVersion adds the aPIVersion to the get network domain params

func (*GetNetworkDomainParams) WithContext

WithContext adds the context to the get network domain params

func (*GetNetworkDomainParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get network domain params

func (*GetNetworkDomainParams) WithID

WithID adds the id to the get network domain params

func (*GetNetworkDomainParams) WithTimeout

WithTimeout adds the timeout to the get network domain params

func (*GetNetworkDomainParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetNetworkDomainReader

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

GetNetworkDomainReader is a Reader for the GetNetworkDomain structure.

func (*GetNetworkDomainReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetNetworkDomainsForbidden

type GetNetworkDomainsForbidden struct {
}

GetNetworkDomainsForbidden handles this case with default header values.

Forbidden

func NewGetNetworkDomainsForbidden

func NewGetNetworkDomainsForbidden() *GetNetworkDomainsForbidden

NewGetNetworkDomainsForbidden creates a GetNetworkDomainsForbidden with default headers values

func (*GetNetworkDomainsForbidden) Error

type GetNetworkDomainsOK

type GetNetworkDomainsOK struct {
	Payload *models.NetworkDomainResult
}

GetNetworkDomainsOK handles this case with default header values.

successful operation

func NewGetNetworkDomainsOK

func NewGetNetworkDomainsOK() *GetNetworkDomainsOK

NewGetNetworkDomainsOK creates a GetNetworkDomainsOK with default headers values

func (*GetNetworkDomainsOK) Error

func (o *GetNetworkDomainsOK) Error() string

func (*GetNetworkDomainsOK) GetPayload

type GetNetworkDomainsParams

type GetNetworkDomainsParams struct {

	/*DollarFilter
	  Add a filter to return limited results

	*/
	DollarFilter *string
	/*APIVersion
	  The version of the API in yyyy-MM-dd format (UTC). For versioning information refer to /iaas/api/about

	*/
	APIVersion *string

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

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

func NewGetNetworkDomainsParams

func NewGetNetworkDomainsParams() *GetNetworkDomainsParams

NewGetNetworkDomainsParams creates a new GetNetworkDomainsParams object with the default values initialized.

func NewGetNetworkDomainsParamsWithContext

func NewGetNetworkDomainsParamsWithContext(ctx context.Context) *GetNetworkDomainsParams

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

func NewGetNetworkDomainsParamsWithHTTPClient

func NewGetNetworkDomainsParamsWithHTTPClient(client *http.Client) *GetNetworkDomainsParams

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

func NewGetNetworkDomainsParamsWithTimeout

func NewGetNetworkDomainsParamsWithTimeout(timeout time.Duration) *GetNetworkDomainsParams

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

func (*GetNetworkDomainsParams) SetAPIVersion

func (o *GetNetworkDomainsParams) SetAPIVersion(aPIVersion *string)

SetAPIVersion adds the apiVersion to the get network domains params

func (*GetNetworkDomainsParams) SetContext

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

SetContext adds the context to the get network domains params

func (*GetNetworkDomainsParams) SetDollarFilter

func (o *GetNetworkDomainsParams) SetDollarFilter(dollarFilter *string)

SetDollarFilter adds the dollarFilter to the get network domains params

func (*GetNetworkDomainsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get network domains params

func (*GetNetworkDomainsParams) SetTimeout

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

SetTimeout adds the timeout to the get network domains params

func (*GetNetworkDomainsParams) WithAPIVersion

func (o *GetNetworkDomainsParams) WithAPIVersion(aPIVersion *string) *GetNetworkDomainsParams

WithAPIVersion adds the aPIVersion to the get network domains params

func (*GetNetworkDomainsParams) WithContext

WithContext adds the context to the get network domains params

func (*GetNetworkDomainsParams) WithDollarFilter

func (o *GetNetworkDomainsParams) WithDollarFilter(dollarFilter *string) *GetNetworkDomainsParams

WithDollarFilter adds the dollarFilter to the get network domains params

func (*GetNetworkDomainsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get network domains params

func (*GetNetworkDomainsParams) WithTimeout

WithTimeout adds the timeout to the get network domains params

func (*GetNetworkDomainsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetNetworkDomainsReader

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

GetNetworkDomainsReader is a Reader for the GetNetworkDomains structure.

func (*GetNetworkDomainsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetNetworkForbidden

type GetNetworkForbidden struct {
}

GetNetworkForbidden handles this case with default header values.

Forbidden

func NewGetNetworkForbidden

func NewGetNetworkForbidden() *GetNetworkForbidden

NewGetNetworkForbidden creates a GetNetworkForbidden with default headers values

func (*GetNetworkForbidden) Error

func (o *GetNetworkForbidden) Error() string

type GetNetworkNotFound

type GetNetworkNotFound struct {
	Payload *models.Error
}

GetNetworkNotFound handles this case with default header values.

Not Found

func NewGetNetworkNotFound

func NewGetNetworkNotFound() *GetNetworkNotFound

NewGetNetworkNotFound creates a GetNetworkNotFound with default headers values

func (*GetNetworkNotFound) Error

func (o *GetNetworkNotFound) Error() string

func (*GetNetworkNotFound) GetPayload added in v0.2.9

func (o *GetNetworkNotFound) GetPayload() *models.Error

type GetNetworkOK

type GetNetworkOK struct {
	Payload *models.Network
}

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

func (*GetNetworkOK) GetPayload

func (o *GetNetworkOK) GetPayload() *models.Network

type GetNetworkParams

type GetNetworkParams struct {

	/*APIVersion
	  The version of the API in yyyy-MM-dd format (UTC). For versioning information refer to /iaas/api/about

	*/
	APIVersion *string
	/*ID
	  The ID of the network.

	*/
	ID string

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

func (o *GetNetworkParams) SetAPIVersion(aPIVersion *string)

SetAPIVersion adds the apiVersion to the get network params

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

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

func (o *GetNetworkParams) WithAPIVersion(aPIVersion *string) *GetNetworkParams

WithAPIVersion adds the aPIVersion 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 string) *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 GetNetworksForbidden

type GetNetworksForbidden struct {
}

GetNetworksForbidden handles this case with default header values.

Forbidden

func NewGetNetworksForbidden

func NewGetNetworksForbidden() *GetNetworksForbidden

NewGetNetworksForbidden creates a GetNetworksForbidden with default headers values

func (*GetNetworksForbidden) Error

func (o *GetNetworksForbidden) Error() string

type GetNetworksOK

type GetNetworksOK struct {
	Payload *models.NetworkResult
}

GetNetworksOK handles this case with default header values.

successful operation

func NewGetNetworksOK

func NewGetNetworksOK() *GetNetworksOK

NewGetNetworksOK creates a GetNetworksOK with default headers values

func (*GetNetworksOK) Error

func (o *GetNetworksOK) Error() string

func (*GetNetworksOK) GetPayload

func (o *GetNetworksOK) GetPayload() *models.NetworkResult

type GetNetworksParams

type GetNetworksParams struct {

	/*APIVersion
	  The version of the API in yyyy-MM-dd format (UTC). For versioning information refer to /iaas/api/about

	*/
	APIVersion *string

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

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

func NewGetNetworksParams

func NewGetNetworksParams() *GetNetworksParams

NewGetNetworksParams creates a new GetNetworksParams object with the default values initialized.

func NewGetNetworksParamsWithContext

func NewGetNetworksParamsWithContext(ctx context.Context) *GetNetworksParams

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

func NewGetNetworksParamsWithHTTPClient

func NewGetNetworksParamsWithHTTPClient(client *http.Client) *GetNetworksParams

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

func NewGetNetworksParamsWithTimeout

func NewGetNetworksParamsWithTimeout(timeout time.Duration) *GetNetworksParams

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

func (*GetNetworksParams) SetAPIVersion

func (o *GetNetworksParams) SetAPIVersion(aPIVersion *string)

SetAPIVersion adds the apiVersion to the get networks params

func (*GetNetworksParams) SetContext

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

SetContext adds the context to the get networks params

func (*GetNetworksParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get networks params

func (*GetNetworksParams) SetTimeout

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

SetTimeout adds the timeout to the get networks params

func (*GetNetworksParams) WithAPIVersion

func (o *GetNetworksParams) WithAPIVersion(aPIVersion *string) *GetNetworksParams

WithAPIVersion adds the aPIVersion to the get networks params

func (*GetNetworksParams) WithContext

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

WithContext adds the context to the get networks params

func (*GetNetworksParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get networks params

func (*GetNetworksParams) WithTimeout

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

WithTimeout adds the timeout to the get networks params

func (*GetNetworksParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetNetworksReader

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

GetNetworksReader is a Reader for the GetNetworks structure.

func (*GetNetworksReader) ReadResponse

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