Documentation ¶
Index ¶
- type Client
- func (a *Client) Pack(params *PackParams, opts ...ClientOption) (*PackOK, error)
- func (a *Client) PauseDagGen(params *PauseDagGenParams, opts ...ClientOption) (*PauseDagGenOK, error)
- func (a *Client) PausePack(params *PausePackParams, opts ...ClientOption) (*PausePackOK, error)
- func (a *Client) PauseScan(params *PauseScanParams, opts ...ClientOption) (*PauseScanOK, error)
- func (a *Client) PrepareToPackSource(params *PrepareToPackSourceParams, opts ...ClientOption) (*PrepareToPackSourceNoContent, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) StartDagGen(params *StartDagGenParams, opts ...ClientOption) (*StartDagGenOK, error)
- func (a *Client) StartPack(params *StartPackParams, opts ...ClientOption) (*StartPackOK, error)
- func (a *Client) StartScan(params *StartScanParams, opts ...ClientOption) (*StartScanOK, error)
- type ClientOption
- type ClientService
- type PackBadRequest
- func (o *PackBadRequest) Code() int
- func (o *PackBadRequest) Error() string
- func (o *PackBadRequest) GetPayload() string
- func (o *PackBadRequest) IsClientError() bool
- func (o *PackBadRequest) IsCode(code int) bool
- func (o *PackBadRequest) IsRedirect() bool
- func (o *PackBadRequest) IsServerError() bool
- func (o *PackBadRequest) IsSuccess() bool
- func (o *PackBadRequest) String() string
- type PackInternalServerError
- func (o *PackInternalServerError) Code() int
- func (o *PackInternalServerError) Error() string
- func (o *PackInternalServerError) GetPayload() string
- func (o *PackInternalServerError) IsClientError() bool
- func (o *PackInternalServerError) IsCode(code int) bool
- func (o *PackInternalServerError) IsRedirect() bool
- func (o *PackInternalServerError) IsServerError() bool
- func (o *PackInternalServerError) IsSuccess() bool
- func (o *PackInternalServerError) String() string
- type PackOK
- func (o *PackOK) Code() int
- func (o *PackOK) Error() string
- func (o *PackOK) GetPayload() *models.ModelCar
- func (o *PackOK) IsClientError() bool
- func (o *PackOK) IsCode(code int) bool
- func (o *PackOK) IsRedirect() bool
- func (o *PackOK) IsServerError() bool
- func (o *PackOK) IsSuccess() bool
- func (o *PackOK) String() string
- type PackParams
- func (o *PackParams) SetContext(ctx context.Context)
- func (o *PackParams) SetDefaults()
- func (o *PackParams) SetHTTPClient(client *http.Client)
- func (o *PackParams) SetID(id int64)
- func (o *PackParams) SetTimeout(timeout time.Duration)
- func (o *PackParams) WithContext(ctx context.Context) *PackParams
- func (o *PackParams) WithDefaults() *PackParams
- func (o *PackParams) WithHTTPClient(client *http.Client) *PackParams
- func (o *PackParams) WithID(id int64) *PackParams
- func (o *PackParams) WithTimeout(timeout time.Duration) *PackParams
- func (o *PackParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PackReader
- type PauseDagGenBadRequest
- func (o *PauseDagGenBadRequest) Code() int
- func (o *PauseDagGenBadRequest) Error() string
- func (o *PauseDagGenBadRequest) GetPayload() *models.APIHTTPError
- func (o *PauseDagGenBadRequest) IsClientError() bool
- func (o *PauseDagGenBadRequest) IsCode(code int) bool
- func (o *PauseDagGenBadRequest) IsRedirect() bool
- func (o *PauseDagGenBadRequest) IsServerError() bool
- func (o *PauseDagGenBadRequest) IsSuccess() bool
- func (o *PauseDagGenBadRequest) String() string
- type PauseDagGenInternalServerError
- func (o *PauseDagGenInternalServerError) Code() int
- func (o *PauseDagGenInternalServerError) Error() string
- func (o *PauseDagGenInternalServerError) GetPayload() *models.APIHTTPError
- func (o *PauseDagGenInternalServerError) IsClientError() bool
- func (o *PauseDagGenInternalServerError) IsCode(code int) bool
- func (o *PauseDagGenInternalServerError) IsRedirect() bool
- func (o *PauseDagGenInternalServerError) IsServerError() bool
- func (o *PauseDagGenInternalServerError) IsSuccess() bool
- func (o *PauseDagGenInternalServerError) String() string
- type PauseDagGenOK
- func (o *PauseDagGenOK) Code() int
- func (o *PauseDagGenOK) Error() string
- func (o *PauseDagGenOK) GetPayload() *models.ModelJob
- func (o *PauseDagGenOK) IsClientError() bool
- func (o *PauseDagGenOK) IsCode(code int) bool
- func (o *PauseDagGenOK) IsRedirect() bool
- func (o *PauseDagGenOK) IsServerError() bool
- func (o *PauseDagGenOK) IsSuccess() bool
- func (o *PauseDagGenOK) String() string
- type PauseDagGenParams
- func (o *PauseDagGenParams) SetContext(ctx context.Context)
- func (o *PauseDagGenParams) SetDefaults()
- func (o *PauseDagGenParams) SetHTTPClient(client *http.Client)
- func (o *PauseDagGenParams) SetID(id string)
- func (o *PauseDagGenParams) SetName(name string)
- func (o *PauseDagGenParams) SetTimeout(timeout time.Duration)
- func (o *PauseDagGenParams) WithContext(ctx context.Context) *PauseDagGenParams
- func (o *PauseDagGenParams) WithDefaults() *PauseDagGenParams
- func (o *PauseDagGenParams) WithHTTPClient(client *http.Client) *PauseDagGenParams
- func (o *PauseDagGenParams) WithID(id string) *PauseDagGenParams
- func (o *PauseDagGenParams) WithName(name string) *PauseDagGenParams
- func (o *PauseDagGenParams) WithTimeout(timeout time.Duration) *PauseDagGenParams
- func (o *PauseDagGenParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PauseDagGenReader
- type PausePackBadRequest
- func (o *PausePackBadRequest) Code() int
- func (o *PausePackBadRequest) Error() string
- func (o *PausePackBadRequest) GetPayload() *models.APIHTTPError
- func (o *PausePackBadRequest) IsClientError() bool
- func (o *PausePackBadRequest) IsCode(code int) bool
- func (o *PausePackBadRequest) IsRedirect() bool
- func (o *PausePackBadRequest) IsServerError() bool
- func (o *PausePackBadRequest) IsSuccess() bool
- func (o *PausePackBadRequest) String() string
- type PausePackInternalServerError
- func (o *PausePackInternalServerError) Code() int
- func (o *PausePackInternalServerError) Error() string
- func (o *PausePackInternalServerError) GetPayload() *models.APIHTTPError
- func (o *PausePackInternalServerError) IsClientError() bool
- func (o *PausePackInternalServerError) IsCode(code int) bool
- func (o *PausePackInternalServerError) IsRedirect() bool
- func (o *PausePackInternalServerError) IsServerError() bool
- func (o *PausePackInternalServerError) IsSuccess() bool
- func (o *PausePackInternalServerError) String() string
- type PausePackOK
- func (o *PausePackOK) Code() int
- func (o *PausePackOK) Error() string
- func (o *PausePackOK) GetPayload() []*models.ModelJob
- func (o *PausePackOK) IsClientError() bool
- func (o *PausePackOK) IsCode(code int) bool
- func (o *PausePackOK) IsRedirect() bool
- func (o *PausePackOK) IsServerError() bool
- func (o *PausePackOK) IsSuccess() bool
- func (o *PausePackOK) String() string
- type PausePackParams
- func (o *PausePackParams) SetContext(ctx context.Context)
- func (o *PausePackParams) SetDefaults()
- func (o *PausePackParams) SetHTTPClient(client *http.Client)
- func (o *PausePackParams) SetID(id string)
- func (o *PausePackParams) SetJobID(jobID int64)
- func (o *PausePackParams) SetName(name string)
- func (o *PausePackParams) SetTimeout(timeout time.Duration)
- func (o *PausePackParams) WithContext(ctx context.Context) *PausePackParams
- func (o *PausePackParams) WithDefaults() *PausePackParams
- func (o *PausePackParams) WithHTTPClient(client *http.Client) *PausePackParams
- func (o *PausePackParams) WithID(id string) *PausePackParams
- func (o *PausePackParams) WithJobID(jobID int64) *PausePackParams
- func (o *PausePackParams) WithName(name string) *PausePackParams
- func (o *PausePackParams) WithTimeout(timeout time.Duration) *PausePackParams
- func (o *PausePackParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PausePackReader
- type PauseScanBadRequest
- func (o *PauseScanBadRequest) Code() int
- func (o *PauseScanBadRequest) Error() string
- func (o *PauseScanBadRequest) GetPayload() *models.APIHTTPError
- func (o *PauseScanBadRequest) IsClientError() bool
- func (o *PauseScanBadRequest) IsCode(code int) bool
- func (o *PauseScanBadRequest) IsRedirect() bool
- func (o *PauseScanBadRequest) IsServerError() bool
- func (o *PauseScanBadRequest) IsSuccess() bool
- func (o *PauseScanBadRequest) String() string
- type PauseScanInternalServerError
- func (o *PauseScanInternalServerError) Code() int
- func (o *PauseScanInternalServerError) Error() string
- func (o *PauseScanInternalServerError) GetPayload() *models.APIHTTPError
- func (o *PauseScanInternalServerError) IsClientError() bool
- func (o *PauseScanInternalServerError) IsCode(code int) bool
- func (o *PauseScanInternalServerError) IsRedirect() bool
- func (o *PauseScanInternalServerError) IsServerError() bool
- func (o *PauseScanInternalServerError) IsSuccess() bool
- func (o *PauseScanInternalServerError) String() string
- type PauseScanOK
- func (o *PauseScanOK) Code() int
- func (o *PauseScanOK) Error() string
- func (o *PauseScanOK) GetPayload() *models.ModelJob
- func (o *PauseScanOK) IsClientError() bool
- func (o *PauseScanOK) IsCode(code int) bool
- func (o *PauseScanOK) IsRedirect() bool
- func (o *PauseScanOK) IsServerError() bool
- func (o *PauseScanOK) IsSuccess() bool
- func (o *PauseScanOK) String() string
- type PauseScanParams
- func (o *PauseScanParams) SetContext(ctx context.Context)
- func (o *PauseScanParams) SetDefaults()
- func (o *PauseScanParams) SetHTTPClient(client *http.Client)
- func (o *PauseScanParams) SetID(id string)
- func (o *PauseScanParams) SetName(name string)
- func (o *PauseScanParams) SetTimeout(timeout time.Duration)
- func (o *PauseScanParams) WithContext(ctx context.Context) *PauseScanParams
- func (o *PauseScanParams) WithDefaults() *PauseScanParams
- func (o *PauseScanParams) WithHTTPClient(client *http.Client) *PauseScanParams
- func (o *PauseScanParams) WithID(id string) *PauseScanParams
- func (o *PauseScanParams) WithName(name string) *PauseScanParams
- func (o *PauseScanParams) WithTimeout(timeout time.Duration) *PauseScanParams
- func (o *PauseScanParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PauseScanReader
- type PrepareToPackSourceBadRequest
- func (o *PrepareToPackSourceBadRequest) Code() int
- func (o *PrepareToPackSourceBadRequest) Error() string
- func (o *PrepareToPackSourceBadRequest) GetPayload() string
- func (o *PrepareToPackSourceBadRequest) IsClientError() bool
- func (o *PrepareToPackSourceBadRequest) IsCode(code int) bool
- func (o *PrepareToPackSourceBadRequest) IsRedirect() bool
- func (o *PrepareToPackSourceBadRequest) IsServerError() bool
- func (o *PrepareToPackSourceBadRequest) IsSuccess() bool
- func (o *PrepareToPackSourceBadRequest) String() string
- type PrepareToPackSourceInternalServerError
- func (o *PrepareToPackSourceInternalServerError) Code() int
- func (o *PrepareToPackSourceInternalServerError) Error() string
- func (o *PrepareToPackSourceInternalServerError) GetPayload() string
- func (o *PrepareToPackSourceInternalServerError) IsClientError() bool
- func (o *PrepareToPackSourceInternalServerError) IsCode(code int) bool
- func (o *PrepareToPackSourceInternalServerError) IsRedirect() bool
- func (o *PrepareToPackSourceInternalServerError) IsServerError() bool
- func (o *PrepareToPackSourceInternalServerError) IsSuccess() bool
- func (o *PrepareToPackSourceInternalServerError) String() string
- type PrepareToPackSourceNoContent
- func (o *PrepareToPackSourceNoContent) Code() int
- func (o *PrepareToPackSourceNoContent) Error() string
- func (o *PrepareToPackSourceNoContent) IsClientError() bool
- func (o *PrepareToPackSourceNoContent) IsCode(code int) bool
- func (o *PrepareToPackSourceNoContent) IsRedirect() bool
- func (o *PrepareToPackSourceNoContent) IsServerError() bool
- func (o *PrepareToPackSourceNoContent) IsSuccess() bool
- func (o *PrepareToPackSourceNoContent) String() string
- type PrepareToPackSourceParams
- func NewPrepareToPackSourceParams() *PrepareToPackSourceParams
- func NewPrepareToPackSourceParamsWithContext(ctx context.Context) *PrepareToPackSourceParams
- func NewPrepareToPackSourceParamsWithHTTPClient(client *http.Client) *PrepareToPackSourceParams
- func NewPrepareToPackSourceParamsWithTimeout(timeout time.Duration) *PrepareToPackSourceParams
- func (o *PrepareToPackSourceParams) SetContext(ctx context.Context)
- func (o *PrepareToPackSourceParams) SetDefaults()
- func (o *PrepareToPackSourceParams) SetHTTPClient(client *http.Client)
- func (o *PrepareToPackSourceParams) SetID(id string)
- func (o *PrepareToPackSourceParams) SetName(name string)
- func (o *PrepareToPackSourceParams) SetTimeout(timeout time.Duration)
- func (o *PrepareToPackSourceParams) WithContext(ctx context.Context) *PrepareToPackSourceParams
- func (o *PrepareToPackSourceParams) WithDefaults() *PrepareToPackSourceParams
- func (o *PrepareToPackSourceParams) WithHTTPClient(client *http.Client) *PrepareToPackSourceParams
- func (o *PrepareToPackSourceParams) WithID(id string) *PrepareToPackSourceParams
- func (o *PrepareToPackSourceParams) WithName(name string) *PrepareToPackSourceParams
- func (o *PrepareToPackSourceParams) WithTimeout(timeout time.Duration) *PrepareToPackSourceParams
- func (o *PrepareToPackSourceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PrepareToPackSourceReader
- type StartDagGenBadRequest
- func (o *StartDagGenBadRequest) Code() int
- func (o *StartDagGenBadRequest) Error() string
- func (o *StartDagGenBadRequest) GetPayload() *models.APIHTTPError
- func (o *StartDagGenBadRequest) IsClientError() bool
- func (o *StartDagGenBadRequest) IsCode(code int) bool
- func (o *StartDagGenBadRequest) IsRedirect() bool
- func (o *StartDagGenBadRequest) IsServerError() bool
- func (o *StartDagGenBadRequest) IsSuccess() bool
- func (o *StartDagGenBadRequest) String() string
- type StartDagGenInternalServerError
- func (o *StartDagGenInternalServerError) Code() int
- func (o *StartDagGenInternalServerError) Error() string
- func (o *StartDagGenInternalServerError) GetPayload() *models.APIHTTPError
- func (o *StartDagGenInternalServerError) IsClientError() bool
- func (o *StartDagGenInternalServerError) IsCode(code int) bool
- func (o *StartDagGenInternalServerError) IsRedirect() bool
- func (o *StartDagGenInternalServerError) IsServerError() bool
- func (o *StartDagGenInternalServerError) IsSuccess() bool
- func (o *StartDagGenInternalServerError) String() string
- type StartDagGenOK
- func (o *StartDagGenOK) Code() int
- func (o *StartDagGenOK) Error() string
- func (o *StartDagGenOK) GetPayload() *models.ModelJob
- func (o *StartDagGenOK) IsClientError() bool
- func (o *StartDagGenOK) IsCode(code int) bool
- func (o *StartDagGenOK) IsRedirect() bool
- func (o *StartDagGenOK) IsServerError() bool
- func (o *StartDagGenOK) IsSuccess() bool
- func (o *StartDagGenOK) String() string
- type StartDagGenParams
- func (o *StartDagGenParams) SetContext(ctx context.Context)
- func (o *StartDagGenParams) SetDefaults()
- func (o *StartDagGenParams) SetHTTPClient(client *http.Client)
- func (o *StartDagGenParams) SetID(id string)
- func (o *StartDagGenParams) SetName(name string)
- func (o *StartDagGenParams) SetTimeout(timeout time.Duration)
- func (o *StartDagGenParams) WithContext(ctx context.Context) *StartDagGenParams
- func (o *StartDagGenParams) WithDefaults() *StartDagGenParams
- func (o *StartDagGenParams) WithHTTPClient(client *http.Client) *StartDagGenParams
- func (o *StartDagGenParams) WithID(id string) *StartDagGenParams
- func (o *StartDagGenParams) WithName(name string) *StartDagGenParams
- func (o *StartDagGenParams) WithTimeout(timeout time.Duration) *StartDagGenParams
- func (o *StartDagGenParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type StartDagGenReader
- type StartPackBadRequest
- func (o *StartPackBadRequest) Code() int
- func (o *StartPackBadRequest) Error() string
- func (o *StartPackBadRequest) GetPayload() *models.APIHTTPError
- func (o *StartPackBadRequest) IsClientError() bool
- func (o *StartPackBadRequest) IsCode(code int) bool
- func (o *StartPackBadRequest) IsRedirect() bool
- func (o *StartPackBadRequest) IsServerError() bool
- func (o *StartPackBadRequest) IsSuccess() bool
- func (o *StartPackBadRequest) String() string
- type StartPackInternalServerError
- func (o *StartPackInternalServerError) Code() int
- func (o *StartPackInternalServerError) Error() string
- func (o *StartPackInternalServerError) GetPayload() *models.APIHTTPError
- func (o *StartPackInternalServerError) IsClientError() bool
- func (o *StartPackInternalServerError) IsCode(code int) bool
- func (o *StartPackInternalServerError) IsRedirect() bool
- func (o *StartPackInternalServerError) IsServerError() bool
- func (o *StartPackInternalServerError) IsSuccess() bool
- func (o *StartPackInternalServerError) String() string
- type StartPackOK
- func (o *StartPackOK) Code() int
- func (o *StartPackOK) Error() string
- func (o *StartPackOK) GetPayload() []*models.ModelJob
- func (o *StartPackOK) IsClientError() bool
- func (o *StartPackOK) IsCode(code int) bool
- func (o *StartPackOK) IsRedirect() bool
- func (o *StartPackOK) IsServerError() bool
- func (o *StartPackOK) IsSuccess() bool
- func (o *StartPackOK) String() string
- type StartPackParams
- func (o *StartPackParams) SetContext(ctx context.Context)
- func (o *StartPackParams) SetDefaults()
- func (o *StartPackParams) SetHTTPClient(client *http.Client)
- func (o *StartPackParams) SetID(id string)
- func (o *StartPackParams) SetJobID(jobID int64)
- func (o *StartPackParams) SetName(name string)
- func (o *StartPackParams) SetTimeout(timeout time.Duration)
- func (o *StartPackParams) WithContext(ctx context.Context) *StartPackParams
- func (o *StartPackParams) WithDefaults() *StartPackParams
- func (o *StartPackParams) WithHTTPClient(client *http.Client) *StartPackParams
- func (o *StartPackParams) WithID(id string) *StartPackParams
- func (o *StartPackParams) WithJobID(jobID int64) *StartPackParams
- func (o *StartPackParams) WithName(name string) *StartPackParams
- func (o *StartPackParams) WithTimeout(timeout time.Duration) *StartPackParams
- func (o *StartPackParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type StartPackReader
- type StartScanBadRequest
- func (o *StartScanBadRequest) Code() int
- func (o *StartScanBadRequest) Error() string
- func (o *StartScanBadRequest) GetPayload() *models.APIHTTPError
- func (o *StartScanBadRequest) IsClientError() bool
- func (o *StartScanBadRequest) IsCode(code int) bool
- func (o *StartScanBadRequest) IsRedirect() bool
- func (o *StartScanBadRequest) IsServerError() bool
- func (o *StartScanBadRequest) IsSuccess() bool
- func (o *StartScanBadRequest) String() string
- type StartScanInternalServerError
- func (o *StartScanInternalServerError) Code() int
- func (o *StartScanInternalServerError) Error() string
- func (o *StartScanInternalServerError) GetPayload() *models.APIHTTPError
- func (o *StartScanInternalServerError) IsClientError() bool
- func (o *StartScanInternalServerError) IsCode(code int) bool
- func (o *StartScanInternalServerError) IsRedirect() bool
- func (o *StartScanInternalServerError) IsServerError() bool
- func (o *StartScanInternalServerError) IsSuccess() bool
- func (o *StartScanInternalServerError) String() string
- type StartScanOK
- func (o *StartScanOK) Code() int
- func (o *StartScanOK) Error() string
- func (o *StartScanOK) GetPayload() *models.ModelJob
- func (o *StartScanOK) IsClientError() bool
- func (o *StartScanOK) IsCode(code int) bool
- func (o *StartScanOK) IsRedirect() bool
- func (o *StartScanOK) IsServerError() bool
- func (o *StartScanOK) IsSuccess() bool
- func (o *StartScanOK) String() string
- type StartScanParams
- func (o *StartScanParams) SetContext(ctx context.Context)
- func (o *StartScanParams) SetDefaults()
- func (o *StartScanParams) SetHTTPClient(client *http.Client)
- func (o *StartScanParams) SetID(id string)
- func (o *StartScanParams) SetName(name string)
- func (o *StartScanParams) SetTimeout(timeout time.Duration)
- func (o *StartScanParams) WithContext(ctx context.Context) *StartScanParams
- func (o *StartScanParams) WithDefaults() *StartScanParams
- func (o *StartScanParams) WithHTTPClient(client *http.Client) *StartScanParams
- func (o *StartScanParams) WithID(id string) *StartScanParams
- func (o *StartScanParams) WithName(name string) *StartScanParams
- func (o *StartScanParams) WithTimeout(timeout time.Duration) *StartScanParams
- func (o *StartScanParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type StartScanReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for job API
func (*Client) Pack ¶ added in v0.4.1
func (a *Client) Pack(params *PackParams, opts ...ClientOption) (*PackOK, error)
Pack packs a pack job into car files
func (*Client) PauseDagGen ¶ added in v0.4.1
func (a *Client) PauseDagGen(params *PauseDagGenParams, opts ...ClientOption) (*PauseDagGenOK, error)
PauseDagGen pauses an ongoing d a g generation job
func (*Client) PausePack ¶ added in v0.4.1
func (a *Client) PausePack(params *PausePackParams, opts ...ClientOption) (*PausePackOK, error)
PausePack pauses a specific packing job
func (*Client) PauseScan ¶ added in v0.4.1
func (a *Client) PauseScan(params *PauseScanParams, opts ...ClientOption) (*PauseScanOK, error)
PauseScan pauses an ongoing scanning job
func (*Client) PrepareToPackSource ¶ added in v0.4.1
func (a *Client) PrepareToPackSource(params *PrepareToPackSourceParams, opts ...ClientOption) (*PrepareToPackSourceNoContent, error)
PrepareToPackSource prepares to pack a data source
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) StartDagGen ¶ added in v0.4.1
func (a *Client) StartDagGen(params *StartDagGenParams, opts ...ClientOption) (*StartDagGenOK, error)
StartDagGen starts a new d a g generation job
func (*Client) StartPack ¶ added in v0.4.1
func (a *Client) StartPack(params *StartPackParams, opts ...ClientOption) (*StartPackOK, error)
StartPack starts or restart a specific packing job
func (*Client) StartScan ¶ added in v0.4.1
func (a *Client) StartScan(params *StartScanParams, opts ...ClientOption) (*StartScanOK, error)
StartScan starts a new scanning job
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { Pack(params *PackParams, opts ...ClientOption) (*PackOK, error) PauseDagGen(params *PauseDagGenParams, opts ...ClientOption) (*PauseDagGenOK, error) PausePack(params *PausePackParams, opts ...ClientOption) (*PausePackOK, error) PauseScan(params *PauseScanParams, opts ...ClientOption) (*PauseScanOK, error) PrepareToPackSource(params *PrepareToPackSourceParams, opts ...ClientOption) (*PrepareToPackSourceNoContent, error) StartDagGen(params *StartDagGenParams, opts ...ClientOption) (*StartDagGenOK, error) StartPack(params *StartPackParams, opts ...ClientOption) (*StartPackOK, error) StartScan(params *StartScanParams, opts ...ClientOption) (*StartScanOK, 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 job API client.
type PackBadRequest ¶ added in v0.4.1
type PackBadRequest struct {
Payload string
}
PackBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPackBadRequest ¶ added in v0.4.1
func NewPackBadRequest() *PackBadRequest
NewPackBadRequest creates a PackBadRequest with default headers values
func (*PackBadRequest) Code ¶ added in v0.4.1
func (o *PackBadRequest) Code() int
Code gets the status code for the pack bad request response
func (*PackBadRequest) Error ¶ added in v0.4.1
func (o *PackBadRequest) Error() string
func (*PackBadRequest) GetPayload ¶ added in v0.4.1
func (o *PackBadRequest) GetPayload() string
func (*PackBadRequest) IsClientError ¶ added in v0.4.1
func (o *PackBadRequest) IsClientError() bool
IsClientError returns true when this pack bad request response has a 4xx status code
func (*PackBadRequest) IsCode ¶ added in v0.4.1
func (o *PackBadRequest) IsCode(code int) bool
IsCode returns true when this pack bad request response a status code equal to that given
func (*PackBadRequest) IsRedirect ¶ added in v0.4.1
func (o *PackBadRequest) IsRedirect() bool
IsRedirect returns true when this pack bad request response has a 3xx status code
func (*PackBadRequest) IsServerError ¶ added in v0.4.1
func (o *PackBadRequest) IsServerError() bool
IsServerError returns true when this pack bad request response has a 5xx status code
func (*PackBadRequest) IsSuccess ¶ added in v0.4.1
func (o *PackBadRequest) IsSuccess() bool
IsSuccess returns true when this pack bad request response has a 2xx status code
func (*PackBadRequest) String ¶ added in v0.4.1
func (o *PackBadRequest) String() string
type PackInternalServerError ¶ added in v0.4.1
type PackInternalServerError struct {
Payload string
}
PackInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPackInternalServerError ¶ added in v0.4.1
func NewPackInternalServerError() *PackInternalServerError
NewPackInternalServerError creates a PackInternalServerError with default headers values
func (*PackInternalServerError) Code ¶ added in v0.4.1
func (o *PackInternalServerError) Code() int
Code gets the status code for the pack internal server error response
func (*PackInternalServerError) Error ¶ added in v0.4.1
func (o *PackInternalServerError) Error() string
func (*PackInternalServerError) GetPayload ¶ added in v0.4.1
func (o *PackInternalServerError) GetPayload() string
func (*PackInternalServerError) IsClientError ¶ added in v0.4.1
func (o *PackInternalServerError) IsClientError() bool
IsClientError returns true when this pack internal server error response has a 4xx status code
func (*PackInternalServerError) IsCode ¶ added in v0.4.1
func (o *PackInternalServerError) IsCode(code int) bool
IsCode returns true when this pack internal server error response a status code equal to that given
func (*PackInternalServerError) IsRedirect ¶ added in v0.4.1
func (o *PackInternalServerError) IsRedirect() bool
IsRedirect returns true when this pack internal server error response has a 3xx status code
func (*PackInternalServerError) IsServerError ¶ added in v0.4.1
func (o *PackInternalServerError) IsServerError() bool
IsServerError returns true when this pack internal server error response has a 5xx status code
func (*PackInternalServerError) IsSuccess ¶ added in v0.4.1
func (o *PackInternalServerError) IsSuccess() bool
IsSuccess returns true when this pack internal server error response has a 2xx status code
func (*PackInternalServerError) String ¶ added in v0.4.1
func (o *PackInternalServerError) String() string
type PackOK ¶ added in v0.4.1
PackOK describes a response with status code 200, with default header values.
OK
func NewPackOK ¶ added in v0.4.1
func NewPackOK() *PackOK
NewPackOK creates a PackOK with default headers values
func (*PackOK) GetPayload ¶ added in v0.4.1
func (*PackOK) IsClientError ¶ added in v0.4.1
IsClientError returns true when this pack o k response has a 4xx status code
func (*PackOK) IsCode ¶ added in v0.4.1
IsCode returns true when this pack o k response a status code equal to that given
func (*PackOK) IsRedirect ¶ added in v0.4.1
IsRedirect returns true when this pack o k response has a 3xx status code
func (*PackOK) IsServerError ¶ added in v0.4.1
IsServerError returns true when this pack o k response has a 5xx status code
type PackParams ¶ added in v0.4.1
type PackParams struct { /* ID. Pack job ID */ ID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PackParams contains all the parameters to send to the API endpoint
for the pack operation. Typically these are written to a http.Request.
func NewPackParams ¶ added in v0.4.1
func NewPackParams() *PackParams
NewPackParams creates a new PackParams 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 NewPackParamsWithContext ¶ added in v0.4.1
func NewPackParamsWithContext(ctx context.Context) *PackParams
NewPackParamsWithContext creates a new PackParams object with the ability to set a context for a request.
func NewPackParamsWithHTTPClient ¶ added in v0.4.1
func NewPackParamsWithHTTPClient(client *http.Client) *PackParams
NewPackParamsWithHTTPClient creates a new PackParams object with the ability to set a custom HTTPClient for a request.
func NewPackParamsWithTimeout ¶ added in v0.4.1
func NewPackParamsWithTimeout(timeout time.Duration) *PackParams
NewPackParamsWithTimeout creates a new PackParams object with the ability to set a timeout on a request.
func (*PackParams) SetContext ¶ added in v0.4.1
func (o *PackParams) SetContext(ctx context.Context)
SetContext adds the context to the pack params
func (*PackParams) SetDefaults ¶ added in v0.4.1
func (o *PackParams) SetDefaults()
SetDefaults hydrates default values in the pack params (not the query body).
All values with no default are reset to their zero value.
func (*PackParams) SetHTTPClient ¶ added in v0.4.1
func (o *PackParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pack params
func (*PackParams) SetID ¶ added in v0.4.1
func (o *PackParams) SetID(id int64)
SetID adds the id to the pack params
func (*PackParams) SetTimeout ¶ added in v0.4.1
func (o *PackParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pack params
func (*PackParams) WithContext ¶ added in v0.4.1
func (o *PackParams) WithContext(ctx context.Context) *PackParams
WithContext adds the context to the pack params
func (*PackParams) WithDefaults ¶ added in v0.4.1
func (o *PackParams) WithDefaults() *PackParams
WithDefaults hydrates default values in the pack params (not the query body).
All values with no default are reset to their zero value.
func (*PackParams) WithHTTPClient ¶ added in v0.4.1
func (o *PackParams) WithHTTPClient(client *http.Client) *PackParams
WithHTTPClient adds the HTTPClient to the pack params
func (*PackParams) WithID ¶ added in v0.4.1
func (o *PackParams) WithID(id int64) *PackParams
WithID adds the id to the pack params
func (*PackParams) WithTimeout ¶ added in v0.4.1
func (o *PackParams) WithTimeout(timeout time.Duration) *PackParams
WithTimeout adds the timeout to the pack params
func (*PackParams) WriteToRequest ¶ added in v0.4.1
func (o *PackParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PackReader ¶ added in v0.4.1
type PackReader struct {
// contains filtered or unexported fields
}
PackReader is a Reader for the Pack structure.
func (*PackReader) ReadResponse ¶ added in v0.4.1
func (o *PackReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PauseDagGenBadRequest ¶ added in v0.4.1
type PauseDagGenBadRequest struct {
Payload *models.APIHTTPError
}
PauseDagGenBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPauseDagGenBadRequest ¶ added in v0.4.1
func NewPauseDagGenBadRequest() *PauseDagGenBadRequest
NewPauseDagGenBadRequest creates a PauseDagGenBadRequest with default headers values
func (*PauseDagGenBadRequest) Code ¶ added in v0.4.1
func (o *PauseDagGenBadRequest) Code() int
Code gets the status code for the pause dag gen bad request response
func (*PauseDagGenBadRequest) Error ¶ added in v0.4.1
func (o *PauseDagGenBadRequest) Error() string
func (*PauseDagGenBadRequest) GetPayload ¶ added in v0.4.1
func (o *PauseDagGenBadRequest) GetPayload() *models.APIHTTPError
func (*PauseDagGenBadRequest) IsClientError ¶ added in v0.4.1
func (o *PauseDagGenBadRequest) IsClientError() bool
IsClientError returns true when this pause dag gen bad request response has a 4xx status code
func (*PauseDagGenBadRequest) IsCode ¶ added in v0.4.1
func (o *PauseDagGenBadRequest) IsCode(code int) bool
IsCode returns true when this pause dag gen bad request response a status code equal to that given
func (*PauseDagGenBadRequest) IsRedirect ¶ added in v0.4.1
func (o *PauseDagGenBadRequest) IsRedirect() bool
IsRedirect returns true when this pause dag gen bad request response has a 3xx status code
func (*PauseDagGenBadRequest) IsServerError ¶ added in v0.4.1
func (o *PauseDagGenBadRequest) IsServerError() bool
IsServerError returns true when this pause dag gen bad request response has a 5xx status code
func (*PauseDagGenBadRequest) IsSuccess ¶ added in v0.4.1
func (o *PauseDagGenBadRequest) IsSuccess() bool
IsSuccess returns true when this pause dag gen bad request response has a 2xx status code
func (*PauseDagGenBadRequest) String ¶ added in v0.4.1
func (o *PauseDagGenBadRequest) String() string
type PauseDagGenInternalServerError ¶ added in v0.4.1
type PauseDagGenInternalServerError struct {
Payload *models.APIHTTPError
}
PauseDagGenInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPauseDagGenInternalServerError ¶ added in v0.4.1
func NewPauseDagGenInternalServerError() *PauseDagGenInternalServerError
NewPauseDagGenInternalServerError creates a PauseDagGenInternalServerError with default headers values
func (*PauseDagGenInternalServerError) Code ¶ added in v0.4.1
func (o *PauseDagGenInternalServerError) Code() int
Code gets the status code for the pause dag gen internal server error response
func (*PauseDagGenInternalServerError) Error ¶ added in v0.4.1
func (o *PauseDagGenInternalServerError) Error() string
func (*PauseDagGenInternalServerError) GetPayload ¶ added in v0.4.1
func (o *PauseDagGenInternalServerError) GetPayload() *models.APIHTTPError
func (*PauseDagGenInternalServerError) IsClientError ¶ added in v0.4.1
func (o *PauseDagGenInternalServerError) IsClientError() bool
IsClientError returns true when this pause dag gen internal server error response has a 4xx status code
func (*PauseDagGenInternalServerError) IsCode ¶ added in v0.4.1
func (o *PauseDagGenInternalServerError) IsCode(code int) bool
IsCode returns true when this pause dag gen internal server error response a status code equal to that given
func (*PauseDagGenInternalServerError) IsRedirect ¶ added in v0.4.1
func (o *PauseDagGenInternalServerError) IsRedirect() bool
IsRedirect returns true when this pause dag gen internal server error response has a 3xx status code
func (*PauseDagGenInternalServerError) IsServerError ¶ added in v0.4.1
func (o *PauseDagGenInternalServerError) IsServerError() bool
IsServerError returns true when this pause dag gen internal server error response has a 5xx status code
func (*PauseDagGenInternalServerError) IsSuccess ¶ added in v0.4.1
func (o *PauseDagGenInternalServerError) IsSuccess() bool
IsSuccess returns true when this pause dag gen internal server error response has a 2xx status code
func (*PauseDagGenInternalServerError) String ¶ added in v0.4.1
func (o *PauseDagGenInternalServerError) String() string
type PauseDagGenOK ¶ added in v0.4.1
PauseDagGenOK describes a response with status code 200, with default header values.
OK
func NewPauseDagGenOK ¶ added in v0.4.1
func NewPauseDagGenOK() *PauseDagGenOK
NewPauseDagGenOK creates a PauseDagGenOK with default headers values
func (*PauseDagGenOK) Code ¶ added in v0.4.1
func (o *PauseDagGenOK) Code() int
Code gets the status code for the pause dag gen o k response
func (*PauseDagGenOK) Error ¶ added in v0.4.1
func (o *PauseDagGenOK) Error() string
func (*PauseDagGenOK) GetPayload ¶ added in v0.4.1
func (o *PauseDagGenOK) GetPayload() *models.ModelJob
func (*PauseDagGenOK) IsClientError ¶ added in v0.4.1
func (o *PauseDagGenOK) IsClientError() bool
IsClientError returns true when this pause dag gen o k response has a 4xx status code
func (*PauseDagGenOK) IsCode ¶ added in v0.4.1
func (o *PauseDagGenOK) IsCode(code int) bool
IsCode returns true when this pause dag gen o k response a status code equal to that given
func (*PauseDagGenOK) IsRedirect ¶ added in v0.4.1
func (o *PauseDagGenOK) IsRedirect() bool
IsRedirect returns true when this pause dag gen o k response has a 3xx status code
func (*PauseDagGenOK) IsServerError ¶ added in v0.4.1
func (o *PauseDagGenOK) IsServerError() bool
IsServerError returns true when this pause dag gen o k response has a 5xx status code
func (*PauseDagGenOK) IsSuccess ¶ added in v0.4.1
func (o *PauseDagGenOK) IsSuccess() bool
IsSuccess returns true when this pause dag gen o k response has a 2xx status code
func (*PauseDagGenOK) String ¶ added in v0.4.1
func (o *PauseDagGenOK) String() string
type PauseDagGenParams ¶ added in v0.4.1
type PauseDagGenParams struct { /* ID. Preparation ID or name */ ID string /* Name. Storage ID or name */ Name string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PauseDagGenParams contains all the parameters to send to the API endpoint
for the pause dag gen operation. Typically these are written to a http.Request.
func NewPauseDagGenParams ¶ added in v0.4.1
func NewPauseDagGenParams() *PauseDagGenParams
NewPauseDagGenParams creates a new PauseDagGenParams 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 NewPauseDagGenParamsWithContext ¶ added in v0.4.1
func NewPauseDagGenParamsWithContext(ctx context.Context) *PauseDagGenParams
NewPauseDagGenParamsWithContext creates a new PauseDagGenParams object with the ability to set a context for a request.
func NewPauseDagGenParamsWithHTTPClient ¶ added in v0.4.1
func NewPauseDagGenParamsWithHTTPClient(client *http.Client) *PauseDagGenParams
NewPauseDagGenParamsWithHTTPClient creates a new PauseDagGenParams object with the ability to set a custom HTTPClient for a request.
func NewPauseDagGenParamsWithTimeout ¶ added in v0.4.1
func NewPauseDagGenParamsWithTimeout(timeout time.Duration) *PauseDagGenParams
NewPauseDagGenParamsWithTimeout creates a new PauseDagGenParams object with the ability to set a timeout on a request.
func (*PauseDagGenParams) SetContext ¶ added in v0.4.1
func (o *PauseDagGenParams) SetContext(ctx context.Context)
SetContext adds the context to the pause dag gen params
func (*PauseDagGenParams) SetDefaults ¶ added in v0.4.1
func (o *PauseDagGenParams) SetDefaults()
SetDefaults hydrates default values in the pause dag gen params (not the query body).
All values with no default are reset to their zero value.
func (*PauseDagGenParams) SetHTTPClient ¶ added in v0.4.1
func (o *PauseDagGenParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pause dag gen params
func (*PauseDagGenParams) SetID ¶ added in v0.4.1
func (o *PauseDagGenParams) SetID(id string)
SetID adds the id to the pause dag gen params
func (*PauseDagGenParams) SetName ¶ added in v0.4.1
func (o *PauseDagGenParams) SetName(name string)
SetName adds the name to the pause dag gen params
func (*PauseDagGenParams) SetTimeout ¶ added in v0.4.1
func (o *PauseDagGenParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pause dag gen params
func (*PauseDagGenParams) WithContext ¶ added in v0.4.1
func (o *PauseDagGenParams) WithContext(ctx context.Context) *PauseDagGenParams
WithContext adds the context to the pause dag gen params
func (*PauseDagGenParams) WithDefaults ¶ added in v0.4.1
func (o *PauseDagGenParams) WithDefaults() *PauseDagGenParams
WithDefaults hydrates default values in the pause dag gen params (not the query body).
All values with no default are reset to their zero value.
func (*PauseDagGenParams) WithHTTPClient ¶ added in v0.4.1
func (o *PauseDagGenParams) WithHTTPClient(client *http.Client) *PauseDagGenParams
WithHTTPClient adds the HTTPClient to the pause dag gen params
func (*PauseDagGenParams) WithID ¶ added in v0.4.1
func (o *PauseDagGenParams) WithID(id string) *PauseDagGenParams
WithID adds the id to the pause dag gen params
func (*PauseDagGenParams) WithName ¶ added in v0.4.1
func (o *PauseDagGenParams) WithName(name string) *PauseDagGenParams
WithName adds the name to the pause dag gen params
func (*PauseDagGenParams) WithTimeout ¶ added in v0.4.1
func (o *PauseDagGenParams) WithTimeout(timeout time.Duration) *PauseDagGenParams
WithTimeout adds the timeout to the pause dag gen params
func (*PauseDagGenParams) WriteToRequest ¶ added in v0.4.1
func (o *PauseDagGenParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PauseDagGenReader ¶ added in v0.4.1
type PauseDagGenReader struct {
// contains filtered or unexported fields
}
PauseDagGenReader is a Reader for the PauseDagGen structure.
func (*PauseDagGenReader) ReadResponse ¶ added in v0.4.1
func (o *PauseDagGenReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PausePackBadRequest ¶ added in v0.4.1
type PausePackBadRequest struct {
Payload *models.APIHTTPError
}
PausePackBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPausePackBadRequest ¶ added in v0.4.1
func NewPausePackBadRequest() *PausePackBadRequest
NewPausePackBadRequest creates a PausePackBadRequest with default headers values
func (*PausePackBadRequest) Code ¶ added in v0.4.1
func (o *PausePackBadRequest) Code() int
Code gets the status code for the pause pack bad request response
func (*PausePackBadRequest) Error ¶ added in v0.4.1
func (o *PausePackBadRequest) Error() string
func (*PausePackBadRequest) GetPayload ¶ added in v0.4.1
func (o *PausePackBadRequest) GetPayload() *models.APIHTTPError
func (*PausePackBadRequest) IsClientError ¶ added in v0.4.1
func (o *PausePackBadRequest) IsClientError() bool
IsClientError returns true when this pause pack bad request response has a 4xx status code
func (*PausePackBadRequest) IsCode ¶ added in v0.4.1
func (o *PausePackBadRequest) IsCode(code int) bool
IsCode returns true when this pause pack bad request response a status code equal to that given
func (*PausePackBadRequest) IsRedirect ¶ added in v0.4.1
func (o *PausePackBadRequest) IsRedirect() bool
IsRedirect returns true when this pause pack bad request response has a 3xx status code
func (*PausePackBadRequest) IsServerError ¶ added in v0.4.1
func (o *PausePackBadRequest) IsServerError() bool
IsServerError returns true when this pause pack bad request response has a 5xx status code
func (*PausePackBadRequest) IsSuccess ¶ added in v0.4.1
func (o *PausePackBadRequest) IsSuccess() bool
IsSuccess returns true when this pause pack bad request response has a 2xx status code
func (*PausePackBadRequest) String ¶ added in v0.4.1
func (o *PausePackBadRequest) String() string
type PausePackInternalServerError ¶ added in v0.4.1
type PausePackInternalServerError struct {
Payload *models.APIHTTPError
}
PausePackInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPausePackInternalServerError ¶ added in v0.4.1
func NewPausePackInternalServerError() *PausePackInternalServerError
NewPausePackInternalServerError creates a PausePackInternalServerError with default headers values
func (*PausePackInternalServerError) Code ¶ added in v0.4.1
func (o *PausePackInternalServerError) Code() int
Code gets the status code for the pause pack internal server error response
func (*PausePackInternalServerError) Error ¶ added in v0.4.1
func (o *PausePackInternalServerError) Error() string
func (*PausePackInternalServerError) GetPayload ¶ added in v0.4.1
func (o *PausePackInternalServerError) GetPayload() *models.APIHTTPError
func (*PausePackInternalServerError) IsClientError ¶ added in v0.4.1
func (o *PausePackInternalServerError) IsClientError() bool
IsClientError returns true when this pause pack internal server error response has a 4xx status code
func (*PausePackInternalServerError) IsCode ¶ added in v0.4.1
func (o *PausePackInternalServerError) IsCode(code int) bool
IsCode returns true when this pause pack internal server error response a status code equal to that given
func (*PausePackInternalServerError) IsRedirect ¶ added in v0.4.1
func (o *PausePackInternalServerError) IsRedirect() bool
IsRedirect returns true when this pause pack internal server error response has a 3xx status code
func (*PausePackInternalServerError) IsServerError ¶ added in v0.4.1
func (o *PausePackInternalServerError) IsServerError() bool
IsServerError returns true when this pause pack internal server error response has a 5xx status code
func (*PausePackInternalServerError) IsSuccess ¶ added in v0.4.1
func (o *PausePackInternalServerError) IsSuccess() bool
IsSuccess returns true when this pause pack internal server error response has a 2xx status code
func (*PausePackInternalServerError) String ¶ added in v0.4.1
func (o *PausePackInternalServerError) String() string
type PausePackOK ¶ added in v0.4.1
PausePackOK describes a response with status code 200, with default header values.
OK
func NewPausePackOK ¶ added in v0.4.1
func NewPausePackOK() *PausePackOK
NewPausePackOK creates a PausePackOK with default headers values
func (*PausePackOK) Code ¶ added in v0.4.1
func (o *PausePackOK) Code() int
Code gets the status code for the pause pack o k response
func (*PausePackOK) Error ¶ added in v0.4.1
func (o *PausePackOK) Error() string
func (*PausePackOK) GetPayload ¶ added in v0.4.1
func (o *PausePackOK) GetPayload() []*models.ModelJob
func (*PausePackOK) IsClientError ¶ added in v0.4.1
func (o *PausePackOK) IsClientError() bool
IsClientError returns true when this pause pack o k response has a 4xx status code
func (*PausePackOK) IsCode ¶ added in v0.4.1
func (o *PausePackOK) IsCode(code int) bool
IsCode returns true when this pause pack o k response a status code equal to that given
func (*PausePackOK) IsRedirect ¶ added in v0.4.1
func (o *PausePackOK) IsRedirect() bool
IsRedirect returns true when this pause pack o k response has a 3xx status code
func (*PausePackOK) IsServerError ¶ added in v0.4.1
func (o *PausePackOK) IsServerError() bool
IsServerError returns true when this pause pack o k response has a 5xx status code
func (*PausePackOK) IsSuccess ¶ added in v0.4.1
func (o *PausePackOK) IsSuccess() bool
IsSuccess returns true when this pause pack o k response has a 2xx status code
func (*PausePackOK) String ¶ added in v0.4.1
func (o *PausePackOK) String() string
type PausePackParams ¶ added in v0.4.1
type PausePackParams struct { /* ID. Preparation ID or name */ ID string /* JobID. Pack Job ID */ JobID int64 /* Name. Storage ID or name */ Name string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PausePackParams contains all the parameters to send to the API endpoint
for the pause pack operation. Typically these are written to a http.Request.
func NewPausePackParams ¶ added in v0.4.1
func NewPausePackParams() *PausePackParams
NewPausePackParams creates a new PausePackParams 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 NewPausePackParamsWithContext ¶ added in v0.4.1
func NewPausePackParamsWithContext(ctx context.Context) *PausePackParams
NewPausePackParamsWithContext creates a new PausePackParams object with the ability to set a context for a request.
func NewPausePackParamsWithHTTPClient ¶ added in v0.4.1
func NewPausePackParamsWithHTTPClient(client *http.Client) *PausePackParams
NewPausePackParamsWithHTTPClient creates a new PausePackParams object with the ability to set a custom HTTPClient for a request.
func NewPausePackParamsWithTimeout ¶ added in v0.4.1
func NewPausePackParamsWithTimeout(timeout time.Duration) *PausePackParams
NewPausePackParamsWithTimeout creates a new PausePackParams object with the ability to set a timeout on a request.
func (*PausePackParams) SetContext ¶ added in v0.4.1
func (o *PausePackParams) SetContext(ctx context.Context)
SetContext adds the context to the pause pack params
func (*PausePackParams) SetDefaults ¶ added in v0.4.1
func (o *PausePackParams) SetDefaults()
SetDefaults hydrates default values in the pause pack params (not the query body).
All values with no default are reset to their zero value.
func (*PausePackParams) SetHTTPClient ¶ added in v0.4.1
func (o *PausePackParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pause pack params
func (*PausePackParams) SetID ¶ added in v0.4.1
func (o *PausePackParams) SetID(id string)
SetID adds the id to the pause pack params
func (*PausePackParams) SetJobID ¶ added in v0.4.1
func (o *PausePackParams) SetJobID(jobID int64)
SetJobID adds the jobId to the pause pack params
func (*PausePackParams) SetName ¶ added in v0.4.1
func (o *PausePackParams) SetName(name string)
SetName adds the name to the pause pack params
func (*PausePackParams) SetTimeout ¶ added in v0.4.1
func (o *PausePackParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pause pack params
func (*PausePackParams) WithContext ¶ added in v0.4.1
func (o *PausePackParams) WithContext(ctx context.Context) *PausePackParams
WithContext adds the context to the pause pack params
func (*PausePackParams) WithDefaults ¶ added in v0.4.1
func (o *PausePackParams) WithDefaults() *PausePackParams
WithDefaults hydrates default values in the pause pack params (not the query body).
All values with no default are reset to their zero value.
func (*PausePackParams) WithHTTPClient ¶ added in v0.4.1
func (o *PausePackParams) WithHTTPClient(client *http.Client) *PausePackParams
WithHTTPClient adds the HTTPClient to the pause pack params
func (*PausePackParams) WithID ¶ added in v0.4.1
func (o *PausePackParams) WithID(id string) *PausePackParams
WithID adds the id to the pause pack params
func (*PausePackParams) WithJobID ¶ added in v0.4.1
func (o *PausePackParams) WithJobID(jobID int64) *PausePackParams
WithJobID adds the jobID to the pause pack params
func (*PausePackParams) WithName ¶ added in v0.4.1
func (o *PausePackParams) WithName(name string) *PausePackParams
WithName adds the name to the pause pack params
func (*PausePackParams) WithTimeout ¶ added in v0.4.1
func (o *PausePackParams) WithTimeout(timeout time.Duration) *PausePackParams
WithTimeout adds the timeout to the pause pack params
func (*PausePackParams) WriteToRequest ¶ added in v0.4.1
func (o *PausePackParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PausePackReader ¶ added in v0.4.1
type PausePackReader struct {
// contains filtered or unexported fields
}
PausePackReader is a Reader for the PausePack structure.
func (*PausePackReader) ReadResponse ¶ added in v0.4.1
func (o *PausePackReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PauseScanBadRequest ¶ added in v0.4.1
type PauseScanBadRequest struct {
Payload *models.APIHTTPError
}
PauseScanBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPauseScanBadRequest ¶ added in v0.4.1
func NewPauseScanBadRequest() *PauseScanBadRequest
NewPauseScanBadRequest creates a PauseScanBadRequest with default headers values
func (*PauseScanBadRequest) Code ¶ added in v0.4.1
func (o *PauseScanBadRequest) Code() int
Code gets the status code for the pause scan bad request response
func (*PauseScanBadRequest) Error ¶ added in v0.4.1
func (o *PauseScanBadRequest) Error() string
func (*PauseScanBadRequest) GetPayload ¶ added in v0.4.1
func (o *PauseScanBadRequest) GetPayload() *models.APIHTTPError
func (*PauseScanBadRequest) IsClientError ¶ added in v0.4.1
func (o *PauseScanBadRequest) IsClientError() bool
IsClientError returns true when this pause scan bad request response has a 4xx status code
func (*PauseScanBadRequest) IsCode ¶ added in v0.4.1
func (o *PauseScanBadRequest) IsCode(code int) bool
IsCode returns true when this pause scan bad request response a status code equal to that given
func (*PauseScanBadRequest) IsRedirect ¶ added in v0.4.1
func (o *PauseScanBadRequest) IsRedirect() bool
IsRedirect returns true when this pause scan bad request response has a 3xx status code
func (*PauseScanBadRequest) IsServerError ¶ added in v0.4.1
func (o *PauseScanBadRequest) IsServerError() bool
IsServerError returns true when this pause scan bad request response has a 5xx status code
func (*PauseScanBadRequest) IsSuccess ¶ added in v0.4.1
func (o *PauseScanBadRequest) IsSuccess() bool
IsSuccess returns true when this pause scan bad request response has a 2xx status code
func (*PauseScanBadRequest) String ¶ added in v0.4.1
func (o *PauseScanBadRequest) String() string
type PauseScanInternalServerError ¶ added in v0.4.1
type PauseScanInternalServerError struct {
Payload *models.APIHTTPError
}
PauseScanInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPauseScanInternalServerError ¶ added in v0.4.1
func NewPauseScanInternalServerError() *PauseScanInternalServerError
NewPauseScanInternalServerError creates a PauseScanInternalServerError with default headers values
func (*PauseScanInternalServerError) Code ¶ added in v0.4.1
func (o *PauseScanInternalServerError) Code() int
Code gets the status code for the pause scan internal server error response
func (*PauseScanInternalServerError) Error ¶ added in v0.4.1
func (o *PauseScanInternalServerError) Error() string
func (*PauseScanInternalServerError) GetPayload ¶ added in v0.4.1
func (o *PauseScanInternalServerError) GetPayload() *models.APIHTTPError
func (*PauseScanInternalServerError) IsClientError ¶ added in v0.4.1
func (o *PauseScanInternalServerError) IsClientError() bool
IsClientError returns true when this pause scan internal server error response has a 4xx status code
func (*PauseScanInternalServerError) IsCode ¶ added in v0.4.1
func (o *PauseScanInternalServerError) IsCode(code int) bool
IsCode returns true when this pause scan internal server error response a status code equal to that given
func (*PauseScanInternalServerError) IsRedirect ¶ added in v0.4.1
func (o *PauseScanInternalServerError) IsRedirect() bool
IsRedirect returns true when this pause scan internal server error response has a 3xx status code
func (*PauseScanInternalServerError) IsServerError ¶ added in v0.4.1
func (o *PauseScanInternalServerError) IsServerError() bool
IsServerError returns true when this pause scan internal server error response has a 5xx status code
func (*PauseScanInternalServerError) IsSuccess ¶ added in v0.4.1
func (o *PauseScanInternalServerError) IsSuccess() bool
IsSuccess returns true when this pause scan internal server error response has a 2xx status code
func (*PauseScanInternalServerError) String ¶ added in v0.4.1
func (o *PauseScanInternalServerError) String() string
type PauseScanOK ¶ added in v0.4.1
PauseScanOK describes a response with status code 200, with default header values.
OK
func NewPauseScanOK ¶ added in v0.4.1
func NewPauseScanOK() *PauseScanOK
NewPauseScanOK creates a PauseScanOK with default headers values
func (*PauseScanOK) Code ¶ added in v0.4.1
func (o *PauseScanOK) Code() int
Code gets the status code for the pause scan o k response
func (*PauseScanOK) Error ¶ added in v0.4.1
func (o *PauseScanOK) Error() string
func (*PauseScanOK) GetPayload ¶ added in v0.4.1
func (o *PauseScanOK) GetPayload() *models.ModelJob
func (*PauseScanOK) IsClientError ¶ added in v0.4.1
func (o *PauseScanOK) IsClientError() bool
IsClientError returns true when this pause scan o k response has a 4xx status code
func (*PauseScanOK) IsCode ¶ added in v0.4.1
func (o *PauseScanOK) IsCode(code int) bool
IsCode returns true when this pause scan o k response a status code equal to that given
func (*PauseScanOK) IsRedirect ¶ added in v0.4.1
func (o *PauseScanOK) IsRedirect() bool
IsRedirect returns true when this pause scan o k response has a 3xx status code
func (*PauseScanOK) IsServerError ¶ added in v0.4.1
func (o *PauseScanOK) IsServerError() bool
IsServerError returns true when this pause scan o k response has a 5xx status code
func (*PauseScanOK) IsSuccess ¶ added in v0.4.1
func (o *PauseScanOK) IsSuccess() bool
IsSuccess returns true when this pause scan o k response has a 2xx status code
func (*PauseScanOK) String ¶ added in v0.4.1
func (o *PauseScanOK) String() string
type PauseScanParams ¶ added in v0.4.1
type PauseScanParams struct { /* ID. Preparation ID or name */ ID string /* Name. Storage ID or name */ Name string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PauseScanParams contains all the parameters to send to the API endpoint
for the pause scan operation. Typically these are written to a http.Request.
func NewPauseScanParams ¶ added in v0.4.1
func NewPauseScanParams() *PauseScanParams
NewPauseScanParams creates a new PauseScanParams 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 NewPauseScanParamsWithContext ¶ added in v0.4.1
func NewPauseScanParamsWithContext(ctx context.Context) *PauseScanParams
NewPauseScanParamsWithContext creates a new PauseScanParams object with the ability to set a context for a request.
func NewPauseScanParamsWithHTTPClient ¶ added in v0.4.1
func NewPauseScanParamsWithHTTPClient(client *http.Client) *PauseScanParams
NewPauseScanParamsWithHTTPClient creates a new PauseScanParams object with the ability to set a custom HTTPClient for a request.
func NewPauseScanParamsWithTimeout ¶ added in v0.4.1
func NewPauseScanParamsWithTimeout(timeout time.Duration) *PauseScanParams
NewPauseScanParamsWithTimeout creates a new PauseScanParams object with the ability to set a timeout on a request.
func (*PauseScanParams) SetContext ¶ added in v0.4.1
func (o *PauseScanParams) SetContext(ctx context.Context)
SetContext adds the context to the pause scan params
func (*PauseScanParams) SetDefaults ¶ added in v0.4.1
func (o *PauseScanParams) SetDefaults()
SetDefaults hydrates default values in the pause scan params (not the query body).
All values with no default are reset to their zero value.
func (*PauseScanParams) SetHTTPClient ¶ added in v0.4.1
func (o *PauseScanParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pause scan params
func (*PauseScanParams) SetID ¶ added in v0.4.1
func (o *PauseScanParams) SetID(id string)
SetID adds the id to the pause scan params
func (*PauseScanParams) SetName ¶ added in v0.4.1
func (o *PauseScanParams) SetName(name string)
SetName adds the name to the pause scan params
func (*PauseScanParams) SetTimeout ¶ added in v0.4.1
func (o *PauseScanParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pause scan params
func (*PauseScanParams) WithContext ¶ added in v0.4.1
func (o *PauseScanParams) WithContext(ctx context.Context) *PauseScanParams
WithContext adds the context to the pause scan params
func (*PauseScanParams) WithDefaults ¶ added in v0.4.1
func (o *PauseScanParams) WithDefaults() *PauseScanParams
WithDefaults hydrates default values in the pause scan params (not the query body).
All values with no default are reset to their zero value.
func (*PauseScanParams) WithHTTPClient ¶ added in v0.4.1
func (o *PauseScanParams) WithHTTPClient(client *http.Client) *PauseScanParams
WithHTTPClient adds the HTTPClient to the pause scan params
func (*PauseScanParams) WithID ¶ added in v0.4.1
func (o *PauseScanParams) WithID(id string) *PauseScanParams
WithID adds the id to the pause scan params
func (*PauseScanParams) WithName ¶ added in v0.4.1
func (o *PauseScanParams) WithName(name string) *PauseScanParams
WithName adds the name to the pause scan params
func (*PauseScanParams) WithTimeout ¶ added in v0.4.1
func (o *PauseScanParams) WithTimeout(timeout time.Duration) *PauseScanParams
WithTimeout adds the timeout to the pause scan params
func (*PauseScanParams) WriteToRequest ¶ added in v0.4.1
func (o *PauseScanParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PauseScanReader ¶ added in v0.4.1
type PauseScanReader struct {
// contains filtered or unexported fields
}
PauseScanReader is a Reader for the PauseScan structure.
func (*PauseScanReader) ReadResponse ¶ added in v0.4.1
func (o *PauseScanReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PrepareToPackSourceBadRequest ¶ added in v0.4.1
type PrepareToPackSourceBadRequest struct {
Payload string
}
PrepareToPackSourceBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPrepareToPackSourceBadRequest ¶ added in v0.4.1
func NewPrepareToPackSourceBadRequest() *PrepareToPackSourceBadRequest
NewPrepareToPackSourceBadRequest creates a PrepareToPackSourceBadRequest with default headers values
func (*PrepareToPackSourceBadRequest) Code ¶ added in v0.4.1
func (o *PrepareToPackSourceBadRequest) Code() int
Code gets the status code for the prepare to pack source bad request response
func (*PrepareToPackSourceBadRequest) Error ¶ added in v0.4.1
func (o *PrepareToPackSourceBadRequest) Error() string
func (*PrepareToPackSourceBadRequest) GetPayload ¶ added in v0.4.1
func (o *PrepareToPackSourceBadRequest) GetPayload() string
func (*PrepareToPackSourceBadRequest) IsClientError ¶ added in v0.4.1
func (o *PrepareToPackSourceBadRequest) IsClientError() bool
IsClientError returns true when this prepare to pack source bad request response has a 4xx status code
func (*PrepareToPackSourceBadRequest) IsCode ¶ added in v0.4.1
func (o *PrepareToPackSourceBadRequest) IsCode(code int) bool
IsCode returns true when this prepare to pack source bad request response a status code equal to that given
func (*PrepareToPackSourceBadRequest) IsRedirect ¶ added in v0.4.1
func (o *PrepareToPackSourceBadRequest) IsRedirect() bool
IsRedirect returns true when this prepare to pack source bad request response has a 3xx status code
func (*PrepareToPackSourceBadRequest) IsServerError ¶ added in v0.4.1
func (o *PrepareToPackSourceBadRequest) IsServerError() bool
IsServerError returns true when this prepare to pack source bad request response has a 5xx status code
func (*PrepareToPackSourceBadRequest) IsSuccess ¶ added in v0.4.1
func (o *PrepareToPackSourceBadRequest) IsSuccess() bool
IsSuccess returns true when this prepare to pack source bad request response has a 2xx status code
func (*PrepareToPackSourceBadRequest) String ¶ added in v0.4.1
func (o *PrepareToPackSourceBadRequest) String() string
type PrepareToPackSourceInternalServerError ¶ added in v0.4.1
type PrepareToPackSourceInternalServerError struct {
Payload string
}
PrepareToPackSourceInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPrepareToPackSourceInternalServerError ¶ added in v0.4.1
func NewPrepareToPackSourceInternalServerError() *PrepareToPackSourceInternalServerError
NewPrepareToPackSourceInternalServerError creates a PrepareToPackSourceInternalServerError with default headers values
func (*PrepareToPackSourceInternalServerError) Code ¶ added in v0.4.1
func (o *PrepareToPackSourceInternalServerError) Code() int
Code gets the status code for the prepare to pack source internal server error response
func (*PrepareToPackSourceInternalServerError) Error ¶ added in v0.4.1
func (o *PrepareToPackSourceInternalServerError) Error() string
func (*PrepareToPackSourceInternalServerError) GetPayload ¶ added in v0.4.1
func (o *PrepareToPackSourceInternalServerError) GetPayload() string
func (*PrepareToPackSourceInternalServerError) IsClientError ¶ added in v0.4.1
func (o *PrepareToPackSourceInternalServerError) IsClientError() bool
IsClientError returns true when this prepare to pack source internal server error response has a 4xx status code
func (*PrepareToPackSourceInternalServerError) IsCode ¶ added in v0.4.1
func (o *PrepareToPackSourceInternalServerError) IsCode(code int) bool
IsCode returns true when this prepare to pack source internal server error response a status code equal to that given
func (*PrepareToPackSourceInternalServerError) IsRedirect ¶ added in v0.4.1
func (o *PrepareToPackSourceInternalServerError) IsRedirect() bool
IsRedirect returns true when this prepare to pack source internal server error response has a 3xx status code
func (*PrepareToPackSourceInternalServerError) IsServerError ¶ added in v0.4.1
func (o *PrepareToPackSourceInternalServerError) IsServerError() bool
IsServerError returns true when this prepare to pack source internal server error response has a 5xx status code
func (*PrepareToPackSourceInternalServerError) IsSuccess ¶ added in v0.4.1
func (o *PrepareToPackSourceInternalServerError) IsSuccess() bool
IsSuccess returns true when this prepare to pack source internal server error response has a 2xx status code
func (*PrepareToPackSourceInternalServerError) String ¶ added in v0.4.1
func (o *PrepareToPackSourceInternalServerError) String() string
type PrepareToPackSourceNoContent ¶ added in v0.5.0
type PrepareToPackSourceNoContent struct { }
PrepareToPackSourceNoContent describes a response with status code 204, with default header values.
No Content
func NewPrepareToPackSourceNoContent ¶ added in v0.5.0
func NewPrepareToPackSourceNoContent() *PrepareToPackSourceNoContent
NewPrepareToPackSourceNoContent creates a PrepareToPackSourceNoContent with default headers values
func (*PrepareToPackSourceNoContent) Code ¶ added in v0.5.0
func (o *PrepareToPackSourceNoContent) Code() int
Code gets the status code for the prepare to pack source no content response
func (*PrepareToPackSourceNoContent) Error ¶ added in v0.5.0
func (o *PrepareToPackSourceNoContent) Error() string
func (*PrepareToPackSourceNoContent) IsClientError ¶ added in v0.5.0
func (o *PrepareToPackSourceNoContent) IsClientError() bool
IsClientError returns true when this prepare to pack source no content response has a 4xx status code
func (*PrepareToPackSourceNoContent) IsCode ¶ added in v0.5.0
func (o *PrepareToPackSourceNoContent) IsCode(code int) bool
IsCode returns true when this prepare to pack source no content response a status code equal to that given
func (*PrepareToPackSourceNoContent) IsRedirect ¶ added in v0.5.0
func (o *PrepareToPackSourceNoContent) IsRedirect() bool
IsRedirect returns true when this prepare to pack source no content response has a 3xx status code
func (*PrepareToPackSourceNoContent) IsServerError ¶ added in v0.5.0
func (o *PrepareToPackSourceNoContent) IsServerError() bool
IsServerError returns true when this prepare to pack source no content response has a 5xx status code
func (*PrepareToPackSourceNoContent) IsSuccess ¶ added in v0.5.0
func (o *PrepareToPackSourceNoContent) IsSuccess() bool
IsSuccess returns true when this prepare to pack source no content response has a 2xx status code
func (*PrepareToPackSourceNoContent) String ¶ added in v0.5.0
func (o *PrepareToPackSourceNoContent) String() string
type PrepareToPackSourceParams ¶ added in v0.4.1
type PrepareToPackSourceParams struct { /* ID. Preparation ID or name */ ID string /* Name. Storage ID or name */ Name string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PrepareToPackSourceParams contains all the parameters to send to the API endpoint
for the prepare to pack source operation. Typically these are written to a http.Request.
func NewPrepareToPackSourceParams ¶ added in v0.4.1
func NewPrepareToPackSourceParams() *PrepareToPackSourceParams
NewPrepareToPackSourceParams creates a new PrepareToPackSourceParams 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 NewPrepareToPackSourceParamsWithContext ¶ added in v0.4.1
func NewPrepareToPackSourceParamsWithContext(ctx context.Context) *PrepareToPackSourceParams
NewPrepareToPackSourceParamsWithContext creates a new PrepareToPackSourceParams object with the ability to set a context for a request.
func NewPrepareToPackSourceParamsWithHTTPClient ¶ added in v0.4.1
func NewPrepareToPackSourceParamsWithHTTPClient(client *http.Client) *PrepareToPackSourceParams
NewPrepareToPackSourceParamsWithHTTPClient creates a new PrepareToPackSourceParams object with the ability to set a custom HTTPClient for a request.
func NewPrepareToPackSourceParamsWithTimeout ¶ added in v0.4.1
func NewPrepareToPackSourceParamsWithTimeout(timeout time.Duration) *PrepareToPackSourceParams
NewPrepareToPackSourceParamsWithTimeout creates a new PrepareToPackSourceParams object with the ability to set a timeout on a request.
func (*PrepareToPackSourceParams) SetContext ¶ added in v0.4.1
func (o *PrepareToPackSourceParams) SetContext(ctx context.Context)
SetContext adds the context to the prepare to pack source params
func (*PrepareToPackSourceParams) SetDefaults ¶ added in v0.4.1
func (o *PrepareToPackSourceParams) SetDefaults()
SetDefaults hydrates default values in the prepare to pack source params (not the query body).
All values with no default are reset to their zero value.
func (*PrepareToPackSourceParams) SetHTTPClient ¶ added in v0.4.1
func (o *PrepareToPackSourceParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the prepare to pack source params
func (*PrepareToPackSourceParams) SetID ¶ added in v0.4.1
func (o *PrepareToPackSourceParams) SetID(id string)
SetID adds the id to the prepare to pack source params
func (*PrepareToPackSourceParams) SetName ¶ added in v0.4.1
func (o *PrepareToPackSourceParams) SetName(name string)
SetName adds the name to the prepare to pack source params
func (*PrepareToPackSourceParams) SetTimeout ¶ added in v0.4.1
func (o *PrepareToPackSourceParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the prepare to pack source params
func (*PrepareToPackSourceParams) WithContext ¶ added in v0.4.1
func (o *PrepareToPackSourceParams) WithContext(ctx context.Context) *PrepareToPackSourceParams
WithContext adds the context to the prepare to pack source params
func (*PrepareToPackSourceParams) WithDefaults ¶ added in v0.4.1
func (o *PrepareToPackSourceParams) WithDefaults() *PrepareToPackSourceParams
WithDefaults hydrates default values in the prepare to pack source params (not the query body).
All values with no default are reset to their zero value.
func (*PrepareToPackSourceParams) WithHTTPClient ¶ added in v0.4.1
func (o *PrepareToPackSourceParams) WithHTTPClient(client *http.Client) *PrepareToPackSourceParams
WithHTTPClient adds the HTTPClient to the prepare to pack source params
func (*PrepareToPackSourceParams) WithID ¶ added in v0.4.1
func (o *PrepareToPackSourceParams) WithID(id string) *PrepareToPackSourceParams
WithID adds the id to the prepare to pack source params
func (*PrepareToPackSourceParams) WithName ¶ added in v0.4.1
func (o *PrepareToPackSourceParams) WithName(name string) *PrepareToPackSourceParams
WithName adds the name to the prepare to pack source params
func (*PrepareToPackSourceParams) WithTimeout ¶ added in v0.4.1
func (o *PrepareToPackSourceParams) WithTimeout(timeout time.Duration) *PrepareToPackSourceParams
WithTimeout adds the timeout to the prepare to pack source params
func (*PrepareToPackSourceParams) WriteToRequest ¶ added in v0.4.1
func (o *PrepareToPackSourceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PrepareToPackSourceReader ¶ added in v0.4.1
type PrepareToPackSourceReader struct {
// contains filtered or unexported fields
}
PrepareToPackSourceReader is a Reader for the PrepareToPackSource structure.
func (*PrepareToPackSourceReader) ReadResponse ¶ added in v0.4.1
func (o *PrepareToPackSourceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type StartDagGenBadRequest ¶ added in v0.4.1
type StartDagGenBadRequest struct {
Payload *models.APIHTTPError
}
StartDagGenBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewStartDagGenBadRequest ¶ added in v0.4.1
func NewStartDagGenBadRequest() *StartDagGenBadRequest
NewStartDagGenBadRequest creates a StartDagGenBadRequest with default headers values
func (*StartDagGenBadRequest) Code ¶ added in v0.4.1
func (o *StartDagGenBadRequest) Code() int
Code gets the status code for the start dag gen bad request response
func (*StartDagGenBadRequest) Error ¶ added in v0.4.1
func (o *StartDagGenBadRequest) Error() string
func (*StartDagGenBadRequest) GetPayload ¶ added in v0.4.1
func (o *StartDagGenBadRequest) GetPayload() *models.APIHTTPError
func (*StartDagGenBadRequest) IsClientError ¶ added in v0.4.1
func (o *StartDagGenBadRequest) IsClientError() bool
IsClientError returns true when this start dag gen bad request response has a 4xx status code
func (*StartDagGenBadRequest) IsCode ¶ added in v0.4.1
func (o *StartDagGenBadRequest) IsCode(code int) bool
IsCode returns true when this start dag gen bad request response a status code equal to that given
func (*StartDagGenBadRequest) IsRedirect ¶ added in v0.4.1
func (o *StartDagGenBadRequest) IsRedirect() bool
IsRedirect returns true when this start dag gen bad request response has a 3xx status code
func (*StartDagGenBadRequest) IsServerError ¶ added in v0.4.1
func (o *StartDagGenBadRequest) IsServerError() bool
IsServerError returns true when this start dag gen bad request response has a 5xx status code
func (*StartDagGenBadRequest) IsSuccess ¶ added in v0.4.1
func (o *StartDagGenBadRequest) IsSuccess() bool
IsSuccess returns true when this start dag gen bad request response has a 2xx status code
func (*StartDagGenBadRequest) String ¶ added in v0.4.1
func (o *StartDagGenBadRequest) String() string
type StartDagGenInternalServerError ¶ added in v0.4.1
type StartDagGenInternalServerError struct {
Payload *models.APIHTTPError
}
StartDagGenInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewStartDagGenInternalServerError ¶ added in v0.4.1
func NewStartDagGenInternalServerError() *StartDagGenInternalServerError
NewStartDagGenInternalServerError creates a StartDagGenInternalServerError with default headers values
func (*StartDagGenInternalServerError) Code ¶ added in v0.4.1
func (o *StartDagGenInternalServerError) Code() int
Code gets the status code for the start dag gen internal server error response
func (*StartDagGenInternalServerError) Error ¶ added in v0.4.1
func (o *StartDagGenInternalServerError) Error() string
func (*StartDagGenInternalServerError) GetPayload ¶ added in v0.4.1
func (o *StartDagGenInternalServerError) GetPayload() *models.APIHTTPError
func (*StartDagGenInternalServerError) IsClientError ¶ added in v0.4.1
func (o *StartDagGenInternalServerError) IsClientError() bool
IsClientError returns true when this start dag gen internal server error response has a 4xx status code
func (*StartDagGenInternalServerError) IsCode ¶ added in v0.4.1
func (o *StartDagGenInternalServerError) IsCode(code int) bool
IsCode returns true when this start dag gen internal server error response a status code equal to that given
func (*StartDagGenInternalServerError) IsRedirect ¶ added in v0.4.1
func (o *StartDagGenInternalServerError) IsRedirect() bool
IsRedirect returns true when this start dag gen internal server error response has a 3xx status code
func (*StartDagGenInternalServerError) IsServerError ¶ added in v0.4.1
func (o *StartDagGenInternalServerError) IsServerError() bool
IsServerError returns true when this start dag gen internal server error response has a 5xx status code
func (*StartDagGenInternalServerError) IsSuccess ¶ added in v0.4.1
func (o *StartDagGenInternalServerError) IsSuccess() bool
IsSuccess returns true when this start dag gen internal server error response has a 2xx status code
func (*StartDagGenInternalServerError) String ¶ added in v0.4.1
func (o *StartDagGenInternalServerError) String() string
type StartDagGenOK ¶ added in v0.4.1
StartDagGenOK describes a response with status code 200, with default header values.
OK
func NewStartDagGenOK ¶ added in v0.4.1
func NewStartDagGenOK() *StartDagGenOK
NewStartDagGenOK creates a StartDagGenOK with default headers values
func (*StartDagGenOK) Code ¶ added in v0.4.1
func (o *StartDagGenOK) Code() int
Code gets the status code for the start dag gen o k response
func (*StartDagGenOK) Error ¶ added in v0.4.1
func (o *StartDagGenOK) Error() string
func (*StartDagGenOK) GetPayload ¶ added in v0.4.1
func (o *StartDagGenOK) GetPayload() *models.ModelJob
func (*StartDagGenOK) IsClientError ¶ added in v0.4.1
func (o *StartDagGenOK) IsClientError() bool
IsClientError returns true when this start dag gen o k response has a 4xx status code
func (*StartDagGenOK) IsCode ¶ added in v0.4.1
func (o *StartDagGenOK) IsCode(code int) bool
IsCode returns true when this start dag gen o k response a status code equal to that given
func (*StartDagGenOK) IsRedirect ¶ added in v0.4.1
func (o *StartDagGenOK) IsRedirect() bool
IsRedirect returns true when this start dag gen o k response has a 3xx status code
func (*StartDagGenOK) IsServerError ¶ added in v0.4.1
func (o *StartDagGenOK) IsServerError() bool
IsServerError returns true when this start dag gen o k response has a 5xx status code
func (*StartDagGenOK) IsSuccess ¶ added in v0.4.1
func (o *StartDagGenOK) IsSuccess() bool
IsSuccess returns true when this start dag gen o k response has a 2xx status code
func (*StartDagGenOK) String ¶ added in v0.4.1
func (o *StartDagGenOK) String() string
type StartDagGenParams ¶ added in v0.4.1
type StartDagGenParams struct { /* ID. Preparation ID or name */ ID string /* Name. Storage ID or name */ Name string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
StartDagGenParams contains all the parameters to send to the API endpoint
for the start dag gen operation. Typically these are written to a http.Request.
func NewStartDagGenParams ¶ added in v0.4.1
func NewStartDagGenParams() *StartDagGenParams
NewStartDagGenParams creates a new StartDagGenParams 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 NewStartDagGenParamsWithContext ¶ added in v0.4.1
func NewStartDagGenParamsWithContext(ctx context.Context) *StartDagGenParams
NewStartDagGenParamsWithContext creates a new StartDagGenParams object with the ability to set a context for a request.
func NewStartDagGenParamsWithHTTPClient ¶ added in v0.4.1
func NewStartDagGenParamsWithHTTPClient(client *http.Client) *StartDagGenParams
NewStartDagGenParamsWithHTTPClient creates a new StartDagGenParams object with the ability to set a custom HTTPClient for a request.
func NewStartDagGenParamsWithTimeout ¶ added in v0.4.1
func NewStartDagGenParamsWithTimeout(timeout time.Duration) *StartDagGenParams
NewStartDagGenParamsWithTimeout creates a new StartDagGenParams object with the ability to set a timeout on a request.
func (*StartDagGenParams) SetContext ¶ added in v0.4.1
func (o *StartDagGenParams) SetContext(ctx context.Context)
SetContext adds the context to the start dag gen params
func (*StartDagGenParams) SetDefaults ¶ added in v0.4.1
func (o *StartDagGenParams) SetDefaults()
SetDefaults hydrates default values in the start dag gen params (not the query body).
All values with no default are reset to their zero value.
func (*StartDagGenParams) SetHTTPClient ¶ added in v0.4.1
func (o *StartDagGenParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the start dag gen params
func (*StartDagGenParams) SetID ¶ added in v0.4.1
func (o *StartDagGenParams) SetID(id string)
SetID adds the id to the start dag gen params
func (*StartDagGenParams) SetName ¶ added in v0.4.1
func (o *StartDagGenParams) SetName(name string)
SetName adds the name to the start dag gen params
func (*StartDagGenParams) SetTimeout ¶ added in v0.4.1
func (o *StartDagGenParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the start dag gen params
func (*StartDagGenParams) WithContext ¶ added in v0.4.1
func (o *StartDagGenParams) WithContext(ctx context.Context) *StartDagGenParams
WithContext adds the context to the start dag gen params
func (*StartDagGenParams) WithDefaults ¶ added in v0.4.1
func (o *StartDagGenParams) WithDefaults() *StartDagGenParams
WithDefaults hydrates default values in the start dag gen params (not the query body).
All values with no default are reset to their zero value.
func (*StartDagGenParams) WithHTTPClient ¶ added in v0.4.1
func (o *StartDagGenParams) WithHTTPClient(client *http.Client) *StartDagGenParams
WithHTTPClient adds the HTTPClient to the start dag gen params
func (*StartDagGenParams) WithID ¶ added in v0.4.1
func (o *StartDagGenParams) WithID(id string) *StartDagGenParams
WithID adds the id to the start dag gen params
func (*StartDagGenParams) WithName ¶ added in v0.4.1
func (o *StartDagGenParams) WithName(name string) *StartDagGenParams
WithName adds the name to the start dag gen params
func (*StartDagGenParams) WithTimeout ¶ added in v0.4.1
func (o *StartDagGenParams) WithTimeout(timeout time.Duration) *StartDagGenParams
WithTimeout adds the timeout to the start dag gen params
func (*StartDagGenParams) WriteToRequest ¶ added in v0.4.1
func (o *StartDagGenParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type StartDagGenReader ¶ added in v0.4.1
type StartDagGenReader struct {
// contains filtered or unexported fields
}
StartDagGenReader is a Reader for the StartDagGen structure.
func (*StartDagGenReader) ReadResponse ¶ added in v0.4.1
func (o *StartDagGenReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type StartPackBadRequest ¶ added in v0.4.1
type StartPackBadRequest struct {
Payload *models.APIHTTPError
}
StartPackBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewStartPackBadRequest ¶ added in v0.4.1
func NewStartPackBadRequest() *StartPackBadRequest
NewStartPackBadRequest creates a StartPackBadRequest with default headers values
func (*StartPackBadRequest) Code ¶ added in v0.4.1
func (o *StartPackBadRequest) Code() int
Code gets the status code for the start pack bad request response
func (*StartPackBadRequest) Error ¶ added in v0.4.1
func (o *StartPackBadRequest) Error() string
func (*StartPackBadRequest) GetPayload ¶ added in v0.4.1
func (o *StartPackBadRequest) GetPayload() *models.APIHTTPError
func (*StartPackBadRequest) IsClientError ¶ added in v0.4.1
func (o *StartPackBadRequest) IsClientError() bool
IsClientError returns true when this start pack bad request response has a 4xx status code
func (*StartPackBadRequest) IsCode ¶ added in v0.4.1
func (o *StartPackBadRequest) IsCode(code int) bool
IsCode returns true when this start pack bad request response a status code equal to that given
func (*StartPackBadRequest) IsRedirect ¶ added in v0.4.1
func (o *StartPackBadRequest) IsRedirect() bool
IsRedirect returns true when this start pack bad request response has a 3xx status code
func (*StartPackBadRequest) IsServerError ¶ added in v0.4.1
func (o *StartPackBadRequest) IsServerError() bool
IsServerError returns true when this start pack bad request response has a 5xx status code
func (*StartPackBadRequest) IsSuccess ¶ added in v0.4.1
func (o *StartPackBadRequest) IsSuccess() bool
IsSuccess returns true when this start pack bad request response has a 2xx status code
func (*StartPackBadRequest) String ¶ added in v0.4.1
func (o *StartPackBadRequest) String() string
type StartPackInternalServerError ¶ added in v0.4.1
type StartPackInternalServerError struct {
Payload *models.APIHTTPError
}
StartPackInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewStartPackInternalServerError ¶ added in v0.4.1
func NewStartPackInternalServerError() *StartPackInternalServerError
NewStartPackInternalServerError creates a StartPackInternalServerError with default headers values
func (*StartPackInternalServerError) Code ¶ added in v0.4.1
func (o *StartPackInternalServerError) Code() int
Code gets the status code for the start pack internal server error response
func (*StartPackInternalServerError) Error ¶ added in v0.4.1
func (o *StartPackInternalServerError) Error() string
func (*StartPackInternalServerError) GetPayload ¶ added in v0.4.1
func (o *StartPackInternalServerError) GetPayload() *models.APIHTTPError
func (*StartPackInternalServerError) IsClientError ¶ added in v0.4.1
func (o *StartPackInternalServerError) IsClientError() bool
IsClientError returns true when this start pack internal server error response has a 4xx status code
func (*StartPackInternalServerError) IsCode ¶ added in v0.4.1
func (o *StartPackInternalServerError) IsCode(code int) bool
IsCode returns true when this start pack internal server error response a status code equal to that given
func (*StartPackInternalServerError) IsRedirect ¶ added in v0.4.1
func (o *StartPackInternalServerError) IsRedirect() bool
IsRedirect returns true when this start pack internal server error response has a 3xx status code
func (*StartPackInternalServerError) IsServerError ¶ added in v0.4.1
func (o *StartPackInternalServerError) IsServerError() bool
IsServerError returns true when this start pack internal server error response has a 5xx status code
func (*StartPackInternalServerError) IsSuccess ¶ added in v0.4.1
func (o *StartPackInternalServerError) IsSuccess() bool
IsSuccess returns true when this start pack internal server error response has a 2xx status code
func (*StartPackInternalServerError) String ¶ added in v0.4.1
func (o *StartPackInternalServerError) String() string
type StartPackOK ¶ added in v0.4.1
StartPackOK describes a response with status code 200, with default header values.
OK
func NewStartPackOK ¶ added in v0.4.1
func NewStartPackOK() *StartPackOK
NewStartPackOK creates a StartPackOK with default headers values
func (*StartPackOK) Code ¶ added in v0.4.1
func (o *StartPackOK) Code() int
Code gets the status code for the start pack o k response
func (*StartPackOK) Error ¶ added in v0.4.1
func (o *StartPackOK) Error() string
func (*StartPackOK) GetPayload ¶ added in v0.4.1
func (o *StartPackOK) GetPayload() []*models.ModelJob
func (*StartPackOK) IsClientError ¶ added in v0.4.1
func (o *StartPackOK) IsClientError() bool
IsClientError returns true when this start pack o k response has a 4xx status code
func (*StartPackOK) IsCode ¶ added in v0.4.1
func (o *StartPackOK) IsCode(code int) bool
IsCode returns true when this start pack o k response a status code equal to that given
func (*StartPackOK) IsRedirect ¶ added in v0.4.1
func (o *StartPackOK) IsRedirect() bool
IsRedirect returns true when this start pack o k response has a 3xx status code
func (*StartPackOK) IsServerError ¶ added in v0.4.1
func (o *StartPackOK) IsServerError() bool
IsServerError returns true when this start pack o k response has a 5xx status code
func (*StartPackOK) IsSuccess ¶ added in v0.4.1
func (o *StartPackOK) IsSuccess() bool
IsSuccess returns true when this start pack o k response has a 2xx status code
func (*StartPackOK) String ¶ added in v0.4.1
func (o *StartPackOK) String() string
type StartPackParams ¶ added in v0.4.1
type StartPackParams struct { /* ID. Preparation ID or name */ ID string /* JobID. Pack Job ID */ JobID int64 /* Name. Storage ID or name */ Name string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
StartPackParams contains all the parameters to send to the API endpoint
for the start pack operation. Typically these are written to a http.Request.
func NewStartPackParams ¶ added in v0.4.1
func NewStartPackParams() *StartPackParams
NewStartPackParams creates a new StartPackParams 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 NewStartPackParamsWithContext ¶ added in v0.4.1
func NewStartPackParamsWithContext(ctx context.Context) *StartPackParams
NewStartPackParamsWithContext creates a new StartPackParams object with the ability to set a context for a request.
func NewStartPackParamsWithHTTPClient ¶ added in v0.4.1
func NewStartPackParamsWithHTTPClient(client *http.Client) *StartPackParams
NewStartPackParamsWithHTTPClient creates a new StartPackParams object with the ability to set a custom HTTPClient for a request.
func NewStartPackParamsWithTimeout ¶ added in v0.4.1
func NewStartPackParamsWithTimeout(timeout time.Duration) *StartPackParams
NewStartPackParamsWithTimeout creates a new StartPackParams object with the ability to set a timeout on a request.
func (*StartPackParams) SetContext ¶ added in v0.4.1
func (o *StartPackParams) SetContext(ctx context.Context)
SetContext adds the context to the start pack params
func (*StartPackParams) SetDefaults ¶ added in v0.4.1
func (o *StartPackParams) SetDefaults()
SetDefaults hydrates default values in the start pack params (not the query body).
All values with no default are reset to their zero value.
func (*StartPackParams) SetHTTPClient ¶ added in v0.4.1
func (o *StartPackParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the start pack params
func (*StartPackParams) SetID ¶ added in v0.4.1
func (o *StartPackParams) SetID(id string)
SetID adds the id to the start pack params
func (*StartPackParams) SetJobID ¶ added in v0.4.1
func (o *StartPackParams) SetJobID(jobID int64)
SetJobID adds the jobId to the start pack params
func (*StartPackParams) SetName ¶ added in v0.4.1
func (o *StartPackParams) SetName(name string)
SetName adds the name to the start pack params
func (*StartPackParams) SetTimeout ¶ added in v0.4.1
func (o *StartPackParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the start pack params
func (*StartPackParams) WithContext ¶ added in v0.4.1
func (o *StartPackParams) WithContext(ctx context.Context) *StartPackParams
WithContext adds the context to the start pack params
func (*StartPackParams) WithDefaults ¶ added in v0.4.1
func (o *StartPackParams) WithDefaults() *StartPackParams
WithDefaults hydrates default values in the start pack params (not the query body).
All values with no default are reset to their zero value.
func (*StartPackParams) WithHTTPClient ¶ added in v0.4.1
func (o *StartPackParams) WithHTTPClient(client *http.Client) *StartPackParams
WithHTTPClient adds the HTTPClient to the start pack params
func (*StartPackParams) WithID ¶ added in v0.4.1
func (o *StartPackParams) WithID(id string) *StartPackParams
WithID adds the id to the start pack params
func (*StartPackParams) WithJobID ¶ added in v0.4.1
func (o *StartPackParams) WithJobID(jobID int64) *StartPackParams
WithJobID adds the jobID to the start pack params
func (*StartPackParams) WithName ¶ added in v0.4.1
func (o *StartPackParams) WithName(name string) *StartPackParams
WithName adds the name to the start pack params
func (*StartPackParams) WithTimeout ¶ added in v0.4.1
func (o *StartPackParams) WithTimeout(timeout time.Duration) *StartPackParams
WithTimeout adds the timeout to the start pack params
func (*StartPackParams) WriteToRequest ¶ added in v0.4.1
func (o *StartPackParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type StartPackReader ¶ added in v0.4.1
type StartPackReader struct {
// contains filtered or unexported fields
}
StartPackReader is a Reader for the StartPack structure.
func (*StartPackReader) ReadResponse ¶ added in v0.4.1
func (o *StartPackReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type StartScanBadRequest ¶ added in v0.4.1
type StartScanBadRequest struct {
Payload *models.APIHTTPError
}
StartScanBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewStartScanBadRequest ¶ added in v0.4.1
func NewStartScanBadRequest() *StartScanBadRequest
NewStartScanBadRequest creates a StartScanBadRequest with default headers values
func (*StartScanBadRequest) Code ¶ added in v0.4.1
func (o *StartScanBadRequest) Code() int
Code gets the status code for the start scan bad request response
func (*StartScanBadRequest) Error ¶ added in v0.4.1
func (o *StartScanBadRequest) Error() string
func (*StartScanBadRequest) GetPayload ¶ added in v0.4.1
func (o *StartScanBadRequest) GetPayload() *models.APIHTTPError
func (*StartScanBadRequest) IsClientError ¶ added in v0.4.1
func (o *StartScanBadRequest) IsClientError() bool
IsClientError returns true when this start scan bad request response has a 4xx status code
func (*StartScanBadRequest) IsCode ¶ added in v0.4.1
func (o *StartScanBadRequest) IsCode(code int) bool
IsCode returns true when this start scan bad request response a status code equal to that given
func (*StartScanBadRequest) IsRedirect ¶ added in v0.4.1
func (o *StartScanBadRequest) IsRedirect() bool
IsRedirect returns true when this start scan bad request response has a 3xx status code
func (*StartScanBadRequest) IsServerError ¶ added in v0.4.1
func (o *StartScanBadRequest) IsServerError() bool
IsServerError returns true when this start scan bad request response has a 5xx status code
func (*StartScanBadRequest) IsSuccess ¶ added in v0.4.1
func (o *StartScanBadRequest) IsSuccess() bool
IsSuccess returns true when this start scan bad request response has a 2xx status code
func (*StartScanBadRequest) String ¶ added in v0.4.1
func (o *StartScanBadRequest) String() string
type StartScanInternalServerError ¶ added in v0.4.1
type StartScanInternalServerError struct {
Payload *models.APIHTTPError
}
StartScanInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewStartScanInternalServerError ¶ added in v0.4.1
func NewStartScanInternalServerError() *StartScanInternalServerError
NewStartScanInternalServerError creates a StartScanInternalServerError with default headers values
func (*StartScanInternalServerError) Code ¶ added in v0.4.1
func (o *StartScanInternalServerError) Code() int
Code gets the status code for the start scan internal server error response
func (*StartScanInternalServerError) Error ¶ added in v0.4.1
func (o *StartScanInternalServerError) Error() string
func (*StartScanInternalServerError) GetPayload ¶ added in v0.4.1
func (o *StartScanInternalServerError) GetPayload() *models.APIHTTPError
func (*StartScanInternalServerError) IsClientError ¶ added in v0.4.1
func (o *StartScanInternalServerError) IsClientError() bool
IsClientError returns true when this start scan internal server error response has a 4xx status code
func (*StartScanInternalServerError) IsCode ¶ added in v0.4.1
func (o *StartScanInternalServerError) IsCode(code int) bool
IsCode returns true when this start scan internal server error response a status code equal to that given
func (*StartScanInternalServerError) IsRedirect ¶ added in v0.4.1
func (o *StartScanInternalServerError) IsRedirect() bool
IsRedirect returns true when this start scan internal server error response has a 3xx status code
func (*StartScanInternalServerError) IsServerError ¶ added in v0.4.1
func (o *StartScanInternalServerError) IsServerError() bool
IsServerError returns true when this start scan internal server error response has a 5xx status code
func (*StartScanInternalServerError) IsSuccess ¶ added in v0.4.1
func (o *StartScanInternalServerError) IsSuccess() bool
IsSuccess returns true when this start scan internal server error response has a 2xx status code
func (*StartScanInternalServerError) String ¶ added in v0.4.1
func (o *StartScanInternalServerError) String() string
type StartScanOK ¶ added in v0.4.1
StartScanOK describes a response with status code 200, with default header values.
OK
func NewStartScanOK ¶ added in v0.4.1
func NewStartScanOK() *StartScanOK
NewStartScanOK creates a StartScanOK with default headers values
func (*StartScanOK) Code ¶ added in v0.4.1
func (o *StartScanOK) Code() int
Code gets the status code for the start scan o k response
func (*StartScanOK) Error ¶ added in v0.4.1
func (o *StartScanOK) Error() string
func (*StartScanOK) GetPayload ¶ added in v0.4.1
func (o *StartScanOK) GetPayload() *models.ModelJob
func (*StartScanOK) IsClientError ¶ added in v0.4.1
func (o *StartScanOK) IsClientError() bool
IsClientError returns true when this start scan o k response has a 4xx status code
func (*StartScanOK) IsCode ¶ added in v0.4.1
func (o *StartScanOK) IsCode(code int) bool
IsCode returns true when this start scan o k response a status code equal to that given
func (*StartScanOK) IsRedirect ¶ added in v0.4.1
func (o *StartScanOK) IsRedirect() bool
IsRedirect returns true when this start scan o k response has a 3xx status code
func (*StartScanOK) IsServerError ¶ added in v0.4.1
func (o *StartScanOK) IsServerError() bool
IsServerError returns true when this start scan o k response has a 5xx status code
func (*StartScanOK) IsSuccess ¶ added in v0.4.1
func (o *StartScanOK) IsSuccess() bool
IsSuccess returns true when this start scan o k response has a 2xx status code
func (*StartScanOK) String ¶ added in v0.4.1
func (o *StartScanOK) String() string
type StartScanParams ¶ added in v0.4.1
type StartScanParams struct { /* ID. Preparation ID or name */ ID string /* Name. Storage ID or name */ Name string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
StartScanParams contains all the parameters to send to the API endpoint
for the start scan operation. Typically these are written to a http.Request.
func NewStartScanParams ¶ added in v0.4.1
func NewStartScanParams() *StartScanParams
NewStartScanParams creates a new StartScanParams 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 NewStartScanParamsWithContext ¶ added in v0.4.1
func NewStartScanParamsWithContext(ctx context.Context) *StartScanParams
NewStartScanParamsWithContext creates a new StartScanParams object with the ability to set a context for a request.
func NewStartScanParamsWithHTTPClient ¶ added in v0.4.1
func NewStartScanParamsWithHTTPClient(client *http.Client) *StartScanParams
NewStartScanParamsWithHTTPClient creates a new StartScanParams object with the ability to set a custom HTTPClient for a request.
func NewStartScanParamsWithTimeout ¶ added in v0.4.1
func NewStartScanParamsWithTimeout(timeout time.Duration) *StartScanParams
NewStartScanParamsWithTimeout creates a new StartScanParams object with the ability to set a timeout on a request.
func (*StartScanParams) SetContext ¶ added in v0.4.1
func (o *StartScanParams) SetContext(ctx context.Context)
SetContext adds the context to the start scan params
func (*StartScanParams) SetDefaults ¶ added in v0.4.1
func (o *StartScanParams) SetDefaults()
SetDefaults hydrates default values in the start scan params (not the query body).
All values with no default are reset to their zero value.
func (*StartScanParams) SetHTTPClient ¶ added in v0.4.1
func (o *StartScanParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the start scan params
func (*StartScanParams) SetID ¶ added in v0.4.1
func (o *StartScanParams) SetID(id string)
SetID adds the id to the start scan params
func (*StartScanParams) SetName ¶ added in v0.4.1
func (o *StartScanParams) SetName(name string)
SetName adds the name to the start scan params
func (*StartScanParams) SetTimeout ¶ added in v0.4.1
func (o *StartScanParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the start scan params
func (*StartScanParams) WithContext ¶ added in v0.4.1
func (o *StartScanParams) WithContext(ctx context.Context) *StartScanParams
WithContext adds the context to the start scan params
func (*StartScanParams) WithDefaults ¶ added in v0.4.1
func (o *StartScanParams) WithDefaults() *StartScanParams
WithDefaults hydrates default values in the start scan params (not the query body).
All values with no default are reset to their zero value.
func (*StartScanParams) WithHTTPClient ¶ added in v0.4.1
func (o *StartScanParams) WithHTTPClient(client *http.Client) *StartScanParams
WithHTTPClient adds the HTTPClient to the start scan params
func (*StartScanParams) WithID ¶ added in v0.4.1
func (o *StartScanParams) WithID(id string) *StartScanParams
WithID adds the id to the start scan params
func (*StartScanParams) WithName ¶ added in v0.4.1
func (o *StartScanParams) WithName(name string) *StartScanParams
WithName adds the name to the start scan params
func (*StartScanParams) WithTimeout ¶ added in v0.4.1
func (o *StartScanParams) WithTimeout(timeout time.Duration) *StartScanParams
WithTimeout adds the timeout to the start scan params
func (*StartScanParams) WriteToRequest ¶ added in v0.4.1
func (o *StartScanParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type StartScanReader ¶ added in v0.4.1
type StartScanReader struct {
// contains filtered or unexported fields
}
StartScanReader is a Reader for the StartScan structure.
func (*StartScanReader) ReadResponse ¶ added in v0.4.1
func (o *StartScanReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- job_client.go
- pack_parameters.go
- pack_responses.go
- pause_dag_gen_parameters.go
- pause_dag_gen_responses.go
- pause_pack_parameters.go
- pause_pack_responses.go
- pause_scan_parameters.go
- pause_scan_responses.go
- prepare_to_pack_source_parameters.go
- prepare_to_pack_source_responses.go
- start_dag_gen_parameters.go
- start_dag_gen_responses.go
- start_pack_parameters.go
- start_pack_responses.go
- start_scan_parameters.go
- start_scan_responses.go