fabric_network

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2019 License: Apache-2.0 Imports: 10 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 fabric network API

func New

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

New creates a new fabric network API client.

func (*Client) GetFabricNetwork

func (a *Client) GetFabricNetwork(params *GetFabricNetworkParams) (*GetFabricNetworkOK, error)

GetFabricNetwork gets fabric network

Get fabric network with a given id

func (*Client) GetFabricNetworks

func (a *Client) GetFabricNetworks(params *GetFabricNetworksParams) (*GetFabricNetworksOK, error)

GetFabricNetworks gets fabric networks

Get all fabric networks.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateFabricNetwork

func (a *Client) UpdateFabricNetwork(params *UpdateFabricNetworkParams) (*UpdateFabricNetworkOK, error)

UpdateFabricNetwork updates fabric network

Update fabric network. Only tag updates are supported.

type GetFabricNetworkForbidden

type GetFabricNetworkForbidden struct {
}

GetFabricNetworkForbidden handles this case with default header values.

Forbidden

func NewGetFabricNetworkForbidden

func NewGetFabricNetworkForbidden() *GetFabricNetworkForbidden

NewGetFabricNetworkForbidden creates a GetFabricNetworkForbidden with default headers values

func (*GetFabricNetworkForbidden) Error

func (o *GetFabricNetworkForbidden) Error() string

type GetFabricNetworkNotFound

type GetFabricNetworkNotFound struct {
}

GetFabricNetworkNotFound handles this case with default header values.

Not Found

func NewGetFabricNetworkNotFound

func NewGetFabricNetworkNotFound() *GetFabricNetworkNotFound

NewGetFabricNetworkNotFound creates a GetFabricNetworkNotFound with default headers values

func (*GetFabricNetworkNotFound) Error

func (o *GetFabricNetworkNotFound) Error() string

type GetFabricNetworkOK

type GetFabricNetworkOK struct {
	Payload *models.FabricNetwork
}

GetFabricNetworkOK handles this case with default header values.

successful operation

func NewGetFabricNetworkOK

func NewGetFabricNetworkOK() *GetFabricNetworkOK

NewGetFabricNetworkOK creates a GetFabricNetworkOK with default headers values

func (*GetFabricNetworkOK) Error

func (o *GetFabricNetworkOK) Error() string

func (*GetFabricNetworkOK) GetPayload

func (o *GetFabricNetworkOK) GetPayload() *models.FabricNetwork

type GetFabricNetworkParams

type GetFabricNetworkParams struct {

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

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

	*/
	ID string

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

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

func NewGetFabricNetworkParams

func NewGetFabricNetworkParams() *GetFabricNetworkParams

NewGetFabricNetworkParams creates a new GetFabricNetworkParams object with the default values initialized.

func NewGetFabricNetworkParamsWithContext

func NewGetFabricNetworkParamsWithContext(ctx context.Context) *GetFabricNetworkParams

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

func NewGetFabricNetworkParamsWithHTTPClient

func NewGetFabricNetworkParamsWithHTTPClient(client *http.Client) *GetFabricNetworkParams

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

func NewGetFabricNetworkParamsWithTimeout

func NewGetFabricNetworkParamsWithTimeout(timeout time.Duration) *GetFabricNetworkParams

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

func (*GetFabricNetworkParams) SetAPIVersion

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

SetAPIVersion adds the apiVersion to the get fabric network params

func (*GetFabricNetworkParams) SetContext

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

SetContext adds the context to the get fabric network params

func (*GetFabricNetworkParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get fabric network params

func (*GetFabricNetworkParams) SetID

func (o *GetFabricNetworkParams) SetID(id string)

SetID adds the id to the get fabric network params

func (*GetFabricNetworkParams) SetTimeout

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

SetTimeout adds the timeout to the get fabric network params

func (*GetFabricNetworkParams) WithAPIVersion

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

WithAPIVersion adds the aPIVersion to the get fabric network params

func (*GetFabricNetworkParams) WithContext

WithContext adds the context to the get fabric network params

func (*GetFabricNetworkParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get fabric network params

func (*GetFabricNetworkParams) WithID

WithID adds the id to the get fabric network params

func (*GetFabricNetworkParams) WithTimeout

WithTimeout adds the timeout to the get fabric network params

func (*GetFabricNetworkParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetFabricNetworkReader

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

GetFabricNetworkReader is a Reader for the GetFabricNetwork structure.

func (*GetFabricNetworkReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetFabricNetworksForbidden

type GetFabricNetworksForbidden struct {
}

GetFabricNetworksForbidden handles this case with default header values.

Forbidden

func NewGetFabricNetworksForbidden

func NewGetFabricNetworksForbidden() *GetFabricNetworksForbidden

NewGetFabricNetworksForbidden creates a GetFabricNetworksForbidden with default headers values

func (*GetFabricNetworksForbidden) Error

type GetFabricNetworksOK

type GetFabricNetworksOK struct {
	Payload *models.FabricNetworkResult
}

GetFabricNetworksOK handles this case with default header values.

successful operation

func NewGetFabricNetworksOK

func NewGetFabricNetworksOK() *GetFabricNetworksOK

NewGetFabricNetworksOK creates a GetFabricNetworksOK with default headers values

func (*GetFabricNetworksOK) Error

func (o *GetFabricNetworksOK) Error() string

func (*GetFabricNetworksOK) GetPayload

type GetFabricNetworksParams

type GetFabricNetworksParams 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 please refer to /iaas/api/about

	*/
	APIVersion *string

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

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

func NewGetFabricNetworksParams

func NewGetFabricNetworksParams() *GetFabricNetworksParams

NewGetFabricNetworksParams creates a new GetFabricNetworksParams object with the default values initialized.

func NewGetFabricNetworksParamsWithContext

func NewGetFabricNetworksParamsWithContext(ctx context.Context) *GetFabricNetworksParams

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

func NewGetFabricNetworksParamsWithHTTPClient

func NewGetFabricNetworksParamsWithHTTPClient(client *http.Client) *GetFabricNetworksParams

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

func NewGetFabricNetworksParamsWithTimeout

func NewGetFabricNetworksParamsWithTimeout(timeout time.Duration) *GetFabricNetworksParams

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

func (*GetFabricNetworksParams) SetAPIVersion

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

SetAPIVersion adds the apiVersion to the get fabric networks params

func (*GetFabricNetworksParams) SetContext

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

SetContext adds the context to the get fabric networks params

func (*GetFabricNetworksParams) SetDollarFilter

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

SetDollarFilter adds the dollarFilter to the get fabric networks params

func (*GetFabricNetworksParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get fabric networks params

func (*GetFabricNetworksParams) SetTimeout

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

SetTimeout adds the timeout to the get fabric networks params

func (*GetFabricNetworksParams) WithAPIVersion

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

WithAPIVersion adds the aPIVersion to the get fabric networks params

func (*GetFabricNetworksParams) WithContext

WithContext adds the context to the get fabric networks params

func (*GetFabricNetworksParams) WithDollarFilter

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

WithDollarFilter adds the dollarFilter to the get fabric networks params

func (*GetFabricNetworksParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get fabric networks params

func (*GetFabricNetworksParams) WithTimeout

WithTimeout adds the timeout to the get fabric networks params

func (*GetFabricNetworksParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetFabricNetworksReader

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

GetFabricNetworksReader is a Reader for the GetFabricNetworks structure.

func (*GetFabricNetworksReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateFabricNetworkForbidden

type UpdateFabricNetworkForbidden struct {
}

UpdateFabricNetworkForbidden handles this case with default header values.

Forbidden

func NewUpdateFabricNetworkForbidden

func NewUpdateFabricNetworkForbidden() *UpdateFabricNetworkForbidden

NewUpdateFabricNetworkForbidden creates a UpdateFabricNetworkForbidden with default headers values

func (*UpdateFabricNetworkForbidden) Error

type UpdateFabricNetworkNotFound

type UpdateFabricNetworkNotFound struct {
}

UpdateFabricNetworkNotFound handles this case with default header values.

Not Found

func NewUpdateFabricNetworkNotFound

func NewUpdateFabricNetworkNotFound() *UpdateFabricNetworkNotFound

NewUpdateFabricNetworkNotFound creates a UpdateFabricNetworkNotFound with default headers values

func (*UpdateFabricNetworkNotFound) Error

type UpdateFabricNetworkOK

type UpdateFabricNetworkOK struct {
	Payload *models.FabricNetwork
}

UpdateFabricNetworkOK handles this case with default header values.

successful operation

func NewUpdateFabricNetworkOK

func NewUpdateFabricNetworkOK() *UpdateFabricNetworkOK

NewUpdateFabricNetworkOK creates a UpdateFabricNetworkOK with default headers values

func (*UpdateFabricNetworkOK) Error

func (o *UpdateFabricNetworkOK) Error() string

func (*UpdateFabricNetworkOK) GetPayload

func (o *UpdateFabricNetworkOK) GetPayload() *models.FabricNetwork

type UpdateFabricNetworkParams

type UpdateFabricNetworkParams struct {

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

	*/
	APIVersion *string
	/*Body
	  Fabric Network Specification

	*/
	Body *models.FabricNetworkSpecification
	/*ID
	  The ID of the Fabric Network.

	*/
	ID string

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

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

func NewUpdateFabricNetworkParams

func NewUpdateFabricNetworkParams() *UpdateFabricNetworkParams

NewUpdateFabricNetworkParams creates a new UpdateFabricNetworkParams object with the default values initialized.

func NewUpdateFabricNetworkParamsWithContext

func NewUpdateFabricNetworkParamsWithContext(ctx context.Context) *UpdateFabricNetworkParams

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

func NewUpdateFabricNetworkParamsWithHTTPClient

func NewUpdateFabricNetworkParamsWithHTTPClient(client *http.Client) *UpdateFabricNetworkParams

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

func NewUpdateFabricNetworkParamsWithTimeout

func NewUpdateFabricNetworkParamsWithTimeout(timeout time.Duration) *UpdateFabricNetworkParams

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

func (*UpdateFabricNetworkParams) SetAPIVersion

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

SetAPIVersion adds the apiVersion to the update fabric network params

func (*UpdateFabricNetworkParams) SetBody

SetBody adds the body to the update fabric network params

func (*UpdateFabricNetworkParams) SetContext

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

SetContext adds the context to the update fabric network params

func (*UpdateFabricNetworkParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update fabric network params

func (*UpdateFabricNetworkParams) SetID

func (o *UpdateFabricNetworkParams) SetID(id string)

SetID adds the id to the update fabric network params

func (*UpdateFabricNetworkParams) SetTimeout

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

SetTimeout adds the timeout to the update fabric network params

func (*UpdateFabricNetworkParams) WithAPIVersion

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

WithAPIVersion adds the aPIVersion to the update fabric network params

func (*UpdateFabricNetworkParams) WithBody

WithBody adds the body to the update fabric network params

func (*UpdateFabricNetworkParams) WithContext

WithContext adds the context to the update fabric network params

func (*UpdateFabricNetworkParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update fabric network params

func (*UpdateFabricNetworkParams) WithID

WithID adds the id to the update fabric network params

func (*UpdateFabricNetworkParams) WithTimeout

WithTimeout adds the timeout to the update fabric network params

func (*UpdateFabricNetworkParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateFabricNetworkReader

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

UpdateFabricNetworkReader is a Reader for the UpdateFabricNetwork structure.

func (*UpdateFabricNetworkReader) ReadResponse

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