Documentation ¶
Index ¶
- type ApplySandboxBadGateway
- func (o *ApplySandboxBadGateway) Code() int
- func (o *ApplySandboxBadGateway) Error() string
- func (o *ApplySandboxBadGateway) GetPayload() *models.ErrorResponse
- func (o *ApplySandboxBadGateway) IsClientError() bool
- func (o *ApplySandboxBadGateway) IsCode(code int) bool
- func (o *ApplySandboxBadGateway) IsRedirect() bool
- func (o *ApplySandboxBadGateway) IsServerError() bool
- func (o *ApplySandboxBadGateway) IsSuccess() bool
- func (o *ApplySandboxBadGateway) String() string
- type ApplySandboxBadRequest
- func (o *ApplySandboxBadRequest) Code() int
- func (o *ApplySandboxBadRequest) Error() string
- func (o *ApplySandboxBadRequest) GetPayload() *models.ErrorResponse
- func (o *ApplySandboxBadRequest) IsClientError() bool
- func (o *ApplySandboxBadRequest) IsCode(code int) bool
- func (o *ApplySandboxBadRequest) IsRedirect() bool
- func (o *ApplySandboxBadRequest) IsServerError() bool
- func (o *ApplySandboxBadRequest) IsSuccess() bool
- func (o *ApplySandboxBadRequest) String() string
- type ApplySandboxOK
- func (o *ApplySandboxOK) Code() int
- func (o *ApplySandboxOK) Error() string
- func (o *ApplySandboxOK) GetPayload() *models.Sandbox
- func (o *ApplySandboxOK) IsClientError() bool
- func (o *ApplySandboxOK) IsCode(code int) bool
- func (o *ApplySandboxOK) IsRedirect() bool
- func (o *ApplySandboxOK) IsServerError() bool
- func (o *ApplySandboxOK) IsSuccess() bool
- func (o *ApplySandboxOK) String() string
- type ApplySandboxParams
- func (o *ApplySandboxParams) SetContext(ctx context.Context)
- func (o *ApplySandboxParams) SetData(data *models.Sandbox)
- func (o *ApplySandboxParams) SetDefaults()
- func (o *ApplySandboxParams) SetHTTPClient(client *http.Client)
- func (o *ApplySandboxParams) SetOrgName(orgName string)
- func (o *ApplySandboxParams) SetSandboxName(sandboxName string)
- func (o *ApplySandboxParams) SetTimeout(timeout time.Duration)
- func (o *ApplySandboxParams) WithContext(ctx context.Context) *ApplySandboxParams
- func (o *ApplySandboxParams) WithData(data *models.Sandbox) *ApplySandboxParams
- func (o *ApplySandboxParams) WithDefaults() *ApplySandboxParams
- func (o *ApplySandboxParams) WithHTTPClient(client *http.Client) *ApplySandboxParams
- func (o *ApplySandboxParams) WithOrgName(orgName string) *ApplySandboxParams
- func (o *ApplySandboxParams) WithSandboxName(sandboxName string) *ApplySandboxParams
- func (o *ApplySandboxParams) WithTimeout(timeout time.Duration) *ApplySandboxParams
- func (o *ApplySandboxParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ApplySandboxReader
- type ApplySandboxUnauthorized
- func (o *ApplySandboxUnauthorized) Code() int
- func (o *ApplySandboxUnauthorized) Error() string
- func (o *ApplySandboxUnauthorized) GetPayload() *models.ErrorResponse
- func (o *ApplySandboxUnauthorized) IsClientError() bool
- func (o *ApplySandboxUnauthorized) IsCode(code int) bool
- func (o *ApplySandboxUnauthorized) IsRedirect() bool
- func (o *ApplySandboxUnauthorized) IsServerError() bool
- func (o *ApplySandboxUnauthorized) IsSuccess() bool
- func (o *ApplySandboxUnauthorized) String() string
- type Client
- func (a *Client) ApplySandbox(params *ApplySandboxParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ApplySandboxOK, error)
- func (a *Client) DeleteSandbox(params *DeleteSandboxParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteSandboxOK, error)
- func (a *Client) GetSandbox(params *GetSandboxParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetSandboxOK, error)
- func (a *Client) ListSandboxes(params *ListSandboxesParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListSandboxesOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type DeleteSandboxBadGateway
- func (o *DeleteSandboxBadGateway) Code() int
- func (o *DeleteSandboxBadGateway) Error() string
- func (o *DeleteSandboxBadGateway) GetPayload() *models.ErrorResponse
- func (o *DeleteSandboxBadGateway) IsClientError() bool
- func (o *DeleteSandboxBadGateway) IsCode(code int) bool
- func (o *DeleteSandboxBadGateway) IsRedirect() bool
- func (o *DeleteSandboxBadGateway) IsServerError() bool
- func (o *DeleteSandboxBadGateway) IsSuccess() bool
- func (o *DeleteSandboxBadGateway) String() string
- type DeleteSandboxBadRequest
- func (o *DeleteSandboxBadRequest) Code() int
- func (o *DeleteSandboxBadRequest) Error() string
- func (o *DeleteSandboxBadRequest) GetPayload() *models.ErrorResponse
- func (o *DeleteSandboxBadRequest) IsClientError() bool
- func (o *DeleteSandboxBadRequest) IsCode(code int) bool
- func (o *DeleteSandboxBadRequest) IsRedirect() bool
- func (o *DeleteSandboxBadRequest) IsServerError() bool
- func (o *DeleteSandboxBadRequest) IsSuccess() bool
- func (o *DeleteSandboxBadRequest) String() string
- type DeleteSandboxOK
- func (o *DeleteSandboxOK) Code() int
- func (o *DeleteSandboxOK) Error() string
- func (o *DeleteSandboxOK) GetPayload() models.EmptyResponse
- func (o *DeleteSandboxOK) IsClientError() bool
- func (o *DeleteSandboxOK) IsCode(code int) bool
- func (o *DeleteSandboxOK) IsRedirect() bool
- func (o *DeleteSandboxOK) IsServerError() bool
- func (o *DeleteSandboxOK) IsSuccess() bool
- func (o *DeleteSandboxOK) String() string
- type DeleteSandboxParams
- func (o *DeleteSandboxParams) SetContext(ctx context.Context)
- func (o *DeleteSandboxParams) SetDefaults()
- func (o *DeleteSandboxParams) SetForce(force *bool)
- func (o *DeleteSandboxParams) SetHTTPClient(client *http.Client)
- func (o *DeleteSandboxParams) SetOrgName(orgName string)
- func (o *DeleteSandboxParams) SetSandboxName(sandboxName string)
- func (o *DeleteSandboxParams) SetTimeout(timeout time.Duration)
- func (o *DeleteSandboxParams) WithContext(ctx context.Context) *DeleteSandboxParams
- func (o *DeleteSandboxParams) WithDefaults() *DeleteSandboxParams
- func (o *DeleteSandboxParams) WithForce(force *bool) *DeleteSandboxParams
- func (o *DeleteSandboxParams) WithHTTPClient(client *http.Client) *DeleteSandboxParams
- func (o *DeleteSandboxParams) WithOrgName(orgName string) *DeleteSandboxParams
- func (o *DeleteSandboxParams) WithSandboxName(sandboxName string) *DeleteSandboxParams
- func (o *DeleteSandboxParams) WithTimeout(timeout time.Duration) *DeleteSandboxParams
- func (o *DeleteSandboxParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteSandboxReader
- type DeleteSandboxUnauthorized
- func (o *DeleteSandboxUnauthorized) Code() int
- func (o *DeleteSandboxUnauthorized) Error() string
- func (o *DeleteSandboxUnauthorized) GetPayload() *models.ErrorResponse
- func (o *DeleteSandboxUnauthorized) IsClientError() bool
- func (o *DeleteSandboxUnauthorized) IsCode(code int) bool
- func (o *DeleteSandboxUnauthorized) IsRedirect() bool
- func (o *DeleteSandboxUnauthorized) IsServerError() bool
- func (o *DeleteSandboxUnauthorized) IsSuccess() bool
- func (o *DeleteSandboxUnauthorized) String() string
- type GetSandboxBadGateway
- func (o *GetSandboxBadGateway) Code() int
- func (o *GetSandboxBadGateway) Error() string
- func (o *GetSandboxBadGateway) GetPayload() *models.ErrorResponse
- func (o *GetSandboxBadGateway) IsClientError() bool
- func (o *GetSandboxBadGateway) IsCode(code int) bool
- func (o *GetSandboxBadGateway) IsRedirect() bool
- func (o *GetSandboxBadGateway) IsServerError() bool
- func (o *GetSandboxBadGateway) IsSuccess() bool
- func (o *GetSandboxBadGateway) String() string
- type GetSandboxBadRequest
- func (o *GetSandboxBadRequest) Code() int
- func (o *GetSandboxBadRequest) Error() string
- func (o *GetSandboxBadRequest) GetPayload() *models.ErrorResponse
- func (o *GetSandboxBadRequest) IsClientError() bool
- func (o *GetSandboxBadRequest) IsCode(code int) bool
- func (o *GetSandboxBadRequest) IsRedirect() bool
- func (o *GetSandboxBadRequest) IsServerError() bool
- func (o *GetSandboxBadRequest) IsSuccess() bool
- func (o *GetSandboxBadRequest) String() string
- type GetSandboxOK
- func (o *GetSandboxOK) Code() int
- func (o *GetSandboxOK) Error() string
- func (o *GetSandboxOK) GetPayload() *models.Sandbox
- func (o *GetSandboxOK) IsClientError() bool
- func (o *GetSandboxOK) IsCode(code int) bool
- func (o *GetSandboxOK) IsRedirect() bool
- func (o *GetSandboxOK) IsServerError() bool
- func (o *GetSandboxOK) IsSuccess() bool
- func (o *GetSandboxOK) String() string
- type GetSandboxParams
- func (o *GetSandboxParams) SetContext(ctx context.Context)
- func (o *GetSandboxParams) SetDefaults()
- func (o *GetSandboxParams) SetHTTPClient(client *http.Client)
- func (o *GetSandboxParams) SetOrgName(orgName string)
- func (o *GetSandboxParams) SetSandboxName(sandboxName string)
- func (o *GetSandboxParams) SetTimeout(timeout time.Duration)
- func (o *GetSandboxParams) WithContext(ctx context.Context) *GetSandboxParams
- func (o *GetSandboxParams) WithDefaults() *GetSandboxParams
- func (o *GetSandboxParams) WithHTTPClient(client *http.Client) *GetSandboxParams
- func (o *GetSandboxParams) WithOrgName(orgName string) *GetSandboxParams
- func (o *GetSandboxParams) WithSandboxName(sandboxName string) *GetSandboxParams
- func (o *GetSandboxParams) WithTimeout(timeout time.Duration) *GetSandboxParams
- func (o *GetSandboxParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetSandboxReader
- type GetSandboxUnauthorized
- func (o *GetSandboxUnauthorized) Code() int
- func (o *GetSandboxUnauthorized) Error() string
- func (o *GetSandboxUnauthorized) GetPayload() *models.ErrorResponse
- func (o *GetSandboxUnauthorized) IsClientError() bool
- func (o *GetSandboxUnauthorized) IsCode(code int) bool
- func (o *GetSandboxUnauthorized) IsRedirect() bool
- func (o *GetSandboxUnauthorized) IsServerError() bool
- func (o *GetSandboxUnauthorized) IsSuccess() bool
- func (o *GetSandboxUnauthorized) String() string
- type ListSandboxesBadGateway
- func (o *ListSandboxesBadGateway) Code() int
- func (o *ListSandboxesBadGateway) Error() string
- func (o *ListSandboxesBadGateway) GetPayload() *models.ErrorResponse
- func (o *ListSandboxesBadGateway) IsClientError() bool
- func (o *ListSandboxesBadGateway) IsCode(code int) bool
- func (o *ListSandboxesBadGateway) IsRedirect() bool
- func (o *ListSandboxesBadGateway) IsServerError() bool
- func (o *ListSandboxesBadGateway) IsSuccess() bool
- func (o *ListSandboxesBadGateway) String() string
- type ListSandboxesBadRequest
- func (o *ListSandboxesBadRequest) Code() int
- func (o *ListSandboxesBadRequest) Error() string
- func (o *ListSandboxesBadRequest) GetPayload() *models.ErrorResponse
- func (o *ListSandboxesBadRequest) IsClientError() bool
- func (o *ListSandboxesBadRequest) IsCode(code int) bool
- func (o *ListSandboxesBadRequest) IsRedirect() bool
- func (o *ListSandboxesBadRequest) IsServerError() bool
- func (o *ListSandboxesBadRequest) IsSuccess() bool
- func (o *ListSandboxesBadRequest) String() string
- type ListSandboxesOK
- func (o *ListSandboxesOK) Code() int
- func (o *ListSandboxesOK) Error() string
- func (o *ListSandboxesOK) GetPayload() []*models.Sandbox
- func (o *ListSandboxesOK) IsClientError() bool
- func (o *ListSandboxesOK) IsCode(code int) bool
- func (o *ListSandboxesOK) IsRedirect() bool
- func (o *ListSandboxesOK) IsServerError() bool
- func (o *ListSandboxesOK) IsSuccess() bool
- func (o *ListSandboxesOK) String() string
- type ListSandboxesParams
- func (o *ListSandboxesParams) SetContext(ctx context.Context)
- func (o *ListSandboxesParams) SetDefaults()
- func (o *ListSandboxesParams) SetHTTPClient(client *http.Client)
- func (o *ListSandboxesParams) SetOrgName(orgName string)
- func (o *ListSandboxesParams) SetTimeout(timeout time.Duration)
- func (o *ListSandboxesParams) WithContext(ctx context.Context) *ListSandboxesParams
- func (o *ListSandboxesParams) WithDefaults() *ListSandboxesParams
- func (o *ListSandboxesParams) WithHTTPClient(client *http.Client) *ListSandboxesParams
- func (o *ListSandboxesParams) WithOrgName(orgName string) *ListSandboxesParams
- func (o *ListSandboxesParams) WithTimeout(timeout time.Duration) *ListSandboxesParams
- func (o *ListSandboxesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListSandboxesReader
- type ListSandboxesUnauthorized
- func (o *ListSandboxesUnauthorized) Code() int
- func (o *ListSandboxesUnauthorized) Error() string
- func (o *ListSandboxesUnauthorized) GetPayload() *models.ErrorResponse
- func (o *ListSandboxesUnauthorized) IsClientError() bool
- func (o *ListSandboxesUnauthorized) IsCode(code int) bool
- func (o *ListSandboxesUnauthorized) IsRedirect() bool
- func (o *ListSandboxesUnauthorized) IsServerError() bool
- func (o *ListSandboxesUnauthorized) IsSuccess() bool
- func (o *ListSandboxesUnauthorized) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApplySandboxBadGateway ¶ added in v0.2.0
type ApplySandboxBadGateway struct {
Payload *models.ErrorResponse
}
ApplySandboxBadGateway describes a response with status code 502, with default header values.
Bad Gateway
func NewApplySandboxBadGateway ¶ added in v0.2.0
func NewApplySandboxBadGateway() *ApplySandboxBadGateway
NewApplySandboxBadGateway creates a ApplySandboxBadGateway with default headers values
func (*ApplySandboxBadGateway) Code ¶ added in v0.3.7
func (o *ApplySandboxBadGateway) Code() int
Code gets the status code for the apply sandbox bad gateway response
func (*ApplySandboxBadGateway) Error ¶ added in v0.2.0
func (o *ApplySandboxBadGateway) Error() string
func (*ApplySandboxBadGateway) GetPayload ¶ added in v0.2.0
func (o *ApplySandboxBadGateway) GetPayload() *models.ErrorResponse
func (*ApplySandboxBadGateway) IsClientError ¶ added in v0.3.3
func (o *ApplySandboxBadGateway) IsClientError() bool
IsClientError returns true when this apply sandbox bad gateway response has a 4xx status code
func (*ApplySandboxBadGateway) IsCode ¶ added in v0.3.3
func (o *ApplySandboxBadGateway) IsCode(code int) bool
IsCode returns true when this apply sandbox bad gateway response a status code equal to that given
func (*ApplySandboxBadGateway) IsRedirect ¶ added in v0.3.3
func (o *ApplySandboxBadGateway) IsRedirect() bool
IsRedirect returns true when this apply sandbox bad gateway response has a 3xx status code
func (*ApplySandboxBadGateway) IsServerError ¶ added in v0.3.3
func (o *ApplySandboxBadGateway) IsServerError() bool
IsServerError returns true when this apply sandbox bad gateway response has a 5xx status code
func (*ApplySandboxBadGateway) IsSuccess ¶ added in v0.3.3
func (o *ApplySandboxBadGateway) IsSuccess() bool
IsSuccess returns true when this apply sandbox bad gateway response has a 2xx status code
func (*ApplySandboxBadGateway) String ¶ added in v0.3.3
func (o *ApplySandboxBadGateway) String() string
type ApplySandboxBadRequest ¶ added in v0.2.0
type ApplySandboxBadRequest struct {
Payload *models.ErrorResponse
}
ApplySandboxBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewApplySandboxBadRequest ¶ added in v0.2.0
func NewApplySandboxBadRequest() *ApplySandboxBadRequest
NewApplySandboxBadRequest creates a ApplySandboxBadRequest with default headers values
func (*ApplySandboxBadRequest) Code ¶ added in v0.3.7
func (o *ApplySandboxBadRequest) Code() int
Code gets the status code for the apply sandbox bad request response
func (*ApplySandboxBadRequest) Error ¶ added in v0.2.0
func (o *ApplySandboxBadRequest) Error() string
func (*ApplySandboxBadRequest) GetPayload ¶ added in v0.2.0
func (o *ApplySandboxBadRequest) GetPayload() *models.ErrorResponse
func (*ApplySandboxBadRequest) IsClientError ¶ added in v0.3.3
func (o *ApplySandboxBadRequest) IsClientError() bool
IsClientError returns true when this apply sandbox bad request response has a 4xx status code
func (*ApplySandboxBadRequest) IsCode ¶ added in v0.3.3
func (o *ApplySandboxBadRequest) IsCode(code int) bool
IsCode returns true when this apply sandbox bad request response a status code equal to that given
func (*ApplySandboxBadRequest) IsRedirect ¶ added in v0.3.3
func (o *ApplySandboxBadRequest) IsRedirect() bool
IsRedirect returns true when this apply sandbox bad request response has a 3xx status code
func (*ApplySandboxBadRequest) IsServerError ¶ added in v0.3.3
func (o *ApplySandboxBadRequest) IsServerError() bool
IsServerError returns true when this apply sandbox bad request response has a 5xx status code
func (*ApplySandboxBadRequest) IsSuccess ¶ added in v0.3.3
func (o *ApplySandboxBadRequest) IsSuccess() bool
IsSuccess returns true when this apply sandbox bad request response has a 2xx status code
func (*ApplySandboxBadRequest) String ¶ added in v0.3.3
func (o *ApplySandboxBadRequest) String() string
type ApplySandboxOK ¶ added in v0.2.0
ApplySandboxOK describes a response with status code 200, with default header values.
OK
func NewApplySandboxOK ¶ added in v0.2.0
func NewApplySandboxOK() *ApplySandboxOK
NewApplySandboxOK creates a ApplySandboxOK with default headers values
func (*ApplySandboxOK) Code ¶ added in v0.3.7
func (o *ApplySandboxOK) Code() int
Code gets the status code for the apply sandbox o k response
func (*ApplySandboxOK) Error ¶ added in v0.2.0
func (o *ApplySandboxOK) Error() string
func (*ApplySandboxOK) GetPayload ¶ added in v0.2.0
func (o *ApplySandboxOK) GetPayload() *models.Sandbox
func (*ApplySandboxOK) IsClientError ¶ added in v0.3.3
func (o *ApplySandboxOK) IsClientError() bool
IsClientError returns true when this apply sandbox o k response has a 4xx status code
func (*ApplySandboxOK) IsCode ¶ added in v0.3.3
func (o *ApplySandboxOK) IsCode(code int) bool
IsCode returns true when this apply sandbox o k response a status code equal to that given
func (*ApplySandboxOK) IsRedirect ¶ added in v0.3.3
func (o *ApplySandboxOK) IsRedirect() bool
IsRedirect returns true when this apply sandbox o k response has a 3xx status code
func (*ApplySandboxOK) IsServerError ¶ added in v0.3.3
func (o *ApplySandboxOK) IsServerError() bool
IsServerError returns true when this apply sandbox o k response has a 5xx status code
func (*ApplySandboxOK) IsSuccess ¶ added in v0.3.3
func (o *ApplySandboxOK) IsSuccess() bool
IsSuccess returns true when this apply sandbox o k response has a 2xx status code
func (*ApplySandboxOK) String ¶ added in v0.3.3
func (o *ApplySandboxOK) String() string
type ApplySandboxParams ¶ added in v0.2.0
type ApplySandboxParams struct { /* Data. Request to create sandbox */ Data *models.Sandbox /* OrgName. Signadot Org Name */ OrgName string /* SandboxName. Sandbox Name */ SandboxName string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ApplySandboxParams contains all the parameters to send to the API endpoint
for the apply sandbox operation. Typically these are written to a http.Request.
func NewApplySandboxParams ¶ added in v0.2.0
func NewApplySandboxParams() *ApplySandboxParams
NewApplySandboxParams creates a new ApplySandboxParams 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 NewApplySandboxParamsWithContext ¶ added in v0.2.0
func NewApplySandboxParamsWithContext(ctx context.Context) *ApplySandboxParams
NewApplySandboxParamsWithContext creates a new ApplySandboxParams object with the ability to set a context for a request.
func NewApplySandboxParamsWithHTTPClient ¶ added in v0.2.0
func NewApplySandboxParamsWithHTTPClient(client *http.Client) *ApplySandboxParams
NewApplySandboxParamsWithHTTPClient creates a new ApplySandboxParams object with the ability to set a custom HTTPClient for a request.
func NewApplySandboxParamsWithTimeout ¶ added in v0.2.0
func NewApplySandboxParamsWithTimeout(timeout time.Duration) *ApplySandboxParams
NewApplySandboxParamsWithTimeout creates a new ApplySandboxParams object with the ability to set a timeout on a request.
func (*ApplySandboxParams) SetContext ¶ added in v0.2.0
func (o *ApplySandboxParams) SetContext(ctx context.Context)
SetContext adds the context to the apply sandbox params
func (*ApplySandboxParams) SetData ¶ added in v0.2.0
func (o *ApplySandboxParams) SetData(data *models.Sandbox)
SetData adds the data to the apply sandbox params
func (*ApplySandboxParams) SetDefaults ¶ added in v0.2.0
func (o *ApplySandboxParams) SetDefaults()
SetDefaults hydrates default values in the apply sandbox params (not the query body).
All values with no default are reset to their zero value.
func (*ApplySandboxParams) SetHTTPClient ¶ added in v0.2.0
func (o *ApplySandboxParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the apply sandbox params
func (*ApplySandboxParams) SetOrgName ¶ added in v0.2.0
func (o *ApplySandboxParams) SetOrgName(orgName string)
SetOrgName adds the orgName to the apply sandbox params
func (*ApplySandboxParams) SetSandboxName ¶ added in v0.2.0
func (o *ApplySandboxParams) SetSandboxName(sandboxName string)
SetSandboxName adds the sandboxName to the apply sandbox params
func (*ApplySandboxParams) SetTimeout ¶ added in v0.2.0
func (o *ApplySandboxParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the apply sandbox params
func (*ApplySandboxParams) WithContext ¶ added in v0.2.0
func (o *ApplySandboxParams) WithContext(ctx context.Context) *ApplySandboxParams
WithContext adds the context to the apply sandbox params
func (*ApplySandboxParams) WithData ¶ added in v0.2.0
func (o *ApplySandboxParams) WithData(data *models.Sandbox) *ApplySandboxParams
WithData adds the data to the apply sandbox params
func (*ApplySandboxParams) WithDefaults ¶ added in v0.2.0
func (o *ApplySandboxParams) WithDefaults() *ApplySandboxParams
WithDefaults hydrates default values in the apply sandbox params (not the query body).
All values with no default are reset to their zero value.
func (*ApplySandboxParams) WithHTTPClient ¶ added in v0.2.0
func (o *ApplySandboxParams) WithHTTPClient(client *http.Client) *ApplySandboxParams
WithHTTPClient adds the HTTPClient to the apply sandbox params
func (*ApplySandboxParams) WithOrgName ¶ added in v0.2.0
func (o *ApplySandboxParams) WithOrgName(orgName string) *ApplySandboxParams
WithOrgName adds the orgName to the apply sandbox params
func (*ApplySandboxParams) WithSandboxName ¶ added in v0.2.0
func (o *ApplySandboxParams) WithSandboxName(sandboxName string) *ApplySandboxParams
WithSandboxName adds the sandboxName to the apply sandbox params
func (*ApplySandboxParams) WithTimeout ¶ added in v0.2.0
func (o *ApplySandboxParams) WithTimeout(timeout time.Duration) *ApplySandboxParams
WithTimeout adds the timeout to the apply sandbox params
func (*ApplySandboxParams) WriteToRequest ¶ added in v0.2.0
func (o *ApplySandboxParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ApplySandboxReader ¶ added in v0.2.0
type ApplySandboxReader struct {
// contains filtered or unexported fields
}
ApplySandboxReader is a Reader for the ApplySandbox structure.
func (*ApplySandboxReader) ReadResponse ¶ added in v0.2.0
func (o *ApplySandboxReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ApplySandboxUnauthorized ¶ added in v0.2.0
type ApplySandboxUnauthorized struct {
}ApplySandboxUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewApplySandboxUnauthorized ¶ added in v0.2.0
func NewApplySandboxUnauthorized() *ApplySandboxUnauthorized
NewApplySandboxUnauthorized creates a ApplySandboxUnauthorized with default headers values
func (*ApplySandboxUnauthorized) Code ¶ added in v0.3.7
func (o *ApplySandboxUnauthorized) Code() int
Code gets the status code for the apply sandbox unauthorized response
func (*ApplySandboxUnauthorized) Error ¶ added in v0.2.0
func (o *ApplySandboxUnauthorized) Error() string
func (*ApplySandboxUnauthorized) GetPayload ¶ added in v0.2.0
func (o *ApplySandboxUnauthorized) GetPayload() *models.ErrorResponse
func (*ApplySandboxUnauthorized) IsClientError ¶ added in v0.3.3
func (o *ApplySandboxUnauthorized) IsClientError() bool
IsClientError returns true when this apply sandbox unauthorized response has a 4xx status code
func (*ApplySandboxUnauthorized) IsCode ¶ added in v0.3.3
func (o *ApplySandboxUnauthorized) IsCode(code int) bool
IsCode returns true when this apply sandbox unauthorized response a status code equal to that given
func (*ApplySandboxUnauthorized) IsRedirect ¶ added in v0.3.3
func (o *ApplySandboxUnauthorized) IsRedirect() bool
IsRedirect returns true when this apply sandbox unauthorized response has a 3xx status code
func (*ApplySandboxUnauthorized) IsServerError ¶ added in v0.3.3
func (o *ApplySandboxUnauthorized) IsServerError() bool
IsServerError returns true when this apply sandbox unauthorized response has a 5xx status code
func (*ApplySandboxUnauthorized) IsSuccess ¶ added in v0.3.3
func (o *ApplySandboxUnauthorized) IsSuccess() bool
IsSuccess returns true when this apply sandbox unauthorized response has a 2xx status code
func (*ApplySandboxUnauthorized) String ¶ added in v0.3.3
func (o *ApplySandboxUnauthorized) String() string
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for sandboxes API
func (*Client) ApplySandbox ¶ added in v0.2.0
func (a *Client) ApplySandbox(params *ApplySandboxParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ApplySandboxOK, error)
ApplySandbox creates or update a sandbox
Creates or updates a sandbox with the provided parameters.
func (*Client) DeleteSandbox ¶ added in v0.2.0
func (a *Client) DeleteSandbox(params *DeleteSandboxParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteSandboxOK, error)
DeleteSandbox deletes a sandbox
Delete a given sandbox.
func (*Client) GetSandbox ¶ added in v0.2.0
func (a *Client) GetSandbox(params *GetSandboxParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetSandboxOK, error)
GetSandbox gets a sandbox
Fetch the details about a given sandbox.
func (*Client) ListSandboxes ¶ added in v0.2.0
func (a *Client) ListSandboxes(params *ListSandboxesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListSandboxesOK, error)
ListSandboxes lists sandboxes
List all sandboxes under the specified Signadot org.
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 is the option for Client methods
type ClientService ¶
type ClientService interface { ApplySandbox(params *ApplySandboxParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ApplySandboxOK, error) DeleteSandbox(params *DeleteSandboxParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteSandboxOK, error) GetSandbox(params *GetSandboxParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetSandboxOK, error) ListSandboxes(params *ListSandboxesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListSandboxesOK, 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 sandboxes API client.
type DeleteSandboxBadGateway ¶ added in v0.2.0
type DeleteSandboxBadGateway struct {
Payload *models.ErrorResponse
}
DeleteSandboxBadGateway describes a response with status code 502, with default header values.
Bad Gateway
func NewDeleteSandboxBadGateway ¶ added in v0.2.0
func NewDeleteSandboxBadGateway() *DeleteSandboxBadGateway
NewDeleteSandboxBadGateway creates a DeleteSandboxBadGateway with default headers values
func (*DeleteSandboxBadGateway) Code ¶ added in v0.3.7
func (o *DeleteSandboxBadGateway) Code() int
Code gets the status code for the delete sandbox bad gateway response
func (*DeleteSandboxBadGateway) Error ¶ added in v0.2.0
func (o *DeleteSandboxBadGateway) Error() string
func (*DeleteSandboxBadGateway) GetPayload ¶ added in v0.2.0
func (o *DeleteSandboxBadGateway) GetPayload() *models.ErrorResponse
func (*DeleteSandboxBadGateway) IsClientError ¶ added in v0.3.3
func (o *DeleteSandboxBadGateway) IsClientError() bool
IsClientError returns true when this delete sandbox bad gateway response has a 4xx status code
func (*DeleteSandboxBadGateway) IsCode ¶ added in v0.3.3
func (o *DeleteSandboxBadGateway) IsCode(code int) bool
IsCode returns true when this delete sandbox bad gateway response a status code equal to that given
func (*DeleteSandboxBadGateway) IsRedirect ¶ added in v0.3.3
func (o *DeleteSandboxBadGateway) IsRedirect() bool
IsRedirect returns true when this delete sandbox bad gateway response has a 3xx status code
func (*DeleteSandboxBadGateway) IsServerError ¶ added in v0.3.3
func (o *DeleteSandboxBadGateway) IsServerError() bool
IsServerError returns true when this delete sandbox bad gateway response has a 5xx status code
func (*DeleteSandboxBadGateway) IsSuccess ¶ added in v0.3.3
func (o *DeleteSandboxBadGateway) IsSuccess() bool
IsSuccess returns true when this delete sandbox bad gateway response has a 2xx status code
func (*DeleteSandboxBadGateway) String ¶ added in v0.3.3
func (o *DeleteSandboxBadGateway) String() string
type DeleteSandboxBadRequest ¶ added in v0.2.0
type DeleteSandboxBadRequest struct {
Payload *models.ErrorResponse
}
DeleteSandboxBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewDeleteSandboxBadRequest ¶ added in v0.2.0
func NewDeleteSandboxBadRequest() *DeleteSandboxBadRequest
NewDeleteSandboxBadRequest creates a DeleteSandboxBadRequest with default headers values
func (*DeleteSandboxBadRequest) Code ¶ added in v0.3.7
func (o *DeleteSandboxBadRequest) Code() int
Code gets the status code for the delete sandbox bad request response
func (*DeleteSandboxBadRequest) Error ¶ added in v0.2.0
func (o *DeleteSandboxBadRequest) Error() string
func (*DeleteSandboxBadRequest) GetPayload ¶ added in v0.2.0
func (o *DeleteSandboxBadRequest) GetPayload() *models.ErrorResponse
func (*DeleteSandboxBadRequest) IsClientError ¶ added in v0.3.3
func (o *DeleteSandboxBadRequest) IsClientError() bool
IsClientError returns true when this delete sandbox bad request response has a 4xx status code
func (*DeleteSandboxBadRequest) IsCode ¶ added in v0.3.3
func (o *DeleteSandboxBadRequest) IsCode(code int) bool
IsCode returns true when this delete sandbox bad request response a status code equal to that given
func (*DeleteSandboxBadRequest) IsRedirect ¶ added in v0.3.3
func (o *DeleteSandboxBadRequest) IsRedirect() bool
IsRedirect returns true when this delete sandbox bad request response has a 3xx status code
func (*DeleteSandboxBadRequest) IsServerError ¶ added in v0.3.3
func (o *DeleteSandboxBadRequest) IsServerError() bool
IsServerError returns true when this delete sandbox bad request response has a 5xx status code
func (*DeleteSandboxBadRequest) IsSuccess ¶ added in v0.3.3
func (o *DeleteSandboxBadRequest) IsSuccess() bool
IsSuccess returns true when this delete sandbox bad request response has a 2xx status code
func (*DeleteSandboxBadRequest) String ¶ added in v0.3.3
func (o *DeleteSandboxBadRequest) String() string
type DeleteSandboxOK ¶ added in v0.2.0
type DeleteSandboxOK struct {
Payload models.EmptyResponse
}
DeleteSandboxOK describes a response with status code 200, with default header values.
OK
func NewDeleteSandboxOK ¶ added in v0.2.0
func NewDeleteSandboxOK() *DeleteSandboxOK
NewDeleteSandboxOK creates a DeleteSandboxOK with default headers values
func (*DeleteSandboxOK) Code ¶ added in v0.3.7
func (o *DeleteSandboxOK) Code() int
Code gets the status code for the delete sandbox o k response
func (*DeleteSandboxOK) Error ¶ added in v0.2.0
func (o *DeleteSandboxOK) Error() string
func (*DeleteSandboxOK) GetPayload ¶ added in v0.2.0
func (o *DeleteSandboxOK) GetPayload() models.EmptyResponse
func (*DeleteSandboxOK) IsClientError ¶ added in v0.3.3
func (o *DeleteSandboxOK) IsClientError() bool
IsClientError returns true when this delete sandbox o k response has a 4xx status code
func (*DeleteSandboxOK) IsCode ¶ added in v0.3.3
func (o *DeleteSandboxOK) IsCode(code int) bool
IsCode returns true when this delete sandbox o k response a status code equal to that given
func (*DeleteSandboxOK) IsRedirect ¶ added in v0.3.3
func (o *DeleteSandboxOK) IsRedirect() bool
IsRedirect returns true when this delete sandbox o k response has a 3xx status code
func (*DeleteSandboxOK) IsServerError ¶ added in v0.3.3
func (o *DeleteSandboxOK) IsServerError() bool
IsServerError returns true when this delete sandbox o k response has a 5xx status code
func (*DeleteSandboxOK) IsSuccess ¶ added in v0.3.3
func (o *DeleteSandboxOK) IsSuccess() bool
IsSuccess returns true when this delete sandbox o k response has a 2xx status code
func (*DeleteSandboxOK) String ¶ added in v0.3.3
func (o *DeleteSandboxOK) String() string
type DeleteSandboxParams ¶ added in v0.2.0
type DeleteSandboxParams struct { /* Force. force */ Force *bool /* OrgName. Signadot Org Name */ OrgName string /* SandboxName. Sandbox Name */ SandboxName string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteSandboxParams contains all the parameters to send to the API endpoint
for the delete sandbox operation. Typically these are written to a http.Request.
func NewDeleteSandboxParams ¶ added in v0.2.0
func NewDeleteSandboxParams() *DeleteSandboxParams
NewDeleteSandboxParams creates a new DeleteSandboxParams 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 NewDeleteSandboxParamsWithContext ¶ added in v0.2.0
func NewDeleteSandboxParamsWithContext(ctx context.Context) *DeleteSandboxParams
NewDeleteSandboxParamsWithContext creates a new DeleteSandboxParams object with the ability to set a context for a request.
func NewDeleteSandboxParamsWithHTTPClient ¶ added in v0.2.0
func NewDeleteSandboxParamsWithHTTPClient(client *http.Client) *DeleteSandboxParams
NewDeleteSandboxParamsWithHTTPClient creates a new DeleteSandboxParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteSandboxParamsWithTimeout ¶ added in v0.2.0
func NewDeleteSandboxParamsWithTimeout(timeout time.Duration) *DeleteSandboxParams
NewDeleteSandboxParamsWithTimeout creates a new DeleteSandboxParams object with the ability to set a timeout on a request.
func (*DeleteSandboxParams) SetContext ¶ added in v0.2.0
func (o *DeleteSandboxParams) SetContext(ctx context.Context)
SetContext adds the context to the delete sandbox params
func (*DeleteSandboxParams) SetDefaults ¶ added in v0.2.0
func (o *DeleteSandboxParams) SetDefaults()
SetDefaults hydrates default values in the delete sandbox params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteSandboxParams) SetForce ¶ added in v0.2.0
func (o *DeleteSandboxParams) SetForce(force *bool)
SetForce adds the force to the delete sandbox params
func (*DeleteSandboxParams) SetHTTPClient ¶ added in v0.2.0
func (o *DeleteSandboxParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete sandbox params
func (*DeleteSandboxParams) SetOrgName ¶ added in v0.2.0
func (o *DeleteSandboxParams) SetOrgName(orgName string)
SetOrgName adds the orgName to the delete sandbox params
func (*DeleteSandboxParams) SetSandboxName ¶ added in v0.2.0
func (o *DeleteSandboxParams) SetSandboxName(sandboxName string)
SetSandboxName adds the sandboxName to the delete sandbox params
func (*DeleteSandboxParams) SetTimeout ¶ added in v0.2.0
func (o *DeleteSandboxParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete sandbox params
func (*DeleteSandboxParams) WithContext ¶ added in v0.2.0
func (o *DeleteSandboxParams) WithContext(ctx context.Context) *DeleteSandboxParams
WithContext adds the context to the delete sandbox params
func (*DeleteSandboxParams) WithDefaults ¶ added in v0.2.0
func (o *DeleteSandboxParams) WithDefaults() *DeleteSandboxParams
WithDefaults hydrates default values in the delete sandbox params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteSandboxParams) WithForce ¶ added in v0.2.0
func (o *DeleteSandboxParams) WithForce(force *bool) *DeleteSandboxParams
WithForce adds the force to the delete sandbox params
func (*DeleteSandboxParams) WithHTTPClient ¶ added in v0.2.0
func (o *DeleteSandboxParams) WithHTTPClient(client *http.Client) *DeleteSandboxParams
WithHTTPClient adds the HTTPClient to the delete sandbox params
func (*DeleteSandboxParams) WithOrgName ¶ added in v0.2.0
func (o *DeleteSandboxParams) WithOrgName(orgName string) *DeleteSandboxParams
WithOrgName adds the orgName to the delete sandbox params
func (*DeleteSandboxParams) WithSandboxName ¶ added in v0.2.0
func (o *DeleteSandboxParams) WithSandboxName(sandboxName string) *DeleteSandboxParams
WithSandboxName adds the sandboxName to the delete sandbox params
func (*DeleteSandboxParams) WithTimeout ¶ added in v0.2.0
func (o *DeleteSandboxParams) WithTimeout(timeout time.Duration) *DeleteSandboxParams
WithTimeout adds the timeout to the delete sandbox params
func (*DeleteSandboxParams) WriteToRequest ¶ added in v0.2.0
func (o *DeleteSandboxParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteSandboxReader ¶ added in v0.2.0
type DeleteSandboxReader struct {
// contains filtered or unexported fields
}
DeleteSandboxReader is a Reader for the DeleteSandbox structure.
func (*DeleteSandboxReader) ReadResponse ¶ added in v0.2.0
func (o *DeleteSandboxReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteSandboxUnauthorized ¶ added in v0.2.0
type DeleteSandboxUnauthorized struct {
}DeleteSandboxUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewDeleteSandboxUnauthorized ¶ added in v0.2.0
func NewDeleteSandboxUnauthorized() *DeleteSandboxUnauthorized
NewDeleteSandboxUnauthorized creates a DeleteSandboxUnauthorized with default headers values
func (*DeleteSandboxUnauthorized) Code ¶ added in v0.3.7
func (o *DeleteSandboxUnauthorized) Code() int
Code gets the status code for the delete sandbox unauthorized response
func (*DeleteSandboxUnauthorized) Error ¶ added in v0.2.0
func (o *DeleteSandboxUnauthorized) Error() string
func (*DeleteSandboxUnauthorized) GetPayload ¶ added in v0.2.0
func (o *DeleteSandboxUnauthorized) GetPayload() *models.ErrorResponse
func (*DeleteSandboxUnauthorized) IsClientError ¶ added in v0.3.3
func (o *DeleteSandboxUnauthorized) IsClientError() bool
IsClientError returns true when this delete sandbox unauthorized response has a 4xx status code
func (*DeleteSandboxUnauthorized) IsCode ¶ added in v0.3.3
func (o *DeleteSandboxUnauthorized) IsCode(code int) bool
IsCode returns true when this delete sandbox unauthorized response a status code equal to that given
func (*DeleteSandboxUnauthorized) IsRedirect ¶ added in v0.3.3
func (o *DeleteSandboxUnauthorized) IsRedirect() bool
IsRedirect returns true when this delete sandbox unauthorized response has a 3xx status code
func (*DeleteSandboxUnauthorized) IsServerError ¶ added in v0.3.3
func (o *DeleteSandboxUnauthorized) IsServerError() bool
IsServerError returns true when this delete sandbox unauthorized response has a 5xx status code
func (*DeleteSandboxUnauthorized) IsSuccess ¶ added in v0.3.3
func (o *DeleteSandboxUnauthorized) IsSuccess() bool
IsSuccess returns true when this delete sandbox unauthorized response has a 2xx status code
func (*DeleteSandboxUnauthorized) String ¶ added in v0.3.3
func (o *DeleteSandboxUnauthorized) String() string
type GetSandboxBadGateway ¶ added in v0.2.0
type GetSandboxBadGateway struct {
Payload *models.ErrorResponse
}
GetSandboxBadGateway describes a response with status code 502, with default header values.
Bad Gateway
func NewGetSandboxBadGateway ¶ added in v0.2.0
func NewGetSandboxBadGateway() *GetSandboxBadGateway
NewGetSandboxBadGateway creates a GetSandboxBadGateway with default headers values
func (*GetSandboxBadGateway) Code ¶ added in v0.3.7
func (o *GetSandboxBadGateway) Code() int
Code gets the status code for the get sandbox bad gateway response
func (*GetSandboxBadGateway) Error ¶ added in v0.2.0
func (o *GetSandboxBadGateway) Error() string
func (*GetSandboxBadGateway) GetPayload ¶ added in v0.2.0
func (o *GetSandboxBadGateway) GetPayload() *models.ErrorResponse
func (*GetSandboxBadGateway) IsClientError ¶ added in v0.3.3
func (o *GetSandboxBadGateway) IsClientError() bool
IsClientError returns true when this get sandbox bad gateway response has a 4xx status code
func (*GetSandboxBadGateway) IsCode ¶ added in v0.3.3
func (o *GetSandboxBadGateway) IsCode(code int) bool
IsCode returns true when this get sandbox bad gateway response a status code equal to that given
func (*GetSandboxBadGateway) IsRedirect ¶ added in v0.3.3
func (o *GetSandboxBadGateway) IsRedirect() bool
IsRedirect returns true when this get sandbox bad gateway response has a 3xx status code
func (*GetSandboxBadGateway) IsServerError ¶ added in v0.3.3
func (o *GetSandboxBadGateway) IsServerError() bool
IsServerError returns true when this get sandbox bad gateway response has a 5xx status code
func (*GetSandboxBadGateway) IsSuccess ¶ added in v0.3.3
func (o *GetSandboxBadGateway) IsSuccess() bool
IsSuccess returns true when this get sandbox bad gateway response has a 2xx status code
func (*GetSandboxBadGateway) String ¶ added in v0.3.3
func (o *GetSandboxBadGateway) String() string
type GetSandboxBadRequest ¶ added in v0.2.0
type GetSandboxBadRequest struct {
Payload *models.ErrorResponse
}
GetSandboxBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewGetSandboxBadRequest ¶ added in v0.2.0
func NewGetSandboxBadRequest() *GetSandboxBadRequest
NewGetSandboxBadRequest creates a GetSandboxBadRequest with default headers values
func (*GetSandboxBadRequest) Code ¶ added in v0.3.7
func (o *GetSandboxBadRequest) Code() int
Code gets the status code for the get sandbox bad request response
func (*GetSandboxBadRequest) Error ¶ added in v0.2.0
func (o *GetSandboxBadRequest) Error() string
func (*GetSandboxBadRequest) GetPayload ¶ added in v0.2.0
func (o *GetSandboxBadRequest) GetPayload() *models.ErrorResponse
func (*GetSandboxBadRequest) IsClientError ¶ added in v0.3.3
func (o *GetSandboxBadRequest) IsClientError() bool
IsClientError returns true when this get sandbox bad request response has a 4xx status code
func (*GetSandboxBadRequest) IsCode ¶ added in v0.3.3
func (o *GetSandboxBadRequest) IsCode(code int) bool
IsCode returns true when this get sandbox bad request response a status code equal to that given
func (*GetSandboxBadRequest) IsRedirect ¶ added in v0.3.3
func (o *GetSandboxBadRequest) IsRedirect() bool
IsRedirect returns true when this get sandbox bad request response has a 3xx status code
func (*GetSandboxBadRequest) IsServerError ¶ added in v0.3.3
func (o *GetSandboxBadRequest) IsServerError() bool
IsServerError returns true when this get sandbox bad request response has a 5xx status code
func (*GetSandboxBadRequest) IsSuccess ¶ added in v0.3.3
func (o *GetSandboxBadRequest) IsSuccess() bool
IsSuccess returns true when this get sandbox bad request response has a 2xx status code
func (*GetSandboxBadRequest) String ¶ added in v0.3.3
func (o *GetSandboxBadRequest) String() string
type GetSandboxOK ¶ added in v0.2.0
GetSandboxOK describes a response with status code 200, with default header values.
OK
func NewGetSandboxOK ¶ added in v0.2.0
func NewGetSandboxOK() *GetSandboxOK
NewGetSandboxOK creates a GetSandboxOK with default headers values
func (*GetSandboxOK) Code ¶ added in v0.3.7
func (o *GetSandboxOK) Code() int
Code gets the status code for the get sandbox o k response
func (*GetSandboxOK) Error ¶ added in v0.2.0
func (o *GetSandboxOK) Error() string
func (*GetSandboxOK) GetPayload ¶ added in v0.2.0
func (o *GetSandboxOK) GetPayload() *models.Sandbox
func (*GetSandboxOK) IsClientError ¶ added in v0.3.3
func (o *GetSandboxOK) IsClientError() bool
IsClientError returns true when this get sandbox o k response has a 4xx status code
func (*GetSandboxOK) IsCode ¶ added in v0.3.3
func (o *GetSandboxOK) IsCode(code int) bool
IsCode returns true when this get sandbox o k response a status code equal to that given
func (*GetSandboxOK) IsRedirect ¶ added in v0.3.3
func (o *GetSandboxOK) IsRedirect() bool
IsRedirect returns true when this get sandbox o k response has a 3xx status code
func (*GetSandboxOK) IsServerError ¶ added in v0.3.3
func (o *GetSandboxOK) IsServerError() bool
IsServerError returns true when this get sandbox o k response has a 5xx status code
func (*GetSandboxOK) IsSuccess ¶ added in v0.3.3
func (o *GetSandboxOK) IsSuccess() bool
IsSuccess returns true when this get sandbox o k response has a 2xx status code
func (*GetSandboxOK) String ¶ added in v0.3.3
func (o *GetSandboxOK) String() string
type GetSandboxParams ¶ added in v0.2.0
type GetSandboxParams struct { /* OrgName. Signadot Org Name */ OrgName string /* SandboxName. Sandbox Name */ SandboxName string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetSandboxParams contains all the parameters to send to the API endpoint
for the get sandbox operation. Typically these are written to a http.Request.
func NewGetSandboxParams ¶ added in v0.2.0
func NewGetSandboxParams() *GetSandboxParams
NewGetSandboxParams creates a new GetSandboxParams 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 NewGetSandboxParamsWithContext ¶ added in v0.2.0
func NewGetSandboxParamsWithContext(ctx context.Context) *GetSandboxParams
NewGetSandboxParamsWithContext creates a new GetSandboxParams object with the ability to set a context for a request.
func NewGetSandboxParamsWithHTTPClient ¶ added in v0.2.0
func NewGetSandboxParamsWithHTTPClient(client *http.Client) *GetSandboxParams
NewGetSandboxParamsWithHTTPClient creates a new GetSandboxParams object with the ability to set a custom HTTPClient for a request.
func NewGetSandboxParamsWithTimeout ¶ added in v0.2.0
func NewGetSandboxParamsWithTimeout(timeout time.Duration) *GetSandboxParams
NewGetSandboxParamsWithTimeout creates a new GetSandboxParams object with the ability to set a timeout on a request.
func (*GetSandboxParams) SetContext ¶ added in v0.2.0
func (o *GetSandboxParams) SetContext(ctx context.Context)
SetContext adds the context to the get sandbox params
func (*GetSandboxParams) SetDefaults ¶ added in v0.2.0
func (o *GetSandboxParams) SetDefaults()
SetDefaults hydrates default values in the get sandbox params (not the query body).
All values with no default are reset to their zero value.
func (*GetSandboxParams) SetHTTPClient ¶ added in v0.2.0
func (o *GetSandboxParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get sandbox params
func (*GetSandboxParams) SetOrgName ¶ added in v0.2.0
func (o *GetSandboxParams) SetOrgName(orgName string)
SetOrgName adds the orgName to the get sandbox params
func (*GetSandboxParams) SetSandboxName ¶ added in v0.2.0
func (o *GetSandboxParams) SetSandboxName(sandboxName string)
SetSandboxName adds the sandboxName to the get sandbox params
func (*GetSandboxParams) SetTimeout ¶ added in v0.2.0
func (o *GetSandboxParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get sandbox params
func (*GetSandboxParams) WithContext ¶ added in v0.2.0
func (o *GetSandboxParams) WithContext(ctx context.Context) *GetSandboxParams
WithContext adds the context to the get sandbox params
func (*GetSandboxParams) WithDefaults ¶ added in v0.2.0
func (o *GetSandboxParams) WithDefaults() *GetSandboxParams
WithDefaults hydrates default values in the get sandbox params (not the query body).
All values with no default are reset to their zero value.
func (*GetSandboxParams) WithHTTPClient ¶ added in v0.2.0
func (o *GetSandboxParams) WithHTTPClient(client *http.Client) *GetSandboxParams
WithHTTPClient adds the HTTPClient to the get sandbox params
func (*GetSandboxParams) WithOrgName ¶ added in v0.2.0
func (o *GetSandboxParams) WithOrgName(orgName string) *GetSandboxParams
WithOrgName adds the orgName to the get sandbox params
func (*GetSandboxParams) WithSandboxName ¶ added in v0.2.0
func (o *GetSandboxParams) WithSandboxName(sandboxName string) *GetSandboxParams
WithSandboxName adds the sandboxName to the get sandbox params
func (*GetSandboxParams) WithTimeout ¶ added in v0.2.0
func (o *GetSandboxParams) WithTimeout(timeout time.Duration) *GetSandboxParams
WithTimeout adds the timeout to the get sandbox params
func (*GetSandboxParams) WriteToRequest ¶ added in v0.2.0
func (o *GetSandboxParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetSandboxReader ¶ added in v0.2.0
type GetSandboxReader struct {
// contains filtered or unexported fields
}
GetSandboxReader is a Reader for the GetSandbox structure.
func (*GetSandboxReader) ReadResponse ¶ added in v0.2.0
func (o *GetSandboxReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetSandboxUnauthorized ¶ added in v0.2.0
type GetSandboxUnauthorized struct {
}GetSandboxUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewGetSandboxUnauthorized ¶ added in v0.2.0
func NewGetSandboxUnauthorized() *GetSandboxUnauthorized
NewGetSandboxUnauthorized creates a GetSandboxUnauthorized with default headers values
func (*GetSandboxUnauthorized) Code ¶ added in v0.3.7
func (o *GetSandboxUnauthorized) Code() int
Code gets the status code for the get sandbox unauthorized response
func (*GetSandboxUnauthorized) Error ¶ added in v0.2.0
func (o *GetSandboxUnauthorized) Error() string
func (*GetSandboxUnauthorized) GetPayload ¶ added in v0.2.0
func (o *GetSandboxUnauthorized) GetPayload() *models.ErrorResponse
func (*GetSandboxUnauthorized) IsClientError ¶ added in v0.3.3
func (o *GetSandboxUnauthorized) IsClientError() bool
IsClientError returns true when this get sandbox unauthorized response has a 4xx status code
func (*GetSandboxUnauthorized) IsCode ¶ added in v0.3.3
func (o *GetSandboxUnauthorized) IsCode(code int) bool
IsCode returns true when this get sandbox unauthorized response a status code equal to that given
func (*GetSandboxUnauthorized) IsRedirect ¶ added in v0.3.3
func (o *GetSandboxUnauthorized) IsRedirect() bool
IsRedirect returns true when this get sandbox unauthorized response has a 3xx status code
func (*GetSandboxUnauthorized) IsServerError ¶ added in v0.3.3
func (o *GetSandboxUnauthorized) IsServerError() bool
IsServerError returns true when this get sandbox unauthorized response has a 5xx status code
func (*GetSandboxUnauthorized) IsSuccess ¶ added in v0.3.3
func (o *GetSandboxUnauthorized) IsSuccess() bool
IsSuccess returns true when this get sandbox unauthorized response has a 2xx status code
func (*GetSandboxUnauthorized) String ¶ added in v0.3.3
func (o *GetSandboxUnauthorized) String() string
type ListSandboxesBadGateway ¶ added in v0.2.0
type ListSandboxesBadGateway struct {
Payload *models.ErrorResponse
}
ListSandboxesBadGateway describes a response with status code 502, with default header values.
Bad Gateway
func NewListSandboxesBadGateway ¶ added in v0.2.0
func NewListSandboxesBadGateway() *ListSandboxesBadGateway
NewListSandboxesBadGateway creates a ListSandboxesBadGateway with default headers values
func (*ListSandboxesBadGateway) Code ¶ added in v0.3.7
func (o *ListSandboxesBadGateway) Code() int
Code gets the status code for the list sandboxes bad gateway response
func (*ListSandboxesBadGateway) Error ¶ added in v0.2.0
func (o *ListSandboxesBadGateway) Error() string
func (*ListSandboxesBadGateway) GetPayload ¶ added in v0.2.0
func (o *ListSandboxesBadGateway) GetPayload() *models.ErrorResponse
func (*ListSandboxesBadGateway) IsClientError ¶ added in v0.3.3
func (o *ListSandboxesBadGateway) IsClientError() bool
IsClientError returns true when this list sandboxes bad gateway response has a 4xx status code
func (*ListSandboxesBadGateway) IsCode ¶ added in v0.3.3
func (o *ListSandboxesBadGateway) IsCode(code int) bool
IsCode returns true when this list sandboxes bad gateway response a status code equal to that given
func (*ListSandboxesBadGateway) IsRedirect ¶ added in v0.3.3
func (o *ListSandboxesBadGateway) IsRedirect() bool
IsRedirect returns true when this list sandboxes bad gateway response has a 3xx status code
func (*ListSandboxesBadGateway) IsServerError ¶ added in v0.3.3
func (o *ListSandboxesBadGateway) IsServerError() bool
IsServerError returns true when this list sandboxes bad gateway response has a 5xx status code
func (*ListSandboxesBadGateway) IsSuccess ¶ added in v0.3.3
func (o *ListSandboxesBadGateway) IsSuccess() bool
IsSuccess returns true when this list sandboxes bad gateway response has a 2xx status code
func (*ListSandboxesBadGateway) String ¶ added in v0.3.3
func (o *ListSandboxesBadGateway) String() string
type ListSandboxesBadRequest ¶ added in v0.2.0
type ListSandboxesBadRequest struct {
Payload *models.ErrorResponse
}
ListSandboxesBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewListSandboxesBadRequest ¶ added in v0.2.0
func NewListSandboxesBadRequest() *ListSandboxesBadRequest
NewListSandboxesBadRequest creates a ListSandboxesBadRequest with default headers values
func (*ListSandboxesBadRequest) Code ¶ added in v0.3.7
func (o *ListSandboxesBadRequest) Code() int
Code gets the status code for the list sandboxes bad request response
func (*ListSandboxesBadRequest) Error ¶ added in v0.2.0
func (o *ListSandboxesBadRequest) Error() string
func (*ListSandboxesBadRequest) GetPayload ¶ added in v0.2.0
func (o *ListSandboxesBadRequest) GetPayload() *models.ErrorResponse
func (*ListSandboxesBadRequest) IsClientError ¶ added in v0.3.3
func (o *ListSandboxesBadRequest) IsClientError() bool
IsClientError returns true when this list sandboxes bad request response has a 4xx status code
func (*ListSandboxesBadRequest) IsCode ¶ added in v0.3.3
func (o *ListSandboxesBadRequest) IsCode(code int) bool
IsCode returns true when this list sandboxes bad request response a status code equal to that given
func (*ListSandboxesBadRequest) IsRedirect ¶ added in v0.3.3
func (o *ListSandboxesBadRequest) IsRedirect() bool
IsRedirect returns true when this list sandboxes bad request response has a 3xx status code
func (*ListSandboxesBadRequest) IsServerError ¶ added in v0.3.3
func (o *ListSandboxesBadRequest) IsServerError() bool
IsServerError returns true when this list sandboxes bad request response has a 5xx status code
func (*ListSandboxesBadRequest) IsSuccess ¶ added in v0.3.3
func (o *ListSandboxesBadRequest) IsSuccess() bool
IsSuccess returns true when this list sandboxes bad request response has a 2xx status code
func (*ListSandboxesBadRequest) String ¶ added in v0.3.3
func (o *ListSandboxesBadRequest) String() string
type ListSandboxesOK ¶ added in v0.2.0
ListSandboxesOK describes a response with status code 200, with default header values.
OK
func NewListSandboxesOK ¶ added in v0.2.0
func NewListSandboxesOK() *ListSandboxesOK
NewListSandboxesOK creates a ListSandboxesOK with default headers values
func (*ListSandboxesOK) Code ¶ added in v0.3.7
func (o *ListSandboxesOK) Code() int
Code gets the status code for the list sandboxes o k response
func (*ListSandboxesOK) Error ¶ added in v0.2.0
func (o *ListSandboxesOK) Error() string
func (*ListSandboxesOK) GetPayload ¶ added in v0.2.0
func (o *ListSandboxesOK) GetPayload() []*models.Sandbox
func (*ListSandboxesOK) IsClientError ¶ added in v0.3.3
func (o *ListSandboxesOK) IsClientError() bool
IsClientError returns true when this list sandboxes o k response has a 4xx status code
func (*ListSandboxesOK) IsCode ¶ added in v0.3.3
func (o *ListSandboxesOK) IsCode(code int) bool
IsCode returns true when this list sandboxes o k response a status code equal to that given
func (*ListSandboxesOK) IsRedirect ¶ added in v0.3.3
func (o *ListSandboxesOK) IsRedirect() bool
IsRedirect returns true when this list sandboxes o k response has a 3xx status code
func (*ListSandboxesOK) IsServerError ¶ added in v0.3.3
func (o *ListSandboxesOK) IsServerError() bool
IsServerError returns true when this list sandboxes o k response has a 5xx status code
func (*ListSandboxesOK) IsSuccess ¶ added in v0.3.3
func (o *ListSandboxesOK) IsSuccess() bool
IsSuccess returns true when this list sandboxes o k response has a 2xx status code
func (*ListSandboxesOK) String ¶ added in v0.3.3
func (o *ListSandboxesOK) String() string
type ListSandboxesParams ¶ added in v0.2.0
type ListSandboxesParams struct { /* OrgName. Signadot Org Name */ OrgName string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListSandboxesParams contains all the parameters to send to the API endpoint
for the list sandboxes operation. Typically these are written to a http.Request.
func NewListSandboxesParams ¶ added in v0.2.0
func NewListSandboxesParams() *ListSandboxesParams
NewListSandboxesParams creates a new ListSandboxesParams 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 NewListSandboxesParamsWithContext ¶ added in v0.2.0
func NewListSandboxesParamsWithContext(ctx context.Context) *ListSandboxesParams
NewListSandboxesParamsWithContext creates a new ListSandboxesParams object with the ability to set a context for a request.
func NewListSandboxesParamsWithHTTPClient ¶ added in v0.2.0
func NewListSandboxesParamsWithHTTPClient(client *http.Client) *ListSandboxesParams
NewListSandboxesParamsWithHTTPClient creates a new ListSandboxesParams object with the ability to set a custom HTTPClient for a request.
func NewListSandboxesParamsWithTimeout ¶ added in v0.2.0
func NewListSandboxesParamsWithTimeout(timeout time.Duration) *ListSandboxesParams
NewListSandboxesParamsWithTimeout creates a new ListSandboxesParams object with the ability to set a timeout on a request.
func (*ListSandboxesParams) SetContext ¶ added in v0.2.0
func (o *ListSandboxesParams) SetContext(ctx context.Context)
SetContext adds the context to the list sandboxes params
func (*ListSandboxesParams) SetDefaults ¶ added in v0.2.0
func (o *ListSandboxesParams) SetDefaults()
SetDefaults hydrates default values in the list sandboxes params (not the query body).
All values with no default are reset to their zero value.
func (*ListSandboxesParams) SetHTTPClient ¶ added in v0.2.0
func (o *ListSandboxesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list sandboxes params
func (*ListSandboxesParams) SetOrgName ¶ added in v0.2.0
func (o *ListSandboxesParams) SetOrgName(orgName string)
SetOrgName adds the orgName to the list sandboxes params
func (*ListSandboxesParams) SetTimeout ¶ added in v0.2.0
func (o *ListSandboxesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list sandboxes params
func (*ListSandboxesParams) WithContext ¶ added in v0.2.0
func (o *ListSandboxesParams) WithContext(ctx context.Context) *ListSandboxesParams
WithContext adds the context to the list sandboxes params
func (*ListSandboxesParams) WithDefaults ¶ added in v0.2.0
func (o *ListSandboxesParams) WithDefaults() *ListSandboxesParams
WithDefaults hydrates default values in the list sandboxes params (not the query body).
All values with no default are reset to their zero value.
func (*ListSandboxesParams) WithHTTPClient ¶ added in v0.2.0
func (o *ListSandboxesParams) WithHTTPClient(client *http.Client) *ListSandboxesParams
WithHTTPClient adds the HTTPClient to the list sandboxes params
func (*ListSandboxesParams) WithOrgName ¶ added in v0.2.0
func (o *ListSandboxesParams) WithOrgName(orgName string) *ListSandboxesParams
WithOrgName adds the orgName to the list sandboxes params
func (*ListSandboxesParams) WithTimeout ¶ added in v0.2.0
func (o *ListSandboxesParams) WithTimeout(timeout time.Duration) *ListSandboxesParams
WithTimeout adds the timeout to the list sandboxes params
func (*ListSandboxesParams) WriteToRequest ¶ added in v0.2.0
func (o *ListSandboxesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListSandboxesReader ¶ added in v0.2.0
type ListSandboxesReader struct {
// contains filtered or unexported fields
}
ListSandboxesReader is a Reader for the ListSandboxes structure.
func (*ListSandboxesReader) ReadResponse ¶ added in v0.2.0
func (o *ListSandboxesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListSandboxesUnauthorized ¶ added in v0.2.0
type ListSandboxesUnauthorized struct {
}ListSandboxesUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewListSandboxesUnauthorized ¶ added in v0.2.0
func NewListSandboxesUnauthorized() *ListSandboxesUnauthorized
NewListSandboxesUnauthorized creates a ListSandboxesUnauthorized with default headers values
func (*ListSandboxesUnauthorized) Code ¶ added in v0.3.7
func (o *ListSandboxesUnauthorized) Code() int
Code gets the status code for the list sandboxes unauthorized response
func (*ListSandboxesUnauthorized) Error ¶ added in v0.2.0
func (o *ListSandboxesUnauthorized) Error() string
func (*ListSandboxesUnauthorized) GetPayload ¶ added in v0.2.0
func (o *ListSandboxesUnauthorized) GetPayload() *models.ErrorResponse
func (*ListSandboxesUnauthorized) IsClientError ¶ added in v0.3.3
func (o *ListSandboxesUnauthorized) IsClientError() bool
IsClientError returns true when this list sandboxes unauthorized response has a 4xx status code
func (*ListSandboxesUnauthorized) IsCode ¶ added in v0.3.3
func (o *ListSandboxesUnauthorized) IsCode(code int) bool
IsCode returns true when this list sandboxes unauthorized response a status code equal to that given
func (*ListSandboxesUnauthorized) IsRedirect ¶ added in v0.3.3
func (o *ListSandboxesUnauthorized) IsRedirect() bool
IsRedirect returns true when this list sandboxes unauthorized response has a 3xx status code
func (*ListSandboxesUnauthorized) IsServerError ¶ added in v0.3.3
func (o *ListSandboxesUnauthorized) IsServerError() bool
IsServerError returns true when this list sandboxes unauthorized response has a 5xx status code
func (*ListSandboxesUnauthorized) IsSuccess ¶ added in v0.3.3
func (o *ListSandboxesUnauthorized) IsSuccess() bool
IsSuccess returns true when this list sandboxes unauthorized response has a 2xx status code
func (*ListSandboxesUnauthorized) String ¶ added in v0.3.3
func (o *ListSandboxesUnauthorized) String() string