Documentation ¶
Index ¶
- type Client
- func (a *Client) DeleteTopology(params *DeleteTopologyParams) error
- func (a *Client) GetPublicsTopology(params *GetPublicsTopologyParams) (*GetPublicsTopologyOK, error)
- func (a *Client) GetTopology(params *GetTopologyParams) (*GetTopologyOK, error)
- func (a *Client) PostPublicTopology(params *PostPublicTopologyParams) (*PostPublicTopologyOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type DeleteTopologyDefault
- type DeleteTopologyParams
- func NewDeleteTopologyParams() *DeleteTopologyParams
- func NewDeleteTopologyParamsWithContext(ctx context.Context) *DeleteTopologyParams
- func NewDeleteTopologyParamsWithHTTPClient(client *http.Client) *DeleteTopologyParams
- func NewDeleteTopologyParamsWithTimeout(timeout time.Duration) *DeleteTopologyParams
- func (o *DeleteTopologyParams) SetContext(ctx context.Context)
- func (o *DeleteTopologyParams) SetForced(forced *bool)
- func (o *DeleteTopologyParams) SetHTTPClient(client *http.Client)
- func (o *DeleteTopologyParams) SetID(id int64)
- func (o *DeleteTopologyParams) SetTimeout(timeout time.Duration)
- func (o *DeleteTopologyParams) WithContext(ctx context.Context) *DeleteTopologyParams
- func (o *DeleteTopologyParams) WithForced(forced *bool) *DeleteTopologyParams
- func (o *DeleteTopologyParams) WithHTTPClient(client *http.Client) *DeleteTopologyParams
- func (o *DeleteTopologyParams) WithID(id int64) *DeleteTopologyParams
- func (o *DeleteTopologyParams) WithTimeout(timeout time.Duration) *DeleteTopologyParams
- func (o *DeleteTopologyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteTopologyReader
- type GetPublicsTopologyOK
- type GetPublicsTopologyParams
- func NewGetPublicsTopologyParams() *GetPublicsTopologyParams
- func NewGetPublicsTopologyParamsWithContext(ctx context.Context) *GetPublicsTopologyParams
- func NewGetPublicsTopologyParamsWithHTTPClient(client *http.Client) *GetPublicsTopologyParams
- func NewGetPublicsTopologyParamsWithTimeout(timeout time.Duration) *GetPublicsTopologyParams
- func (o *GetPublicsTopologyParams) SetContext(ctx context.Context)
- func (o *GetPublicsTopologyParams) SetHTTPClient(client *http.Client)
- func (o *GetPublicsTopologyParams) SetTimeout(timeout time.Duration)
- func (o *GetPublicsTopologyParams) WithContext(ctx context.Context) *GetPublicsTopologyParams
- func (o *GetPublicsTopologyParams) WithHTTPClient(client *http.Client) *GetPublicsTopologyParams
- func (o *GetPublicsTopologyParams) WithTimeout(timeout time.Duration) *GetPublicsTopologyParams
- func (o *GetPublicsTopologyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPublicsTopologyReader
- type GetTopologyOK
- type GetTopologyParams
- func (o *GetTopologyParams) SetContext(ctx context.Context)
- func (o *GetTopologyParams) SetHTTPClient(client *http.Client)
- func (o *GetTopologyParams) SetID(id int64)
- func (o *GetTopologyParams) SetTimeout(timeout time.Duration)
- func (o *GetTopologyParams) WithContext(ctx context.Context) *GetTopologyParams
- func (o *GetTopologyParams) WithHTTPClient(client *http.Client) *GetTopologyParams
- func (o *GetTopologyParams) WithID(id int64) *GetTopologyParams
- func (o *GetTopologyParams) WithTimeout(timeout time.Duration) *GetTopologyParams
- func (o *GetTopologyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetTopologyReader
- type PostPublicTopologyOK
- type PostPublicTopologyParams
- func NewPostPublicTopologyParams() *PostPublicTopologyParams
- func NewPostPublicTopologyParamsWithContext(ctx context.Context) *PostPublicTopologyParams
- func NewPostPublicTopologyParamsWithHTTPClient(client *http.Client) *PostPublicTopologyParams
- func NewPostPublicTopologyParamsWithTimeout(timeout time.Duration) *PostPublicTopologyParams
- func (o *PostPublicTopologyParams) SetBody(body *models_cloudbreak.TopologyRequest)
- func (o *PostPublicTopologyParams) SetContext(ctx context.Context)
- func (o *PostPublicTopologyParams) SetHTTPClient(client *http.Client)
- func (o *PostPublicTopologyParams) SetTimeout(timeout time.Duration)
- func (o *PostPublicTopologyParams) WithBody(body *models_cloudbreak.TopologyRequest) *PostPublicTopologyParams
- func (o *PostPublicTopologyParams) WithContext(ctx context.Context) *PostPublicTopologyParams
- func (o *PostPublicTopologyParams) WithHTTPClient(client *http.Client) *PostPublicTopologyParams
- func (o *PostPublicTopologyParams) WithTimeout(timeout time.Duration) *PostPublicTopologyParams
- func (o *PostPublicTopologyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostPublicTopologyReader
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 v1topologies API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new v1topologies API client.
func (*Client) DeleteTopology ¶
func (a *Client) DeleteTopology(params *DeleteTopologyParams) error
DeleteTopology deletes topology by id
A topology gives system administrators an easy way to associate compute nodes with data centers and racks.
func (*Client) GetPublicsTopology ¶
func (a *Client) GetPublicsTopology(params *GetPublicsTopologyParams) (*GetPublicsTopologyOK, error)
GetPublicsTopology retrieves topoligies
A topology gives system administrators an easy way to associate compute nodes with data centers and racks.
func (*Client) GetTopology ¶
func (a *Client) GetTopology(params *GetTopologyParams) (*GetTopologyOK, error)
GetTopology 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) PostPublicTopology ¶
func (a *Client) PostPublicTopology(params *PostPublicTopologyParams) (*PostPublicTopologyOK, error)
PostPublicTopology 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 runtime.ClientTransport)
SetTransport changes the transport on the client
type DeleteTopologyDefault ¶
type DeleteTopologyDefault struct {
// contains filtered or unexported fields
}
DeleteTopologyDefault handles this case with default header values.
successful operation
func NewDeleteTopologyDefault ¶
func NewDeleteTopologyDefault(code int) *DeleteTopologyDefault
NewDeleteTopologyDefault creates a DeleteTopologyDefault with default headers values
func (*DeleteTopologyDefault) Code ¶
func (o *DeleteTopologyDefault) Code() int
Code gets the status code for the delete topology default response
func (*DeleteTopologyDefault) Error ¶
func (o *DeleteTopologyDefault) Error() string
type DeleteTopologyParams ¶
type DeleteTopologyParams struct { /*Forced*/ Forced *bool /*ID*/ ID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteTopologyParams contains all the parameters to send to the API endpoint for the delete topology operation typically these are written to a http.Request
func NewDeleteTopologyParams ¶
func NewDeleteTopologyParams() *DeleteTopologyParams
NewDeleteTopologyParams creates a new DeleteTopologyParams object with the default values initialized.
func NewDeleteTopologyParamsWithContext ¶
func NewDeleteTopologyParamsWithContext(ctx context.Context) *DeleteTopologyParams
NewDeleteTopologyParamsWithContext creates a new DeleteTopologyParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteTopologyParamsWithHTTPClient ¶
func NewDeleteTopologyParamsWithHTTPClient(client *http.Client) *DeleteTopologyParams
NewDeleteTopologyParamsWithHTTPClient creates a new DeleteTopologyParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteTopologyParamsWithTimeout ¶
func NewDeleteTopologyParamsWithTimeout(timeout time.Duration) *DeleteTopologyParams
NewDeleteTopologyParamsWithTimeout creates a new DeleteTopologyParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteTopologyParams) SetContext ¶
func (o *DeleteTopologyParams) SetContext(ctx context.Context)
SetContext adds the context to the delete topology params
func (*DeleteTopologyParams) SetForced ¶
func (o *DeleteTopologyParams) SetForced(forced *bool)
SetForced adds the forced to the delete topology params
func (*DeleteTopologyParams) SetHTTPClient ¶
func (o *DeleteTopologyParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete topology params
func (*DeleteTopologyParams) SetID ¶
func (o *DeleteTopologyParams) SetID(id int64)
SetID adds the id to the delete topology params
func (*DeleteTopologyParams) SetTimeout ¶
func (o *DeleteTopologyParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete topology params
func (*DeleteTopologyParams) WithContext ¶
func (o *DeleteTopologyParams) WithContext(ctx context.Context) *DeleteTopologyParams
WithContext adds the context to the delete topology params
func (*DeleteTopologyParams) WithForced ¶
func (o *DeleteTopologyParams) WithForced(forced *bool) *DeleteTopologyParams
WithForced adds the forced to the delete topology params
func (*DeleteTopologyParams) WithHTTPClient ¶
func (o *DeleteTopologyParams) WithHTTPClient(client *http.Client) *DeleteTopologyParams
WithHTTPClient adds the HTTPClient to the delete topology params
func (*DeleteTopologyParams) WithID ¶
func (o *DeleteTopologyParams) WithID(id int64) *DeleteTopologyParams
WithID adds the id to the delete topology params
func (*DeleteTopologyParams) WithTimeout ¶
func (o *DeleteTopologyParams) WithTimeout(timeout time.Duration) *DeleteTopologyParams
WithTimeout adds the timeout to the delete topology params
func (*DeleteTopologyParams) WriteToRequest ¶
func (o *DeleteTopologyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteTopologyReader ¶
type DeleteTopologyReader struct {
// contains filtered or unexported fields
}
DeleteTopologyReader is a Reader for the DeleteTopology structure.
func (*DeleteTopologyReader) ReadResponse ¶
func (o *DeleteTopologyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetPublicsTopologyOK ¶
type GetPublicsTopologyOK struct {
Payload []*models_cloudbreak.TopologyResponse
}
GetPublicsTopologyOK handles this case with default header values.
successful operation
func NewGetPublicsTopologyOK ¶
func NewGetPublicsTopologyOK() *GetPublicsTopologyOK
NewGetPublicsTopologyOK creates a GetPublicsTopologyOK with default headers values
func (*GetPublicsTopologyOK) Error ¶
func (o *GetPublicsTopologyOK) Error() string
type GetPublicsTopologyParams ¶
type GetPublicsTopologyParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetPublicsTopologyParams contains all the parameters to send to the API endpoint for the get publics topology operation typically these are written to a http.Request
func NewGetPublicsTopologyParams ¶
func NewGetPublicsTopologyParams() *GetPublicsTopologyParams
NewGetPublicsTopologyParams creates a new GetPublicsTopologyParams object with the default values initialized.
func NewGetPublicsTopologyParamsWithContext ¶
func NewGetPublicsTopologyParamsWithContext(ctx context.Context) *GetPublicsTopologyParams
NewGetPublicsTopologyParamsWithContext creates a new GetPublicsTopologyParams object with the default values initialized, and the ability to set a context for a request
func NewGetPublicsTopologyParamsWithHTTPClient ¶
func NewGetPublicsTopologyParamsWithHTTPClient(client *http.Client) *GetPublicsTopologyParams
NewGetPublicsTopologyParamsWithHTTPClient creates a new GetPublicsTopologyParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetPublicsTopologyParamsWithTimeout ¶
func NewGetPublicsTopologyParamsWithTimeout(timeout time.Duration) *GetPublicsTopologyParams
NewGetPublicsTopologyParamsWithTimeout creates a new GetPublicsTopologyParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetPublicsTopologyParams) SetContext ¶
func (o *GetPublicsTopologyParams) SetContext(ctx context.Context)
SetContext adds the context to the get publics topology params
func (*GetPublicsTopologyParams) SetHTTPClient ¶
func (o *GetPublicsTopologyParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get publics topology params
func (*GetPublicsTopologyParams) SetTimeout ¶
func (o *GetPublicsTopologyParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get publics topology params
func (*GetPublicsTopologyParams) WithContext ¶
func (o *GetPublicsTopologyParams) WithContext(ctx context.Context) *GetPublicsTopologyParams
WithContext adds the context to the get publics topology params
func (*GetPublicsTopologyParams) WithHTTPClient ¶
func (o *GetPublicsTopologyParams) WithHTTPClient(client *http.Client) *GetPublicsTopologyParams
WithHTTPClient adds the HTTPClient to the get publics topology params
func (*GetPublicsTopologyParams) WithTimeout ¶
func (o *GetPublicsTopologyParams) WithTimeout(timeout time.Duration) *GetPublicsTopologyParams
WithTimeout adds the timeout to the get publics topology params
func (*GetPublicsTopologyParams) WriteToRequest ¶
func (o *GetPublicsTopologyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetPublicsTopologyReader ¶
type GetPublicsTopologyReader struct {
// contains filtered or unexported fields
}
GetPublicsTopologyReader is a Reader for the GetPublicsTopology structure.
func (*GetPublicsTopologyReader) ReadResponse ¶
func (o *GetPublicsTopologyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetTopologyOK ¶
type GetTopologyOK struct {
Payload *models_cloudbreak.TopologyResponse
}
GetTopologyOK handles this case with default header values.
successful operation
func NewGetTopologyOK ¶
func NewGetTopologyOK() *GetTopologyOK
NewGetTopologyOK creates a GetTopologyOK with default headers values
func (*GetTopologyOK) Error ¶
func (o *GetTopologyOK) Error() string
type GetTopologyParams ¶
type GetTopologyParams struct { /*ID*/ ID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetTopologyParams contains all the parameters to send to the API endpoint for the get topology operation typically these are written to a http.Request
func NewGetTopologyParams ¶
func NewGetTopologyParams() *GetTopologyParams
NewGetTopologyParams creates a new GetTopologyParams object with the default values initialized.
func NewGetTopologyParamsWithContext ¶
func NewGetTopologyParamsWithContext(ctx context.Context) *GetTopologyParams
NewGetTopologyParamsWithContext creates a new GetTopologyParams object with the default values initialized, and the ability to set a context for a request
func NewGetTopologyParamsWithHTTPClient ¶
func NewGetTopologyParamsWithHTTPClient(client *http.Client) *GetTopologyParams
NewGetTopologyParamsWithHTTPClient creates a new GetTopologyParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetTopologyParamsWithTimeout ¶
func NewGetTopologyParamsWithTimeout(timeout time.Duration) *GetTopologyParams
NewGetTopologyParamsWithTimeout creates a new GetTopologyParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetTopologyParams) SetContext ¶
func (o *GetTopologyParams) SetContext(ctx context.Context)
SetContext adds the context to the get topology params
func (*GetTopologyParams) SetHTTPClient ¶
func (o *GetTopologyParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get topology params
func (*GetTopologyParams) SetID ¶
func (o *GetTopologyParams) SetID(id int64)
SetID adds the id to the get topology params
func (*GetTopologyParams) SetTimeout ¶
func (o *GetTopologyParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get topology params
func (*GetTopologyParams) WithContext ¶
func (o *GetTopologyParams) WithContext(ctx context.Context) *GetTopologyParams
WithContext adds the context to the get topology params
func (*GetTopologyParams) WithHTTPClient ¶
func (o *GetTopologyParams) WithHTTPClient(client *http.Client) *GetTopologyParams
WithHTTPClient adds the HTTPClient to the get topology params
func (*GetTopologyParams) WithID ¶
func (o *GetTopologyParams) WithID(id int64) *GetTopologyParams
WithID adds the id to the get topology params
func (*GetTopologyParams) WithTimeout ¶
func (o *GetTopologyParams) WithTimeout(timeout time.Duration) *GetTopologyParams
WithTimeout adds the timeout to the get topology params
func (*GetTopologyParams) WriteToRequest ¶
func (o *GetTopologyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetTopologyReader ¶
type GetTopologyReader struct {
// contains filtered or unexported fields
}
GetTopologyReader is a Reader for the GetTopology structure.
func (*GetTopologyReader) ReadResponse ¶
func (o *GetTopologyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PostPublicTopologyOK ¶
type PostPublicTopologyOK struct {
Payload *models_cloudbreak.TopologyResponse
}
PostPublicTopologyOK handles this case with default header values.
successful operation
func NewPostPublicTopologyOK ¶
func NewPostPublicTopologyOK() *PostPublicTopologyOK
NewPostPublicTopologyOK creates a PostPublicTopologyOK with default headers values
func (*PostPublicTopologyOK) Error ¶
func (o *PostPublicTopologyOK) Error() string
type PostPublicTopologyParams ¶
type PostPublicTopologyParams struct { /*Body*/ Body *models_cloudbreak.TopologyRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PostPublicTopologyParams contains all the parameters to send to the API endpoint for the post public topology operation typically these are written to a http.Request
func NewPostPublicTopologyParams ¶
func NewPostPublicTopologyParams() *PostPublicTopologyParams
NewPostPublicTopologyParams creates a new PostPublicTopologyParams object with the default values initialized.
func NewPostPublicTopologyParamsWithContext ¶
func NewPostPublicTopologyParamsWithContext(ctx context.Context) *PostPublicTopologyParams
NewPostPublicTopologyParamsWithContext creates a new PostPublicTopologyParams object with the default values initialized, and the ability to set a context for a request
func NewPostPublicTopologyParamsWithHTTPClient ¶
func NewPostPublicTopologyParamsWithHTTPClient(client *http.Client) *PostPublicTopologyParams
NewPostPublicTopologyParamsWithHTTPClient creates a new PostPublicTopologyParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPostPublicTopologyParamsWithTimeout ¶
func NewPostPublicTopologyParamsWithTimeout(timeout time.Duration) *PostPublicTopologyParams
NewPostPublicTopologyParamsWithTimeout creates a new PostPublicTopologyParams object with the default values initialized, and the ability to set a timeout on a request
func (*PostPublicTopologyParams) SetBody ¶
func (o *PostPublicTopologyParams) SetBody(body *models_cloudbreak.TopologyRequest)
SetBody adds the body to the post public topology params
func (*PostPublicTopologyParams) SetContext ¶
func (o *PostPublicTopologyParams) SetContext(ctx context.Context)
SetContext adds the context to the post public topology params
func (*PostPublicTopologyParams) SetHTTPClient ¶
func (o *PostPublicTopologyParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post public topology params
func (*PostPublicTopologyParams) SetTimeout ¶
func (o *PostPublicTopologyParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post public topology params
func (*PostPublicTopologyParams) WithBody ¶
func (o *PostPublicTopologyParams) WithBody(body *models_cloudbreak.TopologyRequest) *PostPublicTopologyParams
WithBody adds the body to the post public topology params
func (*PostPublicTopologyParams) WithContext ¶
func (o *PostPublicTopologyParams) WithContext(ctx context.Context) *PostPublicTopologyParams
WithContext adds the context to the post public topology params
func (*PostPublicTopologyParams) WithHTTPClient ¶
func (o *PostPublicTopologyParams) WithHTTPClient(client *http.Client) *PostPublicTopologyParams
WithHTTPClient adds the HTTPClient to the post public topology params
func (*PostPublicTopologyParams) WithTimeout ¶
func (o *PostPublicTopologyParams) WithTimeout(timeout time.Duration) *PostPublicTopologyParams
WithTimeout adds the timeout to the post public topology params
func (*PostPublicTopologyParams) WriteToRequest ¶
func (o *PostPublicTopologyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostPublicTopologyReader ¶
type PostPublicTopologyReader struct {
// contains filtered or unexported fields
}
PostPublicTopologyReader is a Reader for the PostPublicTopology structure.
func (*PostPublicTopologyReader) ReadResponse ¶
func (o *PostPublicTopologyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.