workspace

package
v0.0.0-...-ca399ba Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2018 License: Apache-2.0 Imports: 6 Imported by: 2

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 workspace API

func New

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

New creates a new workspace API client.

func (*Client) CreateWorkspace

func (a *Client) CreateWorkspace(params *CreateWorkspaceParams, authInfo runtime.ClientAuthInfoWriter) (*CreateWorkspaceCreated, error)

CreateWorkspace Create new workspace

func (*Client) DeleteWorkspace

func (a *Client) DeleteWorkspace(params *DeleteWorkspaceParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteWorkspaceOK, error)

DeleteWorkspace Delete specified workspace

func (*Client) GetWorkspace

func (a *Client) GetWorkspace(params *GetWorkspaceParams, authInfo runtime.ClientAuthInfoWriter) (*GetWorkspaceOK, error)

GetWorkspace Get the details for the specified

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type CreateWorkspaceCreated

type CreateWorkspaceCreated struct {
	Payload *models.ServiceManagerWorkspaceResponse
}

CreateWorkspaceCreated handles this case with default header values.

create workspace

func NewCreateWorkspaceCreated

func NewCreateWorkspaceCreated() *CreateWorkspaceCreated

NewCreateWorkspaceCreated creates a CreateWorkspaceCreated with default headers values

func (*CreateWorkspaceCreated) Error

func (o *CreateWorkspaceCreated) Error() string

type CreateWorkspaceDefault

type CreateWorkspaceDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

CreateWorkspaceDefault handles this case with default header values.

generic error response

func NewCreateWorkspaceDefault

func NewCreateWorkspaceDefault(code int) *CreateWorkspaceDefault

NewCreateWorkspaceDefault creates a CreateWorkspaceDefault with default headers values

func (*CreateWorkspaceDefault) Code

func (o *CreateWorkspaceDefault) Code() int

Code gets the status code for the create workspace default response

func (*CreateWorkspaceDefault) Error

func (o *CreateWorkspaceDefault) Error() string

type CreateWorkspaceParams

type CreateWorkspaceParams struct {

	/*CreateWorkspaceRequest
	  The service JSON you want to post

	*/
	CreateWorkspaceRequest *models.ServiceManagerWorkspaceCreateRequest
}

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

func NewCreateWorkspaceParams

func NewCreateWorkspaceParams() *CreateWorkspaceParams

NewCreateWorkspaceParams creates a new CreateWorkspaceParams object with the default values initialized.

func (*CreateWorkspaceParams) WithCreateWorkspaceRequest

func (o *CreateWorkspaceParams) WithCreateWorkspaceRequest(CreateWorkspaceRequest *models.ServiceManagerWorkspaceCreateRequest) *CreateWorkspaceParams

WithCreateWorkspaceRequest adds the createWorkspaceRequest to the create workspace params

func (*CreateWorkspaceParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type CreateWorkspaceReader

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

CreateWorkspaceReader is a Reader for the CreateWorkspace structure.

func (*CreateWorkspaceReader) ReadResponse

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

ReadResponse reads a server response into the recieved o.

type DeleteWorkspaceDefault

type DeleteWorkspaceDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

DeleteWorkspaceDefault handles this case with default header values.

generic error response

func NewDeleteWorkspaceDefault

func NewDeleteWorkspaceDefault(code int) *DeleteWorkspaceDefault

NewDeleteWorkspaceDefault creates a DeleteWorkspaceDefault with default headers values

func (*DeleteWorkspaceDefault) Code

func (o *DeleteWorkspaceDefault) Code() int

Code gets the status code for the delete workspace default response

func (*DeleteWorkspaceDefault) Error

func (o *DeleteWorkspaceDefault) Error() string

type DeleteWorkspaceOK

type DeleteWorkspaceOK struct {
}

DeleteWorkspaceOK handles this case with default header values.

delete workspace

func NewDeleteWorkspaceOK

func NewDeleteWorkspaceOK() *DeleteWorkspaceOK

NewDeleteWorkspaceOK creates a DeleteWorkspaceOK with default headers values

func (*DeleteWorkspaceOK) Error

func (o *DeleteWorkspaceOK) Error() string

type DeleteWorkspaceParams

type DeleteWorkspaceParams struct {

	/*WorkspaceID
	  Workspace ID

	*/
	WorkspaceID string
}

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

func NewDeleteWorkspaceParams

func NewDeleteWorkspaceParams() *DeleteWorkspaceParams

NewDeleteWorkspaceParams creates a new DeleteWorkspaceParams object with the default values initialized.

func (*DeleteWorkspaceParams) WithWorkspaceID

func (o *DeleteWorkspaceParams) WithWorkspaceID(WorkspaceID string) *DeleteWorkspaceParams

WithWorkspaceID adds the workspaceId to the delete workspace params

func (*DeleteWorkspaceParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DeleteWorkspaceReader

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

DeleteWorkspaceReader is a Reader for the DeleteWorkspace structure.

func (*DeleteWorkspaceReader) ReadResponse

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

ReadResponse reads a server response into the recieved o.

type GetWorkspaceDefault

type GetWorkspaceDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

GetWorkspaceDefault handles this case with default header values.

generic error response

func NewGetWorkspaceDefault

func NewGetWorkspaceDefault(code int) *GetWorkspaceDefault

NewGetWorkspaceDefault creates a GetWorkspaceDefault with default headers values

func (*GetWorkspaceDefault) Code

func (o *GetWorkspaceDefault) Code() int

Code gets the status code for the get workspace default response

func (*GetWorkspaceDefault) Error

func (o *GetWorkspaceDefault) Error() string

type GetWorkspaceOK

type GetWorkspaceOK struct {
	Payload *models.ServiceManagerWorkspaceResponse
}

GetWorkspaceOK handles this case with default header values.

details of specified Workspace

func NewGetWorkspaceOK

func NewGetWorkspaceOK() *GetWorkspaceOK

NewGetWorkspaceOK creates a GetWorkspaceOK with default headers values

func (*GetWorkspaceOK) Error

func (o *GetWorkspaceOK) Error() string

type GetWorkspaceParams

type GetWorkspaceParams struct {

	/*WorkspaceID
	  Workspace ID

	*/
	WorkspaceID string
}

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

func NewGetWorkspaceParams

func NewGetWorkspaceParams() *GetWorkspaceParams

NewGetWorkspaceParams creates a new GetWorkspaceParams object with the default values initialized.

func (*GetWorkspaceParams) WithWorkspaceID

func (o *GetWorkspaceParams) WithWorkspaceID(WorkspaceID string) *GetWorkspaceParams

WithWorkspaceID adds the workspaceId to the get workspace params

func (*GetWorkspaceParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetWorkspaceReader

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

GetWorkspaceReader is a Reader for the GetWorkspace structure.

func (*GetWorkspaceReader) ReadResponse

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

ReadResponse reads a server response into the recieved o.

Jump to

Keyboard shortcuts

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