v3_workspace_id_credentials

package
v2.8.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2018 License: Apache-2.0, BSD-2-Clause Imports: 11 Imported by: 4

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 v3 workspace id credentials API

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client

New creates a new v3 workspace id credentials API client.

func (*Client) CreateCredentialInWorkspace

func (a *Client) CreateCredentialInWorkspace(params *CreateCredentialInWorkspaceParams) (*CreateCredentialInWorkspaceOK, error)

CreateCredentialInWorkspace creates credential in workspace

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

func (a *Client) DeleteCredentialInWorkspace(params *DeleteCredentialInWorkspaceParams) (*DeleteCredentialInWorkspaceOK, error)

DeleteCredentialInWorkspace deletes credential by name in workspace

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

func (a *Client) GetCredentialInWorkspace(params *GetCredentialInWorkspaceParams) (*GetCredentialInWorkspaceOK, error)

GetCredentialInWorkspace gets credential by name in workspace

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

func (a *Client) InteractiveLoginCredentialInWorkspace(params *InteractiveLoginCredentialInWorkspaceParams) (*InteractiveLoginCredentialInWorkspaceOK, error)

InteractiveLoginCredentialInWorkspace interactives login

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

func (a *Client) ListCredentialsByWorkspace(params *ListCredentialsByWorkspaceParams) (*ListCredentialsByWorkspaceOK, error)

ListCredentialsByWorkspace lists credentials for the given workspace

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

func (a *Client) PutCredentialInWorkspace(params *PutCredentialInWorkspaceParams) (*PutCredentialInWorkspaceOK, error)

PutCredentialInWorkspace modifies public credential resource in workspace

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 runtime.ClientTransport)

SetTransport changes the transport on the client

type CreateCredentialInWorkspaceOK

type CreateCredentialInWorkspaceOK struct {
	Payload *models_cloudbreak.CredentialResponse
}

CreateCredentialInWorkspaceOK handles this case with default header values.

successful operation

func NewCreateCredentialInWorkspaceOK

func NewCreateCredentialInWorkspaceOK() *CreateCredentialInWorkspaceOK

NewCreateCredentialInWorkspaceOK creates a CreateCredentialInWorkspaceOK with default headers values

func (*CreateCredentialInWorkspaceOK) Error

type CreateCredentialInWorkspaceParams

type CreateCredentialInWorkspaceParams struct {

	/*Body*/
	Body *models_cloudbreak.CredentialRequest
	/*WorkspaceID*/
	WorkspaceID int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

CreateCredentialInWorkspaceParams contains all the parameters to send to the API endpoint for the create credential in workspace operation typically these are written to a http.Request

func NewCreateCredentialInWorkspaceParams

func NewCreateCredentialInWorkspaceParams() *CreateCredentialInWorkspaceParams

NewCreateCredentialInWorkspaceParams creates a new CreateCredentialInWorkspaceParams object with the default values initialized.

func NewCreateCredentialInWorkspaceParamsWithContext

func NewCreateCredentialInWorkspaceParamsWithContext(ctx context.Context) *CreateCredentialInWorkspaceParams

NewCreateCredentialInWorkspaceParamsWithContext creates a new CreateCredentialInWorkspaceParams object with the default values initialized, and the ability to set a context for a request

func NewCreateCredentialInWorkspaceParamsWithHTTPClient

func NewCreateCredentialInWorkspaceParamsWithHTTPClient(client *http.Client) *CreateCredentialInWorkspaceParams

NewCreateCredentialInWorkspaceParamsWithHTTPClient creates a new CreateCredentialInWorkspaceParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewCreateCredentialInWorkspaceParamsWithTimeout

func NewCreateCredentialInWorkspaceParamsWithTimeout(timeout time.Duration) *CreateCredentialInWorkspaceParams

NewCreateCredentialInWorkspaceParamsWithTimeout creates a new CreateCredentialInWorkspaceParams object with the default values initialized, and the ability to set a timeout on a request

func (*CreateCredentialInWorkspaceParams) SetBody

SetBody adds the body to the create credential in workspace params

func (*CreateCredentialInWorkspaceParams) SetContext

SetContext adds the context to the create credential in workspace params

func (*CreateCredentialInWorkspaceParams) SetHTTPClient

func (o *CreateCredentialInWorkspaceParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the create credential in workspace params

func (*CreateCredentialInWorkspaceParams) SetTimeout

func (o *CreateCredentialInWorkspaceParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the create credential in workspace params

func (*CreateCredentialInWorkspaceParams) SetWorkspaceID

func (o *CreateCredentialInWorkspaceParams) SetWorkspaceID(workspaceID int64)

SetWorkspaceID adds the workspaceId to the create credential in workspace params

func (*CreateCredentialInWorkspaceParams) WithBody

WithBody adds the body to the create credential in workspace params

func (*CreateCredentialInWorkspaceParams) WithContext

WithContext adds the context to the create credential in workspace params

func (*CreateCredentialInWorkspaceParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create credential in workspace params

func (*CreateCredentialInWorkspaceParams) WithTimeout

WithTimeout adds the timeout to the create credential in workspace params

func (*CreateCredentialInWorkspaceParams) WithWorkspaceID

WithWorkspaceID adds the workspaceID to the create credential in workspace params

func (*CreateCredentialInWorkspaceParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateCredentialInWorkspaceReader

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

CreateCredentialInWorkspaceReader is a Reader for the CreateCredentialInWorkspace structure.

func (*CreateCredentialInWorkspaceReader) ReadResponse

func (o *CreateCredentialInWorkspaceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type DeleteCredentialInWorkspaceOK

type DeleteCredentialInWorkspaceOK struct {
	Payload *models_cloudbreak.CredentialResponse
}

DeleteCredentialInWorkspaceOK handles this case with default header values.

successful operation

func NewDeleteCredentialInWorkspaceOK

func NewDeleteCredentialInWorkspaceOK() *DeleteCredentialInWorkspaceOK

NewDeleteCredentialInWorkspaceOK creates a DeleteCredentialInWorkspaceOK with default headers values

func (*DeleteCredentialInWorkspaceOK) Error

type DeleteCredentialInWorkspaceParams

type DeleteCredentialInWorkspaceParams struct {

	/*Name*/
	Name string
	/*WorkspaceID*/
	WorkspaceID int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

DeleteCredentialInWorkspaceParams contains all the parameters to send to the API endpoint for the delete credential in workspace operation typically these are written to a http.Request

func NewDeleteCredentialInWorkspaceParams

func NewDeleteCredentialInWorkspaceParams() *DeleteCredentialInWorkspaceParams

NewDeleteCredentialInWorkspaceParams creates a new DeleteCredentialInWorkspaceParams object with the default values initialized.

func NewDeleteCredentialInWorkspaceParamsWithContext

func NewDeleteCredentialInWorkspaceParamsWithContext(ctx context.Context) *DeleteCredentialInWorkspaceParams

NewDeleteCredentialInWorkspaceParamsWithContext creates a new DeleteCredentialInWorkspaceParams object with the default values initialized, and the ability to set a context for a request

func NewDeleteCredentialInWorkspaceParamsWithHTTPClient

func NewDeleteCredentialInWorkspaceParamsWithHTTPClient(client *http.Client) *DeleteCredentialInWorkspaceParams

NewDeleteCredentialInWorkspaceParamsWithHTTPClient creates a new DeleteCredentialInWorkspaceParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewDeleteCredentialInWorkspaceParamsWithTimeout

func NewDeleteCredentialInWorkspaceParamsWithTimeout(timeout time.Duration) *DeleteCredentialInWorkspaceParams

NewDeleteCredentialInWorkspaceParamsWithTimeout creates a new DeleteCredentialInWorkspaceParams object with the default values initialized, and the ability to set a timeout on a request

func (*DeleteCredentialInWorkspaceParams) SetContext

SetContext adds the context to the delete credential in workspace params

func (*DeleteCredentialInWorkspaceParams) SetHTTPClient

func (o *DeleteCredentialInWorkspaceParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the delete credential in workspace params

func (*DeleteCredentialInWorkspaceParams) SetName

func (o *DeleteCredentialInWorkspaceParams) SetName(name string)

SetName adds the name to the delete credential in workspace params

func (*DeleteCredentialInWorkspaceParams) SetTimeout

func (o *DeleteCredentialInWorkspaceParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the delete credential in workspace params

func (*DeleteCredentialInWorkspaceParams) SetWorkspaceID

func (o *DeleteCredentialInWorkspaceParams) SetWorkspaceID(workspaceID int64)

SetWorkspaceID adds the workspaceId to the delete credential in workspace params

func (*DeleteCredentialInWorkspaceParams) WithContext

WithContext adds the context to the delete credential in workspace params

func (*DeleteCredentialInWorkspaceParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete credential in workspace params

func (*DeleteCredentialInWorkspaceParams) WithName

WithName adds the name to the delete credential in workspace params

func (*DeleteCredentialInWorkspaceParams) WithTimeout

WithTimeout adds the timeout to the delete credential in workspace params

func (*DeleteCredentialInWorkspaceParams) WithWorkspaceID

WithWorkspaceID adds the workspaceID to the delete credential in workspace params

func (*DeleteCredentialInWorkspaceParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteCredentialInWorkspaceReader

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

DeleteCredentialInWorkspaceReader is a Reader for the DeleteCredentialInWorkspace structure.

func (*DeleteCredentialInWorkspaceReader) ReadResponse

func (o *DeleteCredentialInWorkspaceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetCredentialInWorkspaceOK

type GetCredentialInWorkspaceOK struct {
	Payload *models_cloudbreak.CredentialResponse
}

GetCredentialInWorkspaceOK handles this case with default header values.

successful operation

func NewGetCredentialInWorkspaceOK

func NewGetCredentialInWorkspaceOK() *GetCredentialInWorkspaceOK

NewGetCredentialInWorkspaceOK creates a GetCredentialInWorkspaceOK with default headers values

func (*GetCredentialInWorkspaceOK) Error

type GetCredentialInWorkspaceParams

type GetCredentialInWorkspaceParams struct {

	/*Name*/
	Name string
	/*WorkspaceID*/
	WorkspaceID int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetCredentialInWorkspaceParams contains all the parameters to send to the API endpoint for the get credential in workspace operation typically these are written to a http.Request

func NewGetCredentialInWorkspaceParams

func NewGetCredentialInWorkspaceParams() *GetCredentialInWorkspaceParams

NewGetCredentialInWorkspaceParams creates a new GetCredentialInWorkspaceParams object with the default values initialized.

func NewGetCredentialInWorkspaceParamsWithContext

func NewGetCredentialInWorkspaceParamsWithContext(ctx context.Context) *GetCredentialInWorkspaceParams

NewGetCredentialInWorkspaceParamsWithContext creates a new GetCredentialInWorkspaceParams object with the default values initialized, and the ability to set a context for a request

func NewGetCredentialInWorkspaceParamsWithHTTPClient

func NewGetCredentialInWorkspaceParamsWithHTTPClient(client *http.Client) *GetCredentialInWorkspaceParams

NewGetCredentialInWorkspaceParamsWithHTTPClient creates a new GetCredentialInWorkspaceParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetCredentialInWorkspaceParamsWithTimeout

func NewGetCredentialInWorkspaceParamsWithTimeout(timeout time.Duration) *GetCredentialInWorkspaceParams

NewGetCredentialInWorkspaceParamsWithTimeout creates a new GetCredentialInWorkspaceParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetCredentialInWorkspaceParams) SetContext

func (o *GetCredentialInWorkspaceParams) SetContext(ctx context.Context)

SetContext adds the context to the get credential in workspace params

func (*GetCredentialInWorkspaceParams) SetHTTPClient

func (o *GetCredentialInWorkspaceParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get credential in workspace params

func (*GetCredentialInWorkspaceParams) SetName

func (o *GetCredentialInWorkspaceParams) SetName(name string)

SetName adds the name to the get credential in workspace params

func (*GetCredentialInWorkspaceParams) SetTimeout

func (o *GetCredentialInWorkspaceParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get credential in workspace params

func (*GetCredentialInWorkspaceParams) SetWorkspaceID

func (o *GetCredentialInWorkspaceParams) SetWorkspaceID(workspaceID int64)

SetWorkspaceID adds the workspaceId to the get credential in workspace params

func (*GetCredentialInWorkspaceParams) WithContext

WithContext adds the context to the get credential in workspace params

func (*GetCredentialInWorkspaceParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get credential in workspace params

func (*GetCredentialInWorkspaceParams) WithName

WithName adds the name to the get credential in workspace params

func (*GetCredentialInWorkspaceParams) WithTimeout

WithTimeout adds the timeout to the get credential in workspace params

func (*GetCredentialInWorkspaceParams) WithWorkspaceID

func (o *GetCredentialInWorkspaceParams) WithWorkspaceID(workspaceID int64) *GetCredentialInWorkspaceParams

WithWorkspaceID adds the workspaceID to the get credential in workspace params

func (*GetCredentialInWorkspaceParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetCredentialInWorkspaceReader

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

GetCredentialInWorkspaceReader is a Reader for the GetCredentialInWorkspace structure.

func (*GetCredentialInWorkspaceReader) ReadResponse

func (o *GetCredentialInWorkspaceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type InteractiveLoginCredentialInWorkspaceOK

type InteractiveLoginCredentialInWorkspaceOK struct {
	Payload InteractiveLoginCredentialInWorkspaceOKBody
}

InteractiveLoginCredentialInWorkspaceOK handles this case with default header values.

successful operation

func NewInteractiveLoginCredentialInWorkspaceOK

func NewInteractiveLoginCredentialInWorkspaceOK() *InteractiveLoginCredentialInWorkspaceOK

NewInteractiveLoginCredentialInWorkspaceOK creates a InteractiveLoginCredentialInWorkspaceOK with default headers values

func (*InteractiveLoginCredentialInWorkspaceOK) Error

type InteractiveLoginCredentialInWorkspaceOKBody

type InteractiveLoginCredentialInWorkspaceOKBody map[string]string

func (InteractiveLoginCredentialInWorkspaceOKBody) Validate

Validate validates this interactive login credential in workspace o k body

type InteractiveLoginCredentialInWorkspaceParams

type InteractiveLoginCredentialInWorkspaceParams struct {

	/*Body*/
	Body *models_cloudbreak.CredentialRequest
	/*WorkspaceID*/
	WorkspaceID int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

InteractiveLoginCredentialInWorkspaceParams contains all the parameters to send to the API endpoint for the interactive login credential in workspace operation typically these are written to a http.Request

func NewInteractiveLoginCredentialInWorkspaceParams

func NewInteractiveLoginCredentialInWorkspaceParams() *InteractiveLoginCredentialInWorkspaceParams

NewInteractiveLoginCredentialInWorkspaceParams creates a new InteractiveLoginCredentialInWorkspaceParams object with the default values initialized.

func NewInteractiveLoginCredentialInWorkspaceParamsWithContext

func NewInteractiveLoginCredentialInWorkspaceParamsWithContext(ctx context.Context) *InteractiveLoginCredentialInWorkspaceParams

NewInteractiveLoginCredentialInWorkspaceParamsWithContext creates a new InteractiveLoginCredentialInWorkspaceParams object with the default values initialized, and the ability to set a context for a request

func NewInteractiveLoginCredentialInWorkspaceParamsWithHTTPClient

func NewInteractiveLoginCredentialInWorkspaceParamsWithHTTPClient(client *http.Client) *InteractiveLoginCredentialInWorkspaceParams

NewInteractiveLoginCredentialInWorkspaceParamsWithHTTPClient creates a new InteractiveLoginCredentialInWorkspaceParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewInteractiveLoginCredentialInWorkspaceParamsWithTimeout

func NewInteractiveLoginCredentialInWorkspaceParamsWithTimeout(timeout time.Duration) *InteractiveLoginCredentialInWorkspaceParams

NewInteractiveLoginCredentialInWorkspaceParamsWithTimeout creates a new InteractiveLoginCredentialInWorkspaceParams object with the default values initialized, and the ability to set a timeout on a request

func (*InteractiveLoginCredentialInWorkspaceParams) SetBody

SetBody adds the body to the interactive login credential in workspace params

func (*InteractiveLoginCredentialInWorkspaceParams) SetContext

SetContext adds the context to the interactive login credential in workspace params

func (*InteractiveLoginCredentialInWorkspaceParams) SetHTTPClient

func (o *InteractiveLoginCredentialInWorkspaceParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the interactive login credential in workspace params

func (*InteractiveLoginCredentialInWorkspaceParams) SetTimeout

SetTimeout adds the timeout to the interactive login credential in workspace params

func (*InteractiveLoginCredentialInWorkspaceParams) SetWorkspaceID

func (o *InteractiveLoginCredentialInWorkspaceParams) SetWorkspaceID(workspaceID int64)

SetWorkspaceID adds the workspaceId to the interactive login credential in workspace params

func (*InteractiveLoginCredentialInWorkspaceParams) WithBody

WithBody adds the body to the interactive login credential in workspace params

func (*InteractiveLoginCredentialInWorkspaceParams) WithContext

WithContext adds the context to the interactive login credential in workspace params

func (*InteractiveLoginCredentialInWorkspaceParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the interactive login credential in workspace params

func (*InteractiveLoginCredentialInWorkspaceParams) WithTimeout

WithTimeout adds the timeout to the interactive login credential in workspace params

func (*InteractiveLoginCredentialInWorkspaceParams) WithWorkspaceID

WithWorkspaceID adds the workspaceID to the interactive login credential in workspace params

func (*InteractiveLoginCredentialInWorkspaceParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type InteractiveLoginCredentialInWorkspaceReader

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

InteractiveLoginCredentialInWorkspaceReader is a Reader for the InteractiveLoginCredentialInWorkspace structure.

func (*InteractiveLoginCredentialInWorkspaceReader) ReadResponse

func (o *InteractiveLoginCredentialInWorkspaceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ListCredentialsByWorkspaceOK

type ListCredentialsByWorkspaceOK struct {
	Payload []*models_cloudbreak.CredentialResponse
}

ListCredentialsByWorkspaceOK handles this case with default header values.

successful operation

func NewListCredentialsByWorkspaceOK

func NewListCredentialsByWorkspaceOK() *ListCredentialsByWorkspaceOK

NewListCredentialsByWorkspaceOK creates a ListCredentialsByWorkspaceOK with default headers values

func (*ListCredentialsByWorkspaceOK) Error

type ListCredentialsByWorkspaceParams

type ListCredentialsByWorkspaceParams struct {

	/*WorkspaceID*/
	WorkspaceID int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ListCredentialsByWorkspaceParams contains all the parameters to send to the API endpoint for the list credentials by workspace operation typically these are written to a http.Request

func NewListCredentialsByWorkspaceParams

func NewListCredentialsByWorkspaceParams() *ListCredentialsByWorkspaceParams

NewListCredentialsByWorkspaceParams creates a new ListCredentialsByWorkspaceParams object with the default values initialized.

func NewListCredentialsByWorkspaceParamsWithContext

func NewListCredentialsByWorkspaceParamsWithContext(ctx context.Context) *ListCredentialsByWorkspaceParams

NewListCredentialsByWorkspaceParamsWithContext creates a new ListCredentialsByWorkspaceParams object with the default values initialized, and the ability to set a context for a request

func NewListCredentialsByWorkspaceParamsWithHTTPClient

func NewListCredentialsByWorkspaceParamsWithHTTPClient(client *http.Client) *ListCredentialsByWorkspaceParams

NewListCredentialsByWorkspaceParamsWithHTTPClient creates a new ListCredentialsByWorkspaceParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewListCredentialsByWorkspaceParamsWithTimeout

func NewListCredentialsByWorkspaceParamsWithTimeout(timeout time.Duration) *ListCredentialsByWorkspaceParams

NewListCredentialsByWorkspaceParamsWithTimeout creates a new ListCredentialsByWorkspaceParams object with the default values initialized, and the ability to set a timeout on a request

func (*ListCredentialsByWorkspaceParams) SetContext

SetContext adds the context to the list credentials by workspace params

func (*ListCredentialsByWorkspaceParams) SetHTTPClient

func (o *ListCredentialsByWorkspaceParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the list credentials by workspace params

func (*ListCredentialsByWorkspaceParams) SetTimeout

func (o *ListCredentialsByWorkspaceParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the list credentials by workspace params

func (*ListCredentialsByWorkspaceParams) SetWorkspaceID

func (o *ListCredentialsByWorkspaceParams) SetWorkspaceID(workspaceID int64)

SetWorkspaceID adds the workspaceId to the list credentials by workspace params

func (*ListCredentialsByWorkspaceParams) WithContext

WithContext adds the context to the list credentials by workspace params

func (*ListCredentialsByWorkspaceParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the list credentials by workspace params

func (*ListCredentialsByWorkspaceParams) WithTimeout

WithTimeout adds the timeout to the list credentials by workspace params

func (*ListCredentialsByWorkspaceParams) WithWorkspaceID

WithWorkspaceID adds the workspaceID to the list credentials by workspace params

func (*ListCredentialsByWorkspaceParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListCredentialsByWorkspaceReader

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

ListCredentialsByWorkspaceReader is a Reader for the ListCredentialsByWorkspace structure.

func (*ListCredentialsByWorkspaceReader) ReadResponse

func (o *ListCredentialsByWorkspaceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PutCredentialInWorkspaceOK

type PutCredentialInWorkspaceOK struct {
	Payload *models_cloudbreak.CredentialResponse
}

PutCredentialInWorkspaceOK handles this case with default header values.

successful operation

func NewPutCredentialInWorkspaceOK

func NewPutCredentialInWorkspaceOK() *PutCredentialInWorkspaceOK

NewPutCredentialInWorkspaceOK creates a PutCredentialInWorkspaceOK with default headers values

func (*PutCredentialInWorkspaceOK) Error

type PutCredentialInWorkspaceParams

type PutCredentialInWorkspaceParams struct {

	/*Body*/
	Body *models_cloudbreak.CredentialRequest
	/*WorkspaceID*/
	WorkspaceID int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PutCredentialInWorkspaceParams contains all the parameters to send to the API endpoint for the put credential in workspace operation typically these are written to a http.Request

func NewPutCredentialInWorkspaceParams

func NewPutCredentialInWorkspaceParams() *PutCredentialInWorkspaceParams

NewPutCredentialInWorkspaceParams creates a new PutCredentialInWorkspaceParams object with the default values initialized.

func NewPutCredentialInWorkspaceParamsWithContext

func NewPutCredentialInWorkspaceParamsWithContext(ctx context.Context) *PutCredentialInWorkspaceParams

NewPutCredentialInWorkspaceParamsWithContext creates a new PutCredentialInWorkspaceParams object with the default values initialized, and the ability to set a context for a request

func NewPutCredentialInWorkspaceParamsWithHTTPClient

func NewPutCredentialInWorkspaceParamsWithHTTPClient(client *http.Client) *PutCredentialInWorkspaceParams

NewPutCredentialInWorkspaceParamsWithHTTPClient creates a new PutCredentialInWorkspaceParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPutCredentialInWorkspaceParamsWithTimeout

func NewPutCredentialInWorkspaceParamsWithTimeout(timeout time.Duration) *PutCredentialInWorkspaceParams

NewPutCredentialInWorkspaceParamsWithTimeout creates a new PutCredentialInWorkspaceParams object with the default values initialized, and the ability to set a timeout on a request

func (*PutCredentialInWorkspaceParams) SetBody

SetBody adds the body to the put credential in workspace params

func (*PutCredentialInWorkspaceParams) SetContext

func (o *PutCredentialInWorkspaceParams) SetContext(ctx context.Context)

SetContext adds the context to the put credential in workspace params

func (*PutCredentialInWorkspaceParams) SetHTTPClient

func (o *PutCredentialInWorkspaceParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the put credential in workspace params

func (*PutCredentialInWorkspaceParams) SetTimeout

func (o *PutCredentialInWorkspaceParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the put credential in workspace params

func (*PutCredentialInWorkspaceParams) SetWorkspaceID

func (o *PutCredentialInWorkspaceParams) SetWorkspaceID(workspaceID int64)

SetWorkspaceID adds the workspaceId to the put credential in workspace params

func (*PutCredentialInWorkspaceParams) WithBody

WithBody adds the body to the put credential in workspace params

func (*PutCredentialInWorkspaceParams) WithContext

WithContext adds the context to the put credential in workspace params

func (*PutCredentialInWorkspaceParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the put credential in workspace params

func (*PutCredentialInWorkspaceParams) WithTimeout

WithTimeout adds the timeout to the put credential in workspace params

func (*PutCredentialInWorkspaceParams) WithWorkspaceID

func (o *PutCredentialInWorkspaceParams) WithWorkspaceID(workspaceID int64) *PutCredentialInWorkspaceParams

WithWorkspaceID adds the workspaceID to the put credential in workspace params

func (*PutCredentialInWorkspaceParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PutCredentialInWorkspaceReader

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

PutCredentialInWorkspaceReader is a Reader for the PutCredentialInWorkspace structure.

func (*PutCredentialInWorkspaceReader) ReadResponse

func (o *PutCredentialInWorkspaceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL