devboxes

package
v0.3.8-0...-7f85937 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2026 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClaimDevboxConflict

type ClaimDevboxConflict struct {
	Payload *models.ErrorResponse
}

ClaimDevboxConflict describes a response with status code 409, with default header values.

Conflict

func NewClaimDevboxConflict

func NewClaimDevboxConflict() *ClaimDevboxConflict

NewClaimDevboxConflict creates a ClaimDevboxConflict with default headers values

func (*ClaimDevboxConflict) Code

func (o *ClaimDevboxConflict) Code() int

Code gets the status code for the claim devbox conflict response

func (*ClaimDevboxConflict) Error

func (o *ClaimDevboxConflict) Error() string

func (*ClaimDevboxConflict) GetPayload

func (o *ClaimDevboxConflict) GetPayload() *models.ErrorResponse

func (*ClaimDevboxConflict) IsClientError

func (o *ClaimDevboxConflict) IsClientError() bool

IsClientError returns true when this claim devbox conflict response has a 4xx status code

func (*ClaimDevboxConflict) IsCode

func (o *ClaimDevboxConflict) IsCode(code int) bool

IsCode returns true when this claim devbox conflict response a status code equal to that given

func (*ClaimDevboxConflict) IsRedirect

func (o *ClaimDevboxConflict) IsRedirect() bool

IsRedirect returns true when this claim devbox conflict response has a 3xx status code

func (*ClaimDevboxConflict) IsServerError

func (o *ClaimDevboxConflict) IsServerError() bool

IsServerError returns true when this claim devbox conflict response has a 5xx status code

func (*ClaimDevboxConflict) IsSuccess

func (o *ClaimDevboxConflict) IsSuccess() bool

IsSuccess returns true when this claim devbox conflict response has a 2xx status code

func (*ClaimDevboxConflict) String

func (o *ClaimDevboxConflict) String() string

type ClaimDevboxForbidden

type ClaimDevboxForbidden struct {
	Payload *models.ErrorResponse
}

ClaimDevboxForbidden describes a response with status code 403, with default header values.

Forbidden

func NewClaimDevboxForbidden

func NewClaimDevboxForbidden() *ClaimDevboxForbidden

NewClaimDevboxForbidden creates a ClaimDevboxForbidden with default headers values

func (*ClaimDevboxForbidden) Code

func (o *ClaimDevboxForbidden) Code() int

Code gets the status code for the claim devbox forbidden response

func (*ClaimDevboxForbidden) Error

func (o *ClaimDevboxForbidden) Error() string

func (*ClaimDevboxForbidden) GetPayload

func (o *ClaimDevboxForbidden) GetPayload() *models.ErrorResponse

func (*ClaimDevboxForbidden) IsClientError

func (o *ClaimDevboxForbidden) IsClientError() bool

IsClientError returns true when this claim devbox forbidden response has a 4xx status code

func (*ClaimDevboxForbidden) IsCode

func (o *ClaimDevboxForbidden) IsCode(code int) bool

IsCode returns true when this claim devbox forbidden response a status code equal to that given

func (*ClaimDevboxForbidden) IsRedirect

func (o *ClaimDevboxForbidden) IsRedirect() bool

IsRedirect returns true when this claim devbox forbidden response has a 3xx status code

func (*ClaimDevboxForbidden) IsServerError

func (o *ClaimDevboxForbidden) IsServerError() bool

IsServerError returns true when this claim devbox forbidden response has a 5xx status code

func (*ClaimDevboxForbidden) IsSuccess

func (o *ClaimDevboxForbidden) IsSuccess() bool

IsSuccess returns true when this claim devbox forbidden response has a 2xx status code

func (*ClaimDevboxForbidden) String

func (o *ClaimDevboxForbidden) String() string

type ClaimDevboxInternalServerError

type ClaimDevboxInternalServerError struct {
	Payload *models.ErrorResponse
}

ClaimDevboxInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewClaimDevboxInternalServerError

func NewClaimDevboxInternalServerError() *ClaimDevboxInternalServerError

NewClaimDevboxInternalServerError creates a ClaimDevboxInternalServerError with default headers values

func (*ClaimDevboxInternalServerError) Code

Code gets the status code for the claim devbox internal server error response

func (*ClaimDevboxInternalServerError) Error

func (*ClaimDevboxInternalServerError) GetPayload

func (*ClaimDevboxInternalServerError) IsClientError

func (o *ClaimDevboxInternalServerError) IsClientError() bool

IsClientError returns true when this claim devbox internal server error response has a 4xx status code

func (*ClaimDevboxInternalServerError) IsCode

func (o *ClaimDevboxInternalServerError) IsCode(code int) bool

IsCode returns true when this claim devbox internal server error response a status code equal to that given

func (*ClaimDevboxInternalServerError) IsRedirect

func (o *ClaimDevboxInternalServerError) IsRedirect() bool

IsRedirect returns true when this claim devbox internal server error response has a 3xx status code

func (*ClaimDevboxInternalServerError) IsServerError

func (o *ClaimDevboxInternalServerError) IsServerError() bool

IsServerError returns true when this claim devbox internal server error response has a 5xx status code

func (*ClaimDevboxInternalServerError) IsSuccess

func (o *ClaimDevboxInternalServerError) IsSuccess() bool

IsSuccess returns true when this claim devbox internal server error response has a 2xx status code

func (*ClaimDevboxInternalServerError) String

type ClaimDevboxOK

type ClaimDevboxOK struct {
	Payload *models.Devbox
}

ClaimDevboxOK describes a response with status code 200, with default header values.

OK

func NewClaimDevboxOK

func NewClaimDevboxOK() *ClaimDevboxOK

NewClaimDevboxOK creates a ClaimDevboxOK with default headers values

func (*ClaimDevboxOK) Code

func (o *ClaimDevboxOK) Code() int

Code gets the status code for the claim devbox o k response

func (*ClaimDevboxOK) Error

func (o *ClaimDevboxOK) Error() string

func (*ClaimDevboxOK) GetPayload

func (o *ClaimDevboxOK) GetPayload() *models.Devbox

func (*ClaimDevboxOK) IsClientError

func (o *ClaimDevboxOK) IsClientError() bool

IsClientError returns true when this claim devbox o k response has a 4xx status code

func (*ClaimDevboxOK) IsCode

func (o *ClaimDevboxOK) IsCode(code int) bool

IsCode returns true when this claim devbox o k response a status code equal to that given

func (*ClaimDevboxOK) IsRedirect

func (o *ClaimDevboxOK) IsRedirect() bool

IsRedirect returns true when this claim devbox o k response has a 3xx status code

func (*ClaimDevboxOK) IsServerError

func (o *ClaimDevboxOK) IsServerError() bool

IsServerError returns true when this claim devbox o k response has a 5xx status code

func (*ClaimDevboxOK) IsSuccess

func (o *ClaimDevboxOK) IsSuccess() bool

IsSuccess returns true when this claim devbox o k response has a 2xx status code

func (*ClaimDevboxOK) String

func (o *ClaimDevboxOK) String() string

type ClaimDevboxParams

type ClaimDevboxParams struct {

	/* DevboxID.

	   Devbox Identifier
	*/
	DevboxID string

	/* OrgName.

	   Signadot Org Name
	*/
	OrgName string

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

ClaimDevboxParams contains all the parameters to send to the API endpoint

for the claim devbox operation.

Typically these are written to a http.Request.

func NewClaimDevboxParams

func NewClaimDevboxParams() *ClaimDevboxParams

NewClaimDevboxParams creates a new ClaimDevboxParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewClaimDevboxParamsWithContext

func NewClaimDevboxParamsWithContext(ctx context.Context) *ClaimDevboxParams

NewClaimDevboxParamsWithContext creates a new ClaimDevboxParams object with the ability to set a context for a request.

func NewClaimDevboxParamsWithHTTPClient

func NewClaimDevboxParamsWithHTTPClient(client *http.Client) *ClaimDevboxParams

NewClaimDevboxParamsWithHTTPClient creates a new ClaimDevboxParams object with the ability to set a custom HTTPClient for a request.

func NewClaimDevboxParamsWithTimeout

func NewClaimDevboxParamsWithTimeout(timeout time.Duration) *ClaimDevboxParams

NewClaimDevboxParamsWithTimeout creates a new ClaimDevboxParams object with the ability to set a timeout on a request.

func (*ClaimDevboxParams) SetContext

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

SetContext adds the context to the claim devbox params

func (*ClaimDevboxParams) SetDefaults

func (o *ClaimDevboxParams) SetDefaults()

SetDefaults hydrates default values in the claim devbox params (not the query body).

All values with no default are reset to their zero value.

func (*ClaimDevboxParams) SetDevboxID

func (o *ClaimDevboxParams) SetDevboxID(devboxID string)

SetDevboxID adds the devboxId to the claim devbox params

func (*ClaimDevboxParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the claim devbox params

func (*ClaimDevboxParams) SetOrgName

func (o *ClaimDevboxParams) SetOrgName(orgName string)

SetOrgName adds the orgName to the claim devbox params

func (*ClaimDevboxParams) SetTimeout

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

SetTimeout adds the timeout to the claim devbox params

func (*ClaimDevboxParams) WithContext

func (o *ClaimDevboxParams) WithContext(ctx context.Context) *ClaimDevboxParams

WithContext adds the context to the claim devbox params

func (*ClaimDevboxParams) WithDefaults

func (o *ClaimDevboxParams) WithDefaults() *ClaimDevboxParams

WithDefaults hydrates default values in the claim devbox params (not the query body).

All values with no default are reset to their zero value.

func (*ClaimDevboxParams) WithDevboxID

func (o *ClaimDevboxParams) WithDevboxID(devboxID string) *ClaimDevboxParams

WithDevboxID adds the devboxID to the claim devbox params

func (*ClaimDevboxParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the claim devbox params

func (*ClaimDevboxParams) WithOrgName

func (o *ClaimDevboxParams) WithOrgName(orgName string) *ClaimDevboxParams

WithOrgName adds the orgName to the claim devbox params

func (*ClaimDevboxParams) WithTimeout

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

WithTimeout adds the timeout to the claim devbox params

func (*ClaimDevboxParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ClaimDevboxReader

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

ClaimDevboxReader is a Reader for the ClaimDevbox structure.

func (*ClaimDevboxReader) ReadResponse

func (o *ClaimDevboxReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type ClaimDevboxTooManyRequests

type ClaimDevboxTooManyRequests struct {
	Payload *models.ErrorResponse
}

ClaimDevboxTooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewClaimDevboxTooManyRequests

func NewClaimDevboxTooManyRequests() *ClaimDevboxTooManyRequests

NewClaimDevboxTooManyRequests creates a ClaimDevboxTooManyRequests with default headers values

func (*ClaimDevboxTooManyRequests) Code

func (o *ClaimDevboxTooManyRequests) Code() int

Code gets the status code for the claim devbox too many requests response

func (*ClaimDevboxTooManyRequests) Error

func (*ClaimDevboxTooManyRequests) GetPayload

func (*ClaimDevboxTooManyRequests) IsClientError

func (o *ClaimDevboxTooManyRequests) IsClientError() bool

IsClientError returns true when this claim devbox too many requests response has a 4xx status code

func (*ClaimDevboxTooManyRequests) IsCode

func (o *ClaimDevboxTooManyRequests) IsCode(code int) bool

IsCode returns true when this claim devbox too many requests response a status code equal to that given

func (*ClaimDevboxTooManyRequests) IsRedirect

func (o *ClaimDevboxTooManyRequests) IsRedirect() bool

IsRedirect returns true when this claim devbox too many requests response has a 3xx status code

func (*ClaimDevboxTooManyRequests) IsServerError

func (o *ClaimDevboxTooManyRequests) IsServerError() bool

IsServerError returns true when this claim devbox too many requests response has a 5xx status code

func (*ClaimDevboxTooManyRequests) IsSuccess

func (o *ClaimDevboxTooManyRequests) IsSuccess() bool

IsSuccess returns true when this claim devbox too many requests response has a 2xx status code

func (*ClaimDevboxTooManyRequests) String

func (o *ClaimDevboxTooManyRequests) String() string

type Client

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

Client for devboxes API

func (*Client) ClaimDevbox

func (a *Client) ClaimDevbox(params *ClaimDevboxParams, opts ...ClientOption) (*ClaimDevboxOK, error)

ClaimDevbox claims a devbox

Claim a devbox for a signadot local connect session

func (*Client) DeleteDevbox

func (a *Client) DeleteDevbox(params *DeleteDevboxParams, opts ...ClientOption) (*DeleteDevboxOK, error)

DeleteDevbox deletes a devbox

Delete a devbox by its deterministic ID

func (*Client) GetDevbox

func (a *Client) GetDevbox(params *GetDevboxParams, opts ...ClientOption) (*GetDevboxOK, error)

GetDevbox gets a devbox by ID

Get a devbox by its deterministic ID

func (*Client) GetDevboxes

func (a *Client) GetDevboxes(params *GetDevboxesParams, opts ...ClientOption) (*GetDevboxesOK, error)

GetDevboxes lists devboxes

List devboxes. Use query param all=true to list all devboxes in org, otherwise returns user's devboxes. API key authentication returns org-scoped devboxes.

func (*Client) RegisterDevbox

func (a *Client) RegisterDevbox(params *RegisterDevboxParams, opts ...ClientOption) (*RegisterDevboxOK, *RegisterDevboxCreated, error)

RegisterDevbox registers a devbox idempotent p o s t

Register a devbox with metadata. Returns 201 Created for new devbox, 200 OK if already exists. When authenticated via API key, creates org-scoped devboxes shared across all API keys in the org.

func (*Client) ReleaseDevbox

func (a *Client) ReleaseDevbox(params *ReleaseDevboxParams, opts ...ClientOption) (*ReleaseDevboxOK, error)

ReleaseDevbox releases a devbox s connection

Release a devbox from a signadot local connect session lease

func (*Client) RenewDevbox

func (a *Client) RenewDevbox(params *RenewDevboxParams, opts ...ClientOption) (*RenewDevboxOK, error)

RenewDevbox renews a devbox s connection

Renew a devbox for a signadot local connect session lease

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption may be used to customize the behavior of Client methods.

type ClientService

type ClientService interface {
	ClaimDevbox(params *ClaimDevboxParams, opts ...ClientOption) (*ClaimDevboxOK, error)

	DeleteDevbox(params *DeleteDevboxParams, opts ...ClientOption) (*DeleteDevboxOK, error)

	GetDevbox(params *GetDevboxParams, opts ...ClientOption) (*GetDevboxOK, error)

	GetDevboxes(params *GetDevboxesParams, opts ...ClientOption) (*GetDevboxesOK, error)

	RegisterDevbox(params *RegisterDevboxParams, opts ...ClientOption) (*RegisterDevboxOK, *RegisterDevboxCreated, error)

	ReleaseDevbox(params *ReleaseDevboxParams, opts ...ClientOption) (*ReleaseDevboxOK, error)

	RenewDevbox(params *RenewDevboxParams, opts ...ClientOption) (*RenewDevboxOK, error)

	SetTransport(transport runtime.ClientTransport)
}

ClientService is the interface for Client methods

func New

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

New creates a new devboxes API client.

func NewClientWithBasicAuth

func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService

New creates a new devboxes API client with basic auth credentials. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - user: user for basic authentication header. - password: password for basic authentication header.

func NewClientWithBearerToken

func NewClientWithBearerToken(host, basePath, scheme, bearerToken string) ClientService

New creates a new devboxes API client with a bearer token for authentication. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - bearerToken: bearer token for Bearer authentication header.

type DeleteDevboxForbidden

type DeleteDevboxForbidden struct {
	Payload *models.ErrorResponse
}

DeleteDevboxForbidden describes a response with status code 403, with default header values.

Forbidden

func NewDeleteDevboxForbidden

func NewDeleteDevboxForbidden() *DeleteDevboxForbidden

NewDeleteDevboxForbidden creates a DeleteDevboxForbidden with default headers values

func (*DeleteDevboxForbidden) Code

func (o *DeleteDevboxForbidden) Code() int

Code gets the status code for the delete devbox forbidden response

func (*DeleteDevboxForbidden) Error

func (o *DeleteDevboxForbidden) Error() string

func (*DeleteDevboxForbidden) GetPayload

func (o *DeleteDevboxForbidden) GetPayload() *models.ErrorResponse

func (*DeleteDevboxForbidden) IsClientError

func (o *DeleteDevboxForbidden) IsClientError() bool

IsClientError returns true when this delete devbox forbidden response has a 4xx status code

func (*DeleteDevboxForbidden) IsCode

func (o *DeleteDevboxForbidden) IsCode(code int) bool

IsCode returns true when this delete devbox forbidden response a status code equal to that given

func (*DeleteDevboxForbidden) IsRedirect

func (o *DeleteDevboxForbidden) IsRedirect() bool

IsRedirect returns true when this delete devbox forbidden response has a 3xx status code

func (*DeleteDevboxForbidden) IsServerError

func (o *DeleteDevboxForbidden) IsServerError() bool

IsServerError returns true when this delete devbox forbidden response has a 5xx status code

func (*DeleteDevboxForbidden) IsSuccess

func (o *DeleteDevboxForbidden) IsSuccess() bool

IsSuccess returns true when this delete devbox forbidden response has a 2xx status code

func (*DeleteDevboxForbidden) String

func (o *DeleteDevboxForbidden) String() string

type DeleteDevboxInternalServerError

type DeleteDevboxInternalServerError struct {
	Payload *models.ErrorResponse
}

DeleteDevboxInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewDeleteDevboxInternalServerError

func NewDeleteDevboxInternalServerError() *DeleteDevboxInternalServerError

NewDeleteDevboxInternalServerError creates a DeleteDevboxInternalServerError with default headers values

func (*DeleteDevboxInternalServerError) Code

Code gets the status code for the delete devbox internal server error response

func (*DeleteDevboxInternalServerError) Error

func (*DeleteDevboxInternalServerError) GetPayload

func (*DeleteDevboxInternalServerError) IsClientError

func (o *DeleteDevboxInternalServerError) IsClientError() bool

IsClientError returns true when this delete devbox internal server error response has a 4xx status code

func (*DeleteDevboxInternalServerError) IsCode

func (o *DeleteDevboxInternalServerError) IsCode(code int) bool

IsCode returns true when this delete devbox internal server error response a status code equal to that given

func (*DeleteDevboxInternalServerError) IsRedirect

func (o *DeleteDevboxInternalServerError) IsRedirect() bool

IsRedirect returns true when this delete devbox internal server error response has a 3xx status code

func (*DeleteDevboxInternalServerError) IsServerError

func (o *DeleteDevboxInternalServerError) IsServerError() bool

IsServerError returns true when this delete devbox internal server error response has a 5xx status code

func (*DeleteDevboxInternalServerError) IsSuccess

func (o *DeleteDevboxInternalServerError) IsSuccess() bool

IsSuccess returns true when this delete devbox internal server error response has a 2xx status code

func (*DeleteDevboxInternalServerError) String

type DeleteDevboxOK

type DeleteDevboxOK struct {
	Payload models.EmptyResponse
}

DeleteDevboxOK describes a response with status code 200, with default header values.

OK

func NewDeleteDevboxOK

func NewDeleteDevboxOK() *DeleteDevboxOK

NewDeleteDevboxOK creates a DeleteDevboxOK with default headers values

func (*DeleteDevboxOK) Code

func (o *DeleteDevboxOK) Code() int

Code gets the status code for the delete devbox o k response

func (*DeleteDevboxOK) Error

func (o *DeleteDevboxOK) Error() string

func (*DeleteDevboxOK) GetPayload

func (o *DeleteDevboxOK) GetPayload() models.EmptyResponse

func (*DeleteDevboxOK) IsClientError

func (o *DeleteDevboxOK) IsClientError() bool

IsClientError returns true when this delete devbox o k response has a 4xx status code

func (*DeleteDevboxOK) IsCode

func (o *DeleteDevboxOK) IsCode(code int) bool

IsCode returns true when this delete devbox o k response a status code equal to that given

func (*DeleteDevboxOK) IsRedirect

func (o *DeleteDevboxOK) IsRedirect() bool

IsRedirect returns true when this delete devbox o k response has a 3xx status code

func (*DeleteDevboxOK) IsServerError

func (o *DeleteDevboxOK) IsServerError() bool

IsServerError returns true when this delete devbox o k response has a 5xx status code

func (*DeleteDevboxOK) IsSuccess

func (o *DeleteDevboxOK) IsSuccess() bool

IsSuccess returns true when this delete devbox o k response has a 2xx status code

func (*DeleteDevboxOK) String

func (o *DeleteDevboxOK) String() string

type DeleteDevboxParams

type DeleteDevboxParams struct {

	/* DevboxID.

	   Devbox Identifier
	*/
	DevboxID string

	/* OrgName.

	   Signadot Org Name
	*/
	OrgName string

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

DeleteDevboxParams contains all the parameters to send to the API endpoint

for the delete devbox operation.

Typically these are written to a http.Request.

func NewDeleteDevboxParams

func NewDeleteDevboxParams() *DeleteDevboxParams

NewDeleteDevboxParams creates a new DeleteDevboxParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewDeleteDevboxParamsWithContext

func NewDeleteDevboxParamsWithContext(ctx context.Context) *DeleteDevboxParams

NewDeleteDevboxParamsWithContext creates a new DeleteDevboxParams object with the ability to set a context for a request.

func NewDeleteDevboxParamsWithHTTPClient

func NewDeleteDevboxParamsWithHTTPClient(client *http.Client) *DeleteDevboxParams

NewDeleteDevboxParamsWithHTTPClient creates a new DeleteDevboxParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteDevboxParamsWithTimeout

func NewDeleteDevboxParamsWithTimeout(timeout time.Duration) *DeleteDevboxParams

NewDeleteDevboxParamsWithTimeout creates a new DeleteDevboxParams object with the ability to set a timeout on a request.

func (*DeleteDevboxParams) SetContext

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

SetContext adds the context to the delete devbox params

func (*DeleteDevboxParams) SetDefaults

func (o *DeleteDevboxParams) SetDefaults()

SetDefaults hydrates default values in the delete devbox params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteDevboxParams) SetDevboxID

func (o *DeleteDevboxParams) SetDevboxID(devboxID string)

SetDevboxID adds the devboxId to the delete devbox params

func (*DeleteDevboxParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete devbox params

func (*DeleteDevboxParams) SetOrgName

func (o *DeleteDevboxParams) SetOrgName(orgName string)

SetOrgName adds the orgName to the delete devbox params

func (*DeleteDevboxParams) SetTimeout

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

SetTimeout adds the timeout to the delete devbox params

func (*DeleteDevboxParams) WithContext

WithContext adds the context to the delete devbox params

func (*DeleteDevboxParams) WithDefaults

func (o *DeleteDevboxParams) WithDefaults() *DeleteDevboxParams

WithDefaults hydrates default values in the delete devbox params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteDevboxParams) WithDevboxID

func (o *DeleteDevboxParams) WithDevboxID(devboxID string) *DeleteDevboxParams

WithDevboxID adds the devboxID to the delete devbox params

func (*DeleteDevboxParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete devbox params

func (*DeleteDevboxParams) WithOrgName

func (o *DeleteDevboxParams) WithOrgName(orgName string) *DeleteDevboxParams

WithOrgName adds the orgName to the delete devbox params

func (*DeleteDevboxParams) WithTimeout

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

WithTimeout adds the timeout to the delete devbox params

func (*DeleteDevboxParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DeleteDevboxReader

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

DeleteDevboxReader is a Reader for the DeleteDevbox structure.

func (*DeleteDevboxReader) ReadResponse

func (o *DeleteDevboxReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type DeleteDevboxTooManyRequests

type DeleteDevboxTooManyRequests struct {
	Payload *models.ErrorResponse
}

DeleteDevboxTooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewDeleteDevboxTooManyRequests

func NewDeleteDevboxTooManyRequests() *DeleteDevboxTooManyRequests

NewDeleteDevboxTooManyRequests creates a DeleteDevboxTooManyRequests with default headers values

func (*DeleteDevboxTooManyRequests) Code

func (o *DeleteDevboxTooManyRequests) Code() int

Code gets the status code for the delete devbox too many requests response

func (*DeleteDevboxTooManyRequests) Error

func (*DeleteDevboxTooManyRequests) GetPayload

func (*DeleteDevboxTooManyRequests) IsClientError

func (o *DeleteDevboxTooManyRequests) IsClientError() bool

IsClientError returns true when this delete devbox too many requests response has a 4xx status code

func (*DeleteDevboxTooManyRequests) IsCode

func (o *DeleteDevboxTooManyRequests) IsCode(code int) bool

IsCode returns true when this delete devbox too many requests response a status code equal to that given

func (*DeleteDevboxTooManyRequests) IsRedirect

func (o *DeleteDevboxTooManyRequests) IsRedirect() bool

IsRedirect returns true when this delete devbox too many requests response has a 3xx status code

func (*DeleteDevboxTooManyRequests) IsServerError

func (o *DeleteDevboxTooManyRequests) IsServerError() bool

IsServerError returns true when this delete devbox too many requests response has a 5xx status code

func (*DeleteDevboxTooManyRequests) IsSuccess

func (o *DeleteDevboxTooManyRequests) IsSuccess() bool

IsSuccess returns true when this delete devbox too many requests response has a 2xx status code

func (*DeleteDevboxTooManyRequests) String

func (o *DeleteDevboxTooManyRequests) String() string

type GetDevboxForbidden

type GetDevboxForbidden struct {
	Payload *models.ErrorResponse
}

GetDevboxForbidden describes a response with status code 403, with default header values.

Forbidden

func NewGetDevboxForbidden

func NewGetDevboxForbidden() *GetDevboxForbidden

NewGetDevboxForbidden creates a GetDevboxForbidden with default headers values

func (*GetDevboxForbidden) Code

func (o *GetDevboxForbidden) Code() int

Code gets the status code for the get devbox forbidden response

func (*GetDevboxForbidden) Error

func (o *GetDevboxForbidden) Error() string

func (*GetDevboxForbidden) GetPayload

func (o *GetDevboxForbidden) GetPayload() *models.ErrorResponse

func (*GetDevboxForbidden) IsClientError

func (o *GetDevboxForbidden) IsClientError() bool

IsClientError returns true when this get devbox forbidden response has a 4xx status code

func (*GetDevboxForbidden) IsCode

func (o *GetDevboxForbidden) IsCode(code int) bool

IsCode returns true when this get devbox forbidden response a status code equal to that given

func (*GetDevboxForbidden) IsRedirect

func (o *GetDevboxForbidden) IsRedirect() bool

IsRedirect returns true when this get devbox forbidden response has a 3xx status code

func (*GetDevboxForbidden) IsServerError

func (o *GetDevboxForbidden) IsServerError() bool

IsServerError returns true when this get devbox forbidden response has a 5xx status code

func (*GetDevboxForbidden) IsSuccess

func (o *GetDevboxForbidden) IsSuccess() bool

IsSuccess returns true when this get devbox forbidden response has a 2xx status code

func (*GetDevboxForbidden) String

func (o *GetDevboxForbidden) String() string

type GetDevboxInternalServerError

type GetDevboxInternalServerError struct {
	Payload *models.ErrorResponse
}

GetDevboxInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewGetDevboxInternalServerError

func NewGetDevboxInternalServerError() *GetDevboxInternalServerError

NewGetDevboxInternalServerError creates a GetDevboxInternalServerError with default headers values

func (*GetDevboxInternalServerError) Code

Code gets the status code for the get devbox internal server error response

func (*GetDevboxInternalServerError) Error

func (*GetDevboxInternalServerError) GetPayload

func (*GetDevboxInternalServerError) IsClientError

func (o *GetDevboxInternalServerError) IsClientError() bool

IsClientError returns true when this get devbox internal server error response has a 4xx status code

func (*GetDevboxInternalServerError) IsCode

func (o *GetDevboxInternalServerError) IsCode(code int) bool

IsCode returns true when this get devbox internal server error response a status code equal to that given

func (*GetDevboxInternalServerError) IsRedirect

func (o *GetDevboxInternalServerError) IsRedirect() bool

IsRedirect returns true when this get devbox internal server error response has a 3xx status code

func (*GetDevboxInternalServerError) IsServerError

func (o *GetDevboxInternalServerError) IsServerError() bool

IsServerError returns true when this get devbox internal server error response has a 5xx status code

func (*GetDevboxInternalServerError) IsSuccess

func (o *GetDevboxInternalServerError) IsSuccess() bool

IsSuccess returns true when this get devbox internal server error response has a 2xx status code

func (*GetDevboxInternalServerError) String

type GetDevboxOK

type GetDevboxOK struct {
	Payload *models.Devbox
}

GetDevboxOK describes a response with status code 200, with default header values.

OK

func NewGetDevboxOK

func NewGetDevboxOK() *GetDevboxOK

NewGetDevboxOK creates a GetDevboxOK with default headers values

func (*GetDevboxOK) Code

func (o *GetDevboxOK) Code() int

Code gets the status code for the get devbox o k response

func (*GetDevboxOK) Error

func (o *GetDevboxOK) Error() string

func (*GetDevboxOK) GetPayload

func (o *GetDevboxOK) GetPayload() *models.Devbox

func (*GetDevboxOK) IsClientError

func (o *GetDevboxOK) IsClientError() bool

IsClientError returns true when this get devbox o k response has a 4xx status code

func (*GetDevboxOK) IsCode

func (o *GetDevboxOK) IsCode(code int) bool

IsCode returns true when this get devbox o k response a status code equal to that given

func (*GetDevboxOK) IsRedirect

func (o *GetDevboxOK) IsRedirect() bool

IsRedirect returns true when this get devbox o k response has a 3xx status code

func (*GetDevboxOK) IsServerError

func (o *GetDevboxOK) IsServerError() bool

IsServerError returns true when this get devbox o k response has a 5xx status code

func (*GetDevboxOK) IsSuccess

func (o *GetDevboxOK) IsSuccess() bool

IsSuccess returns true when this get devbox o k response has a 2xx status code

func (*GetDevboxOK) String

func (o *GetDevboxOK) String() string

type GetDevboxParams

type GetDevboxParams struct {

	/* DevboxID.

	   Devbox Identifier
	*/
	DevboxID string

	/* OrgName.

	   Signadot Org Name
	*/
	OrgName string

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

GetDevboxParams contains all the parameters to send to the API endpoint

for the get devbox operation.

Typically these are written to a http.Request.

func NewGetDevboxParams

func NewGetDevboxParams() *GetDevboxParams

NewGetDevboxParams creates a new GetDevboxParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetDevboxParamsWithContext

func NewGetDevboxParamsWithContext(ctx context.Context) *GetDevboxParams

NewGetDevboxParamsWithContext creates a new GetDevboxParams object with the ability to set a context for a request.

func NewGetDevboxParamsWithHTTPClient

func NewGetDevboxParamsWithHTTPClient(client *http.Client) *GetDevboxParams

NewGetDevboxParamsWithHTTPClient creates a new GetDevboxParams object with the ability to set a custom HTTPClient for a request.

func NewGetDevboxParamsWithTimeout

func NewGetDevboxParamsWithTimeout(timeout time.Duration) *GetDevboxParams

NewGetDevboxParamsWithTimeout creates a new GetDevboxParams object with the ability to set a timeout on a request.

func (*GetDevboxParams) SetContext

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

SetContext adds the context to the get devbox params

func (*GetDevboxParams) SetDefaults

func (o *GetDevboxParams) SetDefaults()

SetDefaults hydrates default values in the get devbox params (not the query body).

All values with no default are reset to their zero value.

func (*GetDevboxParams) SetDevboxID

func (o *GetDevboxParams) SetDevboxID(devboxID string)

SetDevboxID adds the devboxId to the get devbox params

func (*GetDevboxParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get devbox params

func (*GetDevboxParams) SetOrgName

func (o *GetDevboxParams) SetOrgName(orgName string)

SetOrgName adds the orgName to the get devbox params

func (*GetDevboxParams) SetTimeout

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

SetTimeout adds the timeout to the get devbox params

func (*GetDevboxParams) WithContext

func (o *GetDevboxParams) WithContext(ctx context.Context) *GetDevboxParams

WithContext adds the context to the get devbox params

func (*GetDevboxParams) WithDefaults

func (o *GetDevboxParams) WithDefaults() *GetDevboxParams

WithDefaults hydrates default values in the get devbox params (not the query body).

All values with no default are reset to their zero value.

func (*GetDevboxParams) WithDevboxID

func (o *GetDevboxParams) WithDevboxID(devboxID string) *GetDevboxParams

WithDevboxID adds the devboxID to the get devbox params

func (*GetDevboxParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get devbox params

func (*GetDevboxParams) WithOrgName

func (o *GetDevboxParams) WithOrgName(orgName string) *GetDevboxParams

WithOrgName adds the orgName to the get devbox params

func (*GetDevboxParams) WithTimeout

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

WithTimeout adds the timeout to the get devbox params

func (*GetDevboxParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetDevboxReader

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

GetDevboxReader is a Reader for the GetDevbox structure.

func (*GetDevboxReader) ReadResponse

func (o *GetDevboxReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type GetDevboxTooManyRequests

type GetDevboxTooManyRequests struct {
	Payload *models.ErrorResponse
}

GetDevboxTooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewGetDevboxTooManyRequests

func NewGetDevboxTooManyRequests() *GetDevboxTooManyRequests

NewGetDevboxTooManyRequests creates a GetDevboxTooManyRequests with default headers values

func (*GetDevboxTooManyRequests) Code

func (o *GetDevboxTooManyRequests) Code() int

Code gets the status code for the get devbox too many requests response

func (*GetDevboxTooManyRequests) Error

func (o *GetDevboxTooManyRequests) Error() string

func (*GetDevboxTooManyRequests) GetPayload

func (*GetDevboxTooManyRequests) IsClientError

func (o *GetDevboxTooManyRequests) IsClientError() bool

IsClientError returns true when this get devbox too many requests response has a 4xx status code

func (*GetDevboxTooManyRequests) IsCode

func (o *GetDevboxTooManyRequests) IsCode(code int) bool

IsCode returns true when this get devbox too many requests response a status code equal to that given

func (*GetDevboxTooManyRequests) IsRedirect

func (o *GetDevboxTooManyRequests) IsRedirect() bool

IsRedirect returns true when this get devbox too many requests response has a 3xx status code

func (*GetDevboxTooManyRequests) IsServerError

func (o *GetDevboxTooManyRequests) IsServerError() bool

IsServerError returns true when this get devbox too many requests response has a 5xx status code

func (*GetDevboxTooManyRequests) IsSuccess

func (o *GetDevboxTooManyRequests) IsSuccess() bool

IsSuccess returns true when this get devbox too many requests response has a 2xx status code

func (*GetDevboxTooManyRequests) String

func (o *GetDevboxTooManyRequests) String() string

type GetDevboxesForbidden

type GetDevboxesForbidden struct {
	Payload *models.ErrorResponse
}

GetDevboxesForbidden describes a response with status code 403, with default header values.

Forbidden

func NewGetDevboxesForbidden

func NewGetDevboxesForbidden() *GetDevboxesForbidden

NewGetDevboxesForbidden creates a GetDevboxesForbidden with default headers values

func (*GetDevboxesForbidden) Code

func (o *GetDevboxesForbidden) Code() int

Code gets the status code for the get devboxes forbidden response

func (*GetDevboxesForbidden) Error

func (o *GetDevboxesForbidden) Error() string

func (*GetDevboxesForbidden) GetPayload

func (o *GetDevboxesForbidden) GetPayload() *models.ErrorResponse

func (*GetDevboxesForbidden) IsClientError

func (o *GetDevboxesForbidden) IsClientError() bool

IsClientError returns true when this get devboxes forbidden response has a 4xx status code

func (*GetDevboxesForbidden) IsCode

func (o *GetDevboxesForbidden) IsCode(code int) bool

IsCode returns true when this get devboxes forbidden response a status code equal to that given

func (*GetDevboxesForbidden) IsRedirect

func (o *GetDevboxesForbidden) IsRedirect() bool

IsRedirect returns true when this get devboxes forbidden response has a 3xx status code

func (*GetDevboxesForbidden) IsServerError

func (o *GetDevboxesForbidden) IsServerError() bool

IsServerError returns true when this get devboxes forbidden response has a 5xx status code

func (*GetDevboxesForbidden) IsSuccess

func (o *GetDevboxesForbidden) IsSuccess() bool

IsSuccess returns true when this get devboxes forbidden response has a 2xx status code

func (*GetDevboxesForbidden) String

func (o *GetDevboxesForbidden) String() string

type GetDevboxesInternalServerError

type GetDevboxesInternalServerError struct {
	Payload *models.ErrorResponse
}

GetDevboxesInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewGetDevboxesInternalServerError

func NewGetDevboxesInternalServerError() *GetDevboxesInternalServerError

NewGetDevboxesInternalServerError creates a GetDevboxesInternalServerError with default headers values

func (*GetDevboxesInternalServerError) Code

Code gets the status code for the get devboxes internal server error response

func (*GetDevboxesInternalServerError) Error

func (*GetDevboxesInternalServerError) GetPayload

func (*GetDevboxesInternalServerError) IsClientError

func (o *GetDevboxesInternalServerError) IsClientError() bool

IsClientError returns true when this get devboxes internal server error response has a 4xx status code

func (*GetDevboxesInternalServerError) IsCode

func (o *GetDevboxesInternalServerError) IsCode(code int) bool

IsCode returns true when this get devboxes internal server error response a status code equal to that given

func (*GetDevboxesInternalServerError) IsRedirect

func (o *GetDevboxesInternalServerError) IsRedirect() bool

IsRedirect returns true when this get devboxes internal server error response has a 3xx status code

func (*GetDevboxesInternalServerError) IsServerError

func (o *GetDevboxesInternalServerError) IsServerError() bool

IsServerError returns true when this get devboxes internal server error response has a 5xx status code

func (*GetDevboxesInternalServerError) IsSuccess

func (o *GetDevboxesInternalServerError) IsSuccess() bool

IsSuccess returns true when this get devboxes internal server error response has a 2xx status code

func (*GetDevboxesInternalServerError) String

type GetDevboxesOK

type GetDevboxesOK struct {
	Payload []*models.Devbox
}

GetDevboxesOK describes a response with status code 200, with default header values.

OK

func NewGetDevboxesOK

func NewGetDevboxesOK() *GetDevboxesOK

NewGetDevboxesOK creates a GetDevboxesOK with default headers values

func (*GetDevboxesOK) Code

func (o *GetDevboxesOK) Code() int

Code gets the status code for the get devboxes o k response

func (*GetDevboxesOK) Error

func (o *GetDevboxesOK) Error() string

func (*GetDevboxesOK) GetPayload

func (o *GetDevboxesOK) GetPayload() []*models.Devbox

func (*GetDevboxesOK) IsClientError

func (o *GetDevboxesOK) IsClientError() bool

IsClientError returns true when this get devboxes o k response has a 4xx status code

func (*GetDevboxesOK) IsCode

func (o *GetDevboxesOK) IsCode(code int) bool

IsCode returns true when this get devboxes o k response a status code equal to that given

func (*GetDevboxesOK) IsRedirect

func (o *GetDevboxesOK) IsRedirect() bool

IsRedirect returns true when this get devboxes o k response has a 3xx status code

func (*GetDevboxesOK) IsServerError

func (o *GetDevboxesOK) IsServerError() bool

IsServerError returns true when this get devboxes o k response has a 5xx status code

func (*GetDevboxesOK) IsSuccess

func (o *GetDevboxesOK) IsSuccess() bool

IsSuccess returns true when this get devboxes o k response has a 2xx status code

func (*GetDevboxesOK) String

func (o *GetDevboxesOK) String() string

type GetDevboxesParams

type GetDevboxesParams struct {

	/* All.

	   Set to 'true' to list all devboxes in org
	*/
	All *string

	/* OrgName.

	   Signadot Org Name
	*/
	OrgName string

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

GetDevboxesParams contains all the parameters to send to the API endpoint

for the get devboxes operation.

Typically these are written to a http.Request.

func NewGetDevboxesParams

func NewGetDevboxesParams() *GetDevboxesParams

NewGetDevboxesParams creates a new GetDevboxesParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetDevboxesParamsWithContext

func NewGetDevboxesParamsWithContext(ctx context.Context) *GetDevboxesParams

NewGetDevboxesParamsWithContext creates a new GetDevboxesParams object with the ability to set a context for a request.

func NewGetDevboxesParamsWithHTTPClient

func NewGetDevboxesParamsWithHTTPClient(client *http.Client) *GetDevboxesParams

NewGetDevboxesParamsWithHTTPClient creates a new GetDevboxesParams object with the ability to set a custom HTTPClient for a request.

func NewGetDevboxesParamsWithTimeout

func NewGetDevboxesParamsWithTimeout(timeout time.Duration) *GetDevboxesParams

NewGetDevboxesParamsWithTimeout creates a new GetDevboxesParams object with the ability to set a timeout on a request.

func (*GetDevboxesParams) SetAll

func (o *GetDevboxesParams) SetAll(all *string)

SetAll adds the all to the get devboxes params

func (*GetDevboxesParams) SetContext

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

SetContext adds the context to the get devboxes params

func (*GetDevboxesParams) SetDefaults

func (o *GetDevboxesParams) SetDefaults()

SetDefaults hydrates default values in the get devboxes params (not the query body).

All values with no default are reset to their zero value.

func (*GetDevboxesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get devboxes params

func (*GetDevboxesParams) SetOrgName

func (o *GetDevboxesParams) SetOrgName(orgName string)

SetOrgName adds the orgName to the get devboxes params

func (*GetDevboxesParams) SetTimeout

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

SetTimeout adds the timeout to the get devboxes params

func (*GetDevboxesParams) WithAll

func (o *GetDevboxesParams) WithAll(all *string) *GetDevboxesParams

WithAll adds the all to the get devboxes params

func (*GetDevboxesParams) WithContext

func (o *GetDevboxesParams) WithContext(ctx context.Context) *GetDevboxesParams

WithContext adds the context to the get devboxes params

func (*GetDevboxesParams) WithDefaults

func (o *GetDevboxesParams) WithDefaults() *GetDevboxesParams

WithDefaults hydrates default values in the get devboxes params (not the query body).

All values with no default are reset to their zero value.

func (*GetDevboxesParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get devboxes params

func (*GetDevboxesParams) WithOrgName

func (o *GetDevboxesParams) WithOrgName(orgName string) *GetDevboxesParams

WithOrgName adds the orgName to the get devboxes params

func (*GetDevboxesParams) WithTimeout

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

WithTimeout adds the timeout to the get devboxes params

func (*GetDevboxesParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetDevboxesReader

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

GetDevboxesReader is a Reader for the GetDevboxes structure.

func (*GetDevboxesReader) ReadResponse

func (o *GetDevboxesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type GetDevboxesTooManyRequests

type GetDevboxesTooManyRequests struct {
	Payload *models.ErrorResponse
}

GetDevboxesTooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewGetDevboxesTooManyRequests

func NewGetDevboxesTooManyRequests() *GetDevboxesTooManyRequests

NewGetDevboxesTooManyRequests creates a GetDevboxesTooManyRequests with default headers values

func (*GetDevboxesTooManyRequests) Code

func (o *GetDevboxesTooManyRequests) Code() int

Code gets the status code for the get devboxes too many requests response

func (*GetDevboxesTooManyRequests) Error

func (*GetDevboxesTooManyRequests) GetPayload

func (*GetDevboxesTooManyRequests) IsClientError

func (o *GetDevboxesTooManyRequests) IsClientError() bool

IsClientError returns true when this get devboxes too many requests response has a 4xx status code

func (*GetDevboxesTooManyRequests) IsCode

func (o *GetDevboxesTooManyRequests) IsCode(code int) bool

IsCode returns true when this get devboxes too many requests response a status code equal to that given

func (*GetDevboxesTooManyRequests) IsRedirect

func (o *GetDevboxesTooManyRequests) IsRedirect() bool

IsRedirect returns true when this get devboxes too many requests response has a 3xx status code

func (*GetDevboxesTooManyRequests) IsServerError

func (o *GetDevboxesTooManyRequests) IsServerError() bool

IsServerError returns true when this get devboxes too many requests response has a 5xx status code

func (*GetDevboxesTooManyRequests) IsSuccess

func (o *GetDevboxesTooManyRequests) IsSuccess() bool

IsSuccess returns true when this get devboxes too many requests response has a 2xx status code

func (*GetDevboxesTooManyRequests) String

func (o *GetDevboxesTooManyRequests) String() string

type RegisterDevboxCreated

type RegisterDevboxCreated struct {
	Payload *models.Devbox
}

RegisterDevboxCreated describes a response with status code 201, with default header values.

Created

func NewRegisterDevboxCreated

func NewRegisterDevboxCreated() *RegisterDevboxCreated

NewRegisterDevboxCreated creates a RegisterDevboxCreated with default headers values

func (*RegisterDevboxCreated) Code

func (o *RegisterDevboxCreated) Code() int

Code gets the status code for the register devbox created response

func (*RegisterDevboxCreated) Error

func (o *RegisterDevboxCreated) Error() string

func (*RegisterDevboxCreated) GetPayload

func (o *RegisterDevboxCreated) GetPayload() *models.Devbox

func (*RegisterDevboxCreated) IsClientError

func (o *RegisterDevboxCreated) IsClientError() bool

IsClientError returns true when this register devbox created response has a 4xx status code

func (*RegisterDevboxCreated) IsCode

func (o *RegisterDevboxCreated) IsCode(code int) bool

IsCode returns true when this register devbox created response a status code equal to that given

func (*RegisterDevboxCreated) IsRedirect

func (o *RegisterDevboxCreated) IsRedirect() bool

IsRedirect returns true when this register devbox created response has a 3xx status code

func (*RegisterDevboxCreated) IsServerError

func (o *RegisterDevboxCreated) IsServerError() bool

IsServerError returns true when this register devbox created response has a 5xx status code

func (*RegisterDevboxCreated) IsSuccess

func (o *RegisterDevboxCreated) IsSuccess() bool

IsSuccess returns true when this register devbox created response has a 2xx status code

func (*RegisterDevboxCreated) String

func (o *RegisterDevboxCreated) String() string

type RegisterDevboxForbidden

type RegisterDevboxForbidden struct {
	Payload *models.ErrorResponse
}

RegisterDevboxForbidden describes a response with status code 403, with default header values.

Forbidden

func NewRegisterDevboxForbidden

func NewRegisterDevboxForbidden() *RegisterDevboxForbidden

NewRegisterDevboxForbidden creates a RegisterDevboxForbidden with default headers values

func (*RegisterDevboxForbidden) Code

func (o *RegisterDevboxForbidden) Code() int

Code gets the status code for the register devbox forbidden response

func (*RegisterDevboxForbidden) Error

func (o *RegisterDevboxForbidden) Error() string

func (*RegisterDevboxForbidden) GetPayload

func (o *RegisterDevboxForbidden) GetPayload() *models.ErrorResponse

func (*RegisterDevboxForbidden) IsClientError

func (o *RegisterDevboxForbidden) IsClientError() bool

IsClientError returns true when this register devbox forbidden response has a 4xx status code

func (*RegisterDevboxForbidden) IsCode

func (o *RegisterDevboxForbidden) IsCode(code int) bool

IsCode returns true when this register devbox forbidden response a status code equal to that given

func (*RegisterDevboxForbidden) IsRedirect

func (o *RegisterDevboxForbidden) IsRedirect() bool

IsRedirect returns true when this register devbox forbidden response has a 3xx status code

func (*RegisterDevboxForbidden) IsServerError

func (o *RegisterDevboxForbidden) IsServerError() bool

IsServerError returns true when this register devbox forbidden response has a 5xx status code

func (*RegisterDevboxForbidden) IsSuccess

func (o *RegisterDevboxForbidden) IsSuccess() bool

IsSuccess returns true when this register devbox forbidden response has a 2xx status code

func (*RegisterDevboxForbidden) String

func (o *RegisterDevboxForbidden) String() string

type RegisterDevboxInternalServerError

type RegisterDevboxInternalServerError struct {
	Payload *models.ErrorResponse
}

RegisterDevboxInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewRegisterDevboxInternalServerError

func NewRegisterDevboxInternalServerError() *RegisterDevboxInternalServerError

NewRegisterDevboxInternalServerError creates a RegisterDevboxInternalServerError with default headers values

func (*RegisterDevboxInternalServerError) Code

Code gets the status code for the register devbox internal server error response

func (*RegisterDevboxInternalServerError) Error

func (*RegisterDevboxInternalServerError) GetPayload

func (*RegisterDevboxInternalServerError) IsClientError

func (o *RegisterDevboxInternalServerError) IsClientError() bool

IsClientError returns true when this register devbox internal server error response has a 4xx status code

func (*RegisterDevboxInternalServerError) IsCode

func (o *RegisterDevboxInternalServerError) IsCode(code int) bool

IsCode returns true when this register devbox internal server error response a status code equal to that given

func (*RegisterDevboxInternalServerError) IsRedirect

func (o *RegisterDevboxInternalServerError) IsRedirect() bool

IsRedirect returns true when this register devbox internal server error response has a 3xx status code

func (*RegisterDevboxInternalServerError) IsServerError

func (o *RegisterDevboxInternalServerError) IsServerError() bool

IsServerError returns true when this register devbox internal server error response has a 5xx status code

func (*RegisterDevboxInternalServerError) IsSuccess

func (o *RegisterDevboxInternalServerError) IsSuccess() bool

IsSuccess returns true when this register devbox internal server error response has a 2xx status code

func (*RegisterDevboxInternalServerError) String

type RegisterDevboxOK

type RegisterDevboxOK struct {
	Payload *models.Devbox
}

RegisterDevboxOK describes a response with status code 200, with default header values.

OK

func NewRegisterDevboxOK

func NewRegisterDevboxOK() *RegisterDevboxOK

NewRegisterDevboxOK creates a RegisterDevboxOK with default headers values

func (*RegisterDevboxOK) Code

func (o *RegisterDevboxOK) Code() int

Code gets the status code for the register devbox o k response

func (*RegisterDevboxOK) Error

func (o *RegisterDevboxOK) Error() string

func (*RegisterDevboxOK) GetPayload

func (o *RegisterDevboxOK) GetPayload() *models.Devbox

func (*RegisterDevboxOK) IsClientError

func (o *RegisterDevboxOK) IsClientError() bool

IsClientError returns true when this register devbox o k response has a 4xx status code

func (*RegisterDevboxOK) IsCode

func (o *RegisterDevboxOK) IsCode(code int) bool

IsCode returns true when this register devbox o k response a status code equal to that given

func (*RegisterDevboxOK) IsRedirect

func (o *RegisterDevboxOK) IsRedirect() bool

IsRedirect returns true when this register devbox o k response has a 3xx status code

func (*RegisterDevboxOK) IsServerError

func (o *RegisterDevboxOK) IsServerError() bool

IsServerError returns true when this register devbox o k response has a 5xx status code

func (*RegisterDevboxOK) IsSuccess

func (o *RegisterDevboxOK) IsSuccess() bool

IsSuccess returns true when this register devbox o k response has a 2xx status code

func (*RegisterDevboxOK) String

func (o *RegisterDevboxOK) String() string

type RegisterDevboxParams

type RegisterDevboxParams struct {

	/* Data.

	   Devbox Registration
	*/
	Data *models.DevboxRegistration

	/* OrgName.

	   Signadot Org Name
	*/
	OrgName string

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

RegisterDevboxParams contains all the parameters to send to the API endpoint

for the register devbox operation.

Typically these are written to a http.Request.

func NewRegisterDevboxParams

func NewRegisterDevboxParams() *RegisterDevboxParams

NewRegisterDevboxParams creates a new RegisterDevboxParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewRegisterDevboxParamsWithContext

func NewRegisterDevboxParamsWithContext(ctx context.Context) *RegisterDevboxParams

NewRegisterDevboxParamsWithContext creates a new RegisterDevboxParams object with the ability to set a context for a request.

func NewRegisterDevboxParamsWithHTTPClient

func NewRegisterDevboxParamsWithHTTPClient(client *http.Client) *RegisterDevboxParams

NewRegisterDevboxParamsWithHTTPClient creates a new RegisterDevboxParams object with the ability to set a custom HTTPClient for a request.

func NewRegisterDevboxParamsWithTimeout

func NewRegisterDevboxParamsWithTimeout(timeout time.Duration) *RegisterDevboxParams

NewRegisterDevboxParamsWithTimeout creates a new RegisterDevboxParams object with the ability to set a timeout on a request.

func (*RegisterDevboxParams) SetContext

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

SetContext adds the context to the register devbox params

func (*RegisterDevboxParams) SetData

SetData adds the data to the register devbox params

func (*RegisterDevboxParams) SetDefaults

func (o *RegisterDevboxParams) SetDefaults()

SetDefaults hydrates default values in the register devbox params (not the query body).

All values with no default are reset to their zero value.

func (*RegisterDevboxParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the register devbox params

func (*RegisterDevboxParams) SetOrgName

func (o *RegisterDevboxParams) SetOrgName(orgName string)

SetOrgName adds the orgName to the register devbox params

func (*RegisterDevboxParams) SetTimeout

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

SetTimeout adds the timeout to the register devbox params

func (*RegisterDevboxParams) WithContext

WithContext adds the context to the register devbox params

func (*RegisterDevboxParams) WithData

WithData adds the data to the register devbox params

func (*RegisterDevboxParams) WithDefaults

func (o *RegisterDevboxParams) WithDefaults() *RegisterDevboxParams

WithDefaults hydrates default values in the register devbox params (not the query body).

All values with no default are reset to their zero value.

func (*RegisterDevboxParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the register devbox params

func (*RegisterDevboxParams) WithOrgName

func (o *RegisterDevboxParams) WithOrgName(orgName string) *RegisterDevboxParams

WithOrgName adds the orgName to the register devbox params

func (*RegisterDevboxParams) WithTimeout

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

WithTimeout adds the timeout to the register devbox params

func (*RegisterDevboxParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type RegisterDevboxReader

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

RegisterDevboxReader is a Reader for the RegisterDevbox structure.

func (*RegisterDevboxReader) ReadResponse

func (o *RegisterDevboxReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type RegisterDevboxTooManyRequests

type RegisterDevboxTooManyRequests struct {
	Payload *models.ErrorResponse
}

RegisterDevboxTooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewRegisterDevboxTooManyRequests

func NewRegisterDevboxTooManyRequests() *RegisterDevboxTooManyRequests

NewRegisterDevboxTooManyRequests creates a RegisterDevboxTooManyRequests with default headers values

func (*RegisterDevboxTooManyRequests) Code

Code gets the status code for the register devbox too many requests response

func (*RegisterDevboxTooManyRequests) Error

func (*RegisterDevboxTooManyRequests) GetPayload

func (*RegisterDevboxTooManyRequests) IsClientError

func (o *RegisterDevboxTooManyRequests) IsClientError() bool

IsClientError returns true when this register devbox too many requests response has a 4xx status code

func (*RegisterDevboxTooManyRequests) IsCode

func (o *RegisterDevboxTooManyRequests) IsCode(code int) bool

IsCode returns true when this register devbox too many requests response a status code equal to that given

func (*RegisterDevboxTooManyRequests) IsRedirect

func (o *RegisterDevboxTooManyRequests) IsRedirect() bool

IsRedirect returns true when this register devbox too many requests response has a 3xx status code

func (*RegisterDevboxTooManyRequests) IsServerError

func (o *RegisterDevboxTooManyRequests) IsServerError() bool

IsServerError returns true when this register devbox too many requests response has a 5xx status code

func (*RegisterDevboxTooManyRequests) IsSuccess

func (o *RegisterDevboxTooManyRequests) IsSuccess() bool

IsSuccess returns true when this register devbox too many requests response has a 2xx status code

func (*RegisterDevboxTooManyRequests) String

type ReleaseDevboxForbidden

type ReleaseDevboxForbidden struct {
	Payload *models.ErrorResponse
}

ReleaseDevboxForbidden describes a response with status code 403, with default header values.

Forbidden

func NewReleaseDevboxForbidden

func NewReleaseDevboxForbidden() *ReleaseDevboxForbidden

NewReleaseDevboxForbidden creates a ReleaseDevboxForbidden with default headers values

func (*ReleaseDevboxForbidden) Code

func (o *ReleaseDevboxForbidden) Code() int

Code gets the status code for the release devbox forbidden response

func (*ReleaseDevboxForbidden) Error

func (o *ReleaseDevboxForbidden) Error() string

func (*ReleaseDevboxForbidden) GetPayload

func (o *ReleaseDevboxForbidden) GetPayload() *models.ErrorResponse

func (*ReleaseDevboxForbidden) IsClientError

func (o *ReleaseDevboxForbidden) IsClientError() bool

IsClientError returns true when this release devbox forbidden response has a 4xx status code

func (*ReleaseDevboxForbidden) IsCode

func (o *ReleaseDevboxForbidden) IsCode(code int) bool

IsCode returns true when this release devbox forbidden response a status code equal to that given

func (*ReleaseDevboxForbidden) IsRedirect

func (o *ReleaseDevboxForbidden) IsRedirect() bool

IsRedirect returns true when this release devbox forbidden response has a 3xx status code

func (*ReleaseDevboxForbidden) IsServerError

func (o *ReleaseDevboxForbidden) IsServerError() bool

IsServerError returns true when this release devbox forbidden response has a 5xx status code

func (*ReleaseDevboxForbidden) IsSuccess

func (o *ReleaseDevboxForbidden) IsSuccess() bool

IsSuccess returns true when this release devbox forbidden response has a 2xx status code

func (*ReleaseDevboxForbidden) String

func (o *ReleaseDevboxForbidden) String() string

type ReleaseDevboxInternalServerError

type ReleaseDevboxInternalServerError struct {
	Payload *models.ErrorResponse
}

ReleaseDevboxInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewReleaseDevboxInternalServerError

func NewReleaseDevboxInternalServerError() *ReleaseDevboxInternalServerError

NewReleaseDevboxInternalServerError creates a ReleaseDevboxInternalServerError with default headers values

func (*ReleaseDevboxInternalServerError) Code

Code gets the status code for the release devbox internal server error response

func (*ReleaseDevboxInternalServerError) Error

func (*ReleaseDevboxInternalServerError) GetPayload

func (*ReleaseDevboxInternalServerError) IsClientError

func (o *ReleaseDevboxInternalServerError) IsClientError() bool

IsClientError returns true when this release devbox internal server error response has a 4xx status code

func (*ReleaseDevboxInternalServerError) IsCode

func (o *ReleaseDevboxInternalServerError) IsCode(code int) bool

IsCode returns true when this release devbox internal server error response a status code equal to that given

func (*ReleaseDevboxInternalServerError) IsRedirect

func (o *ReleaseDevboxInternalServerError) IsRedirect() bool

IsRedirect returns true when this release devbox internal server error response has a 3xx status code

func (*ReleaseDevboxInternalServerError) IsServerError

func (o *ReleaseDevboxInternalServerError) IsServerError() bool

IsServerError returns true when this release devbox internal server error response has a 5xx status code

func (*ReleaseDevboxInternalServerError) IsSuccess

func (o *ReleaseDevboxInternalServerError) IsSuccess() bool

IsSuccess returns true when this release devbox internal server error response has a 2xx status code

func (*ReleaseDevboxInternalServerError) String

type ReleaseDevboxOK

type ReleaseDevboxOK struct {
	Payload *models.Devbox
}

ReleaseDevboxOK describes a response with status code 200, with default header values.

OK

func NewReleaseDevboxOK

func NewReleaseDevboxOK() *ReleaseDevboxOK

NewReleaseDevboxOK creates a ReleaseDevboxOK with default headers values

func (*ReleaseDevboxOK) Code

func (o *ReleaseDevboxOK) Code() int

Code gets the status code for the release devbox o k response

func (*ReleaseDevboxOK) Error

func (o *ReleaseDevboxOK) Error() string

func (*ReleaseDevboxOK) GetPayload

func (o *ReleaseDevboxOK) GetPayload() *models.Devbox

func (*ReleaseDevboxOK) IsClientError

func (o *ReleaseDevboxOK) IsClientError() bool

IsClientError returns true when this release devbox o k response has a 4xx status code

func (*ReleaseDevboxOK) IsCode

func (o *ReleaseDevboxOK) IsCode(code int) bool

IsCode returns true when this release devbox o k response a status code equal to that given

func (*ReleaseDevboxOK) IsRedirect

func (o *ReleaseDevboxOK) IsRedirect() bool

IsRedirect returns true when this release devbox o k response has a 3xx status code

func (*ReleaseDevboxOK) IsServerError

func (o *ReleaseDevboxOK) IsServerError() bool

IsServerError returns true when this release devbox o k response has a 5xx status code

func (*ReleaseDevboxOK) IsSuccess

func (o *ReleaseDevboxOK) IsSuccess() bool

IsSuccess returns true when this release devbox o k response has a 2xx status code

func (*ReleaseDevboxOK) String

func (o *ReleaseDevboxOK) String() string

type ReleaseDevboxParams

type ReleaseDevboxParams struct {

	/* DevboxID.

	   Devbox Identifier
	*/
	DevboxID string

	/* OrgName.

	   Signadot Org Name
	*/
	OrgName string

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

ReleaseDevboxParams contains all the parameters to send to the API endpoint

for the release devbox operation.

Typically these are written to a http.Request.

func NewReleaseDevboxParams

func NewReleaseDevboxParams() *ReleaseDevboxParams

NewReleaseDevboxParams creates a new ReleaseDevboxParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewReleaseDevboxParamsWithContext

func NewReleaseDevboxParamsWithContext(ctx context.Context) *ReleaseDevboxParams

NewReleaseDevboxParamsWithContext creates a new ReleaseDevboxParams object with the ability to set a context for a request.

func NewReleaseDevboxParamsWithHTTPClient

func NewReleaseDevboxParamsWithHTTPClient(client *http.Client) *ReleaseDevboxParams

NewReleaseDevboxParamsWithHTTPClient creates a new ReleaseDevboxParams object with the ability to set a custom HTTPClient for a request.

func NewReleaseDevboxParamsWithTimeout

func NewReleaseDevboxParamsWithTimeout(timeout time.Duration) *ReleaseDevboxParams

NewReleaseDevboxParamsWithTimeout creates a new ReleaseDevboxParams object with the ability to set a timeout on a request.

func (*ReleaseDevboxParams) SetContext

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

SetContext adds the context to the release devbox params

func (*ReleaseDevboxParams) SetDefaults

func (o *ReleaseDevboxParams) SetDefaults()

SetDefaults hydrates default values in the release devbox params (not the query body).

All values with no default are reset to their zero value.

func (*ReleaseDevboxParams) SetDevboxID

func (o *ReleaseDevboxParams) SetDevboxID(devboxID string)

SetDevboxID adds the devboxId to the release devbox params

func (*ReleaseDevboxParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the release devbox params

func (*ReleaseDevboxParams) SetOrgName

func (o *ReleaseDevboxParams) SetOrgName(orgName string)

SetOrgName adds the orgName to the release devbox params

func (*ReleaseDevboxParams) SetTimeout

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

SetTimeout adds the timeout to the release devbox params

func (*ReleaseDevboxParams) WithContext

WithContext adds the context to the release devbox params

func (*ReleaseDevboxParams) WithDefaults

func (o *ReleaseDevboxParams) WithDefaults() *ReleaseDevboxParams

WithDefaults hydrates default values in the release devbox params (not the query body).

All values with no default are reset to their zero value.

func (*ReleaseDevboxParams) WithDevboxID

func (o *ReleaseDevboxParams) WithDevboxID(devboxID string) *ReleaseDevboxParams

WithDevboxID adds the devboxID to the release devbox params

func (*ReleaseDevboxParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the release devbox params

func (*ReleaseDevboxParams) WithOrgName

func (o *ReleaseDevboxParams) WithOrgName(orgName string) *ReleaseDevboxParams

WithOrgName adds the orgName to the release devbox params

func (*ReleaseDevboxParams) WithTimeout

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

WithTimeout adds the timeout to the release devbox params

func (*ReleaseDevboxParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ReleaseDevboxReader

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

ReleaseDevboxReader is a Reader for the ReleaseDevbox structure.

func (*ReleaseDevboxReader) ReadResponse

func (o *ReleaseDevboxReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type ReleaseDevboxTooManyRequests

type ReleaseDevboxTooManyRequests struct {
	Payload *models.ErrorResponse
}

ReleaseDevboxTooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewReleaseDevboxTooManyRequests

func NewReleaseDevboxTooManyRequests() *ReleaseDevboxTooManyRequests

NewReleaseDevboxTooManyRequests creates a ReleaseDevboxTooManyRequests with default headers values

func (*ReleaseDevboxTooManyRequests) Code

Code gets the status code for the release devbox too many requests response

func (*ReleaseDevboxTooManyRequests) Error

func (*ReleaseDevboxTooManyRequests) GetPayload

func (*ReleaseDevboxTooManyRequests) IsClientError

func (o *ReleaseDevboxTooManyRequests) IsClientError() bool

IsClientError returns true when this release devbox too many requests response has a 4xx status code

func (*ReleaseDevboxTooManyRequests) IsCode

func (o *ReleaseDevboxTooManyRequests) IsCode(code int) bool

IsCode returns true when this release devbox too many requests response a status code equal to that given

func (*ReleaseDevboxTooManyRequests) IsRedirect

func (o *ReleaseDevboxTooManyRequests) IsRedirect() bool

IsRedirect returns true when this release devbox too many requests response has a 3xx status code

func (*ReleaseDevboxTooManyRequests) IsServerError

func (o *ReleaseDevboxTooManyRequests) IsServerError() bool

IsServerError returns true when this release devbox too many requests response has a 5xx status code

func (*ReleaseDevboxTooManyRequests) IsSuccess

func (o *ReleaseDevboxTooManyRequests) IsSuccess() bool

IsSuccess returns true when this release devbox too many requests response has a 2xx status code

func (*ReleaseDevboxTooManyRequests) String

type RenewDevboxForbidden

type RenewDevboxForbidden struct {
	Payload *models.ErrorResponse
}

RenewDevboxForbidden describes a response with status code 403, with default header values.

Forbidden

func NewRenewDevboxForbidden

func NewRenewDevboxForbidden() *RenewDevboxForbidden

NewRenewDevboxForbidden creates a RenewDevboxForbidden with default headers values

func (*RenewDevboxForbidden) Code

func (o *RenewDevboxForbidden) Code() int

Code gets the status code for the renew devbox forbidden response

func (*RenewDevboxForbidden) Error

func (o *RenewDevboxForbidden) Error() string

func (*RenewDevboxForbidden) GetPayload

func (o *RenewDevboxForbidden) GetPayload() *models.ErrorResponse

func (*RenewDevboxForbidden) IsClientError

func (o *RenewDevboxForbidden) IsClientError() bool

IsClientError returns true when this renew devbox forbidden response has a 4xx status code

func (*RenewDevboxForbidden) IsCode

func (o *RenewDevboxForbidden) IsCode(code int) bool

IsCode returns true when this renew devbox forbidden response a status code equal to that given

func (*RenewDevboxForbidden) IsRedirect

func (o *RenewDevboxForbidden) IsRedirect() bool

IsRedirect returns true when this renew devbox forbidden response has a 3xx status code

func (*RenewDevboxForbidden) IsServerError

func (o *RenewDevboxForbidden) IsServerError() bool

IsServerError returns true when this renew devbox forbidden response has a 5xx status code

func (*RenewDevboxForbidden) IsSuccess

func (o *RenewDevboxForbidden) IsSuccess() bool

IsSuccess returns true when this renew devbox forbidden response has a 2xx status code

func (*RenewDevboxForbidden) String

func (o *RenewDevboxForbidden) String() string

type RenewDevboxInternalServerError

type RenewDevboxInternalServerError struct {
	Payload *models.ErrorResponse
}

RenewDevboxInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewRenewDevboxInternalServerError

func NewRenewDevboxInternalServerError() *RenewDevboxInternalServerError

NewRenewDevboxInternalServerError creates a RenewDevboxInternalServerError with default headers values

func (*RenewDevboxInternalServerError) Code

Code gets the status code for the renew devbox internal server error response

func (*RenewDevboxInternalServerError) Error

func (*RenewDevboxInternalServerError) GetPayload

func (*RenewDevboxInternalServerError) IsClientError

func (o *RenewDevboxInternalServerError) IsClientError() bool

IsClientError returns true when this renew devbox internal server error response has a 4xx status code

func (*RenewDevboxInternalServerError) IsCode

func (o *RenewDevboxInternalServerError) IsCode(code int) bool

IsCode returns true when this renew devbox internal server error response a status code equal to that given

func (*RenewDevboxInternalServerError) IsRedirect

func (o *RenewDevboxInternalServerError) IsRedirect() bool

IsRedirect returns true when this renew devbox internal server error response has a 3xx status code

func (*RenewDevboxInternalServerError) IsServerError

func (o *RenewDevboxInternalServerError) IsServerError() bool

IsServerError returns true when this renew devbox internal server error response has a 5xx status code

func (*RenewDevboxInternalServerError) IsSuccess

func (o *RenewDevboxInternalServerError) IsSuccess() bool

IsSuccess returns true when this renew devbox internal server error response has a 2xx status code

func (*RenewDevboxInternalServerError) String

type RenewDevboxOK

type RenewDevboxOK struct {
	Payload *models.Devbox
}

RenewDevboxOK describes a response with status code 200, with default header values.

OK

func NewRenewDevboxOK

func NewRenewDevboxOK() *RenewDevboxOK

NewRenewDevboxOK creates a RenewDevboxOK with default headers values

func (*RenewDevboxOK) Code

func (o *RenewDevboxOK) Code() int

Code gets the status code for the renew devbox o k response

func (*RenewDevboxOK) Error

func (o *RenewDevboxOK) Error() string

func (*RenewDevboxOK) GetPayload

func (o *RenewDevboxOK) GetPayload() *models.Devbox

func (*RenewDevboxOK) IsClientError

func (o *RenewDevboxOK) IsClientError() bool

IsClientError returns true when this renew devbox o k response has a 4xx status code

func (*RenewDevboxOK) IsCode

func (o *RenewDevboxOK) IsCode(code int) bool

IsCode returns true when this renew devbox o k response a status code equal to that given

func (*RenewDevboxOK) IsRedirect

func (o *RenewDevboxOK) IsRedirect() bool

IsRedirect returns true when this renew devbox o k response has a 3xx status code

func (*RenewDevboxOK) IsServerError

func (o *RenewDevboxOK) IsServerError() bool

IsServerError returns true when this renew devbox o k response has a 5xx status code

func (*RenewDevboxOK) IsSuccess

func (o *RenewDevboxOK) IsSuccess() bool

IsSuccess returns true when this renew devbox o k response has a 2xx status code

func (*RenewDevboxOK) String

func (o *RenewDevboxOK) String() string

type RenewDevboxParams

type RenewDevboxParams struct {

	/* DevboxID.

	   Devbox Identifier
	*/
	DevboxID string

	/* DevboxSessionID.

	   Devbox Connect Session
	*/
	DevboxSessionID string

	/* OrgName.

	   Signadot Org Name
	*/
	OrgName string

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

RenewDevboxParams contains all the parameters to send to the API endpoint

for the renew devbox operation.

Typically these are written to a http.Request.

func NewRenewDevboxParams

func NewRenewDevboxParams() *RenewDevboxParams

NewRenewDevboxParams creates a new RenewDevboxParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewRenewDevboxParamsWithContext

func NewRenewDevboxParamsWithContext(ctx context.Context) *RenewDevboxParams

NewRenewDevboxParamsWithContext creates a new RenewDevboxParams object with the ability to set a context for a request.

func NewRenewDevboxParamsWithHTTPClient

func NewRenewDevboxParamsWithHTTPClient(client *http.Client) *RenewDevboxParams

NewRenewDevboxParamsWithHTTPClient creates a new RenewDevboxParams object with the ability to set a custom HTTPClient for a request.

func NewRenewDevboxParamsWithTimeout

func NewRenewDevboxParamsWithTimeout(timeout time.Duration) *RenewDevboxParams

NewRenewDevboxParamsWithTimeout creates a new RenewDevboxParams object with the ability to set a timeout on a request.

func (*RenewDevboxParams) SetContext

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

SetContext adds the context to the renew devbox params

func (*RenewDevboxParams) SetDefaults

func (o *RenewDevboxParams) SetDefaults()

SetDefaults hydrates default values in the renew devbox params (not the query body).

All values with no default are reset to their zero value.

func (*RenewDevboxParams) SetDevboxID

func (o *RenewDevboxParams) SetDevboxID(devboxID string)

SetDevboxID adds the devboxId to the renew devbox params

func (*RenewDevboxParams) SetDevboxSessionID

func (o *RenewDevboxParams) SetDevboxSessionID(devboxSessionID string)

SetDevboxSessionID adds the devboxSessionId to the renew devbox params

func (*RenewDevboxParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the renew devbox params

func (*RenewDevboxParams) SetOrgName

func (o *RenewDevboxParams) SetOrgName(orgName string)

SetOrgName adds the orgName to the renew devbox params

func (*RenewDevboxParams) SetTimeout

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

SetTimeout adds the timeout to the renew devbox params

func (*RenewDevboxParams) WithContext

func (o *RenewDevboxParams) WithContext(ctx context.Context) *RenewDevboxParams

WithContext adds the context to the renew devbox params

func (*RenewDevboxParams) WithDefaults

func (o *RenewDevboxParams) WithDefaults() *RenewDevboxParams

WithDefaults hydrates default values in the renew devbox params (not the query body).

All values with no default are reset to their zero value.

func (*RenewDevboxParams) WithDevboxID

func (o *RenewDevboxParams) WithDevboxID(devboxID string) *RenewDevboxParams

WithDevboxID adds the devboxID to the renew devbox params

func (*RenewDevboxParams) WithDevboxSessionID

func (o *RenewDevboxParams) WithDevboxSessionID(devboxSessionID string) *RenewDevboxParams

WithDevboxSessionID adds the devboxSessionID to the renew devbox params

func (*RenewDevboxParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the renew devbox params

func (*RenewDevboxParams) WithOrgName

func (o *RenewDevboxParams) WithOrgName(orgName string) *RenewDevboxParams

WithOrgName adds the orgName to the renew devbox params

func (*RenewDevboxParams) WithTimeout

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

WithTimeout adds the timeout to the renew devbox params

func (*RenewDevboxParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type RenewDevboxReader

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

RenewDevboxReader is a Reader for the RenewDevbox structure.

func (*RenewDevboxReader) ReadResponse

func (o *RenewDevboxReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type RenewDevboxTooManyRequests

type RenewDevboxTooManyRequests struct {
	Payload *models.ErrorResponse
}

RenewDevboxTooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewRenewDevboxTooManyRequests

func NewRenewDevboxTooManyRequests() *RenewDevboxTooManyRequests

NewRenewDevboxTooManyRequests creates a RenewDevboxTooManyRequests with default headers values

func (*RenewDevboxTooManyRequests) Code

func (o *RenewDevboxTooManyRequests) Code() int

Code gets the status code for the renew devbox too many requests response

func (*RenewDevboxTooManyRequests) Error

func (*RenewDevboxTooManyRequests) GetPayload

func (*RenewDevboxTooManyRequests) IsClientError

func (o *RenewDevboxTooManyRequests) IsClientError() bool

IsClientError returns true when this renew devbox too many requests response has a 4xx status code

func (*RenewDevboxTooManyRequests) IsCode

func (o *RenewDevboxTooManyRequests) IsCode(code int) bool

IsCode returns true when this renew devbox too many requests response a status code equal to that given

func (*RenewDevboxTooManyRequests) IsRedirect

func (o *RenewDevboxTooManyRequests) IsRedirect() bool

IsRedirect returns true when this renew devbox too many requests response has a 3xx status code

func (*RenewDevboxTooManyRequests) IsServerError

func (o *RenewDevboxTooManyRequests) IsServerError() bool

IsServerError returns true when this renew devbox too many requests response has a 5xx status code

func (*RenewDevboxTooManyRequests) IsSuccess

func (o *RenewDevboxTooManyRequests) IsSuccess() bool

IsSuccess returns true when this renew devbox too many requests response has a 2xx status code

func (*RenewDevboxTooManyRequests) String

func (o *RenewDevboxTooManyRequests) String() string

Jump to

Keyboard shortcuts

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