v4user_profiles

package
v1.999.999-b6 Latest Latest
Warning

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

Go to latest
Published: May 7, 2020 License: Apache-2.0, BSD-2-Clause Imports: 10 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 v4user profiles API

func New

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

New creates a new v4user profiles API client.

func (*Client) DeleteTerminatedClustersPreferences

func (a *Client) DeleteTerminatedClustersPreferences(params *DeleteTerminatedClustersPreferencesParams) error

DeleteTerminatedClustersPreferences deletes user preference to show or hide terminated clusters

User preference whether to show or hide terminated instances and how old deleted instances should be shown.

func (*Client) GetTerminatedClustersPreferences

func (a *Client) GetTerminatedClustersPreferences(params *GetTerminatedClustersPreferencesParams) (*GetTerminatedClustersPreferencesOK, error)

GetTerminatedClustersPreferences gets user preference to show or hide terminated clusters

User preference whether to show or hide terminated instances and how old deleted instances should be shown.

func (*Client) GetUserProfileInWorkspace

func (a *Client) GetUserProfileInWorkspace(params *GetUserProfileInWorkspaceParams) (*GetUserProfileInWorkspaceOK, error)

GetUserProfileInWorkspace users related profile

Users can be invited under an account by the administrator, and all resources

func (*Client) PutTerminatedClustersPreferences

func (a *Client) PutTerminatedClustersPreferences(params *PutTerminatedClustersPreferencesParams) error

PutTerminatedClustersPreferences sets user preference to show or hide terminated clusters

User preference whether to show or hide terminated instances and how old deleted instances should be shown.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type DeleteTerminatedClustersPreferencesDefault

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

DeleteTerminatedClustersPreferencesDefault handles this case with default header values.

successful operation

func NewDeleteTerminatedClustersPreferencesDefault

func NewDeleteTerminatedClustersPreferencesDefault(code int) *DeleteTerminatedClustersPreferencesDefault

NewDeleteTerminatedClustersPreferencesDefault creates a DeleteTerminatedClustersPreferencesDefault with default headers values

func (*DeleteTerminatedClustersPreferencesDefault) Code

Code gets the status code for the delete terminated clusters preferences default response

func (*DeleteTerminatedClustersPreferencesDefault) Error

type DeleteTerminatedClustersPreferencesParams

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

DeleteTerminatedClustersPreferencesParams contains all the parameters to send to the API endpoint for the delete terminated clusters preferences operation typically these are written to a http.Request

func NewDeleteTerminatedClustersPreferencesParams

func NewDeleteTerminatedClustersPreferencesParams() *DeleteTerminatedClustersPreferencesParams

NewDeleteTerminatedClustersPreferencesParams creates a new DeleteTerminatedClustersPreferencesParams object with the default values initialized.

func NewDeleteTerminatedClustersPreferencesParamsWithContext

func NewDeleteTerminatedClustersPreferencesParamsWithContext(ctx context.Context) *DeleteTerminatedClustersPreferencesParams

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

func NewDeleteTerminatedClustersPreferencesParamsWithHTTPClient

func NewDeleteTerminatedClustersPreferencesParamsWithHTTPClient(client *http.Client) *DeleteTerminatedClustersPreferencesParams

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

func NewDeleteTerminatedClustersPreferencesParamsWithTimeout

func NewDeleteTerminatedClustersPreferencesParamsWithTimeout(timeout time.Duration) *DeleteTerminatedClustersPreferencesParams

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

func (*DeleteTerminatedClustersPreferencesParams) SetContext

SetContext adds the context to the delete terminated clusters preferences params

func (*DeleteTerminatedClustersPreferencesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete terminated clusters preferences params

func (*DeleteTerminatedClustersPreferencesParams) SetTimeout

SetTimeout adds the timeout to the delete terminated clusters preferences params

func (*DeleteTerminatedClustersPreferencesParams) WithContext

WithContext adds the context to the delete terminated clusters preferences params

func (*DeleteTerminatedClustersPreferencesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete terminated clusters preferences params

func (*DeleteTerminatedClustersPreferencesParams) WithTimeout

WithTimeout adds the timeout to the delete terminated clusters preferences params

func (*DeleteTerminatedClustersPreferencesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteTerminatedClustersPreferencesReader

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

DeleteTerminatedClustersPreferencesReader is a Reader for the DeleteTerminatedClustersPreferences structure.

func (*DeleteTerminatedClustersPreferencesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetTerminatedClustersPreferencesOK

type GetTerminatedClustersPreferencesOK struct {
	Payload *model.ShowTerminatedClusterPreferencesV4Response
}

GetTerminatedClustersPreferencesOK handles this case with default header values.

successful operation

func NewGetTerminatedClustersPreferencesOK

func NewGetTerminatedClustersPreferencesOK() *GetTerminatedClustersPreferencesOK

NewGetTerminatedClustersPreferencesOK creates a GetTerminatedClustersPreferencesOK with default headers values

func (*GetTerminatedClustersPreferencesOK) Error

type GetTerminatedClustersPreferencesParams

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

GetTerminatedClustersPreferencesParams contains all the parameters to send to the API endpoint for the get terminated clusters preferences operation typically these are written to a http.Request

func NewGetTerminatedClustersPreferencesParams

func NewGetTerminatedClustersPreferencesParams() *GetTerminatedClustersPreferencesParams

NewGetTerminatedClustersPreferencesParams creates a new GetTerminatedClustersPreferencesParams object with the default values initialized.

func NewGetTerminatedClustersPreferencesParamsWithContext

func NewGetTerminatedClustersPreferencesParamsWithContext(ctx context.Context) *GetTerminatedClustersPreferencesParams

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

func NewGetTerminatedClustersPreferencesParamsWithHTTPClient

func NewGetTerminatedClustersPreferencesParamsWithHTTPClient(client *http.Client) *GetTerminatedClustersPreferencesParams

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

func NewGetTerminatedClustersPreferencesParamsWithTimeout

func NewGetTerminatedClustersPreferencesParamsWithTimeout(timeout time.Duration) *GetTerminatedClustersPreferencesParams

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

func (*GetTerminatedClustersPreferencesParams) SetContext

SetContext adds the context to the get terminated clusters preferences params

func (*GetTerminatedClustersPreferencesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get terminated clusters preferences params

func (*GetTerminatedClustersPreferencesParams) SetTimeout

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

SetTimeout adds the timeout to the get terminated clusters preferences params

func (*GetTerminatedClustersPreferencesParams) WithContext

WithContext adds the context to the get terminated clusters preferences params

func (*GetTerminatedClustersPreferencesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get terminated clusters preferences params

func (*GetTerminatedClustersPreferencesParams) WithTimeout

WithTimeout adds the timeout to the get terminated clusters preferences params

func (*GetTerminatedClustersPreferencesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetTerminatedClustersPreferencesReader

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

GetTerminatedClustersPreferencesReader is a Reader for the GetTerminatedClustersPreferences structure.

func (*GetTerminatedClustersPreferencesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetUserProfileInWorkspaceOK

type GetUserProfileInWorkspaceOK struct {
	Payload *model.UserProfileV4Response
}

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

type GetUserProfileInWorkspaceParams

type GetUserProfileInWorkspaceParams struct {
	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) WithContext

WithContext adds the context to the get user profile in workspace params

func (*GetUserProfileInWorkspaceParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get user profile in workspace params

func (*GetUserProfileInWorkspaceParams) WithTimeout

WithTimeout adds the timeout to the get user profile in workspace params

func (*GetUserProfileInWorkspaceParams) WriteToRequest

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 PutTerminatedClustersPreferencesDefault

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

PutTerminatedClustersPreferencesDefault handles this case with default header values.

successful operation

func NewPutTerminatedClustersPreferencesDefault

func NewPutTerminatedClustersPreferencesDefault(code int) *PutTerminatedClustersPreferencesDefault

NewPutTerminatedClustersPreferencesDefault creates a PutTerminatedClustersPreferencesDefault with default headers values

func (*PutTerminatedClustersPreferencesDefault) Code

Code gets the status code for the put terminated clusters preferences default response

func (*PutTerminatedClustersPreferencesDefault) Error

type PutTerminatedClustersPreferencesParams

type PutTerminatedClustersPreferencesParams struct {

	/*Body*/
	Body *model.ShowTerminatedClustersPreferencesV4Request

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

PutTerminatedClustersPreferencesParams contains all the parameters to send to the API endpoint for the put terminated clusters preferences operation typically these are written to a http.Request

func NewPutTerminatedClustersPreferencesParams

func NewPutTerminatedClustersPreferencesParams() *PutTerminatedClustersPreferencesParams

NewPutTerminatedClustersPreferencesParams creates a new PutTerminatedClustersPreferencesParams object with the default values initialized.

func NewPutTerminatedClustersPreferencesParamsWithContext

func NewPutTerminatedClustersPreferencesParamsWithContext(ctx context.Context) *PutTerminatedClustersPreferencesParams

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

func NewPutTerminatedClustersPreferencesParamsWithHTTPClient

func NewPutTerminatedClustersPreferencesParamsWithHTTPClient(client *http.Client) *PutTerminatedClustersPreferencesParams

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

func NewPutTerminatedClustersPreferencesParamsWithTimeout

func NewPutTerminatedClustersPreferencesParamsWithTimeout(timeout time.Duration) *PutTerminatedClustersPreferencesParams

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

func (*PutTerminatedClustersPreferencesParams) SetBody

SetBody adds the body to the put terminated clusters preferences params

func (*PutTerminatedClustersPreferencesParams) SetContext

SetContext adds the context to the put terminated clusters preferences params

func (*PutTerminatedClustersPreferencesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the put terminated clusters preferences params

func (*PutTerminatedClustersPreferencesParams) SetTimeout

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

SetTimeout adds the timeout to the put terminated clusters preferences params

func (*PutTerminatedClustersPreferencesParams) WithBody

WithBody adds the body to the put terminated clusters preferences params

func (*PutTerminatedClustersPreferencesParams) WithContext

WithContext adds the context to the put terminated clusters preferences params

func (*PutTerminatedClustersPreferencesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the put terminated clusters preferences params

func (*PutTerminatedClustersPreferencesParams) WithTimeout

WithTimeout adds the timeout to the put terminated clusters preferences params

func (*PutTerminatedClustersPreferencesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PutTerminatedClustersPreferencesReader

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

PutTerminatedClustersPreferencesReader is a Reader for the PutTerminatedClustersPreferences structure.

func (*PutTerminatedClustersPreferencesReader) ReadResponse

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