Documentation ¶
Index ¶
- type Client
- func (a *Client) DeleteTopologiesAccountID(params *DeleteTopologiesAccountIDParams) error
- func (a *Client) GetTopologiesAccount(params *GetTopologiesAccountParams) (*GetTopologiesAccountOK, error)
- func (a *Client) GetTopologiesAccountID(params *GetTopologiesAccountIDParams) (*GetTopologiesAccountIDOK, error)
- func (a *Client) PostTopologiesAccount(params *PostTopologiesAccountParams) (*PostTopologiesAccountOK, error)
- func (a *Client) SetTransport(transport client.Transport)
- type DeleteTopologiesAccountIDDefault
- type DeleteTopologiesAccountIDParams
- type DeleteTopologiesAccountIDReader
- type GetTopologiesAccountIDOK
- type GetTopologiesAccountIDParams
- type GetTopologiesAccountIDReader
- type GetTopologiesAccountOK
- type GetTopologiesAccountParams
- type GetTopologiesAccountReader
- type PostTopologiesAccountOK
- type PostTopologiesAccountParams
- type PostTopologiesAccountReader
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 (*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 ¶
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 ¶
func (o *DeleteTopologiesAccountIDDefault) Code() int
Code gets the status code for the delete topologies account ID default response
func (*DeleteTopologiesAccountIDDefault) Error ¶
func (o *DeleteTopologiesAccountIDDefault) Error() string
type DeleteTopologiesAccountIDParams ¶
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 ¶
func (o *DeleteTopologiesAccountIDParams) WithForced(forced *bool) *DeleteTopologiesAccountIDParams
WithForced adds the forced to the delete topologies account ID params
func (*DeleteTopologiesAccountIDParams) WithID ¶
func (o *DeleteTopologiesAccountIDParams) WithID(id int64) *DeleteTopologiesAccountIDParams
WithID adds the id to the delete topologies account ID params
func (*DeleteTopologiesAccountIDParams) WriteToRequest ¶
func (o *DeleteTopologiesAccountIDParams) WriteToRequest(r client.Request, reg strfmt.Registry) error
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 ¶
func (o *GetTopologiesAccountIDParams) WithID(id int64) *GetTopologiesAccountIDParams
WithID adds the id to the get topologies account ID params
func (*GetTopologiesAccountIDParams) WriteToRequest ¶
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 ¶
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 ¶
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 ¶
func (o *PostTopologiesAccountParams) WithBody(body *models.TopologyRequest) *PostTopologiesAccountParams
WithBody adds the body to the post topologies account params
func (*PostTopologiesAccountParams) WriteToRequest ¶
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.
Source Files ¶
- delete_topologies_account_id_parameters.go
- delete_topologies_account_id_responses.go
- get_topologies_account_id_parameters.go
- get_topologies_account_id_responses.go
- get_topologies_account_parameters.go
- get_topologies_account_responses.go
- post_topologies_account_parameters.go
- post_topologies_account_responses.go
- topologies_client.go