Documentation ¶
Index ¶
- type Client
- func (a *Client) Delete(params *DeleteParams) error
- func (a *Client) DeletePrivate(params *DeletePrivateParams) error
- func (a *Client) DeletePublic(params *DeletePublicParams) error
- func (a *Client) GetBlueprintsID(params *GetBlueprintsIDParams) (*GetBlueprintsIDOK, error)
- func (a *Client) GetPrivate(params *GetPrivateParams) (*GetPrivateOK, error)
- func (a *Client) GetPrivates(params *GetPrivatesParams) (*GetPrivatesOK, error)
- func (a *Client) GetPublic(params *GetPublicParams) (*GetPublicOK, error)
- func (a *Client) GetPublics(params *GetPublicsParams) (*GetPublicsOK, error)
- func (a *Client) PostPrivate(params *PostPrivateParams) (*PostPrivateOK, error)
- func (a *Client) PostPublic(params *PostPublicParams) (*PostPublicOK, error)
- func (a *Client) SetTransport(transport client.Transport)
- type DeleteDefault
- type DeleteParams
- type DeletePrivateDefault
- type DeletePrivateParams
- type DeletePrivateReader
- type DeletePublicDefault
- type DeletePublicParams
- type DeletePublicReader
- type DeleteReader
- type GetBlueprintsIDOK
- type GetBlueprintsIDParams
- type GetBlueprintsIDReader
- type GetPrivateOK
- type GetPrivateParams
- type GetPrivateReader
- type GetPrivatesOK
- type GetPrivatesParams
- type GetPrivatesReader
- type GetPublicOK
- type GetPublicParams
- type GetPublicReader
- type GetPublicsOK
- type GetPublicsParams
- type GetPublicsReader
- type PostPrivateOK
- type PostPrivateParams
- type PostPrivateReader
- type PostPublicOK
- type PostPublicParams
- type PostPublicReader
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 blueprints API
func (*Client) Delete ¶
func (a *Client) Delete(params *DeleteParams) error
Delete deletes blueprint by id
Ambari Blueprints are a declarative definition of a Hadoop cluster. With a Blueprint, you specify a stack, the component layout and the configurations to materialize a Hadoop cluster instance. Hostgroups defined in blueprints can be associated to different templates, thus you can spin up a highly available cluster running on different instance types. This will give you the option to group your Hadoop services based on resource needs (e.g. high I/O, CPU or memory) and create an infrastructure which fits your workload best.
func (*Client) DeletePrivate ¶
func (a *Client) DeletePrivate(params *DeletePrivateParams) error
DeletePrivate deletes private blueprint by name
Ambari Blueprints are a declarative definition of a Hadoop cluster. With a Blueprint, you specify a stack, the component layout and the configurations to materialize a Hadoop cluster instance. Hostgroups defined in blueprints can be associated to different templates, thus you can spin up a highly available cluster running on different instance types. This will give you the option to group your Hadoop services based on resource needs (e.g. high I/O, CPU or memory) and create an infrastructure which fits your workload best.
func (*Client) DeletePublic ¶
func (a *Client) DeletePublic(params *DeletePublicParams) error
DeletePublic deletes public owned or private blueprint by name
Ambari Blueprints are a declarative definition of a Hadoop cluster. With a Blueprint, you specify a stack, the component layout and the configurations to materialize a Hadoop cluster instance. Hostgroups defined in blueprints can be associated to different templates, thus you can spin up a highly available cluster running on different instance types. This will give you the option to group your Hadoop services based on resource needs (e.g. high I/O, CPU or memory) and create an infrastructure which fits your workload best.
func (*Client) GetBlueprintsID ¶
func (a *Client) GetBlueprintsID(params *GetBlueprintsIDParams) (*GetBlueprintsIDOK, error)
GetBlueprintsID retrieves blueprint by id
Ambari Blueprints are a declarative definition of a Hadoop cluster. With a Blueprint, you specify a stack, the component layout and the configurations to materialize a Hadoop cluster instance. Hostgroups defined in blueprints can be associated to different templates, thus you can spin up a highly available cluster running on different instance types. This will give you the option to group your Hadoop services based on resource needs (e.g. high I/O, CPU or memory) and create an infrastructure which fits your workload best.
func (*Client) GetPrivate ¶
func (a *Client) GetPrivate(params *GetPrivateParams) (*GetPrivateOK, error)
GetPrivate retrieves a private blueprint by name
Ambari Blueprints are a declarative definition of a Hadoop cluster. With a Blueprint, you specify a stack, the component layout and the configurations to materialize a Hadoop cluster instance. Hostgroups defined in blueprints can be associated to different templates, thus you can spin up a highly available cluster running on different instance types. This will give you the option to group your Hadoop services based on resource needs (e.g. high I/O, CPU or memory) and create an infrastructure which fits your workload best.
func (*Client) GetPrivates ¶
func (a *Client) GetPrivates(params *GetPrivatesParams) (*GetPrivatesOK, error)
GetPrivates retrieves private blueprints
Ambari Blueprints are a declarative definition of a Hadoop cluster. With a Blueprint, you specify a stack, the component layout and the configurations to materialize a Hadoop cluster instance. Hostgroups defined in blueprints can be associated to different templates, thus you can spin up a highly available cluster running on different instance types. This will give you the option to group your Hadoop services based on resource needs (e.g. high I/O, CPU or memory) and create an infrastructure which fits your workload best.
func (*Client) GetPublic ¶
func (a *Client) GetPublic(params *GetPublicParams) (*GetPublicOK, error)
GetPublic retrieves a public or private owned blueprint by name
Ambari Blueprints are a declarative definition of a Hadoop cluster. With a Blueprint, you specify a stack, the component layout and the configurations to materialize a Hadoop cluster instance. Hostgroups defined in blueprints can be associated to different templates, thus you can spin up a highly available cluster running on different instance types. This will give you the option to group your Hadoop services based on resource needs (e.g. high I/O, CPU or memory) and create an infrastructure which fits your workload best.
func (*Client) GetPublics ¶
func (a *Client) GetPublics(params *GetPublicsParams) (*GetPublicsOK, error)
GetPublics retrieves public and private owned blueprints
Ambari Blueprints are a declarative definition of a Hadoop cluster. With a Blueprint, you specify a stack, the component layout and the configurations to materialize a Hadoop cluster instance. Hostgroups defined in blueprints can be associated to different templates, thus you can spin up a highly available cluster running on different instance types. This will give you the option to group your Hadoop services based on resource needs (e.g. high I/O, CPU or memory) and create an infrastructure which fits your workload best.
func (*Client) PostPrivate ¶
func (a *Client) PostPrivate(params *PostPrivateParams) (*PostPrivateOK, error)
PostPrivate creates blueprint as private resource
Ambari Blueprints are a declarative definition of a Hadoop cluster. With a Blueprint, you specify a stack, the component layout and the configurations to materialize a Hadoop cluster instance. Hostgroups defined in blueprints can be associated to different templates, thus you can spin up a highly available cluster running on different instance types. This will give you the option to group your Hadoop services based on resource needs (e.g. high I/O, CPU or memory) and create an infrastructure which fits your workload best.
func (*Client) PostPublic ¶
func (a *Client) PostPublic(params *PostPublicParams) (*PostPublicOK, error)
PostPublic creates blueprint as public resource
Ambari Blueprints are a declarative definition of a Hadoop cluster. With a Blueprint, you specify a stack, the component layout and the configurations to materialize a Hadoop cluster instance. Hostgroups defined in blueprints can be associated to different templates, thus you can spin up a highly available cluster running on different instance types. This will give you the option to group your Hadoop services based on resource needs (e.g. high I/O, CPU or memory) and create an infrastructure which fits your workload best.
func (*Client) SetTransport ¶
SetTransport changes the transport on the client
type DeleteDefault ¶
type DeleteDefault struct {
// contains filtered or unexported fields
}
DeleteDefault handles this case with default header values.
successful operation
func NewDeleteDefault ¶
func NewDeleteDefault(code int) *DeleteDefault
NewDeleteDefault creates a DeleteDefault with default headers values
func (*DeleteDefault) Code ¶
func (o *DeleteDefault) Code() int
Code gets the status code for the delete default response
func (*DeleteDefault) Error ¶
func (o *DeleteDefault) Error() string
type DeleteParams ¶
type DeleteParams struct { /*ID*/ ID int64 }
DeleteParams contains all the parameters to send to the API endpoint for the delete operation typically these are written to a http.Request
func NewDeleteParams ¶
func NewDeleteParams() *DeleteParams
NewDeleteParams creates a new DeleteParams object with the default values initialized.
func (*DeleteParams) WithID ¶
func (o *DeleteParams) WithID(id int64) *DeleteParams
WithID adds the id to the delete params
func (*DeleteParams) WriteToRequest ¶
WriteToRequest writes these params to a swagger request
type DeletePrivateDefault ¶
type DeletePrivateDefault struct {
// contains filtered or unexported fields
}
DeletePrivateDefault handles this case with default header values.
successful operation
func NewDeletePrivateDefault ¶
func NewDeletePrivateDefault(code int) *DeletePrivateDefault
NewDeletePrivateDefault creates a DeletePrivateDefault with default headers values
func (*DeletePrivateDefault) Code ¶
func (o *DeletePrivateDefault) Code() int
Code gets the status code for the delete private default response
func (*DeletePrivateDefault) Error ¶
func (o *DeletePrivateDefault) Error() string
type DeletePrivateParams ¶
type DeletePrivateParams struct { /*Name*/ Name string }
DeletePrivateParams contains all the parameters to send to the API endpoint for the delete private operation typically these are written to a http.Request
func NewDeletePrivateParams ¶
func NewDeletePrivateParams() *DeletePrivateParams
NewDeletePrivateParams creates a new DeletePrivateParams object with the default values initialized.
func (*DeletePrivateParams) WithName ¶
func (o *DeletePrivateParams) WithName(name string) *DeletePrivateParams
WithName adds the name to the delete private params
func (*DeletePrivateParams) WriteToRequest ¶
WriteToRequest writes these params to a swagger request
type DeletePrivateReader ¶
type DeletePrivateReader struct {
// contains filtered or unexported fields
}
DeletePrivateReader is a Reader for the DeletePrivate structure.
func (*DeletePrivateReader) ReadResponse ¶
func (o *DeletePrivateReader) ReadResponse(response client.Response, consumer httpkit.Consumer) (interface{}, error)
ReadResponse reads a server response into the recieved o.
type DeletePublicDefault ¶
type DeletePublicDefault struct {
// contains filtered or unexported fields
}
DeletePublicDefault handles this case with default header values.
successful operation
func NewDeletePublicDefault ¶
func NewDeletePublicDefault(code int) *DeletePublicDefault
NewDeletePublicDefault creates a DeletePublicDefault with default headers values
func (*DeletePublicDefault) Code ¶
func (o *DeletePublicDefault) Code() int
Code gets the status code for the delete public default response
func (*DeletePublicDefault) Error ¶
func (o *DeletePublicDefault) Error() string
type DeletePublicParams ¶
type DeletePublicParams struct { /*Name*/ Name string }
DeletePublicParams contains all the parameters to send to the API endpoint for the delete public operation typically these are written to a http.Request
func NewDeletePublicParams ¶
func NewDeletePublicParams() *DeletePublicParams
NewDeletePublicParams creates a new DeletePublicParams object with the default values initialized.
func (*DeletePublicParams) WithName ¶
func (o *DeletePublicParams) WithName(name string) *DeletePublicParams
WithName adds the name to the delete public params
func (*DeletePublicParams) WriteToRequest ¶
WriteToRequest writes these params to a swagger request
type DeletePublicReader ¶
type DeletePublicReader struct {
// contains filtered or unexported fields
}
DeletePublicReader is a Reader for the DeletePublic structure.
func (*DeletePublicReader) ReadResponse ¶
func (o *DeletePublicReader) ReadResponse(response client.Response, consumer httpkit.Consumer) (interface{}, error)
ReadResponse reads a server response into the recieved o.
type DeleteReader ¶
type DeleteReader struct {
// contains filtered or unexported fields
}
DeleteReader is a Reader for the Delete structure.
func (*DeleteReader) ReadResponse ¶
func (o *DeleteReader) ReadResponse(response client.Response, consumer httpkit.Consumer) (interface{}, error)
ReadResponse reads a server response into the recieved o.
type GetBlueprintsIDOK ¶
type GetBlueprintsIDOK struct {
Payload *models.BlueprintResponse
}
GetBlueprintsIDOK handles this case with default header values.
successful operation
func NewGetBlueprintsIDOK ¶
func NewGetBlueprintsIDOK() *GetBlueprintsIDOK
NewGetBlueprintsIDOK creates a GetBlueprintsIDOK with default headers values
func (*GetBlueprintsIDOK) Error ¶
func (o *GetBlueprintsIDOK) Error() string
type GetBlueprintsIDParams ¶
type GetBlueprintsIDParams struct { /*ID*/ ID int64 }
GetBlueprintsIDParams contains all the parameters to send to the API endpoint for the get blueprints ID operation typically these are written to a http.Request
func NewGetBlueprintsIDParams ¶
func NewGetBlueprintsIDParams() *GetBlueprintsIDParams
NewGetBlueprintsIDParams creates a new GetBlueprintsIDParams object with the default values initialized.
func (*GetBlueprintsIDParams) WithID ¶
func (o *GetBlueprintsIDParams) WithID(id int64) *GetBlueprintsIDParams
WithID adds the id to the get blueprints ID params
func (*GetBlueprintsIDParams) WriteToRequest ¶
WriteToRequest writes these params to a swagger request
type GetBlueprintsIDReader ¶
type GetBlueprintsIDReader struct {
// contains filtered or unexported fields
}
GetBlueprintsIDReader is a Reader for the GetBlueprintsID structure.
func (*GetBlueprintsIDReader) ReadResponse ¶
func (o *GetBlueprintsIDReader) ReadResponse(response client.Response, consumer httpkit.Consumer) (interface{}, error)
ReadResponse reads a server response into the recieved o.
type GetPrivateOK ¶
type GetPrivateOK struct {
Payload *models.BlueprintResponse
}
GetPrivateOK handles this case with default header values.
successful operation
func NewGetPrivateOK ¶
func NewGetPrivateOK() *GetPrivateOK
NewGetPrivateOK creates a GetPrivateOK with default headers values
func (*GetPrivateOK) Error ¶
func (o *GetPrivateOK) Error() string
type GetPrivateParams ¶
type GetPrivateParams struct { /*Name*/ Name string }
GetPrivateParams contains all the parameters to send to the API endpoint for the get private operation typically these are written to a http.Request
func NewGetPrivateParams ¶
func NewGetPrivateParams() *GetPrivateParams
NewGetPrivateParams creates a new GetPrivateParams object with the default values initialized.
func (*GetPrivateParams) WithName ¶
func (o *GetPrivateParams) WithName(name string) *GetPrivateParams
WithName adds the name to the get private params
func (*GetPrivateParams) WriteToRequest ¶
WriteToRequest writes these params to a swagger request
type GetPrivateReader ¶
type GetPrivateReader struct {
// contains filtered or unexported fields
}
GetPrivateReader is a Reader for the GetPrivate structure.
func (*GetPrivateReader) ReadResponse ¶
func (o *GetPrivateReader) ReadResponse(response client.Response, consumer httpkit.Consumer) (interface{}, error)
ReadResponse reads a server response into the recieved o.
type GetPrivatesOK ¶
type GetPrivatesOK struct {
Payload []*models.BlueprintResponse
}
GetPrivatesOK handles this case with default header values.
successful operation
func NewGetPrivatesOK ¶
func NewGetPrivatesOK() *GetPrivatesOK
NewGetPrivatesOK creates a GetPrivatesOK with default headers values
func (*GetPrivatesOK) Error ¶
func (o *GetPrivatesOK) Error() string
type GetPrivatesParams ¶
type GetPrivatesParams struct { }
GetPrivatesParams contains all the parameters to send to the API endpoint for the get privates operation typically these are written to a http.Request
func NewGetPrivatesParams ¶
func NewGetPrivatesParams() *GetPrivatesParams
NewGetPrivatesParams creates a new GetPrivatesParams object with the default values initialized.
func (*GetPrivatesParams) WriteToRequest ¶
WriteToRequest writes these params to a swagger request
type GetPrivatesReader ¶
type GetPrivatesReader struct {
// contains filtered or unexported fields
}
GetPrivatesReader is a Reader for the GetPrivates structure.
func (*GetPrivatesReader) ReadResponse ¶
func (o *GetPrivatesReader) ReadResponse(response client.Response, consumer httpkit.Consumer) (interface{}, error)
ReadResponse reads a server response into the recieved o.
type GetPublicOK ¶
type GetPublicOK struct {
Payload *models.BlueprintResponse
}
GetPublicOK handles this case with default header values.
successful operation
func NewGetPublicOK ¶
func NewGetPublicOK() *GetPublicOK
NewGetPublicOK creates a GetPublicOK with default headers values
func (*GetPublicOK) Error ¶
func (o *GetPublicOK) Error() string
type GetPublicParams ¶
type GetPublicParams struct { /*Name*/ Name string }
GetPublicParams contains all the parameters to send to the API endpoint for the get public operation typically these are written to a http.Request
func NewGetPublicParams ¶
func NewGetPublicParams() *GetPublicParams
NewGetPublicParams creates a new GetPublicParams object with the default values initialized.
func (*GetPublicParams) WithName ¶
func (o *GetPublicParams) WithName(name string) *GetPublicParams
WithName adds the name to the get public params
func (*GetPublicParams) WriteToRequest ¶
WriteToRequest writes these params to a swagger request
type GetPublicReader ¶
type GetPublicReader struct {
// contains filtered or unexported fields
}
GetPublicReader is a Reader for the GetPublic structure.
func (*GetPublicReader) ReadResponse ¶
func (o *GetPublicReader) ReadResponse(response client.Response, consumer httpkit.Consumer) (interface{}, error)
ReadResponse reads a server response into the recieved o.
type GetPublicsOK ¶
type GetPublicsOK struct {
Payload []*models.BlueprintResponse
}
GetPublicsOK handles this case with default header values.
successful operation
func NewGetPublicsOK ¶
func NewGetPublicsOK() *GetPublicsOK
NewGetPublicsOK creates a GetPublicsOK with default headers values
func (*GetPublicsOK) Error ¶
func (o *GetPublicsOK) Error() string
type GetPublicsParams ¶
type GetPublicsParams struct { }
GetPublicsParams contains all the parameters to send to the API endpoint for the get publics operation typically these are written to a http.Request
func NewGetPublicsParams ¶
func NewGetPublicsParams() *GetPublicsParams
NewGetPublicsParams creates a new GetPublicsParams object with the default values initialized.
func (*GetPublicsParams) WriteToRequest ¶
WriteToRequest writes these params to a swagger request
type GetPublicsReader ¶
type GetPublicsReader struct {
// contains filtered or unexported fields
}
GetPublicsReader is a Reader for the GetPublics structure.
func (*GetPublicsReader) ReadResponse ¶
func (o *GetPublicsReader) ReadResponse(response client.Response, consumer httpkit.Consumer) (interface{}, error)
ReadResponse reads a server response into the recieved o.
type PostPrivateOK ¶
PostPrivateOK handles this case with default header values.
successful operation
func NewPostPrivateOK ¶
func NewPostPrivateOK() *PostPrivateOK
NewPostPrivateOK creates a PostPrivateOK with default headers values
func (*PostPrivateOK) Error ¶
func (o *PostPrivateOK) Error() string
type PostPrivateParams ¶
type PostPrivateParams struct { /*Body*/ Body *models.BlueprintRequest }
PostPrivateParams contains all the parameters to send to the API endpoint for the post private operation typically these are written to a http.Request
func NewPostPrivateParams ¶
func NewPostPrivateParams() *PostPrivateParams
NewPostPrivateParams creates a new PostPrivateParams object with the default values initialized.
func (*PostPrivateParams) WithBody ¶
func (o *PostPrivateParams) WithBody(body *models.BlueprintRequest) *PostPrivateParams
WithBody adds the body to the post private params
func (*PostPrivateParams) WriteToRequest ¶
WriteToRequest writes these params to a swagger request
type PostPrivateReader ¶
type PostPrivateReader struct {
// contains filtered or unexported fields
}
PostPrivateReader is a Reader for the PostPrivate structure.
func (*PostPrivateReader) ReadResponse ¶
func (o *PostPrivateReader) ReadResponse(response client.Response, consumer httpkit.Consumer) (interface{}, error)
ReadResponse reads a server response into the recieved o.
type PostPublicOK ¶
PostPublicOK handles this case with default header values.
successful operation
func NewPostPublicOK ¶
func NewPostPublicOK() *PostPublicOK
NewPostPublicOK creates a PostPublicOK with default headers values
func (*PostPublicOK) Error ¶
func (o *PostPublicOK) Error() string
type PostPublicParams ¶
type PostPublicParams struct { /*Body*/ Body *models.BlueprintRequest }
PostPublicParams contains all the parameters to send to the API endpoint for the post public operation typically these are written to a http.Request
func NewPostPublicParams ¶
func NewPostPublicParams() *PostPublicParams
NewPostPublicParams creates a new PostPublicParams object with the default values initialized.
func (*PostPublicParams) WithBody ¶
func (o *PostPublicParams) WithBody(body *models.BlueprintRequest) *PostPublicParams
WithBody adds the body to the post public params
func (*PostPublicParams) WriteToRequest ¶
WriteToRequest writes these params to a swagger request
type PostPublicReader ¶
type PostPublicReader struct {
// contains filtered or unexported fields
}
PostPublicReader is a Reader for the PostPublic structure.
func (*PostPublicReader) ReadResponse ¶
func (o *PostPublicReader) ReadResponse(response client.Response, consumer httpkit.Consumer) (interface{}, error)
ReadResponse reads a server response into the recieved o.
Source Files ¶
- blueprints_client.go
- delete_parameters.go
- delete_private_parameters.go
- delete_private_responses.go
- delete_public_parameters.go
- delete_public_responses.go
- delete_responses.go
- get_blueprints_id_parameters.go
- get_blueprints_id_responses.go
- get_private_parameters.go
- get_private_responses.go
- get_privates_parameters.go
- get_privates_responses.go
- get_public_parameters.go
- get_public_responses.go
- get_publics_parameters.go
- get_publics_responses.go
- post_private_parameters.go
- post_private_responses.go
- post_public_parameters.go
- post_public_responses.go