Documentation
¶
Index ¶
- type Client
- func (a *Client) LockfileAddLockfile(params *LockfileAddLockfileParams, authInfo runtime.ClientAuthInfoWriter, ...) (*LockfileAddLockfileOK, error)
- func (a *Client) LockfileDeleteLockfile(params *LockfileDeleteLockfileParams, authInfo runtime.ClientAuthInfoWriter, ...) (*LockfileDeleteLockfileOK, error)
- func (a *Client) LockfileGetLockfileDetail(params *LockfileGetLockfileDetailParams, authInfo runtime.ClientAuthInfoWriter, ...) (*LockfileGetLockfileDetailOK, error)
- func (a *Client) LockfileGetLockfileList(params *LockfileGetLockfileListParams, authInfo runtime.ClientAuthInfoWriter, ...) (*LockfileGetLockfileListOK, error)
- func (a *Client) LockfileUpdateLockfile(params *LockfileUpdateLockfileParams, authInfo runtime.ClientAuthInfoWriter, ...) (*LockfileUpdateLockfileOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type LockfileAddLockfileOK
- type LockfileAddLockfileParams
- func NewLockfileAddLockfileParams() *LockfileAddLockfileParams
- func NewLockfileAddLockfileParamsWithContext(ctx context.Context) *LockfileAddLockfileParams
- func NewLockfileAddLockfileParamsWithHTTPClient(client *http.Client) *LockfileAddLockfileParams
- func NewLockfileAddLockfileParamsWithTimeout(timeout time.Duration) *LockfileAddLockfileParams
- func (o *LockfileAddLockfileParams) SetAddLockfileRequestBody(addLockfileRequestBody *models.LockfileAddLockfileRequestBody)
- func (o *LockfileAddLockfileParams) SetAuthorization(authorization *string)
- func (o *LockfileAddLockfileParams) SetContext(ctx context.Context)
- func (o *LockfileAddLockfileParams) SetDefaults()
- func (o *LockfileAddLockfileParams) SetHTTPClient(client *http.Client)
- func (o *LockfileAddLockfileParams) SetTimeout(timeout time.Duration)
- func (o *LockfileAddLockfileParams) WithAddLockfileRequestBody(addLockfileRequestBody *models.LockfileAddLockfileRequestBody) *LockfileAddLockfileParams
- func (o *LockfileAddLockfileParams) WithAuthorization(authorization *string) *LockfileAddLockfileParams
- func (o *LockfileAddLockfileParams) WithContext(ctx context.Context) *LockfileAddLockfileParams
- func (o *LockfileAddLockfileParams) WithDefaults() *LockfileAddLockfileParams
- func (o *LockfileAddLockfileParams) WithHTTPClient(client *http.Client) *LockfileAddLockfileParams
- func (o *LockfileAddLockfileParams) WithTimeout(timeout time.Duration) *LockfileAddLockfileParams
- func (o *LockfileAddLockfileParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type LockfileAddLockfileReader
- type LockfileDeleteLockfileOK
- type LockfileDeleteLockfileParams
- func NewLockfileDeleteLockfileParams() *LockfileDeleteLockfileParams
- func NewLockfileDeleteLockfileParamsWithContext(ctx context.Context) *LockfileDeleteLockfileParams
- func NewLockfileDeleteLockfileParamsWithHTTPClient(client *http.Client) *LockfileDeleteLockfileParams
- func NewLockfileDeleteLockfileParamsWithTimeout(timeout time.Duration) *LockfileDeleteLockfileParams
- func (o *LockfileDeleteLockfileParams) SetAuthorization(authorization *string)
- func (o *LockfileDeleteLockfileParams) SetContext(ctx context.Context)
- func (o *LockfileDeleteLockfileParams) SetDefaults()
- func (o *LockfileDeleteLockfileParams) SetHTTPClient(client *http.Client)
- func (o *LockfileDeleteLockfileParams) SetLockfileID(lockfileID int64)
- func (o *LockfileDeleteLockfileParams) SetTimeout(timeout time.Duration)
- func (o *LockfileDeleteLockfileParams) WithAuthorization(authorization *string) *LockfileDeleteLockfileParams
- func (o *LockfileDeleteLockfileParams) WithContext(ctx context.Context) *LockfileDeleteLockfileParams
- func (o *LockfileDeleteLockfileParams) WithDefaults() *LockfileDeleteLockfileParams
- func (o *LockfileDeleteLockfileParams) WithHTTPClient(client *http.Client) *LockfileDeleteLockfileParams
- func (o *LockfileDeleteLockfileParams) WithLockfileID(lockfileID int64) *LockfileDeleteLockfileParams
- func (o *LockfileDeleteLockfileParams) WithTimeout(timeout time.Duration) *LockfileDeleteLockfileParams
- func (o *LockfileDeleteLockfileParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type LockfileDeleteLockfileReader
- type LockfileGetLockfileDetailOK
- type LockfileGetLockfileDetailParams
- func NewLockfileGetLockfileDetailParams() *LockfileGetLockfileDetailParams
- func NewLockfileGetLockfileDetailParamsWithContext(ctx context.Context) *LockfileGetLockfileDetailParams
- func NewLockfileGetLockfileDetailParamsWithHTTPClient(client *http.Client) *LockfileGetLockfileDetailParams
- func NewLockfileGetLockfileDetailParamsWithTimeout(timeout time.Duration) *LockfileGetLockfileDetailParams
- func (o *LockfileGetLockfileDetailParams) SetAuthorization(authorization *string)
- func (o *LockfileGetLockfileDetailParams) SetContext(ctx context.Context)
- func (o *LockfileGetLockfileDetailParams) SetDefaults()
- func (o *LockfileGetLockfileDetailParams) SetHTTPClient(client *http.Client)
- func (o *LockfileGetLockfileDetailParams) SetLockfileID(lockfileID int64)
- func (o *LockfileGetLockfileDetailParams) SetTimeout(timeout time.Duration)
- func (o *LockfileGetLockfileDetailParams) WithAuthorization(authorization *string) *LockfileGetLockfileDetailParams
- func (o *LockfileGetLockfileDetailParams) WithContext(ctx context.Context) *LockfileGetLockfileDetailParams
- func (o *LockfileGetLockfileDetailParams) WithDefaults() *LockfileGetLockfileDetailParams
- func (o *LockfileGetLockfileDetailParams) WithHTTPClient(client *http.Client) *LockfileGetLockfileDetailParams
- func (o *LockfileGetLockfileDetailParams) WithLockfileID(lockfileID int64) *LockfileGetLockfileDetailParams
- func (o *LockfileGetLockfileDetailParams) WithTimeout(timeout time.Duration) *LockfileGetLockfileDetailParams
- func (o *LockfileGetLockfileDetailParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type LockfileGetLockfileDetailReader
- type LockfileGetLockfileListOK
- type LockfileGetLockfileListParams
- func NewLockfileGetLockfileListParams() *LockfileGetLockfileListParams
- func NewLockfileGetLockfileListParamsWithContext(ctx context.Context) *LockfileGetLockfileListParams
- func NewLockfileGetLockfileListParamsWithHTTPClient(client *http.Client) *LockfileGetLockfileListParams
- func NewLockfileGetLockfileListParamsWithTimeout(timeout time.Duration) *LockfileGetLockfileListParams
- func (o *LockfileGetLockfileListParams) SetAuthorization(authorization *string)
- func (o *LockfileGetLockfileListParams) SetContext(ctx context.Context)
- func (o *LockfileGetLockfileListParams) SetDefaults()
- func (o *LockfileGetLockfileListParams) SetFilterPath(filterPath *string)
- func (o *LockfileGetLockfileListParams) SetFilterServerID(filterServerID *int64)
- func (o *LockfileGetLockfileListParams) SetHTTPClient(client *http.Client)
- func (o *LockfileGetLockfileListParams) SetLimit(limit *int64)
- func (o *LockfileGetLockfileListParams) SetOffset(offset *int64)
- func (o *LockfileGetLockfileListParams) SetPage(page *int64)
- func (o *LockfileGetLockfileListParams) SetTimeout(timeout time.Duration)
- func (o *LockfileGetLockfileListParams) WithAuthorization(authorization *string) *LockfileGetLockfileListParams
- func (o *LockfileGetLockfileListParams) WithContext(ctx context.Context) *LockfileGetLockfileListParams
- func (o *LockfileGetLockfileListParams) WithDefaults() *LockfileGetLockfileListParams
- func (o *LockfileGetLockfileListParams) WithFilterPath(filterPath *string) *LockfileGetLockfileListParams
- func (o *LockfileGetLockfileListParams) WithFilterServerID(filterServerID *int64) *LockfileGetLockfileListParams
- func (o *LockfileGetLockfileListParams) WithHTTPClient(client *http.Client) *LockfileGetLockfileListParams
- func (o *LockfileGetLockfileListParams) WithLimit(limit *int64) *LockfileGetLockfileListParams
- func (o *LockfileGetLockfileListParams) WithOffset(offset *int64) *LockfileGetLockfileListParams
- func (o *LockfileGetLockfileListParams) WithPage(page *int64) *LockfileGetLockfileListParams
- func (o *LockfileGetLockfileListParams) WithTimeout(timeout time.Duration) *LockfileGetLockfileListParams
- func (o *LockfileGetLockfileListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type LockfileGetLockfileListReader
- type LockfileUpdateLockfileOK
- type LockfileUpdateLockfileParams
- func NewLockfileUpdateLockfileParams() *LockfileUpdateLockfileParams
- func NewLockfileUpdateLockfileParamsWithContext(ctx context.Context) *LockfileUpdateLockfileParams
- func NewLockfileUpdateLockfileParamsWithHTTPClient(client *http.Client) *LockfileUpdateLockfileParams
- func NewLockfileUpdateLockfileParamsWithTimeout(timeout time.Duration) *LockfileUpdateLockfileParams
- func (o *LockfileUpdateLockfileParams) SetAuthorization(authorization *string)
- func (o *LockfileUpdateLockfileParams) SetContext(ctx context.Context)
- func (o *LockfileUpdateLockfileParams) SetDefaults()
- func (o *LockfileUpdateLockfileParams) SetHTTPClient(client *http.Client)
- func (o *LockfileUpdateLockfileParams) SetLockfileID(lockfileID int64)
- func (o *LockfileUpdateLockfileParams) SetTimeout(timeout time.Duration)
- func (o *LockfileUpdateLockfileParams) SetUpdateLockfileRequestBody(updateLockfileRequestBody *models.LockfileUpdateLockfileRequestBody)
- func (o *LockfileUpdateLockfileParams) WithAuthorization(authorization *string) *LockfileUpdateLockfileParams
- func (o *LockfileUpdateLockfileParams) WithContext(ctx context.Context) *LockfileUpdateLockfileParams
- func (o *LockfileUpdateLockfileParams) WithDefaults() *LockfileUpdateLockfileParams
- func (o *LockfileUpdateLockfileParams) WithHTTPClient(client *http.Client) *LockfileUpdateLockfileParams
- func (o *LockfileUpdateLockfileParams) WithLockfileID(lockfileID int64) *LockfileUpdateLockfileParams
- func (o *LockfileUpdateLockfileParams) WithTimeout(timeout time.Duration) *LockfileUpdateLockfileParams
- func (o *LockfileUpdateLockfileParams) WithUpdateLockfileRequestBody(updateLockfileRequestBody *models.LockfileUpdateLockfileRequestBody) *LockfileUpdateLockfileParams
- func (o *LockfileUpdateLockfileParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type LockfileUpdateLockfileReader
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 lockfile API
func (*Client) LockfileAddLockfile ¶
func (a *Client) LockfileAddLockfile(params *LockfileAddLockfileParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*LockfileAddLockfileOK, error)
LockfileAddLockfile adds lockfile lockfile
add lockfile
func (*Client) LockfileDeleteLockfile ¶
func (a *Client) LockfileDeleteLockfile(params *LockfileDeleteLockfileParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*LockfileDeleteLockfileOK, error)
LockfileDeleteLockfile deletes lockfile lockfile
lockfile delete
func (*Client) LockfileGetLockfileDetail ¶
func (a *Client) LockfileGetLockfileDetail(params *LockfileGetLockfileDetailParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*LockfileGetLockfileDetailOK, error)
LockfileGetLockfileDetail gets lockfile detail lockfile
lockfile detail
func (*Client) LockfileGetLockfileList ¶
func (a *Client) LockfileGetLockfileList(params *LockfileGetLockfileListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*LockfileGetLockfileListOK, error)
LockfileGetLockfileList gets lockfile list lockfile
lockfile list
func (*Client) LockfileUpdateLockfile ¶
func (a *Client) LockfileUpdateLockfile(params *LockfileUpdateLockfileParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*LockfileUpdateLockfileOK, error)
LockfileUpdateLockfile updates lockfile lockfile
update lockfile
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 {
LockfileAddLockfile(params *LockfileAddLockfileParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*LockfileAddLockfileOK, error)
LockfileDeleteLockfile(params *LockfileDeleteLockfileParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*LockfileDeleteLockfileOK, error)
LockfileGetLockfileDetail(params *LockfileGetLockfileDetailParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*LockfileGetLockfileDetailOK, error)
LockfileGetLockfileList(params *LockfileGetLockfileListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*LockfileGetLockfileListOK, error)
LockfileUpdateLockfile(params *LockfileUpdateLockfileParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*LockfileUpdateLockfileOK, 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 lockfile API client.
type LockfileAddLockfileOK ¶
type LockfileAddLockfileOK struct {
Payload *models.LockfileAddLockfileResponseBody
}
LockfileAddLockfileOK describes a response with status code 200, with default header values.
OK response.
func NewLockfileAddLockfileOK ¶
func NewLockfileAddLockfileOK() *LockfileAddLockfileOK
NewLockfileAddLockfileOK creates a LockfileAddLockfileOK with default headers values
func (*LockfileAddLockfileOK) Error ¶
func (o *LockfileAddLockfileOK) Error() string
func (*LockfileAddLockfileOK) GetPayload ¶
func (o *LockfileAddLockfileOK) GetPayload() *models.LockfileAddLockfileResponseBody
type LockfileAddLockfileParams ¶
type LockfileAddLockfileParams struct {
// AddLockfileRequestBody.
AddLockfileRequestBody *models.LockfileAddLockfileRequestBody
/* Authorization.
api key auth
*/
Authorization *string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
LockfileAddLockfileParams contains all the parameters to send to the API endpoint
for the lockfile add lockfile operation. Typically these are written to a http.Request.
func NewLockfileAddLockfileParams ¶
func NewLockfileAddLockfileParams() *LockfileAddLockfileParams
NewLockfileAddLockfileParams creates a new LockfileAddLockfileParams 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 NewLockfileAddLockfileParamsWithContext ¶
func NewLockfileAddLockfileParamsWithContext(ctx context.Context) *LockfileAddLockfileParams
NewLockfileAddLockfileParamsWithContext creates a new LockfileAddLockfileParams object with the ability to set a context for a request.
func NewLockfileAddLockfileParamsWithHTTPClient ¶
func NewLockfileAddLockfileParamsWithHTTPClient(client *http.Client) *LockfileAddLockfileParams
NewLockfileAddLockfileParamsWithHTTPClient creates a new LockfileAddLockfileParams object with the ability to set a custom HTTPClient for a request.
func NewLockfileAddLockfileParamsWithTimeout ¶
func NewLockfileAddLockfileParamsWithTimeout(timeout time.Duration) *LockfileAddLockfileParams
NewLockfileAddLockfileParamsWithTimeout creates a new LockfileAddLockfileParams object with the ability to set a timeout on a request.
func (*LockfileAddLockfileParams) SetAddLockfileRequestBody ¶
func (o *LockfileAddLockfileParams) SetAddLockfileRequestBody(addLockfileRequestBody *models.LockfileAddLockfileRequestBody)
SetAddLockfileRequestBody adds the addLockfileRequestBody to the lockfile add lockfile params
func (*LockfileAddLockfileParams) SetAuthorization ¶
func (o *LockfileAddLockfileParams) SetAuthorization(authorization *string)
SetAuthorization adds the authorization to the lockfile add lockfile params
func (*LockfileAddLockfileParams) SetContext ¶
func (o *LockfileAddLockfileParams) SetContext(ctx context.Context)
SetContext adds the context to the lockfile add lockfile params
func (*LockfileAddLockfileParams) SetDefaults ¶
func (o *LockfileAddLockfileParams) SetDefaults()
SetDefaults hydrates default values in the lockfile add lockfile params (not the query body).
All values with no default are reset to their zero value.
func (*LockfileAddLockfileParams) SetHTTPClient ¶
func (o *LockfileAddLockfileParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the lockfile add lockfile params
func (*LockfileAddLockfileParams) SetTimeout ¶
func (o *LockfileAddLockfileParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the lockfile add lockfile params
func (*LockfileAddLockfileParams) WithAddLockfileRequestBody ¶
func (o *LockfileAddLockfileParams) WithAddLockfileRequestBody(addLockfileRequestBody *models.LockfileAddLockfileRequestBody) *LockfileAddLockfileParams
WithAddLockfileRequestBody adds the addLockfileRequestBody to the lockfile add lockfile params
func (*LockfileAddLockfileParams) WithAuthorization ¶
func (o *LockfileAddLockfileParams) WithAuthorization(authorization *string) *LockfileAddLockfileParams
WithAuthorization adds the authorization to the lockfile add lockfile params
func (*LockfileAddLockfileParams) WithContext ¶
func (o *LockfileAddLockfileParams) WithContext(ctx context.Context) *LockfileAddLockfileParams
WithContext adds the context to the lockfile add lockfile params
func (*LockfileAddLockfileParams) WithDefaults ¶
func (o *LockfileAddLockfileParams) WithDefaults() *LockfileAddLockfileParams
WithDefaults hydrates default values in the lockfile add lockfile params (not the query body).
All values with no default are reset to their zero value.
func (*LockfileAddLockfileParams) WithHTTPClient ¶
func (o *LockfileAddLockfileParams) WithHTTPClient(client *http.Client) *LockfileAddLockfileParams
WithHTTPClient adds the HTTPClient to the lockfile add lockfile params
func (*LockfileAddLockfileParams) WithTimeout ¶
func (o *LockfileAddLockfileParams) WithTimeout(timeout time.Duration) *LockfileAddLockfileParams
WithTimeout adds the timeout to the lockfile add lockfile params
func (*LockfileAddLockfileParams) WriteToRequest ¶
func (o *LockfileAddLockfileParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type LockfileAddLockfileReader ¶
type LockfileAddLockfileReader struct {
// contains filtered or unexported fields
}
LockfileAddLockfileReader is a Reader for the LockfileAddLockfile structure.
func (*LockfileAddLockfileReader) ReadResponse ¶
func (o *LockfileAddLockfileReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type LockfileDeleteLockfileOK ¶
type LockfileDeleteLockfileOK struct {
}
LockfileDeleteLockfileOK describes a response with status code 200, with default header values.
OK response.
func NewLockfileDeleteLockfileOK ¶
func NewLockfileDeleteLockfileOK() *LockfileDeleteLockfileOK
NewLockfileDeleteLockfileOK creates a LockfileDeleteLockfileOK with default headers values
func (*LockfileDeleteLockfileOK) Error ¶
func (o *LockfileDeleteLockfileOK) Error() string
type LockfileDeleteLockfileParams ¶
type LockfileDeleteLockfileParams struct {
/* Authorization.
api key auth
*/
Authorization *string
/* LockfileID.
Lockfile ID
Format: int64
*/
LockfileID int64
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
LockfileDeleteLockfileParams contains all the parameters to send to the API endpoint
for the lockfile delete lockfile operation. Typically these are written to a http.Request.
func NewLockfileDeleteLockfileParams ¶
func NewLockfileDeleteLockfileParams() *LockfileDeleteLockfileParams
NewLockfileDeleteLockfileParams creates a new LockfileDeleteLockfileParams 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 NewLockfileDeleteLockfileParamsWithContext ¶
func NewLockfileDeleteLockfileParamsWithContext(ctx context.Context) *LockfileDeleteLockfileParams
NewLockfileDeleteLockfileParamsWithContext creates a new LockfileDeleteLockfileParams object with the ability to set a context for a request.
func NewLockfileDeleteLockfileParamsWithHTTPClient ¶
func NewLockfileDeleteLockfileParamsWithHTTPClient(client *http.Client) *LockfileDeleteLockfileParams
NewLockfileDeleteLockfileParamsWithHTTPClient creates a new LockfileDeleteLockfileParams object with the ability to set a custom HTTPClient for a request.
func NewLockfileDeleteLockfileParamsWithTimeout ¶
func NewLockfileDeleteLockfileParamsWithTimeout(timeout time.Duration) *LockfileDeleteLockfileParams
NewLockfileDeleteLockfileParamsWithTimeout creates a new LockfileDeleteLockfileParams object with the ability to set a timeout on a request.
func (*LockfileDeleteLockfileParams) SetAuthorization ¶
func (o *LockfileDeleteLockfileParams) SetAuthorization(authorization *string)
SetAuthorization adds the authorization to the lockfile delete lockfile params
func (*LockfileDeleteLockfileParams) SetContext ¶
func (o *LockfileDeleteLockfileParams) SetContext(ctx context.Context)
SetContext adds the context to the lockfile delete lockfile params
func (*LockfileDeleteLockfileParams) SetDefaults ¶
func (o *LockfileDeleteLockfileParams) SetDefaults()
SetDefaults hydrates default values in the lockfile delete lockfile params (not the query body).
All values with no default are reset to their zero value.
func (*LockfileDeleteLockfileParams) SetHTTPClient ¶
func (o *LockfileDeleteLockfileParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the lockfile delete lockfile params
func (*LockfileDeleteLockfileParams) SetLockfileID ¶
func (o *LockfileDeleteLockfileParams) SetLockfileID(lockfileID int64)
SetLockfileID adds the lockfileId to the lockfile delete lockfile params
func (*LockfileDeleteLockfileParams) SetTimeout ¶
func (o *LockfileDeleteLockfileParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the lockfile delete lockfile params
func (*LockfileDeleteLockfileParams) WithAuthorization ¶
func (o *LockfileDeleteLockfileParams) WithAuthorization(authorization *string) *LockfileDeleteLockfileParams
WithAuthorization adds the authorization to the lockfile delete lockfile params
func (*LockfileDeleteLockfileParams) WithContext ¶
func (o *LockfileDeleteLockfileParams) WithContext(ctx context.Context) *LockfileDeleteLockfileParams
WithContext adds the context to the lockfile delete lockfile params
func (*LockfileDeleteLockfileParams) WithDefaults ¶
func (o *LockfileDeleteLockfileParams) WithDefaults() *LockfileDeleteLockfileParams
WithDefaults hydrates default values in the lockfile delete lockfile params (not the query body).
All values with no default are reset to their zero value.
func (*LockfileDeleteLockfileParams) WithHTTPClient ¶
func (o *LockfileDeleteLockfileParams) WithHTTPClient(client *http.Client) *LockfileDeleteLockfileParams
WithHTTPClient adds the HTTPClient to the lockfile delete lockfile params
func (*LockfileDeleteLockfileParams) WithLockfileID ¶
func (o *LockfileDeleteLockfileParams) WithLockfileID(lockfileID int64) *LockfileDeleteLockfileParams
WithLockfileID adds the lockfileID to the lockfile delete lockfile params
func (*LockfileDeleteLockfileParams) WithTimeout ¶
func (o *LockfileDeleteLockfileParams) WithTimeout(timeout time.Duration) *LockfileDeleteLockfileParams
WithTimeout adds the timeout to the lockfile delete lockfile params
func (*LockfileDeleteLockfileParams) WriteToRequest ¶
func (o *LockfileDeleteLockfileParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type LockfileDeleteLockfileReader ¶
type LockfileDeleteLockfileReader struct {
// contains filtered or unexported fields
}
LockfileDeleteLockfileReader is a Reader for the LockfileDeleteLockfile structure.
func (*LockfileDeleteLockfileReader) ReadResponse ¶
func (o *LockfileDeleteLockfileReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type LockfileGetLockfileDetailOK ¶
type LockfileGetLockfileDetailOK struct {
Payload *models.LockfileGetLockfileDetailResponseBody
}
LockfileGetLockfileDetailOK describes a response with status code 200, with default header values.
OK response.
func NewLockfileGetLockfileDetailOK ¶
func NewLockfileGetLockfileDetailOK() *LockfileGetLockfileDetailOK
NewLockfileGetLockfileDetailOK creates a LockfileGetLockfileDetailOK with default headers values
func (*LockfileGetLockfileDetailOK) Error ¶
func (o *LockfileGetLockfileDetailOK) Error() string
func (*LockfileGetLockfileDetailOK) GetPayload ¶
func (o *LockfileGetLockfileDetailOK) GetPayload() *models.LockfileGetLockfileDetailResponseBody
type LockfileGetLockfileDetailParams ¶
type LockfileGetLockfileDetailParams struct {
/* Authorization.
api key auth
*/
Authorization *string
/* LockfileID.
Lockfile ID
Format: int64
*/
LockfileID int64
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
LockfileGetLockfileDetailParams contains all the parameters to send to the API endpoint
for the lockfile get lockfile detail operation. Typically these are written to a http.Request.
func NewLockfileGetLockfileDetailParams ¶
func NewLockfileGetLockfileDetailParams() *LockfileGetLockfileDetailParams
NewLockfileGetLockfileDetailParams creates a new LockfileGetLockfileDetailParams 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 NewLockfileGetLockfileDetailParamsWithContext ¶
func NewLockfileGetLockfileDetailParamsWithContext(ctx context.Context) *LockfileGetLockfileDetailParams
NewLockfileGetLockfileDetailParamsWithContext creates a new LockfileGetLockfileDetailParams object with the ability to set a context for a request.
func NewLockfileGetLockfileDetailParamsWithHTTPClient ¶
func NewLockfileGetLockfileDetailParamsWithHTTPClient(client *http.Client) *LockfileGetLockfileDetailParams
NewLockfileGetLockfileDetailParamsWithHTTPClient creates a new LockfileGetLockfileDetailParams object with the ability to set a custom HTTPClient for a request.
func NewLockfileGetLockfileDetailParamsWithTimeout ¶
func NewLockfileGetLockfileDetailParamsWithTimeout(timeout time.Duration) *LockfileGetLockfileDetailParams
NewLockfileGetLockfileDetailParamsWithTimeout creates a new LockfileGetLockfileDetailParams object with the ability to set a timeout on a request.
func (*LockfileGetLockfileDetailParams) SetAuthorization ¶
func (o *LockfileGetLockfileDetailParams) SetAuthorization(authorization *string)
SetAuthorization adds the authorization to the lockfile get lockfile detail params
func (*LockfileGetLockfileDetailParams) SetContext ¶
func (o *LockfileGetLockfileDetailParams) SetContext(ctx context.Context)
SetContext adds the context to the lockfile get lockfile detail params
func (*LockfileGetLockfileDetailParams) SetDefaults ¶
func (o *LockfileGetLockfileDetailParams) SetDefaults()
SetDefaults hydrates default values in the lockfile get lockfile detail params (not the query body).
All values with no default are reset to their zero value.
func (*LockfileGetLockfileDetailParams) SetHTTPClient ¶
func (o *LockfileGetLockfileDetailParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the lockfile get lockfile detail params
func (*LockfileGetLockfileDetailParams) SetLockfileID ¶
func (o *LockfileGetLockfileDetailParams) SetLockfileID(lockfileID int64)
SetLockfileID adds the lockfileId to the lockfile get lockfile detail params
func (*LockfileGetLockfileDetailParams) SetTimeout ¶
func (o *LockfileGetLockfileDetailParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the lockfile get lockfile detail params
func (*LockfileGetLockfileDetailParams) WithAuthorization ¶
func (o *LockfileGetLockfileDetailParams) WithAuthorization(authorization *string) *LockfileGetLockfileDetailParams
WithAuthorization adds the authorization to the lockfile get lockfile detail params
func (*LockfileGetLockfileDetailParams) WithContext ¶
func (o *LockfileGetLockfileDetailParams) WithContext(ctx context.Context) *LockfileGetLockfileDetailParams
WithContext adds the context to the lockfile get lockfile detail params
func (*LockfileGetLockfileDetailParams) WithDefaults ¶
func (o *LockfileGetLockfileDetailParams) WithDefaults() *LockfileGetLockfileDetailParams
WithDefaults hydrates default values in the lockfile get lockfile detail params (not the query body).
All values with no default are reset to their zero value.
func (*LockfileGetLockfileDetailParams) WithHTTPClient ¶
func (o *LockfileGetLockfileDetailParams) WithHTTPClient(client *http.Client) *LockfileGetLockfileDetailParams
WithHTTPClient adds the HTTPClient to the lockfile get lockfile detail params
func (*LockfileGetLockfileDetailParams) WithLockfileID ¶
func (o *LockfileGetLockfileDetailParams) WithLockfileID(lockfileID int64) *LockfileGetLockfileDetailParams
WithLockfileID adds the lockfileID to the lockfile get lockfile detail params
func (*LockfileGetLockfileDetailParams) WithTimeout ¶
func (o *LockfileGetLockfileDetailParams) WithTimeout(timeout time.Duration) *LockfileGetLockfileDetailParams
WithTimeout adds the timeout to the lockfile get lockfile detail params
func (*LockfileGetLockfileDetailParams) WriteToRequest ¶
func (o *LockfileGetLockfileDetailParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type LockfileGetLockfileDetailReader ¶
type LockfileGetLockfileDetailReader struct {
// contains filtered or unexported fields
}
LockfileGetLockfileDetailReader is a Reader for the LockfileGetLockfileDetail structure.
func (*LockfileGetLockfileDetailReader) ReadResponse ¶
func (o *LockfileGetLockfileDetailReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type LockfileGetLockfileListOK ¶
type LockfileGetLockfileListOK struct {
Payload *models.LockfileGetLockfileListResponseBody
}
LockfileGetLockfileListOK describes a response with status code 200, with default header values.
OK response.
func NewLockfileGetLockfileListOK ¶
func NewLockfileGetLockfileListOK() *LockfileGetLockfileListOK
NewLockfileGetLockfileListOK creates a LockfileGetLockfileListOK with default headers values
func (*LockfileGetLockfileListOK) Error ¶
func (o *LockfileGetLockfileListOK) Error() string
func (*LockfileGetLockfileListOK) GetPayload ¶
func (o *LockfileGetLockfileListOK) GetPayload() *models.LockfileGetLockfileListResponseBody
type LockfileGetLockfileListParams ¶
type LockfileGetLockfileListParams struct {
/* Authorization.
api key auth
*/
Authorization *string
/* FilterPath.
Path filter
*/
FilterPath *string
/* FilterServerID.
ServerID filter
Format: int64
*/
FilterServerID *int64
/* Limit.
Limit
Default: 20
*/
Limit *int64
/* Offset.
Offset
*/
Offset *int64
/* Page.
Page Number
Default: 1
*/
Page *int64
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
LockfileGetLockfileListParams contains all the parameters to send to the API endpoint
for the lockfile get lockfile list operation. Typically these are written to a http.Request.
func NewLockfileGetLockfileListParams ¶
func NewLockfileGetLockfileListParams() *LockfileGetLockfileListParams
NewLockfileGetLockfileListParams creates a new LockfileGetLockfileListParams 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 NewLockfileGetLockfileListParamsWithContext ¶
func NewLockfileGetLockfileListParamsWithContext(ctx context.Context) *LockfileGetLockfileListParams
NewLockfileGetLockfileListParamsWithContext creates a new LockfileGetLockfileListParams object with the ability to set a context for a request.
func NewLockfileGetLockfileListParamsWithHTTPClient ¶
func NewLockfileGetLockfileListParamsWithHTTPClient(client *http.Client) *LockfileGetLockfileListParams
NewLockfileGetLockfileListParamsWithHTTPClient creates a new LockfileGetLockfileListParams object with the ability to set a custom HTTPClient for a request.
func NewLockfileGetLockfileListParamsWithTimeout ¶
func NewLockfileGetLockfileListParamsWithTimeout(timeout time.Duration) *LockfileGetLockfileListParams
NewLockfileGetLockfileListParamsWithTimeout creates a new LockfileGetLockfileListParams object with the ability to set a timeout on a request.
func (*LockfileGetLockfileListParams) SetAuthorization ¶
func (o *LockfileGetLockfileListParams) SetAuthorization(authorization *string)
SetAuthorization adds the authorization to the lockfile get lockfile list params
func (*LockfileGetLockfileListParams) SetContext ¶
func (o *LockfileGetLockfileListParams) SetContext(ctx context.Context)
SetContext adds the context to the lockfile get lockfile list params
func (*LockfileGetLockfileListParams) SetDefaults ¶
func (o *LockfileGetLockfileListParams) SetDefaults()
SetDefaults hydrates default values in the lockfile get lockfile list params (not the query body).
All values with no default are reset to their zero value.
func (*LockfileGetLockfileListParams) SetFilterPath ¶
func (o *LockfileGetLockfileListParams) SetFilterPath(filterPath *string)
SetFilterPath adds the filterPath to the lockfile get lockfile list params
func (*LockfileGetLockfileListParams) SetFilterServerID ¶
func (o *LockfileGetLockfileListParams) SetFilterServerID(filterServerID *int64)
SetFilterServerID adds the filterServerId to the lockfile get lockfile list params
func (*LockfileGetLockfileListParams) SetHTTPClient ¶
func (o *LockfileGetLockfileListParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the lockfile get lockfile list params
func (*LockfileGetLockfileListParams) SetLimit ¶
func (o *LockfileGetLockfileListParams) SetLimit(limit *int64)
SetLimit adds the limit to the lockfile get lockfile list params
func (*LockfileGetLockfileListParams) SetOffset ¶
func (o *LockfileGetLockfileListParams) SetOffset(offset *int64)
SetOffset adds the offset to the lockfile get lockfile list params
func (*LockfileGetLockfileListParams) SetPage ¶
func (o *LockfileGetLockfileListParams) SetPage(page *int64)
SetPage adds the page to the lockfile get lockfile list params
func (*LockfileGetLockfileListParams) SetTimeout ¶
func (o *LockfileGetLockfileListParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the lockfile get lockfile list params
func (*LockfileGetLockfileListParams) WithAuthorization ¶
func (o *LockfileGetLockfileListParams) WithAuthorization(authorization *string) *LockfileGetLockfileListParams
WithAuthorization adds the authorization to the lockfile get lockfile list params
func (*LockfileGetLockfileListParams) WithContext ¶
func (o *LockfileGetLockfileListParams) WithContext(ctx context.Context) *LockfileGetLockfileListParams
WithContext adds the context to the lockfile get lockfile list params
func (*LockfileGetLockfileListParams) WithDefaults ¶
func (o *LockfileGetLockfileListParams) WithDefaults() *LockfileGetLockfileListParams
WithDefaults hydrates default values in the lockfile get lockfile list params (not the query body).
All values with no default are reset to their zero value.
func (*LockfileGetLockfileListParams) WithFilterPath ¶
func (o *LockfileGetLockfileListParams) WithFilterPath(filterPath *string) *LockfileGetLockfileListParams
WithFilterPath adds the filterPath to the lockfile get lockfile list params
func (*LockfileGetLockfileListParams) WithFilterServerID ¶
func (o *LockfileGetLockfileListParams) WithFilterServerID(filterServerID *int64) *LockfileGetLockfileListParams
WithFilterServerID adds the filterServerID to the lockfile get lockfile list params
func (*LockfileGetLockfileListParams) WithHTTPClient ¶
func (o *LockfileGetLockfileListParams) WithHTTPClient(client *http.Client) *LockfileGetLockfileListParams
WithHTTPClient adds the HTTPClient to the lockfile get lockfile list params
func (*LockfileGetLockfileListParams) WithLimit ¶
func (o *LockfileGetLockfileListParams) WithLimit(limit *int64) *LockfileGetLockfileListParams
WithLimit adds the limit to the lockfile get lockfile list params
func (*LockfileGetLockfileListParams) WithOffset ¶
func (o *LockfileGetLockfileListParams) WithOffset(offset *int64) *LockfileGetLockfileListParams
WithOffset adds the offset to the lockfile get lockfile list params
func (*LockfileGetLockfileListParams) WithPage ¶
func (o *LockfileGetLockfileListParams) WithPage(page *int64) *LockfileGetLockfileListParams
WithPage adds the page to the lockfile get lockfile list params
func (*LockfileGetLockfileListParams) WithTimeout ¶
func (o *LockfileGetLockfileListParams) WithTimeout(timeout time.Duration) *LockfileGetLockfileListParams
WithTimeout adds the timeout to the lockfile get lockfile list params
func (*LockfileGetLockfileListParams) WriteToRequest ¶
func (o *LockfileGetLockfileListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type LockfileGetLockfileListReader ¶
type LockfileGetLockfileListReader struct {
// contains filtered or unexported fields
}
LockfileGetLockfileListReader is a Reader for the LockfileGetLockfileList structure.
func (*LockfileGetLockfileListReader) ReadResponse ¶
func (o *LockfileGetLockfileListReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type LockfileUpdateLockfileOK ¶
type LockfileUpdateLockfileOK struct {
Payload *models.LockfileUpdateLockfileResponseBody
}
LockfileUpdateLockfileOK describes a response with status code 200, with default header values.
OK response.
func NewLockfileUpdateLockfileOK ¶
func NewLockfileUpdateLockfileOK() *LockfileUpdateLockfileOK
NewLockfileUpdateLockfileOK creates a LockfileUpdateLockfileOK with default headers values
func (*LockfileUpdateLockfileOK) Error ¶
func (o *LockfileUpdateLockfileOK) Error() string
func (*LockfileUpdateLockfileOK) GetPayload ¶
func (o *LockfileUpdateLockfileOK) GetPayload() *models.LockfileUpdateLockfileResponseBody
type LockfileUpdateLockfileParams ¶
type LockfileUpdateLockfileParams struct {
/* Authorization.
api key auth
*/
Authorization *string
// UpdateLockfileRequestBody.
UpdateLockfileRequestBody *models.LockfileUpdateLockfileRequestBody
/* LockfileID.
Lockfile ID
Format: int64
*/
LockfileID int64
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
LockfileUpdateLockfileParams contains all the parameters to send to the API endpoint
for the lockfile update lockfile operation. Typically these are written to a http.Request.
func NewLockfileUpdateLockfileParams ¶
func NewLockfileUpdateLockfileParams() *LockfileUpdateLockfileParams
NewLockfileUpdateLockfileParams creates a new LockfileUpdateLockfileParams 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 NewLockfileUpdateLockfileParamsWithContext ¶
func NewLockfileUpdateLockfileParamsWithContext(ctx context.Context) *LockfileUpdateLockfileParams
NewLockfileUpdateLockfileParamsWithContext creates a new LockfileUpdateLockfileParams object with the ability to set a context for a request.
func NewLockfileUpdateLockfileParamsWithHTTPClient ¶
func NewLockfileUpdateLockfileParamsWithHTTPClient(client *http.Client) *LockfileUpdateLockfileParams
NewLockfileUpdateLockfileParamsWithHTTPClient creates a new LockfileUpdateLockfileParams object with the ability to set a custom HTTPClient for a request.
func NewLockfileUpdateLockfileParamsWithTimeout ¶
func NewLockfileUpdateLockfileParamsWithTimeout(timeout time.Duration) *LockfileUpdateLockfileParams
NewLockfileUpdateLockfileParamsWithTimeout creates a new LockfileUpdateLockfileParams object with the ability to set a timeout on a request.
func (*LockfileUpdateLockfileParams) SetAuthorization ¶
func (o *LockfileUpdateLockfileParams) SetAuthorization(authorization *string)
SetAuthorization adds the authorization to the lockfile update lockfile params
func (*LockfileUpdateLockfileParams) SetContext ¶
func (o *LockfileUpdateLockfileParams) SetContext(ctx context.Context)
SetContext adds the context to the lockfile update lockfile params
func (*LockfileUpdateLockfileParams) SetDefaults ¶
func (o *LockfileUpdateLockfileParams) SetDefaults()
SetDefaults hydrates default values in the lockfile update lockfile params (not the query body).
All values with no default are reset to their zero value.
func (*LockfileUpdateLockfileParams) SetHTTPClient ¶
func (o *LockfileUpdateLockfileParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the lockfile update lockfile params
func (*LockfileUpdateLockfileParams) SetLockfileID ¶
func (o *LockfileUpdateLockfileParams) SetLockfileID(lockfileID int64)
SetLockfileID adds the lockfileId to the lockfile update lockfile params
func (*LockfileUpdateLockfileParams) SetTimeout ¶
func (o *LockfileUpdateLockfileParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the lockfile update lockfile params
func (*LockfileUpdateLockfileParams) SetUpdateLockfileRequestBody ¶
func (o *LockfileUpdateLockfileParams) SetUpdateLockfileRequestBody(updateLockfileRequestBody *models.LockfileUpdateLockfileRequestBody)
SetUpdateLockfileRequestBody adds the updateLockfileRequestBody to the lockfile update lockfile params
func (*LockfileUpdateLockfileParams) WithAuthorization ¶
func (o *LockfileUpdateLockfileParams) WithAuthorization(authorization *string) *LockfileUpdateLockfileParams
WithAuthorization adds the authorization to the lockfile update lockfile params
func (*LockfileUpdateLockfileParams) WithContext ¶
func (o *LockfileUpdateLockfileParams) WithContext(ctx context.Context) *LockfileUpdateLockfileParams
WithContext adds the context to the lockfile update lockfile params
func (*LockfileUpdateLockfileParams) WithDefaults ¶
func (o *LockfileUpdateLockfileParams) WithDefaults() *LockfileUpdateLockfileParams
WithDefaults hydrates default values in the lockfile update lockfile params (not the query body).
All values with no default are reset to their zero value.
func (*LockfileUpdateLockfileParams) WithHTTPClient ¶
func (o *LockfileUpdateLockfileParams) WithHTTPClient(client *http.Client) *LockfileUpdateLockfileParams
WithHTTPClient adds the HTTPClient to the lockfile update lockfile params
func (*LockfileUpdateLockfileParams) WithLockfileID ¶
func (o *LockfileUpdateLockfileParams) WithLockfileID(lockfileID int64) *LockfileUpdateLockfileParams
WithLockfileID adds the lockfileID to the lockfile update lockfile params
func (*LockfileUpdateLockfileParams) WithTimeout ¶
func (o *LockfileUpdateLockfileParams) WithTimeout(timeout time.Duration) *LockfileUpdateLockfileParams
WithTimeout adds the timeout to the lockfile update lockfile params
func (*LockfileUpdateLockfileParams) WithUpdateLockfileRequestBody ¶
func (o *LockfileUpdateLockfileParams) WithUpdateLockfileRequestBody(updateLockfileRequestBody *models.LockfileUpdateLockfileRequestBody) *LockfileUpdateLockfileParams
WithUpdateLockfileRequestBody adds the updateLockfileRequestBody to the lockfile update lockfile params
func (*LockfileUpdateLockfileParams) WriteToRequest ¶
func (o *LockfileUpdateLockfileParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type LockfileUpdateLockfileReader ¶
type LockfileUpdateLockfileReader struct {
// contains filtered or unexported fields
}
LockfileUpdateLockfileReader is a Reader for the LockfileUpdateLockfile structure.
func (*LockfileUpdateLockfileReader) ReadResponse ¶
func (o *LockfileUpdateLockfileReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files
¶
- lockfile_add_lockfile_parameters.go
- lockfile_add_lockfile_responses.go
- lockfile_client.go
- lockfile_delete_lockfile_parameters.go
- lockfile_delete_lockfile_responses.go
- lockfile_get_lockfile_detail_parameters.go
- lockfile_get_lockfile_detail_responses.go
- lockfile_get_lockfile_list_parameters.go
- lockfile_get_lockfile_list_responses.go
- lockfile_update_lockfile_parameters.go
- lockfile_update_lockfile_responses.go