templates

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 templates API

func New

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

New creates a new templates API client.

func (*Client) DeleteTemplatesAccountName

func (a *Client) DeleteTemplatesAccountName(params *DeleteTemplatesAccountNameParams) error

DeleteTemplatesAccountName deletes public owned or private template by name

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) DeleteTemplatesID

func (a *Client) DeleteTemplatesID(params *DeleteTemplatesIDParams) error

DeleteTemplatesID deletes template 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) DeleteTemplatesUserName

func (a *Client) DeleteTemplatesUserName(params *DeleteTemplatesUserNameParams) error

DeleteTemplatesUserName deletes private template by name

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) GetTemplatesAccount

func (a *Client) GetTemplatesAccount(params *GetTemplatesAccountParams) (*GetTemplatesAccountOK, error)

GetTemplatesAccount retrieves public and private owned templates

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) GetTemplatesAccountName

func (a *Client) GetTemplatesAccountName(params *GetTemplatesAccountNameParams) (*GetTemplatesAccountNameOK, error)

GetTemplatesAccountName retrieves a public or private owned template by name

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) GetTemplatesID

func (a *Client) GetTemplatesID(params *GetTemplatesIDParams) (*GetTemplatesIDOK, error)

GetTemplatesID retrieves template 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) GetTemplatesUser

func (a *Client) GetTemplatesUser(params *GetTemplatesUserParams) (*GetTemplatesUserOK, error)

GetTemplatesUser retrieves private templates

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) GetTemplatesUserName

func (a *Client) GetTemplatesUserName(params *GetTemplatesUserNameParams) (*GetTemplatesUserNameOK, error)

GetTemplatesUserName retrieves a private template by name

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) PostTemplatesAccount

func (a *Client) PostTemplatesAccount(params *PostTemplatesAccountParams) (*PostTemplatesAccountOK, error)

PostTemplatesAccount creates template as public resource

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) PostTemplatesUser

func (a *Client) PostTemplatesUser(params *PostTemplatesUserParams) (*PostTemplatesUserOK, error)

PostTemplatesUser creates template as private resource

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) SetTransport

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

SetTransport changes the transport on the client

type DeleteTemplatesAccountNameDefault

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

DeleteTemplatesAccountNameDefault handles this case with default header values.

successful operation

func NewDeleteTemplatesAccountNameDefault

func NewDeleteTemplatesAccountNameDefault(code int) *DeleteTemplatesAccountNameDefault

NewDeleteTemplatesAccountNameDefault creates a DeleteTemplatesAccountNameDefault with default headers values

func (*DeleteTemplatesAccountNameDefault) Code

Code gets the status code for the delete templates account name default response

func (*DeleteTemplatesAccountNameDefault) Error

type DeleteTemplatesAccountNameParams

type DeleteTemplatesAccountNameParams struct {

	/*Name*/
	Name string
}

DeleteTemplatesAccountNameParams contains all the parameters to send to the API endpoint for the delete templates account name operation typically these are written to a http.Request

func NewDeleteTemplatesAccountNameParams

func NewDeleteTemplatesAccountNameParams() *DeleteTemplatesAccountNameParams

NewDeleteTemplatesAccountNameParams creates a new DeleteTemplatesAccountNameParams object with the default values initialized.

func (*DeleteTemplatesAccountNameParams) WithName

WithName adds the name to the delete templates account name params

func (*DeleteTemplatesAccountNameParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteTemplatesAccountNameReader

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

DeleteTemplatesAccountNameReader is a Reader for the DeleteTemplatesAccountName structure.

func (*DeleteTemplatesAccountNameReader) ReadResponse

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

ReadResponse reads a server response into the recieved o.

type DeleteTemplatesIDDefault

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

DeleteTemplatesIDDefault handles this case with default header values.

successful operation

func NewDeleteTemplatesIDDefault

func NewDeleteTemplatesIDDefault(code int) *DeleteTemplatesIDDefault

NewDeleteTemplatesIDDefault creates a DeleteTemplatesIDDefault with default headers values

func (*DeleteTemplatesIDDefault) Code

func (o *DeleteTemplatesIDDefault) Code() int

Code gets the status code for the delete templates ID default response

func (*DeleteTemplatesIDDefault) Error

func (o *DeleteTemplatesIDDefault) Error() string

type DeleteTemplatesIDParams

type DeleteTemplatesIDParams struct {

	/*ID*/
	ID int64
}

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

func NewDeleteTemplatesIDParams

func NewDeleteTemplatesIDParams() *DeleteTemplatesIDParams

NewDeleteTemplatesIDParams creates a new DeleteTemplatesIDParams object with the default values initialized.

func (*DeleteTemplatesIDParams) WithID

WithID adds the id to the delete templates ID params

func (*DeleteTemplatesIDParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DeleteTemplatesIDReader

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

DeleteTemplatesIDReader is a Reader for the DeleteTemplatesID structure.

func (*DeleteTemplatesIDReader) ReadResponse

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

ReadResponse reads a server response into the recieved o.

type DeleteTemplatesUserNameDefault

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

DeleteTemplatesUserNameDefault handles this case with default header values.

successful operation

func NewDeleteTemplatesUserNameDefault

func NewDeleteTemplatesUserNameDefault(code int) *DeleteTemplatesUserNameDefault

NewDeleteTemplatesUserNameDefault creates a DeleteTemplatesUserNameDefault with default headers values

func (*DeleteTemplatesUserNameDefault) Code

Code gets the status code for the delete templates user name default response

func (*DeleteTemplatesUserNameDefault) Error

type DeleteTemplatesUserNameParams

type DeleteTemplatesUserNameParams struct {

	/*Name*/
	Name string
}

DeleteTemplatesUserNameParams contains all the parameters to send to the API endpoint for the delete templates user name operation typically these are written to a http.Request

func NewDeleteTemplatesUserNameParams

func NewDeleteTemplatesUserNameParams() *DeleteTemplatesUserNameParams

NewDeleteTemplatesUserNameParams creates a new DeleteTemplatesUserNameParams object with the default values initialized.

func (*DeleteTemplatesUserNameParams) WithName

WithName adds the name to the delete templates user name params

func (*DeleteTemplatesUserNameParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteTemplatesUserNameReader

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

DeleteTemplatesUserNameReader is a Reader for the DeleteTemplatesUserName structure.

func (*DeleteTemplatesUserNameReader) ReadResponse

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

ReadResponse reads a server response into the recieved o.

type GetTemplatesAccountNameOK

type GetTemplatesAccountNameOK struct {
	Payload *models.TemplateResponse
}

GetTemplatesAccountNameOK handles this case with default header values.

successful operation

func NewGetTemplatesAccountNameOK

func NewGetTemplatesAccountNameOK() *GetTemplatesAccountNameOK

NewGetTemplatesAccountNameOK creates a GetTemplatesAccountNameOK with default headers values

func (*GetTemplatesAccountNameOK) Error

func (o *GetTemplatesAccountNameOK) Error() string

type GetTemplatesAccountNameParams

type GetTemplatesAccountNameParams struct {

	/*Name*/
	Name string
}

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

func NewGetTemplatesAccountNameParams

func NewGetTemplatesAccountNameParams() *GetTemplatesAccountNameParams

NewGetTemplatesAccountNameParams creates a new GetTemplatesAccountNameParams object with the default values initialized.

func (*GetTemplatesAccountNameParams) WithName

WithName adds the name to the get templates account name params

func (*GetTemplatesAccountNameParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetTemplatesAccountNameReader

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

GetTemplatesAccountNameReader is a Reader for the GetTemplatesAccountName structure.

func (*GetTemplatesAccountNameReader) ReadResponse

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

ReadResponse reads a server response into the recieved o.

type GetTemplatesAccountOK

type GetTemplatesAccountOK struct {
	Payload []*models.TemplateResponse
}

GetTemplatesAccountOK handles this case with default header values.

successful operation

func NewGetTemplatesAccountOK

func NewGetTemplatesAccountOK() *GetTemplatesAccountOK

NewGetTemplatesAccountOK creates a GetTemplatesAccountOK with default headers values

func (*GetTemplatesAccountOK) Error

func (o *GetTemplatesAccountOK) Error() string

type GetTemplatesAccountParams

type GetTemplatesAccountParams struct {
}

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

func NewGetTemplatesAccountParams

func NewGetTemplatesAccountParams() *GetTemplatesAccountParams

NewGetTemplatesAccountParams creates a new GetTemplatesAccountParams object with the default values initialized.

func (*GetTemplatesAccountParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetTemplatesAccountReader

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

GetTemplatesAccountReader is a Reader for the GetTemplatesAccount structure.

func (*GetTemplatesAccountReader) ReadResponse

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

ReadResponse reads a server response into the recieved o.

type GetTemplatesIDOK

type GetTemplatesIDOK struct {
	Payload *models.TemplateResponse
}

GetTemplatesIDOK handles this case with default header values.

successful operation

func NewGetTemplatesIDOK

func NewGetTemplatesIDOK() *GetTemplatesIDOK

NewGetTemplatesIDOK creates a GetTemplatesIDOK with default headers values

func (*GetTemplatesIDOK) Error

func (o *GetTemplatesIDOK) Error() string

type GetTemplatesIDParams

type GetTemplatesIDParams struct {

	/*ID*/
	ID int64
}

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

func NewGetTemplatesIDParams

func NewGetTemplatesIDParams() *GetTemplatesIDParams

NewGetTemplatesIDParams creates a new GetTemplatesIDParams object with the default values initialized.

func (*GetTemplatesIDParams) WithID

WithID adds the id to the get templates ID params

func (*GetTemplatesIDParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetTemplatesIDReader

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

GetTemplatesIDReader is a Reader for the GetTemplatesID structure.

func (*GetTemplatesIDReader) ReadResponse

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

ReadResponse reads a server response into the recieved o.

type GetTemplatesUserNameOK

type GetTemplatesUserNameOK struct {
	Payload *models.TemplateResponse
}

GetTemplatesUserNameOK handles this case with default header values.

successful operation

func NewGetTemplatesUserNameOK

func NewGetTemplatesUserNameOK() *GetTemplatesUserNameOK

NewGetTemplatesUserNameOK creates a GetTemplatesUserNameOK with default headers values

func (*GetTemplatesUserNameOK) Error

func (o *GetTemplatesUserNameOK) Error() string

type GetTemplatesUserNameParams

type GetTemplatesUserNameParams struct {

	/*Name*/
	Name string
}

GetTemplatesUserNameParams contains all the parameters to send to the API endpoint for the get templates user name operation typically these are written to a http.Request

func NewGetTemplatesUserNameParams

func NewGetTemplatesUserNameParams() *GetTemplatesUserNameParams

NewGetTemplatesUserNameParams creates a new GetTemplatesUserNameParams object with the default values initialized.

func (*GetTemplatesUserNameParams) WithName

WithName adds the name to the get templates user name params

func (*GetTemplatesUserNameParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetTemplatesUserNameReader

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

GetTemplatesUserNameReader is a Reader for the GetTemplatesUserName structure.

func (*GetTemplatesUserNameReader) ReadResponse

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

ReadResponse reads a server response into the recieved o.

type GetTemplatesUserOK

type GetTemplatesUserOK struct {
	Payload []*models.TemplateResponse
}

GetTemplatesUserOK handles this case with default header values.

successful operation

func NewGetTemplatesUserOK

func NewGetTemplatesUserOK() *GetTemplatesUserOK

NewGetTemplatesUserOK creates a GetTemplatesUserOK with default headers values

func (*GetTemplatesUserOK) Error

func (o *GetTemplatesUserOK) Error() string

type GetTemplatesUserParams

type GetTemplatesUserParams struct {
}

GetTemplatesUserParams contains all the parameters to send to the API endpoint for the get templates user operation typically these are written to a http.Request

func NewGetTemplatesUserParams

func NewGetTemplatesUserParams() *GetTemplatesUserParams

NewGetTemplatesUserParams creates a new GetTemplatesUserParams object with the default values initialized.

func (*GetTemplatesUserParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetTemplatesUserReader

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

GetTemplatesUserReader is a Reader for the GetTemplatesUser structure.

func (*GetTemplatesUserReader) ReadResponse

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

ReadResponse reads a server response into the recieved o.

type PostTemplatesAccountOK

type PostTemplatesAccountOK struct {
	Payload *models.ID
}

PostTemplatesAccountOK handles this case with default header values.

successful operation

func NewPostTemplatesAccountOK

func NewPostTemplatesAccountOK() *PostTemplatesAccountOK

NewPostTemplatesAccountOK creates a PostTemplatesAccountOK with default headers values

func (*PostTemplatesAccountOK) Error

func (o *PostTemplatesAccountOK) Error() string

type PostTemplatesAccountParams

type PostTemplatesAccountParams struct {

	/*Body*/
	Body *models.TemplateRequest
}

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

func NewPostTemplatesAccountParams

func NewPostTemplatesAccountParams() *PostTemplatesAccountParams

NewPostTemplatesAccountParams creates a new PostTemplatesAccountParams object with the default values initialized.

func (*PostTemplatesAccountParams) WithBody

WithBody adds the body to the post templates account params

func (*PostTemplatesAccountParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type PostTemplatesAccountReader

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

PostTemplatesAccountReader is a Reader for the PostTemplatesAccount structure.

func (*PostTemplatesAccountReader) ReadResponse

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

ReadResponse reads a server response into the recieved o.

type PostTemplatesUserOK

type PostTemplatesUserOK struct {
	Payload *models.ID
}

PostTemplatesUserOK handles this case with default header values.

successful operation

func NewPostTemplatesUserOK

func NewPostTemplatesUserOK() *PostTemplatesUserOK

NewPostTemplatesUserOK creates a PostTemplatesUserOK with default headers values

func (*PostTemplatesUserOK) Error

func (o *PostTemplatesUserOK) Error() string

type PostTemplatesUserParams

type PostTemplatesUserParams struct {

	/*Body*/
	Body *models.TemplateRequest
}

PostTemplatesUserParams contains all the parameters to send to the API endpoint for the post templates user operation typically these are written to a http.Request

func NewPostTemplatesUserParams

func NewPostTemplatesUserParams() *PostTemplatesUserParams

NewPostTemplatesUserParams creates a new PostTemplatesUserParams object with the default values initialized.

func (*PostTemplatesUserParams) WithBody

WithBody adds the body to the post templates user params

func (*PostTemplatesUserParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type PostTemplatesUserReader

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

PostTemplatesUserReader is a Reader for the PostTemplatesUser structure.

func (*PostTemplatesUserReader) ReadResponse

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