Documentation ¶
Index ¶
- type Client
- type GetUserProfileInWorkspaceOK
- type GetUserProfileInWorkspaceParams
- func NewGetUserProfileInWorkspaceParams() *GetUserProfileInWorkspaceParams
- func NewGetUserProfileInWorkspaceParamsWithContext(ctx context.Context) *GetUserProfileInWorkspaceParams
- func NewGetUserProfileInWorkspaceParamsWithHTTPClient(client *http.Client) *GetUserProfileInWorkspaceParams
- func NewGetUserProfileInWorkspaceParamsWithTimeout(timeout time.Duration) *GetUserProfileInWorkspaceParams
- func (o *GetUserProfileInWorkspaceParams) SetContext(ctx context.Context)
- func (o *GetUserProfileInWorkspaceParams) SetHTTPClient(client *http.Client)
- func (o *GetUserProfileInWorkspaceParams) SetTimeout(timeout time.Duration)
- func (o *GetUserProfileInWorkspaceParams) SetWorkspaceID(workspaceID int64)
- func (o *GetUserProfileInWorkspaceParams) WithContext(ctx context.Context) *GetUserProfileInWorkspaceParams
- func (o *GetUserProfileInWorkspaceParams) WithHTTPClient(client *http.Client) *GetUserProfileInWorkspaceParams
- func (o *GetUserProfileInWorkspaceParams) WithTimeout(timeout time.Duration) *GetUserProfileInWorkspaceParams
- func (o *GetUserProfileInWorkspaceParams) WithWorkspaceID(workspaceID int64) *GetUserProfileInWorkspaceParams
- func (o *GetUserProfileInWorkspaceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetUserProfileInWorkspaceReader
- type ModifyUserProfileInWorkspaceDefault
- type ModifyUserProfileInWorkspaceParams
- func NewModifyUserProfileInWorkspaceParams() *ModifyUserProfileInWorkspaceParams
- func NewModifyUserProfileInWorkspaceParamsWithContext(ctx context.Context) *ModifyUserProfileInWorkspaceParams
- func NewModifyUserProfileInWorkspaceParamsWithHTTPClient(client *http.Client) *ModifyUserProfileInWorkspaceParams
- func NewModifyUserProfileInWorkspaceParamsWithTimeout(timeout time.Duration) *ModifyUserProfileInWorkspaceParams
- func (o *ModifyUserProfileInWorkspaceParams) SetBody(body *models_cloudbreak.UserProfileRequest)
- func (o *ModifyUserProfileInWorkspaceParams) SetContext(ctx context.Context)
- func (o *ModifyUserProfileInWorkspaceParams) SetHTTPClient(client *http.Client)
- func (o *ModifyUserProfileInWorkspaceParams) SetTimeout(timeout time.Duration)
- func (o *ModifyUserProfileInWorkspaceParams) SetWorkspaceID(workspaceID int64)
- func (o *ModifyUserProfileInWorkspaceParams) WithBody(body *models_cloudbreak.UserProfileRequest) *ModifyUserProfileInWorkspaceParams
- func (o *ModifyUserProfileInWorkspaceParams) WithContext(ctx context.Context) *ModifyUserProfileInWorkspaceParams
- func (o *ModifyUserProfileInWorkspaceParams) WithHTTPClient(client *http.Client) *ModifyUserProfileInWorkspaceParams
- func (o *ModifyUserProfileInWorkspaceParams) WithTimeout(timeout time.Duration) *ModifyUserProfileInWorkspaceParams
- func (o *ModifyUserProfileInWorkspaceParams) WithWorkspaceID(workspaceID int64) *ModifyUserProfileInWorkspaceParams
- func (o *ModifyUserProfileInWorkspaceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ModifyUserProfileInWorkspaceReader
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 users API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new v3 workspace id users API client.
func (*Client) GetUserProfileInWorkspace ¶
func (a *Client) GetUserProfileInWorkspace(params *GetUserProfileInWorkspaceParams) (*GetUserProfileInWorkspaceOK, error)
GetUserProfileInWorkspace users related profile in workspace
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) ModifyUserProfileInWorkspace ¶
func (a *Client) ModifyUserProfileInWorkspace(params *ModifyUserProfileInWorkspaceParams) error
ModifyUserProfileInWorkspace modifies user related profile in workspace
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 GetUserProfileInWorkspaceOK ¶
type GetUserProfileInWorkspaceOK struct {
Payload *models_cloudbreak.UserProfileResponse
}
GetUserProfileInWorkspaceOK handles this case with default header values.
successful operation
func NewGetUserProfileInWorkspaceOK ¶
func NewGetUserProfileInWorkspaceOK() *GetUserProfileInWorkspaceOK
NewGetUserProfileInWorkspaceOK creates a GetUserProfileInWorkspaceOK with default headers values
func (*GetUserProfileInWorkspaceOK) Error ¶
func (o *GetUserProfileInWorkspaceOK) Error() string
type GetUserProfileInWorkspaceParams ¶
type GetUserProfileInWorkspaceParams struct { /*WorkspaceID*/ WorkspaceID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetUserProfileInWorkspaceParams contains all the parameters to send to the API endpoint for the get user profile in workspace operation typically these are written to a http.Request
func NewGetUserProfileInWorkspaceParams ¶
func NewGetUserProfileInWorkspaceParams() *GetUserProfileInWorkspaceParams
NewGetUserProfileInWorkspaceParams creates a new GetUserProfileInWorkspaceParams object with the default values initialized.
func NewGetUserProfileInWorkspaceParamsWithContext ¶
func NewGetUserProfileInWorkspaceParamsWithContext(ctx context.Context) *GetUserProfileInWorkspaceParams
NewGetUserProfileInWorkspaceParamsWithContext creates a new GetUserProfileInWorkspaceParams object with the default values initialized, and the ability to set a context for a request
func NewGetUserProfileInWorkspaceParamsWithHTTPClient ¶
func NewGetUserProfileInWorkspaceParamsWithHTTPClient(client *http.Client) *GetUserProfileInWorkspaceParams
NewGetUserProfileInWorkspaceParamsWithHTTPClient creates a new GetUserProfileInWorkspaceParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetUserProfileInWorkspaceParamsWithTimeout ¶
func NewGetUserProfileInWorkspaceParamsWithTimeout(timeout time.Duration) *GetUserProfileInWorkspaceParams
NewGetUserProfileInWorkspaceParamsWithTimeout creates a new GetUserProfileInWorkspaceParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetUserProfileInWorkspaceParams) SetContext ¶
func (o *GetUserProfileInWorkspaceParams) SetContext(ctx context.Context)
SetContext adds the context to the get user profile in workspace params
func (*GetUserProfileInWorkspaceParams) SetHTTPClient ¶
func (o *GetUserProfileInWorkspaceParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get user profile in workspace params
func (*GetUserProfileInWorkspaceParams) SetTimeout ¶
func (o *GetUserProfileInWorkspaceParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get user profile in workspace params
func (*GetUserProfileInWorkspaceParams) SetWorkspaceID ¶
func (o *GetUserProfileInWorkspaceParams) SetWorkspaceID(workspaceID int64)
SetWorkspaceID adds the workspaceId to the get user profile in workspace params
func (*GetUserProfileInWorkspaceParams) WithContext ¶
func (o *GetUserProfileInWorkspaceParams) WithContext(ctx context.Context) *GetUserProfileInWorkspaceParams
WithContext adds the context to the get user profile in workspace params
func (*GetUserProfileInWorkspaceParams) WithHTTPClient ¶
func (o *GetUserProfileInWorkspaceParams) WithHTTPClient(client *http.Client) *GetUserProfileInWorkspaceParams
WithHTTPClient adds the HTTPClient to the get user profile in workspace params
func (*GetUserProfileInWorkspaceParams) WithTimeout ¶
func (o *GetUserProfileInWorkspaceParams) WithTimeout(timeout time.Duration) *GetUserProfileInWorkspaceParams
WithTimeout adds the timeout to the get user profile in workspace params
func (*GetUserProfileInWorkspaceParams) WithWorkspaceID ¶
func (o *GetUserProfileInWorkspaceParams) WithWorkspaceID(workspaceID int64) *GetUserProfileInWorkspaceParams
WithWorkspaceID adds the workspaceID to the get user profile in workspace params
func (*GetUserProfileInWorkspaceParams) WriteToRequest ¶
func (o *GetUserProfileInWorkspaceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetUserProfileInWorkspaceReader ¶
type GetUserProfileInWorkspaceReader struct {
// contains filtered or unexported fields
}
GetUserProfileInWorkspaceReader is a Reader for the GetUserProfileInWorkspace structure.
func (*GetUserProfileInWorkspaceReader) ReadResponse ¶
func (o *GetUserProfileInWorkspaceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ModifyUserProfileInWorkspaceDefault ¶
type ModifyUserProfileInWorkspaceDefault struct {
// contains filtered or unexported fields
}
ModifyUserProfileInWorkspaceDefault handles this case with default header values.
successful operation
func NewModifyUserProfileInWorkspaceDefault ¶
func NewModifyUserProfileInWorkspaceDefault(code int) *ModifyUserProfileInWorkspaceDefault
NewModifyUserProfileInWorkspaceDefault creates a ModifyUserProfileInWorkspaceDefault with default headers values
func (*ModifyUserProfileInWorkspaceDefault) Code ¶
func (o *ModifyUserProfileInWorkspaceDefault) Code() int
Code gets the status code for the modify user profile in workspace default response
func (*ModifyUserProfileInWorkspaceDefault) Error ¶
func (o *ModifyUserProfileInWorkspaceDefault) Error() string
type ModifyUserProfileInWorkspaceParams ¶
type ModifyUserProfileInWorkspaceParams struct { /*Body*/ Body *models_cloudbreak.UserProfileRequest /*WorkspaceID*/ WorkspaceID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ModifyUserProfileInWorkspaceParams contains all the parameters to send to the API endpoint for the modify user profile in workspace operation typically these are written to a http.Request
func NewModifyUserProfileInWorkspaceParams ¶
func NewModifyUserProfileInWorkspaceParams() *ModifyUserProfileInWorkspaceParams
NewModifyUserProfileInWorkspaceParams creates a new ModifyUserProfileInWorkspaceParams object with the default values initialized.
func NewModifyUserProfileInWorkspaceParamsWithContext ¶
func NewModifyUserProfileInWorkspaceParamsWithContext(ctx context.Context) *ModifyUserProfileInWorkspaceParams
NewModifyUserProfileInWorkspaceParamsWithContext creates a new ModifyUserProfileInWorkspaceParams object with the default values initialized, and the ability to set a context for a request
func NewModifyUserProfileInWorkspaceParamsWithHTTPClient ¶
func NewModifyUserProfileInWorkspaceParamsWithHTTPClient(client *http.Client) *ModifyUserProfileInWorkspaceParams
NewModifyUserProfileInWorkspaceParamsWithHTTPClient creates a new ModifyUserProfileInWorkspaceParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewModifyUserProfileInWorkspaceParamsWithTimeout ¶
func NewModifyUserProfileInWorkspaceParamsWithTimeout(timeout time.Duration) *ModifyUserProfileInWorkspaceParams
NewModifyUserProfileInWorkspaceParamsWithTimeout creates a new ModifyUserProfileInWorkspaceParams object with the default values initialized, and the ability to set a timeout on a request
func (*ModifyUserProfileInWorkspaceParams) SetBody ¶
func (o *ModifyUserProfileInWorkspaceParams) SetBody(body *models_cloudbreak.UserProfileRequest)
SetBody adds the body to the modify user profile in workspace params
func (*ModifyUserProfileInWorkspaceParams) SetContext ¶
func (o *ModifyUserProfileInWorkspaceParams) SetContext(ctx context.Context)
SetContext adds the context to the modify user profile in workspace params
func (*ModifyUserProfileInWorkspaceParams) SetHTTPClient ¶
func (o *ModifyUserProfileInWorkspaceParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the modify user profile in workspace params
func (*ModifyUserProfileInWorkspaceParams) SetTimeout ¶
func (o *ModifyUserProfileInWorkspaceParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the modify user profile in workspace params
func (*ModifyUserProfileInWorkspaceParams) SetWorkspaceID ¶
func (o *ModifyUserProfileInWorkspaceParams) SetWorkspaceID(workspaceID int64)
SetWorkspaceID adds the workspaceId to the modify user profile in workspace params
func (*ModifyUserProfileInWorkspaceParams) WithBody ¶
func (o *ModifyUserProfileInWorkspaceParams) WithBody(body *models_cloudbreak.UserProfileRequest) *ModifyUserProfileInWorkspaceParams
WithBody adds the body to the modify user profile in workspace params
func (*ModifyUserProfileInWorkspaceParams) WithContext ¶
func (o *ModifyUserProfileInWorkspaceParams) WithContext(ctx context.Context) *ModifyUserProfileInWorkspaceParams
WithContext adds the context to the modify user profile in workspace params
func (*ModifyUserProfileInWorkspaceParams) WithHTTPClient ¶
func (o *ModifyUserProfileInWorkspaceParams) WithHTTPClient(client *http.Client) *ModifyUserProfileInWorkspaceParams
WithHTTPClient adds the HTTPClient to the modify user profile in workspace params
func (*ModifyUserProfileInWorkspaceParams) WithTimeout ¶
func (o *ModifyUserProfileInWorkspaceParams) WithTimeout(timeout time.Duration) *ModifyUserProfileInWorkspaceParams
WithTimeout adds the timeout to the modify user profile in workspace params
func (*ModifyUserProfileInWorkspaceParams) WithWorkspaceID ¶
func (o *ModifyUserProfileInWorkspaceParams) WithWorkspaceID(workspaceID int64) *ModifyUserProfileInWorkspaceParams
WithWorkspaceID adds the workspaceID to the modify user profile in workspace params
func (*ModifyUserProfileInWorkspaceParams) WriteToRequest ¶
func (o *ModifyUserProfileInWorkspaceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ModifyUserProfileInWorkspaceReader ¶
type ModifyUserProfileInWorkspaceReader struct {
// contains filtered or unexported fields
}
ModifyUserProfileInWorkspaceReader is a Reader for the ModifyUserProfileInWorkspace structure.
func (*ModifyUserProfileInWorkspaceReader) ReadResponse ¶
func (o *ModifyUserProfileInWorkspaceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.