topologies

package
v1.5.0-rc.9 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 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 topologies API

func New

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

New creates a new topologies API client.

func (*Client) DeleteTopologiesAccountID

func (a *Client) DeleteTopologiesAccountID(params *DeleteTopologiesAccountIDParams) error

DeleteTopologiesAccountID deletes topology by id

A topology gives system administrators an easy way to associate compute nodes with data centers and racks.

func (*Client) GetTopologiesAccount

func (a *Client) GetTopologiesAccount(params *GetTopologiesAccountParams) (*GetTopologiesAccountOK, error)

GetTopologiesAccount retrieves topoligies

A topology gives system administrators an easy way to associate compute nodes with data centers and racks.

func (*Client) GetTopologiesAccountID

func (a *Client) GetTopologiesAccountID(params *GetTopologiesAccountIDParams) (*GetTopologiesAccountIDOK, error)

GetTopologiesAccountID retrieves topology by id

A template gives developers and systems administrators an easy way to create and manage a collection of cloud infrastructure related resources, maintaining and updating them in an orderly and predictable fashion. Templates are cloud specific - and on top of the infrastructural setup they collect the information such as the used machine images, the datacenter location, instance types, and can capture and control region-specific infrastructure variations. We support heterogenous clusters - this one Hadoop cluster can be built by combining different templates.

func (*Client) PostTopologiesAccount

func (a *Client) PostTopologiesAccount(params *PostTopologiesAccountParams) (*PostTopologiesAccountOK, error)

PostTopologiesAccount creates topology as public resource

A topology gives system administrators an easy way to associate compute nodes with data centers and racks.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type DeleteTopologiesAccountIDDefault

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

DeleteTopologiesAccountIDDefault handles this case with default header values.

successful operation

func NewDeleteTopologiesAccountIDDefault

func NewDeleteTopologiesAccountIDDefault(code int) *DeleteTopologiesAccountIDDefault

NewDeleteTopologiesAccountIDDefault creates a DeleteTopologiesAccountIDDefault with default headers values

func (*DeleteTopologiesAccountIDDefault) Code

Code gets the status code for the delete topologies account ID default response

func (*DeleteTopologiesAccountIDDefault) Error

type DeleteTopologiesAccountIDParams

type DeleteTopologiesAccountIDParams struct {

	/*Forced*/
	Forced *bool
	/*ID*/
	ID int64
}

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

func NewDeleteTopologiesAccountIDParams

func NewDeleteTopologiesAccountIDParams() *DeleteTopologiesAccountIDParams

NewDeleteTopologiesAccountIDParams creates a new DeleteTopologiesAccountIDParams object with the default values initialized.

func (*DeleteTopologiesAccountIDParams) WithForced

WithForced adds the forced to the delete topologies account ID params

func (*DeleteTopologiesAccountIDParams) WithID

WithID adds the id to the delete topologies account ID params

func (*DeleteTopologiesAccountIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteTopologiesAccountIDReader

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

DeleteTopologiesAccountIDReader is a Reader for the DeleteTopologiesAccountID structure.

func (*DeleteTopologiesAccountIDReader) ReadResponse

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

ReadResponse reads a server response into the recieved o.

type GetTopologiesAccountIDOK

type GetTopologiesAccountIDOK struct {
	Payload *models.TopologyResponse
}

GetTopologiesAccountIDOK handles this case with default header values.

successful operation

func NewGetTopologiesAccountIDOK

func NewGetTopologiesAccountIDOK() *GetTopologiesAccountIDOK

NewGetTopologiesAccountIDOK creates a GetTopologiesAccountIDOK with default headers values

func (*GetTopologiesAccountIDOK) Error

func (o *GetTopologiesAccountIDOK) Error() string

type GetTopologiesAccountIDParams

type GetTopologiesAccountIDParams struct {

	/*ID*/
	ID int64
}

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

func NewGetTopologiesAccountIDParams

func NewGetTopologiesAccountIDParams() *GetTopologiesAccountIDParams

NewGetTopologiesAccountIDParams creates a new GetTopologiesAccountIDParams object with the default values initialized.

func (*GetTopologiesAccountIDParams) WithID

WithID adds the id to the get topologies account ID params

func (*GetTopologiesAccountIDParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetTopologiesAccountIDReader

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

GetTopologiesAccountIDReader is a Reader for the GetTopologiesAccountID structure.

func (*GetTopologiesAccountIDReader) ReadResponse

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

ReadResponse reads a server response into the recieved o.

type GetTopologiesAccountOK

type GetTopologiesAccountOK struct {
	Payload []*models.TopologyResponse
}

GetTopologiesAccountOK handles this case with default header values.

successful operation

func NewGetTopologiesAccountOK

func NewGetTopologiesAccountOK() *GetTopologiesAccountOK

NewGetTopologiesAccountOK creates a GetTopologiesAccountOK with default headers values

func (*GetTopologiesAccountOK) Error

func (o *GetTopologiesAccountOK) Error() string

type GetTopologiesAccountParams

type GetTopologiesAccountParams struct {
}

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

func NewGetTopologiesAccountParams

func NewGetTopologiesAccountParams() *GetTopologiesAccountParams

NewGetTopologiesAccountParams creates a new GetTopologiesAccountParams object with the default values initialized.

func (*GetTopologiesAccountParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetTopologiesAccountReader

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

GetTopologiesAccountReader is a Reader for the GetTopologiesAccount structure.

func (*GetTopologiesAccountReader) ReadResponse

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

ReadResponse reads a server response into the recieved o.

type PostTopologiesAccountOK

type PostTopologiesAccountOK struct {
	Payload *models.ID
}

PostTopologiesAccountOK handles this case with default header values.

successful operation

func NewPostTopologiesAccountOK

func NewPostTopologiesAccountOK() *PostTopologiesAccountOK

NewPostTopologiesAccountOK creates a PostTopologiesAccountOK with default headers values

func (*PostTopologiesAccountOK) Error

func (o *PostTopologiesAccountOK) Error() string

type PostTopologiesAccountParams

type PostTopologiesAccountParams struct {

	/*Body*/
	Body *models.TopologyRequest
}

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

func NewPostTopologiesAccountParams

func NewPostTopologiesAccountParams() *PostTopologiesAccountParams

NewPostTopologiesAccountParams creates a new PostTopologiesAccountParams object with the default values initialized.

func (*PostTopologiesAccountParams) WithBody

WithBody adds the body to the post topologies account params

func (*PostTopologiesAccountParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type PostTopologiesAccountReader

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

PostTopologiesAccountReader is a Reader for the PostTopologiesAccount structure.

func (*PostTopologiesAccountReader) ReadResponse

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