lockfile

package
v0.0.0-...-f51c1d0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 30, 2022 License: MIT Imports: 11 Imported by: 0

Documentation

Index

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

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

WithContext adds the context to the lockfile add lockfile params

func (*LockfileAddLockfileParams) WithDefaults

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

WithTimeout adds the timeout to the lockfile add lockfile params

func (*LockfileAddLockfileParams) WriteToRequest

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

WithContext adds the context to the lockfile delete lockfile params

func (*LockfileDeleteLockfileParams) WithDefaults

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

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

WithTimeout adds the timeout to the lockfile delete lockfile params

func (*LockfileDeleteLockfileParams) WriteToRequest

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 (*LockfileGetLockfileDetailOK) GetPayload

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

WithContext adds the context to the lockfile get lockfile detail params

func (*LockfileGetLockfileDetailParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the lockfile get lockfile detail params

func (*LockfileGetLockfileDetailParams) WithLockfileID

WithLockfileID adds the lockfileID to the lockfile get lockfile detail params

func (*LockfileGetLockfileDetailParams) WithTimeout

WithTimeout adds the timeout to the lockfile get lockfile detail params

func (*LockfileGetLockfileDetailParams) WriteToRequest

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

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

WithContext adds the context to the lockfile get lockfile list params

func (*LockfileGetLockfileListParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the lockfile get lockfile list params

func (*LockfileGetLockfileListParams) WithLimit

WithLimit adds the limit to the lockfile get lockfile list params

func (*LockfileGetLockfileListParams) WithOffset

WithOffset adds the offset to the lockfile get lockfile list params

func (*LockfileGetLockfileListParams) WithPage

WithPage adds the page to the lockfile get lockfile list params

func (*LockfileGetLockfileListParams) WithTimeout

WithTimeout adds the timeout to the lockfile get lockfile list params

func (*LockfileGetLockfileListParams) WriteToRequest

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

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

WithContext adds the context to the lockfile update lockfile params

func (*LockfileUpdateLockfileParams) WithDefaults

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

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

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

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL