credentials

package
v1.5.0 Latest Latest
Warning

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

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

func New

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

New creates a new credentials API client.

func (*Client) DeleteCredentialsAccountName

func (a *Client) DeleteCredentialsAccountName(params *DeleteCredentialsAccountNameParams) error

DeleteCredentialsAccountName deletes public owned or private credential by name

Cloudbreak is launching Hadoop clusters on the user's behalf - on different cloud providers. One key point is that Cloudbreak does not store your Cloud provider account details (such as username, password, keys, private SSL certificates, etc). We work around the concept that Identity and Access Management is fully controlled by you - the end user. The Cloudbreak deployer is purely acting on behalf of the end user - without having access to the user's account.

func (*Client) DeleteCredentialsID

func (a *Client) DeleteCredentialsID(params *DeleteCredentialsIDParams) error

DeleteCredentialsID deletes credential by id

Cloudbreak is launching Hadoop clusters on the user's behalf - on different cloud providers. One key point is that Cloudbreak does not store your Cloud provider account details (such as username, password, keys, private SSL certificates, etc). We work around the concept that Identity and Access Management is fully controlled by you - the end user. The Cloudbreak deployer is purely acting on behalf of the end user - without having access to the user's account.

func (*Client) DeleteCredentialsUserName

func (a *Client) DeleteCredentialsUserName(params *DeleteCredentialsUserNameParams) error

DeleteCredentialsUserName deletes private credential by name

Cloudbreak is launching Hadoop clusters on the user's behalf - on different cloud providers. One key point is that Cloudbreak does not store your Cloud provider account details (such as username, password, keys, private SSL certificates, etc). We work around the concept that Identity and Access Management is fully controlled by you - the end user. The Cloudbreak deployer is purely acting on behalf of the end user - without having access to the user's account.

func (*Client) GetCredentialsAccount

func (a *Client) GetCredentialsAccount(params *GetCredentialsAccountParams) (*GetCredentialsAccountOK, error)

GetCredentialsAccount retrieves public and private owned credentials

Cloudbreak is launching Hadoop clusters on the user's behalf - on different cloud providers. One key point is that Cloudbreak does not store your Cloud provider account details (such as username, password, keys, private SSL certificates, etc). We work around the concept that Identity and Access Management is fully controlled by you - the end user. The Cloudbreak deployer is purely acting on behalf of the end user - without having access to the user's account.

func (*Client) GetCredentialsAccountName

func (a *Client) GetCredentialsAccountName(params *GetCredentialsAccountNameParams) (*GetCredentialsAccountNameOK, error)

GetCredentialsAccountName retrieves a public or private owned credential by name

Cloudbreak is launching Hadoop clusters on the user's behalf - on different cloud providers. One key point is that Cloudbreak does not store your Cloud provider account details (such as username, password, keys, private SSL certificates, etc). We work around the concept that Identity and Access Management is fully controlled by you - the end user. The Cloudbreak deployer is purely acting on behalf of the end user - without having access to the user's account.

func (*Client) GetCredentialsID

func (a *Client) GetCredentialsID(params *GetCredentialsIDParams) (*GetCredentialsIDOK, error)

GetCredentialsID retrieves credential by id

Cloudbreak is launching Hadoop clusters on the user's behalf - on different cloud providers. One key point is that Cloudbreak does not store your Cloud provider account details (such as username, password, keys, private SSL certificates, etc). We work around the concept that Identity and Access Management is fully controlled by you - the end user. The Cloudbreak deployer is purely acting on behalf of the end user - without having access to the user's account.

func (*Client) GetCredentialsUser

func (a *Client) GetCredentialsUser(params *GetCredentialsUserParams) (*GetCredentialsUserOK, error)

GetCredentialsUser retrieves private credentials

Cloudbreak is launching Hadoop clusters on the user's behalf - on different cloud providers. One key point is that Cloudbreak does not store your Cloud provider account details (such as username, password, keys, private SSL certificates, etc). We work around the concept that Identity and Access Management is fully controlled by you - the end user. The Cloudbreak deployer is purely acting on behalf of the end user - without having access to the user's account.

func (*Client) GetCredentialsUserName

func (a *Client) GetCredentialsUserName(params *GetCredentialsUserNameParams) (*GetCredentialsUserNameOK, error)

GetCredentialsUserName retrieves a private credential by name

Cloudbreak is launching Hadoop clusters on the user's behalf - on different cloud providers. One key point is that Cloudbreak does not store your Cloud provider account details (such as username, password, keys, private SSL certificates, etc). We work around the concept that Identity and Access Management is fully controlled by you - the end user. The Cloudbreak deployer is purely acting on behalf of the end user - without having access to the user's account.

func (*Client) PostCredentialsAccount

func (a *Client) PostCredentialsAccount(params *PostCredentialsAccountParams) (*PostCredentialsAccountOK, error)

PostCredentialsAccount creates credential as public resource

Cloudbreak is launching Hadoop clusters on the user's behalf - on different cloud providers. One key point is that Cloudbreak does not store your Cloud provider account details (such as username, password, keys, private SSL certificates, etc). We work around the concept that Identity and Access Management is fully controlled by you - the end user. The Cloudbreak deployer is purely acting on behalf of the end user - without having access to the user's account.

func (*Client) PostCredentialsUser

func (a *Client) PostCredentialsUser(params *PostCredentialsUserParams) (*PostCredentialsUserOK, error)

PostCredentialsUser creates credential as private resource

Cloudbreak is launching Hadoop clusters on the user's behalf - on different cloud providers. One key point is that Cloudbreak does not store your Cloud provider account details (such as username, password, keys, private SSL certificates, etc). We work around the concept that Identity and Access Management is fully controlled by you - the end user. The Cloudbreak deployer is purely acting on behalf of the end user - without having access to the user's account.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type DeleteCredentialsAccountNameDefault

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

DeleteCredentialsAccountNameDefault handles this case with default header values.

successful operation

func NewDeleteCredentialsAccountNameDefault

func NewDeleteCredentialsAccountNameDefault(code int) *DeleteCredentialsAccountNameDefault

NewDeleteCredentialsAccountNameDefault creates a DeleteCredentialsAccountNameDefault with default headers values

func (*DeleteCredentialsAccountNameDefault) Code

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

func (*DeleteCredentialsAccountNameDefault) Error

type DeleteCredentialsAccountNameParams

type DeleteCredentialsAccountNameParams struct {

	/*Name*/
	Name string
}

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

func NewDeleteCredentialsAccountNameParams

func NewDeleteCredentialsAccountNameParams() *DeleteCredentialsAccountNameParams

NewDeleteCredentialsAccountNameParams creates a new DeleteCredentialsAccountNameParams object with the default values initialized.

func (*DeleteCredentialsAccountNameParams) WithName

WithName adds the name to the delete credentials account name params

func (*DeleteCredentialsAccountNameParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteCredentialsAccountNameReader

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

DeleteCredentialsAccountNameReader is a Reader for the DeleteCredentialsAccountName structure.

func (*DeleteCredentialsAccountNameReader) ReadResponse

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

ReadResponse reads a server response into the recieved o.

type DeleteCredentialsIDDefault

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

DeleteCredentialsIDDefault handles this case with default header values.

successful operation

func NewDeleteCredentialsIDDefault

func NewDeleteCredentialsIDDefault(code int) *DeleteCredentialsIDDefault

NewDeleteCredentialsIDDefault creates a DeleteCredentialsIDDefault with default headers values

func (*DeleteCredentialsIDDefault) Code

func (o *DeleteCredentialsIDDefault) Code() int

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

func (*DeleteCredentialsIDDefault) Error

type DeleteCredentialsIDParams

type DeleteCredentialsIDParams struct {

	/*ID*/
	ID int64
}

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

func NewDeleteCredentialsIDParams

func NewDeleteCredentialsIDParams() *DeleteCredentialsIDParams

NewDeleteCredentialsIDParams creates a new DeleteCredentialsIDParams object with the default values initialized.

func (*DeleteCredentialsIDParams) WithID

WithID adds the id to the delete credentials ID params

func (*DeleteCredentialsIDParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DeleteCredentialsIDReader

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

DeleteCredentialsIDReader is a Reader for the DeleteCredentialsID structure.

func (*DeleteCredentialsIDReader) ReadResponse

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

ReadResponse reads a server response into the recieved o.

type DeleteCredentialsUserNameDefault

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

DeleteCredentialsUserNameDefault handles this case with default header values.

successful operation

func NewDeleteCredentialsUserNameDefault

func NewDeleteCredentialsUserNameDefault(code int) *DeleteCredentialsUserNameDefault

NewDeleteCredentialsUserNameDefault creates a DeleteCredentialsUserNameDefault with default headers values

func (*DeleteCredentialsUserNameDefault) Code

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

func (*DeleteCredentialsUserNameDefault) Error

type DeleteCredentialsUserNameParams

type DeleteCredentialsUserNameParams struct {

	/*Name*/
	Name string
}

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

func NewDeleteCredentialsUserNameParams

func NewDeleteCredentialsUserNameParams() *DeleteCredentialsUserNameParams

NewDeleteCredentialsUserNameParams creates a new DeleteCredentialsUserNameParams object with the default values initialized.

func (*DeleteCredentialsUserNameParams) WithName

WithName adds the name to the delete credentials user name params

func (*DeleteCredentialsUserNameParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteCredentialsUserNameReader

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

DeleteCredentialsUserNameReader is a Reader for the DeleteCredentialsUserName structure.

func (*DeleteCredentialsUserNameReader) ReadResponse

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

ReadResponse reads a server response into the recieved o.

type GetCredentialsAccountNameOK

type GetCredentialsAccountNameOK struct {
	Payload *models.CredentialResponse
}

GetCredentialsAccountNameOK handles this case with default header values.

successful operation

func NewGetCredentialsAccountNameOK

func NewGetCredentialsAccountNameOK() *GetCredentialsAccountNameOK

NewGetCredentialsAccountNameOK creates a GetCredentialsAccountNameOK with default headers values

func (*GetCredentialsAccountNameOK) Error

type GetCredentialsAccountNameParams

type GetCredentialsAccountNameParams struct {

	/*Name*/
	Name string
}

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

func NewGetCredentialsAccountNameParams

func NewGetCredentialsAccountNameParams() *GetCredentialsAccountNameParams

NewGetCredentialsAccountNameParams creates a new GetCredentialsAccountNameParams object with the default values initialized.

func (*GetCredentialsAccountNameParams) WithName

WithName adds the name to the get credentials account name params

func (*GetCredentialsAccountNameParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetCredentialsAccountNameReader

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

GetCredentialsAccountNameReader is a Reader for the GetCredentialsAccountName structure.

func (*GetCredentialsAccountNameReader) ReadResponse

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

ReadResponse reads a server response into the recieved o.

type GetCredentialsAccountOK

type GetCredentialsAccountOK struct {
	Payload []*models.CredentialResponse
}

GetCredentialsAccountOK handles this case with default header values.

successful operation

func NewGetCredentialsAccountOK

func NewGetCredentialsAccountOK() *GetCredentialsAccountOK

NewGetCredentialsAccountOK creates a GetCredentialsAccountOK with default headers values

func (*GetCredentialsAccountOK) Error

func (o *GetCredentialsAccountOK) Error() string

type GetCredentialsAccountParams

type GetCredentialsAccountParams struct {
}

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

func NewGetCredentialsAccountParams

func NewGetCredentialsAccountParams() *GetCredentialsAccountParams

NewGetCredentialsAccountParams creates a new GetCredentialsAccountParams object with the default values initialized.

func (*GetCredentialsAccountParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetCredentialsAccountReader

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

GetCredentialsAccountReader is a Reader for the GetCredentialsAccount structure.

func (*GetCredentialsAccountReader) ReadResponse

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

ReadResponse reads a server response into the recieved o.

type GetCredentialsIDOK

type GetCredentialsIDOK struct {
	Payload *models.CredentialResponse
}

GetCredentialsIDOK handles this case with default header values.

successful operation

func NewGetCredentialsIDOK

func NewGetCredentialsIDOK() *GetCredentialsIDOK

NewGetCredentialsIDOK creates a GetCredentialsIDOK with default headers values

func (*GetCredentialsIDOK) Error

func (o *GetCredentialsIDOK) Error() string

type GetCredentialsIDParams

type GetCredentialsIDParams struct {

	/*ID*/
	ID int64
}

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

func NewGetCredentialsIDParams

func NewGetCredentialsIDParams() *GetCredentialsIDParams

NewGetCredentialsIDParams creates a new GetCredentialsIDParams object with the default values initialized.

func (*GetCredentialsIDParams) WithID

WithID adds the id to the get credentials ID params

func (*GetCredentialsIDParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetCredentialsIDReader

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

GetCredentialsIDReader is a Reader for the GetCredentialsID structure.

func (*GetCredentialsIDReader) ReadResponse

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

ReadResponse reads a server response into the recieved o.

type GetCredentialsUserNameOK

type GetCredentialsUserNameOK struct {
	Payload *models.CredentialResponse
}

GetCredentialsUserNameOK handles this case with default header values.

successful operation

func NewGetCredentialsUserNameOK

func NewGetCredentialsUserNameOK() *GetCredentialsUserNameOK

NewGetCredentialsUserNameOK creates a GetCredentialsUserNameOK with default headers values

func (*GetCredentialsUserNameOK) Error

func (o *GetCredentialsUserNameOK) Error() string

type GetCredentialsUserNameParams

type GetCredentialsUserNameParams struct {

	/*Name*/
	Name string
}

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

func NewGetCredentialsUserNameParams

func NewGetCredentialsUserNameParams() *GetCredentialsUserNameParams

NewGetCredentialsUserNameParams creates a new GetCredentialsUserNameParams object with the default values initialized.

func (*GetCredentialsUserNameParams) WithName

WithName adds the name to the get credentials user name params

func (*GetCredentialsUserNameParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetCredentialsUserNameReader

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

GetCredentialsUserNameReader is a Reader for the GetCredentialsUserName structure.

func (*GetCredentialsUserNameReader) ReadResponse

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

ReadResponse reads a server response into the recieved o.

type GetCredentialsUserOK

type GetCredentialsUserOK struct {
	Payload []*models.CredentialResponse
}

GetCredentialsUserOK handles this case with default header values.

successful operation

func NewGetCredentialsUserOK

func NewGetCredentialsUserOK() *GetCredentialsUserOK

NewGetCredentialsUserOK creates a GetCredentialsUserOK with default headers values

func (*GetCredentialsUserOK) Error

func (o *GetCredentialsUserOK) Error() string

type GetCredentialsUserParams

type GetCredentialsUserParams struct {
}

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

func NewGetCredentialsUserParams

func NewGetCredentialsUserParams() *GetCredentialsUserParams

NewGetCredentialsUserParams creates a new GetCredentialsUserParams object with the default values initialized.

func (*GetCredentialsUserParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetCredentialsUserReader

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

GetCredentialsUserReader is a Reader for the GetCredentialsUser structure.

func (*GetCredentialsUserReader) ReadResponse

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

ReadResponse reads a server response into the recieved o.

type PostCredentialsAccountOK

type PostCredentialsAccountOK struct {
	Payload *models.ID
}

PostCredentialsAccountOK handles this case with default header values.

successful operation

func NewPostCredentialsAccountOK

func NewPostCredentialsAccountOK() *PostCredentialsAccountOK

NewPostCredentialsAccountOK creates a PostCredentialsAccountOK with default headers values

func (*PostCredentialsAccountOK) Error

func (o *PostCredentialsAccountOK) Error() string

type PostCredentialsAccountParams

type PostCredentialsAccountParams struct {

	/*Body*/
	Body *models.CredentialRequest
}

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

func NewPostCredentialsAccountParams

func NewPostCredentialsAccountParams() *PostCredentialsAccountParams

NewPostCredentialsAccountParams creates a new PostCredentialsAccountParams object with the default values initialized.

func (*PostCredentialsAccountParams) WithBody

WithBody adds the body to the post credentials account params

func (*PostCredentialsAccountParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type PostCredentialsAccountReader

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

PostCredentialsAccountReader is a Reader for the PostCredentialsAccount structure.

func (*PostCredentialsAccountReader) ReadResponse

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

ReadResponse reads a server response into the recieved o.

type PostCredentialsUserOK

type PostCredentialsUserOK struct {
	Payload *models.ID
}

PostCredentialsUserOK handles this case with default header values.

successful operation

func NewPostCredentialsUserOK

func NewPostCredentialsUserOK() *PostCredentialsUserOK

NewPostCredentialsUserOK creates a PostCredentialsUserOK with default headers values

func (*PostCredentialsUserOK) Error

func (o *PostCredentialsUserOK) Error() string

type PostCredentialsUserParams

type PostCredentialsUserParams struct {

	/*Body*/
	Body *models.CredentialRequest
}

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

func NewPostCredentialsUserParams

func NewPostCredentialsUserParams() *PostCredentialsUserParams

NewPostCredentialsUserParams creates a new PostCredentialsUserParams object with the default values initialized.

func (*PostCredentialsUserParams) WithBody

WithBody adds the body to the post credentials user params

func (*PostCredentialsUserParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type PostCredentialsUserReader

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

PostCredentialsUserReader is a Reader for the PostCredentialsUser structure.

func (*PostCredentialsUserReader) ReadResponse

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