v1users

package
v2.6.0-rc.23+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2018 License: Apache-2.0, BSD-2-Clause Imports: 10 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 v1users API

func New

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

New creates a new v1users API client.

func (*Client) EvictCurrentUserDetails

func (a *Client) EvictCurrentUserDetails(params *EvictCurrentUserDetailsParams) (*EvictCurrentUserDetailsOK, error)

EvictCurrentUserDetails removes current user from cache

Users can be invited under an account by the administrator, and all resources (e.g. resources, networks, blueprints, credentials, clusters) can be shared across account users

func (*Client) EvictUserDetails

func (a *Client) EvictUserDetails(params *EvictUserDetailsParams) (*EvictUserDetailsOK, error)

EvictUserDetails removes user from cache by username

Users can be invited under an account by the administrator, and all resources (e.g. resources, networks, blueprints, credentials, clusters) can be shared across account users

func (*Client) GetUserProfile

func (a *Client) GetUserProfile(params *GetUserProfileParams) (*GetUserProfileOK, error)

GetUserProfile users related profile

Users can be invited under an account by the administrator, and all resources (e.g. resources, networks, blueprints, credentials, clusters) can be shared across account users

func (*Client) HasResourcesUser

func (a *Client) HasResourcesUser(params *HasResourcesUserParams) (*HasResourcesUserOK, error)

HasResourcesUser checks that account user has any resources

Users can be invited under an account by the administrator, and all resources (e.g. resources, networks, blueprints, credentials, clusters) can be shared across account users

func (*Client) ModifyProfile

func (a *Client) ModifyProfile(params *ModifyProfileParams) error

ModifyProfile modifies user related profile

Users can be invited under an account by the administrator, and all resources (e.g. resources, networks, blueprints, credentials, clusters) can be shared across account users

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

type EvictCurrentUserDetailsOK

type EvictCurrentUserDetailsOK struct {
	Payload *models_cloudbreak.User
}

EvictCurrentUserDetailsOK handles this case with default header values.

successful operation

func NewEvictCurrentUserDetailsOK

func NewEvictCurrentUserDetailsOK() *EvictCurrentUserDetailsOK

NewEvictCurrentUserDetailsOK creates a EvictCurrentUserDetailsOK with default headers values

func (*EvictCurrentUserDetailsOK) Error

func (o *EvictCurrentUserDetailsOK) Error() string

type EvictCurrentUserDetailsParams

type EvictCurrentUserDetailsParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

EvictCurrentUserDetailsParams contains all the parameters to send to the API endpoint for the evict current user details operation typically these are written to a http.Request

func NewEvictCurrentUserDetailsParams

func NewEvictCurrentUserDetailsParams() *EvictCurrentUserDetailsParams

NewEvictCurrentUserDetailsParams creates a new EvictCurrentUserDetailsParams object with the default values initialized.

func NewEvictCurrentUserDetailsParamsWithContext

func NewEvictCurrentUserDetailsParamsWithContext(ctx context.Context) *EvictCurrentUserDetailsParams

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

func NewEvictCurrentUserDetailsParamsWithHTTPClient

func NewEvictCurrentUserDetailsParamsWithHTTPClient(client *http.Client) *EvictCurrentUserDetailsParams

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

func NewEvictCurrentUserDetailsParamsWithTimeout

func NewEvictCurrentUserDetailsParamsWithTimeout(timeout time.Duration) *EvictCurrentUserDetailsParams

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

func (*EvictCurrentUserDetailsParams) SetContext

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

SetContext adds the context to the evict current user details params

func (*EvictCurrentUserDetailsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the evict current user details params

func (*EvictCurrentUserDetailsParams) SetTimeout

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

SetTimeout adds the timeout to the evict current user details params

func (*EvictCurrentUserDetailsParams) WithContext

WithContext adds the context to the evict current user details params

func (*EvictCurrentUserDetailsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the evict current user details params

func (*EvictCurrentUserDetailsParams) WithTimeout

WithTimeout adds the timeout to the evict current user details params

func (*EvictCurrentUserDetailsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type EvictCurrentUserDetailsReader

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

EvictCurrentUserDetailsReader is a Reader for the EvictCurrentUserDetails structure.

func (*EvictCurrentUserDetailsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type EvictUserDetailsOK

type EvictUserDetailsOK struct {
	Payload string
}

EvictUserDetailsOK handles this case with default header values.

successful operation

func NewEvictUserDetailsOK

func NewEvictUserDetailsOK() *EvictUserDetailsOK

NewEvictUserDetailsOK creates a EvictUserDetailsOK with default headers values

func (*EvictUserDetailsOK) Error

func (o *EvictUserDetailsOK) Error() string

type EvictUserDetailsParams

type EvictUserDetailsParams struct {

	/*Body*/
	Body *models_cloudbreak.User
	/*ID*/
	ID string

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

EvictUserDetailsParams contains all the parameters to send to the API endpoint for the evict user details operation typically these are written to a http.Request

func NewEvictUserDetailsParams

func NewEvictUserDetailsParams() *EvictUserDetailsParams

NewEvictUserDetailsParams creates a new EvictUserDetailsParams object with the default values initialized.

func NewEvictUserDetailsParamsWithContext

func NewEvictUserDetailsParamsWithContext(ctx context.Context) *EvictUserDetailsParams

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

func NewEvictUserDetailsParamsWithHTTPClient

func NewEvictUserDetailsParamsWithHTTPClient(client *http.Client) *EvictUserDetailsParams

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

func NewEvictUserDetailsParamsWithTimeout

func NewEvictUserDetailsParamsWithTimeout(timeout time.Duration) *EvictUserDetailsParams

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

func (*EvictUserDetailsParams) SetBody

func (o *EvictUserDetailsParams) SetBody(body *models_cloudbreak.User)

SetBody adds the body to the evict user details params

func (*EvictUserDetailsParams) SetContext

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

SetContext adds the context to the evict user details params

func (*EvictUserDetailsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the evict user details params

func (*EvictUserDetailsParams) SetID

func (o *EvictUserDetailsParams) SetID(id string)

SetID adds the id to the evict user details params

func (*EvictUserDetailsParams) SetTimeout

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

SetTimeout adds the timeout to the evict user details params

func (*EvictUserDetailsParams) WithBody

WithBody adds the body to the evict user details params

func (*EvictUserDetailsParams) WithContext

WithContext adds the context to the evict user details params

func (*EvictUserDetailsParams) WithHTTPClient

func (o *EvictUserDetailsParams) WithHTTPClient(client *http.Client) *EvictUserDetailsParams

WithHTTPClient adds the HTTPClient to the evict user details params

func (*EvictUserDetailsParams) WithID

WithID adds the id to the evict user details params

func (*EvictUserDetailsParams) WithTimeout

WithTimeout adds the timeout to the evict user details params

func (*EvictUserDetailsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type EvictUserDetailsReader

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

EvictUserDetailsReader is a Reader for the EvictUserDetails structure.

func (*EvictUserDetailsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetUserProfileOK

type GetUserProfileOK struct {
	Payload *models_cloudbreak.UserProfileResponse
}

GetUserProfileOK handles this case with default header values.

successful operation

func NewGetUserProfileOK

func NewGetUserProfileOK() *GetUserProfileOK

NewGetUserProfileOK creates a GetUserProfileOK with default headers values

func (*GetUserProfileOK) Error

func (o *GetUserProfileOK) Error() string

type GetUserProfileParams

type GetUserProfileParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

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

func NewGetUserProfileParams

func NewGetUserProfileParams() *GetUserProfileParams

NewGetUserProfileParams creates a new GetUserProfileParams object with the default values initialized.

func NewGetUserProfileParamsWithContext

func NewGetUserProfileParamsWithContext(ctx context.Context) *GetUserProfileParams

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

func NewGetUserProfileParamsWithHTTPClient

func NewGetUserProfileParamsWithHTTPClient(client *http.Client) *GetUserProfileParams

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

func NewGetUserProfileParamsWithTimeout

func NewGetUserProfileParamsWithTimeout(timeout time.Duration) *GetUserProfileParams

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

func (*GetUserProfileParams) SetContext

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

SetContext adds the context to the get user profile params

func (*GetUserProfileParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get user profile params

func (*GetUserProfileParams) SetTimeout

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

SetTimeout adds the timeout to the get user profile params

func (*GetUserProfileParams) WithContext

WithContext adds the context to the get user profile params

func (*GetUserProfileParams) WithHTTPClient

func (o *GetUserProfileParams) WithHTTPClient(client *http.Client) *GetUserProfileParams

WithHTTPClient adds the HTTPClient to the get user profile params

func (*GetUserProfileParams) WithTimeout

func (o *GetUserProfileParams) WithTimeout(timeout time.Duration) *GetUserProfileParams

WithTimeout adds the timeout to the get user profile params

func (*GetUserProfileParams) WriteToRequest

func (o *GetUserProfileParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetUserProfileReader

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

GetUserProfileReader is a Reader for the GetUserProfile structure.

func (*GetUserProfileReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type HasResourcesUserOK

type HasResourcesUserOK struct {
	Payload bool
}

HasResourcesUserOK handles this case with default header values.

successful operation

func NewHasResourcesUserOK

func NewHasResourcesUserOK() *HasResourcesUserOK

NewHasResourcesUserOK creates a HasResourcesUserOK with default headers values

func (*HasResourcesUserOK) Error

func (o *HasResourcesUserOK) Error() string

type HasResourcesUserParams

type HasResourcesUserParams struct {

	/*ID*/
	ID string

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

HasResourcesUserParams contains all the parameters to send to the API endpoint for the has resources user operation typically these are written to a http.Request

func NewHasResourcesUserParams

func NewHasResourcesUserParams() *HasResourcesUserParams

NewHasResourcesUserParams creates a new HasResourcesUserParams object with the default values initialized.

func NewHasResourcesUserParamsWithContext

func NewHasResourcesUserParamsWithContext(ctx context.Context) *HasResourcesUserParams

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

func NewHasResourcesUserParamsWithHTTPClient

func NewHasResourcesUserParamsWithHTTPClient(client *http.Client) *HasResourcesUserParams

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

func NewHasResourcesUserParamsWithTimeout

func NewHasResourcesUserParamsWithTimeout(timeout time.Duration) *HasResourcesUserParams

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

func (*HasResourcesUserParams) SetContext

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

SetContext adds the context to the has resources user params

func (*HasResourcesUserParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the has resources user params

func (*HasResourcesUserParams) SetID

func (o *HasResourcesUserParams) SetID(id string)

SetID adds the id to the has resources user params

func (*HasResourcesUserParams) SetTimeout

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

SetTimeout adds the timeout to the has resources user params

func (*HasResourcesUserParams) WithContext

WithContext adds the context to the has resources user params

func (*HasResourcesUserParams) WithHTTPClient

func (o *HasResourcesUserParams) WithHTTPClient(client *http.Client) *HasResourcesUserParams

WithHTTPClient adds the HTTPClient to the has resources user params

func (*HasResourcesUserParams) WithID

WithID adds the id to the has resources user params

func (*HasResourcesUserParams) WithTimeout

WithTimeout adds the timeout to the has resources user params

func (*HasResourcesUserParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type HasResourcesUserReader

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

HasResourcesUserReader is a Reader for the HasResourcesUser structure.

func (*HasResourcesUserReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ModifyProfileDefault

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

ModifyProfileDefault handles this case with default header values.

successful operation

func NewModifyProfileDefault

func NewModifyProfileDefault(code int) *ModifyProfileDefault

NewModifyProfileDefault creates a ModifyProfileDefault with default headers values

func (*ModifyProfileDefault) Code

func (o *ModifyProfileDefault) Code() int

Code gets the status code for the modify profile default response

func (*ModifyProfileDefault) Error

func (o *ModifyProfileDefault) Error() string

type ModifyProfileParams

type ModifyProfileParams struct {

	/*Body*/
	Body *models_cloudbreak.UserProfileRequest

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

ModifyProfileParams contains all the parameters to send to the API endpoint for the modify profile operation typically these are written to a http.Request

func NewModifyProfileParams

func NewModifyProfileParams() *ModifyProfileParams

NewModifyProfileParams creates a new ModifyProfileParams object with the default values initialized.

func NewModifyProfileParamsWithContext

func NewModifyProfileParamsWithContext(ctx context.Context) *ModifyProfileParams

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

func NewModifyProfileParamsWithHTTPClient

func NewModifyProfileParamsWithHTTPClient(client *http.Client) *ModifyProfileParams

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

func NewModifyProfileParamsWithTimeout

func NewModifyProfileParamsWithTimeout(timeout time.Duration) *ModifyProfileParams

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

func (*ModifyProfileParams) SetBody

SetBody adds the body to the modify profile params

func (*ModifyProfileParams) SetContext

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

SetContext adds the context to the modify profile params

func (*ModifyProfileParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the modify profile params

func (*ModifyProfileParams) SetTimeout

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

SetTimeout adds the timeout to the modify profile params

func (*ModifyProfileParams) WithBody

WithBody adds the body to the modify profile params

func (*ModifyProfileParams) WithContext

WithContext adds the context to the modify profile params

func (*ModifyProfileParams) WithHTTPClient

func (o *ModifyProfileParams) WithHTTPClient(client *http.Client) *ModifyProfileParams

WithHTTPClient adds the HTTPClient to the modify profile params

func (*ModifyProfileParams) WithTimeout

func (o *ModifyProfileParams) WithTimeout(timeout time.Duration) *ModifyProfileParams

WithTimeout adds the timeout to the modify profile params

func (*ModifyProfileParams) WriteToRequest

func (o *ModifyProfileParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ModifyProfileReader

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

ModifyProfileReader is a Reader for the ModifyProfile structure.

func (*ModifyProfileReader) ReadResponse

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