forge_instances

package
v0.2.3-alpha1 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2026 License: Apache-2.0 Imports: 14 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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 forge instances API

func (*Client) CreateForgeInstance

func (a *Client) CreateForgeInstance(params *CreateForgeInstanceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateForgeInstanceOK, error)

CreateForgeInstance creates forge instance with the given parameters

func (*Client) CreateForgeInstancePool

func (a *Client) CreateForgeInstancePool(params *CreateForgeInstancePoolParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateForgeInstancePoolOK, error)

CreateForgeInstancePool creates forge instance pool with the parameters given

func (*Client) DeleteForgeInstance

func (a *Client) DeleteForgeInstance(params *DeleteForgeInstanceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) error

DeleteForgeInstance deletes forge instance by ID

func (*Client) DeleteForgeInstancePool

func (a *Client) DeleteForgeInstancePool(params *DeleteForgeInstancePoolParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) error

DeleteForgeInstancePool deletes forge instance pool by ID

func (*Client) GetForgeInstance

func (a *Client) GetForgeInstance(params *GetForgeInstanceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetForgeInstanceOK, error)

GetForgeInstance gets forge instance by ID

func (*Client) GetForgeInstancePool

func (a *Client) GetForgeInstancePool(params *GetForgeInstancePoolParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetForgeInstancePoolOK, error)

GetForgeInstancePool gets forge instance pool by ID

func (*Client) GetForgeInstanceWebhookInfo

func (a *Client) GetForgeInstanceWebhookInfo(params *GetForgeInstanceWebhookInfoParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetForgeInstanceWebhookInfoOK, error)

GetForgeInstanceWebhookInfo gets information about the g a r m installed webhook on a forge instance

func (*Client) InstallForgeInstanceWebhook

func (a *Client) InstallForgeInstanceWebhook(params *InstallForgeInstanceWebhookParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*InstallForgeInstanceWebhookOK, error)
InstallForgeInstanceWebhook Install the GARM webhook for a forge instance. The secret configured on the forge instance will

be used to validate the requests.

func (*Client) ListForgeInstanceInstances

func (a *Client) ListForgeInstanceInstances(params *ListForgeInstanceInstancesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListForgeInstanceInstancesOK, error)

ListForgeInstanceInstances lists forge instance runner instances

func (*Client) ListForgeInstancePools

func (a *Client) ListForgeInstancePools(params *ListForgeInstancePoolsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListForgeInstancePoolsOK, error)

ListForgeInstancePools lists forge instance pools

func (*Client) ListForgeInstances

func (a *Client) ListForgeInstances(params *ListForgeInstancesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListForgeInstancesOK, error)

ListForgeInstances lists all forge instances

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UninstallForgeInstanceWebhook

func (a *Client) UninstallForgeInstanceWebhook(params *UninstallForgeInstanceWebhookParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) error

UninstallForgeInstanceWebhook uninstalls forge instance webhook

func (*Client) UpdateForgeInstance

func (a *Client) UpdateForgeInstance(params *UpdateForgeInstanceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateForgeInstanceOK, error)

UpdateForgeInstance updates forge instance with the given parameters

func (*Client) UpdateForgeInstancePool

func (a *Client) UpdateForgeInstancePool(params *UpdateForgeInstancePoolParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateForgeInstancePoolOK, error)

UpdateForgeInstancePool updates forge instance pool with the parameters given

type ClientOption

type ClientOption func(*runtime.ClientOperation)

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

type ClientService

type ClientService interface {
	CreateForgeInstance(params *CreateForgeInstanceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateForgeInstanceOK, error)

	CreateForgeInstancePool(params *CreateForgeInstancePoolParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateForgeInstancePoolOK, error)

	DeleteForgeInstance(params *DeleteForgeInstanceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) error

	DeleteForgeInstancePool(params *DeleteForgeInstancePoolParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) error

	GetForgeInstance(params *GetForgeInstanceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetForgeInstanceOK, error)

	GetForgeInstancePool(params *GetForgeInstancePoolParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetForgeInstancePoolOK, error)

	GetForgeInstanceWebhookInfo(params *GetForgeInstanceWebhookInfoParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetForgeInstanceWebhookInfoOK, error)

	InstallForgeInstanceWebhook(params *InstallForgeInstanceWebhookParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*InstallForgeInstanceWebhookOK, error)

	ListForgeInstanceInstances(params *ListForgeInstanceInstancesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListForgeInstanceInstancesOK, error)

	ListForgeInstancePools(params *ListForgeInstancePoolsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListForgeInstancePoolsOK, error)

	ListForgeInstances(params *ListForgeInstancesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListForgeInstancesOK, error)

	UninstallForgeInstanceWebhook(params *UninstallForgeInstanceWebhookParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) error

	UpdateForgeInstance(params *UpdateForgeInstanceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateForgeInstanceOK, error)

	UpdateForgeInstancePool(params *UpdateForgeInstancePoolParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateForgeInstancePoolOK, 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 forge instances API client.

func NewClientWithBasicAuth

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

New creates a new forge instances 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 forge instances 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 CreateForgeInstanceDefault

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

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

APIErrorResponse

func NewCreateForgeInstanceDefault

func NewCreateForgeInstanceDefault(code int) *CreateForgeInstanceDefault

NewCreateForgeInstanceDefault creates a CreateForgeInstanceDefault with default headers values

func (*CreateForgeInstanceDefault) Code

func (o *CreateForgeInstanceDefault) Code() int

Code gets the status code for the create forge instance default response

func (*CreateForgeInstanceDefault) Error

func (*CreateForgeInstanceDefault) GetPayload

func (*CreateForgeInstanceDefault) IsClientError

func (o *CreateForgeInstanceDefault) IsClientError() bool

IsClientError returns true when this create forge instance default response has a 4xx status code

func (*CreateForgeInstanceDefault) IsCode

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

IsCode returns true when this create forge instance default response a status code equal to that given

func (*CreateForgeInstanceDefault) IsRedirect

func (o *CreateForgeInstanceDefault) IsRedirect() bool

IsRedirect returns true when this create forge instance default response has a 3xx status code

func (*CreateForgeInstanceDefault) IsServerError

func (o *CreateForgeInstanceDefault) IsServerError() bool

IsServerError returns true when this create forge instance default response has a 5xx status code

func (*CreateForgeInstanceDefault) IsSuccess

func (o *CreateForgeInstanceDefault) IsSuccess() bool

IsSuccess returns true when this create forge instance default response has a 2xx status code

func (*CreateForgeInstanceDefault) String

func (o *CreateForgeInstanceDefault) String() string

type CreateForgeInstanceOK

type CreateForgeInstanceOK struct {
	Payload garm_params.ForgeInstance
}

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

ForgeInstance

func NewCreateForgeInstanceOK

func NewCreateForgeInstanceOK() *CreateForgeInstanceOK

NewCreateForgeInstanceOK creates a CreateForgeInstanceOK with default headers values

func (*CreateForgeInstanceOK) Code

func (o *CreateForgeInstanceOK) Code() int

Code gets the status code for the create forge instance o k response

func (*CreateForgeInstanceOK) Error

func (o *CreateForgeInstanceOK) Error() string

func (*CreateForgeInstanceOK) GetPayload

func (*CreateForgeInstanceOK) IsClientError

func (o *CreateForgeInstanceOK) IsClientError() bool

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

func (*CreateForgeInstanceOK) IsCode

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

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

func (*CreateForgeInstanceOK) IsRedirect

func (o *CreateForgeInstanceOK) IsRedirect() bool

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

func (*CreateForgeInstanceOK) IsServerError

func (o *CreateForgeInstanceOK) IsServerError() bool

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

func (*CreateForgeInstanceOK) IsSuccess

func (o *CreateForgeInstanceOK) IsSuccess() bool

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

func (*CreateForgeInstanceOK) String

func (o *CreateForgeInstanceOK) String() string

type CreateForgeInstanceParams

type CreateForgeInstanceParams struct {

	/* Body.

	   Parameters used to create the forge instance.
	*/
	Body garm_params.CreateForgeInstanceParams

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

CreateForgeInstanceParams contains all the parameters to send to the API endpoint

for the create forge instance operation.

Typically these are written to a http.Request.

func NewCreateForgeInstanceParams

func NewCreateForgeInstanceParams() *CreateForgeInstanceParams

NewCreateForgeInstanceParams creates a new CreateForgeInstanceParams 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 NewCreateForgeInstanceParamsWithContext

func NewCreateForgeInstanceParamsWithContext(ctx context.Context) *CreateForgeInstanceParams

NewCreateForgeInstanceParamsWithContext creates a new CreateForgeInstanceParams object with the ability to set a context for a request.

func NewCreateForgeInstanceParamsWithHTTPClient

func NewCreateForgeInstanceParamsWithHTTPClient(client *http.Client) *CreateForgeInstanceParams

NewCreateForgeInstanceParamsWithHTTPClient creates a new CreateForgeInstanceParams object with the ability to set a custom HTTPClient for a request.

func NewCreateForgeInstanceParamsWithTimeout

func NewCreateForgeInstanceParamsWithTimeout(timeout time.Duration) *CreateForgeInstanceParams

NewCreateForgeInstanceParamsWithTimeout creates a new CreateForgeInstanceParams object with the ability to set a timeout on a request.

func (*CreateForgeInstanceParams) SetBody

SetBody adds the body to the create forge instance params

func (*CreateForgeInstanceParams) SetContext

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

SetContext adds the context to the create forge instance params

func (*CreateForgeInstanceParams) SetDefaults

func (o *CreateForgeInstanceParams) SetDefaults()

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

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

func (*CreateForgeInstanceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create forge instance params

func (*CreateForgeInstanceParams) SetTimeout

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

SetTimeout adds the timeout to the create forge instance params

func (*CreateForgeInstanceParams) WithBody

WithBody adds the body to the create forge instance params

func (*CreateForgeInstanceParams) WithContext

WithContext adds the context to the create forge instance params

func (*CreateForgeInstanceParams) WithDefaults

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

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

func (*CreateForgeInstanceParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create forge instance params

func (*CreateForgeInstanceParams) WithTimeout

WithTimeout adds the timeout to the create forge instance params

func (*CreateForgeInstanceParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateForgeInstancePoolDefault

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

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

APIErrorResponse

func NewCreateForgeInstancePoolDefault

func NewCreateForgeInstancePoolDefault(code int) *CreateForgeInstancePoolDefault

NewCreateForgeInstancePoolDefault creates a CreateForgeInstancePoolDefault with default headers values

func (*CreateForgeInstancePoolDefault) Code

Code gets the status code for the create forge instance pool default response

func (*CreateForgeInstancePoolDefault) Error

func (*CreateForgeInstancePoolDefault) GetPayload

func (*CreateForgeInstancePoolDefault) IsClientError

func (o *CreateForgeInstancePoolDefault) IsClientError() bool

IsClientError returns true when this create forge instance pool default response has a 4xx status code

func (*CreateForgeInstancePoolDefault) IsCode

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

IsCode returns true when this create forge instance pool default response a status code equal to that given

func (*CreateForgeInstancePoolDefault) IsRedirect

func (o *CreateForgeInstancePoolDefault) IsRedirect() bool

IsRedirect returns true when this create forge instance pool default response has a 3xx status code

func (*CreateForgeInstancePoolDefault) IsServerError

func (o *CreateForgeInstancePoolDefault) IsServerError() bool

IsServerError returns true when this create forge instance pool default response has a 5xx status code

func (*CreateForgeInstancePoolDefault) IsSuccess

func (o *CreateForgeInstancePoolDefault) IsSuccess() bool

IsSuccess returns true when this create forge instance pool default response has a 2xx status code

func (*CreateForgeInstancePoolDefault) String

type CreateForgeInstancePoolOK

type CreateForgeInstancePoolOK struct {
	Payload garm_params.Pool
}

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

Pool

func NewCreateForgeInstancePoolOK

func NewCreateForgeInstancePoolOK() *CreateForgeInstancePoolOK

NewCreateForgeInstancePoolOK creates a CreateForgeInstancePoolOK with default headers values

func (*CreateForgeInstancePoolOK) Code

func (o *CreateForgeInstancePoolOK) Code() int

Code gets the status code for the create forge instance pool o k response

func (*CreateForgeInstancePoolOK) Error

func (o *CreateForgeInstancePoolOK) Error() string

func (*CreateForgeInstancePoolOK) GetPayload

func (o *CreateForgeInstancePoolOK) GetPayload() garm_params.Pool

func (*CreateForgeInstancePoolOK) IsClientError

func (o *CreateForgeInstancePoolOK) IsClientError() bool

IsClientError returns true when this create forge instance pool o k response has a 4xx status code

func (*CreateForgeInstancePoolOK) IsCode

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

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

func (*CreateForgeInstancePoolOK) IsRedirect

func (o *CreateForgeInstancePoolOK) IsRedirect() bool

IsRedirect returns true when this create forge instance pool o k response has a 3xx status code

func (*CreateForgeInstancePoolOK) IsServerError

func (o *CreateForgeInstancePoolOK) IsServerError() bool

IsServerError returns true when this create forge instance pool o k response has a 5xx status code

func (*CreateForgeInstancePoolOK) IsSuccess

func (o *CreateForgeInstancePoolOK) IsSuccess() bool

IsSuccess returns true when this create forge instance pool o k response has a 2xx status code

func (*CreateForgeInstancePoolOK) String

func (o *CreateForgeInstancePoolOK) String() string

type CreateForgeInstancePoolParams

type CreateForgeInstancePoolParams struct {

	/* Body.

	   Parameters used when creating the forge instance pool.
	*/
	Body garm_params.CreatePoolParams

	/* ForgeInstanceID.

	   Forge instance ID.
	*/
	ForgeInstanceID string

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

CreateForgeInstancePoolParams contains all the parameters to send to the API endpoint

for the create forge instance pool operation.

Typically these are written to a http.Request.

func NewCreateForgeInstancePoolParams

func NewCreateForgeInstancePoolParams() *CreateForgeInstancePoolParams

NewCreateForgeInstancePoolParams creates a new CreateForgeInstancePoolParams 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 NewCreateForgeInstancePoolParamsWithContext

func NewCreateForgeInstancePoolParamsWithContext(ctx context.Context) *CreateForgeInstancePoolParams

NewCreateForgeInstancePoolParamsWithContext creates a new CreateForgeInstancePoolParams object with the ability to set a context for a request.

func NewCreateForgeInstancePoolParamsWithHTTPClient

func NewCreateForgeInstancePoolParamsWithHTTPClient(client *http.Client) *CreateForgeInstancePoolParams

NewCreateForgeInstancePoolParamsWithHTTPClient creates a new CreateForgeInstancePoolParams object with the ability to set a custom HTTPClient for a request.

func NewCreateForgeInstancePoolParamsWithTimeout

func NewCreateForgeInstancePoolParamsWithTimeout(timeout time.Duration) *CreateForgeInstancePoolParams

NewCreateForgeInstancePoolParamsWithTimeout creates a new CreateForgeInstancePoolParams object with the ability to set a timeout on a request.

func (*CreateForgeInstancePoolParams) SetBody

SetBody adds the body to the create forge instance pool params

func (*CreateForgeInstancePoolParams) SetContext

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

SetContext adds the context to the create forge instance pool params

func (*CreateForgeInstancePoolParams) SetDefaults

func (o *CreateForgeInstancePoolParams) SetDefaults()

SetDefaults hydrates default values in the create forge instance pool params (not the query body).

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

func (*CreateForgeInstancePoolParams) SetForgeInstanceID

func (o *CreateForgeInstancePoolParams) SetForgeInstanceID(forgeInstanceID string)

SetForgeInstanceID adds the forgeInstanceId to the create forge instance pool params

func (*CreateForgeInstancePoolParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create forge instance pool params

func (*CreateForgeInstancePoolParams) SetTimeout

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

SetTimeout adds the timeout to the create forge instance pool params

func (*CreateForgeInstancePoolParams) WithBody

WithBody adds the body to the create forge instance pool params

func (*CreateForgeInstancePoolParams) WithContext

WithContext adds the context to the create forge instance pool params

func (*CreateForgeInstancePoolParams) WithDefaults

WithDefaults hydrates default values in the create forge instance pool params (not the query body).

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

func (*CreateForgeInstancePoolParams) WithForgeInstanceID

func (o *CreateForgeInstancePoolParams) WithForgeInstanceID(forgeInstanceID string) *CreateForgeInstancePoolParams

WithForgeInstanceID adds the forgeInstanceID to the create forge instance pool params

func (*CreateForgeInstancePoolParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create forge instance pool params

func (*CreateForgeInstancePoolParams) WithTimeout

WithTimeout adds the timeout to the create forge instance pool params

func (*CreateForgeInstancePoolParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateForgeInstancePoolReader

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

CreateForgeInstancePoolReader is a Reader for the CreateForgeInstancePool structure.

func (*CreateForgeInstancePoolReader) ReadResponse

func (o *CreateForgeInstancePoolReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type CreateForgeInstanceReader

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

CreateForgeInstanceReader is a Reader for the CreateForgeInstance structure.

func (*CreateForgeInstanceReader) ReadResponse

func (o *CreateForgeInstanceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type DeleteForgeInstanceDefault

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

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

APIErrorResponse

func NewDeleteForgeInstanceDefault

func NewDeleteForgeInstanceDefault(code int) *DeleteForgeInstanceDefault

NewDeleteForgeInstanceDefault creates a DeleteForgeInstanceDefault with default headers values

func (*DeleteForgeInstanceDefault) Code

func (o *DeleteForgeInstanceDefault) Code() int

Code gets the status code for the delete forge instance default response

func (*DeleteForgeInstanceDefault) Error

func (*DeleteForgeInstanceDefault) GetPayload

func (*DeleteForgeInstanceDefault) IsClientError

func (o *DeleteForgeInstanceDefault) IsClientError() bool

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

func (*DeleteForgeInstanceDefault) IsCode

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

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

func (*DeleteForgeInstanceDefault) IsRedirect

func (o *DeleteForgeInstanceDefault) IsRedirect() bool

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

func (*DeleteForgeInstanceDefault) IsServerError

func (o *DeleteForgeInstanceDefault) IsServerError() bool

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

func (*DeleteForgeInstanceDefault) IsSuccess

func (o *DeleteForgeInstanceDefault) IsSuccess() bool

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

func (*DeleteForgeInstanceDefault) String

func (o *DeleteForgeInstanceDefault) String() string

type DeleteForgeInstanceParams

type DeleteForgeInstanceParams struct {

	/* ForgeInstanceID.

	   ID of the forge instance to delete.
	*/
	ForgeInstanceID string

	/* KeepWebhook.

	   If true and a webhook is installed for this forge instance, it will not be removed.
	*/
	KeepWebhook *bool

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

DeleteForgeInstanceParams contains all the parameters to send to the API endpoint

for the delete forge instance operation.

Typically these are written to a http.Request.

func NewDeleteForgeInstanceParams

func NewDeleteForgeInstanceParams() *DeleteForgeInstanceParams

NewDeleteForgeInstanceParams creates a new DeleteForgeInstanceParams 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 NewDeleteForgeInstanceParamsWithContext

func NewDeleteForgeInstanceParamsWithContext(ctx context.Context) *DeleteForgeInstanceParams

NewDeleteForgeInstanceParamsWithContext creates a new DeleteForgeInstanceParams object with the ability to set a context for a request.

func NewDeleteForgeInstanceParamsWithHTTPClient

func NewDeleteForgeInstanceParamsWithHTTPClient(client *http.Client) *DeleteForgeInstanceParams

NewDeleteForgeInstanceParamsWithHTTPClient creates a new DeleteForgeInstanceParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteForgeInstanceParamsWithTimeout

func NewDeleteForgeInstanceParamsWithTimeout(timeout time.Duration) *DeleteForgeInstanceParams

NewDeleteForgeInstanceParamsWithTimeout creates a new DeleteForgeInstanceParams object with the ability to set a timeout on a request.

func (*DeleteForgeInstanceParams) SetContext

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

SetContext adds the context to the delete forge instance params

func (*DeleteForgeInstanceParams) SetDefaults

func (o *DeleteForgeInstanceParams) SetDefaults()

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

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

func (*DeleteForgeInstanceParams) SetForgeInstanceID

func (o *DeleteForgeInstanceParams) SetForgeInstanceID(forgeInstanceID string)

SetForgeInstanceID adds the forgeInstanceId to the delete forge instance params

func (*DeleteForgeInstanceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete forge instance params

func (*DeleteForgeInstanceParams) SetKeepWebhook

func (o *DeleteForgeInstanceParams) SetKeepWebhook(keepWebhook *bool)

SetKeepWebhook adds the keepWebhook to the delete forge instance params

func (*DeleteForgeInstanceParams) SetTimeout

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

SetTimeout adds the timeout to the delete forge instance params

func (*DeleteForgeInstanceParams) WithContext

WithContext adds the context to the delete forge instance params

func (*DeleteForgeInstanceParams) WithDefaults

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

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

func (*DeleteForgeInstanceParams) WithForgeInstanceID

func (o *DeleteForgeInstanceParams) WithForgeInstanceID(forgeInstanceID string) *DeleteForgeInstanceParams

WithForgeInstanceID adds the forgeInstanceID to the delete forge instance params

func (*DeleteForgeInstanceParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete forge instance params

func (*DeleteForgeInstanceParams) WithKeepWebhook

func (o *DeleteForgeInstanceParams) WithKeepWebhook(keepWebhook *bool) *DeleteForgeInstanceParams

WithKeepWebhook adds the keepWebhook to the delete forge instance params

func (*DeleteForgeInstanceParams) WithTimeout

WithTimeout adds the timeout to the delete forge instance params

func (*DeleteForgeInstanceParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteForgeInstancePoolDefault

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

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

APIErrorResponse

func NewDeleteForgeInstancePoolDefault

func NewDeleteForgeInstancePoolDefault(code int) *DeleteForgeInstancePoolDefault

NewDeleteForgeInstancePoolDefault creates a DeleteForgeInstancePoolDefault with default headers values

func (*DeleteForgeInstancePoolDefault) Code

Code gets the status code for the delete forge instance pool default response

func (*DeleteForgeInstancePoolDefault) Error

func (*DeleteForgeInstancePoolDefault) GetPayload

func (*DeleteForgeInstancePoolDefault) IsClientError

func (o *DeleteForgeInstancePoolDefault) IsClientError() bool

IsClientError returns true when this delete forge instance pool default response has a 4xx status code

func (*DeleteForgeInstancePoolDefault) IsCode

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

IsCode returns true when this delete forge instance pool default response a status code equal to that given

func (*DeleteForgeInstancePoolDefault) IsRedirect

func (o *DeleteForgeInstancePoolDefault) IsRedirect() bool

IsRedirect returns true when this delete forge instance pool default response has a 3xx status code

func (*DeleteForgeInstancePoolDefault) IsServerError

func (o *DeleteForgeInstancePoolDefault) IsServerError() bool

IsServerError returns true when this delete forge instance pool default response has a 5xx status code

func (*DeleteForgeInstancePoolDefault) IsSuccess

func (o *DeleteForgeInstancePoolDefault) IsSuccess() bool

IsSuccess returns true when this delete forge instance pool default response has a 2xx status code

func (*DeleteForgeInstancePoolDefault) String

type DeleteForgeInstancePoolParams

type DeleteForgeInstancePoolParams struct {

	/* ForgeInstanceID.

	   Forge instance ID.
	*/
	ForgeInstanceID string

	/* PoolID.

	   ID of the forge instance pool to delete.
	*/
	PoolID string

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

DeleteForgeInstancePoolParams contains all the parameters to send to the API endpoint

for the delete forge instance pool operation.

Typically these are written to a http.Request.

func NewDeleteForgeInstancePoolParams

func NewDeleteForgeInstancePoolParams() *DeleteForgeInstancePoolParams

NewDeleteForgeInstancePoolParams creates a new DeleteForgeInstancePoolParams 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 NewDeleteForgeInstancePoolParamsWithContext

func NewDeleteForgeInstancePoolParamsWithContext(ctx context.Context) *DeleteForgeInstancePoolParams

NewDeleteForgeInstancePoolParamsWithContext creates a new DeleteForgeInstancePoolParams object with the ability to set a context for a request.

func NewDeleteForgeInstancePoolParamsWithHTTPClient

func NewDeleteForgeInstancePoolParamsWithHTTPClient(client *http.Client) *DeleteForgeInstancePoolParams

NewDeleteForgeInstancePoolParamsWithHTTPClient creates a new DeleteForgeInstancePoolParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteForgeInstancePoolParamsWithTimeout

func NewDeleteForgeInstancePoolParamsWithTimeout(timeout time.Duration) *DeleteForgeInstancePoolParams

NewDeleteForgeInstancePoolParamsWithTimeout creates a new DeleteForgeInstancePoolParams object with the ability to set a timeout on a request.

func (*DeleteForgeInstancePoolParams) SetContext

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

SetContext adds the context to the delete forge instance pool params

func (*DeleteForgeInstancePoolParams) SetDefaults

func (o *DeleteForgeInstancePoolParams) SetDefaults()

SetDefaults hydrates default values in the delete forge instance pool params (not the query body).

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

func (*DeleteForgeInstancePoolParams) SetForgeInstanceID

func (o *DeleteForgeInstancePoolParams) SetForgeInstanceID(forgeInstanceID string)

SetForgeInstanceID adds the forgeInstanceId to the delete forge instance pool params

func (*DeleteForgeInstancePoolParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete forge instance pool params

func (*DeleteForgeInstancePoolParams) SetPoolID

func (o *DeleteForgeInstancePoolParams) SetPoolID(poolID string)

SetPoolID adds the poolId to the delete forge instance pool params

func (*DeleteForgeInstancePoolParams) SetTimeout

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

SetTimeout adds the timeout to the delete forge instance pool params

func (*DeleteForgeInstancePoolParams) WithContext

WithContext adds the context to the delete forge instance pool params

func (*DeleteForgeInstancePoolParams) WithDefaults

WithDefaults hydrates default values in the delete forge instance pool params (not the query body).

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

func (*DeleteForgeInstancePoolParams) WithForgeInstanceID

func (o *DeleteForgeInstancePoolParams) WithForgeInstanceID(forgeInstanceID string) *DeleteForgeInstancePoolParams

WithForgeInstanceID adds the forgeInstanceID to the delete forge instance pool params

func (*DeleteForgeInstancePoolParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete forge instance pool params

func (*DeleteForgeInstancePoolParams) WithPoolID

WithPoolID adds the poolID to the delete forge instance pool params

func (*DeleteForgeInstancePoolParams) WithTimeout

WithTimeout adds the timeout to the delete forge instance pool params

func (*DeleteForgeInstancePoolParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteForgeInstancePoolReader

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

DeleteForgeInstancePoolReader is a Reader for the DeleteForgeInstancePool structure.

func (*DeleteForgeInstancePoolReader) ReadResponse

func (o *DeleteForgeInstancePoolReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type DeleteForgeInstanceReader

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

DeleteForgeInstanceReader is a Reader for the DeleteForgeInstance structure.

func (*DeleteForgeInstanceReader) ReadResponse

func (o *DeleteForgeInstanceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type GetForgeInstanceDefault

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

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

APIErrorResponse

func NewGetForgeInstanceDefault

func NewGetForgeInstanceDefault(code int) *GetForgeInstanceDefault

NewGetForgeInstanceDefault creates a GetForgeInstanceDefault with default headers values

func (*GetForgeInstanceDefault) Code

func (o *GetForgeInstanceDefault) Code() int

Code gets the status code for the get forge instance default response

func (*GetForgeInstanceDefault) Error

func (o *GetForgeInstanceDefault) Error() string

func (*GetForgeInstanceDefault) GetPayload

func (*GetForgeInstanceDefault) IsClientError

func (o *GetForgeInstanceDefault) IsClientError() bool

IsClientError returns true when this get forge instance default response has a 4xx status code

func (*GetForgeInstanceDefault) IsCode

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

IsCode returns true when this get forge instance default response a status code equal to that given

func (*GetForgeInstanceDefault) IsRedirect

func (o *GetForgeInstanceDefault) IsRedirect() bool

IsRedirect returns true when this get forge instance default response has a 3xx status code

func (*GetForgeInstanceDefault) IsServerError

func (o *GetForgeInstanceDefault) IsServerError() bool

IsServerError returns true when this get forge instance default response has a 5xx status code

func (*GetForgeInstanceDefault) IsSuccess

func (o *GetForgeInstanceDefault) IsSuccess() bool

IsSuccess returns true when this get forge instance default response has a 2xx status code

func (*GetForgeInstanceDefault) String

func (o *GetForgeInstanceDefault) String() string

type GetForgeInstanceOK

type GetForgeInstanceOK struct {
	Payload garm_params.ForgeInstance
}

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

ForgeInstance

func NewGetForgeInstanceOK

func NewGetForgeInstanceOK() *GetForgeInstanceOK

NewGetForgeInstanceOK creates a GetForgeInstanceOK with default headers values

func (*GetForgeInstanceOK) Code

func (o *GetForgeInstanceOK) Code() int

Code gets the status code for the get forge instance o k response

func (*GetForgeInstanceOK) Error

func (o *GetForgeInstanceOK) Error() string

func (*GetForgeInstanceOK) GetPayload

func (*GetForgeInstanceOK) IsClientError

func (o *GetForgeInstanceOK) IsClientError() bool

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

func (*GetForgeInstanceOK) IsCode

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

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

func (*GetForgeInstanceOK) IsRedirect

func (o *GetForgeInstanceOK) IsRedirect() bool

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

func (*GetForgeInstanceOK) IsServerError

func (o *GetForgeInstanceOK) IsServerError() bool

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

func (*GetForgeInstanceOK) IsSuccess

func (o *GetForgeInstanceOK) IsSuccess() bool

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

func (*GetForgeInstanceOK) String

func (o *GetForgeInstanceOK) String() string

type GetForgeInstanceParams

type GetForgeInstanceParams struct {

	/* ForgeInstanceID.

	   The ID of the forge instance to fetch.
	*/
	ForgeInstanceID string

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

GetForgeInstanceParams contains all the parameters to send to the API endpoint

for the get forge instance operation.

Typically these are written to a http.Request.

func NewGetForgeInstanceParams

func NewGetForgeInstanceParams() *GetForgeInstanceParams

NewGetForgeInstanceParams creates a new GetForgeInstanceParams 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 NewGetForgeInstanceParamsWithContext

func NewGetForgeInstanceParamsWithContext(ctx context.Context) *GetForgeInstanceParams

NewGetForgeInstanceParamsWithContext creates a new GetForgeInstanceParams object with the ability to set a context for a request.

func NewGetForgeInstanceParamsWithHTTPClient

func NewGetForgeInstanceParamsWithHTTPClient(client *http.Client) *GetForgeInstanceParams

NewGetForgeInstanceParamsWithHTTPClient creates a new GetForgeInstanceParams object with the ability to set a custom HTTPClient for a request.

func NewGetForgeInstanceParamsWithTimeout

func NewGetForgeInstanceParamsWithTimeout(timeout time.Duration) *GetForgeInstanceParams

NewGetForgeInstanceParamsWithTimeout creates a new GetForgeInstanceParams object with the ability to set a timeout on a request.

func (*GetForgeInstanceParams) SetContext

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

SetContext adds the context to the get forge instance params

func (*GetForgeInstanceParams) SetDefaults

func (o *GetForgeInstanceParams) SetDefaults()

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

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

func (*GetForgeInstanceParams) SetForgeInstanceID

func (o *GetForgeInstanceParams) SetForgeInstanceID(forgeInstanceID string)

SetForgeInstanceID adds the forgeInstanceId to the get forge instance params

func (*GetForgeInstanceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get forge instance params

func (*GetForgeInstanceParams) SetTimeout

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

SetTimeout adds the timeout to the get forge instance params

func (*GetForgeInstanceParams) WithContext

WithContext adds the context to the get forge instance params

func (*GetForgeInstanceParams) WithDefaults

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

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

func (*GetForgeInstanceParams) WithForgeInstanceID

func (o *GetForgeInstanceParams) WithForgeInstanceID(forgeInstanceID string) *GetForgeInstanceParams

WithForgeInstanceID adds the forgeInstanceID to the get forge instance params

func (*GetForgeInstanceParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get forge instance params

func (*GetForgeInstanceParams) WithTimeout

WithTimeout adds the timeout to the get forge instance params

func (*GetForgeInstanceParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetForgeInstancePoolDefault

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

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

APIErrorResponse

func NewGetForgeInstancePoolDefault

func NewGetForgeInstancePoolDefault(code int) *GetForgeInstancePoolDefault

NewGetForgeInstancePoolDefault creates a GetForgeInstancePoolDefault with default headers values

func (*GetForgeInstancePoolDefault) Code

func (o *GetForgeInstancePoolDefault) Code() int

Code gets the status code for the get forge instance pool default response

func (*GetForgeInstancePoolDefault) Error

func (*GetForgeInstancePoolDefault) GetPayload

func (*GetForgeInstancePoolDefault) IsClientError

func (o *GetForgeInstancePoolDefault) IsClientError() bool

IsClientError returns true when this get forge instance pool default response has a 4xx status code

func (*GetForgeInstancePoolDefault) IsCode

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

IsCode returns true when this get forge instance pool default response a status code equal to that given

func (*GetForgeInstancePoolDefault) IsRedirect

func (o *GetForgeInstancePoolDefault) IsRedirect() bool

IsRedirect returns true when this get forge instance pool default response has a 3xx status code

func (*GetForgeInstancePoolDefault) IsServerError

func (o *GetForgeInstancePoolDefault) IsServerError() bool

IsServerError returns true when this get forge instance pool default response has a 5xx status code

func (*GetForgeInstancePoolDefault) IsSuccess

func (o *GetForgeInstancePoolDefault) IsSuccess() bool

IsSuccess returns true when this get forge instance pool default response has a 2xx status code

func (*GetForgeInstancePoolDefault) String

func (o *GetForgeInstancePoolDefault) String() string

type GetForgeInstancePoolOK

type GetForgeInstancePoolOK struct {
	Payload garm_params.Pool
}

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

Pool

func NewGetForgeInstancePoolOK

func NewGetForgeInstancePoolOK() *GetForgeInstancePoolOK

NewGetForgeInstancePoolOK creates a GetForgeInstancePoolOK with default headers values

func (*GetForgeInstancePoolOK) Code

func (o *GetForgeInstancePoolOK) Code() int

Code gets the status code for the get forge instance pool o k response

func (*GetForgeInstancePoolOK) Error

func (o *GetForgeInstancePoolOK) Error() string

func (*GetForgeInstancePoolOK) GetPayload

func (o *GetForgeInstancePoolOK) GetPayload() garm_params.Pool

func (*GetForgeInstancePoolOK) IsClientError

func (o *GetForgeInstancePoolOK) IsClientError() bool

IsClientError returns true when this get forge instance pool o k response has a 4xx status code

func (*GetForgeInstancePoolOK) IsCode

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

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

func (*GetForgeInstancePoolOK) IsRedirect

func (o *GetForgeInstancePoolOK) IsRedirect() bool

IsRedirect returns true when this get forge instance pool o k response has a 3xx status code

func (*GetForgeInstancePoolOK) IsServerError

func (o *GetForgeInstancePoolOK) IsServerError() bool

IsServerError returns true when this get forge instance pool o k response has a 5xx status code

func (*GetForgeInstancePoolOK) IsSuccess

func (o *GetForgeInstancePoolOK) IsSuccess() bool

IsSuccess returns true when this get forge instance pool o k response has a 2xx status code

func (*GetForgeInstancePoolOK) String

func (o *GetForgeInstancePoolOK) String() string

type GetForgeInstancePoolParams

type GetForgeInstancePoolParams struct {

	/* ForgeInstanceID.

	   Forge instance ID.
	*/
	ForgeInstanceID string

	/* PoolID.

	   Pool ID.
	*/
	PoolID string

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

GetForgeInstancePoolParams contains all the parameters to send to the API endpoint

for the get forge instance pool operation.

Typically these are written to a http.Request.

func NewGetForgeInstancePoolParams

func NewGetForgeInstancePoolParams() *GetForgeInstancePoolParams

NewGetForgeInstancePoolParams creates a new GetForgeInstancePoolParams 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 NewGetForgeInstancePoolParamsWithContext

func NewGetForgeInstancePoolParamsWithContext(ctx context.Context) *GetForgeInstancePoolParams

NewGetForgeInstancePoolParamsWithContext creates a new GetForgeInstancePoolParams object with the ability to set a context for a request.

func NewGetForgeInstancePoolParamsWithHTTPClient

func NewGetForgeInstancePoolParamsWithHTTPClient(client *http.Client) *GetForgeInstancePoolParams

NewGetForgeInstancePoolParamsWithHTTPClient creates a new GetForgeInstancePoolParams object with the ability to set a custom HTTPClient for a request.

func NewGetForgeInstancePoolParamsWithTimeout

func NewGetForgeInstancePoolParamsWithTimeout(timeout time.Duration) *GetForgeInstancePoolParams

NewGetForgeInstancePoolParamsWithTimeout creates a new GetForgeInstancePoolParams object with the ability to set a timeout on a request.

func (*GetForgeInstancePoolParams) SetContext

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

SetContext adds the context to the get forge instance pool params

func (*GetForgeInstancePoolParams) SetDefaults

func (o *GetForgeInstancePoolParams) SetDefaults()

SetDefaults hydrates default values in the get forge instance pool params (not the query body).

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

func (*GetForgeInstancePoolParams) SetForgeInstanceID

func (o *GetForgeInstancePoolParams) SetForgeInstanceID(forgeInstanceID string)

SetForgeInstanceID adds the forgeInstanceId to the get forge instance pool params

func (*GetForgeInstancePoolParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get forge instance pool params

func (*GetForgeInstancePoolParams) SetPoolID

func (o *GetForgeInstancePoolParams) SetPoolID(poolID string)

SetPoolID adds the poolId to the get forge instance pool params

func (*GetForgeInstancePoolParams) SetTimeout

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

SetTimeout adds the timeout to the get forge instance pool params

func (*GetForgeInstancePoolParams) WithContext

WithContext adds the context to the get forge instance pool params

func (*GetForgeInstancePoolParams) WithDefaults

WithDefaults hydrates default values in the get forge instance pool params (not the query body).

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

func (*GetForgeInstancePoolParams) WithForgeInstanceID

func (o *GetForgeInstancePoolParams) WithForgeInstanceID(forgeInstanceID string) *GetForgeInstancePoolParams

WithForgeInstanceID adds the forgeInstanceID to the get forge instance pool params

func (*GetForgeInstancePoolParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get forge instance pool params

func (*GetForgeInstancePoolParams) WithPoolID

WithPoolID adds the poolID to the get forge instance pool params

func (*GetForgeInstancePoolParams) WithTimeout

WithTimeout adds the timeout to the get forge instance pool params

func (*GetForgeInstancePoolParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetForgeInstancePoolReader

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

GetForgeInstancePoolReader is a Reader for the GetForgeInstancePool structure.

func (*GetForgeInstancePoolReader) ReadResponse

func (o *GetForgeInstancePoolReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type GetForgeInstanceReader

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

GetForgeInstanceReader is a Reader for the GetForgeInstance structure.

func (*GetForgeInstanceReader) ReadResponse

func (o *GetForgeInstanceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type GetForgeInstanceWebhookInfoDefault

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

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

APIErrorResponse

func NewGetForgeInstanceWebhookInfoDefault

func NewGetForgeInstanceWebhookInfoDefault(code int) *GetForgeInstanceWebhookInfoDefault

NewGetForgeInstanceWebhookInfoDefault creates a GetForgeInstanceWebhookInfoDefault with default headers values

func (*GetForgeInstanceWebhookInfoDefault) Code

Code gets the status code for the get forge instance webhook info default response

func (*GetForgeInstanceWebhookInfoDefault) Error

func (*GetForgeInstanceWebhookInfoDefault) GetPayload

func (*GetForgeInstanceWebhookInfoDefault) IsClientError

func (o *GetForgeInstanceWebhookInfoDefault) IsClientError() bool

IsClientError returns true when this get forge instance webhook info default response has a 4xx status code

func (*GetForgeInstanceWebhookInfoDefault) IsCode

IsCode returns true when this get forge instance webhook info default response a status code equal to that given

func (*GetForgeInstanceWebhookInfoDefault) IsRedirect

func (o *GetForgeInstanceWebhookInfoDefault) IsRedirect() bool

IsRedirect returns true when this get forge instance webhook info default response has a 3xx status code

func (*GetForgeInstanceWebhookInfoDefault) IsServerError

func (o *GetForgeInstanceWebhookInfoDefault) IsServerError() bool

IsServerError returns true when this get forge instance webhook info default response has a 5xx status code

func (*GetForgeInstanceWebhookInfoDefault) IsSuccess

IsSuccess returns true when this get forge instance webhook info default response has a 2xx status code

func (*GetForgeInstanceWebhookInfoDefault) String

type GetForgeInstanceWebhookInfoOK

type GetForgeInstanceWebhookInfoOK struct {
	Payload garm_params.HookInfo
}

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

HookInfo

func NewGetForgeInstanceWebhookInfoOK

func NewGetForgeInstanceWebhookInfoOK() *GetForgeInstanceWebhookInfoOK

NewGetForgeInstanceWebhookInfoOK creates a GetForgeInstanceWebhookInfoOK with default headers values

func (*GetForgeInstanceWebhookInfoOK) Code

Code gets the status code for the get forge instance webhook info o k response

func (*GetForgeInstanceWebhookInfoOK) Error

func (*GetForgeInstanceWebhookInfoOK) GetPayload

func (*GetForgeInstanceWebhookInfoOK) IsClientError

func (o *GetForgeInstanceWebhookInfoOK) IsClientError() bool

IsClientError returns true when this get forge instance webhook info o k response has a 4xx status code

func (*GetForgeInstanceWebhookInfoOK) IsCode

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

IsCode returns true when this get forge instance webhook info o k response a status code equal to that given

func (*GetForgeInstanceWebhookInfoOK) IsRedirect

func (o *GetForgeInstanceWebhookInfoOK) IsRedirect() bool

IsRedirect returns true when this get forge instance webhook info o k response has a 3xx status code

func (*GetForgeInstanceWebhookInfoOK) IsServerError

func (o *GetForgeInstanceWebhookInfoOK) IsServerError() bool

IsServerError returns true when this get forge instance webhook info o k response has a 5xx status code

func (*GetForgeInstanceWebhookInfoOK) IsSuccess

func (o *GetForgeInstanceWebhookInfoOK) IsSuccess() bool

IsSuccess returns true when this get forge instance webhook info o k response has a 2xx status code

func (*GetForgeInstanceWebhookInfoOK) String

type GetForgeInstanceWebhookInfoParams

type GetForgeInstanceWebhookInfoParams struct {

	/* ForgeInstanceID.

	   Forge instance ID.
	*/
	ForgeInstanceID string

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

GetForgeInstanceWebhookInfoParams contains all the parameters to send to the API endpoint

for the get forge instance webhook info operation.

Typically these are written to a http.Request.

func NewGetForgeInstanceWebhookInfoParams

func NewGetForgeInstanceWebhookInfoParams() *GetForgeInstanceWebhookInfoParams

NewGetForgeInstanceWebhookInfoParams creates a new GetForgeInstanceWebhookInfoParams 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 NewGetForgeInstanceWebhookInfoParamsWithContext

func NewGetForgeInstanceWebhookInfoParamsWithContext(ctx context.Context) *GetForgeInstanceWebhookInfoParams

NewGetForgeInstanceWebhookInfoParamsWithContext creates a new GetForgeInstanceWebhookInfoParams object with the ability to set a context for a request.

func NewGetForgeInstanceWebhookInfoParamsWithHTTPClient

func NewGetForgeInstanceWebhookInfoParamsWithHTTPClient(client *http.Client) *GetForgeInstanceWebhookInfoParams

NewGetForgeInstanceWebhookInfoParamsWithHTTPClient creates a new GetForgeInstanceWebhookInfoParams object with the ability to set a custom HTTPClient for a request.

func NewGetForgeInstanceWebhookInfoParamsWithTimeout

func NewGetForgeInstanceWebhookInfoParamsWithTimeout(timeout time.Duration) *GetForgeInstanceWebhookInfoParams

NewGetForgeInstanceWebhookInfoParamsWithTimeout creates a new GetForgeInstanceWebhookInfoParams object with the ability to set a timeout on a request.

func (*GetForgeInstanceWebhookInfoParams) SetContext

SetContext adds the context to the get forge instance webhook info params

func (*GetForgeInstanceWebhookInfoParams) SetDefaults

func (o *GetForgeInstanceWebhookInfoParams) SetDefaults()

SetDefaults hydrates default values in the get forge instance webhook info params (not the query body).

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

func (*GetForgeInstanceWebhookInfoParams) SetForgeInstanceID

func (o *GetForgeInstanceWebhookInfoParams) SetForgeInstanceID(forgeInstanceID string)

SetForgeInstanceID adds the forgeInstanceId to the get forge instance webhook info params

func (*GetForgeInstanceWebhookInfoParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get forge instance webhook info params

func (*GetForgeInstanceWebhookInfoParams) SetTimeout

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

SetTimeout adds the timeout to the get forge instance webhook info params

func (*GetForgeInstanceWebhookInfoParams) WithContext

WithContext adds the context to the get forge instance webhook info params

func (*GetForgeInstanceWebhookInfoParams) WithDefaults

WithDefaults hydrates default values in the get forge instance webhook info params (not the query body).

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

func (*GetForgeInstanceWebhookInfoParams) WithForgeInstanceID

func (o *GetForgeInstanceWebhookInfoParams) WithForgeInstanceID(forgeInstanceID string) *GetForgeInstanceWebhookInfoParams

WithForgeInstanceID adds the forgeInstanceID to the get forge instance webhook info params

func (*GetForgeInstanceWebhookInfoParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get forge instance webhook info params

func (*GetForgeInstanceWebhookInfoParams) WithTimeout

WithTimeout adds the timeout to the get forge instance webhook info params

func (*GetForgeInstanceWebhookInfoParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetForgeInstanceWebhookInfoReader

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

GetForgeInstanceWebhookInfoReader is a Reader for the GetForgeInstanceWebhookInfo structure.

func (*GetForgeInstanceWebhookInfoReader) ReadResponse

func (o *GetForgeInstanceWebhookInfoReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type InstallForgeInstanceWebhookDefault

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

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

APIErrorResponse

func NewInstallForgeInstanceWebhookDefault

func NewInstallForgeInstanceWebhookDefault(code int) *InstallForgeInstanceWebhookDefault

NewInstallForgeInstanceWebhookDefault creates a InstallForgeInstanceWebhookDefault with default headers values

func (*InstallForgeInstanceWebhookDefault) Code

Code gets the status code for the install forge instance webhook default response

func (*InstallForgeInstanceWebhookDefault) Error

func (*InstallForgeInstanceWebhookDefault) GetPayload

func (*InstallForgeInstanceWebhookDefault) IsClientError

func (o *InstallForgeInstanceWebhookDefault) IsClientError() bool

IsClientError returns true when this install forge instance webhook default response has a 4xx status code

func (*InstallForgeInstanceWebhookDefault) IsCode

IsCode returns true when this install forge instance webhook default response a status code equal to that given

func (*InstallForgeInstanceWebhookDefault) IsRedirect

func (o *InstallForgeInstanceWebhookDefault) IsRedirect() bool

IsRedirect returns true when this install forge instance webhook default response has a 3xx status code

func (*InstallForgeInstanceWebhookDefault) IsServerError

func (o *InstallForgeInstanceWebhookDefault) IsServerError() bool

IsServerError returns true when this install forge instance webhook default response has a 5xx status code

func (*InstallForgeInstanceWebhookDefault) IsSuccess

IsSuccess returns true when this install forge instance webhook default response has a 2xx status code

func (*InstallForgeInstanceWebhookDefault) String

type InstallForgeInstanceWebhookOK

type InstallForgeInstanceWebhookOK struct {
	Payload garm_params.HookInfo
}

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

HookInfo

func NewInstallForgeInstanceWebhookOK

func NewInstallForgeInstanceWebhookOK() *InstallForgeInstanceWebhookOK

NewInstallForgeInstanceWebhookOK creates a InstallForgeInstanceWebhookOK with default headers values

func (*InstallForgeInstanceWebhookOK) Code

Code gets the status code for the install forge instance webhook o k response

func (*InstallForgeInstanceWebhookOK) Error

func (*InstallForgeInstanceWebhookOK) GetPayload

func (*InstallForgeInstanceWebhookOK) IsClientError

func (o *InstallForgeInstanceWebhookOK) IsClientError() bool

IsClientError returns true when this install forge instance webhook o k response has a 4xx status code

func (*InstallForgeInstanceWebhookOK) IsCode

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

IsCode returns true when this install forge instance webhook o k response a status code equal to that given

func (*InstallForgeInstanceWebhookOK) IsRedirect

func (o *InstallForgeInstanceWebhookOK) IsRedirect() bool

IsRedirect returns true when this install forge instance webhook o k response has a 3xx status code

func (*InstallForgeInstanceWebhookOK) IsServerError

func (o *InstallForgeInstanceWebhookOK) IsServerError() bool

IsServerError returns true when this install forge instance webhook o k response has a 5xx status code

func (*InstallForgeInstanceWebhookOK) IsSuccess

func (o *InstallForgeInstanceWebhookOK) IsSuccess() bool

IsSuccess returns true when this install forge instance webhook o k response has a 2xx status code

func (*InstallForgeInstanceWebhookOK) String

type InstallForgeInstanceWebhookParams

type InstallForgeInstanceWebhookParams struct {

	/* Body.

	   Parameters used when creating the forge instance webhook.
	*/
	Body garm_params.InstallWebhookParams

	/* ForgeInstanceID.

	   Forge instance ID.
	*/
	ForgeInstanceID string

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

InstallForgeInstanceWebhookParams contains all the parameters to send to the API endpoint

for the install forge instance webhook operation.

Typically these are written to a http.Request.

func NewInstallForgeInstanceWebhookParams

func NewInstallForgeInstanceWebhookParams() *InstallForgeInstanceWebhookParams

NewInstallForgeInstanceWebhookParams creates a new InstallForgeInstanceWebhookParams 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 NewInstallForgeInstanceWebhookParamsWithContext

func NewInstallForgeInstanceWebhookParamsWithContext(ctx context.Context) *InstallForgeInstanceWebhookParams

NewInstallForgeInstanceWebhookParamsWithContext creates a new InstallForgeInstanceWebhookParams object with the ability to set a context for a request.

func NewInstallForgeInstanceWebhookParamsWithHTTPClient

func NewInstallForgeInstanceWebhookParamsWithHTTPClient(client *http.Client) *InstallForgeInstanceWebhookParams

NewInstallForgeInstanceWebhookParamsWithHTTPClient creates a new InstallForgeInstanceWebhookParams object with the ability to set a custom HTTPClient for a request.

func NewInstallForgeInstanceWebhookParamsWithTimeout

func NewInstallForgeInstanceWebhookParamsWithTimeout(timeout time.Duration) *InstallForgeInstanceWebhookParams

NewInstallForgeInstanceWebhookParamsWithTimeout creates a new InstallForgeInstanceWebhookParams object with the ability to set a timeout on a request.

func (*InstallForgeInstanceWebhookParams) SetBody

SetBody adds the body to the install forge instance webhook params

func (*InstallForgeInstanceWebhookParams) SetContext

SetContext adds the context to the install forge instance webhook params

func (*InstallForgeInstanceWebhookParams) SetDefaults

func (o *InstallForgeInstanceWebhookParams) SetDefaults()

SetDefaults hydrates default values in the install forge instance webhook params (not the query body).

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

func (*InstallForgeInstanceWebhookParams) SetForgeInstanceID

func (o *InstallForgeInstanceWebhookParams) SetForgeInstanceID(forgeInstanceID string)

SetForgeInstanceID adds the forgeInstanceId to the install forge instance webhook params

func (*InstallForgeInstanceWebhookParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the install forge instance webhook params

func (*InstallForgeInstanceWebhookParams) SetTimeout

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

SetTimeout adds the timeout to the install forge instance webhook params

func (*InstallForgeInstanceWebhookParams) WithBody

WithBody adds the body to the install forge instance webhook params

func (*InstallForgeInstanceWebhookParams) WithContext

WithContext adds the context to the install forge instance webhook params

func (*InstallForgeInstanceWebhookParams) WithDefaults

WithDefaults hydrates default values in the install forge instance webhook params (not the query body).

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

func (*InstallForgeInstanceWebhookParams) WithForgeInstanceID

func (o *InstallForgeInstanceWebhookParams) WithForgeInstanceID(forgeInstanceID string) *InstallForgeInstanceWebhookParams

WithForgeInstanceID adds the forgeInstanceID to the install forge instance webhook params

func (*InstallForgeInstanceWebhookParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the install forge instance webhook params

func (*InstallForgeInstanceWebhookParams) WithTimeout

WithTimeout adds the timeout to the install forge instance webhook params

func (*InstallForgeInstanceWebhookParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type InstallForgeInstanceWebhookReader

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

InstallForgeInstanceWebhookReader is a Reader for the InstallForgeInstanceWebhook structure.

func (*InstallForgeInstanceWebhookReader) ReadResponse

func (o *InstallForgeInstanceWebhookReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type ListForgeInstanceInstancesDefault

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

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

APIErrorResponse

func NewListForgeInstanceInstancesDefault

func NewListForgeInstanceInstancesDefault(code int) *ListForgeInstanceInstancesDefault

NewListForgeInstanceInstancesDefault creates a ListForgeInstanceInstancesDefault with default headers values

func (*ListForgeInstanceInstancesDefault) Code

Code gets the status code for the list forge instance instances default response

func (*ListForgeInstanceInstancesDefault) Error

func (*ListForgeInstanceInstancesDefault) GetPayload

func (*ListForgeInstanceInstancesDefault) IsClientError

func (o *ListForgeInstanceInstancesDefault) IsClientError() bool

IsClientError returns true when this list forge instance instances default response has a 4xx status code

func (*ListForgeInstanceInstancesDefault) IsCode

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

IsCode returns true when this list forge instance instances default response a status code equal to that given

func (*ListForgeInstanceInstancesDefault) IsRedirect

func (o *ListForgeInstanceInstancesDefault) IsRedirect() bool

IsRedirect returns true when this list forge instance instances default response has a 3xx status code

func (*ListForgeInstanceInstancesDefault) IsServerError

func (o *ListForgeInstanceInstancesDefault) IsServerError() bool

IsServerError returns true when this list forge instance instances default response has a 5xx status code

func (*ListForgeInstanceInstancesDefault) IsSuccess

func (o *ListForgeInstanceInstancesDefault) IsSuccess() bool

IsSuccess returns true when this list forge instance instances default response has a 2xx status code

func (*ListForgeInstanceInstancesDefault) String

type ListForgeInstanceInstancesOK

type ListForgeInstanceInstancesOK struct {
	Payload garm_params.Instances
}

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

Instances

func NewListForgeInstanceInstancesOK

func NewListForgeInstanceInstancesOK() *ListForgeInstanceInstancesOK

NewListForgeInstanceInstancesOK creates a ListForgeInstanceInstancesOK with default headers values

func (*ListForgeInstanceInstancesOK) Code

Code gets the status code for the list forge instance instances o k response

func (*ListForgeInstanceInstancesOK) Error

func (*ListForgeInstanceInstancesOK) GetPayload

func (*ListForgeInstanceInstancesOK) IsClientError

func (o *ListForgeInstanceInstancesOK) IsClientError() bool

IsClientError returns true when this list forge instance instances o k response has a 4xx status code

func (*ListForgeInstanceInstancesOK) IsCode

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

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

func (*ListForgeInstanceInstancesOK) IsRedirect

func (o *ListForgeInstanceInstancesOK) IsRedirect() bool

IsRedirect returns true when this list forge instance instances o k response has a 3xx status code

func (*ListForgeInstanceInstancesOK) IsServerError

func (o *ListForgeInstanceInstancesOK) IsServerError() bool

IsServerError returns true when this list forge instance instances o k response has a 5xx status code

func (*ListForgeInstanceInstancesOK) IsSuccess

func (o *ListForgeInstanceInstancesOK) IsSuccess() bool

IsSuccess returns true when this list forge instance instances o k response has a 2xx status code

func (*ListForgeInstanceInstancesOK) String

type ListForgeInstanceInstancesParams

type ListForgeInstanceInstancesParams struct {

	/* ForgeInstanceID.

	   Forge instance ID.
	*/
	ForgeInstanceID string

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

ListForgeInstanceInstancesParams contains all the parameters to send to the API endpoint

for the list forge instance instances operation.

Typically these are written to a http.Request.

func NewListForgeInstanceInstancesParams

func NewListForgeInstanceInstancesParams() *ListForgeInstanceInstancesParams

NewListForgeInstanceInstancesParams creates a new ListForgeInstanceInstancesParams 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 NewListForgeInstanceInstancesParamsWithContext

func NewListForgeInstanceInstancesParamsWithContext(ctx context.Context) *ListForgeInstanceInstancesParams

NewListForgeInstanceInstancesParamsWithContext creates a new ListForgeInstanceInstancesParams object with the ability to set a context for a request.

func NewListForgeInstanceInstancesParamsWithHTTPClient

func NewListForgeInstanceInstancesParamsWithHTTPClient(client *http.Client) *ListForgeInstanceInstancesParams

NewListForgeInstanceInstancesParamsWithHTTPClient creates a new ListForgeInstanceInstancesParams object with the ability to set a custom HTTPClient for a request.

func NewListForgeInstanceInstancesParamsWithTimeout

func NewListForgeInstanceInstancesParamsWithTimeout(timeout time.Duration) *ListForgeInstanceInstancesParams

NewListForgeInstanceInstancesParamsWithTimeout creates a new ListForgeInstanceInstancesParams object with the ability to set a timeout on a request.

func (*ListForgeInstanceInstancesParams) SetContext

SetContext adds the context to the list forge instance instances params

func (*ListForgeInstanceInstancesParams) SetDefaults

func (o *ListForgeInstanceInstancesParams) SetDefaults()

SetDefaults hydrates default values in the list forge instance instances params (not the query body).

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

func (*ListForgeInstanceInstancesParams) SetForgeInstanceID

func (o *ListForgeInstanceInstancesParams) SetForgeInstanceID(forgeInstanceID string)

SetForgeInstanceID adds the forgeInstanceId to the list forge instance instances params

func (*ListForgeInstanceInstancesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list forge instance instances params

func (*ListForgeInstanceInstancesParams) SetTimeout

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

SetTimeout adds the timeout to the list forge instance instances params

func (*ListForgeInstanceInstancesParams) WithContext

WithContext adds the context to the list forge instance instances params

func (*ListForgeInstanceInstancesParams) WithDefaults

WithDefaults hydrates default values in the list forge instance instances params (not the query body).

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

func (*ListForgeInstanceInstancesParams) WithForgeInstanceID

func (o *ListForgeInstanceInstancesParams) WithForgeInstanceID(forgeInstanceID string) *ListForgeInstanceInstancesParams

WithForgeInstanceID adds the forgeInstanceID to the list forge instance instances params

func (*ListForgeInstanceInstancesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the list forge instance instances params

func (*ListForgeInstanceInstancesParams) WithTimeout

WithTimeout adds the timeout to the list forge instance instances params

func (*ListForgeInstanceInstancesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListForgeInstanceInstancesReader

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

ListForgeInstanceInstancesReader is a Reader for the ListForgeInstanceInstances structure.

func (*ListForgeInstanceInstancesReader) ReadResponse

func (o *ListForgeInstanceInstancesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type ListForgeInstancePoolsDefault

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

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

APIErrorResponse

func NewListForgeInstancePoolsDefault

func NewListForgeInstancePoolsDefault(code int) *ListForgeInstancePoolsDefault

NewListForgeInstancePoolsDefault creates a ListForgeInstancePoolsDefault with default headers values

func (*ListForgeInstancePoolsDefault) Code

Code gets the status code for the list forge instance pools default response

func (*ListForgeInstancePoolsDefault) Error

func (*ListForgeInstancePoolsDefault) GetPayload

func (*ListForgeInstancePoolsDefault) IsClientError

func (o *ListForgeInstancePoolsDefault) IsClientError() bool

IsClientError returns true when this list forge instance pools default response has a 4xx status code

func (*ListForgeInstancePoolsDefault) IsCode

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

IsCode returns true when this list forge instance pools default response a status code equal to that given

func (*ListForgeInstancePoolsDefault) IsRedirect

func (o *ListForgeInstancePoolsDefault) IsRedirect() bool

IsRedirect returns true when this list forge instance pools default response has a 3xx status code

func (*ListForgeInstancePoolsDefault) IsServerError

func (o *ListForgeInstancePoolsDefault) IsServerError() bool

IsServerError returns true when this list forge instance pools default response has a 5xx status code

func (*ListForgeInstancePoolsDefault) IsSuccess

func (o *ListForgeInstancePoolsDefault) IsSuccess() bool

IsSuccess returns true when this list forge instance pools default response has a 2xx status code

func (*ListForgeInstancePoolsDefault) String

type ListForgeInstancePoolsOK

type ListForgeInstancePoolsOK struct {
	Payload garm_params.Pools
}

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

Pools

func NewListForgeInstancePoolsOK

func NewListForgeInstancePoolsOK() *ListForgeInstancePoolsOK

NewListForgeInstancePoolsOK creates a ListForgeInstancePoolsOK with default headers values

func (*ListForgeInstancePoolsOK) Code

func (o *ListForgeInstancePoolsOK) Code() int

Code gets the status code for the list forge instance pools o k response

func (*ListForgeInstancePoolsOK) Error

func (o *ListForgeInstancePoolsOK) Error() string

func (*ListForgeInstancePoolsOK) GetPayload

func (o *ListForgeInstancePoolsOK) GetPayload() garm_params.Pools

func (*ListForgeInstancePoolsOK) IsClientError

func (o *ListForgeInstancePoolsOK) IsClientError() bool

IsClientError returns true when this list forge instance pools o k response has a 4xx status code

func (*ListForgeInstancePoolsOK) IsCode

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

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

func (*ListForgeInstancePoolsOK) IsRedirect

func (o *ListForgeInstancePoolsOK) IsRedirect() bool

IsRedirect returns true when this list forge instance pools o k response has a 3xx status code

func (*ListForgeInstancePoolsOK) IsServerError

func (o *ListForgeInstancePoolsOK) IsServerError() bool

IsServerError returns true when this list forge instance pools o k response has a 5xx status code

func (*ListForgeInstancePoolsOK) IsSuccess

func (o *ListForgeInstancePoolsOK) IsSuccess() bool

IsSuccess returns true when this list forge instance pools o k response has a 2xx status code

func (*ListForgeInstancePoolsOK) String

func (o *ListForgeInstancePoolsOK) String() string

type ListForgeInstancePoolsParams

type ListForgeInstancePoolsParams struct {

	/* ForgeInstanceID.

	   Forge instance ID.
	*/
	ForgeInstanceID string

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

ListForgeInstancePoolsParams contains all the parameters to send to the API endpoint

for the list forge instance pools operation.

Typically these are written to a http.Request.

func NewListForgeInstancePoolsParams

func NewListForgeInstancePoolsParams() *ListForgeInstancePoolsParams

NewListForgeInstancePoolsParams creates a new ListForgeInstancePoolsParams 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 NewListForgeInstancePoolsParamsWithContext

func NewListForgeInstancePoolsParamsWithContext(ctx context.Context) *ListForgeInstancePoolsParams

NewListForgeInstancePoolsParamsWithContext creates a new ListForgeInstancePoolsParams object with the ability to set a context for a request.

func NewListForgeInstancePoolsParamsWithHTTPClient

func NewListForgeInstancePoolsParamsWithHTTPClient(client *http.Client) *ListForgeInstancePoolsParams

NewListForgeInstancePoolsParamsWithHTTPClient creates a new ListForgeInstancePoolsParams object with the ability to set a custom HTTPClient for a request.

func NewListForgeInstancePoolsParamsWithTimeout

func NewListForgeInstancePoolsParamsWithTimeout(timeout time.Duration) *ListForgeInstancePoolsParams

NewListForgeInstancePoolsParamsWithTimeout creates a new ListForgeInstancePoolsParams object with the ability to set a timeout on a request.

func (*ListForgeInstancePoolsParams) SetContext

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

SetContext adds the context to the list forge instance pools params

func (*ListForgeInstancePoolsParams) SetDefaults

func (o *ListForgeInstancePoolsParams) SetDefaults()

SetDefaults hydrates default values in the list forge instance pools params (not the query body).

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

func (*ListForgeInstancePoolsParams) SetForgeInstanceID

func (o *ListForgeInstancePoolsParams) SetForgeInstanceID(forgeInstanceID string)

SetForgeInstanceID adds the forgeInstanceId to the list forge instance pools params

func (*ListForgeInstancePoolsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list forge instance pools params

func (*ListForgeInstancePoolsParams) SetTimeout

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

SetTimeout adds the timeout to the list forge instance pools params

func (*ListForgeInstancePoolsParams) WithContext

WithContext adds the context to the list forge instance pools params

func (*ListForgeInstancePoolsParams) WithDefaults

WithDefaults hydrates default values in the list forge instance pools params (not the query body).

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

func (*ListForgeInstancePoolsParams) WithForgeInstanceID

func (o *ListForgeInstancePoolsParams) WithForgeInstanceID(forgeInstanceID string) *ListForgeInstancePoolsParams

WithForgeInstanceID adds the forgeInstanceID to the list forge instance pools params

func (*ListForgeInstancePoolsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the list forge instance pools params

func (*ListForgeInstancePoolsParams) WithTimeout

WithTimeout adds the timeout to the list forge instance pools params

func (*ListForgeInstancePoolsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListForgeInstancePoolsReader

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

ListForgeInstancePoolsReader is a Reader for the ListForgeInstancePools structure.

func (*ListForgeInstancePoolsReader) ReadResponse

func (o *ListForgeInstancePoolsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type ListForgeInstancesDefault

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

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

APIErrorResponse

func NewListForgeInstancesDefault

func NewListForgeInstancesDefault(code int) *ListForgeInstancesDefault

NewListForgeInstancesDefault creates a ListForgeInstancesDefault with default headers values

func (*ListForgeInstancesDefault) Code

func (o *ListForgeInstancesDefault) Code() int

Code gets the status code for the list forge instances default response

func (*ListForgeInstancesDefault) Error

func (o *ListForgeInstancesDefault) Error() string

func (*ListForgeInstancesDefault) GetPayload

func (*ListForgeInstancesDefault) IsClientError

func (o *ListForgeInstancesDefault) IsClientError() bool

IsClientError returns true when this list forge instances default response has a 4xx status code

func (*ListForgeInstancesDefault) IsCode

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

IsCode returns true when this list forge instances default response a status code equal to that given

func (*ListForgeInstancesDefault) IsRedirect

func (o *ListForgeInstancesDefault) IsRedirect() bool

IsRedirect returns true when this list forge instances default response has a 3xx status code

func (*ListForgeInstancesDefault) IsServerError

func (o *ListForgeInstancesDefault) IsServerError() bool

IsServerError returns true when this list forge instances default response has a 5xx status code

func (*ListForgeInstancesDefault) IsSuccess

func (o *ListForgeInstancesDefault) IsSuccess() bool

IsSuccess returns true when this list forge instances default response has a 2xx status code

func (*ListForgeInstancesDefault) String

func (o *ListForgeInstancesDefault) String() string

type ListForgeInstancesOK

type ListForgeInstancesOK struct {
	Payload garm_params.ForgeInstances
}

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

ForgeInstances

func NewListForgeInstancesOK

func NewListForgeInstancesOK() *ListForgeInstancesOK

NewListForgeInstancesOK creates a ListForgeInstancesOK with default headers values

func (*ListForgeInstancesOK) Code

func (o *ListForgeInstancesOK) Code() int

Code gets the status code for the list forge instances o k response

func (*ListForgeInstancesOK) Error

func (o *ListForgeInstancesOK) Error() string

func (*ListForgeInstancesOK) GetPayload

func (*ListForgeInstancesOK) IsClientError

func (o *ListForgeInstancesOK) IsClientError() bool

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

func (*ListForgeInstancesOK) IsCode

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

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

func (*ListForgeInstancesOK) IsRedirect

func (o *ListForgeInstancesOK) IsRedirect() bool

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

func (*ListForgeInstancesOK) IsServerError

func (o *ListForgeInstancesOK) IsServerError() bool

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

func (*ListForgeInstancesOK) IsSuccess

func (o *ListForgeInstancesOK) IsSuccess() bool

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

func (*ListForgeInstancesOK) String

func (o *ListForgeInstancesOK) String() string

type ListForgeInstancesParams

type ListForgeInstancesParams struct {

	/* Endpoint.

	   Exact endpoint name to filter by
	*/
	Endpoint *string

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

ListForgeInstancesParams contains all the parameters to send to the API endpoint

for the list forge instances operation.

Typically these are written to a http.Request.

func NewListForgeInstancesParams

func NewListForgeInstancesParams() *ListForgeInstancesParams

NewListForgeInstancesParams creates a new ListForgeInstancesParams 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 NewListForgeInstancesParamsWithContext

func NewListForgeInstancesParamsWithContext(ctx context.Context) *ListForgeInstancesParams

NewListForgeInstancesParamsWithContext creates a new ListForgeInstancesParams object with the ability to set a context for a request.

func NewListForgeInstancesParamsWithHTTPClient

func NewListForgeInstancesParamsWithHTTPClient(client *http.Client) *ListForgeInstancesParams

NewListForgeInstancesParamsWithHTTPClient creates a new ListForgeInstancesParams object with the ability to set a custom HTTPClient for a request.

func NewListForgeInstancesParamsWithTimeout

func NewListForgeInstancesParamsWithTimeout(timeout time.Duration) *ListForgeInstancesParams

NewListForgeInstancesParamsWithTimeout creates a new ListForgeInstancesParams object with the ability to set a timeout on a request.

func (*ListForgeInstancesParams) SetContext

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

SetContext adds the context to the list forge instances params

func (*ListForgeInstancesParams) SetDefaults

func (o *ListForgeInstancesParams) SetDefaults()

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

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

func (*ListForgeInstancesParams) SetEndpoint

func (o *ListForgeInstancesParams) SetEndpoint(endpoint *string)

SetEndpoint adds the endpoint to the list forge instances params

func (*ListForgeInstancesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list forge instances params

func (*ListForgeInstancesParams) SetTimeout

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

SetTimeout adds the timeout to the list forge instances params

func (*ListForgeInstancesParams) WithContext

WithContext adds the context to the list forge instances params

func (*ListForgeInstancesParams) WithDefaults

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

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

func (*ListForgeInstancesParams) WithEndpoint

func (o *ListForgeInstancesParams) WithEndpoint(endpoint *string) *ListForgeInstancesParams

WithEndpoint adds the endpoint to the list forge instances params

func (*ListForgeInstancesParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list forge instances params

func (*ListForgeInstancesParams) WithTimeout

WithTimeout adds the timeout to the list forge instances params

func (*ListForgeInstancesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListForgeInstancesReader

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

ListForgeInstancesReader is a Reader for the ListForgeInstances structure.

func (*ListForgeInstancesReader) ReadResponse

func (o *ListForgeInstancesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type UninstallForgeInstanceWebhookDefault

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

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

APIErrorResponse

func NewUninstallForgeInstanceWebhookDefault

func NewUninstallForgeInstanceWebhookDefault(code int) *UninstallForgeInstanceWebhookDefault

NewUninstallForgeInstanceWebhookDefault creates a UninstallForgeInstanceWebhookDefault with default headers values

func (*UninstallForgeInstanceWebhookDefault) Code

Code gets the status code for the uninstall forge instance webhook default response

func (*UninstallForgeInstanceWebhookDefault) Error

func (*UninstallForgeInstanceWebhookDefault) GetPayload

func (*UninstallForgeInstanceWebhookDefault) IsClientError

func (o *UninstallForgeInstanceWebhookDefault) IsClientError() bool

IsClientError returns true when this uninstall forge instance webhook default response has a 4xx status code

func (*UninstallForgeInstanceWebhookDefault) IsCode

IsCode returns true when this uninstall forge instance webhook default response a status code equal to that given

func (*UninstallForgeInstanceWebhookDefault) IsRedirect

IsRedirect returns true when this uninstall forge instance webhook default response has a 3xx status code

func (*UninstallForgeInstanceWebhookDefault) IsServerError

func (o *UninstallForgeInstanceWebhookDefault) IsServerError() bool

IsServerError returns true when this uninstall forge instance webhook default response has a 5xx status code

func (*UninstallForgeInstanceWebhookDefault) IsSuccess

IsSuccess returns true when this uninstall forge instance webhook default response has a 2xx status code

func (*UninstallForgeInstanceWebhookDefault) String

type UninstallForgeInstanceWebhookParams

type UninstallForgeInstanceWebhookParams struct {

	/* ForgeInstanceID.

	   Forge instance ID.
	*/
	ForgeInstanceID string

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

UninstallForgeInstanceWebhookParams contains all the parameters to send to the API endpoint

for the uninstall forge instance webhook operation.

Typically these are written to a http.Request.

func NewUninstallForgeInstanceWebhookParams

func NewUninstallForgeInstanceWebhookParams() *UninstallForgeInstanceWebhookParams

NewUninstallForgeInstanceWebhookParams creates a new UninstallForgeInstanceWebhookParams 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 NewUninstallForgeInstanceWebhookParamsWithContext

func NewUninstallForgeInstanceWebhookParamsWithContext(ctx context.Context) *UninstallForgeInstanceWebhookParams

NewUninstallForgeInstanceWebhookParamsWithContext creates a new UninstallForgeInstanceWebhookParams object with the ability to set a context for a request.

func NewUninstallForgeInstanceWebhookParamsWithHTTPClient

func NewUninstallForgeInstanceWebhookParamsWithHTTPClient(client *http.Client) *UninstallForgeInstanceWebhookParams

NewUninstallForgeInstanceWebhookParamsWithHTTPClient creates a new UninstallForgeInstanceWebhookParams object with the ability to set a custom HTTPClient for a request.

func NewUninstallForgeInstanceWebhookParamsWithTimeout

func NewUninstallForgeInstanceWebhookParamsWithTimeout(timeout time.Duration) *UninstallForgeInstanceWebhookParams

NewUninstallForgeInstanceWebhookParamsWithTimeout creates a new UninstallForgeInstanceWebhookParams object with the ability to set a timeout on a request.

func (*UninstallForgeInstanceWebhookParams) SetContext

SetContext adds the context to the uninstall forge instance webhook params

func (*UninstallForgeInstanceWebhookParams) SetDefaults

func (o *UninstallForgeInstanceWebhookParams) SetDefaults()

SetDefaults hydrates default values in the uninstall forge instance webhook params (not the query body).

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

func (*UninstallForgeInstanceWebhookParams) SetForgeInstanceID

func (o *UninstallForgeInstanceWebhookParams) SetForgeInstanceID(forgeInstanceID string)

SetForgeInstanceID adds the forgeInstanceId to the uninstall forge instance webhook params

func (*UninstallForgeInstanceWebhookParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the uninstall forge instance webhook params

func (*UninstallForgeInstanceWebhookParams) SetTimeout

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

SetTimeout adds the timeout to the uninstall forge instance webhook params

func (*UninstallForgeInstanceWebhookParams) WithContext

WithContext adds the context to the uninstall forge instance webhook params

func (*UninstallForgeInstanceWebhookParams) WithDefaults

WithDefaults hydrates default values in the uninstall forge instance webhook params (not the query body).

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

func (*UninstallForgeInstanceWebhookParams) WithForgeInstanceID

func (o *UninstallForgeInstanceWebhookParams) WithForgeInstanceID(forgeInstanceID string) *UninstallForgeInstanceWebhookParams

WithForgeInstanceID adds the forgeInstanceID to the uninstall forge instance webhook params

func (*UninstallForgeInstanceWebhookParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the uninstall forge instance webhook params

func (*UninstallForgeInstanceWebhookParams) WithTimeout

WithTimeout adds the timeout to the uninstall forge instance webhook params

func (*UninstallForgeInstanceWebhookParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UninstallForgeInstanceWebhookReader

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

UninstallForgeInstanceWebhookReader is a Reader for the UninstallForgeInstanceWebhook structure.

func (*UninstallForgeInstanceWebhookReader) ReadResponse

func (o *UninstallForgeInstanceWebhookReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type UpdateForgeInstanceDefault

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

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

APIErrorResponse

func NewUpdateForgeInstanceDefault

func NewUpdateForgeInstanceDefault(code int) *UpdateForgeInstanceDefault

NewUpdateForgeInstanceDefault creates a UpdateForgeInstanceDefault with default headers values

func (*UpdateForgeInstanceDefault) Code

func (o *UpdateForgeInstanceDefault) Code() int

Code gets the status code for the update forge instance default response

func (*UpdateForgeInstanceDefault) Error

func (*UpdateForgeInstanceDefault) GetPayload

func (*UpdateForgeInstanceDefault) IsClientError

func (o *UpdateForgeInstanceDefault) IsClientError() bool

IsClientError returns true when this update forge instance default response has a 4xx status code

func (*UpdateForgeInstanceDefault) IsCode

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

IsCode returns true when this update forge instance default response a status code equal to that given

func (*UpdateForgeInstanceDefault) IsRedirect

func (o *UpdateForgeInstanceDefault) IsRedirect() bool

IsRedirect returns true when this update forge instance default response has a 3xx status code

func (*UpdateForgeInstanceDefault) IsServerError

func (o *UpdateForgeInstanceDefault) IsServerError() bool

IsServerError returns true when this update forge instance default response has a 5xx status code

func (*UpdateForgeInstanceDefault) IsSuccess

func (o *UpdateForgeInstanceDefault) IsSuccess() bool

IsSuccess returns true when this update forge instance default response has a 2xx status code

func (*UpdateForgeInstanceDefault) String

func (o *UpdateForgeInstanceDefault) String() string

type UpdateForgeInstanceOK

type UpdateForgeInstanceOK struct {
	Payload garm_params.ForgeInstance
}

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

ForgeInstance

func NewUpdateForgeInstanceOK

func NewUpdateForgeInstanceOK() *UpdateForgeInstanceOK

NewUpdateForgeInstanceOK creates a UpdateForgeInstanceOK with default headers values

func (*UpdateForgeInstanceOK) Code

func (o *UpdateForgeInstanceOK) Code() int

Code gets the status code for the update forge instance o k response

func (*UpdateForgeInstanceOK) Error

func (o *UpdateForgeInstanceOK) Error() string

func (*UpdateForgeInstanceOK) GetPayload

func (*UpdateForgeInstanceOK) IsClientError

func (o *UpdateForgeInstanceOK) IsClientError() bool

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

func (*UpdateForgeInstanceOK) IsCode

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

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

func (*UpdateForgeInstanceOK) IsRedirect

func (o *UpdateForgeInstanceOK) IsRedirect() bool

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

func (*UpdateForgeInstanceOK) IsServerError

func (o *UpdateForgeInstanceOK) IsServerError() bool

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

func (*UpdateForgeInstanceOK) IsSuccess

func (o *UpdateForgeInstanceOK) IsSuccess() bool

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

func (*UpdateForgeInstanceOK) String

func (o *UpdateForgeInstanceOK) String() string

type UpdateForgeInstanceParams

type UpdateForgeInstanceParams struct {

	/* Body.

	   Parameters used when updating the forge instance.
	*/
	Body garm_params.UpdateEntityParams

	/* ForgeInstanceID.

	   The ID of the forge instance to update.
	*/
	ForgeInstanceID string

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

UpdateForgeInstanceParams contains all the parameters to send to the API endpoint

for the update forge instance operation.

Typically these are written to a http.Request.

func NewUpdateForgeInstanceParams

func NewUpdateForgeInstanceParams() *UpdateForgeInstanceParams

NewUpdateForgeInstanceParams creates a new UpdateForgeInstanceParams 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 NewUpdateForgeInstanceParamsWithContext

func NewUpdateForgeInstanceParamsWithContext(ctx context.Context) *UpdateForgeInstanceParams

NewUpdateForgeInstanceParamsWithContext creates a new UpdateForgeInstanceParams object with the ability to set a context for a request.

func NewUpdateForgeInstanceParamsWithHTTPClient

func NewUpdateForgeInstanceParamsWithHTTPClient(client *http.Client) *UpdateForgeInstanceParams

NewUpdateForgeInstanceParamsWithHTTPClient creates a new UpdateForgeInstanceParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateForgeInstanceParamsWithTimeout

func NewUpdateForgeInstanceParamsWithTimeout(timeout time.Duration) *UpdateForgeInstanceParams

NewUpdateForgeInstanceParamsWithTimeout creates a new UpdateForgeInstanceParams object with the ability to set a timeout on a request.

func (*UpdateForgeInstanceParams) SetBody

SetBody adds the body to the update forge instance params

func (*UpdateForgeInstanceParams) SetContext

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

SetContext adds the context to the update forge instance params

func (*UpdateForgeInstanceParams) SetDefaults

func (o *UpdateForgeInstanceParams) SetDefaults()

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

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

func (*UpdateForgeInstanceParams) SetForgeInstanceID

func (o *UpdateForgeInstanceParams) SetForgeInstanceID(forgeInstanceID string)

SetForgeInstanceID adds the forgeInstanceId to the update forge instance params

func (*UpdateForgeInstanceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update forge instance params

func (*UpdateForgeInstanceParams) SetTimeout

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

SetTimeout adds the timeout to the update forge instance params

func (*UpdateForgeInstanceParams) WithBody

WithBody adds the body to the update forge instance params

func (*UpdateForgeInstanceParams) WithContext

WithContext adds the context to the update forge instance params

func (*UpdateForgeInstanceParams) WithDefaults

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

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

func (*UpdateForgeInstanceParams) WithForgeInstanceID

func (o *UpdateForgeInstanceParams) WithForgeInstanceID(forgeInstanceID string) *UpdateForgeInstanceParams

WithForgeInstanceID adds the forgeInstanceID to the update forge instance params

func (*UpdateForgeInstanceParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update forge instance params

func (*UpdateForgeInstanceParams) WithTimeout

WithTimeout adds the timeout to the update forge instance params

func (*UpdateForgeInstanceParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateForgeInstancePoolDefault

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

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

APIErrorResponse

func NewUpdateForgeInstancePoolDefault

func NewUpdateForgeInstancePoolDefault(code int) *UpdateForgeInstancePoolDefault

NewUpdateForgeInstancePoolDefault creates a UpdateForgeInstancePoolDefault with default headers values

func (*UpdateForgeInstancePoolDefault) Code

Code gets the status code for the update forge instance pool default response

func (*UpdateForgeInstancePoolDefault) Error

func (*UpdateForgeInstancePoolDefault) GetPayload

func (*UpdateForgeInstancePoolDefault) IsClientError

func (o *UpdateForgeInstancePoolDefault) IsClientError() bool

IsClientError returns true when this update forge instance pool default response has a 4xx status code

func (*UpdateForgeInstancePoolDefault) IsCode

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

IsCode returns true when this update forge instance pool default response a status code equal to that given

func (*UpdateForgeInstancePoolDefault) IsRedirect

func (o *UpdateForgeInstancePoolDefault) IsRedirect() bool

IsRedirect returns true when this update forge instance pool default response has a 3xx status code

func (*UpdateForgeInstancePoolDefault) IsServerError

func (o *UpdateForgeInstancePoolDefault) IsServerError() bool

IsServerError returns true when this update forge instance pool default response has a 5xx status code

func (*UpdateForgeInstancePoolDefault) IsSuccess

func (o *UpdateForgeInstancePoolDefault) IsSuccess() bool

IsSuccess returns true when this update forge instance pool default response has a 2xx status code

func (*UpdateForgeInstancePoolDefault) String

type UpdateForgeInstancePoolOK

type UpdateForgeInstancePoolOK struct {
	Payload garm_params.Pool
}

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

Pool

func NewUpdateForgeInstancePoolOK

func NewUpdateForgeInstancePoolOK() *UpdateForgeInstancePoolOK

NewUpdateForgeInstancePoolOK creates a UpdateForgeInstancePoolOK with default headers values

func (*UpdateForgeInstancePoolOK) Code

func (o *UpdateForgeInstancePoolOK) Code() int

Code gets the status code for the update forge instance pool o k response

func (*UpdateForgeInstancePoolOK) Error

func (o *UpdateForgeInstancePoolOK) Error() string

func (*UpdateForgeInstancePoolOK) GetPayload

func (o *UpdateForgeInstancePoolOK) GetPayload() garm_params.Pool

func (*UpdateForgeInstancePoolOK) IsClientError

func (o *UpdateForgeInstancePoolOK) IsClientError() bool

IsClientError returns true when this update forge instance pool o k response has a 4xx status code

func (*UpdateForgeInstancePoolOK) IsCode

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

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

func (*UpdateForgeInstancePoolOK) IsRedirect

func (o *UpdateForgeInstancePoolOK) IsRedirect() bool

IsRedirect returns true when this update forge instance pool o k response has a 3xx status code

func (*UpdateForgeInstancePoolOK) IsServerError

func (o *UpdateForgeInstancePoolOK) IsServerError() bool

IsServerError returns true when this update forge instance pool o k response has a 5xx status code

func (*UpdateForgeInstancePoolOK) IsSuccess

func (o *UpdateForgeInstancePoolOK) IsSuccess() bool

IsSuccess returns true when this update forge instance pool o k response has a 2xx status code

func (*UpdateForgeInstancePoolOK) String

func (o *UpdateForgeInstancePoolOK) String() string

type UpdateForgeInstancePoolParams

type UpdateForgeInstancePoolParams struct {

	/* Body.

	   Parameters used when updating the forge instance pool.
	*/
	Body garm_params.UpdatePoolParams

	/* ForgeInstanceID.

	   Forge instance ID.
	*/
	ForgeInstanceID string

	/* PoolID.

	   ID of the forge instance pool to update.
	*/
	PoolID string

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

UpdateForgeInstancePoolParams contains all the parameters to send to the API endpoint

for the update forge instance pool operation.

Typically these are written to a http.Request.

func NewUpdateForgeInstancePoolParams

func NewUpdateForgeInstancePoolParams() *UpdateForgeInstancePoolParams

NewUpdateForgeInstancePoolParams creates a new UpdateForgeInstancePoolParams 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 NewUpdateForgeInstancePoolParamsWithContext

func NewUpdateForgeInstancePoolParamsWithContext(ctx context.Context) *UpdateForgeInstancePoolParams

NewUpdateForgeInstancePoolParamsWithContext creates a new UpdateForgeInstancePoolParams object with the ability to set a context for a request.

func NewUpdateForgeInstancePoolParamsWithHTTPClient

func NewUpdateForgeInstancePoolParamsWithHTTPClient(client *http.Client) *UpdateForgeInstancePoolParams

NewUpdateForgeInstancePoolParamsWithHTTPClient creates a new UpdateForgeInstancePoolParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateForgeInstancePoolParamsWithTimeout

func NewUpdateForgeInstancePoolParamsWithTimeout(timeout time.Duration) *UpdateForgeInstancePoolParams

NewUpdateForgeInstancePoolParamsWithTimeout creates a new UpdateForgeInstancePoolParams object with the ability to set a timeout on a request.

func (*UpdateForgeInstancePoolParams) SetBody

SetBody adds the body to the update forge instance pool params

func (*UpdateForgeInstancePoolParams) SetContext

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

SetContext adds the context to the update forge instance pool params

func (*UpdateForgeInstancePoolParams) SetDefaults

func (o *UpdateForgeInstancePoolParams) SetDefaults()

SetDefaults hydrates default values in the update forge instance pool params (not the query body).

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

func (*UpdateForgeInstancePoolParams) SetForgeInstanceID

func (o *UpdateForgeInstancePoolParams) SetForgeInstanceID(forgeInstanceID string)

SetForgeInstanceID adds the forgeInstanceId to the update forge instance pool params

func (*UpdateForgeInstancePoolParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update forge instance pool params

func (*UpdateForgeInstancePoolParams) SetPoolID

func (o *UpdateForgeInstancePoolParams) SetPoolID(poolID string)

SetPoolID adds the poolId to the update forge instance pool params

func (*UpdateForgeInstancePoolParams) SetTimeout

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

SetTimeout adds the timeout to the update forge instance pool params

func (*UpdateForgeInstancePoolParams) WithBody

WithBody adds the body to the update forge instance pool params

func (*UpdateForgeInstancePoolParams) WithContext

WithContext adds the context to the update forge instance pool params

func (*UpdateForgeInstancePoolParams) WithDefaults

WithDefaults hydrates default values in the update forge instance pool params (not the query body).

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

func (*UpdateForgeInstancePoolParams) WithForgeInstanceID

func (o *UpdateForgeInstancePoolParams) WithForgeInstanceID(forgeInstanceID string) *UpdateForgeInstancePoolParams

WithForgeInstanceID adds the forgeInstanceID to the update forge instance pool params

func (*UpdateForgeInstancePoolParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update forge instance pool params

func (*UpdateForgeInstancePoolParams) WithPoolID

WithPoolID adds the poolID to the update forge instance pool params

func (*UpdateForgeInstancePoolParams) WithTimeout

WithTimeout adds the timeout to the update forge instance pool params

func (*UpdateForgeInstancePoolParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateForgeInstancePoolReader

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

UpdateForgeInstancePoolReader is a Reader for the UpdateForgeInstancePool structure.

func (*UpdateForgeInstancePoolReader) ReadResponse

func (o *UpdateForgeInstancePoolReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type UpdateForgeInstanceReader

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

UpdateForgeInstanceReader is a Reader for the UpdateForgeInstance structure.

func (*UpdateForgeInstanceReader) ReadResponse

func (o *UpdateForgeInstanceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, 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