credentials

package
v0.2.0-alpha Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2025 License: Apache-2.0 Imports: 13 Imported by: 2

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 credentials API

func (*Client) CreateCredentials added in v0.1.5

func (a *Client) CreateCredentials(params *CreateCredentialsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateCredentialsOK, error)

CreateCredentials creates a git hub credential

func (*Client) CreateGiteaCredentials

func (a *Client) CreateGiteaCredentials(params *CreateGiteaCredentialsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateGiteaCredentialsOK, error)

CreateGiteaCredentials creates a gitea credential

func (*Client) DeleteCredentials added in v0.1.5

func (a *Client) DeleteCredentials(params *DeleteCredentialsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) error

DeleteCredentials deletes a git hub credential

func (*Client) DeleteGiteaCredentials

func (a *Client) DeleteGiteaCredentials(params *DeleteGiteaCredentialsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) error

DeleteGiteaCredentials deletes a gitea credential

func (*Client) GetCredentials added in v0.1.5

func (a *Client) GetCredentials(params *GetCredentialsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetCredentialsOK, error)

GetCredentials gets a git hub credential

func (*Client) GetGiteaCredentials

func (a *Client) GetGiteaCredentials(params *GetGiteaCredentialsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetGiteaCredentialsOK, error)

GetGiteaCredentials gets a gitea credential

func (*Client) ListCredentials

func (a *Client) ListCredentials(params *ListCredentialsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListCredentialsOK, error)

ListCredentials lists all credentials

func (*Client) ListGiteaCredentials

func (a *Client) ListGiteaCredentials(params *ListGiteaCredentialsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListGiteaCredentialsOK, error)

ListGiteaCredentials lists all credentials

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

func (*Client) UpdateCredentials added in v0.1.5

func (a *Client) UpdateCredentials(params *UpdateCredentialsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateCredentialsOK, error)

UpdateCredentials updates a git hub credential

func (*Client) UpdateGiteaCredentials

func (a *Client) UpdateGiteaCredentials(params *UpdateGiteaCredentialsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateGiteaCredentialsOK, error)

UpdateGiteaCredentials updates a gitea credential

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption may be used to customize the behavior of Client methods.

type ClientService

type ClientService interface {
	CreateCredentials(params *CreateCredentialsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateCredentialsOK, error)

	CreateGiteaCredentials(params *CreateGiteaCredentialsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateGiteaCredentialsOK, error)

	DeleteCredentials(params *DeleteCredentialsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) error

	DeleteGiteaCredentials(params *DeleteGiteaCredentialsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) error

	GetCredentials(params *GetCredentialsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetCredentialsOK, error)

	GetGiteaCredentials(params *GetGiteaCredentialsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetGiteaCredentialsOK, error)

	ListCredentials(params *ListCredentialsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListCredentialsOK, error)

	ListGiteaCredentials(params *ListGiteaCredentialsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListGiteaCredentialsOK, error)

	UpdateCredentials(params *UpdateCredentialsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateCredentialsOK, error)

	UpdateGiteaCredentials(params *UpdateGiteaCredentialsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateGiteaCredentialsOK, 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 credentials API client.

func NewClientWithBasicAuth added in v0.1.5

func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService

New creates a new credentials API client with basic auth credentials. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - user: user for basic authentication header. - password: password for basic authentication header.

func NewClientWithBearerToken added in v0.1.5

func NewClientWithBearerToken(host, basePath, scheme, bearerToken string) ClientService

New creates a new credentials API client with a bearer token for authentication. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - bearerToken: bearer token for Bearer authentication header.

type CreateCredentialsBadRequest added in v0.1.5

type CreateCredentialsBadRequest struct {
	Payload apiserver_params.APIErrorResponse
}

CreateCredentialsBadRequest describes a response with status code 400, with default header values.

APIErrorResponse

func NewCreateCredentialsBadRequest added in v0.1.5

func NewCreateCredentialsBadRequest() *CreateCredentialsBadRequest

NewCreateCredentialsBadRequest creates a CreateCredentialsBadRequest with default headers values

func (*CreateCredentialsBadRequest) Code added in v0.1.5

func (o *CreateCredentialsBadRequest) Code() int

Code gets the status code for the create credentials bad request response

func (*CreateCredentialsBadRequest) Error added in v0.1.5

func (*CreateCredentialsBadRequest) GetPayload added in v0.1.5

func (*CreateCredentialsBadRequest) IsClientError added in v0.1.5

func (o *CreateCredentialsBadRequest) IsClientError() bool

IsClientError returns true when this create credentials bad request response has a 4xx status code

func (*CreateCredentialsBadRequest) IsCode added in v0.1.5

func (o *CreateCredentialsBadRequest) IsCode(code int) bool

IsCode returns true when this create credentials bad request response a status code equal to that given

func (*CreateCredentialsBadRequest) IsRedirect added in v0.1.5

func (o *CreateCredentialsBadRequest) IsRedirect() bool

IsRedirect returns true when this create credentials bad request response has a 3xx status code

func (*CreateCredentialsBadRequest) IsServerError added in v0.1.5

func (o *CreateCredentialsBadRequest) IsServerError() bool

IsServerError returns true when this create credentials bad request response has a 5xx status code

func (*CreateCredentialsBadRequest) IsSuccess added in v0.1.5

func (o *CreateCredentialsBadRequest) IsSuccess() bool

IsSuccess returns true when this create credentials bad request response has a 2xx status code

func (*CreateCredentialsBadRequest) String added in v0.1.5

func (o *CreateCredentialsBadRequest) String() string

type CreateCredentialsOK added in v0.1.5

type CreateCredentialsOK struct {
	Payload garm_params.ForgeCredentials
}

CreateCredentialsOK describes a response with status code 200, with default header values.

ForgeCredentials

func NewCreateCredentialsOK added in v0.1.5

func NewCreateCredentialsOK() *CreateCredentialsOK

NewCreateCredentialsOK creates a CreateCredentialsOK with default headers values

func (*CreateCredentialsOK) Code added in v0.1.5

func (o *CreateCredentialsOK) Code() int

Code gets the status code for the create credentials o k response

func (*CreateCredentialsOK) Error added in v0.1.5

func (o *CreateCredentialsOK) Error() string

func (*CreateCredentialsOK) GetPayload added in v0.1.5

func (*CreateCredentialsOK) IsClientError added in v0.1.5

func (o *CreateCredentialsOK) IsClientError() bool

IsClientError returns true when this create credentials o k response has a 4xx status code

func (*CreateCredentialsOK) IsCode added in v0.1.5

func (o *CreateCredentialsOK) IsCode(code int) bool

IsCode returns true when this create credentials o k response a status code equal to that given

func (*CreateCredentialsOK) IsRedirect added in v0.1.5

func (o *CreateCredentialsOK) IsRedirect() bool

IsRedirect returns true when this create credentials o k response has a 3xx status code

func (*CreateCredentialsOK) IsServerError added in v0.1.5

func (o *CreateCredentialsOK) IsServerError() bool

IsServerError returns true when this create credentials o k response has a 5xx status code

func (*CreateCredentialsOK) IsSuccess added in v0.1.5

func (o *CreateCredentialsOK) IsSuccess() bool

IsSuccess returns true when this create credentials o k response has a 2xx status code

func (*CreateCredentialsOK) String added in v0.1.5

func (o *CreateCredentialsOK) String() string

type CreateCredentialsParams added in v0.1.5

type CreateCredentialsParams struct {

	/* Body.

	   Parameters used when creating a GitHub credential.
	*/
	Body garm_params.CreateGithubCredentialsParams

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

CreateCredentialsParams contains all the parameters to send to the API endpoint

for the create credentials operation.

Typically these are written to a http.Request.

func NewCreateCredentialsParams added in v0.1.5

func NewCreateCredentialsParams() *CreateCredentialsParams

NewCreateCredentialsParams creates a new CreateCredentialsParams 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 NewCreateCredentialsParamsWithContext added in v0.1.5

func NewCreateCredentialsParamsWithContext(ctx context.Context) *CreateCredentialsParams

NewCreateCredentialsParamsWithContext creates a new CreateCredentialsParams object with the ability to set a context for a request.

func NewCreateCredentialsParamsWithHTTPClient added in v0.1.5

func NewCreateCredentialsParamsWithHTTPClient(client *http.Client) *CreateCredentialsParams

NewCreateCredentialsParamsWithHTTPClient creates a new CreateCredentialsParams object with the ability to set a custom HTTPClient for a request.

func NewCreateCredentialsParamsWithTimeout added in v0.1.5

func NewCreateCredentialsParamsWithTimeout(timeout time.Duration) *CreateCredentialsParams

NewCreateCredentialsParamsWithTimeout creates a new CreateCredentialsParams object with the ability to set a timeout on a request.

func (*CreateCredentialsParams) SetBody added in v0.1.5

SetBody adds the body to the create credentials params

func (*CreateCredentialsParams) SetContext added in v0.1.5

func (o *CreateCredentialsParams) SetContext(ctx context.Context)

SetContext adds the context to the create credentials params

func (*CreateCredentialsParams) SetDefaults added in v0.1.5

func (o *CreateCredentialsParams) SetDefaults()

SetDefaults hydrates default values in the create credentials params (not the query body).

All values with no default are reset to their zero value.

func (*CreateCredentialsParams) SetHTTPClient added in v0.1.5

func (o *CreateCredentialsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the create credentials params

func (*CreateCredentialsParams) SetTimeout added in v0.1.5

func (o *CreateCredentialsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the create credentials params

func (*CreateCredentialsParams) WithBody added in v0.1.5

WithBody adds the body to the create credentials params

func (*CreateCredentialsParams) WithContext added in v0.1.5

WithContext adds the context to the create credentials params

func (*CreateCredentialsParams) WithDefaults added in v0.1.5

WithDefaults hydrates default values in the create credentials params (not the query body).

All values with no default are reset to their zero value.

func (*CreateCredentialsParams) WithHTTPClient added in v0.1.5

func (o *CreateCredentialsParams) WithHTTPClient(client *http.Client) *CreateCredentialsParams

WithHTTPClient adds the HTTPClient to the create credentials params

func (*CreateCredentialsParams) WithTimeout added in v0.1.5

WithTimeout adds the timeout to the create credentials params

func (*CreateCredentialsParams) WriteToRequest added in v0.1.5

WriteToRequest writes these params to a swagger request

type CreateCredentialsReader added in v0.1.5

type CreateCredentialsReader struct {
	// contains filtered or unexported fields
}

CreateCredentialsReader is a Reader for the CreateCredentials structure.

func (*CreateCredentialsReader) ReadResponse added in v0.1.5

func (o *CreateCredentialsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type CreateGiteaCredentialsBadRequest

type CreateGiteaCredentialsBadRequest struct {
	Payload apiserver_params.APIErrorResponse
}

CreateGiteaCredentialsBadRequest describes a response with status code 400, with default header values.

APIErrorResponse

func NewCreateGiteaCredentialsBadRequest

func NewCreateGiteaCredentialsBadRequest() *CreateGiteaCredentialsBadRequest

NewCreateGiteaCredentialsBadRequest creates a CreateGiteaCredentialsBadRequest with default headers values

func (*CreateGiteaCredentialsBadRequest) Code

Code gets the status code for the create gitea credentials bad request response

func (*CreateGiteaCredentialsBadRequest) Error

func (*CreateGiteaCredentialsBadRequest) GetPayload

func (*CreateGiteaCredentialsBadRequest) IsClientError

func (o *CreateGiteaCredentialsBadRequest) IsClientError() bool

IsClientError returns true when this create gitea credentials bad request response has a 4xx status code

func (*CreateGiteaCredentialsBadRequest) IsCode

func (o *CreateGiteaCredentialsBadRequest) IsCode(code int) bool

IsCode returns true when this create gitea credentials bad request response a status code equal to that given

func (*CreateGiteaCredentialsBadRequest) IsRedirect

func (o *CreateGiteaCredentialsBadRequest) IsRedirect() bool

IsRedirect returns true when this create gitea credentials bad request response has a 3xx status code

func (*CreateGiteaCredentialsBadRequest) IsServerError

func (o *CreateGiteaCredentialsBadRequest) IsServerError() bool

IsServerError returns true when this create gitea credentials bad request response has a 5xx status code

func (*CreateGiteaCredentialsBadRequest) IsSuccess

func (o *CreateGiteaCredentialsBadRequest) IsSuccess() bool

IsSuccess returns true when this create gitea credentials bad request response has a 2xx status code

func (*CreateGiteaCredentialsBadRequest) String

type CreateGiteaCredentialsOK

type CreateGiteaCredentialsOK struct {
	Payload garm_params.ForgeCredentials
}

CreateGiteaCredentialsOK describes a response with status code 200, with default header values.

ForgeCredentials

func NewCreateGiteaCredentialsOK

func NewCreateGiteaCredentialsOK() *CreateGiteaCredentialsOK

NewCreateGiteaCredentialsOK creates a CreateGiteaCredentialsOK with default headers values

func (*CreateGiteaCredentialsOK) Code

func (o *CreateGiteaCredentialsOK) Code() int

Code gets the status code for the create gitea credentials o k response

func (*CreateGiteaCredentialsOK) Error

func (o *CreateGiteaCredentialsOK) Error() string

func (*CreateGiteaCredentialsOK) GetPayload

func (*CreateGiteaCredentialsOK) IsClientError

func (o *CreateGiteaCredentialsOK) IsClientError() bool

IsClientError returns true when this create gitea credentials o k response has a 4xx status code

func (*CreateGiteaCredentialsOK) IsCode

func (o *CreateGiteaCredentialsOK) IsCode(code int) bool

IsCode returns true when this create gitea credentials o k response a status code equal to that given

func (*CreateGiteaCredentialsOK) IsRedirect

func (o *CreateGiteaCredentialsOK) IsRedirect() bool

IsRedirect returns true when this create gitea credentials o k response has a 3xx status code

func (*CreateGiteaCredentialsOK) IsServerError

func (o *CreateGiteaCredentialsOK) IsServerError() bool

IsServerError returns true when this create gitea credentials o k response has a 5xx status code

func (*CreateGiteaCredentialsOK) IsSuccess

func (o *CreateGiteaCredentialsOK) IsSuccess() bool

IsSuccess returns true when this create gitea credentials o k response has a 2xx status code

func (*CreateGiteaCredentialsOK) String

func (o *CreateGiteaCredentialsOK) String() string

type CreateGiteaCredentialsParams

type CreateGiteaCredentialsParams struct {

	/* Body.

	   Parameters used when creating a Gitea credential.
	*/
	Body garm_params.CreateGiteaCredentialsParams

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

CreateGiteaCredentialsParams contains all the parameters to send to the API endpoint

for the create gitea credentials operation.

Typically these are written to a http.Request.

func NewCreateGiteaCredentialsParams

func NewCreateGiteaCredentialsParams() *CreateGiteaCredentialsParams

NewCreateGiteaCredentialsParams creates a new CreateGiteaCredentialsParams 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 NewCreateGiteaCredentialsParamsWithContext

func NewCreateGiteaCredentialsParamsWithContext(ctx context.Context) *CreateGiteaCredentialsParams

NewCreateGiteaCredentialsParamsWithContext creates a new CreateGiteaCredentialsParams object with the ability to set a context for a request.

func NewCreateGiteaCredentialsParamsWithHTTPClient

func NewCreateGiteaCredentialsParamsWithHTTPClient(client *http.Client) *CreateGiteaCredentialsParams

NewCreateGiteaCredentialsParamsWithHTTPClient creates a new CreateGiteaCredentialsParams object with the ability to set a custom HTTPClient for a request.

func NewCreateGiteaCredentialsParamsWithTimeout

func NewCreateGiteaCredentialsParamsWithTimeout(timeout time.Duration) *CreateGiteaCredentialsParams

NewCreateGiteaCredentialsParamsWithTimeout creates a new CreateGiteaCredentialsParams object with the ability to set a timeout on a request.

func (*CreateGiteaCredentialsParams) SetBody

SetBody adds the body to the create gitea credentials params

func (*CreateGiteaCredentialsParams) SetContext

func (o *CreateGiteaCredentialsParams) SetContext(ctx context.Context)

SetContext adds the context to the create gitea credentials params

func (*CreateGiteaCredentialsParams) SetDefaults

func (o *CreateGiteaCredentialsParams) SetDefaults()

SetDefaults hydrates default values in the create gitea credentials params (not the query body).

All values with no default are reset to their zero value.

func (*CreateGiteaCredentialsParams) SetHTTPClient

func (o *CreateGiteaCredentialsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the create gitea credentials params

func (*CreateGiteaCredentialsParams) SetTimeout

func (o *CreateGiteaCredentialsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the create gitea credentials params

func (*CreateGiteaCredentialsParams) WithBody

WithBody adds the body to the create gitea credentials params

func (*CreateGiteaCredentialsParams) WithContext

WithContext adds the context to the create gitea credentials params

func (*CreateGiteaCredentialsParams) WithDefaults

WithDefaults hydrates default values in the create gitea credentials params (not the query body).

All values with no default are reset to their zero value.

func (*CreateGiteaCredentialsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create gitea credentials params

func (*CreateGiteaCredentialsParams) WithTimeout

WithTimeout adds the timeout to the create gitea credentials params

func (*CreateGiteaCredentialsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateGiteaCredentialsReader

type CreateGiteaCredentialsReader struct {
	// contains filtered or unexported fields
}

CreateGiteaCredentialsReader is a Reader for the CreateGiteaCredentials structure.

func (*CreateGiteaCredentialsReader) ReadResponse

func (o *CreateGiteaCredentialsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type DeleteCredentialsDefault added in v0.1.5

type DeleteCredentialsDefault struct {
	Payload apiserver_params.APIErrorResponse
	// contains filtered or unexported fields
}

DeleteCredentialsDefault describes a response with status code -1, with default header values.

APIErrorResponse

func NewDeleteCredentialsDefault added in v0.1.5

func NewDeleteCredentialsDefault(code int) *DeleteCredentialsDefault

NewDeleteCredentialsDefault creates a DeleteCredentialsDefault with default headers values

func (*DeleteCredentialsDefault) Code added in v0.1.5

func (o *DeleteCredentialsDefault) Code() int

Code gets the status code for the delete credentials default response

func (*DeleteCredentialsDefault) Error added in v0.1.5

func (o *DeleteCredentialsDefault) Error() string

func (*DeleteCredentialsDefault) GetPayload added in v0.1.5

func (*DeleteCredentialsDefault) IsClientError added in v0.1.5

func (o *DeleteCredentialsDefault) IsClientError() bool

IsClientError returns true when this delete credentials default response has a 4xx status code

func (*DeleteCredentialsDefault) IsCode added in v0.1.5

func (o *DeleteCredentialsDefault) IsCode(code int) bool

IsCode returns true when this delete credentials default response a status code equal to that given

func (*DeleteCredentialsDefault) IsRedirect added in v0.1.5

func (o *DeleteCredentialsDefault) IsRedirect() bool

IsRedirect returns true when this delete credentials default response has a 3xx status code

func (*DeleteCredentialsDefault) IsServerError added in v0.1.5

func (o *DeleteCredentialsDefault) IsServerError() bool

IsServerError returns true when this delete credentials default response has a 5xx status code

func (*DeleteCredentialsDefault) IsSuccess added in v0.1.5

func (o *DeleteCredentialsDefault) IsSuccess() bool

IsSuccess returns true when this delete credentials default response has a 2xx status code

func (*DeleteCredentialsDefault) String added in v0.1.5

func (o *DeleteCredentialsDefault) String() string

type DeleteCredentialsParams added in v0.1.5

type DeleteCredentialsParams struct {

	/* ID.

	   ID of the GitHub credential.
	*/
	ID int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

DeleteCredentialsParams contains all the parameters to send to the API endpoint

for the delete credentials operation.

Typically these are written to a http.Request.

func NewDeleteCredentialsParams added in v0.1.5

func NewDeleteCredentialsParams() *DeleteCredentialsParams

NewDeleteCredentialsParams creates a new DeleteCredentialsParams 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 NewDeleteCredentialsParamsWithContext added in v0.1.5

func NewDeleteCredentialsParamsWithContext(ctx context.Context) *DeleteCredentialsParams

NewDeleteCredentialsParamsWithContext creates a new DeleteCredentialsParams object with the ability to set a context for a request.

func NewDeleteCredentialsParamsWithHTTPClient added in v0.1.5

func NewDeleteCredentialsParamsWithHTTPClient(client *http.Client) *DeleteCredentialsParams

NewDeleteCredentialsParamsWithHTTPClient creates a new DeleteCredentialsParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteCredentialsParamsWithTimeout added in v0.1.5

func NewDeleteCredentialsParamsWithTimeout(timeout time.Duration) *DeleteCredentialsParams

NewDeleteCredentialsParamsWithTimeout creates a new DeleteCredentialsParams object with the ability to set a timeout on a request.

func (*DeleteCredentialsParams) SetContext added in v0.1.5

func (o *DeleteCredentialsParams) SetContext(ctx context.Context)

SetContext adds the context to the delete credentials params

func (*DeleteCredentialsParams) SetDefaults added in v0.1.5

func (o *DeleteCredentialsParams) SetDefaults()

SetDefaults hydrates default values in the delete credentials params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteCredentialsParams) SetHTTPClient added in v0.1.5

func (o *DeleteCredentialsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the delete credentials params

func (*DeleteCredentialsParams) SetID added in v0.1.5

func (o *DeleteCredentialsParams) SetID(id int64)

SetID adds the id to the delete credentials params

func (*DeleteCredentialsParams) SetTimeout added in v0.1.5

func (o *DeleteCredentialsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the delete credentials params

func (*DeleteCredentialsParams) WithContext added in v0.1.5

WithContext adds the context to the delete credentials params

func (*DeleteCredentialsParams) WithDefaults added in v0.1.5

WithDefaults hydrates default values in the delete credentials params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteCredentialsParams) WithHTTPClient added in v0.1.5

func (o *DeleteCredentialsParams) WithHTTPClient(client *http.Client) *DeleteCredentialsParams

WithHTTPClient adds the HTTPClient to the delete credentials params

func (*DeleteCredentialsParams) WithID added in v0.1.5

WithID adds the id to the delete credentials params

func (*DeleteCredentialsParams) WithTimeout added in v0.1.5

WithTimeout adds the timeout to the delete credentials params

func (*DeleteCredentialsParams) WriteToRequest added in v0.1.5

WriteToRequest writes these params to a swagger request

type DeleteCredentialsReader added in v0.1.5

type DeleteCredentialsReader struct {
	// contains filtered or unexported fields
}

DeleteCredentialsReader is a Reader for the DeleteCredentials structure.

func (*DeleteCredentialsReader) ReadResponse added in v0.1.5

func (o *DeleteCredentialsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type DeleteGiteaCredentialsDefault

type DeleteGiteaCredentialsDefault struct {
	Payload apiserver_params.APIErrorResponse
	// contains filtered or unexported fields
}

DeleteGiteaCredentialsDefault describes a response with status code -1, with default header values.

APIErrorResponse

func NewDeleteGiteaCredentialsDefault

func NewDeleteGiteaCredentialsDefault(code int) *DeleteGiteaCredentialsDefault

NewDeleteGiteaCredentialsDefault creates a DeleteGiteaCredentialsDefault with default headers values

func (*DeleteGiteaCredentialsDefault) Code

Code gets the status code for the delete gitea credentials default response

func (*DeleteGiteaCredentialsDefault) Error

func (*DeleteGiteaCredentialsDefault) GetPayload

func (*DeleteGiteaCredentialsDefault) IsClientError

func (o *DeleteGiteaCredentialsDefault) IsClientError() bool

IsClientError returns true when this delete gitea credentials default response has a 4xx status code

func (*DeleteGiteaCredentialsDefault) IsCode

func (o *DeleteGiteaCredentialsDefault) IsCode(code int) bool

IsCode returns true when this delete gitea credentials default response a status code equal to that given

func (*DeleteGiteaCredentialsDefault) IsRedirect

func (o *DeleteGiteaCredentialsDefault) IsRedirect() bool

IsRedirect returns true when this delete gitea credentials default response has a 3xx status code

func (*DeleteGiteaCredentialsDefault) IsServerError

func (o *DeleteGiteaCredentialsDefault) IsServerError() bool

IsServerError returns true when this delete gitea credentials default response has a 5xx status code

func (*DeleteGiteaCredentialsDefault) IsSuccess

func (o *DeleteGiteaCredentialsDefault) IsSuccess() bool

IsSuccess returns true when this delete gitea credentials default response has a 2xx status code

func (*DeleteGiteaCredentialsDefault) String

type DeleteGiteaCredentialsParams

type DeleteGiteaCredentialsParams struct {

	/* ID.

	   ID of the Gitea credential.
	*/
	ID int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

DeleteGiteaCredentialsParams contains all the parameters to send to the API endpoint

for the delete gitea credentials operation.

Typically these are written to a http.Request.

func NewDeleteGiteaCredentialsParams

func NewDeleteGiteaCredentialsParams() *DeleteGiteaCredentialsParams

NewDeleteGiteaCredentialsParams creates a new DeleteGiteaCredentialsParams 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 NewDeleteGiteaCredentialsParamsWithContext

func NewDeleteGiteaCredentialsParamsWithContext(ctx context.Context) *DeleteGiteaCredentialsParams

NewDeleteGiteaCredentialsParamsWithContext creates a new DeleteGiteaCredentialsParams object with the ability to set a context for a request.

func NewDeleteGiteaCredentialsParamsWithHTTPClient

func NewDeleteGiteaCredentialsParamsWithHTTPClient(client *http.Client) *DeleteGiteaCredentialsParams

NewDeleteGiteaCredentialsParamsWithHTTPClient creates a new DeleteGiteaCredentialsParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteGiteaCredentialsParamsWithTimeout

func NewDeleteGiteaCredentialsParamsWithTimeout(timeout time.Duration) *DeleteGiteaCredentialsParams

NewDeleteGiteaCredentialsParamsWithTimeout creates a new DeleteGiteaCredentialsParams object with the ability to set a timeout on a request.

func (*DeleteGiteaCredentialsParams) SetContext

func (o *DeleteGiteaCredentialsParams) SetContext(ctx context.Context)

SetContext adds the context to the delete gitea credentials params

func (*DeleteGiteaCredentialsParams) SetDefaults

func (o *DeleteGiteaCredentialsParams) SetDefaults()

SetDefaults hydrates default values in the delete gitea credentials params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteGiteaCredentialsParams) SetHTTPClient

func (o *DeleteGiteaCredentialsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the delete gitea credentials params

func (*DeleteGiteaCredentialsParams) SetID

func (o *DeleteGiteaCredentialsParams) SetID(id int64)

SetID adds the id to the delete gitea credentials params

func (*DeleteGiteaCredentialsParams) SetTimeout

func (o *DeleteGiteaCredentialsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the delete gitea credentials params

func (*DeleteGiteaCredentialsParams) WithContext

WithContext adds the context to the delete gitea credentials params

func (*DeleteGiteaCredentialsParams) WithDefaults

WithDefaults hydrates default values in the delete gitea credentials params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteGiteaCredentialsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete gitea credentials params

func (*DeleteGiteaCredentialsParams) WithID

WithID adds the id to the delete gitea credentials params

func (*DeleteGiteaCredentialsParams) WithTimeout

WithTimeout adds the timeout to the delete gitea credentials params

func (*DeleteGiteaCredentialsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteGiteaCredentialsReader

type DeleteGiteaCredentialsReader struct {
	// contains filtered or unexported fields
}

DeleteGiteaCredentialsReader is a Reader for the DeleteGiteaCredentials structure.

func (*DeleteGiteaCredentialsReader) ReadResponse

func (o *DeleteGiteaCredentialsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetCredentialsBadRequest added in v0.1.5

type GetCredentialsBadRequest struct {
	Payload apiserver_params.APIErrorResponse
}

GetCredentialsBadRequest describes a response with status code 400, with default header values.

APIErrorResponse

func NewGetCredentialsBadRequest added in v0.1.5

func NewGetCredentialsBadRequest() *GetCredentialsBadRequest

NewGetCredentialsBadRequest creates a GetCredentialsBadRequest with default headers values

func (*GetCredentialsBadRequest) Code added in v0.1.5

func (o *GetCredentialsBadRequest) Code() int

Code gets the status code for the get credentials bad request response

func (*GetCredentialsBadRequest) Error added in v0.1.5

func (o *GetCredentialsBadRequest) Error() string

func (*GetCredentialsBadRequest) GetPayload added in v0.1.5

func (*GetCredentialsBadRequest) IsClientError added in v0.1.5

func (o *GetCredentialsBadRequest) IsClientError() bool

IsClientError returns true when this get credentials bad request response has a 4xx status code

func (*GetCredentialsBadRequest) IsCode added in v0.1.5

func (o *GetCredentialsBadRequest) IsCode(code int) bool

IsCode returns true when this get credentials bad request response a status code equal to that given

func (*GetCredentialsBadRequest) IsRedirect added in v0.1.5

func (o *GetCredentialsBadRequest) IsRedirect() bool

IsRedirect returns true when this get credentials bad request response has a 3xx status code

func (*GetCredentialsBadRequest) IsServerError added in v0.1.5

func (o *GetCredentialsBadRequest) IsServerError() bool

IsServerError returns true when this get credentials bad request response has a 5xx status code

func (*GetCredentialsBadRequest) IsSuccess added in v0.1.5

func (o *GetCredentialsBadRequest) IsSuccess() bool

IsSuccess returns true when this get credentials bad request response has a 2xx status code

func (*GetCredentialsBadRequest) String added in v0.1.5

func (o *GetCredentialsBadRequest) String() string

type GetCredentialsOK added in v0.1.5

type GetCredentialsOK struct {
	Payload garm_params.ForgeCredentials
}

GetCredentialsOK describes a response with status code 200, with default header values.

ForgeCredentials

func NewGetCredentialsOK added in v0.1.5

func NewGetCredentialsOK() *GetCredentialsOK

NewGetCredentialsOK creates a GetCredentialsOK with default headers values

func (*GetCredentialsOK) Code added in v0.1.5

func (o *GetCredentialsOK) Code() int

Code gets the status code for the get credentials o k response

func (*GetCredentialsOK) Error added in v0.1.5

func (o *GetCredentialsOK) Error() string

func (*GetCredentialsOK) GetPayload added in v0.1.5

func (*GetCredentialsOK) IsClientError added in v0.1.5

func (o *GetCredentialsOK) IsClientError() bool

IsClientError returns true when this get credentials o k response has a 4xx status code

func (*GetCredentialsOK) IsCode added in v0.1.5

func (o *GetCredentialsOK) IsCode(code int) bool

IsCode returns true when this get credentials o k response a status code equal to that given

func (*GetCredentialsOK) IsRedirect added in v0.1.5

func (o *GetCredentialsOK) IsRedirect() bool

IsRedirect returns true when this get credentials o k response has a 3xx status code

func (*GetCredentialsOK) IsServerError added in v0.1.5

func (o *GetCredentialsOK) IsServerError() bool

IsServerError returns true when this get credentials o k response has a 5xx status code

func (*GetCredentialsOK) IsSuccess added in v0.1.5

func (o *GetCredentialsOK) IsSuccess() bool

IsSuccess returns true when this get credentials o k response has a 2xx status code

func (*GetCredentialsOK) String added in v0.1.5

func (o *GetCredentialsOK) String() string

type GetCredentialsParams added in v0.1.5

type GetCredentialsParams struct {

	/* ID.

	   ID of the GitHub credential.
	*/
	ID int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetCredentialsParams contains all the parameters to send to the API endpoint

for the get credentials operation.

Typically these are written to a http.Request.

func NewGetCredentialsParams added in v0.1.5

func NewGetCredentialsParams() *GetCredentialsParams

NewGetCredentialsParams creates a new GetCredentialsParams 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 NewGetCredentialsParamsWithContext added in v0.1.5

func NewGetCredentialsParamsWithContext(ctx context.Context) *GetCredentialsParams

NewGetCredentialsParamsWithContext creates a new GetCredentialsParams object with the ability to set a context for a request.

func NewGetCredentialsParamsWithHTTPClient added in v0.1.5

func NewGetCredentialsParamsWithHTTPClient(client *http.Client) *GetCredentialsParams

NewGetCredentialsParamsWithHTTPClient creates a new GetCredentialsParams object with the ability to set a custom HTTPClient for a request.

func NewGetCredentialsParamsWithTimeout added in v0.1.5

func NewGetCredentialsParamsWithTimeout(timeout time.Duration) *GetCredentialsParams

NewGetCredentialsParamsWithTimeout creates a new GetCredentialsParams object with the ability to set a timeout on a request.

func (*GetCredentialsParams) SetContext added in v0.1.5

func (o *GetCredentialsParams) SetContext(ctx context.Context)

SetContext adds the context to the get credentials params

func (*GetCredentialsParams) SetDefaults added in v0.1.5

func (o *GetCredentialsParams) SetDefaults()

SetDefaults hydrates default values in the get credentials params (not the query body).

All values with no default are reset to their zero value.

func (*GetCredentialsParams) SetHTTPClient added in v0.1.5

func (o *GetCredentialsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get credentials params

func (*GetCredentialsParams) SetID added in v0.1.5

func (o *GetCredentialsParams) SetID(id int64)

SetID adds the id to the get credentials params

func (*GetCredentialsParams) SetTimeout added in v0.1.5

func (o *GetCredentialsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get credentials params

func (*GetCredentialsParams) WithContext added in v0.1.5

WithContext adds the context to the get credentials params

func (*GetCredentialsParams) WithDefaults added in v0.1.5

func (o *GetCredentialsParams) WithDefaults() *GetCredentialsParams

WithDefaults hydrates default values in the get credentials params (not the query body).

All values with no default are reset to their zero value.

func (*GetCredentialsParams) WithHTTPClient added in v0.1.5

func (o *GetCredentialsParams) WithHTTPClient(client *http.Client) *GetCredentialsParams

WithHTTPClient adds the HTTPClient to the get credentials params

func (*GetCredentialsParams) WithID added in v0.1.5

WithID adds the id to the get credentials params

func (*GetCredentialsParams) WithTimeout added in v0.1.5

func (o *GetCredentialsParams) WithTimeout(timeout time.Duration) *GetCredentialsParams

WithTimeout adds the timeout to the get credentials params

func (*GetCredentialsParams) WriteToRequest added in v0.1.5

func (o *GetCredentialsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetCredentialsReader added in v0.1.5

type GetCredentialsReader struct {
	// contains filtered or unexported fields
}

GetCredentialsReader is a Reader for the GetCredentials structure.

func (*GetCredentialsReader) ReadResponse added in v0.1.5

func (o *GetCredentialsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetGiteaCredentialsBadRequest

type GetGiteaCredentialsBadRequest struct {
	Payload apiserver_params.APIErrorResponse
}

GetGiteaCredentialsBadRequest describes a response with status code 400, with default header values.

APIErrorResponse

func NewGetGiteaCredentialsBadRequest

func NewGetGiteaCredentialsBadRequest() *GetGiteaCredentialsBadRequest

NewGetGiteaCredentialsBadRequest creates a GetGiteaCredentialsBadRequest with default headers values

func (*GetGiteaCredentialsBadRequest) Code

Code gets the status code for the get gitea credentials bad request response

func (*GetGiteaCredentialsBadRequest) Error

func (*GetGiteaCredentialsBadRequest) GetPayload

func (*GetGiteaCredentialsBadRequest) IsClientError

func (o *GetGiteaCredentialsBadRequest) IsClientError() bool

IsClientError returns true when this get gitea credentials bad request response has a 4xx status code

func (*GetGiteaCredentialsBadRequest) IsCode

func (o *GetGiteaCredentialsBadRequest) IsCode(code int) bool

IsCode returns true when this get gitea credentials bad request response a status code equal to that given

func (*GetGiteaCredentialsBadRequest) IsRedirect

func (o *GetGiteaCredentialsBadRequest) IsRedirect() bool

IsRedirect returns true when this get gitea credentials bad request response has a 3xx status code

func (*GetGiteaCredentialsBadRequest) IsServerError

func (o *GetGiteaCredentialsBadRequest) IsServerError() bool

IsServerError returns true when this get gitea credentials bad request response has a 5xx status code

func (*GetGiteaCredentialsBadRequest) IsSuccess

func (o *GetGiteaCredentialsBadRequest) IsSuccess() bool

IsSuccess returns true when this get gitea credentials bad request response has a 2xx status code

func (*GetGiteaCredentialsBadRequest) String

type GetGiteaCredentialsOK

type GetGiteaCredentialsOK struct {
	Payload garm_params.ForgeCredentials
}

GetGiteaCredentialsOK describes a response with status code 200, with default header values.

ForgeCredentials

func NewGetGiteaCredentialsOK

func NewGetGiteaCredentialsOK() *GetGiteaCredentialsOK

NewGetGiteaCredentialsOK creates a GetGiteaCredentialsOK with default headers values

func (*GetGiteaCredentialsOK) Code

func (o *GetGiteaCredentialsOK) Code() int

Code gets the status code for the get gitea credentials o k response

func (*GetGiteaCredentialsOK) Error

func (o *GetGiteaCredentialsOK) Error() string

func (*GetGiteaCredentialsOK) GetPayload

func (*GetGiteaCredentialsOK) IsClientError

func (o *GetGiteaCredentialsOK) IsClientError() bool

IsClientError returns true when this get gitea credentials o k response has a 4xx status code

func (*GetGiteaCredentialsOK) IsCode

func (o *GetGiteaCredentialsOK) IsCode(code int) bool

IsCode returns true when this get gitea credentials o k response a status code equal to that given

func (*GetGiteaCredentialsOK) IsRedirect

func (o *GetGiteaCredentialsOK) IsRedirect() bool

IsRedirect returns true when this get gitea credentials o k response has a 3xx status code

func (*GetGiteaCredentialsOK) IsServerError

func (o *GetGiteaCredentialsOK) IsServerError() bool

IsServerError returns true when this get gitea credentials o k response has a 5xx status code

func (*GetGiteaCredentialsOK) IsSuccess

func (o *GetGiteaCredentialsOK) IsSuccess() bool

IsSuccess returns true when this get gitea credentials o k response has a 2xx status code

func (*GetGiteaCredentialsOK) String

func (o *GetGiteaCredentialsOK) String() string

type GetGiteaCredentialsParams

type GetGiteaCredentialsParams struct {

	/* ID.

	   ID of the Gitea credential.
	*/
	ID int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetGiteaCredentialsParams contains all the parameters to send to the API endpoint

for the get gitea credentials operation.

Typically these are written to a http.Request.

func NewGetGiteaCredentialsParams

func NewGetGiteaCredentialsParams() *GetGiteaCredentialsParams

NewGetGiteaCredentialsParams creates a new GetGiteaCredentialsParams 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 NewGetGiteaCredentialsParamsWithContext

func NewGetGiteaCredentialsParamsWithContext(ctx context.Context) *GetGiteaCredentialsParams

NewGetGiteaCredentialsParamsWithContext creates a new GetGiteaCredentialsParams object with the ability to set a context for a request.

func NewGetGiteaCredentialsParamsWithHTTPClient

func NewGetGiteaCredentialsParamsWithHTTPClient(client *http.Client) *GetGiteaCredentialsParams

NewGetGiteaCredentialsParamsWithHTTPClient creates a new GetGiteaCredentialsParams object with the ability to set a custom HTTPClient for a request.

func NewGetGiteaCredentialsParamsWithTimeout

func NewGetGiteaCredentialsParamsWithTimeout(timeout time.Duration) *GetGiteaCredentialsParams

NewGetGiteaCredentialsParamsWithTimeout creates a new GetGiteaCredentialsParams object with the ability to set a timeout on a request.

func (*GetGiteaCredentialsParams) SetContext

func (o *GetGiteaCredentialsParams) SetContext(ctx context.Context)

SetContext adds the context to the get gitea credentials params

func (*GetGiteaCredentialsParams) SetDefaults

func (o *GetGiteaCredentialsParams) SetDefaults()

SetDefaults hydrates default values in the get gitea credentials params (not the query body).

All values with no default are reset to their zero value.

func (*GetGiteaCredentialsParams) SetHTTPClient

func (o *GetGiteaCredentialsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get gitea credentials params

func (*GetGiteaCredentialsParams) SetID

func (o *GetGiteaCredentialsParams) SetID(id int64)

SetID adds the id to the get gitea credentials params

func (*GetGiteaCredentialsParams) SetTimeout

func (o *GetGiteaCredentialsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get gitea credentials params

func (*GetGiteaCredentialsParams) WithContext

WithContext adds the context to the get gitea credentials params

func (*GetGiteaCredentialsParams) WithDefaults

WithDefaults hydrates default values in the get gitea credentials params (not the query body).

All values with no default are reset to their zero value.

func (*GetGiteaCredentialsParams) WithHTTPClient

func (o *GetGiteaCredentialsParams) WithHTTPClient(client *http.Client) *GetGiteaCredentialsParams

WithHTTPClient adds the HTTPClient to the get gitea credentials params

func (*GetGiteaCredentialsParams) WithID

WithID adds the id to the get gitea credentials params

func (*GetGiteaCredentialsParams) WithTimeout

WithTimeout adds the timeout to the get gitea credentials params

func (*GetGiteaCredentialsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetGiteaCredentialsReader

type GetGiteaCredentialsReader struct {
	// contains filtered or unexported fields
}

GetGiteaCredentialsReader is a Reader for the GetGiteaCredentials structure.

func (*GetGiteaCredentialsReader) ReadResponse

func (o *GetGiteaCredentialsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ListCredentialsBadRequest

type ListCredentialsBadRequest struct {
	Payload apiserver_params.APIErrorResponse
}

ListCredentialsBadRequest describes a response with status code 400, with default header values.

APIErrorResponse

func NewListCredentialsBadRequest

func NewListCredentialsBadRequest() *ListCredentialsBadRequest

NewListCredentialsBadRequest creates a ListCredentialsBadRequest with default headers values

func (*ListCredentialsBadRequest) Code

func (o *ListCredentialsBadRequest) Code() int

Code gets the status code for the list credentials bad request response

func (*ListCredentialsBadRequest) Error

func (o *ListCredentialsBadRequest) Error() string

func (*ListCredentialsBadRequest) GetPayload

func (*ListCredentialsBadRequest) IsClientError

func (o *ListCredentialsBadRequest) IsClientError() bool

IsClientError returns true when this list credentials bad request response has a 4xx status code

func (*ListCredentialsBadRequest) IsCode

func (o *ListCredentialsBadRequest) IsCode(code int) bool

IsCode returns true when this list credentials bad request response a status code equal to that given

func (*ListCredentialsBadRequest) IsRedirect

func (o *ListCredentialsBadRequest) IsRedirect() bool

IsRedirect returns true when this list credentials bad request response has a 3xx status code

func (*ListCredentialsBadRequest) IsServerError

func (o *ListCredentialsBadRequest) IsServerError() bool

IsServerError returns true when this list credentials bad request response has a 5xx status code

func (*ListCredentialsBadRequest) IsSuccess

func (o *ListCredentialsBadRequest) IsSuccess() bool

IsSuccess returns true when this list credentials bad request response has a 2xx status code

func (*ListCredentialsBadRequest) String

func (o *ListCredentialsBadRequest) String() string

type ListCredentialsOK

type ListCredentialsOK struct {
	Payload garm_params.Credentials
}

ListCredentialsOK describes a response with status code 200, with default header values.

Credentials

func NewListCredentialsOK

func NewListCredentialsOK() *ListCredentialsOK

NewListCredentialsOK creates a ListCredentialsOK with default headers values

func (*ListCredentialsOK) Code

func (o *ListCredentialsOK) Code() int

Code gets the status code for the list credentials o k response

func (*ListCredentialsOK) Error

func (o *ListCredentialsOK) Error() string

func (*ListCredentialsOK) GetPayload

func (o *ListCredentialsOK) GetPayload() garm_params.Credentials

func (*ListCredentialsOK) IsClientError

func (o *ListCredentialsOK) IsClientError() bool

IsClientError returns true when this list credentials o k response has a 4xx status code

func (*ListCredentialsOK) IsCode

func (o *ListCredentialsOK) IsCode(code int) bool

IsCode returns true when this list credentials o k response a status code equal to that given

func (*ListCredentialsOK) IsRedirect

func (o *ListCredentialsOK) IsRedirect() bool

IsRedirect returns true when this list credentials o k response has a 3xx status code

func (*ListCredentialsOK) IsServerError

func (o *ListCredentialsOK) IsServerError() bool

IsServerError returns true when this list credentials o k response has a 5xx status code

func (*ListCredentialsOK) IsSuccess

func (o *ListCredentialsOK) IsSuccess() bool

IsSuccess returns true when this list credentials o k response has a 2xx status code

func (*ListCredentialsOK) String

func (o *ListCredentialsOK) String() string

type ListCredentialsParams

type ListCredentialsParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ListCredentialsParams contains all the parameters to send to the API endpoint

for the list credentials operation.

Typically these are written to a http.Request.

func NewListCredentialsParams

func NewListCredentialsParams() *ListCredentialsParams

NewListCredentialsParams creates a new ListCredentialsParams 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 NewListCredentialsParamsWithContext

func NewListCredentialsParamsWithContext(ctx context.Context) *ListCredentialsParams

NewListCredentialsParamsWithContext creates a new ListCredentialsParams object with the ability to set a context for a request.

func NewListCredentialsParamsWithHTTPClient

func NewListCredentialsParamsWithHTTPClient(client *http.Client) *ListCredentialsParams

NewListCredentialsParamsWithHTTPClient creates a new ListCredentialsParams object with the ability to set a custom HTTPClient for a request.

func NewListCredentialsParamsWithTimeout

func NewListCredentialsParamsWithTimeout(timeout time.Duration) *ListCredentialsParams

NewListCredentialsParamsWithTimeout creates a new ListCredentialsParams object with the ability to set a timeout on a request.

func (*ListCredentialsParams) SetContext

func (o *ListCredentialsParams) SetContext(ctx context.Context)

SetContext adds the context to the list credentials params

func (*ListCredentialsParams) SetDefaults

func (o *ListCredentialsParams) SetDefaults()

SetDefaults hydrates default values in the list credentials params (not the query body).

All values with no default are reset to their zero value.

func (*ListCredentialsParams) SetHTTPClient

func (o *ListCredentialsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the list credentials params

func (*ListCredentialsParams) SetTimeout

func (o *ListCredentialsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the list credentials params

func (*ListCredentialsParams) WithContext

WithContext adds the context to the list credentials params

func (*ListCredentialsParams) WithDefaults

func (o *ListCredentialsParams) WithDefaults() *ListCredentialsParams

WithDefaults hydrates default values in the list credentials params (not the query body).

All values with no default are reset to their zero value.

func (*ListCredentialsParams) WithHTTPClient

func (o *ListCredentialsParams) WithHTTPClient(client *http.Client) *ListCredentialsParams

WithHTTPClient adds the HTTPClient to the list credentials params

func (*ListCredentialsParams) WithTimeout

func (o *ListCredentialsParams) WithTimeout(timeout time.Duration) *ListCredentialsParams

WithTimeout adds the timeout to the list credentials params

func (*ListCredentialsParams) WriteToRequest

func (o *ListCredentialsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ListCredentialsReader

type ListCredentialsReader struct {
	// contains filtered or unexported fields
}

ListCredentialsReader is a Reader for the ListCredentials structure.

func (*ListCredentialsReader) ReadResponse

func (o *ListCredentialsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ListGiteaCredentialsBadRequest

type ListGiteaCredentialsBadRequest struct {
	Payload apiserver_params.APIErrorResponse
}

ListGiteaCredentialsBadRequest describes a response with status code 400, with default header values.

APIErrorResponse

func NewListGiteaCredentialsBadRequest

func NewListGiteaCredentialsBadRequest() *ListGiteaCredentialsBadRequest

NewListGiteaCredentialsBadRequest creates a ListGiteaCredentialsBadRequest with default headers values

func (*ListGiteaCredentialsBadRequest) Code

Code gets the status code for the list gitea credentials bad request response

func (*ListGiteaCredentialsBadRequest) Error

func (*ListGiteaCredentialsBadRequest) GetPayload

func (*ListGiteaCredentialsBadRequest) IsClientError

func (o *ListGiteaCredentialsBadRequest) IsClientError() bool

IsClientError returns true when this list gitea credentials bad request response has a 4xx status code

func (*ListGiteaCredentialsBadRequest) IsCode

func (o *ListGiteaCredentialsBadRequest) IsCode(code int) bool

IsCode returns true when this list gitea credentials bad request response a status code equal to that given

func (*ListGiteaCredentialsBadRequest) IsRedirect

func (o *ListGiteaCredentialsBadRequest) IsRedirect() bool

IsRedirect returns true when this list gitea credentials bad request response has a 3xx status code

func (*ListGiteaCredentialsBadRequest) IsServerError

func (o *ListGiteaCredentialsBadRequest) IsServerError() bool

IsServerError returns true when this list gitea credentials bad request response has a 5xx status code

func (*ListGiteaCredentialsBadRequest) IsSuccess

func (o *ListGiteaCredentialsBadRequest) IsSuccess() bool

IsSuccess returns true when this list gitea credentials bad request response has a 2xx status code

func (*ListGiteaCredentialsBadRequest) String

type ListGiteaCredentialsOK

type ListGiteaCredentialsOK struct {
	Payload garm_params.Credentials
}

ListGiteaCredentialsOK describes a response with status code 200, with default header values.

Credentials

func NewListGiteaCredentialsOK

func NewListGiteaCredentialsOK() *ListGiteaCredentialsOK

NewListGiteaCredentialsOK creates a ListGiteaCredentialsOK with default headers values

func (*ListGiteaCredentialsOK) Code

func (o *ListGiteaCredentialsOK) Code() int

Code gets the status code for the list gitea credentials o k response

func (*ListGiteaCredentialsOK) Error

func (o *ListGiteaCredentialsOK) Error() string

func (*ListGiteaCredentialsOK) GetPayload

func (*ListGiteaCredentialsOK) IsClientError

func (o *ListGiteaCredentialsOK) IsClientError() bool

IsClientError returns true when this list gitea credentials o k response has a 4xx status code

func (*ListGiteaCredentialsOK) IsCode

func (o *ListGiteaCredentialsOK) IsCode(code int) bool

IsCode returns true when this list gitea credentials o k response a status code equal to that given

func (*ListGiteaCredentialsOK) IsRedirect

func (o *ListGiteaCredentialsOK) IsRedirect() bool

IsRedirect returns true when this list gitea credentials o k response has a 3xx status code

func (*ListGiteaCredentialsOK) IsServerError

func (o *ListGiteaCredentialsOK) IsServerError() bool

IsServerError returns true when this list gitea credentials o k response has a 5xx status code

func (*ListGiteaCredentialsOK) IsSuccess

func (o *ListGiteaCredentialsOK) IsSuccess() bool

IsSuccess returns true when this list gitea credentials o k response has a 2xx status code

func (*ListGiteaCredentialsOK) String

func (o *ListGiteaCredentialsOK) String() string

type ListGiteaCredentialsParams

type ListGiteaCredentialsParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ListGiteaCredentialsParams contains all the parameters to send to the API endpoint

for the list gitea credentials operation.

Typically these are written to a http.Request.

func NewListGiteaCredentialsParams

func NewListGiteaCredentialsParams() *ListGiteaCredentialsParams

NewListGiteaCredentialsParams creates a new ListGiteaCredentialsParams 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 NewListGiteaCredentialsParamsWithContext

func NewListGiteaCredentialsParamsWithContext(ctx context.Context) *ListGiteaCredentialsParams

NewListGiteaCredentialsParamsWithContext creates a new ListGiteaCredentialsParams object with the ability to set a context for a request.

func NewListGiteaCredentialsParamsWithHTTPClient

func NewListGiteaCredentialsParamsWithHTTPClient(client *http.Client) *ListGiteaCredentialsParams

NewListGiteaCredentialsParamsWithHTTPClient creates a new ListGiteaCredentialsParams object with the ability to set a custom HTTPClient for a request.

func NewListGiteaCredentialsParamsWithTimeout

func NewListGiteaCredentialsParamsWithTimeout(timeout time.Duration) *ListGiteaCredentialsParams

NewListGiteaCredentialsParamsWithTimeout creates a new ListGiteaCredentialsParams object with the ability to set a timeout on a request.

func (*ListGiteaCredentialsParams) SetContext

func (o *ListGiteaCredentialsParams) SetContext(ctx context.Context)

SetContext adds the context to the list gitea credentials params

func (*ListGiteaCredentialsParams) SetDefaults

func (o *ListGiteaCredentialsParams) SetDefaults()

SetDefaults hydrates default values in the list gitea credentials params (not the query body).

All values with no default are reset to their zero value.

func (*ListGiteaCredentialsParams) SetHTTPClient

func (o *ListGiteaCredentialsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the list gitea credentials params

func (*ListGiteaCredentialsParams) SetTimeout

func (o *ListGiteaCredentialsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the list gitea credentials params

func (*ListGiteaCredentialsParams) WithContext

WithContext adds the context to the list gitea credentials params

func (*ListGiteaCredentialsParams) WithDefaults

WithDefaults hydrates default values in the list gitea credentials params (not the query body).

All values with no default are reset to their zero value.

func (*ListGiteaCredentialsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the list gitea credentials params

func (*ListGiteaCredentialsParams) WithTimeout

WithTimeout adds the timeout to the list gitea credentials params

func (*ListGiteaCredentialsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListGiteaCredentialsReader

type ListGiteaCredentialsReader struct {
	// contains filtered or unexported fields
}

ListGiteaCredentialsReader is a Reader for the ListGiteaCredentials structure.

func (*ListGiteaCredentialsReader) ReadResponse

func (o *ListGiteaCredentialsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UpdateCredentialsBadRequest added in v0.1.5

type UpdateCredentialsBadRequest struct {
	Payload apiserver_params.APIErrorResponse
}

UpdateCredentialsBadRequest describes a response with status code 400, with default header values.

APIErrorResponse

func NewUpdateCredentialsBadRequest added in v0.1.5

func NewUpdateCredentialsBadRequest() *UpdateCredentialsBadRequest

NewUpdateCredentialsBadRequest creates a UpdateCredentialsBadRequest with default headers values

func (*UpdateCredentialsBadRequest) Code added in v0.1.5

func (o *UpdateCredentialsBadRequest) Code() int

Code gets the status code for the update credentials bad request response

func (*UpdateCredentialsBadRequest) Error added in v0.1.5

func (*UpdateCredentialsBadRequest) GetPayload added in v0.1.5

func (*UpdateCredentialsBadRequest) IsClientError added in v0.1.5

func (o *UpdateCredentialsBadRequest) IsClientError() bool

IsClientError returns true when this update credentials bad request response has a 4xx status code

func (*UpdateCredentialsBadRequest) IsCode added in v0.1.5

func (o *UpdateCredentialsBadRequest) IsCode(code int) bool

IsCode returns true when this update credentials bad request response a status code equal to that given

func (*UpdateCredentialsBadRequest) IsRedirect added in v0.1.5

func (o *UpdateCredentialsBadRequest) IsRedirect() bool

IsRedirect returns true when this update credentials bad request response has a 3xx status code

func (*UpdateCredentialsBadRequest) IsServerError added in v0.1.5

func (o *UpdateCredentialsBadRequest) IsServerError() bool

IsServerError returns true when this update credentials bad request response has a 5xx status code

func (*UpdateCredentialsBadRequest) IsSuccess added in v0.1.5

func (o *UpdateCredentialsBadRequest) IsSuccess() bool

IsSuccess returns true when this update credentials bad request response has a 2xx status code

func (*UpdateCredentialsBadRequest) String added in v0.1.5

func (o *UpdateCredentialsBadRequest) String() string

type UpdateCredentialsOK added in v0.1.5

type UpdateCredentialsOK struct {
	Payload garm_params.ForgeCredentials
}

UpdateCredentialsOK describes a response with status code 200, with default header values.

ForgeCredentials

func NewUpdateCredentialsOK added in v0.1.5

func NewUpdateCredentialsOK() *UpdateCredentialsOK

NewUpdateCredentialsOK creates a UpdateCredentialsOK with default headers values

func (*UpdateCredentialsOK) Code added in v0.1.5

func (o *UpdateCredentialsOK) Code() int

Code gets the status code for the update credentials o k response

func (*UpdateCredentialsOK) Error added in v0.1.5

func (o *UpdateCredentialsOK) Error() string

func (*UpdateCredentialsOK) GetPayload added in v0.1.5

func (*UpdateCredentialsOK) IsClientError added in v0.1.5

func (o *UpdateCredentialsOK) IsClientError() bool

IsClientError returns true when this update credentials o k response has a 4xx status code

func (*UpdateCredentialsOK) IsCode added in v0.1.5

func (o *UpdateCredentialsOK) IsCode(code int) bool

IsCode returns true when this update credentials o k response a status code equal to that given

func (*UpdateCredentialsOK) IsRedirect added in v0.1.5

func (o *UpdateCredentialsOK) IsRedirect() bool

IsRedirect returns true when this update credentials o k response has a 3xx status code

func (*UpdateCredentialsOK) IsServerError added in v0.1.5

func (o *UpdateCredentialsOK) IsServerError() bool

IsServerError returns true when this update credentials o k response has a 5xx status code

func (*UpdateCredentialsOK) IsSuccess added in v0.1.5

func (o *UpdateCredentialsOK) IsSuccess() bool

IsSuccess returns true when this update credentials o k response has a 2xx status code

func (*UpdateCredentialsOK) String added in v0.1.5

func (o *UpdateCredentialsOK) String() string

type UpdateCredentialsParams added in v0.1.5

type UpdateCredentialsParams struct {

	/* Body.

	   Parameters used when updating a GitHub credential.
	*/
	Body garm_params.UpdateGithubCredentialsParams

	/* ID.

	   ID of the GitHub credential.
	*/
	ID int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UpdateCredentialsParams contains all the parameters to send to the API endpoint

for the update credentials operation.

Typically these are written to a http.Request.

func NewUpdateCredentialsParams added in v0.1.5

func NewUpdateCredentialsParams() *UpdateCredentialsParams

NewUpdateCredentialsParams creates a new UpdateCredentialsParams 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 NewUpdateCredentialsParamsWithContext added in v0.1.5

func NewUpdateCredentialsParamsWithContext(ctx context.Context) *UpdateCredentialsParams

NewUpdateCredentialsParamsWithContext creates a new UpdateCredentialsParams object with the ability to set a context for a request.

func NewUpdateCredentialsParamsWithHTTPClient added in v0.1.5

func NewUpdateCredentialsParamsWithHTTPClient(client *http.Client) *UpdateCredentialsParams

NewUpdateCredentialsParamsWithHTTPClient creates a new UpdateCredentialsParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateCredentialsParamsWithTimeout added in v0.1.5

func NewUpdateCredentialsParamsWithTimeout(timeout time.Duration) *UpdateCredentialsParams

NewUpdateCredentialsParamsWithTimeout creates a new UpdateCredentialsParams object with the ability to set a timeout on a request.

func (*UpdateCredentialsParams) SetBody added in v0.1.5

SetBody adds the body to the update credentials params

func (*UpdateCredentialsParams) SetContext added in v0.1.5

func (o *UpdateCredentialsParams) SetContext(ctx context.Context)

SetContext adds the context to the update credentials params

func (*UpdateCredentialsParams) SetDefaults added in v0.1.5

func (o *UpdateCredentialsParams) SetDefaults()

SetDefaults hydrates default values in the update credentials params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateCredentialsParams) SetHTTPClient added in v0.1.5

func (o *UpdateCredentialsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the update credentials params

func (*UpdateCredentialsParams) SetID added in v0.1.5

func (o *UpdateCredentialsParams) SetID(id int64)

SetID adds the id to the update credentials params

func (*UpdateCredentialsParams) SetTimeout added in v0.1.5

func (o *UpdateCredentialsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the update credentials params

func (*UpdateCredentialsParams) WithBody added in v0.1.5

WithBody adds the body to the update credentials params

func (*UpdateCredentialsParams) WithContext added in v0.1.5

WithContext adds the context to the update credentials params

func (*UpdateCredentialsParams) WithDefaults added in v0.1.5

WithDefaults hydrates default values in the update credentials params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateCredentialsParams) WithHTTPClient added in v0.1.5

func (o *UpdateCredentialsParams) WithHTTPClient(client *http.Client) *UpdateCredentialsParams

WithHTTPClient adds the HTTPClient to the update credentials params

func (*UpdateCredentialsParams) WithID added in v0.1.5

WithID adds the id to the update credentials params

func (*UpdateCredentialsParams) WithTimeout added in v0.1.5

WithTimeout adds the timeout to the update credentials params

func (*UpdateCredentialsParams) WriteToRequest added in v0.1.5

WriteToRequest writes these params to a swagger request

type UpdateCredentialsReader added in v0.1.5

type UpdateCredentialsReader struct {
	// contains filtered or unexported fields
}

UpdateCredentialsReader is a Reader for the UpdateCredentials structure.

func (*UpdateCredentialsReader) ReadResponse added in v0.1.5

func (o *UpdateCredentialsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UpdateGiteaCredentialsBadRequest

type UpdateGiteaCredentialsBadRequest struct {
	Payload apiserver_params.APIErrorResponse
}

UpdateGiteaCredentialsBadRequest describes a response with status code 400, with default header values.

APIErrorResponse

func NewUpdateGiteaCredentialsBadRequest

func NewUpdateGiteaCredentialsBadRequest() *UpdateGiteaCredentialsBadRequest

NewUpdateGiteaCredentialsBadRequest creates a UpdateGiteaCredentialsBadRequest with default headers values

func (*UpdateGiteaCredentialsBadRequest) Code

Code gets the status code for the update gitea credentials bad request response

func (*UpdateGiteaCredentialsBadRequest) Error

func (*UpdateGiteaCredentialsBadRequest) GetPayload

func (*UpdateGiteaCredentialsBadRequest) IsClientError

func (o *UpdateGiteaCredentialsBadRequest) IsClientError() bool

IsClientError returns true when this update gitea credentials bad request response has a 4xx status code

func (*UpdateGiteaCredentialsBadRequest) IsCode

func (o *UpdateGiteaCredentialsBadRequest) IsCode(code int) bool

IsCode returns true when this update gitea credentials bad request response a status code equal to that given

func (*UpdateGiteaCredentialsBadRequest) IsRedirect

func (o *UpdateGiteaCredentialsBadRequest) IsRedirect() bool

IsRedirect returns true when this update gitea credentials bad request response has a 3xx status code

func (*UpdateGiteaCredentialsBadRequest) IsServerError

func (o *UpdateGiteaCredentialsBadRequest) IsServerError() bool

IsServerError returns true when this update gitea credentials bad request response has a 5xx status code

func (*UpdateGiteaCredentialsBadRequest) IsSuccess

func (o *UpdateGiteaCredentialsBadRequest) IsSuccess() bool

IsSuccess returns true when this update gitea credentials bad request response has a 2xx status code

func (*UpdateGiteaCredentialsBadRequest) String

type UpdateGiteaCredentialsOK

type UpdateGiteaCredentialsOK struct {
	Payload garm_params.ForgeCredentials
}

UpdateGiteaCredentialsOK describes a response with status code 200, with default header values.

ForgeCredentials

func NewUpdateGiteaCredentialsOK

func NewUpdateGiteaCredentialsOK() *UpdateGiteaCredentialsOK

NewUpdateGiteaCredentialsOK creates a UpdateGiteaCredentialsOK with default headers values

func (*UpdateGiteaCredentialsOK) Code

func (o *UpdateGiteaCredentialsOK) Code() int

Code gets the status code for the update gitea credentials o k response

func (*UpdateGiteaCredentialsOK) Error

func (o *UpdateGiteaCredentialsOK) Error() string

func (*UpdateGiteaCredentialsOK) GetPayload

func (*UpdateGiteaCredentialsOK) IsClientError

func (o *UpdateGiteaCredentialsOK) IsClientError() bool

IsClientError returns true when this update gitea credentials o k response has a 4xx status code

func (*UpdateGiteaCredentialsOK) IsCode

func (o *UpdateGiteaCredentialsOK) IsCode(code int) bool

IsCode returns true when this update gitea credentials o k response a status code equal to that given

func (*UpdateGiteaCredentialsOK) IsRedirect

func (o *UpdateGiteaCredentialsOK) IsRedirect() bool

IsRedirect returns true when this update gitea credentials o k response has a 3xx status code

func (*UpdateGiteaCredentialsOK) IsServerError

func (o *UpdateGiteaCredentialsOK) IsServerError() bool

IsServerError returns true when this update gitea credentials o k response has a 5xx status code

func (*UpdateGiteaCredentialsOK) IsSuccess

func (o *UpdateGiteaCredentialsOK) IsSuccess() bool

IsSuccess returns true when this update gitea credentials o k response has a 2xx status code

func (*UpdateGiteaCredentialsOK) String

func (o *UpdateGiteaCredentialsOK) String() string

type UpdateGiteaCredentialsParams

type UpdateGiteaCredentialsParams struct {

	/* Body.

	   Parameters used when updating a Gitea credential.
	*/
	Body garm_params.UpdateGiteaCredentialsParams

	/* ID.

	   ID of the Gitea credential.
	*/
	ID int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UpdateGiteaCredentialsParams contains all the parameters to send to the API endpoint

for the update gitea credentials operation.

Typically these are written to a http.Request.

func NewUpdateGiteaCredentialsParams

func NewUpdateGiteaCredentialsParams() *UpdateGiteaCredentialsParams

NewUpdateGiteaCredentialsParams creates a new UpdateGiteaCredentialsParams 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 NewUpdateGiteaCredentialsParamsWithContext

func NewUpdateGiteaCredentialsParamsWithContext(ctx context.Context) *UpdateGiteaCredentialsParams

NewUpdateGiteaCredentialsParamsWithContext creates a new UpdateGiteaCredentialsParams object with the ability to set a context for a request.

func NewUpdateGiteaCredentialsParamsWithHTTPClient

func NewUpdateGiteaCredentialsParamsWithHTTPClient(client *http.Client) *UpdateGiteaCredentialsParams

NewUpdateGiteaCredentialsParamsWithHTTPClient creates a new UpdateGiteaCredentialsParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateGiteaCredentialsParamsWithTimeout

func NewUpdateGiteaCredentialsParamsWithTimeout(timeout time.Duration) *UpdateGiteaCredentialsParams

NewUpdateGiteaCredentialsParamsWithTimeout creates a new UpdateGiteaCredentialsParams object with the ability to set a timeout on a request.

func (*UpdateGiteaCredentialsParams) SetBody

SetBody adds the body to the update gitea credentials params

func (*UpdateGiteaCredentialsParams) SetContext

func (o *UpdateGiteaCredentialsParams) SetContext(ctx context.Context)

SetContext adds the context to the update gitea credentials params

func (*UpdateGiteaCredentialsParams) SetDefaults

func (o *UpdateGiteaCredentialsParams) SetDefaults()

SetDefaults hydrates default values in the update gitea credentials params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateGiteaCredentialsParams) SetHTTPClient

func (o *UpdateGiteaCredentialsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the update gitea credentials params

func (*UpdateGiteaCredentialsParams) SetID

func (o *UpdateGiteaCredentialsParams) SetID(id int64)

SetID adds the id to the update gitea credentials params

func (*UpdateGiteaCredentialsParams) SetTimeout

func (o *UpdateGiteaCredentialsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the update gitea credentials params

func (*UpdateGiteaCredentialsParams) WithBody

WithBody adds the body to the update gitea credentials params

func (*UpdateGiteaCredentialsParams) WithContext

WithContext adds the context to the update gitea credentials params

func (*UpdateGiteaCredentialsParams) WithDefaults

WithDefaults hydrates default values in the update gitea credentials params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateGiteaCredentialsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update gitea credentials params

func (*UpdateGiteaCredentialsParams) WithID

WithID adds the id to the update gitea credentials params

func (*UpdateGiteaCredentialsParams) WithTimeout

WithTimeout adds the timeout to the update gitea credentials params

func (*UpdateGiteaCredentialsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateGiteaCredentialsReader

type UpdateGiteaCredentialsReader struct {
	// contains filtered or unexported fields
}

UpdateGiteaCredentialsReader is a Reader for the UpdateGiteaCredentials structure.

func (*UpdateGiteaCredentialsReader) ReadResponse

func (o *UpdateGiteaCredentialsReader) 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