Documentation
¶
Index ¶
- type ClaimDevboxConflict
- func (o *ClaimDevboxConflict) Code() int
- func (o *ClaimDevboxConflict) Error() string
- func (o *ClaimDevboxConflict) GetPayload() *models.ErrorResponse
- func (o *ClaimDevboxConflict) IsClientError() bool
- func (o *ClaimDevboxConflict) IsCode(code int) bool
- func (o *ClaimDevboxConflict) IsRedirect() bool
- func (o *ClaimDevboxConflict) IsServerError() bool
- func (o *ClaimDevboxConflict) IsSuccess() bool
- func (o *ClaimDevboxConflict) String() string
- type ClaimDevboxForbidden
- func (o *ClaimDevboxForbidden) Code() int
- func (o *ClaimDevboxForbidden) Error() string
- func (o *ClaimDevboxForbidden) GetPayload() *models.ErrorResponse
- func (o *ClaimDevboxForbidden) IsClientError() bool
- func (o *ClaimDevboxForbidden) IsCode(code int) bool
- func (o *ClaimDevboxForbidden) IsRedirect() bool
- func (o *ClaimDevboxForbidden) IsServerError() bool
- func (o *ClaimDevboxForbidden) IsSuccess() bool
- func (o *ClaimDevboxForbidden) String() string
- type ClaimDevboxInternalServerError
- func (o *ClaimDevboxInternalServerError) Code() int
- func (o *ClaimDevboxInternalServerError) Error() string
- func (o *ClaimDevboxInternalServerError) GetPayload() *models.ErrorResponse
- func (o *ClaimDevboxInternalServerError) IsClientError() bool
- func (o *ClaimDevboxInternalServerError) IsCode(code int) bool
- func (o *ClaimDevboxInternalServerError) IsRedirect() bool
- func (o *ClaimDevboxInternalServerError) IsServerError() bool
- func (o *ClaimDevboxInternalServerError) IsSuccess() bool
- func (o *ClaimDevboxInternalServerError) String() string
- type ClaimDevboxOK
- func (o *ClaimDevboxOK) Code() int
- func (o *ClaimDevboxOK) Error() string
- func (o *ClaimDevboxOK) GetPayload() *models.Devbox
- func (o *ClaimDevboxOK) IsClientError() bool
- func (o *ClaimDevboxOK) IsCode(code int) bool
- func (o *ClaimDevboxOK) IsRedirect() bool
- func (o *ClaimDevboxOK) IsServerError() bool
- func (o *ClaimDevboxOK) IsSuccess() bool
- func (o *ClaimDevboxOK) String() string
- type ClaimDevboxParams
- func (o *ClaimDevboxParams) SetContext(ctx context.Context)
- func (o *ClaimDevboxParams) SetDefaults()
- func (o *ClaimDevboxParams) SetDevboxID(devboxID string)
- func (o *ClaimDevboxParams) SetHTTPClient(client *http.Client)
- func (o *ClaimDevboxParams) SetOrgName(orgName string)
- func (o *ClaimDevboxParams) SetTimeout(timeout time.Duration)
- func (o *ClaimDevboxParams) WithContext(ctx context.Context) *ClaimDevboxParams
- func (o *ClaimDevboxParams) WithDefaults() *ClaimDevboxParams
- func (o *ClaimDevboxParams) WithDevboxID(devboxID string) *ClaimDevboxParams
- func (o *ClaimDevboxParams) WithHTTPClient(client *http.Client) *ClaimDevboxParams
- func (o *ClaimDevboxParams) WithOrgName(orgName string) *ClaimDevboxParams
- func (o *ClaimDevboxParams) WithTimeout(timeout time.Duration) *ClaimDevboxParams
- func (o *ClaimDevboxParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ClaimDevboxReader
- type ClaimDevboxTooManyRequests
- func (o *ClaimDevboxTooManyRequests) Code() int
- func (o *ClaimDevboxTooManyRequests) Error() string
- func (o *ClaimDevboxTooManyRequests) GetPayload() *models.ErrorResponse
- func (o *ClaimDevboxTooManyRequests) IsClientError() bool
- func (o *ClaimDevboxTooManyRequests) IsCode(code int) bool
- func (o *ClaimDevboxTooManyRequests) IsRedirect() bool
- func (o *ClaimDevboxTooManyRequests) IsServerError() bool
- func (o *ClaimDevboxTooManyRequests) IsSuccess() bool
- func (o *ClaimDevboxTooManyRequests) String() string
- type Client
- func (a *Client) ClaimDevbox(params *ClaimDevboxParams, opts ...ClientOption) (*ClaimDevboxOK, error)
- func (a *Client) DeleteDevbox(params *DeleteDevboxParams, opts ...ClientOption) (*DeleteDevboxOK, error)
- func (a *Client) GetDevbox(params *GetDevboxParams, opts ...ClientOption) (*GetDevboxOK, error)
- func (a *Client) GetDevboxes(params *GetDevboxesParams, opts ...ClientOption) (*GetDevboxesOK, error)
- func (a *Client) RegisterDevbox(params *RegisterDevboxParams, opts ...ClientOption) (*RegisterDevboxOK, *RegisterDevboxCreated, error)
- func (a *Client) ReleaseDevbox(params *ReleaseDevboxParams, opts ...ClientOption) (*ReleaseDevboxOK, error)
- func (a *Client) RenewDevbox(params *RenewDevboxParams, opts ...ClientOption) (*RenewDevboxOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type DeleteDevboxForbidden
- func (o *DeleteDevboxForbidden) Code() int
- func (o *DeleteDevboxForbidden) Error() string
- func (o *DeleteDevboxForbidden) GetPayload() *models.ErrorResponse
- func (o *DeleteDevboxForbidden) IsClientError() bool
- func (o *DeleteDevboxForbidden) IsCode(code int) bool
- func (o *DeleteDevboxForbidden) IsRedirect() bool
- func (o *DeleteDevboxForbidden) IsServerError() bool
- func (o *DeleteDevboxForbidden) IsSuccess() bool
- func (o *DeleteDevboxForbidden) String() string
- type DeleteDevboxInternalServerError
- func (o *DeleteDevboxInternalServerError) Code() int
- func (o *DeleteDevboxInternalServerError) Error() string
- func (o *DeleteDevboxInternalServerError) GetPayload() *models.ErrorResponse
- func (o *DeleteDevboxInternalServerError) IsClientError() bool
- func (o *DeleteDevboxInternalServerError) IsCode(code int) bool
- func (o *DeleteDevboxInternalServerError) IsRedirect() bool
- func (o *DeleteDevboxInternalServerError) IsServerError() bool
- func (o *DeleteDevboxInternalServerError) IsSuccess() bool
- func (o *DeleteDevboxInternalServerError) String() string
- type DeleteDevboxOK
- func (o *DeleteDevboxOK) Code() int
- func (o *DeleteDevboxOK) Error() string
- func (o *DeleteDevboxOK) GetPayload() models.EmptyResponse
- func (o *DeleteDevboxOK) IsClientError() bool
- func (o *DeleteDevboxOK) IsCode(code int) bool
- func (o *DeleteDevboxOK) IsRedirect() bool
- func (o *DeleteDevboxOK) IsServerError() bool
- func (o *DeleteDevboxOK) IsSuccess() bool
- func (o *DeleteDevboxOK) String() string
- type DeleteDevboxParams
- func (o *DeleteDevboxParams) SetContext(ctx context.Context)
- func (o *DeleteDevboxParams) SetDefaults()
- func (o *DeleteDevboxParams) SetDevboxID(devboxID string)
- func (o *DeleteDevboxParams) SetHTTPClient(client *http.Client)
- func (o *DeleteDevboxParams) SetOrgName(orgName string)
- func (o *DeleteDevboxParams) SetTimeout(timeout time.Duration)
- func (o *DeleteDevboxParams) WithContext(ctx context.Context) *DeleteDevboxParams
- func (o *DeleteDevboxParams) WithDefaults() *DeleteDevboxParams
- func (o *DeleteDevboxParams) WithDevboxID(devboxID string) *DeleteDevboxParams
- func (o *DeleteDevboxParams) WithHTTPClient(client *http.Client) *DeleteDevboxParams
- func (o *DeleteDevboxParams) WithOrgName(orgName string) *DeleteDevboxParams
- func (o *DeleteDevboxParams) WithTimeout(timeout time.Duration) *DeleteDevboxParams
- func (o *DeleteDevboxParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteDevboxReader
- type DeleteDevboxTooManyRequests
- func (o *DeleteDevboxTooManyRequests) Code() int
- func (o *DeleteDevboxTooManyRequests) Error() string
- func (o *DeleteDevboxTooManyRequests) GetPayload() *models.ErrorResponse
- func (o *DeleteDevboxTooManyRequests) IsClientError() bool
- func (o *DeleteDevboxTooManyRequests) IsCode(code int) bool
- func (o *DeleteDevboxTooManyRequests) IsRedirect() bool
- func (o *DeleteDevboxTooManyRequests) IsServerError() bool
- func (o *DeleteDevboxTooManyRequests) IsSuccess() bool
- func (o *DeleteDevboxTooManyRequests) String() string
- type GetDevboxForbidden
- func (o *GetDevboxForbidden) Code() int
- func (o *GetDevboxForbidden) Error() string
- func (o *GetDevboxForbidden) GetPayload() *models.ErrorResponse
- func (o *GetDevboxForbidden) IsClientError() bool
- func (o *GetDevboxForbidden) IsCode(code int) bool
- func (o *GetDevboxForbidden) IsRedirect() bool
- func (o *GetDevboxForbidden) IsServerError() bool
- func (o *GetDevboxForbidden) IsSuccess() bool
- func (o *GetDevboxForbidden) String() string
- type GetDevboxInternalServerError
- func (o *GetDevboxInternalServerError) Code() int
- func (o *GetDevboxInternalServerError) Error() string
- func (o *GetDevboxInternalServerError) GetPayload() *models.ErrorResponse
- func (o *GetDevboxInternalServerError) IsClientError() bool
- func (o *GetDevboxInternalServerError) IsCode(code int) bool
- func (o *GetDevboxInternalServerError) IsRedirect() bool
- func (o *GetDevboxInternalServerError) IsServerError() bool
- func (o *GetDevboxInternalServerError) IsSuccess() bool
- func (o *GetDevboxInternalServerError) String() string
- type GetDevboxOK
- func (o *GetDevboxOK) Code() int
- func (o *GetDevboxOK) Error() string
- func (o *GetDevboxOK) GetPayload() *models.Devbox
- func (o *GetDevboxOK) IsClientError() bool
- func (o *GetDevboxOK) IsCode(code int) bool
- func (o *GetDevboxOK) IsRedirect() bool
- func (o *GetDevboxOK) IsServerError() bool
- func (o *GetDevboxOK) IsSuccess() bool
- func (o *GetDevboxOK) String() string
- type GetDevboxParams
- func (o *GetDevboxParams) SetContext(ctx context.Context)
- func (o *GetDevboxParams) SetDefaults()
- func (o *GetDevboxParams) SetDevboxID(devboxID string)
- func (o *GetDevboxParams) SetHTTPClient(client *http.Client)
- func (o *GetDevboxParams) SetOrgName(orgName string)
- func (o *GetDevboxParams) SetTimeout(timeout time.Duration)
- func (o *GetDevboxParams) WithContext(ctx context.Context) *GetDevboxParams
- func (o *GetDevboxParams) WithDefaults() *GetDevboxParams
- func (o *GetDevboxParams) WithDevboxID(devboxID string) *GetDevboxParams
- func (o *GetDevboxParams) WithHTTPClient(client *http.Client) *GetDevboxParams
- func (o *GetDevboxParams) WithOrgName(orgName string) *GetDevboxParams
- func (o *GetDevboxParams) WithTimeout(timeout time.Duration) *GetDevboxParams
- func (o *GetDevboxParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetDevboxReader
- type GetDevboxTooManyRequests
- func (o *GetDevboxTooManyRequests) Code() int
- func (o *GetDevboxTooManyRequests) Error() string
- func (o *GetDevboxTooManyRequests) GetPayload() *models.ErrorResponse
- func (o *GetDevboxTooManyRequests) IsClientError() bool
- func (o *GetDevboxTooManyRequests) IsCode(code int) bool
- func (o *GetDevboxTooManyRequests) IsRedirect() bool
- func (o *GetDevboxTooManyRequests) IsServerError() bool
- func (o *GetDevboxTooManyRequests) IsSuccess() bool
- func (o *GetDevboxTooManyRequests) String() string
- type GetDevboxesForbidden
- func (o *GetDevboxesForbidden) Code() int
- func (o *GetDevboxesForbidden) Error() string
- func (o *GetDevboxesForbidden) GetPayload() *models.ErrorResponse
- func (o *GetDevboxesForbidden) IsClientError() bool
- func (o *GetDevboxesForbidden) IsCode(code int) bool
- func (o *GetDevboxesForbidden) IsRedirect() bool
- func (o *GetDevboxesForbidden) IsServerError() bool
- func (o *GetDevboxesForbidden) IsSuccess() bool
- func (o *GetDevboxesForbidden) String() string
- type GetDevboxesInternalServerError
- func (o *GetDevboxesInternalServerError) Code() int
- func (o *GetDevboxesInternalServerError) Error() string
- func (o *GetDevboxesInternalServerError) GetPayload() *models.ErrorResponse
- func (o *GetDevboxesInternalServerError) IsClientError() bool
- func (o *GetDevboxesInternalServerError) IsCode(code int) bool
- func (o *GetDevboxesInternalServerError) IsRedirect() bool
- func (o *GetDevboxesInternalServerError) IsServerError() bool
- func (o *GetDevboxesInternalServerError) IsSuccess() bool
- func (o *GetDevboxesInternalServerError) String() string
- type GetDevboxesOK
- func (o *GetDevboxesOK) Code() int
- func (o *GetDevboxesOK) Error() string
- func (o *GetDevboxesOK) GetPayload() []*models.Devbox
- func (o *GetDevboxesOK) IsClientError() bool
- func (o *GetDevboxesOK) IsCode(code int) bool
- func (o *GetDevboxesOK) IsRedirect() bool
- func (o *GetDevboxesOK) IsServerError() bool
- func (o *GetDevboxesOK) IsSuccess() bool
- func (o *GetDevboxesOK) String() string
- type GetDevboxesParams
- func (o *GetDevboxesParams) SetAll(all *string)
- func (o *GetDevboxesParams) SetContext(ctx context.Context)
- func (o *GetDevboxesParams) SetDefaults()
- func (o *GetDevboxesParams) SetHTTPClient(client *http.Client)
- func (o *GetDevboxesParams) SetOrgName(orgName string)
- func (o *GetDevboxesParams) SetTimeout(timeout time.Duration)
- func (o *GetDevboxesParams) WithAll(all *string) *GetDevboxesParams
- func (o *GetDevboxesParams) WithContext(ctx context.Context) *GetDevboxesParams
- func (o *GetDevboxesParams) WithDefaults() *GetDevboxesParams
- func (o *GetDevboxesParams) WithHTTPClient(client *http.Client) *GetDevboxesParams
- func (o *GetDevboxesParams) WithOrgName(orgName string) *GetDevboxesParams
- func (o *GetDevboxesParams) WithTimeout(timeout time.Duration) *GetDevboxesParams
- func (o *GetDevboxesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetDevboxesReader
- type GetDevboxesTooManyRequests
- func (o *GetDevboxesTooManyRequests) Code() int
- func (o *GetDevboxesTooManyRequests) Error() string
- func (o *GetDevboxesTooManyRequests) GetPayload() *models.ErrorResponse
- func (o *GetDevboxesTooManyRequests) IsClientError() bool
- func (o *GetDevboxesTooManyRequests) IsCode(code int) bool
- func (o *GetDevboxesTooManyRequests) IsRedirect() bool
- func (o *GetDevboxesTooManyRequests) IsServerError() bool
- func (o *GetDevboxesTooManyRequests) IsSuccess() bool
- func (o *GetDevboxesTooManyRequests) String() string
- type RegisterDevboxCreated
- func (o *RegisterDevboxCreated) Code() int
- func (o *RegisterDevboxCreated) Error() string
- func (o *RegisterDevboxCreated) GetPayload() *models.Devbox
- func (o *RegisterDevboxCreated) IsClientError() bool
- func (o *RegisterDevboxCreated) IsCode(code int) bool
- func (o *RegisterDevboxCreated) IsRedirect() bool
- func (o *RegisterDevboxCreated) IsServerError() bool
- func (o *RegisterDevboxCreated) IsSuccess() bool
- func (o *RegisterDevboxCreated) String() string
- type RegisterDevboxForbidden
- func (o *RegisterDevboxForbidden) Code() int
- func (o *RegisterDevboxForbidden) Error() string
- func (o *RegisterDevboxForbidden) GetPayload() *models.ErrorResponse
- func (o *RegisterDevboxForbidden) IsClientError() bool
- func (o *RegisterDevboxForbidden) IsCode(code int) bool
- func (o *RegisterDevboxForbidden) IsRedirect() bool
- func (o *RegisterDevboxForbidden) IsServerError() bool
- func (o *RegisterDevboxForbidden) IsSuccess() bool
- func (o *RegisterDevboxForbidden) String() string
- type RegisterDevboxInternalServerError
- func (o *RegisterDevboxInternalServerError) Code() int
- func (o *RegisterDevboxInternalServerError) Error() string
- func (o *RegisterDevboxInternalServerError) GetPayload() *models.ErrorResponse
- func (o *RegisterDevboxInternalServerError) IsClientError() bool
- func (o *RegisterDevboxInternalServerError) IsCode(code int) bool
- func (o *RegisterDevboxInternalServerError) IsRedirect() bool
- func (o *RegisterDevboxInternalServerError) IsServerError() bool
- func (o *RegisterDevboxInternalServerError) IsSuccess() bool
- func (o *RegisterDevboxInternalServerError) String() string
- type RegisterDevboxOK
- func (o *RegisterDevboxOK) Code() int
- func (o *RegisterDevboxOK) Error() string
- func (o *RegisterDevboxOK) GetPayload() *models.Devbox
- func (o *RegisterDevboxOK) IsClientError() bool
- func (o *RegisterDevboxOK) IsCode(code int) bool
- func (o *RegisterDevboxOK) IsRedirect() bool
- func (o *RegisterDevboxOK) IsServerError() bool
- func (o *RegisterDevboxOK) IsSuccess() bool
- func (o *RegisterDevboxOK) String() string
- type RegisterDevboxParams
- func NewRegisterDevboxParams() *RegisterDevboxParams
- func NewRegisterDevboxParamsWithContext(ctx context.Context) *RegisterDevboxParams
- func NewRegisterDevboxParamsWithHTTPClient(client *http.Client) *RegisterDevboxParams
- func NewRegisterDevboxParamsWithTimeout(timeout time.Duration) *RegisterDevboxParams
- func (o *RegisterDevboxParams) SetContext(ctx context.Context)
- func (o *RegisterDevboxParams) SetData(data *models.DevboxRegistration)
- func (o *RegisterDevboxParams) SetDefaults()
- func (o *RegisterDevboxParams) SetHTTPClient(client *http.Client)
- func (o *RegisterDevboxParams) SetOrgName(orgName string)
- func (o *RegisterDevboxParams) SetTimeout(timeout time.Duration)
- func (o *RegisterDevboxParams) WithContext(ctx context.Context) *RegisterDevboxParams
- func (o *RegisterDevboxParams) WithData(data *models.DevboxRegistration) *RegisterDevboxParams
- func (o *RegisterDevboxParams) WithDefaults() *RegisterDevboxParams
- func (o *RegisterDevboxParams) WithHTTPClient(client *http.Client) *RegisterDevboxParams
- func (o *RegisterDevboxParams) WithOrgName(orgName string) *RegisterDevboxParams
- func (o *RegisterDevboxParams) WithTimeout(timeout time.Duration) *RegisterDevboxParams
- func (o *RegisterDevboxParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RegisterDevboxReader
- type RegisterDevboxTooManyRequests
- func (o *RegisterDevboxTooManyRequests) Code() int
- func (o *RegisterDevboxTooManyRequests) Error() string
- func (o *RegisterDevboxTooManyRequests) GetPayload() *models.ErrorResponse
- func (o *RegisterDevboxTooManyRequests) IsClientError() bool
- func (o *RegisterDevboxTooManyRequests) IsCode(code int) bool
- func (o *RegisterDevboxTooManyRequests) IsRedirect() bool
- func (o *RegisterDevboxTooManyRequests) IsServerError() bool
- func (o *RegisterDevboxTooManyRequests) IsSuccess() bool
- func (o *RegisterDevboxTooManyRequests) String() string
- type ReleaseDevboxForbidden
- func (o *ReleaseDevboxForbidden) Code() int
- func (o *ReleaseDevboxForbidden) Error() string
- func (o *ReleaseDevboxForbidden) GetPayload() *models.ErrorResponse
- func (o *ReleaseDevboxForbidden) IsClientError() bool
- func (o *ReleaseDevboxForbidden) IsCode(code int) bool
- func (o *ReleaseDevboxForbidden) IsRedirect() bool
- func (o *ReleaseDevboxForbidden) IsServerError() bool
- func (o *ReleaseDevboxForbidden) IsSuccess() bool
- func (o *ReleaseDevboxForbidden) String() string
- type ReleaseDevboxInternalServerError
- func (o *ReleaseDevboxInternalServerError) Code() int
- func (o *ReleaseDevboxInternalServerError) Error() string
- func (o *ReleaseDevboxInternalServerError) GetPayload() *models.ErrorResponse
- func (o *ReleaseDevboxInternalServerError) IsClientError() bool
- func (o *ReleaseDevboxInternalServerError) IsCode(code int) bool
- func (o *ReleaseDevboxInternalServerError) IsRedirect() bool
- func (o *ReleaseDevboxInternalServerError) IsServerError() bool
- func (o *ReleaseDevboxInternalServerError) IsSuccess() bool
- func (o *ReleaseDevboxInternalServerError) String() string
- type ReleaseDevboxOK
- func (o *ReleaseDevboxOK) Code() int
- func (o *ReleaseDevboxOK) Error() string
- func (o *ReleaseDevboxOK) GetPayload() *models.Devbox
- func (o *ReleaseDevboxOK) IsClientError() bool
- func (o *ReleaseDevboxOK) IsCode(code int) bool
- func (o *ReleaseDevboxOK) IsRedirect() bool
- func (o *ReleaseDevboxOK) IsServerError() bool
- func (o *ReleaseDevboxOK) IsSuccess() bool
- func (o *ReleaseDevboxOK) String() string
- type ReleaseDevboxParams
- func (o *ReleaseDevboxParams) SetContext(ctx context.Context)
- func (o *ReleaseDevboxParams) SetDefaults()
- func (o *ReleaseDevboxParams) SetDevboxID(devboxID string)
- func (o *ReleaseDevboxParams) SetHTTPClient(client *http.Client)
- func (o *ReleaseDevboxParams) SetOrgName(orgName string)
- func (o *ReleaseDevboxParams) SetTimeout(timeout time.Duration)
- func (o *ReleaseDevboxParams) WithContext(ctx context.Context) *ReleaseDevboxParams
- func (o *ReleaseDevboxParams) WithDefaults() *ReleaseDevboxParams
- func (o *ReleaseDevboxParams) WithDevboxID(devboxID string) *ReleaseDevboxParams
- func (o *ReleaseDevboxParams) WithHTTPClient(client *http.Client) *ReleaseDevboxParams
- func (o *ReleaseDevboxParams) WithOrgName(orgName string) *ReleaseDevboxParams
- func (o *ReleaseDevboxParams) WithTimeout(timeout time.Duration) *ReleaseDevboxParams
- func (o *ReleaseDevboxParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ReleaseDevboxReader
- type ReleaseDevboxTooManyRequests
- func (o *ReleaseDevboxTooManyRequests) Code() int
- func (o *ReleaseDevboxTooManyRequests) Error() string
- func (o *ReleaseDevboxTooManyRequests) GetPayload() *models.ErrorResponse
- func (o *ReleaseDevboxTooManyRequests) IsClientError() bool
- func (o *ReleaseDevboxTooManyRequests) IsCode(code int) bool
- func (o *ReleaseDevboxTooManyRequests) IsRedirect() bool
- func (o *ReleaseDevboxTooManyRequests) IsServerError() bool
- func (o *ReleaseDevboxTooManyRequests) IsSuccess() bool
- func (o *ReleaseDevboxTooManyRequests) String() string
- type RenewDevboxForbidden
- func (o *RenewDevboxForbidden) Code() int
- func (o *RenewDevboxForbidden) Error() string
- func (o *RenewDevboxForbidden) GetPayload() *models.ErrorResponse
- func (o *RenewDevboxForbidden) IsClientError() bool
- func (o *RenewDevboxForbidden) IsCode(code int) bool
- func (o *RenewDevboxForbidden) IsRedirect() bool
- func (o *RenewDevboxForbidden) IsServerError() bool
- func (o *RenewDevboxForbidden) IsSuccess() bool
- func (o *RenewDevboxForbidden) String() string
- type RenewDevboxInternalServerError
- func (o *RenewDevboxInternalServerError) Code() int
- func (o *RenewDevboxInternalServerError) Error() string
- func (o *RenewDevboxInternalServerError) GetPayload() *models.ErrorResponse
- func (o *RenewDevboxInternalServerError) IsClientError() bool
- func (o *RenewDevboxInternalServerError) IsCode(code int) bool
- func (o *RenewDevboxInternalServerError) IsRedirect() bool
- func (o *RenewDevboxInternalServerError) IsServerError() bool
- func (o *RenewDevboxInternalServerError) IsSuccess() bool
- func (o *RenewDevboxInternalServerError) String() string
- type RenewDevboxOK
- func (o *RenewDevboxOK) Code() int
- func (o *RenewDevboxOK) Error() string
- func (o *RenewDevboxOK) GetPayload() *models.Devbox
- func (o *RenewDevboxOK) IsClientError() bool
- func (o *RenewDevboxOK) IsCode(code int) bool
- func (o *RenewDevboxOK) IsRedirect() bool
- func (o *RenewDevboxOK) IsServerError() bool
- func (o *RenewDevboxOK) IsSuccess() bool
- func (o *RenewDevboxOK) String() string
- type RenewDevboxParams
- func (o *RenewDevboxParams) SetContext(ctx context.Context)
- func (o *RenewDevboxParams) SetDefaults()
- func (o *RenewDevboxParams) SetDevboxID(devboxID string)
- func (o *RenewDevboxParams) SetDevboxSessionID(devboxSessionID string)
- func (o *RenewDevboxParams) SetHTTPClient(client *http.Client)
- func (o *RenewDevboxParams) SetOrgName(orgName string)
- func (o *RenewDevboxParams) SetTimeout(timeout time.Duration)
- func (o *RenewDevboxParams) WithContext(ctx context.Context) *RenewDevboxParams
- func (o *RenewDevboxParams) WithDefaults() *RenewDevboxParams
- func (o *RenewDevboxParams) WithDevboxID(devboxID string) *RenewDevboxParams
- func (o *RenewDevboxParams) WithDevboxSessionID(devboxSessionID string) *RenewDevboxParams
- func (o *RenewDevboxParams) WithHTTPClient(client *http.Client) *RenewDevboxParams
- func (o *RenewDevboxParams) WithOrgName(orgName string) *RenewDevboxParams
- func (o *RenewDevboxParams) WithTimeout(timeout time.Duration) *RenewDevboxParams
- func (o *RenewDevboxParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RenewDevboxReader
- type RenewDevboxTooManyRequests
- func (o *RenewDevboxTooManyRequests) Code() int
- func (o *RenewDevboxTooManyRequests) Error() string
- func (o *RenewDevboxTooManyRequests) GetPayload() *models.ErrorResponse
- func (o *RenewDevboxTooManyRequests) IsClientError() bool
- func (o *RenewDevboxTooManyRequests) IsCode(code int) bool
- func (o *RenewDevboxTooManyRequests) IsRedirect() bool
- func (o *RenewDevboxTooManyRequests) IsServerError() bool
- func (o *RenewDevboxTooManyRequests) IsSuccess() bool
- func (o *RenewDevboxTooManyRequests) String() string
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 ¶
func (o *ClaimDevboxInternalServerError) Code() int
Code gets the status code for the claim devbox internal server error response
func (*ClaimDevboxInternalServerError) Error ¶
func (o *ClaimDevboxInternalServerError) Error() string
func (*ClaimDevboxInternalServerError) GetPayload ¶
func (o *ClaimDevboxInternalServerError) GetPayload() *models.ErrorResponse
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 ¶
func (o *ClaimDevboxInternalServerError) String() string
type ClaimDevboxOK ¶
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 (o *ClaimDevboxTooManyRequests) Error() string
func (*ClaimDevboxTooManyRequests) GetPayload ¶
func (o *ClaimDevboxTooManyRequests) GetPayload() *models.ErrorResponse
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 ¶
func (o *DeleteDevboxInternalServerError) Code() int
Code gets the status code for the delete devbox internal server error response
func (*DeleteDevboxInternalServerError) Error ¶
func (o *DeleteDevboxInternalServerError) Error() string
func (*DeleteDevboxInternalServerError) GetPayload ¶
func (o *DeleteDevboxInternalServerError) GetPayload() *models.ErrorResponse
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 ¶
func (o *DeleteDevboxInternalServerError) String() 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 ¶
func (o *DeleteDevboxParams) WithContext(ctx context.Context) *DeleteDevboxParams
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 (o *DeleteDevboxTooManyRequests) Error() string
func (*DeleteDevboxTooManyRequests) GetPayload ¶
func (o *DeleteDevboxTooManyRequests) GetPayload() *models.ErrorResponse
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 ¶
func (o *GetDevboxInternalServerError) Code() int
Code gets the status code for the get devbox internal server error response
func (*GetDevboxInternalServerError) Error ¶
func (o *GetDevboxInternalServerError) Error() string
func (*GetDevboxInternalServerError) GetPayload ¶
func (o *GetDevboxInternalServerError) GetPayload() *models.ErrorResponse
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 ¶
func (o *GetDevboxInternalServerError) String() string
type GetDevboxOK ¶
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 (o *GetDevboxTooManyRequests) GetPayload() *models.ErrorResponse
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 ¶
func (o *GetDevboxesInternalServerError) Code() int
Code gets the status code for the get devboxes internal server error response
func (*GetDevboxesInternalServerError) Error ¶
func (o *GetDevboxesInternalServerError) Error() string
func (*GetDevboxesInternalServerError) GetPayload ¶
func (o *GetDevboxesInternalServerError) GetPayload() *models.ErrorResponse
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 ¶
func (o *GetDevboxesInternalServerError) String() string
type GetDevboxesOK ¶
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 (o *GetDevboxesTooManyRequests) Error() string
func (*GetDevboxesTooManyRequests) GetPayload ¶
func (o *GetDevboxesTooManyRequests) GetPayload() *models.ErrorResponse
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 ¶
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 ¶
func (o *RegisterDevboxInternalServerError) Code() int
Code gets the status code for the register devbox internal server error response
func (*RegisterDevboxInternalServerError) Error ¶
func (o *RegisterDevboxInternalServerError) Error() string
func (*RegisterDevboxInternalServerError) GetPayload ¶
func (o *RegisterDevboxInternalServerError) GetPayload() *models.ErrorResponse
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 ¶
func (o *RegisterDevboxInternalServerError) String() string
type RegisterDevboxOK ¶
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 ¶
func (o *RegisterDevboxParams) SetData(data *models.DevboxRegistration)
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 ¶
func (o *RegisterDevboxParams) WithContext(ctx context.Context) *RegisterDevboxParams
WithContext adds the context to the register devbox params
func (*RegisterDevboxParams) WithData ¶
func (o *RegisterDevboxParams) WithData(data *models.DevboxRegistration) *RegisterDevboxParams
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 ¶
func (o *RegisterDevboxTooManyRequests) Code() int
Code gets the status code for the register devbox too many requests response
func (*RegisterDevboxTooManyRequests) Error ¶
func (o *RegisterDevboxTooManyRequests) Error() string
func (*RegisterDevboxTooManyRequests) GetPayload ¶
func (o *RegisterDevboxTooManyRequests) GetPayload() *models.ErrorResponse
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 ¶
func (o *RegisterDevboxTooManyRequests) String() 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 ¶
func (o *ReleaseDevboxInternalServerError) Code() int
Code gets the status code for the release devbox internal server error response
func (*ReleaseDevboxInternalServerError) Error ¶
func (o *ReleaseDevboxInternalServerError) Error() string
func (*ReleaseDevboxInternalServerError) GetPayload ¶
func (o *ReleaseDevboxInternalServerError) GetPayload() *models.ErrorResponse
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 ¶
func (o *ReleaseDevboxInternalServerError) String() string
type ReleaseDevboxOK ¶
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 ¶
func (o *ReleaseDevboxParams) WithContext(ctx context.Context) *ReleaseDevboxParams
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 ¶
func (o *ReleaseDevboxTooManyRequests) Code() int
Code gets the status code for the release devbox too many requests response
func (*ReleaseDevboxTooManyRequests) Error ¶
func (o *ReleaseDevboxTooManyRequests) Error() string
func (*ReleaseDevboxTooManyRequests) GetPayload ¶
func (o *ReleaseDevboxTooManyRequests) GetPayload() *models.ErrorResponse
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 ¶
func (o *ReleaseDevboxTooManyRequests) String() 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 ¶
func (o *RenewDevboxInternalServerError) Code() int
Code gets the status code for the renew devbox internal server error response
func (*RenewDevboxInternalServerError) Error ¶
func (o *RenewDevboxInternalServerError) Error() string
func (*RenewDevboxInternalServerError) GetPayload ¶
func (o *RenewDevboxInternalServerError) GetPayload() *models.ErrorResponse
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 ¶
func (o *RenewDevboxInternalServerError) String() string
type RenewDevboxOK ¶
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 (o *RenewDevboxTooManyRequests) Error() string
func (*RenewDevboxTooManyRequests) GetPayload ¶
func (o *RenewDevboxTooManyRequests) GetPayload() *models.ErrorResponse
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
Source Files
¶
- claim_devbox_parameters.go
- claim_devbox_responses.go
- delete_devbox_parameters.go
- delete_devbox_responses.go
- devboxes_client.go
- get_devbox_parameters.go
- get_devbox_responses.go
- get_devboxes_parameters.go
- get_devboxes_responses.go
- register_devbox_parameters.go
- register_devbox_responses.go
- release_devbox_parameters.go
- release_devbox_responses.go
- renew_devbox_parameters.go
- renew_devbox_responses.go