Documentation ¶
Index ¶
- type Client
- func (a *Client) DeletePackage(params *DeletePackageParams, opts ...ClientOption) (*DeletePackageOK, error)
- func (a *Client) DeployPackage(params *DeployPackageParams, opts ...ClientOption) (*DeployPackageOK, error)
- func (a *Client) DescribePackage(params *DescribePackageParams, opts ...ClientOption) (*DescribePackageOK, error)
- func (a *Client) GetUploadURL(params *GetUploadURLParams, opts ...ClientOption) (*GetUploadURLOK, error)
- func (a *Client) ListPackages(params *ListPackagesParams, opts ...ClientOption) (*ListPackagesOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type DeletePackageDefault
- func (o *DeletePackageDefault) Code() int
- func (o *DeletePackageDefault) Error() string
- func (o *DeletePackageDefault) GetPayload() *models.RPCStatus
- func (o *DeletePackageDefault) IsClientError() bool
- func (o *DeletePackageDefault) IsCode(code int) bool
- func (o *DeletePackageDefault) IsRedirect() bool
- func (o *DeletePackageDefault) IsServerError() bool
- func (o *DeletePackageDefault) IsSuccess() bool
- func (o *DeletePackageDefault) String() string
- type DeletePackageOK
- func (o *DeletePackageOK) Error() string
- func (o *DeletePackageOK) GetPayload() *models.DeletePackageReply
- func (o *DeletePackageOK) IsClientError() bool
- func (o *DeletePackageOK) IsCode(code int) bool
- func (o *DeletePackageOK) IsRedirect() bool
- func (o *DeletePackageOK) IsServerError() bool
- func (o *DeletePackageOK) IsSuccess() bool
- func (o *DeletePackageOK) String() string
- type DeletePackageParams
- func (o *DeletePackageParams) SetBody(body *models.DeletePackageRequest)
- func (o *DeletePackageParams) SetContext(ctx context.Context)
- func (o *DeletePackageParams) SetDefaults()
- func (o *DeletePackageParams) SetHTTPClient(client *http.Client)
- func (o *DeletePackageParams) SetTimeout(timeout time.Duration)
- func (o *DeletePackageParams) WithBody(body *models.DeletePackageRequest) *DeletePackageParams
- func (o *DeletePackageParams) WithContext(ctx context.Context) *DeletePackageParams
- func (o *DeletePackageParams) WithDefaults() *DeletePackageParams
- func (o *DeletePackageParams) WithHTTPClient(client *http.Client) *DeletePackageParams
- func (o *DeletePackageParams) WithTimeout(timeout time.Duration) *DeletePackageParams
- func (o *DeletePackageParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeletePackageReader
- type DeployPackageDefault
- func (o *DeployPackageDefault) Code() int
- func (o *DeployPackageDefault) Error() string
- func (o *DeployPackageDefault) GetPayload() *models.RPCStatus
- func (o *DeployPackageDefault) IsClientError() bool
- func (o *DeployPackageDefault) IsCode(code int) bool
- func (o *DeployPackageDefault) IsRedirect() bool
- func (o *DeployPackageDefault) IsServerError() bool
- func (o *DeployPackageDefault) IsSuccess() bool
- func (o *DeployPackageDefault) String() string
- type DeployPackageOK
- func (o *DeployPackageOK) Error() string
- func (o *DeployPackageOK) GetPayload() *models.DeployPackageReply
- func (o *DeployPackageOK) IsClientError() bool
- func (o *DeployPackageOK) IsCode(code int) bool
- func (o *DeployPackageOK) IsRedirect() bool
- func (o *DeployPackageOK) IsServerError() bool
- func (o *DeployPackageOK) IsSuccess() bool
- func (o *DeployPackageOK) String() string
- type DeployPackageParams
- func (o *DeployPackageParams) SetBody(body *models.DeployPackageRequest)
- func (o *DeployPackageParams) SetContext(ctx context.Context)
- func (o *DeployPackageParams) SetDefaults()
- func (o *DeployPackageParams) SetHTTPClient(client *http.Client)
- func (o *DeployPackageParams) SetTimeout(timeout time.Duration)
- func (o *DeployPackageParams) WithBody(body *models.DeployPackageRequest) *DeployPackageParams
- func (o *DeployPackageParams) WithContext(ctx context.Context) *DeployPackageParams
- func (o *DeployPackageParams) WithDefaults() *DeployPackageParams
- func (o *DeployPackageParams) WithHTTPClient(client *http.Client) *DeployPackageParams
- func (o *DeployPackageParams) WithTimeout(timeout time.Duration) *DeployPackageParams
- func (o *DeployPackageParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeployPackageReader
- type DescribePackageDefault
- func (o *DescribePackageDefault) Code() int
- func (o *DescribePackageDefault) Error() string
- func (o *DescribePackageDefault) GetPayload() *models.RPCStatus
- func (o *DescribePackageDefault) IsClientError() bool
- func (o *DescribePackageDefault) IsCode(code int) bool
- func (o *DescribePackageDefault) IsRedirect() bool
- func (o *DescribePackageDefault) IsServerError() bool
- func (o *DescribePackageDefault) IsSuccess() bool
- func (o *DescribePackageDefault) String() string
- type DescribePackageOK
- func (o *DescribePackageOK) Error() string
- func (o *DescribePackageOK) GetPayload() *models.DescribePackageReply
- func (o *DescribePackageOK) IsClientError() bool
- func (o *DescribePackageOK) IsCode(code int) bool
- func (o *DescribePackageOK) IsRedirect() bool
- func (o *DescribePackageOK) IsServerError() bool
- func (o *DescribePackageOK) IsSuccess() bool
- func (o *DescribePackageOK) String() string
- type DescribePackageParams
- func NewDescribePackageParams() *DescribePackageParams
- func NewDescribePackageParamsWithContext(ctx context.Context) *DescribePackageParams
- func NewDescribePackageParamsWithHTTPClient(client *http.Client) *DescribePackageParams
- func NewDescribePackageParamsWithTimeout(timeout time.Duration) *DescribePackageParams
- func (o *DescribePackageParams) SetBody(body *models.DescribePackageRequest)
- func (o *DescribePackageParams) SetContext(ctx context.Context)
- func (o *DescribePackageParams) SetDefaults()
- func (o *DescribePackageParams) SetHTTPClient(client *http.Client)
- func (o *DescribePackageParams) SetTimeout(timeout time.Duration)
- func (o *DescribePackageParams) WithBody(body *models.DescribePackageRequest) *DescribePackageParams
- func (o *DescribePackageParams) WithContext(ctx context.Context) *DescribePackageParams
- func (o *DescribePackageParams) WithDefaults() *DescribePackageParams
- func (o *DescribePackageParams) WithHTTPClient(client *http.Client) *DescribePackageParams
- func (o *DescribePackageParams) WithTimeout(timeout time.Duration) *DescribePackageParams
- func (o *DescribePackageParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DescribePackageReader
- type GetUploadURLDefault
- func (o *GetUploadURLDefault) Code() int
- func (o *GetUploadURLDefault) Error() string
- func (o *GetUploadURLDefault) GetPayload() *models.RPCStatus
- func (o *GetUploadURLDefault) IsClientError() bool
- func (o *GetUploadURLDefault) IsCode(code int) bool
- func (o *GetUploadURLDefault) IsRedirect() bool
- func (o *GetUploadURLDefault) IsServerError() bool
- func (o *GetUploadURLDefault) IsSuccess() bool
- func (o *GetUploadURLDefault) String() string
- type GetUploadURLOK
- func (o *GetUploadURLOK) Error() string
- func (o *GetUploadURLOK) GetPayload() *models.GetUploadURLReply
- func (o *GetUploadURLOK) IsClientError() bool
- func (o *GetUploadURLOK) IsCode(code int) bool
- func (o *GetUploadURLOK) IsRedirect() bool
- func (o *GetUploadURLOK) IsServerError() bool
- func (o *GetUploadURLOK) IsSuccess() bool
- func (o *GetUploadURLOK) String() string
- type GetUploadURLParams
- func (o *GetUploadURLParams) SetBody(body *models.GetUploadURLRequest)
- func (o *GetUploadURLParams) SetContext(ctx context.Context)
- func (o *GetUploadURLParams) SetDefaults()
- func (o *GetUploadURLParams) SetHTTPClient(client *http.Client)
- func (o *GetUploadURLParams) SetTimeout(timeout time.Duration)
- func (o *GetUploadURLParams) WithBody(body *models.GetUploadURLRequest) *GetUploadURLParams
- func (o *GetUploadURLParams) WithContext(ctx context.Context) *GetUploadURLParams
- func (o *GetUploadURLParams) WithDefaults() *GetUploadURLParams
- func (o *GetUploadURLParams) WithHTTPClient(client *http.Client) *GetUploadURLParams
- func (o *GetUploadURLParams) WithTimeout(timeout time.Duration) *GetUploadURLParams
- func (o *GetUploadURLParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetUploadURLReader
- type ListPackagesDefault
- func (o *ListPackagesDefault) Code() int
- func (o *ListPackagesDefault) Error() string
- func (o *ListPackagesDefault) GetPayload() *models.RPCStatus
- func (o *ListPackagesDefault) IsClientError() bool
- func (o *ListPackagesDefault) IsCode(code int) bool
- func (o *ListPackagesDefault) IsRedirect() bool
- func (o *ListPackagesDefault) IsServerError() bool
- func (o *ListPackagesDefault) IsSuccess() bool
- func (o *ListPackagesDefault) String() string
- type ListPackagesOK
- func (o *ListPackagesOK) Error() string
- func (o *ListPackagesOK) GetPayload() *models.ListPackagesReply
- func (o *ListPackagesOK) IsClientError() bool
- func (o *ListPackagesOK) IsCode(code int) bool
- func (o *ListPackagesOK) IsRedirect() bool
- func (o *ListPackagesOK) IsServerError() bool
- func (o *ListPackagesOK) IsSuccess() bool
- func (o *ListPackagesOK) String() string
- type ListPackagesParams
- func (o *ListPackagesParams) SetBody(body *models.ListPackagesRequest)
- func (o *ListPackagesParams) SetContext(ctx context.Context)
- func (o *ListPackagesParams) SetDefaults()
- func (o *ListPackagesParams) SetHTTPClient(client *http.Client)
- func (o *ListPackagesParams) SetTimeout(timeout time.Duration)
- func (o *ListPackagesParams) WithBody(body *models.ListPackagesRequest) *ListPackagesParams
- func (o *ListPackagesParams) WithContext(ctx context.Context) *ListPackagesParams
- func (o *ListPackagesParams) WithDefaults() *ListPackagesParams
- func (o *ListPackagesParams) WithHTTPClient(client *http.Client) *ListPackagesParams
- func (o *ListPackagesParams) WithTimeout(timeout time.Duration) *ListPackagesParams
- func (o *ListPackagesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListPackagesReader
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 service runner API
func (*Client) DeletePackage ¶
func (a *Client) DeletePackage(params *DeletePackageParams, opts ...ClientOption) (*DeletePackageOK, error)
DeletePackage delete package API
func (*Client) DeployPackage ¶
func (a *Client) DeployPackage(params *DeployPackageParams, opts ...ClientOption) (*DeployPackageOK, error)
DeployPackage deploy package API
func (*Client) DescribePackage ¶
func (a *Client) DescribePackage(params *DescribePackageParams, opts ...ClientOption) (*DescribePackageOK, error)
DescribePackage describe package API
func (*Client) GetUploadURL ¶
func (a *Client) GetUploadURL(params *GetUploadURLParams, opts ...ClientOption) (*GetUploadURLOK, error)
GetUploadURL get upload URL API
func (*Client) ListPackages ¶
func (a *Client) ListPackages(params *ListPackagesParams, opts ...ClientOption) (*ListPackagesOK, error)
ListPackages list packages API
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { DeletePackage(params *DeletePackageParams, opts ...ClientOption) (*DeletePackageOK, error) DeployPackage(params *DeployPackageParams, opts ...ClientOption) (*DeployPackageOK, error) DescribePackage(params *DescribePackageParams, opts ...ClientOption) (*DescribePackageOK, error) GetUploadURL(params *GetUploadURLParams, opts ...ClientOption) (*GetUploadURLOK, error) ListPackages(params *ListPackagesParams, opts ...ClientOption) (*ListPackagesOK, 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 service runner API client.
type DeletePackageDefault ¶
type DeletePackageDefault struct { Payload *models.RPCStatus // contains filtered or unexported fields }
DeletePackageDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewDeletePackageDefault ¶
func NewDeletePackageDefault(code int) *DeletePackageDefault
NewDeletePackageDefault creates a DeletePackageDefault with default headers values
func (*DeletePackageDefault) Code ¶
func (o *DeletePackageDefault) Code() int
Code gets the status code for the delete package default response
func (*DeletePackageDefault) Error ¶
func (o *DeletePackageDefault) Error() string
func (*DeletePackageDefault) GetPayload ¶
func (o *DeletePackageDefault) GetPayload() *models.RPCStatus
func (*DeletePackageDefault) IsClientError ¶
func (o *DeletePackageDefault) IsClientError() bool
IsClientError returns true when this delete package default response has a 4xx status code
func (*DeletePackageDefault) IsCode ¶
func (o *DeletePackageDefault) IsCode(code int) bool
IsCode returns true when this delete package default response a status code equal to that given
func (*DeletePackageDefault) IsRedirect ¶
func (o *DeletePackageDefault) IsRedirect() bool
IsRedirect returns true when this delete package default response has a 3xx status code
func (*DeletePackageDefault) IsServerError ¶
func (o *DeletePackageDefault) IsServerError() bool
IsServerError returns true when this delete package default response has a 5xx status code
func (*DeletePackageDefault) IsSuccess ¶
func (o *DeletePackageDefault) IsSuccess() bool
IsSuccess returns true when this delete package default response has a 2xx status code
func (*DeletePackageDefault) String ¶
func (o *DeletePackageDefault) String() string
type DeletePackageOK ¶
type DeletePackageOK struct {
Payload *models.DeletePackageReply
}
DeletePackageOK describes a response with status code 200, with default header values.
A successful response.
func NewDeletePackageOK ¶
func NewDeletePackageOK() *DeletePackageOK
NewDeletePackageOK creates a DeletePackageOK with default headers values
func (*DeletePackageOK) Error ¶
func (o *DeletePackageOK) Error() string
func (*DeletePackageOK) GetPayload ¶
func (o *DeletePackageOK) GetPayload() *models.DeletePackageReply
func (*DeletePackageOK) IsClientError ¶
func (o *DeletePackageOK) IsClientError() bool
IsClientError returns true when this delete package o k response has a 4xx status code
func (*DeletePackageOK) IsCode ¶
func (o *DeletePackageOK) IsCode(code int) bool
IsCode returns true when this delete package o k response a status code equal to that given
func (*DeletePackageOK) IsRedirect ¶
func (o *DeletePackageOK) IsRedirect() bool
IsRedirect returns true when this delete package o k response has a 3xx status code
func (*DeletePackageOK) IsServerError ¶
func (o *DeletePackageOK) IsServerError() bool
IsServerError returns true when this delete package o k response has a 5xx status code
func (*DeletePackageOK) IsSuccess ¶
func (o *DeletePackageOK) IsSuccess() bool
IsSuccess returns true when this delete package o k response has a 2xx status code
func (*DeletePackageOK) String ¶
func (o *DeletePackageOK) String() string
type DeletePackageParams ¶
type DeletePackageParams struct { // Body. Body *models.DeletePackageRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeletePackageParams contains all the parameters to send to the API endpoint
for the delete package operation. Typically these are written to a http.Request.
func NewDeletePackageParams ¶
func NewDeletePackageParams() *DeletePackageParams
NewDeletePackageParams creates a new DeletePackageParams 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 NewDeletePackageParamsWithContext ¶
func NewDeletePackageParamsWithContext(ctx context.Context) *DeletePackageParams
NewDeletePackageParamsWithContext creates a new DeletePackageParams object with the ability to set a context for a request.
func NewDeletePackageParamsWithHTTPClient ¶
func NewDeletePackageParamsWithHTTPClient(client *http.Client) *DeletePackageParams
NewDeletePackageParamsWithHTTPClient creates a new DeletePackageParams object with the ability to set a custom HTTPClient for a request.
func NewDeletePackageParamsWithTimeout ¶
func NewDeletePackageParamsWithTimeout(timeout time.Duration) *DeletePackageParams
NewDeletePackageParamsWithTimeout creates a new DeletePackageParams object with the ability to set a timeout on a request.
func (*DeletePackageParams) SetBody ¶
func (o *DeletePackageParams) SetBody(body *models.DeletePackageRequest)
SetBody adds the body to the delete package params
func (*DeletePackageParams) SetContext ¶
func (o *DeletePackageParams) SetContext(ctx context.Context)
SetContext adds the context to the delete package params
func (*DeletePackageParams) SetDefaults ¶
func (o *DeletePackageParams) SetDefaults()
SetDefaults hydrates default values in the delete package params (not the query body).
All values with no default are reset to their zero value.
func (*DeletePackageParams) SetHTTPClient ¶
func (o *DeletePackageParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete package params
func (*DeletePackageParams) SetTimeout ¶
func (o *DeletePackageParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete package params
func (*DeletePackageParams) WithBody ¶
func (o *DeletePackageParams) WithBody(body *models.DeletePackageRequest) *DeletePackageParams
WithBody adds the body to the delete package params
func (*DeletePackageParams) WithContext ¶
func (o *DeletePackageParams) WithContext(ctx context.Context) *DeletePackageParams
WithContext adds the context to the delete package params
func (*DeletePackageParams) WithDefaults ¶
func (o *DeletePackageParams) WithDefaults() *DeletePackageParams
WithDefaults hydrates default values in the delete package params (not the query body).
All values with no default are reset to their zero value.
func (*DeletePackageParams) WithHTTPClient ¶
func (o *DeletePackageParams) WithHTTPClient(client *http.Client) *DeletePackageParams
WithHTTPClient adds the HTTPClient to the delete package params
func (*DeletePackageParams) WithTimeout ¶
func (o *DeletePackageParams) WithTimeout(timeout time.Duration) *DeletePackageParams
WithTimeout adds the timeout to the delete package params
func (*DeletePackageParams) WriteToRequest ¶
func (o *DeletePackageParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeletePackageReader ¶
type DeletePackageReader struct {
// contains filtered or unexported fields
}
DeletePackageReader is a Reader for the DeletePackage structure.
func (*DeletePackageReader) ReadResponse ¶
func (o *DeletePackageReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeployPackageDefault ¶
type DeployPackageDefault struct { Payload *models.RPCStatus // contains filtered or unexported fields }
DeployPackageDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewDeployPackageDefault ¶
func NewDeployPackageDefault(code int) *DeployPackageDefault
NewDeployPackageDefault creates a DeployPackageDefault with default headers values
func (*DeployPackageDefault) Code ¶
func (o *DeployPackageDefault) Code() int
Code gets the status code for the deploy package default response
func (*DeployPackageDefault) Error ¶
func (o *DeployPackageDefault) Error() string
func (*DeployPackageDefault) GetPayload ¶
func (o *DeployPackageDefault) GetPayload() *models.RPCStatus
func (*DeployPackageDefault) IsClientError ¶
func (o *DeployPackageDefault) IsClientError() bool
IsClientError returns true when this deploy package default response has a 4xx status code
func (*DeployPackageDefault) IsCode ¶
func (o *DeployPackageDefault) IsCode(code int) bool
IsCode returns true when this deploy package default response a status code equal to that given
func (*DeployPackageDefault) IsRedirect ¶
func (o *DeployPackageDefault) IsRedirect() bool
IsRedirect returns true when this deploy package default response has a 3xx status code
func (*DeployPackageDefault) IsServerError ¶
func (o *DeployPackageDefault) IsServerError() bool
IsServerError returns true when this deploy package default response has a 5xx status code
func (*DeployPackageDefault) IsSuccess ¶
func (o *DeployPackageDefault) IsSuccess() bool
IsSuccess returns true when this deploy package default response has a 2xx status code
func (*DeployPackageDefault) String ¶
func (o *DeployPackageDefault) String() string
type DeployPackageOK ¶
type DeployPackageOK struct {
Payload *models.DeployPackageReply
}
DeployPackageOK describes a response with status code 200, with default header values.
A successful response.
func NewDeployPackageOK ¶
func NewDeployPackageOK() *DeployPackageOK
NewDeployPackageOK creates a DeployPackageOK with default headers values
func (*DeployPackageOK) Error ¶
func (o *DeployPackageOK) Error() string
func (*DeployPackageOK) GetPayload ¶
func (o *DeployPackageOK) GetPayload() *models.DeployPackageReply
func (*DeployPackageOK) IsClientError ¶
func (o *DeployPackageOK) IsClientError() bool
IsClientError returns true when this deploy package o k response has a 4xx status code
func (*DeployPackageOK) IsCode ¶
func (o *DeployPackageOK) IsCode(code int) bool
IsCode returns true when this deploy package o k response a status code equal to that given
func (*DeployPackageOK) IsRedirect ¶
func (o *DeployPackageOK) IsRedirect() bool
IsRedirect returns true when this deploy package o k response has a 3xx status code
func (*DeployPackageOK) IsServerError ¶
func (o *DeployPackageOK) IsServerError() bool
IsServerError returns true when this deploy package o k response has a 5xx status code
func (*DeployPackageOK) IsSuccess ¶
func (o *DeployPackageOK) IsSuccess() bool
IsSuccess returns true when this deploy package o k response has a 2xx status code
func (*DeployPackageOK) String ¶
func (o *DeployPackageOK) String() string
type DeployPackageParams ¶
type DeployPackageParams struct { // Body. Body *models.DeployPackageRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeployPackageParams contains all the parameters to send to the API endpoint
for the deploy package operation. Typically these are written to a http.Request.
func NewDeployPackageParams ¶
func NewDeployPackageParams() *DeployPackageParams
NewDeployPackageParams creates a new DeployPackageParams 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 NewDeployPackageParamsWithContext ¶
func NewDeployPackageParamsWithContext(ctx context.Context) *DeployPackageParams
NewDeployPackageParamsWithContext creates a new DeployPackageParams object with the ability to set a context for a request.
func NewDeployPackageParamsWithHTTPClient ¶
func NewDeployPackageParamsWithHTTPClient(client *http.Client) *DeployPackageParams
NewDeployPackageParamsWithHTTPClient creates a new DeployPackageParams object with the ability to set a custom HTTPClient for a request.
func NewDeployPackageParamsWithTimeout ¶
func NewDeployPackageParamsWithTimeout(timeout time.Duration) *DeployPackageParams
NewDeployPackageParamsWithTimeout creates a new DeployPackageParams object with the ability to set a timeout on a request.
func (*DeployPackageParams) SetBody ¶
func (o *DeployPackageParams) SetBody(body *models.DeployPackageRequest)
SetBody adds the body to the deploy package params
func (*DeployPackageParams) SetContext ¶
func (o *DeployPackageParams) SetContext(ctx context.Context)
SetContext adds the context to the deploy package params
func (*DeployPackageParams) SetDefaults ¶
func (o *DeployPackageParams) SetDefaults()
SetDefaults hydrates default values in the deploy package params (not the query body).
All values with no default are reset to their zero value.
func (*DeployPackageParams) SetHTTPClient ¶
func (o *DeployPackageParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the deploy package params
func (*DeployPackageParams) SetTimeout ¶
func (o *DeployPackageParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the deploy package params
func (*DeployPackageParams) WithBody ¶
func (o *DeployPackageParams) WithBody(body *models.DeployPackageRequest) *DeployPackageParams
WithBody adds the body to the deploy package params
func (*DeployPackageParams) WithContext ¶
func (o *DeployPackageParams) WithContext(ctx context.Context) *DeployPackageParams
WithContext adds the context to the deploy package params
func (*DeployPackageParams) WithDefaults ¶
func (o *DeployPackageParams) WithDefaults() *DeployPackageParams
WithDefaults hydrates default values in the deploy package params (not the query body).
All values with no default are reset to their zero value.
func (*DeployPackageParams) WithHTTPClient ¶
func (o *DeployPackageParams) WithHTTPClient(client *http.Client) *DeployPackageParams
WithHTTPClient adds the HTTPClient to the deploy package params
func (*DeployPackageParams) WithTimeout ¶
func (o *DeployPackageParams) WithTimeout(timeout time.Duration) *DeployPackageParams
WithTimeout adds the timeout to the deploy package params
func (*DeployPackageParams) WriteToRequest ¶
func (o *DeployPackageParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeployPackageReader ¶
type DeployPackageReader struct {
// contains filtered or unexported fields
}
DeployPackageReader is a Reader for the DeployPackage structure.
func (*DeployPackageReader) ReadResponse ¶
func (o *DeployPackageReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DescribePackageDefault ¶
type DescribePackageDefault struct { Payload *models.RPCStatus // contains filtered or unexported fields }
DescribePackageDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewDescribePackageDefault ¶
func NewDescribePackageDefault(code int) *DescribePackageDefault
NewDescribePackageDefault creates a DescribePackageDefault with default headers values
func (*DescribePackageDefault) Code ¶
func (o *DescribePackageDefault) Code() int
Code gets the status code for the describe package default response
func (*DescribePackageDefault) Error ¶
func (o *DescribePackageDefault) Error() string
func (*DescribePackageDefault) GetPayload ¶
func (o *DescribePackageDefault) GetPayload() *models.RPCStatus
func (*DescribePackageDefault) IsClientError ¶
func (o *DescribePackageDefault) IsClientError() bool
IsClientError returns true when this describe package default response has a 4xx status code
func (*DescribePackageDefault) IsCode ¶
func (o *DescribePackageDefault) IsCode(code int) bool
IsCode returns true when this describe package default response a status code equal to that given
func (*DescribePackageDefault) IsRedirect ¶
func (o *DescribePackageDefault) IsRedirect() bool
IsRedirect returns true when this describe package default response has a 3xx status code
func (*DescribePackageDefault) IsServerError ¶
func (o *DescribePackageDefault) IsServerError() bool
IsServerError returns true when this describe package default response has a 5xx status code
func (*DescribePackageDefault) IsSuccess ¶
func (o *DescribePackageDefault) IsSuccess() bool
IsSuccess returns true when this describe package default response has a 2xx status code
func (*DescribePackageDefault) String ¶
func (o *DescribePackageDefault) String() string
type DescribePackageOK ¶
type DescribePackageOK struct {
Payload *models.DescribePackageReply
}
DescribePackageOK describes a response with status code 200, with default header values.
A successful response.
func NewDescribePackageOK ¶
func NewDescribePackageOK() *DescribePackageOK
NewDescribePackageOK creates a DescribePackageOK with default headers values
func (*DescribePackageOK) Error ¶
func (o *DescribePackageOK) Error() string
func (*DescribePackageOK) GetPayload ¶
func (o *DescribePackageOK) GetPayload() *models.DescribePackageReply
func (*DescribePackageOK) IsClientError ¶
func (o *DescribePackageOK) IsClientError() bool
IsClientError returns true when this describe package o k response has a 4xx status code
func (*DescribePackageOK) IsCode ¶
func (o *DescribePackageOK) IsCode(code int) bool
IsCode returns true when this describe package o k response a status code equal to that given
func (*DescribePackageOK) IsRedirect ¶
func (o *DescribePackageOK) IsRedirect() bool
IsRedirect returns true when this describe package o k response has a 3xx status code
func (*DescribePackageOK) IsServerError ¶
func (o *DescribePackageOK) IsServerError() bool
IsServerError returns true when this describe package o k response has a 5xx status code
func (*DescribePackageOK) IsSuccess ¶
func (o *DescribePackageOK) IsSuccess() bool
IsSuccess returns true when this describe package o k response has a 2xx status code
func (*DescribePackageOK) String ¶
func (o *DescribePackageOK) String() string
type DescribePackageParams ¶
type DescribePackageParams struct { // Body. Body *models.DescribePackageRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DescribePackageParams contains all the parameters to send to the API endpoint
for the describe package operation. Typically these are written to a http.Request.
func NewDescribePackageParams ¶
func NewDescribePackageParams() *DescribePackageParams
NewDescribePackageParams creates a new DescribePackageParams 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 NewDescribePackageParamsWithContext ¶
func NewDescribePackageParamsWithContext(ctx context.Context) *DescribePackageParams
NewDescribePackageParamsWithContext creates a new DescribePackageParams object with the ability to set a context for a request.
func NewDescribePackageParamsWithHTTPClient ¶
func NewDescribePackageParamsWithHTTPClient(client *http.Client) *DescribePackageParams
NewDescribePackageParamsWithHTTPClient creates a new DescribePackageParams object with the ability to set a custom HTTPClient for a request.
func NewDescribePackageParamsWithTimeout ¶
func NewDescribePackageParamsWithTimeout(timeout time.Duration) *DescribePackageParams
NewDescribePackageParamsWithTimeout creates a new DescribePackageParams object with the ability to set a timeout on a request.
func (*DescribePackageParams) SetBody ¶
func (o *DescribePackageParams) SetBody(body *models.DescribePackageRequest)
SetBody adds the body to the describe package params
func (*DescribePackageParams) SetContext ¶
func (o *DescribePackageParams) SetContext(ctx context.Context)
SetContext adds the context to the describe package params
func (*DescribePackageParams) SetDefaults ¶
func (o *DescribePackageParams) SetDefaults()
SetDefaults hydrates default values in the describe package params (not the query body).
All values with no default are reset to their zero value.
func (*DescribePackageParams) SetHTTPClient ¶
func (o *DescribePackageParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the describe package params
func (*DescribePackageParams) SetTimeout ¶
func (o *DescribePackageParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the describe package params
func (*DescribePackageParams) WithBody ¶
func (o *DescribePackageParams) WithBody(body *models.DescribePackageRequest) *DescribePackageParams
WithBody adds the body to the describe package params
func (*DescribePackageParams) WithContext ¶
func (o *DescribePackageParams) WithContext(ctx context.Context) *DescribePackageParams
WithContext adds the context to the describe package params
func (*DescribePackageParams) WithDefaults ¶
func (o *DescribePackageParams) WithDefaults() *DescribePackageParams
WithDefaults hydrates default values in the describe package params (not the query body).
All values with no default are reset to their zero value.
func (*DescribePackageParams) WithHTTPClient ¶
func (o *DescribePackageParams) WithHTTPClient(client *http.Client) *DescribePackageParams
WithHTTPClient adds the HTTPClient to the describe package params
func (*DescribePackageParams) WithTimeout ¶
func (o *DescribePackageParams) WithTimeout(timeout time.Duration) *DescribePackageParams
WithTimeout adds the timeout to the describe package params
func (*DescribePackageParams) WriteToRequest ¶
func (o *DescribePackageParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DescribePackageReader ¶
type DescribePackageReader struct {
// contains filtered or unexported fields
}
DescribePackageReader is a Reader for the DescribePackage structure.
func (*DescribePackageReader) ReadResponse ¶
func (o *DescribePackageReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetUploadURLDefault ¶
type GetUploadURLDefault struct { Payload *models.RPCStatus // contains filtered or unexported fields }
GetUploadURLDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewGetUploadURLDefault ¶
func NewGetUploadURLDefault(code int) *GetUploadURLDefault
NewGetUploadURLDefault creates a GetUploadURLDefault with default headers values
func (*GetUploadURLDefault) Code ¶
func (o *GetUploadURLDefault) Code() int
Code gets the status code for the get upload URL default response
func (*GetUploadURLDefault) Error ¶
func (o *GetUploadURLDefault) Error() string
func (*GetUploadURLDefault) GetPayload ¶
func (o *GetUploadURLDefault) GetPayload() *models.RPCStatus
func (*GetUploadURLDefault) IsClientError ¶
func (o *GetUploadURLDefault) IsClientError() bool
IsClientError returns true when this get upload URL default response has a 4xx status code
func (*GetUploadURLDefault) IsCode ¶
func (o *GetUploadURLDefault) IsCode(code int) bool
IsCode returns true when this get upload URL default response a status code equal to that given
func (*GetUploadURLDefault) IsRedirect ¶
func (o *GetUploadURLDefault) IsRedirect() bool
IsRedirect returns true when this get upload URL default response has a 3xx status code
func (*GetUploadURLDefault) IsServerError ¶
func (o *GetUploadURLDefault) IsServerError() bool
IsServerError returns true when this get upload URL default response has a 5xx status code
func (*GetUploadURLDefault) IsSuccess ¶
func (o *GetUploadURLDefault) IsSuccess() bool
IsSuccess returns true when this get upload URL default response has a 2xx status code
func (*GetUploadURLDefault) String ¶
func (o *GetUploadURLDefault) String() string
type GetUploadURLOK ¶
type GetUploadURLOK struct {
Payload *models.GetUploadURLReply
}
GetUploadURLOK describes a response with status code 200, with default header values.
A successful response.
func NewGetUploadURLOK ¶
func NewGetUploadURLOK() *GetUploadURLOK
NewGetUploadURLOK creates a GetUploadURLOK with default headers values
func (*GetUploadURLOK) Error ¶
func (o *GetUploadURLOK) Error() string
func (*GetUploadURLOK) GetPayload ¶
func (o *GetUploadURLOK) GetPayload() *models.GetUploadURLReply
func (*GetUploadURLOK) IsClientError ¶
func (o *GetUploadURLOK) IsClientError() bool
IsClientError returns true when this get upload Url o k response has a 4xx status code
func (*GetUploadURLOK) IsCode ¶
func (o *GetUploadURLOK) IsCode(code int) bool
IsCode returns true when this get upload Url o k response a status code equal to that given
func (*GetUploadURLOK) IsRedirect ¶
func (o *GetUploadURLOK) IsRedirect() bool
IsRedirect returns true when this get upload Url o k response has a 3xx status code
func (*GetUploadURLOK) IsServerError ¶
func (o *GetUploadURLOK) IsServerError() bool
IsServerError returns true when this get upload Url o k response has a 5xx status code
func (*GetUploadURLOK) IsSuccess ¶
func (o *GetUploadURLOK) IsSuccess() bool
IsSuccess returns true when this get upload Url o k response has a 2xx status code
func (*GetUploadURLOK) String ¶
func (o *GetUploadURLOK) String() string
type GetUploadURLParams ¶
type GetUploadURLParams struct { // Body. Body *models.GetUploadURLRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetUploadURLParams contains all the parameters to send to the API endpoint
for the get upload URL operation. Typically these are written to a http.Request.
func NewGetUploadURLParams ¶
func NewGetUploadURLParams() *GetUploadURLParams
NewGetUploadURLParams creates a new GetUploadURLParams 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 NewGetUploadURLParamsWithContext ¶
func NewGetUploadURLParamsWithContext(ctx context.Context) *GetUploadURLParams
NewGetUploadURLParamsWithContext creates a new GetUploadURLParams object with the ability to set a context for a request.
func NewGetUploadURLParamsWithHTTPClient ¶
func NewGetUploadURLParamsWithHTTPClient(client *http.Client) *GetUploadURLParams
NewGetUploadURLParamsWithHTTPClient creates a new GetUploadURLParams object with the ability to set a custom HTTPClient for a request.
func NewGetUploadURLParamsWithTimeout ¶
func NewGetUploadURLParamsWithTimeout(timeout time.Duration) *GetUploadURLParams
NewGetUploadURLParamsWithTimeout creates a new GetUploadURLParams object with the ability to set a timeout on a request.
func (*GetUploadURLParams) SetBody ¶
func (o *GetUploadURLParams) SetBody(body *models.GetUploadURLRequest)
SetBody adds the body to the get upload URL params
func (*GetUploadURLParams) SetContext ¶
func (o *GetUploadURLParams) SetContext(ctx context.Context)
SetContext adds the context to the get upload URL params
func (*GetUploadURLParams) SetDefaults ¶
func (o *GetUploadURLParams) SetDefaults()
SetDefaults hydrates default values in the get upload URL params (not the query body).
All values with no default are reset to their zero value.
func (*GetUploadURLParams) SetHTTPClient ¶
func (o *GetUploadURLParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get upload URL params
func (*GetUploadURLParams) SetTimeout ¶
func (o *GetUploadURLParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get upload URL params
func (*GetUploadURLParams) WithBody ¶
func (o *GetUploadURLParams) WithBody(body *models.GetUploadURLRequest) *GetUploadURLParams
WithBody adds the body to the get upload URL params
func (*GetUploadURLParams) WithContext ¶
func (o *GetUploadURLParams) WithContext(ctx context.Context) *GetUploadURLParams
WithContext adds the context to the get upload URL params
func (*GetUploadURLParams) WithDefaults ¶
func (o *GetUploadURLParams) WithDefaults() *GetUploadURLParams
WithDefaults hydrates default values in the get upload URL params (not the query body).
All values with no default are reset to their zero value.
func (*GetUploadURLParams) WithHTTPClient ¶
func (o *GetUploadURLParams) WithHTTPClient(client *http.Client) *GetUploadURLParams
WithHTTPClient adds the HTTPClient to the get upload URL params
func (*GetUploadURLParams) WithTimeout ¶
func (o *GetUploadURLParams) WithTimeout(timeout time.Duration) *GetUploadURLParams
WithTimeout adds the timeout to the get upload URL params
func (*GetUploadURLParams) WriteToRequest ¶
func (o *GetUploadURLParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetUploadURLReader ¶
type GetUploadURLReader struct {
// contains filtered or unexported fields
}
GetUploadURLReader is a Reader for the GetUploadURL structure.
func (*GetUploadURLReader) ReadResponse ¶
func (o *GetUploadURLReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListPackagesDefault ¶
type ListPackagesDefault struct { Payload *models.RPCStatus // contains filtered or unexported fields }
ListPackagesDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewListPackagesDefault ¶
func NewListPackagesDefault(code int) *ListPackagesDefault
NewListPackagesDefault creates a ListPackagesDefault with default headers values
func (*ListPackagesDefault) Code ¶
func (o *ListPackagesDefault) Code() int
Code gets the status code for the list packages default response
func (*ListPackagesDefault) Error ¶
func (o *ListPackagesDefault) Error() string
func (*ListPackagesDefault) GetPayload ¶
func (o *ListPackagesDefault) GetPayload() *models.RPCStatus
func (*ListPackagesDefault) IsClientError ¶
func (o *ListPackagesDefault) IsClientError() bool
IsClientError returns true when this list packages default response has a 4xx status code
func (*ListPackagesDefault) IsCode ¶
func (o *ListPackagesDefault) IsCode(code int) bool
IsCode returns true when this list packages default response a status code equal to that given
func (*ListPackagesDefault) IsRedirect ¶
func (o *ListPackagesDefault) IsRedirect() bool
IsRedirect returns true when this list packages default response has a 3xx status code
func (*ListPackagesDefault) IsServerError ¶
func (o *ListPackagesDefault) IsServerError() bool
IsServerError returns true when this list packages default response has a 5xx status code
func (*ListPackagesDefault) IsSuccess ¶
func (o *ListPackagesDefault) IsSuccess() bool
IsSuccess returns true when this list packages default response has a 2xx status code
func (*ListPackagesDefault) String ¶
func (o *ListPackagesDefault) String() string
type ListPackagesOK ¶
type ListPackagesOK struct {
Payload *models.ListPackagesReply
}
ListPackagesOK describes a response with status code 200, with default header values.
A successful response.
func NewListPackagesOK ¶
func NewListPackagesOK() *ListPackagesOK
NewListPackagesOK creates a ListPackagesOK with default headers values
func (*ListPackagesOK) Error ¶
func (o *ListPackagesOK) Error() string
func (*ListPackagesOK) GetPayload ¶
func (o *ListPackagesOK) GetPayload() *models.ListPackagesReply
func (*ListPackagesOK) IsClientError ¶
func (o *ListPackagesOK) IsClientError() bool
IsClientError returns true when this list packages o k response has a 4xx status code
func (*ListPackagesOK) IsCode ¶
func (o *ListPackagesOK) IsCode(code int) bool
IsCode returns true when this list packages o k response a status code equal to that given
func (*ListPackagesOK) IsRedirect ¶
func (o *ListPackagesOK) IsRedirect() bool
IsRedirect returns true when this list packages o k response has a 3xx status code
func (*ListPackagesOK) IsServerError ¶
func (o *ListPackagesOK) IsServerError() bool
IsServerError returns true when this list packages o k response has a 5xx status code
func (*ListPackagesOK) IsSuccess ¶
func (o *ListPackagesOK) IsSuccess() bool
IsSuccess returns true when this list packages o k response has a 2xx status code
func (*ListPackagesOK) String ¶
func (o *ListPackagesOK) String() string
type ListPackagesParams ¶
type ListPackagesParams struct { // Body. Body *models.ListPackagesRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListPackagesParams contains all the parameters to send to the API endpoint
for the list packages operation. Typically these are written to a http.Request.
func NewListPackagesParams ¶
func NewListPackagesParams() *ListPackagesParams
NewListPackagesParams creates a new ListPackagesParams 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 NewListPackagesParamsWithContext ¶
func NewListPackagesParamsWithContext(ctx context.Context) *ListPackagesParams
NewListPackagesParamsWithContext creates a new ListPackagesParams object with the ability to set a context for a request.
func NewListPackagesParamsWithHTTPClient ¶
func NewListPackagesParamsWithHTTPClient(client *http.Client) *ListPackagesParams
NewListPackagesParamsWithHTTPClient creates a new ListPackagesParams object with the ability to set a custom HTTPClient for a request.
func NewListPackagesParamsWithTimeout ¶
func NewListPackagesParamsWithTimeout(timeout time.Duration) *ListPackagesParams
NewListPackagesParamsWithTimeout creates a new ListPackagesParams object with the ability to set a timeout on a request.
func (*ListPackagesParams) SetBody ¶
func (o *ListPackagesParams) SetBody(body *models.ListPackagesRequest)
SetBody adds the body to the list packages params
func (*ListPackagesParams) SetContext ¶
func (o *ListPackagesParams) SetContext(ctx context.Context)
SetContext adds the context to the list packages params
func (*ListPackagesParams) SetDefaults ¶
func (o *ListPackagesParams) SetDefaults()
SetDefaults hydrates default values in the list packages params (not the query body).
All values with no default are reset to their zero value.
func (*ListPackagesParams) SetHTTPClient ¶
func (o *ListPackagesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list packages params
func (*ListPackagesParams) SetTimeout ¶
func (o *ListPackagesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list packages params
func (*ListPackagesParams) WithBody ¶
func (o *ListPackagesParams) WithBody(body *models.ListPackagesRequest) *ListPackagesParams
WithBody adds the body to the list packages params
func (*ListPackagesParams) WithContext ¶
func (o *ListPackagesParams) WithContext(ctx context.Context) *ListPackagesParams
WithContext adds the context to the list packages params
func (*ListPackagesParams) WithDefaults ¶
func (o *ListPackagesParams) WithDefaults() *ListPackagesParams
WithDefaults hydrates default values in the list packages params (not the query body).
All values with no default are reset to their zero value.
func (*ListPackagesParams) WithHTTPClient ¶
func (o *ListPackagesParams) WithHTTPClient(client *http.Client) *ListPackagesParams
WithHTTPClient adds the HTTPClient to the list packages params
func (*ListPackagesParams) WithTimeout ¶
func (o *ListPackagesParams) WithTimeout(timeout time.Duration) *ListPackagesParams
WithTimeout adds the timeout to the list packages params
func (*ListPackagesParams) WriteToRequest ¶
func (o *ListPackagesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListPackagesReader ¶
type ListPackagesReader struct {
// contains filtered or unexported fields
}
ListPackagesReader is a Reader for the ListPackages structure.
func (*ListPackagesReader) ReadResponse ¶
func (o *ListPackagesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- delete_package_parameters.go
- delete_package_responses.go
- deploy_package_parameters.go
- deploy_package_responses.go
- describe_package_parameters.go
- describe_package_responses.go
- get_upload_url_parameters.go
- get_upload_url_responses.go
- list_packages_parameters.go
- list_packages_responses.go
- service_runner_client.go