v4workspaces

package
v1.999.999-b9 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 v4workspaces API

func New

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

New creates a new v4workspaces API client.

func (*Client) GetWorkspaceByName

func (a *Client) GetWorkspaceByName(params *GetWorkspaceByNameParams) (*GetWorkspaceByNameOK, error)

GetWorkspaceByName retrieves an workspace by name

Workspaces are a way of grouping resources, workspace owners can add users to their workspaces with different permission sets

func (*Client) GetWorkspaces

func (a *Client) GetWorkspaces(params *GetWorkspacesParams) (*GetWorkspacesOK, error)

GetWorkspaces retrieves workspaces

Workspaces are a way of grouping resources, workspace owners can add users to their workspaces with different permission sets

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type GetWorkspaceByNameOK

type GetWorkspaceByNameOK struct {
	Payload *model.WorkspaceV4Response
}

GetWorkspaceByNameOK handles this case with default header values.

successful operation

func NewGetWorkspaceByNameOK

func NewGetWorkspaceByNameOK() *GetWorkspaceByNameOK

NewGetWorkspaceByNameOK creates a GetWorkspaceByNameOK with default headers values

func (*GetWorkspaceByNameOK) Error

func (o *GetWorkspaceByNameOK) Error() string

type GetWorkspaceByNameParams

type GetWorkspaceByNameParams struct {

	/*Name*/
	Name string

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

GetWorkspaceByNameParams contains all the parameters to send to the API endpoint for the get workspace by name operation typically these are written to a http.Request

func NewGetWorkspaceByNameParams

func NewGetWorkspaceByNameParams() *GetWorkspaceByNameParams

NewGetWorkspaceByNameParams creates a new GetWorkspaceByNameParams object with the default values initialized.

func NewGetWorkspaceByNameParamsWithContext

func NewGetWorkspaceByNameParamsWithContext(ctx context.Context) *GetWorkspaceByNameParams

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

func NewGetWorkspaceByNameParamsWithHTTPClient

func NewGetWorkspaceByNameParamsWithHTTPClient(client *http.Client) *GetWorkspaceByNameParams

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

func NewGetWorkspaceByNameParamsWithTimeout

func NewGetWorkspaceByNameParamsWithTimeout(timeout time.Duration) *GetWorkspaceByNameParams

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

func (*GetWorkspaceByNameParams) SetContext

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

SetContext adds the context to the get workspace by name params

func (*GetWorkspaceByNameParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get workspace by name params

func (*GetWorkspaceByNameParams) SetName

func (o *GetWorkspaceByNameParams) SetName(name string)

SetName adds the name to the get workspace by name params

func (*GetWorkspaceByNameParams) SetTimeout

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

SetTimeout adds the timeout to the get workspace by name params

func (*GetWorkspaceByNameParams) WithContext

WithContext adds the context to the get workspace by name params

func (*GetWorkspaceByNameParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get workspace by name params

func (*GetWorkspaceByNameParams) WithName

WithName adds the name to the get workspace by name params

func (*GetWorkspaceByNameParams) WithTimeout

WithTimeout adds the timeout to the get workspace by name params

func (*GetWorkspaceByNameParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetWorkspaceByNameReader

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

GetWorkspaceByNameReader is a Reader for the GetWorkspaceByName structure.

func (*GetWorkspaceByNameReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetWorkspacesOK

type GetWorkspacesOK struct {
	Payload *model.WorkspaceV4Responses
}

GetWorkspacesOK handles this case with default header values.

successful operation

func NewGetWorkspacesOK

func NewGetWorkspacesOK() *GetWorkspacesOK

NewGetWorkspacesOK creates a GetWorkspacesOK with default headers values

func (*GetWorkspacesOK) Error

func (o *GetWorkspacesOK) Error() string

type GetWorkspacesParams

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

GetWorkspacesParams contains all the parameters to send to the API endpoint for the get workspaces operation typically these are written to a http.Request

func NewGetWorkspacesParams

func NewGetWorkspacesParams() *GetWorkspacesParams

NewGetWorkspacesParams creates a new GetWorkspacesParams object with the default values initialized.

func NewGetWorkspacesParamsWithContext

func NewGetWorkspacesParamsWithContext(ctx context.Context) *GetWorkspacesParams

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

func NewGetWorkspacesParamsWithHTTPClient

func NewGetWorkspacesParamsWithHTTPClient(client *http.Client) *GetWorkspacesParams

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

func NewGetWorkspacesParamsWithTimeout

func NewGetWorkspacesParamsWithTimeout(timeout time.Duration) *GetWorkspacesParams

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

func (*GetWorkspacesParams) SetContext

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

SetContext adds the context to the get workspaces params

func (*GetWorkspacesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get workspaces params

func (*GetWorkspacesParams) SetTimeout

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

SetTimeout adds the timeout to the get workspaces params

func (*GetWorkspacesParams) WithContext

WithContext adds the context to the get workspaces params

func (*GetWorkspacesParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get workspaces params

func (*GetWorkspacesParams) WithTimeout

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

WithTimeout adds the timeout to the get workspaces params

func (*GetWorkspacesParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetWorkspacesReader

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

GetWorkspacesReader is a Reader for the GetWorkspaces structure.

func (*GetWorkspacesReader) ReadResponse

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