endpoints

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: 12 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 endpoints API

func (*Client) CreateGiteaEndpoint

func (a *Client) CreateGiteaEndpoint(params *CreateGiteaEndpointParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateGiteaEndpointOK, error)

CreateGiteaEndpoint creates a gitea endpoint

func (*Client) CreateGithubEndpoint

func (a *Client) CreateGithubEndpoint(params *CreateGithubEndpointParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateGithubEndpointOK, error)

CreateGithubEndpoint creates a git hub endpoint

func (*Client) DeleteGiteaEndpoint

func (a *Client) DeleteGiteaEndpoint(params *DeleteGiteaEndpointParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) error

DeleteGiteaEndpoint deletes a gitea endpoint

func (*Client) DeleteGithubEndpoint

func (a *Client) DeleteGithubEndpoint(params *DeleteGithubEndpointParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) error

DeleteGithubEndpoint deletes a git hub endpoint

func (*Client) GetGiteaEndpoint

func (a *Client) GetGiteaEndpoint(params *GetGiteaEndpointParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetGiteaEndpointOK, error)

GetGiteaEndpoint gets a gitea endpoint

func (*Client) GetGithubEndpoint

func (a *Client) GetGithubEndpoint(params *GetGithubEndpointParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetGithubEndpointOK, error)

GetGithubEndpoint gets a git hub endpoint

func (*Client) ListGiteaEndpoints

func (a *Client) ListGiteaEndpoints(params *ListGiteaEndpointsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListGiteaEndpointsOK, error)

ListGiteaEndpoints lists all gitea endpoints

func (*Client) ListGithubEndpoints

func (a *Client) ListGithubEndpoints(params *ListGithubEndpointsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListGithubEndpointsOK, error)

ListGithubEndpoints lists all git hub endpoints

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateGiteaEndpoint

func (a *Client) UpdateGiteaEndpoint(params *UpdateGiteaEndpointParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateGiteaEndpointOK, error)

UpdateGiteaEndpoint updates a gitea endpoint

func (*Client) UpdateGithubEndpoint

func (a *Client) UpdateGithubEndpoint(params *UpdateGithubEndpointParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateGithubEndpointOK, error)

UpdateGithubEndpoint updates a git hub endpoint

type ClientOption

type ClientOption func(*runtime.ClientOperation)

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

type ClientService

type ClientService interface {
	CreateGiteaEndpoint(params *CreateGiteaEndpointParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateGiteaEndpointOK, error)

	CreateGithubEndpoint(params *CreateGithubEndpointParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateGithubEndpointOK, error)

	DeleteGiteaEndpoint(params *DeleteGiteaEndpointParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) error

	DeleteGithubEndpoint(params *DeleteGithubEndpointParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) error

	GetGiteaEndpoint(params *GetGiteaEndpointParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetGiteaEndpointOK, error)

	GetGithubEndpoint(params *GetGithubEndpointParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetGithubEndpointOK, error)

	ListGiteaEndpoints(params *ListGiteaEndpointsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListGiteaEndpointsOK, error)

	ListGithubEndpoints(params *ListGithubEndpointsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListGithubEndpointsOK, error)

	UpdateGiteaEndpoint(params *UpdateGiteaEndpointParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateGiteaEndpointOK, error)

	UpdateGithubEndpoint(params *UpdateGithubEndpointParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateGithubEndpointOK, 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 endpoints API client.

func NewClientWithBasicAuth

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

New creates a new endpoints 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

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

New creates a new endpoints 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 CreateGiteaEndpointDefault

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

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

APIErrorResponse

func NewCreateGiteaEndpointDefault

func NewCreateGiteaEndpointDefault(code int) *CreateGiteaEndpointDefault

NewCreateGiteaEndpointDefault creates a CreateGiteaEndpointDefault with default headers values

func (*CreateGiteaEndpointDefault) Code

func (o *CreateGiteaEndpointDefault) Code() int

Code gets the status code for the create gitea endpoint default response

func (*CreateGiteaEndpointDefault) Error

func (*CreateGiteaEndpointDefault) GetPayload

func (*CreateGiteaEndpointDefault) IsClientError

func (o *CreateGiteaEndpointDefault) IsClientError() bool

IsClientError returns true when this create gitea endpoint default response has a 4xx status code

func (*CreateGiteaEndpointDefault) IsCode

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

IsCode returns true when this create gitea endpoint default response a status code equal to that given

func (*CreateGiteaEndpointDefault) IsRedirect

func (o *CreateGiteaEndpointDefault) IsRedirect() bool

IsRedirect returns true when this create gitea endpoint default response has a 3xx status code

func (*CreateGiteaEndpointDefault) IsServerError

func (o *CreateGiteaEndpointDefault) IsServerError() bool

IsServerError returns true when this create gitea endpoint default response has a 5xx status code

func (*CreateGiteaEndpointDefault) IsSuccess

func (o *CreateGiteaEndpointDefault) IsSuccess() bool

IsSuccess returns true when this create gitea endpoint default response has a 2xx status code

func (*CreateGiteaEndpointDefault) String

func (o *CreateGiteaEndpointDefault) String() string

type CreateGiteaEndpointOK

type CreateGiteaEndpointOK struct {
	Payload garm_params.ForgeEndpoint
}

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

ForgeEndpoint

func NewCreateGiteaEndpointOK

func NewCreateGiteaEndpointOK() *CreateGiteaEndpointOK

NewCreateGiteaEndpointOK creates a CreateGiteaEndpointOK with default headers values

func (*CreateGiteaEndpointOK) Code

func (o *CreateGiteaEndpointOK) Code() int

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

func (*CreateGiteaEndpointOK) Error

func (o *CreateGiteaEndpointOK) Error() string

func (*CreateGiteaEndpointOK) GetPayload

func (*CreateGiteaEndpointOK) IsClientError

func (o *CreateGiteaEndpointOK) IsClientError() bool

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

func (*CreateGiteaEndpointOK) IsCode

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

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

func (*CreateGiteaEndpointOK) IsRedirect

func (o *CreateGiteaEndpointOK) IsRedirect() bool

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

func (*CreateGiteaEndpointOK) IsServerError

func (o *CreateGiteaEndpointOK) IsServerError() bool

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

func (*CreateGiteaEndpointOK) IsSuccess

func (o *CreateGiteaEndpointOK) IsSuccess() bool

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

func (*CreateGiteaEndpointOK) String

func (o *CreateGiteaEndpointOK) String() string

type CreateGiteaEndpointParams

type CreateGiteaEndpointParams struct {

	/* Body.

	   Parameters used when creating a Gitea endpoint.
	*/
	Body garm_params.CreateGiteaEndpointParams

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

CreateGiteaEndpointParams contains all the parameters to send to the API endpoint

for the create gitea endpoint operation.

Typically these are written to a http.Request.

func NewCreateGiteaEndpointParams

func NewCreateGiteaEndpointParams() *CreateGiteaEndpointParams

NewCreateGiteaEndpointParams creates a new CreateGiteaEndpointParams 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 NewCreateGiteaEndpointParamsWithContext

func NewCreateGiteaEndpointParamsWithContext(ctx context.Context) *CreateGiteaEndpointParams

NewCreateGiteaEndpointParamsWithContext creates a new CreateGiteaEndpointParams object with the ability to set a context for a request.

func NewCreateGiteaEndpointParamsWithHTTPClient

func NewCreateGiteaEndpointParamsWithHTTPClient(client *http.Client) *CreateGiteaEndpointParams

NewCreateGiteaEndpointParamsWithHTTPClient creates a new CreateGiteaEndpointParams object with the ability to set a custom HTTPClient for a request.

func NewCreateGiteaEndpointParamsWithTimeout

func NewCreateGiteaEndpointParamsWithTimeout(timeout time.Duration) *CreateGiteaEndpointParams

NewCreateGiteaEndpointParamsWithTimeout creates a new CreateGiteaEndpointParams object with the ability to set a timeout on a request.

func (*CreateGiteaEndpointParams) SetBody

SetBody adds the body to the create gitea endpoint params

func (*CreateGiteaEndpointParams) SetContext

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

SetContext adds the context to the create gitea endpoint params

func (*CreateGiteaEndpointParams) SetDefaults

func (o *CreateGiteaEndpointParams) SetDefaults()

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

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

func (*CreateGiteaEndpointParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create gitea endpoint params

func (*CreateGiteaEndpointParams) SetTimeout

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

SetTimeout adds the timeout to the create gitea endpoint params

func (*CreateGiteaEndpointParams) WithBody

WithBody adds the body to the create gitea endpoint params

func (*CreateGiteaEndpointParams) WithContext

WithContext adds the context to the create gitea endpoint params

func (*CreateGiteaEndpointParams) WithDefaults

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

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

func (*CreateGiteaEndpointParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create gitea endpoint params

func (*CreateGiteaEndpointParams) WithTimeout

WithTimeout adds the timeout to the create gitea endpoint params

func (*CreateGiteaEndpointParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateGiteaEndpointReader

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

CreateGiteaEndpointReader is a Reader for the CreateGiteaEndpoint structure.

func (*CreateGiteaEndpointReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateGithubEndpointDefault

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

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

APIErrorResponse

func NewCreateGithubEndpointDefault

func NewCreateGithubEndpointDefault(code int) *CreateGithubEndpointDefault

NewCreateGithubEndpointDefault creates a CreateGithubEndpointDefault with default headers values

func (*CreateGithubEndpointDefault) Code

func (o *CreateGithubEndpointDefault) Code() int

Code gets the status code for the create github endpoint default response

func (*CreateGithubEndpointDefault) Error

func (*CreateGithubEndpointDefault) GetPayload

func (*CreateGithubEndpointDefault) IsClientError

func (o *CreateGithubEndpointDefault) IsClientError() bool

IsClientError returns true when this create github endpoint default response has a 4xx status code

func (*CreateGithubEndpointDefault) IsCode

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

IsCode returns true when this create github endpoint default response a status code equal to that given

func (*CreateGithubEndpointDefault) IsRedirect

func (o *CreateGithubEndpointDefault) IsRedirect() bool

IsRedirect returns true when this create github endpoint default response has a 3xx status code

func (*CreateGithubEndpointDefault) IsServerError

func (o *CreateGithubEndpointDefault) IsServerError() bool

IsServerError returns true when this create github endpoint default response has a 5xx status code

func (*CreateGithubEndpointDefault) IsSuccess

func (o *CreateGithubEndpointDefault) IsSuccess() bool

IsSuccess returns true when this create github endpoint default response has a 2xx status code

func (*CreateGithubEndpointDefault) String

func (o *CreateGithubEndpointDefault) String() string

type CreateGithubEndpointOK

type CreateGithubEndpointOK struct {
	Payload garm_params.ForgeEndpoint
}

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

ForgeEndpoint

func NewCreateGithubEndpointOK

func NewCreateGithubEndpointOK() *CreateGithubEndpointOK

NewCreateGithubEndpointOK creates a CreateGithubEndpointOK with default headers values

func (*CreateGithubEndpointOK) Code

func (o *CreateGithubEndpointOK) Code() int

Code gets the status code for the create github endpoint o k response

func (*CreateGithubEndpointOK) Error

func (o *CreateGithubEndpointOK) Error() string

func (*CreateGithubEndpointOK) GetPayload

func (*CreateGithubEndpointOK) IsClientError

func (o *CreateGithubEndpointOK) IsClientError() bool

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

func (*CreateGithubEndpointOK) IsCode

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

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

func (*CreateGithubEndpointOK) IsRedirect

func (o *CreateGithubEndpointOK) IsRedirect() bool

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

func (*CreateGithubEndpointOK) IsServerError

func (o *CreateGithubEndpointOK) IsServerError() bool

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

func (*CreateGithubEndpointOK) IsSuccess

func (o *CreateGithubEndpointOK) IsSuccess() bool

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

func (*CreateGithubEndpointOK) String

func (o *CreateGithubEndpointOK) String() string

type CreateGithubEndpointParams

type CreateGithubEndpointParams struct {

	/* Body.

	   Parameters used when creating a GitHub endpoint.
	*/
	Body garm_params.CreateGithubEndpointParams

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

CreateGithubEndpointParams contains all the parameters to send to the API endpoint

for the create github endpoint operation.

Typically these are written to a http.Request.

func NewCreateGithubEndpointParams

func NewCreateGithubEndpointParams() *CreateGithubEndpointParams

NewCreateGithubEndpointParams creates a new CreateGithubEndpointParams 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 NewCreateGithubEndpointParamsWithContext

func NewCreateGithubEndpointParamsWithContext(ctx context.Context) *CreateGithubEndpointParams

NewCreateGithubEndpointParamsWithContext creates a new CreateGithubEndpointParams object with the ability to set a context for a request.

func NewCreateGithubEndpointParamsWithHTTPClient

func NewCreateGithubEndpointParamsWithHTTPClient(client *http.Client) *CreateGithubEndpointParams

NewCreateGithubEndpointParamsWithHTTPClient creates a new CreateGithubEndpointParams object with the ability to set a custom HTTPClient for a request.

func NewCreateGithubEndpointParamsWithTimeout

func NewCreateGithubEndpointParamsWithTimeout(timeout time.Duration) *CreateGithubEndpointParams

NewCreateGithubEndpointParamsWithTimeout creates a new CreateGithubEndpointParams object with the ability to set a timeout on a request.

func (*CreateGithubEndpointParams) SetBody

SetBody adds the body to the create github endpoint params

func (*CreateGithubEndpointParams) SetContext

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

SetContext adds the context to the create github endpoint params

func (*CreateGithubEndpointParams) SetDefaults

func (o *CreateGithubEndpointParams) SetDefaults()

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

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

func (*CreateGithubEndpointParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create github endpoint params

func (*CreateGithubEndpointParams) SetTimeout

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

SetTimeout adds the timeout to the create github endpoint params

func (*CreateGithubEndpointParams) WithBody

WithBody adds the body to the create github endpoint params

func (*CreateGithubEndpointParams) WithContext

WithContext adds the context to the create github endpoint params

func (*CreateGithubEndpointParams) WithDefaults

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

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

func (*CreateGithubEndpointParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create github endpoint params

func (*CreateGithubEndpointParams) WithTimeout

WithTimeout adds the timeout to the create github endpoint params

func (*CreateGithubEndpointParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateGithubEndpointReader

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

CreateGithubEndpointReader is a Reader for the CreateGithubEndpoint structure.

func (*CreateGithubEndpointReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteGiteaEndpointDefault

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

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

APIErrorResponse

func NewDeleteGiteaEndpointDefault

func NewDeleteGiteaEndpointDefault(code int) *DeleteGiteaEndpointDefault

NewDeleteGiteaEndpointDefault creates a DeleteGiteaEndpointDefault with default headers values

func (*DeleteGiteaEndpointDefault) Code

func (o *DeleteGiteaEndpointDefault) Code() int

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

func (*DeleteGiteaEndpointDefault) Error

func (*DeleteGiteaEndpointDefault) GetPayload

func (*DeleteGiteaEndpointDefault) IsClientError

func (o *DeleteGiteaEndpointDefault) IsClientError() bool

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

func (*DeleteGiteaEndpointDefault) IsCode

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

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

func (*DeleteGiteaEndpointDefault) IsRedirect

func (o *DeleteGiteaEndpointDefault) IsRedirect() bool

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

func (*DeleteGiteaEndpointDefault) IsServerError

func (o *DeleteGiteaEndpointDefault) IsServerError() bool

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

func (*DeleteGiteaEndpointDefault) IsSuccess

func (o *DeleteGiteaEndpointDefault) IsSuccess() bool

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

func (*DeleteGiteaEndpointDefault) String

func (o *DeleteGiteaEndpointDefault) String() string

type DeleteGiteaEndpointParams

type DeleteGiteaEndpointParams struct {

	/* Name.

	   The name of the Gitea endpoint.
	*/
	Name string

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

DeleteGiteaEndpointParams contains all the parameters to send to the API endpoint

for the delete gitea endpoint operation.

Typically these are written to a http.Request.

func NewDeleteGiteaEndpointParams

func NewDeleteGiteaEndpointParams() *DeleteGiteaEndpointParams

NewDeleteGiteaEndpointParams creates a new DeleteGiteaEndpointParams 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 NewDeleteGiteaEndpointParamsWithContext

func NewDeleteGiteaEndpointParamsWithContext(ctx context.Context) *DeleteGiteaEndpointParams

NewDeleteGiteaEndpointParamsWithContext creates a new DeleteGiteaEndpointParams object with the ability to set a context for a request.

func NewDeleteGiteaEndpointParamsWithHTTPClient

func NewDeleteGiteaEndpointParamsWithHTTPClient(client *http.Client) *DeleteGiteaEndpointParams

NewDeleteGiteaEndpointParamsWithHTTPClient creates a new DeleteGiteaEndpointParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteGiteaEndpointParamsWithTimeout

func NewDeleteGiteaEndpointParamsWithTimeout(timeout time.Duration) *DeleteGiteaEndpointParams

NewDeleteGiteaEndpointParamsWithTimeout creates a new DeleteGiteaEndpointParams object with the ability to set a timeout on a request.

func (*DeleteGiteaEndpointParams) SetContext

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

SetContext adds the context to the delete gitea endpoint params

func (*DeleteGiteaEndpointParams) SetDefaults

func (o *DeleteGiteaEndpointParams) SetDefaults()

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

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

func (*DeleteGiteaEndpointParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete gitea endpoint params

func (*DeleteGiteaEndpointParams) SetName

func (o *DeleteGiteaEndpointParams) SetName(name string)

SetName adds the name to the delete gitea endpoint params

func (*DeleteGiteaEndpointParams) SetTimeout

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

SetTimeout adds the timeout to the delete gitea endpoint params

func (*DeleteGiteaEndpointParams) WithContext

WithContext adds the context to the delete gitea endpoint params

func (*DeleteGiteaEndpointParams) WithDefaults

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

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

func (*DeleteGiteaEndpointParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete gitea endpoint params

func (*DeleteGiteaEndpointParams) WithName

WithName adds the name to the delete gitea endpoint params

func (*DeleteGiteaEndpointParams) WithTimeout

WithTimeout adds the timeout to the delete gitea endpoint params

func (*DeleteGiteaEndpointParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteGiteaEndpointReader

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

DeleteGiteaEndpointReader is a Reader for the DeleteGiteaEndpoint structure.

func (*DeleteGiteaEndpointReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteGithubEndpointDefault

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

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

APIErrorResponse

func NewDeleteGithubEndpointDefault

func NewDeleteGithubEndpointDefault(code int) *DeleteGithubEndpointDefault

NewDeleteGithubEndpointDefault creates a DeleteGithubEndpointDefault with default headers values

func (*DeleteGithubEndpointDefault) Code

func (o *DeleteGithubEndpointDefault) Code() int

Code gets the status code for the delete github endpoint default response

func (*DeleteGithubEndpointDefault) Error

func (*DeleteGithubEndpointDefault) GetPayload

func (*DeleteGithubEndpointDefault) IsClientError

func (o *DeleteGithubEndpointDefault) IsClientError() bool

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

func (*DeleteGithubEndpointDefault) IsCode

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

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

func (*DeleteGithubEndpointDefault) IsRedirect

func (o *DeleteGithubEndpointDefault) IsRedirect() bool

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

func (*DeleteGithubEndpointDefault) IsServerError

func (o *DeleteGithubEndpointDefault) IsServerError() bool

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

func (*DeleteGithubEndpointDefault) IsSuccess

func (o *DeleteGithubEndpointDefault) IsSuccess() bool

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

func (*DeleteGithubEndpointDefault) String

func (o *DeleteGithubEndpointDefault) String() string

type DeleteGithubEndpointParams

type DeleteGithubEndpointParams struct {

	/* Name.

	   The name of the GitHub endpoint.
	*/
	Name string

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

DeleteGithubEndpointParams contains all the parameters to send to the API endpoint

for the delete github endpoint operation.

Typically these are written to a http.Request.

func NewDeleteGithubEndpointParams

func NewDeleteGithubEndpointParams() *DeleteGithubEndpointParams

NewDeleteGithubEndpointParams creates a new DeleteGithubEndpointParams 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 NewDeleteGithubEndpointParamsWithContext

func NewDeleteGithubEndpointParamsWithContext(ctx context.Context) *DeleteGithubEndpointParams

NewDeleteGithubEndpointParamsWithContext creates a new DeleteGithubEndpointParams object with the ability to set a context for a request.

func NewDeleteGithubEndpointParamsWithHTTPClient

func NewDeleteGithubEndpointParamsWithHTTPClient(client *http.Client) *DeleteGithubEndpointParams

NewDeleteGithubEndpointParamsWithHTTPClient creates a new DeleteGithubEndpointParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteGithubEndpointParamsWithTimeout

func NewDeleteGithubEndpointParamsWithTimeout(timeout time.Duration) *DeleteGithubEndpointParams

NewDeleteGithubEndpointParamsWithTimeout creates a new DeleteGithubEndpointParams object with the ability to set a timeout on a request.

func (*DeleteGithubEndpointParams) SetContext

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

SetContext adds the context to the delete github endpoint params

func (*DeleteGithubEndpointParams) SetDefaults

func (o *DeleteGithubEndpointParams) SetDefaults()

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

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

func (*DeleteGithubEndpointParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete github endpoint params

func (*DeleteGithubEndpointParams) SetName

func (o *DeleteGithubEndpointParams) SetName(name string)

SetName adds the name to the delete github endpoint params

func (*DeleteGithubEndpointParams) SetTimeout

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

SetTimeout adds the timeout to the delete github endpoint params

func (*DeleteGithubEndpointParams) WithContext

WithContext adds the context to the delete github endpoint params

func (*DeleteGithubEndpointParams) WithDefaults

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

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

func (*DeleteGithubEndpointParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete github endpoint params

func (*DeleteGithubEndpointParams) WithName

WithName adds the name to the delete github endpoint params

func (*DeleteGithubEndpointParams) WithTimeout

WithTimeout adds the timeout to the delete github endpoint params

func (*DeleteGithubEndpointParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteGithubEndpointReader

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

DeleteGithubEndpointReader is a Reader for the DeleteGithubEndpoint structure.

func (*DeleteGithubEndpointReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetGiteaEndpointDefault

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

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

APIErrorResponse

func NewGetGiteaEndpointDefault

func NewGetGiteaEndpointDefault(code int) *GetGiteaEndpointDefault

NewGetGiteaEndpointDefault creates a GetGiteaEndpointDefault with default headers values

func (*GetGiteaEndpointDefault) Code

func (o *GetGiteaEndpointDefault) Code() int

Code gets the status code for the get gitea endpoint default response

func (*GetGiteaEndpointDefault) Error

func (o *GetGiteaEndpointDefault) Error() string

func (*GetGiteaEndpointDefault) GetPayload

func (*GetGiteaEndpointDefault) IsClientError

func (o *GetGiteaEndpointDefault) IsClientError() bool

IsClientError returns true when this get gitea endpoint default response has a 4xx status code

func (*GetGiteaEndpointDefault) IsCode

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

IsCode returns true when this get gitea endpoint default response a status code equal to that given

func (*GetGiteaEndpointDefault) IsRedirect

func (o *GetGiteaEndpointDefault) IsRedirect() bool

IsRedirect returns true when this get gitea endpoint default response has a 3xx status code

func (*GetGiteaEndpointDefault) IsServerError

func (o *GetGiteaEndpointDefault) IsServerError() bool

IsServerError returns true when this get gitea endpoint default response has a 5xx status code

func (*GetGiteaEndpointDefault) IsSuccess

func (o *GetGiteaEndpointDefault) IsSuccess() bool

IsSuccess returns true when this get gitea endpoint default response has a 2xx status code

func (*GetGiteaEndpointDefault) String

func (o *GetGiteaEndpointDefault) String() string

type GetGiteaEndpointOK

type GetGiteaEndpointOK struct {
	Payload garm_params.ForgeEndpoint
}

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

ForgeEndpoint

func NewGetGiteaEndpointOK

func NewGetGiteaEndpointOK() *GetGiteaEndpointOK

NewGetGiteaEndpointOK creates a GetGiteaEndpointOK with default headers values

func (*GetGiteaEndpointOK) Code

func (o *GetGiteaEndpointOK) Code() int

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

func (*GetGiteaEndpointOK) Error

func (o *GetGiteaEndpointOK) Error() string

func (*GetGiteaEndpointOK) GetPayload

func (*GetGiteaEndpointOK) IsClientError

func (o *GetGiteaEndpointOK) IsClientError() bool

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

func (*GetGiteaEndpointOK) IsCode

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

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

func (*GetGiteaEndpointOK) IsRedirect

func (o *GetGiteaEndpointOK) IsRedirect() bool

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

func (*GetGiteaEndpointOK) IsServerError

func (o *GetGiteaEndpointOK) IsServerError() bool

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

func (*GetGiteaEndpointOK) IsSuccess

func (o *GetGiteaEndpointOK) IsSuccess() bool

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

func (*GetGiteaEndpointOK) String

func (o *GetGiteaEndpointOK) String() string

type GetGiteaEndpointParams

type GetGiteaEndpointParams struct {

	/* Name.

	   The name of the Gitea endpoint.
	*/
	Name string

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

GetGiteaEndpointParams contains all the parameters to send to the API endpoint

for the get gitea endpoint operation.

Typically these are written to a http.Request.

func NewGetGiteaEndpointParams

func NewGetGiteaEndpointParams() *GetGiteaEndpointParams

NewGetGiteaEndpointParams creates a new GetGiteaEndpointParams 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 NewGetGiteaEndpointParamsWithContext

func NewGetGiteaEndpointParamsWithContext(ctx context.Context) *GetGiteaEndpointParams

NewGetGiteaEndpointParamsWithContext creates a new GetGiteaEndpointParams object with the ability to set a context for a request.

func NewGetGiteaEndpointParamsWithHTTPClient

func NewGetGiteaEndpointParamsWithHTTPClient(client *http.Client) *GetGiteaEndpointParams

NewGetGiteaEndpointParamsWithHTTPClient creates a new GetGiteaEndpointParams object with the ability to set a custom HTTPClient for a request.

func NewGetGiteaEndpointParamsWithTimeout

func NewGetGiteaEndpointParamsWithTimeout(timeout time.Duration) *GetGiteaEndpointParams

NewGetGiteaEndpointParamsWithTimeout creates a new GetGiteaEndpointParams object with the ability to set a timeout on a request.

func (*GetGiteaEndpointParams) SetContext

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

SetContext adds the context to the get gitea endpoint params

func (*GetGiteaEndpointParams) SetDefaults

func (o *GetGiteaEndpointParams) SetDefaults()

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

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

func (*GetGiteaEndpointParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get gitea endpoint params

func (*GetGiteaEndpointParams) SetName

func (o *GetGiteaEndpointParams) SetName(name string)

SetName adds the name to the get gitea endpoint params

func (*GetGiteaEndpointParams) SetTimeout

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

SetTimeout adds the timeout to the get gitea endpoint params

func (*GetGiteaEndpointParams) WithContext

WithContext adds the context to the get gitea endpoint params

func (*GetGiteaEndpointParams) WithDefaults

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

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

func (*GetGiteaEndpointParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get gitea endpoint params

func (*GetGiteaEndpointParams) WithName

WithName adds the name to the get gitea endpoint params

func (*GetGiteaEndpointParams) WithTimeout

WithTimeout adds the timeout to the get gitea endpoint params

func (*GetGiteaEndpointParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetGiteaEndpointReader

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

GetGiteaEndpointReader is a Reader for the GetGiteaEndpoint structure.

func (*GetGiteaEndpointReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetGithubEndpointDefault

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

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

APIErrorResponse

func NewGetGithubEndpointDefault

func NewGetGithubEndpointDefault(code int) *GetGithubEndpointDefault

NewGetGithubEndpointDefault creates a GetGithubEndpointDefault with default headers values

func (*GetGithubEndpointDefault) Code

func (o *GetGithubEndpointDefault) Code() int

Code gets the status code for the get github endpoint default response

func (*GetGithubEndpointDefault) Error

func (o *GetGithubEndpointDefault) Error() string

func (*GetGithubEndpointDefault) GetPayload

func (*GetGithubEndpointDefault) IsClientError

func (o *GetGithubEndpointDefault) IsClientError() bool

IsClientError returns true when this get github endpoint default response has a 4xx status code

func (*GetGithubEndpointDefault) IsCode

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

IsCode returns true when this get github endpoint default response a status code equal to that given

func (*GetGithubEndpointDefault) IsRedirect

func (o *GetGithubEndpointDefault) IsRedirect() bool

IsRedirect returns true when this get github endpoint default response has a 3xx status code

func (*GetGithubEndpointDefault) IsServerError

func (o *GetGithubEndpointDefault) IsServerError() bool

IsServerError returns true when this get github endpoint default response has a 5xx status code

func (*GetGithubEndpointDefault) IsSuccess

func (o *GetGithubEndpointDefault) IsSuccess() bool

IsSuccess returns true when this get github endpoint default response has a 2xx status code

func (*GetGithubEndpointDefault) String

func (o *GetGithubEndpointDefault) String() string

type GetGithubEndpointOK

type GetGithubEndpointOK struct {
	Payload garm_params.ForgeEndpoint
}

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

ForgeEndpoint

func NewGetGithubEndpointOK

func NewGetGithubEndpointOK() *GetGithubEndpointOK

NewGetGithubEndpointOK creates a GetGithubEndpointOK with default headers values

func (*GetGithubEndpointOK) Code

func (o *GetGithubEndpointOK) Code() int

Code gets the status code for the get github endpoint o k response

func (*GetGithubEndpointOK) Error

func (o *GetGithubEndpointOK) Error() string

func (*GetGithubEndpointOK) GetPayload

func (*GetGithubEndpointOK) IsClientError

func (o *GetGithubEndpointOK) IsClientError() bool

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

func (*GetGithubEndpointOK) IsCode

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

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

func (*GetGithubEndpointOK) IsRedirect

func (o *GetGithubEndpointOK) IsRedirect() bool

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

func (*GetGithubEndpointOK) IsServerError

func (o *GetGithubEndpointOK) IsServerError() bool

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

func (*GetGithubEndpointOK) IsSuccess

func (o *GetGithubEndpointOK) IsSuccess() bool

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

func (*GetGithubEndpointOK) String

func (o *GetGithubEndpointOK) String() string

type GetGithubEndpointParams

type GetGithubEndpointParams struct {

	/* Name.

	   The name of the GitHub endpoint.
	*/
	Name string

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

GetGithubEndpointParams contains all the parameters to send to the API endpoint

for the get github endpoint operation.

Typically these are written to a http.Request.

func NewGetGithubEndpointParams

func NewGetGithubEndpointParams() *GetGithubEndpointParams

NewGetGithubEndpointParams creates a new GetGithubEndpointParams 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 NewGetGithubEndpointParamsWithContext

func NewGetGithubEndpointParamsWithContext(ctx context.Context) *GetGithubEndpointParams

NewGetGithubEndpointParamsWithContext creates a new GetGithubEndpointParams object with the ability to set a context for a request.

func NewGetGithubEndpointParamsWithHTTPClient

func NewGetGithubEndpointParamsWithHTTPClient(client *http.Client) *GetGithubEndpointParams

NewGetGithubEndpointParamsWithHTTPClient creates a new GetGithubEndpointParams object with the ability to set a custom HTTPClient for a request.

func NewGetGithubEndpointParamsWithTimeout

func NewGetGithubEndpointParamsWithTimeout(timeout time.Duration) *GetGithubEndpointParams

NewGetGithubEndpointParamsWithTimeout creates a new GetGithubEndpointParams object with the ability to set a timeout on a request.

func (*GetGithubEndpointParams) SetContext

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

SetContext adds the context to the get github endpoint params

func (*GetGithubEndpointParams) SetDefaults

func (o *GetGithubEndpointParams) SetDefaults()

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

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

func (*GetGithubEndpointParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get github endpoint params

func (*GetGithubEndpointParams) SetName

func (o *GetGithubEndpointParams) SetName(name string)

SetName adds the name to the get github endpoint params

func (*GetGithubEndpointParams) SetTimeout

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

SetTimeout adds the timeout to the get github endpoint params

func (*GetGithubEndpointParams) WithContext

WithContext adds the context to the get github endpoint params

func (*GetGithubEndpointParams) WithDefaults

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

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

func (*GetGithubEndpointParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get github endpoint params

func (*GetGithubEndpointParams) WithName

WithName adds the name to the get github endpoint params

func (*GetGithubEndpointParams) WithTimeout

WithTimeout adds the timeout to the get github endpoint params

func (*GetGithubEndpointParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetGithubEndpointReader

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

GetGithubEndpointReader is a Reader for the GetGithubEndpoint structure.

func (*GetGithubEndpointReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListGiteaEndpointsDefault

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

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

APIErrorResponse

func NewListGiteaEndpointsDefault

func NewListGiteaEndpointsDefault(code int) *ListGiteaEndpointsDefault

NewListGiteaEndpointsDefault creates a ListGiteaEndpointsDefault with default headers values

func (*ListGiteaEndpointsDefault) Code

func (o *ListGiteaEndpointsDefault) Code() int

Code gets the status code for the list gitea endpoints default response

func (*ListGiteaEndpointsDefault) Error

func (o *ListGiteaEndpointsDefault) Error() string

func (*ListGiteaEndpointsDefault) GetPayload

func (*ListGiteaEndpointsDefault) IsClientError

func (o *ListGiteaEndpointsDefault) IsClientError() bool

IsClientError returns true when this list gitea endpoints default response has a 4xx status code

func (*ListGiteaEndpointsDefault) IsCode

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

IsCode returns true when this list gitea endpoints default response a status code equal to that given

func (*ListGiteaEndpointsDefault) IsRedirect

func (o *ListGiteaEndpointsDefault) IsRedirect() bool

IsRedirect returns true when this list gitea endpoints default response has a 3xx status code

func (*ListGiteaEndpointsDefault) IsServerError

func (o *ListGiteaEndpointsDefault) IsServerError() bool

IsServerError returns true when this list gitea endpoints default response has a 5xx status code

func (*ListGiteaEndpointsDefault) IsSuccess

func (o *ListGiteaEndpointsDefault) IsSuccess() bool

IsSuccess returns true when this list gitea endpoints default response has a 2xx status code

func (*ListGiteaEndpointsDefault) String

func (o *ListGiteaEndpointsDefault) String() string

type ListGiteaEndpointsOK

type ListGiteaEndpointsOK struct {
	Payload garm_params.ForgeEndpoints
}

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

ForgeEndpoints

func NewListGiteaEndpointsOK

func NewListGiteaEndpointsOK() *ListGiteaEndpointsOK

NewListGiteaEndpointsOK creates a ListGiteaEndpointsOK with default headers values

func (*ListGiteaEndpointsOK) Code

func (o *ListGiteaEndpointsOK) Code() int

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

func (*ListGiteaEndpointsOK) Error

func (o *ListGiteaEndpointsOK) Error() string

func (*ListGiteaEndpointsOK) GetPayload

func (*ListGiteaEndpointsOK) IsClientError

func (o *ListGiteaEndpointsOK) IsClientError() bool

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

func (*ListGiteaEndpointsOK) IsCode

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

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

func (*ListGiteaEndpointsOK) IsRedirect

func (o *ListGiteaEndpointsOK) IsRedirect() bool

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

func (*ListGiteaEndpointsOK) IsServerError

func (o *ListGiteaEndpointsOK) IsServerError() bool

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

func (*ListGiteaEndpointsOK) IsSuccess

func (o *ListGiteaEndpointsOK) IsSuccess() bool

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

func (*ListGiteaEndpointsOK) String

func (o *ListGiteaEndpointsOK) String() string

type ListGiteaEndpointsParams

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

ListGiteaEndpointsParams contains all the parameters to send to the API endpoint

for the list gitea endpoints operation.

Typically these are written to a http.Request.

func NewListGiteaEndpointsParams

func NewListGiteaEndpointsParams() *ListGiteaEndpointsParams

NewListGiteaEndpointsParams creates a new ListGiteaEndpointsParams 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 NewListGiteaEndpointsParamsWithContext

func NewListGiteaEndpointsParamsWithContext(ctx context.Context) *ListGiteaEndpointsParams

NewListGiteaEndpointsParamsWithContext creates a new ListGiteaEndpointsParams object with the ability to set a context for a request.

func NewListGiteaEndpointsParamsWithHTTPClient

func NewListGiteaEndpointsParamsWithHTTPClient(client *http.Client) *ListGiteaEndpointsParams

NewListGiteaEndpointsParamsWithHTTPClient creates a new ListGiteaEndpointsParams object with the ability to set a custom HTTPClient for a request.

func NewListGiteaEndpointsParamsWithTimeout

func NewListGiteaEndpointsParamsWithTimeout(timeout time.Duration) *ListGiteaEndpointsParams

NewListGiteaEndpointsParamsWithTimeout creates a new ListGiteaEndpointsParams object with the ability to set a timeout on a request.

func (*ListGiteaEndpointsParams) SetContext

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

SetContext adds the context to the list gitea endpoints params

func (*ListGiteaEndpointsParams) SetDefaults

func (o *ListGiteaEndpointsParams) SetDefaults()

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

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

func (*ListGiteaEndpointsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list gitea endpoints params

func (*ListGiteaEndpointsParams) SetTimeout

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

SetTimeout adds the timeout to the list gitea endpoints params

func (*ListGiteaEndpointsParams) WithContext

WithContext adds the context to the list gitea endpoints params

func (*ListGiteaEndpointsParams) WithDefaults

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

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

func (*ListGiteaEndpointsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list gitea endpoints params

func (*ListGiteaEndpointsParams) WithTimeout

WithTimeout adds the timeout to the list gitea endpoints params

func (*ListGiteaEndpointsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListGiteaEndpointsReader

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

ListGiteaEndpointsReader is a Reader for the ListGiteaEndpoints structure.

func (*ListGiteaEndpointsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListGithubEndpointsDefault

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

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

APIErrorResponse

func NewListGithubEndpointsDefault

func NewListGithubEndpointsDefault(code int) *ListGithubEndpointsDefault

NewListGithubEndpointsDefault creates a ListGithubEndpointsDefault with default headers values

func (*ListGithubEndpointsDefault) Code

func (o *ListGithubEndpointsDefault) Code() int

Code gets the status code for the list github endpoints default response

func (*ListGithubEndpointsDefault) Error

func (*ListGithubEndpointsDefault) GetPayload

func (*ListGithubEndpointsDefault) IsClientError

func (o *ListGithubEndpointsDefault) IsClientError() bool

IsClientError returns true when this list github endpoints default response has a 4xx status code

func (*ListGithubEndpointsDefault) IsCode

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

IsCode returns true when this list github endpoints default response a status code equal to that given

func (*ListGithubEndpointsDefault) IsRedirect

func (o *ListGithubEndpointsDefault) IsRedirect() bool

IsRedirect returns true when this list github endpoints default response has a 3xx status code

func (*ListGithubEndpointsDefault) IsServerError

func (o *ListGithubEndpointsDefault) IsServerError() bool

IsServerError returns true when this list github endpoints default response has a 5xx status code

func (*ListGithubEndpointsDefault) IsSuccess

func (o *ListGithubEndpointsDefault) IsSuccess() bool

IsSuccess returns true when this list github endpoints default response has a 2xx status code

func (*ListGithubEndpointsDefault) String

func (o *ListGithubEndpointsDefault) String() string

type ListGithubEndpointsOK

type ListGithubEndpointsOK struct {
	Payload garm_params.ForgeEndpoints
}

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

ForgeEndpoints

func NewListGithubEndpointsOK

func NewListGithubEndpointsOK() *ListGithubEndpointsOK

NewListGithubEndpointsOK creates a ListGithubEndpointsOK with default headers values

func (*ListGithubEndpointsOK) Code

func (o *ListGithubEndpointsOK) Code() int

Code gets the status code for the list github endpoints o k response

func (*ListGithubEndpointsOK) Error

func (o *ListGithubEndpointsOK) Error() string

func (*ListGithubEndpointsOK) GetPayload

func (*ListGithubEndpointsOK) IsClientError

func (o *ListGithubEndpointsOK) IsClientError() bool

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

func (*ListGithubEndpointsOK) IsCode

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

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

func (*ListGithubEndpointsOK) IsRedirect

func (o *ListGithubEndpointsOK) IsRedirect() bool

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

func (*ListGithubEndpointsOK) IsServerError

func (o *ListGithubEndpointsOK) IsServerError() bool

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

func (*ListGithubEndpointsOK) IsSuccess

func (o *ListGithubEndpointsOK) IsSuccess() bool

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

func (*ListGithubEndpointsOK) String

func (o *ListGithubEndpointsOK) String() string

type ListGithubEndpointsParams

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

ListGithubEndpointsParams contains all the parameters to send to the API endpoint

for the list github endpoints operation.

Typically these are written to a http.Request.

func NewListGithubEndpointsParams

func NewListGithubEndpointsParams() *ListGithubEndpointsParams

NewListGithubEndpointsParams creates a new ListGithubEndpointsParams 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 NewListGithubEndpointsParamsWithContext

func NewListGithubEndpointsParamsWithContext(ctx context.Context) *ListGithubEndpointsParams

NewListGithubEndpointsParamsWithContext creates a new ListGithubEndpointsParams object with the ability to set a context for a request.

func NewListGithubEndpointsParamsWithHTTPClient

func NewListGithubEndpointsParamsWithHTTPClient(client *http.Client) *ListGithubEndpointsParams

NewListGithubEndpointsParamsWithHTTPClient creates a new ListGithubEndpointsParams object with the ability to set a custom HTTPClient for a request.

func NewListGithubEndpointsParamsWithTimeout

func NewListGithubEndpointsParamsWithTimeout(timeout time.Duration) *ListGithubEndpointsParams

NewListGithubEndpointsParamsWithTimeout creates a new ListGithubEndpointsParams object with the ability to set a timeout on a request.

func (*ListGithubEndpointsParams) SetContext

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

SetContext adds the context to the list github endpoints params

func (*ListGithubEndpointsParams) SetDefaults

func (o *ListGithubEndpointsParams) SetDefaults()

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

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

func (*ListGithubEndpointsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list github endpoints params

func (*ListGithubEndpointsParams) SetTimeout

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

SetTimeout adds the timeout to the list github endpoints params

func (*ListGithubEndpointsParams) WithContext

WithContext adds the context to the list github endpoints params

func (*ListGithubEndpointsParams) WithDefaults

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

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

func (*ListGithubEndpointsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list github endpoints params

func (*ListGithubEndpointsParams) WithTimeout

WithTimeout adds the timeout to the list github endpoints params

func (*ListGithubEndpointsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListGithubEndpointsReader

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

ListGithubEndpointsReader is a Reader for the ListGithubEndpoints structure.

func (*ListGithubEndpointsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateGiteaEndpointDefault

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

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

APIErrorResponse

func NewUpdateGiteaEndpointDefault

func NewUpdateGiteaEndpointDefault(code int) *UpdateGiteaEndpointDefault

NewUpdateGiteaEndpointDefault creates a UpdateGiteaEndpointDefault with default headers values

func (*UpdateGiteaEndpointDefault) Code

func (o *UpdateGiteaEndpointDefault) Code() int

Code gets the status code for the update gitea endpoint default response

func (*UpdateGiteaEndpointDefault) Error

func (*UpdateGiteaEndpointDefault) GetPayload

func (*UpdateGiteaEndpointDefault) IsClientError

func (o *UpdateGiteaEndpointDefault) IsClientError() bool

IsClientError returns true when this update gitea endpoint default response has a 4xx status code

func (*UpdateGiteaEndpointDefault) IsCode

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

IsCode returns true when this update gitea endpoint default response a status code equal to that given

func (*UpdateGiteaEndpointDefault) IsRedirect

func (o *UpdateGiteaEndpointDefault) IsRedirect() bool

IsRedirect returns true when this update gitea endpoint default response has a 3xx status code

func (*UpdateGiteaEndpointDefault) IsServerError

func (o *UpdateGiteaEndpointDefault) IsServerError() bool

IsServerError returns true when this update gitea endpoint default response has a 5xx status code

func (*UpdateGiteaEndpointDefault) IsSuccess

func (o *UpdateGiteaEndpointDefault) IsSuccess() bool

IsSuccess returns true when this update gitea endpoint default response has a 2xx status code

func (*UpdateGiteaEndpointDefault) String

func (o *UpdateGiteaEndpointDefault) String() string

type UpdateGiteaEndpointOK

type UpdateGiteaEndpointOK struct {
	Payload garm_params.ForgeEndpoint
}

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

ForgeEndpoint

func NewUpdateGiteaEndpointOK

func NewUpdateGiteaEndpointOK() *UpdateGiteaEndpointOK

NewUpdateGiteaEndpointOK creates a UpdateGiteaEndpointOK with default headers values

func (*UpdateGiteaEndpointOK) Code

func (o *UpdateGiteaEndpointOK) Code() int

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

func (*UpdateGiteaEndpointOK) Error

func (o *UpdateGiteaEndpointOK) Error() string

func (*UpdateGiteaEndpointOK) GetPayload

func (*UpdateGiteaEndpointOK) IsClientError

func (o *UpdateGiteaEndpointOK) IsClientError() bool

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

func (*UpdateGiteaEndpointOK) IsCode

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

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

func (*UpdateGiteaEndpointOK) IsRedirect

func (o *UpdateGiteaEndpointOK) IsRedirect() bool

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

func (*UpdateGiteaEndpointOK) IsServerError

func (o *UpdateGiteaEndpointOK) IsServerError() bool

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

func (*UpdateGiteaEndpointOK) IsSuccess

func (o *UpdateGiteaEndpointOK) IsSuccess() bool

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

func (*UpdateGiteaEndpointOK) String

func (o *UpdateGiteaEndpointOK) String() string

type UpdateGiteaEndpointParams

type UpdateGiteaEndpointParams struct {

	/* Body.

	   Parameters used when updating a Gitea endpoint.
	*/
	Body garm_params.UpdateGiteaEndpointParams

	/* Name.

	   The name of the Gitea endpoint.
	*/
	Name string

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

UpdateGiteaEndpointParams contains all the parameters to send to the API endpoint

for the update gitea endpoint operation.

Typically these are written to a http.Request.

func NewUpdateGiteaEndpointParams

func NewUpdateGiteaEndpointParams() *UpdateGiteaEndpointParams

NewUpdateGiteaEndpointParams creates a new UpdateGiteaEndpointParams 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 NewUpdateGiteaEndpointParamsWithContext

func NewUpdateGiteaEndpointParamsWithContext(ctx context.Context) *UpdateGiteaEndpointParams

NewUpdateGiteaEndpointParamsWithContext creates a new UpdateGiteaEndpointParams object with the ability to set a context for a request.

func NewUpdateGiteaEndpointParamsWithHTTPClient

func NewUpdateGiteaEndpointParamsWithHTTPClient(client *http.Client) *UpdateGiteaEndpointParams

NewUpdateGiteaEndpointParamsWithHTTPClient creates a new UpdateGiteaEndpointParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateGiteaEndpointParamsWithTimeout

func NewUpdateGiteaEndpointParamsWithTimeout(timeout time.Duration) *UpdateGiteaEndpointParams

NewUpdateGiteaEndpointParamsWithTimeout creates a new UpdateGiteaEndpointParams object with the ability to set a timeout on a request.

func (*UpdateGiteaEndpointParams) SetBody

SetBody adds the body to the update gitea endpoint params

func (*UpdateGiteaEndpointParams) SetContext

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

SetContext adds the context to the update gitea endpoint params

func (*UpdateGiteaEndpointParams) SetDefaults

func (o *UpdateGiteaEndpointParams) SetDefaults()

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

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

func (*UpdateGiteaEndpointParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update gitea endpoint params

func (*UpdateGiteaEndpointParams) SetName

func (o *UpdateGiteaEndpointParams) SetName(name string)

SetName adds the name to the update gitea endpoint params

func (*UpdateGiteaEndpointParams) SetTimeout

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

SetTimeout adds the timeout to the update gitea endpoint params

func (*UpdateGiteaEndpointParams) WithBody

WithBody adds the body to the update gitea endpoint params

func (*UpdateGiteaEndpointParams) WithContext

WithContext adds the context to the update gitea endpoint params

func (*UpdateGiteaEndpointParams) WithDefaults

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

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

func (*UpdateGiteaEndpointParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update gitea endpoint params

func (*UpdateGiteaEndpointParams) WithName

WithName adds the name to the update gitea endpoint params

func (*UpdateGiteaEndpointParams) WithTimeout

WithTimeout adds the timeout to the update gitea endpoint params

func (*UpdateGiteaEndpointParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateGiteaEndpointReader

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

UpdateGiteaEndpointReader is a Reader for the UpdateGiteaEndpoint structure.

func (*UpdateGiteaEndpointReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateGithubEndpointDefault

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

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

APIErrorResponse

func NewUpdateGithubEndpointDefault

func NewUpdateGithubEndpointDefault(code int) *UpdateGithubEndpointDefault

NewUpdateGithubEndpointDefault creates a UpdateGithubEndpointDefault with default headers values

func (*UpdateGithubEndpointDefault) Code

func (o *UpdateGithubEndpointDefault) Code() int

Code gets the status code for the update github endpoint default response

func (*UpdateGithubEndpointDefault) Error

func (*UpdateGithubEndpointDefault) GetPayload

func (*UpdateGithubEndpointDefault) IsClientError

func (o *UpdateGithubEndpointDefault) IsClientError() bool

IsClientError returns true when this update github endpoint default response has a 4xx status code

func (*UpdateGithubEndpointDefault) IsCode

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

IsCode returns true when this update github endpoint default response a status code equal to that given

func (*UpdateGithubEndpointDefault) IsRedirect

func (o *UpdateGithubEndpointDefault) IsRedirect() bool

IsRedirect returns true when this update github endpoint default response has a 3xx status code

func (*UpdateGithubEndpointDefault) IsServerError

func (o *UpdateGithubEndpointDefault) IsServerError() bool

IsServerError returns true when this update github endpoint default response has a 5xx status code

func (*UpdateGithubEndpointDefault) IsSuccess

func (o *UpdateGithubEndpointDefault) IsSuccess() bool

IsSuccess returns true when this update github endpoint default response has a 2xx status code

func (*UpdateGithubEndpointDefault) String

func (o *UpdateGithubEndpointDefault) String() string

type UpdateGithubEndpointOK

type UpdateGithubEndpointOK struct {
	Payload garm_params.ForgeEndpoint
}

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

ForgeEndpoint

func NewUpdateGithubEndpointOK

func NewUpdateGithubEndpointOK() *UpdateGithubEndpointOK

NewUpdateGithubEndpointOK creates a UpdateGithubEndpointOK with default headers values

func (*UpdateGithubEndpointOK) Code

func (o *UpdateGithubEndpointOK) Code() int

Code gets the status code for the update github endpoint o k response

func (*UpdateGithubEndpointOK) Error

func (o *UpdateGithubEndpointOK) Error() string

func (*UpdateGithubEndpointOK) GetPayload

func (*UpdateGithubEndpointOK) IsClientError

func (o *UpdateGithubEndpointOK) IsClientError() bool

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

func (*UpdateGithubEndpointOK) IsCode

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

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

func (*UpdateGithubEndpointOK) IsRedirect

func (o *UpdateGithubEndpointOK) IsRedirect() bool

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

func (*UpdateGithubEndpointOK) IsServerError

func (o *UpdateGithubEndpointOK) IsServerError() bool

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

func (*UpdateGithubEndpointOK) IsSuccess

func (o *UpdateGithubEndpointOK) IsSuccess() bool

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

func (*UpdateGithubEndpointOK) String

func (o *UpdateGithubEndpointOK) String() string

type UpdateGithubEndpointParams

type UpdateGithubEndpointParams struct {

	/* Body.

	   Parameters used when updating a GitHub endpoint.
	*/
	Body garm_params.UpdateGithubEndpointParams

	/* Name.

	   The name of the GitHub endpoint.
	*/
	Name string

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

UpdateGithubEndpointParams contains all the parameters to send to the API endpoint

for the update github endpoint operation.

Typically these are written to a http.Request.

func NewUpdateGithubEndpointParams

func NewUpdateGithubEndpointParams() *UpdateGithubEndpointParams

NewUpdateGithubEndpointParams creates a new UpdateGithubEndpointParams 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 NewUpdateGithubEndpointParamsWithContext

func NewUpdateGithubEndpointParamsWithContext(ctx context.Context) *UpdateGithubEndpointParams

NewUpdateGithubEndpointParamsWithContext creates a new UpdateGithubEndpointParams object with the ability to set a context for a request.

func NewUpdateGithubEndpointParamsWithHTTPClient

func NewUpdateGithubEndpointParamsWithHTTPClient(client *http.Client) *UpdateGithubEndpointParams

NewUpdateGithubEndpointParamsWithHTTPClient creates a new UpdateGithubEndpointParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateGithubEndpointParamsWithTimeout

func NewUpdateGithubEndpointParamsWithTimeout(timeout time.Duration) *UpdateGithubEndpointParams

NewUpdateGithubEndpointParamsWithTimeout creates a new UpdateGithubEndpointParams object with the ability to set a timeout on a request.

func (*UpdateGithubEndpointParams) SetBody

SetBody adds the body to the update github endpoint params

func (*UpdateGithubEndpointParams) SetContext

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

SetContext adds the context to the update github endpoint params

func (*UpdateGithubEndpointParams) SetDefaults

func (o *UpdateGithubEndpointParams) SetDefaults()

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

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

func (*UpdateGithubEndpointParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update github endpoint params

func (*UpdateGithubEndpointParams) SetName

func (o *UpdateGithubEndpointParams) SetName(name string)

SetName adds the name to the update github endpoint params

func (*UpdateGithubEndpointParams) SetTimeout

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

SetTimeout adds the timeout to the update github endpoint params

func (*UpdateGithubEndpointParams) WithBody

WithBody adds the body to the update github endpoint params

func (*UpdateGithubEndpointParams) WithContext

WithContext adds the context to the update github endpoint params

func (*UpdateGithubEndpointParams) WithDefaults

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

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

func (*UpdateGithubEndpointParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update github endpoint params

func (*UpdateGithubEndpointParams) WithName

WithName adds the name to the update github endpoint params

func (*UpdateGithubEndpointParams) WithTimeout

WithTimeout adds the timeout to the update github endpoint params

func (*UpdateGithubEndpointParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateGithubEndpointReader

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

UpdateGithubEndpointReader is a Reader for the UpdateGithubEndpoint structure.

func (*UpdateGithubEndpointReader) ReadResponse

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