Documentation
¶
Index ¶
- type Client
- func (a *Client) CreateForgeInstance(params *CreateForgeInstanceParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateForgeInstanceOK, error)
- func (a *Client) CreateForgeInstancePool(params *CreateForgeInstancePoolParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateForgeInstancePoolOK, error)
- func (a *Client) DeleteForgeInstance(params *DeleteForgeInstanceParams, authInfo runtime.ClientAuthInfoWriter, ...) error
- func (a *Client) DeleteForgeInstancePool(params *DeleteForgeInstancePoolParams, authInfo runtime.ClientAuthInfoWriter, ...) error
- func (a *Client) GetForgeInstance(params *GetForgeInstanceParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetForgeInstanceOK, error)
- func (a *Client) GetForgeInstancePool(params *GetForgeInstancePoolParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetForgeInstancePoolOK, error)
- func (a *Client) GetForgeInstanceWebhookInfo(params *GetForgeInstanceWebhookInfoParams, ...) (*GetForgeInstanceWebhookInfoOK, error)
- func (a *Client) InstallForgeInstanceWebhook(params *InstallForgeInstanceWebhookParams, ...) (*InstallForgeInstanceWebhookOK, error)
- func (a *Client) ListForgeInstanceInstances(params *ListForgeInstanceInstancesParams, ...) (*ListForgeInstanceInstancesOK, error)
- func (a *Client) ListForgeInstancePools(params *ListForgeInstancePoolsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListForgeInstancePoolsOK, error)
- func (a *Client) ListForgeInstances(params *ListForgeInstancesParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListForgeInstancesOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UninstallForgeInstanceWebhook(params *UninstallForgeInstanceWebhookParams, ...) error
- func (a *Client) UpdateForgeInstance(params *UpdateForgeInstanceParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateForgeInstanceOK, error)
- func (a *Client) UpdateForgeInstancePool(params *UpdateForgeInstancePoolParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateForgeInstancePoolOK, error)
- type ClientOption
- type ClientService
- type CreateForgeInstanceDefault
- func (o *CreateForgeInstanceDefault) Code() int
- func (o *CreateForgeInstanceDefault) Error() string
- func (o *CreateForgeInstanceDefault) GetPayload() apiserver_params.APIErrorResponse
- func (o *CreateForgeInstanceDefault) IsClientError() bool
- func (o *CreateForgeInstanceDefault) IsCode(code int) bool
- func (o *CreateForgeInstanceDefault) IsRedirect() bool
- func (o *CreateForgeInstanceDefault) IsServerError() bool
- func (o *CreateForgeInstanceDefault) IsSuccess() bool
- func (o *CreateForgeInstanceDefault) String() string
- type CreateForgeInstanceOK
- func (o *CreateForgeInstanceOK) Code() int
- func (o *CreateForgeInstanceOK) Error() string
- func (o *CreateForgeInstanceOK) GetPayload() garm_params.ForgeInstance
- func (o *CreateForgeInstanceOK) IsClientError() bool
- func (o *CreateForgeInstanceOK) IsCode(code int) bool
- func (o *CreateForgeInstanceOK) IsRedirect() bool
- func (o *CreateForgeInstanceOK) IsServerError() bool
- func (o *CreateForgeInstanceOK) IsSuccess() bool
- func (o *CreateForgeInstanceOK) String() string
- type CreateForgeInstanceParams
- func NewCreateForgeInstanceParams() *CreateForgeInstanceParams
- func NewCreateForgeInstanceParamsWithContext(ctx context.Context) *CreateForgeInstanceParams
- func NewCreateForgeInstanceParamsWithHTTPClient(client *http.Client) *CreateForgeInstanceParams
- func NewCreateForgeInstanceParamsWithTimeout(timeout time.Duration) *CreateForgeInstanceParams
- func (o *CreateForgeInstanceParams) SetBody(body garm_params.CreateForgeInstanceParams)
- func (o *CreateForgeInstanceParams) SetContext(ctx context.Context)
- func (o *CreateForgeInstanceParams) SetDefaults()
- func (o *CreateForgeInstanceParams) SetHTTPClient(client *http.Client)
- func (o *CreateForgeInstanceParams) SetTimeout(timeout time.Duration)
- func (o *CreateForgeInstanceParams) WithBody(body garm_params.CreateForgeInstanceParams) *CreateForgeInstanceParams
- func (o *CreateForgeInstanceParams) WithContext(ctx context.Context) *CreateForgeInstanceParams
- func (o *CreateForgeInstanceParams) WithDefaults() *CreateForgeInstanceParams
- func (o *CreateForgeInstanceParams) WithHTTPClient(client *http.Client) *CreateForgeInstanceParams
- func (o *CreateForgeInstanceParams) WithTimeout(timeout time.Duration) *CreateForgeInstanceParams
- func (o *CreateForgeInstanceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateForgeInstancePoolDefault
- func (o *CreateForgeInstancePoolDefault) Code() int
- func (o *CreateForgeInstancePoolDefault) Error() string
- func (o *CreateForgeInstancePoolDefault) GetPayload() apiserver_params.APIErrorResponse
- func (o *CreateForgeInstancePoolDefault) IsClientError() bool
- func (o *CreateForgeInstancePoolDefault) IsCode(code int) bool
- func (o *CreateForgeInstancePoolDefault) IsRedirect() bool
- func (o *CreateForgeInstancePoolDefault) IsServerError() bool
- func (o *CreateForgeInstancePoolDefault) IsSuccess() bool
- func (o *CreateForgeInstancePoolDefault) String() string
- type CreateForgeInstancePoolOK
- func (o *CreateForgeInstancePoolOK) Code() int
- func (o *CreateForgeInstancePoolOK) Error() string
- func (o *CreateForgeInstancePoolOK) GetPayload() garm_params.Pool
- func (o *CreateForgeInstancePoolOK) IsClientError() bool
- func (o *CreateForgeInstancePoolOK) IsCode(code int) bool
- func (o *CreateForgeInstancePoolOK) IsRedirect() bool
- func (o *CreateForgeInstancePoolOK) IsServerError() bool
- func (o *CreateForgeInstancePoolOK) IsSuccess() bool
- func (o *CreateForgeInstancePoolOK) String() string
- type CreateForgeInstancePoolParams
- func NewCreateForgeInstancePoolParams() *CreateForgeInstancePoolParams
- func NewCreateForgeInstancePoolParamsWithContext(ctx context.Context) *CreateForgeInstancePoolParams
- func NewCreateForgeInstancePoolParamsWithHTTPClient(client *http.Client) *CreateForgeInstancePoolParams
- func NewCreateForgeInstancePoolParamsWithTimeout(timeout time.Duration) *CreateForgeInstancePoolParams
- func (o *CreateForgeInstancePoolParams) SetBody(body garm_params.CreatePoolParams)
- func (o *CreateForgeInstancePoolParams) SetContext(ctx context.Context)
- func (o *CreateForgeInstancePoolParams) SetDefaults()
- func (o *CreateForgeInstancePoolParams) SetForgeInstanceID(forgeInstanceID string)
- func (o *CreateForgeInstancePoolParams) SetHTTPClient(client *http.Client)
- func (o *CreateForgeInstancePoolParams) SetTimeout(timeout time.Duration)
- func (o *CreateForgeInstancePoolParams) WithBody(body garm_params.CreatePoolParams) *CreateForgeInstancePoolParams
- func (o *CreateForgeInstancePoolParams) WithContext(ctx context.Context) *CreateForgeInstancePoolParams
- func (o *CreateForgeInstancePoolParams) WithDefaults() *CreateForgeInstancePoolParams
- func (o *CreateForgeInstancePoolParams) WithForgeInstanceID(forgeInstanceID string) *CreateForgeInstancePoolParams
- func (o *CreateForgeInstancePoolParams) WithHTTPClient(client *http.Client) *CreateForgeInstancePoolParams
- func (o *CreateForgeInstancePoolParams) WithTimeout(timeout time.Duration) *CreateForgeInstancePoolParams
- func (o *CreateForgeInstancePoolParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateForgeInstancePoolReader
- type CreateForgeInstanceReader
- type DeleteForgeInstanceDefault
- func (o *DeleteForgeInstanceDefault) Code() int
- func (o *DeleteForgeInstanceDefault) Error() string
- func (o *DeleteForgeInstanceDefault) GetPayload() apiserver_params.APIErrorResponse
- func (o *DeleteForgeInstanceDefault) IsClientError() bool
- func (o *DeleteForgeInstanceDefault) IsCode(code int) bool
- func (o *DeleteForgeInstanceDefault) IsRedirect() bool
- func (o *DeleteForgeInstanceDefault) IsServerError() bool
- func (o *DeleteForgeInstanceDefault) IsSuccess() bool
- func (o *DeleteForgeInstanceDefault) String() string
- type DeleteForgeInstanceParams
- func NewDeleteForgeInstanceParams() *DeleteForgeInstanceParams
- func NewDeleteForgeInstanceParamsWithContext(ctx context.Context) *DeleteForgeInstanceParams
- func NewDeleteForgeInstanceParamsWithHTTPClient(client *http.Client) *DeleteForgeInstanceParams
- func NewDeleteForgeInstanceParamsWithTimeout(timeout time.Duration) *DeleteForgeInstanceParams
- func (o *DeleteForgeInstanceParams) SetContext(ctx context.Context)
- func (o *DeleteForgeInstanceParams) SetDefaults()
- func (o *DeleteForgeInstanceParams) SetForgeInstanceID(forgeInstanceID string)
- func (o *DeleteForgeInstanceParams) SetHTTPClient(client *http.Client)
- func (o *DeleteForgeInstanceParams) SetKeepWebhook(keepWebhook *bool)
- func (o *DeleteForgeInstanceParams) SetTimeout(timeout time.Duration)
- func (o *DeleteForgeInstanceParams) WithContext(ctx context.Context) *DeleteForgeInstanceParams
- func (o *DeleteForgeInstanceParams) WithDefaults() *DeleteForgeInstanceParams
- func (o *DeleteForgeInstanceParams) WithForgeInstanceID(forgeInstanceID string) *DeleteForgeInstanceParams
- func (o *DeleteForgeInstanceParams) WithHTTPClient(client *http.Client) *DeleteForgeInstanceParams
- func (o *DeleteForgeInstanceParams) WithKeepWebhook(keepWebhook *bool) *DeleteForgeInstanceParams
- func (o *DeleteForgeInstanceParams) WithTimeout(timeout time.Duration) *DeleteForgeInstanceParams
- func (o *DeleteForgeInstanceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteForgeInstancePoolDefault
- func (o *DeleteForgeInstancePoolDefault) Code() int
- func (o *DeleteForgeInstancePoolDefault) Error() string
- func (o *DeleteForgeInstancePoolDefault) GetPayload() apiserver_params.APIErrorResponse
- func (o *DeleteForgeInstancePoolDefault) IsClientError() bool
- func (o *DeleteForgeInstancePoolDefault) IsCode(code int) bool
- func (o *DeleteForgeInstancePoolDefault) IsRedirect() bool
- func (o *DeleteForgeInstancePoolDefault) IsServerError() bool
- func (o *DeleteForgeInstancePoolDefault) IsSuccess() bool
- func (o *DeleteForgeInstancePoolDefault) String() string
- type DeleteForgeInstancePoolParams
- func NewDeleteForgeInstancePoolParams() *DeleteForgeInstancePoolParams
- func NewDeleteForgeInstancePoolParamsWithContext(ctx context.Context) *DeleteForgeInstancePoolParams
- func NewDeleteForgeInstancePoolParamsWithHTTPClient(client *http.Client) *DeleteForgeInstancePoolParams
- func NewDeleteForgeInstancePoolParamsWithTimeout(timeout time.Duration) *DeleteForgeInstancePoolParams
- func (o *DeleteForgeInstancePoolParams) SetContext(ctx context.Context)
- func (o *DeleteForgeInstancePoolParams) SetDefaults()
- func (o *DeleteForgeInstancePoolParams) SetForgeInstanceID(forgeInstanceID string)
- func (o *DeleteForgeInstancePoolParams) SetHTTPClient(client *http.Client)
- func (o *DeleteForgeInstancePoolParams) SetPoolID(poolID string)
- func (o *DeleteForgeInstancePoolParams) SetTimeout(timeout time.Duration)
- func (o *DeleteForgeInstancePoolParams) WithContext(ctx context.Context) *DeleteForgeInstancePoolParams
- func (o *DeleteForgeInstancePoolParams) WithDefaults() *DeleteForgeInstancePoolParams
- func (o *DeleteForgeInstancePoolParams) WithForgeInstanceID(forgeInstanceID string) *DeleteForgeInstancePoolParams
- func (o *DeleteForgeInstancePoolParams) WithHTTPClient(client *http.Client) *DeleteForgeInstancePoolParams
- func (o *DeleteForgeInstancePoolParams) WithPoolID(poolID string) *DeleteForgeInstancePoolParams
- func (o *DeleteForgeInstancePoolParams) WithTimeout(timeout time.Duration) *DeleteForgeInstancePoolParams
- func (o *DeleteForgeInstancePoolParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteForgeInstancePoolReader
- type DeleteForgeInstanceReader
- type GetForgeInstanceDefault
- func (o *GetForgeInstanceDefault) Code() int
- func (o *GetForgeInstanceDefault) Error() string
- func (o *GetForgeInstanceDefault) GetPayload() apiserver_params.APIErrorResponse
- func (o *GetForgeInstanceDefault) IsClientError() bool
- func (o *GetForgeInstanceDefault) IsCode(code int) bool
- func (o *GetForgeInstanceDefault) IsRedirect() bool
- func (o *GetForgeInstanceDefault) IsServerError() bool
- func (o *GetForgeInstanceDefault) IsSuccess() bool
- func (o *GetForgeInstanceDefault) String() string
- type GetForgeInstanceOK
- func (o *GetForgeInstanceOK) Code() int
- func (o *GetForgeInstanceOK) Error() string
- func (o *GetForgeInstanceOK) GetPayload() garm_params.ForgeInstance
- func (o *GetForgeInstanceOK) IsClientError() bool
- func (o *GetForgeInstanceOK) IsCode(code int) bool
- func (o *GetForgeInstanceOK) IsRedirect() bool
- func (o *GetForgeInstanceOK) IsServerError() bool
- func (o *GetForgeInstanceOK) IsSuccess() bool
- func (o *GetForgeInstanceOK) String() string
- type GetForgeInstanceParams
- func NewGetForgeInstanceParams() *GetForgeInstanceParams
- func NewGetForgeInstanceParamsWithContext(ctx context.Context) *GetForgeInstanceParams
- func NewGetForgeInstanceParamsWithHTTPClient(client *http.Client) *GetForgeInstanceParams
- func NewGetForgeInstanceParamsWithTimeout(timeout time.Duration) *GetForgeInstanceParams
- func (o *GetForgeInstanceParams) SetContext(ctx context.Context)
- func (o *GetForgeInstanceParams) SetDefaults()
- func (o *GetForgeInstanceParams) SetForgeInstanceID(forgeInstanceID string)
- func (o *GetForgeInstanceParams) SetHTTPClient(client *http.Client)
- func (o *GetForgeInstanceParams) SetTimeout(timeout time.Duration)
- func (o *GetForgeInstanceParams) WithContext(ctx context.Context) *GetForgeInstanceParams
- func (o *GetForgeInstanceParams) WithDefaults() *GetForgeInstanceParams
- func (o *GetForgeInstanceParams) WithForgeInstanceID(forgeInstanceID string) *GetForgeInstanceParams
- func (o *GetForgeInstanceParams) WithHTTPClient(client *http.Client) *GetForgeInstanceParams
- func (o *GetForgeInstanceParams) WithTimeout(timeout time.Duration) *GetForgeInstanceParams
- func (o *GetForgeInstanceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetForgeInstancePoolDefault
- func (o *GetForgeInstancePoolDefault) Code() int
- func (o *GetForgeInstancePoolDefault) Error() string
- func (o *GetForgeInstancePoolDefault) GetPayload() apiserver_params.APIErrorResponse
- func (o *GetForgeInstancePoolDefault) IsClientError() bool
- func (o *GetForgeInstancePoolDefault) IsCode(code int) bool
- func (o *GetForgeInstancePoolDefault) IsRedirect() bool
- func (o *GetForgeInstancePoolDefault) IsServerError() bool
- func (o *GetForgeInstancePoolDefault) IsSuccess() bool
- func (o *GetForgeInstancePoolDefault) String() string
- type GetForgeInstancePoolOK
- func (o *GetForgeInstancePoolOK) Code() int
- func (o *GetForgeInstancePoolOK) Error() string
- func (o *GetForgeInstancePoolOK) GetPayload() garm_params.Pool
- func (o *GetForgeInstancePoolOK) IsClientError() bool
- func (o *GetForgeInstancePoolOK) IsCode(code int) bool
- func (o *GetForgeInstancePoolOK) IsRedirect() bool
- func (o *GetForgeInstancePoolOK) IsServerError() bool
- func (o *GetForgeInstancePoolOK) IsSuccess() bool
- func (o *GetForgeInstancePoolOK) String() string
- type GetForgeInstancePoolParams
- func NewGetForgeInstancePoolParams() *GetForgeInstancePoolParams
- func NewGetForgeInstancePoolParamsWithContext(ctx context.Context) *GetForgeInstancePoolParams
- func NewGetForgeInstancePoolParamsWithHTTPClient(client *http.Client) *GetForgeInstancePoolParams
- func NewGetForgeInstancePoolParamsWithTimeout(timeout time.Duration) *GetForgeInstancePoolParams
- func (o *GetForgeInstancePoolParams) SetContext(ctx context.Context)
- func (o *GetForgeInstancePoolParams) SetDefaults()
- func (o *GetForgeInstancePoolParams) SetForgeInstanceID(forgeInstanceID string)
- func (o *GetForgeInstancePoolParams) SetHTTPClient(client *http.Client)
- func (o *GetForgeInstancePoolParams) SetPoolID(poolID string)
- func (o *GetForgeInstancePoolParams) SetTimeout(timeout time.Duration)
- func (o *GetForgeInstancePoolParams) WithContext(ctx context.Context) *GetForgeInstancePoolParams
- func (o *GetForgeInstancePoolParams) WithDefaults() *GetForgeInstancePoolParams
- func (o *GetForgeInstancePoolParams) WithForgeInstanceID(forgeInstanceID string) *GetForgeInstancePoolParams
- func (o *GetForgeInstancePoolParams) WithHTTPClient(client *http.Client) *GetForgeInstancePoolParams
- func (o *GetForgeInstancePoolParams) WithPoolID(poolID string) *GetForgeInstancePoolParams
- func (o *GetForgeInstancePoolParams) WithTimeout(timeout time.Duration) *GetForgeInstancePoolParams
- func (o *GetForgeInstancePoolParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetForgeInstancePoolReader
- type GetForgeInstanceReader
- type GetForgeInstanceWebhookInfoDefault
- func (o *GetForgeInstanceWebhookInfoDefault) Code() int
- func (o *GetForgeInstanceWebhookInfoDefault) Error() string
- func (o *GetForgeInstanceWebhookInfoDefault) GetPayload() apiserver_params.APIErrorResponse
- func (o *GetForgeInstanceWebhookInfoDefault) IsClientError() bool
- func (o *GetForgeInstanceWebhookInfoDefault) IsCode(code int) bool
- func (o *GetForgeInstanceWebhookInfoDefault) IsRedirect() bool
- func (o *GetForgeInstanceWebhookInfoDefault) IsServerError() bool
- func (o *GetForgeInstanceWebhookInfoDefault) IsSuccess() bool
- func (o *GetForgeInstanceWebhookInfoDefault) String() string
- type GetForgeInstanceWebhookInfoOK
- func (o *GetForgeInstanceWebhookInfoOK) Code() int
- func (o *GetForgeInstanceWebhookInfoOK) Error() string
- func (o *GetForgeInstanceWebhookInfoOK) GetPayload() garm_params.HookInfo
- func (o *GetForgeInstanceWebhookInfoOK) IsClientError() bool
- func (o *GetForgeInstanceWebhookInfoOK) IsCode(code int) bool
- func (o *GetForgeInstanceWebhookInfoOK) IsRedirect() bool
- func (o *GetForgeInstanceWebhookInfoOK) IsServerError() bool
- func (o *GetForgeInstanceWebhookInfoOK) IsSuccess() bool
- func (o *GetForgeInstanceWebhookInfoOK) String() string
- type GetForgeInstanceWebhookInfoParams
- func NewGetForgeInstanceWebhookInfoParams() *GetForgeInstanceWebhookInfoParams
- func NewGetForgeInstanceWebhookInfoParamsWithContext(ctx context.Context) *GetForgeInstanceWebhookInfoParams
- func NewGetForgeInstanceWebhookInfoParamsWithHTTPClient(client *http.Client) *GetForgeInstanceWebhookInfoParams
- func NewGetForgeInstanceWebhookInfoParamsWithTimeout(timeout time.Duration) *GetForgeInstanceWebhookInfoParams
- func (o *GetForgeInstanceWebhookInfoParams) SetContext(ctx context.Context)
- func (o *GetForgeInstanceWebhookInfoParams) SetDefaults()
- func (o *GetForgeInstanceWebhookInfoParams) SetForgeInstanceID(forgeInstanceID string)
- func (o *GetForgeInstanceWebhookInfoParams) SetHTTPClient(client *http.Client)
- func (o *GetForgeInstanceWebhookInfoParams) SetTimeout(timeout time.Duration)
- func (o *GetForgeInstanceWebhookInfoParams) WithContext(ctx context.Context) *GetForgeInstanceWebhookInfoParams
- func (o *GetForgeInstanceWebhookInfoParams) WithDefaults() *GetForgeInstanceWebhookInfoParams
- func (o *GetForgeInstanceWebhookInfoParams) WithForgeInstanceID(forgeInstanceID string) *GetForgeInstanceWebhookInfoParams
- func (o *GetForgeInstanceWebhookInfoParams) WithHTTPClient(client *http.Client) *GetForgeInstanceWebhookInfoParams
- func (o *GetForgeInstanceWebhookInfoParams) WithTimeout(timeout time.Duration) *GetForgeInstanceWebhookInfoParams
- func (o *GetForgeInstanceWebhookInfoParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetForgeInstanceWebhookInfoReader
- type InstallForgeInstanceWebhookDefault
- func (o *InstallForgeInstanceWebhookDefault) Code() int
- func (o *InstallForgeInstanceWebhookDefault) Error() string
- func (o *InstallForgeInstanceWebhookDefault) GetPayload() apiserver_params.APIErrorResponse
- func (o *InstallForgeInstanceWebhookDefault) IsClientError() bool
- func (o *InstallForgeInstanceWebhookDefault) IsCode(code int) bool
- func (o *InstallForgeInstanceWebhookDefault) IsRedirect() bool
- func (o *InstallForgeInstanceWebhookDefault) IsServerError() bool
- func (o *InstallForgeInstanceWebhookDefault) IsSuccess() bool
- func (o *InstallForgeInstanceWebhookDefault) String() string
- type InstallForgeInstanceWebhookOK
- func (o *InstallForgeInstanceWebhookOK) Code() int
- func (o *InstallForgeInstanceWebhookOK) Error() string
- func (o *InstallForgeInstanceWebhookOK) GetPayload() garm_params.HookInfo
- func (o *InstallForgeInstanceWebhookOK) IsClientError() bool
- func (o *InstallForgeInstanceWebhookOK) IsCode(code int) bool
- func (o *InstallForgeInstanceWebhookOK) IsRedirect() bool
- func (o *InstallForgeInstanceWebhookOK) IsServerError() bool
- func (o *InstallForgeInstanceWebhookOK) IsSuccess() bool
- func (o *InstallForgeInstanceWebhookOK) String() string
- type InstallForgeInstanceWebhookParams
- func NewInstallForgeInstanceWebhookParams() *InstallForgeInstanceWebhookParams
- func NewInstallForgeInstanceWebhookParamsWithContext(ctx context.Context) *InstallForgeInstanceWebhookParams
- func NewInstallForgeInstanceWebhookParamsWithHTTPClient(client *http.Client) *InstallForgeInstanceWebhookParams
- func NewInstallForgeInstanceWebhookParamsWithTimeout(timeout time.Duration) *InstallForgeInstanceWebhookParams
- func (o *InstallForgeInstanceWebhookParams) SetBody(body garm_params.InstallWebhookParams)
- func (o *InstallForgeInstanceWebhookParams) SetContext(ctx context.Context)
- func (o *InstallForgeInstanceWebhookParams) SetDefaults()
- func (o *InstallForgeInstanceWebhookParams) SetForgeInstanceID(forgeInstanceID string)
- func (o *InstallForgeInstanceWebhookParams) SetHTTPClient(client *http.Client)
- func (o *InstallForgeInstanceWebhookParams) SetTimeout(timeout time.Duration)
- func (o *InstallForgeInstanceWebhookParams) WithBody(body garm_params.InstallWebhookParams) *InstallForgeInstanceWebhookParams
- func (o *InstallForgeInstanceWebhookParams) WithContext(ctx context.Context) *InstallForgeInstanceWebhookParams
- func (o *InstallForgeInstanceWebhookParams) WithDefaults() *InstallForgeInstanceWebhookParams
- func (o *InstallForgeInstanceWebhookParams) WithForgeInstanceID(forgeInstanceID string) *InstallForgeInstanceWebhookParams
- func (o *InstallForgeInstanceWebhookParams) WithHTTPClient(client *http.Client) *InstallForgeInstanceWebhookParams
- func (o *InstallForgeInstanceWebhookParams) WithTimeout(timeout time.Duration) *InstallForgeInstanceWebhookParams
- func (o *InstallForgeInstanceWebhookParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type InstallForgeInstanceWebhookReader
- type ListForgeInstanceInstancesDefault
- func (o *ListForgeInstanceInstancesDefault) Code() int
- func (o *ListForgeInstanceInstancesDefault) Error() string
- func (o *ListForgeInstanceInstancesDefault) GetPayload() apiserver_params.APIErrorResponse
- func (o *ListForgeInstanceInstancesDefault) IsClientError() bool
- func (o *ListForgeInstanceInstancesDefault) IsCode(code int) bool
- func (o *ListForgeInstanceInstancesDefault) IsRedirect() bool
- func (o *ListForgeInstanceInstancesDefault) IsServerError() bool
- func (o *ListForgeInstanceInstancesDefault) IsSuccess() bool
- func (o *ListForgeInstanceInstancesDefault) String() string
- type ListForgeInstanceInstancesOK
- func (o *ListForgeInstanceInstancesOK) Code() int
- func (o *ListForgeInstanceInstancesOK) Error() string
- func (o *ListForgeInstanceInstancesOK) GetPayload() garm_params.Instances
- func (o *ListForgeInstanceInstancesOK) IsClientError() bool
- func (o *ListForgeInstanceInstancesOK) IsCode(code int) bool
- func (o *ListForgeInstanceInstancesOK) IsRedirect() bool
- func (o *ListForgeInstanceInstancesOK) IsServerError() bool
- func (o *ListForgeInstanceInstancesOK) IsSuccess() bool
- func (o *ListForgeInstanceInstancesOK) String() string
- type ListForgeInstanceInstancesParams
- func NewListForgeInstanceInstancesParams() *ListForgeInstanceInstancesParams
- func NewListForgeInstanceInstancesParamsWithContext(ctx context.Context) *ListForgeInstanceInstancesParams
- func NewListForgeInstanceInstancesParamsWithHTTPClient(client *http.Client) *ListForgeInstanceInstancesParams
- func NewListForgeInstanceInstancesParamsWithTimeout(timeout time.Duration) *ListForgeInstanceInstancesParams
- func (o *ListForgeInstanceInstancesParams) SetContext(ctx context.Context)
- func (o *ListForgeInstanceInstancesParams) SetDefaults()
- func (o *ListForgeInstanceInstancesParams) SetForgeInstanceID(forgeInstanceID string)
- func (o *ListForgeInstanceInstancesParams) SetHTTPClient(client *http.Client)
- func (o *ListForgeInstanceInstancesParams) SetTimeout(timeout time.Duration)
- func (o *ListForgeInstanceInstancesParams) WithContext(ctx context.Context) *ListForgeInstanceInstancesParams
- func (o *ListForgeInstanceInstancesParams) WithDefaults() *ListForgeInstanceInstancesParams
- func (o *ListForgeInstanceInstancesParams) WithForgeInstanceID(forgeInstanceID string) *ListForgeInstanceInstancesParams
- func (o *ListForgeInstanceInstancesParams) WithHTTPClient(client *http.Client) *ListForgeInstanceInstancesParams
- func (o *ListForgeInstanceInstancesParams) WithTimeout(timeout time.Duration) *ListForgeInstanceInstancesParams
- func (o *ListForgeInstanceInstancesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListForgeInstanceInstancesReader
- type ListForgeInstancePoolsDefault
- func (o *ListForgeInstancePoolsDefault) Code() int
- func (o *ListForgeInstancePoolsDefault) Error() string
- func (o *ListForgeInstancePoolsDefault) GetPayload() apiserver_params.APIErrorResponse
- func (o *ListForgeInstancePoolsDefault) IsClientError() bool
- func (o *ListForgeInstancePoolsDefault) IsCode(code int) bool
- func (o *ListForgeInstancePoolsDefault) IsRedirect() bool
- func (o *ListForgeInstancePoolsDefault) IsServerError() bool
- func (o *ListForgeInstancePoolsDefault) IsSuccess() bool
- func (o *ListForgeInstancePoolsDefault) String() string
- type ListForgeInstancePoolsOK
- func (o *ListForgeInstancePoolsOK) Code() int
- func (o *ListForgeInstancePoolsOK) Error() string
- func (o *ListForgeInstancePoolsOK) GetPayload() garm_params.Pools
- func (o *ListForgeInstancePoolsOK) IsClientError() bool
- func (o *ListForgeInstancePoolsOK) IsCode(code int) bool
- func (o *ListForgeInstancePoolsOK) IsRedirect() bool
- func (o *ListForgeInstancePoolsOK) IsServerError() bool
- func (o *ListForgeInstancePoolsOK) IsSuccess() bool
- func (o *ListForgeInstancePoolsOK) String() string
- type ListForgeInstancePoolsParams
- func NewListForgeInstancePoolsParams() *ListForgeInstancePoolsParams
- func NewListForgeInstancePoolsParamsWithContext(ctx context.Context) *ListForgeInstancePoolsParams
- func NewListForgeInstancePoolsParamsWithHTTPClient(client *http.Client) *ListForgeInstancePoolsParams
- func NewListForgeInstancePoolsParamsWithTimeout(timeout time.Duration) *ListForgeInstancePoolsParams
- func (o *ListForgeInstancePoolsParams) SetContext(ctx context.Context)
- func (o *ListForgeInstancePoolsParams) SetDefaults()
- func (o *ListForgeInstancePoolsParams) SetForgeInstanceID(forgeInstanceID string)
- func (o *ListForgeInstancePoolsParams) SetHTTPClient(client *http.Client)
- func (o *ListForgeInstancePoolsParams) SetTimeout(timeout time.Duration)
- func (o *ListForgeInstancePoolsParams) WithContext(ctx context.Context) *ListForgeInstancePoolsParams
- func (o *ListForgeInstancePoolsParams) WithDefaults() *ListForgeInstancePoolsParams
- func (o *ListForgeInstancePoolsParams) WithForgeInstanceID(forgeInstanceID string) *ListForgeInstancePoolsParams
- func (o *ListForgeInstancePoolsParams) WithHTTPClient(client *http.Client) *ListForgeInstancePoolsParams
- func (o *ListForgeInstancePoolsParams) WithTimeout(timeout time.Duration) *ListForgeInstancePoolsParams
- func (o *ListForgeInstancePoolsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListForgeInstancePoolsReader
- type ListForgeInstancesDefault
- func (o *ListForgeInstancesDefault) Code() int
- func (o *ListForgeInstancesDefault) Error() string
- func (o *ListForgeInstancesDefault) GetPayload() apiserver_params.APIErrorResponse
- func (o *ListForgeInstancesDefault) IsClientError() bool
- func (o *ListForgeInstancesDefault) IsCode(code int) bool
- func (o *ListForgeInstancesDefault) IsRedirect() bool
- func (o *ListForgeInstancesDefault) IsServerError() bool
- func (o *ListForgeInstancesDefault) IsSuccess() bool
- func (o *ListForgeInstancesDefault) String() string
- type ListForgeInstancesOK
- func (o *ListForgeInstancesOK) Code() int
- func (o *ListForgeInstancesOK) Error() string
- func (o *ListForgeInstancesOK) GetPayload() garm_params.ForgeInstances
- func (o *ListForgeInstancesOK) IsClientError() bool
- func (o *ListForgeInstancesOK) IsCode(code int) bool
- func (o *ListForgeInstancesOK) IsRedirect() bool
- func (o *ListForgeInstancesOK) IsServerError() bool
- func (o *ListForgeInstancesOK) IsSuccess() bool
- func (o *ListForgeInstancesOK) String() string
- type ListForgeInstancesParams
- func NewListForgeInstancesParams() *ListForgeInstancesParams
- func NewListForgeInstancesParamsWithContext(ctx context.Context) *ListForgeInstancesParams
- func NewListForgeInstancesParamsWithHTTPClient(client *http.Client) *ListForgeInstancesParams
- func NewListForgeInstancesParamsWithTimeout(timeout time.Duration) *ListForgeInstancesParams
- func (o *ListForgeInstancesParams) SetContext(ctx context.Context)
- func (o *ListForgeInstancesParams) SetDefaults()
- func (o *ListForgeInstancesParams) SetEndpoint(endpoint *string)
- func (o *ListForgeInstancesParams) SetHTTPClient(client *http.Client)
- func (o *ListForgeInstancesParams) SetTimeout(timeout time.Duration)
- func (o *ListForgeInstancesParams) WithContext(ctx context.Context) *ListForgeInstancesParams
- func (o *ListForgeInstancesParams) WithDefaults() *ListForgeInstancesParams
- func (o *ListForgeInstancesParams) WithEndpoint(endpoint *string) *ListForgeInstancesParams
- func (o *ListForgeInstancesParams) WithHTTPClient(client *http.Client) *ListForgeInstancesParams
- func (o *ListForgeInstancesParams) WithTimeout(timeout time.Duration) *ListForgeInstancesParams
- func (o *ListForgeInstancesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListForgeInstancesReader
- type UninstallForgeInstanceWebhookDefault
- func (o *UninstallForgeInstanceWebhookDefault) Code() int
- func (o *UninstallForgeInstanceWebhookDefault) Error() string
- func (o *UninstallForgeInstanceWebhookDefault) GetPayload() apiserver_params.APIErrorResponse
- func (o *UninstallForgeInstanceWebhookDefault) IsClientError() bool
- func (o *UninstallForgeInstanceWebhookDefault) IsCode(code int) bool
- func (o *UninstallForgeInstanceWebhookDefault) IsRedirect() bool
- func (o *UninstallForgeInstanceWebhookDefault) IsServerError() bool
- func (o *UninstallForgeInstanceWebhookDefault) IsSuccess() bool
- func (o *UninstallForgeInstanceWebhookDefault) String() string
- type UninstallForgeInstanceWebhookParams
- func NewUninstallForgeInstanceWebhookParams() *UninstallForgeInstanceWebhookParams
- func NewUninstallForgeInstanceWebhookParamsWithContext(ctx context.Context) *UninstallForgeInstanceWebhookParams
- func NewUninstallForgeInstanceWebhookParamsWithHTTPClient(client *http.Client) *UninstallForgeInstanceWebhookParams
- func NewUninstallForgeInstanceWebhookParamsWithTimeout(timeout time.Duration) *UninstallForgeInstanceWebhookParams
- func (o *UninstallForgeInstanceWebhookParams) SetContext(ctx context.Context)
- func (o *UninstallForgeInstanceWebhookParams) SetDefaults()
- func (o *UninstallForgeInstanceWebhookParams) SetForgeInstanceID(forgeInstanceID string)
- func (o *UninstallForgeInstanceWebhookParams) SetHTTPClient(client *http.Client)
- func (o *UninstallForgeInstanceWebhookParams) SetTimeout(timeout time.Duration)
- func (o *UninstallForgeInstanceWebhookParams) WithContext(ctx context.Context) *UninstallForgeInstanceWebhookParams
- func (o *UninstallForgeInstanceWebhookParams) WithDefaults() *UninstallForgeInstanceWebhookParams
- func (o *UninstallForgeInstanceWebhookParams) WithForgeInstanceID(forgeInstanceID string) *UninstallForgeInstanceWebhookParams
- func (o *UninstallForgeInstanceWebhookParams) WithHTTPClient(client *http.Client) *UninstallForgeInstanceWebhookParams
- func (o *UninstallForgeInstanceWebhookParams) WithTimeout(timeout time.Duration) *UninstallForgeInstanceWebhookParams
- func (o *UninstallForgeInstanceWebhookParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UninstallForgeInstanceWebhookReader
- type UpdateForgeInstanceDefault
- func (o *UpdateForgeInstanceDefault) Code() int
- func (o *UpdateForgeInstanceDefault) Error() string
- func (o *UpdateForgeInstanceDefault) GetPayload() apiserver_params.APIErrorResponse
- func (o *UpdateForgeInstanceDefault) IsClientError() bool
- func (o *UpdateForgeInstanceDefault) IsCode(code int) bool
- func (o *UpdateForgeInstanceDefault) IsRedirect() bool
- func (o *UpdateForgeInstanceDefault) IsServerError() bool
- func (o *UpdateForgeInstanceDefault) IsSuccess() bool
- func (o *UpdateForgeInstanceDefault) String() string
- type UpdateForgeInstanceOK
- func (o *UpdateForgeInstanceOK) Code() int
- func (o *UpdateForgeInstanceOK) Error() string
- func (o *UpdateForgeInstanceOK) GetPayload() garm_params.ForgeInstance
- func (o *UpdateForgeInstanceOK) IsClientError() bool
- func (o *UpdateForgeInstanceOK) IsCode(code int) bool
- func (o *UpdateForgeInstanceOK) IsRedirect() bool
- func (o *UpdateForgeInstanceOK) IsServerError() bool
- func (o *UpdateForgeInstanceOK) IsSuccess() bool
- func (o *UpdateForgeInstanceOK) String() string
- type UpdateForgeInstanceParams
- func NewUpdateForgeInstanceParams() *UpdateForgeInstanceParams
- func NewUpdateForgeInstanceParamsWithContext(ctx context.Context) *UpdateForgeInstanceParams
- func NewUpdateForgeInstanceParamsWithHTTPClient(client *http.Client) *UpdateForgeInstanceParams
- func NewUpdateForgeInstanceParamsWithTimeout(timeout time.Duration) *UpdateForgeInstanceParams
- func (o *UpdateForgeInstanceParams) SetBody(body garm_params.UpdateEntityParams)
- func (o *UpdateForgeInstanceParams) SetContext(ctx context.Context)
- func (o *UpdateForgeInstanceParams) SetDefaults()
- func (o *UpdateForgeInstanceParams) SetForgeInstanceID(forgeInstanceID string)
- func (o *UpdateForgeInstanceParams) SetHTTPClient(client *http.Client)
- func (o *UpdateForgeInstanceParams) SetTimeout(timeout time.Duration)
- func (o *UpdateForgeInstanceParams) WithBody(body garm_params.UpdateEntityParams) *UpdateForgeInstanceParams
- func (o *UpdateForgeInstanceParams) WithContext(ctx context.Context) *UpdateForgeInstanceParams
- func (o *UpdateForgeInstanceParams) WithDefaults() *UpdateForgeInstanceParams
- func (o *UpdateForgeInstanceParams) WithForgeInstanceID(forgeInstanceID string) *UpdateForgeInstanceParams
- func (o *UpdateForgeInstanceParams) WithHTTPClient(client *http.Client) *UpdateForgeInstanceParams
- func (o *UpdateForgeInstanceParams) WithTimeout(timeout time.Duration) *UpdateForgeInstanceParams
- func (o *UpdateForgeInstanceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateForgeInstancePoolDefault
- func (o *UpdateForgeInstancePoolDefault) Code() int
- func (o *UpdateForgeInstancePoolDefault) Error() string
- func (o *UpdateForgeInstancePoolDefault) GetPayload() apiserver_params.APIErrorResponse
- func (o *UpdateForgeInstancePoolDefault) IsClientError() bool
- func (o *UpdateForgeInstancePoolDefault) IsCode(code int) bool
- func (o *UpdateForgeInstancePoolDefault) IsRedirect() bool
- func (o *UpdateForgeInstancePoolDefault) IsServerError() bool
- func (o *UpdateForgeInstancePoolDefault) IsSuccess() bool
- func (o *UpdateForgeInstancePoolDefault) String() string
- type UpdateForgeInstancePoolOK
- func (o *UpdateForgeInstancePoolOK) Code() int
- func (o *UpdateForgeInstancePoolOK) Error() string
- func (o *UpdateForgeInstancePoolOK) GetPayload() garm_params.Pool
- func (o *UpdateForgeInstancePoolOK) IsClientError() bool
- func (o *UpdateForgeInstancePoolOK) IsCode(code int) bool
- func (o *UpdateForgeInstancePoolOK) IsRedirect() bool
- func (o *UpdateForgeInstancePoolOK) IsServerError() bool
- func (o *UpdateForgeInstancePoolOK) IsSuccess() bool
- func (o *UpdateForgeInstancePoolOK) String() string
- type UpdateForgeInstancePoolParams
- func NewUpdateForgeInstancePoolParams() *UpdateForgeInstancePoolParams
- func NewUpdateForgeInstancePoolParamsWithContext(ctx context.Context) *UpdateForgeInstancePoolParams
- func NewUpdateForgeInstancePoolParamsWithHTTPClient(client *http.Client) *UpdateForgeInstancePoolParams
- func NewUpdateForgeInstancePoolParamsWithTimeout(timeout time.Duration) *UpdateForgeInstancePoolParams
- func (o *UpdateForgeInstancePoolParams) SetBody(body garm_params.UpdatePoolParams)
- func (o *UpdateForgeInstancePoolParams) SetContext(ctx context.Context)
- func (o *UpdateForgeInstancePoolParams) SetDefaults()
- func (o *UpdateForgeInstancePoolParams) SetForgeInstanceID(forgeInstanceID string)
- func (o *UpdateForgeInstancePoolParams) SetHTTPClient(client *http.Client)
- func (o *UpdateForgeInstancePoolParams) SetPoolID(poolID string)
- func (o *UpdateForgeInstancePoolParams) SetTimeout(timeout time.Duration)
- func (o *UpdateForgeInstancePoolParams) WithBody(body garm_params.UpdatePoolParams) *UpdateForgeInstancePoolParams
- func (o *UpdateForgeInstancePoolParams) WithContext(ctx context.Context) *UpdateForgeInstancePoolParams
- func (o *UpdateForgeInstancePoolParams) WithDefaults() *UpdateForgeInstancePoolParams
- func (o *UpdateForgeInstancePoolParams) WithForgeInstanceID(forgeInstanceID string) *UpdateForgeInstancePoolParams
- func (o *UpdateForgeInstancePoolParams) WithHTTPClient(client *http.Client) *UpdateForgeInstancePoolParams
- func (o *UpdateForgeInstancePoolParams) WithPoolID(poolID string) *UpdateForgeInstancePoolParams
- func (o *UpdateForgeInstancePoolParams) WithTimeout(timeout time.Duration) *UpdateForgeInstancePoolParams
- func (o *UpdateForgeInstancePoolParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateForgeInstancePoolReader
- type UpdateForgeInstanceReader
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 (o *CreateForgeInstanceDefault) Error() string
func (*CreateForgeInstanceDefault) GetPayload ¶
func (o *CreateForgeInstanceDefault) GetPayload() apiserver_params.APIErrorResponse
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 (o *CreateForgeInstanceOK) GetPayload() garm_params.ForgeInstance
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 ¶
func (o *CreateForgeInstanceParams) SetBody(body garm_params.CreateForgeInstanceParams)
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 ¶
func (o *CreateForgeInstanceParams) WithBody(body garm_params.CreateForgeInstanceParams) *CreateForgeInstanceParams
WithBody adds the body to the create forge instance params
func (*CreateForgeInstanceParams) WithContext ¶
func (o *CreateForgeInstanceParams) WithContext(ctx context.Context) *CreateForgeInstanceParams
WithContext adds the context to the create forge instance params
func (*CreateForgeInstanceParams) WithDefaults ¶
func (o *CreateForgeInstanceParams) WithDefaults() *CreateForgeInstanceParams
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 ¶
func (o *CreateForgeInstanceParams) WithTimeout(timeout time.Duration) *CreateForgeInstanceParams
WithTimeout adds the timeout to the create forge instance params
func (*CreateForgeInstanceParams) WriteToRequest ¶
func (o *CreateForgeInstanceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *CreateForgeInstancePoolDefault) Code() int
Code gets the status code for the create forge instance pool default response
func (*CreateForgeInstancePoolDefault) Error ¶
func (o *CreateForgeInstancePoolDefault) Error() string
func (*CreateForgeInstancePoolDefault) GetPayload ¶
func (o *CreateForgeInstancePoolDefault) GetPayload() apiserver_params.APIErrorResponse
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 ¶
func (o *CreateForgeInstancePoolDefault) String() 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 ¶
func (o *CreateForgeInstancePoolParams) SetBody(body garm_params.CreatePoolParams)
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 ¶
func (o *CreateForgeInstancePoolParams) WithBody(body garm_params.CreatePoolParams) *CreateForgeInstancePoolParams
WithBody adds the body to the create forge instance pool params
func (*CreateForgeInstancePoolParams) WithContext ¶
func (o *CreateForgeInstancePoolParams) WithContext(ctx context.Context) *CreateForgeInstancePoolParams
WithContext adds the context to the create forge instance pool params
func (*CreateForgeInstancePoolParams) WithDefaults ¶
func (o *CreateForgeInstancePoolParams) WithDefaults() *CreateForgeInstancePoolParams
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 ¶
func (o *CreateForgeInstancePoolParams) WithHTTPClient(client *http.Client) *CreateForgeInstancePoolParams
WithHTTPClient adds the HTTPClient to the create forge instance pool params
func (*CreateForgeInstancePoolParams) WithTimeout ¶
func (o *CreateForgeInstancePoolParams) WithTimeout(timeout time.Duration) *CreateForgeInstancePoolParams
WithTimeout adds the timeout to the create forge instance pool params
func (*CreateForgeInstancePoolParams) WriteToRequest ¶
func (o *CreateForgeInstancePoolParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *DeleteForgeInstanceDefault) Error() string
func (*DeleteForgeInstanceDefault) GetPayload ¶
func (o *DeleteForgeInstanceDefault) GetPayload() apiserver_params.APIErrorResponse
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 ¶
func (o *DeleteForgeInstanceParams) WithContext(ctx context.Context) *DeleteForgeInstanceParams
WithContext adds the context to the delete forge instance params
func (*DeleteForgeInstanceParams) WithDefaults ¶
func (o *DeleteForgeInstanceParams) WithDefaults() *DeleteForgeInstanceParams
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 ¶
func (o *DeleteForgeInstanceParams) WithTimeout(timeout time.Duration) *DeleteForgeInstanceParams
WithTimeout adds the timeout to the delete forge instance params
func (*DeleteForgeInstanceParams) WriteToRequest ¶
func (o *DeleteForgeInstanceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *DeleteForgeInstancePoolDefault) Code() int
Code gets the status code for the delete forge instance pool default response
func (*DeleteForgeInstancePoolDefault) Error ¶
func (o *DeleteForgeInstancePoolDefault) Error() string
func (*DeleteForgeInstancePoolDefault) GetPayload ¶
func (o *DeleteForgeInstancePoolDefault) GetPayload() apiserver_params.APIErrorResponse
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 ¶
func (o *DeleteForgeInstancePoolDefault) String() 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 ¶
func (o *DeleteForgeInstancePoolParams) WithContext(ctx context.Context) *DeleteForgeInstancePoolParams
WithContext adds the context to the delete forge instance pool params
func (*DeleteForgeInstancePoolParams) WithDefaults ¶
func (o *DeleteForgeInstancePoolParams) WithDefaults() *DeleteForgeInstancePoolParams
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 ¶
func (o *DeleteForgeInstancePoolParams) WithHTTPClient(client *http.Client) *DeleteForgeInstancePoolParams
WithHTTPClient adds the HTTPClient to the delete forge instance pool params
func (*DeleteForgeInstancePoolParams) WithPoolID ¶
func (o *DeleteForgeInstancePoolParams) WithPoolID(poolID string) *DeleteForgeInstancePoolParams
WithPoolID adds the poolID to the delete forge instance pool params
func (*DeleteForgeInstancePoolParams) WithTimeout ¶
func (o *DeleteForgeInstancePoolParams) WithTimeout(timeout time.Duration) *DeleteForgeInstancePoolParams
WithTimeout adds the timeout to the delete forge instance pool params
func (*DeleteForgeInstancePoolParams) WriteToRequest ¶
func (o *DeleteForgeInstancePoolParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *GetForgeInstanceDefault) GetPayload() apiserver_params.APIErrorResponse
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 (o *GetForgeInstanceOK) GetPayload() garm_params.ForgeInstance
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 ¶
func (o *GetForgeInstanceParams) WithContext(ctx context.Context) *GetForgeInstanceParams
WithContext adds the context to the get forge instance params
func (*GetForgeInstanceParams) WithDefaults ¶
func (o *GetForgeInstanceParams) WithDefaults() *GetForgeInstanceParams
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 ¶
func (o *GetForgeInstanceParams) WithTimeout(timeout time.Duration) *GetForgeInstanceParams
WithTimeout adds the timeout to the get forge instance params
func (*GetForgeInstanceParams) WriteToRequest ¶
func (o *GetForgeInstanceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *GetForgeInstancePoolDefault) Error() string
func (*GetForgeInstancePoolDefault) GetPayload ¶
func (o *GetForgeInstancePoolDefault) GetPayload() apiserver_params.APIErrorResponse
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 ¶
func (o *GetForgeInstancePoolParams) WithContext(ctx context.Context) *GetForgeInstancePoolParams
WithContext adds the context to the get forge instance pool params
func (*GetForgeInstancePoolParams) WithDefaults ¶
func (o *GetForgeInstancePoolParams) WithDefaults() *GetForgeInstancePoolParams
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 ¶
func (o *GetForgeInstancePoolParams) WithHTTPClient(client *http.Client) *GetForgeInstancePoolParams
WithHTTPClient adds the HTTPClient to the get forge instance pool params
func (*GetForgeInstancePoolParams) WithPoolID ¶
func (o *GetForgeInstancePoolParams) WithPoolID(poolID string) *GetForgeInstancePoolParams
WithPoolID adds the poolID to the get forge instance pool params
func (*GetForgeInstancePoolParams) WithTimeout ¶
func (o *GetForgeInstancePoolParams) WithTimeout(timeout time.Duration) *GetForgeInstancePoolParams
WithTimeout adds the timeout to the get forge instance pool params
func (*GetForgeInstancePoolParams) WriteToRequest ¶
func (o *GetForgeInstancePoolParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *GetForgeInstanceWebhookInfoDefault) Code() int
Code gets the status code for the get forge instance webhook info default response
func (*GetForgeInstanceWebhookInfoDefault) Error ¶
func (o *GetForgeInstanceWebhookInfoDefault) Error() string
func (*GetForgeInstanceWebhookInfoDefault) GetPayload ¶
func (o *GetForgeInstanceWebhookInfoDefault) GetPayload() apiserver_params.APIErrorResponse
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 ¶
func (o *GetForgeInstanceWebhookInfoDefault) IsCode(code int) bool
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 ¶
func (o *GetForgeInstanceWebhookInfoDefault) IsSuccess() bool
IsSuccess returns true when this get forge instance webhook info default response has a 2xx status code
func (*GetForgeInstanceWebhookInfoDefault) String ¶
func (o *GetForgeInstanceWebhookInfoDefault) String() 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 ¶
func (o *GetForgeInstanceWebhookInfoOK) Code() int
Code gets the status code for the get forge instance webhook info o k response
func (*GetForgeInstanceWebhookInfoOK) Error ¶
func (o *GetForgeInstanceWebhookInfoOK) Error() string
func (*GetForgeInstanceWebhookInfoOK) GetPayload ¶
func (o *GetForgeInstanceWebhookInfoOK) GetPayload() garm_params.HookInfo
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 ¶
func (o *GetForgeInstanceWebhookInfoOK) String() 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 ¶
func (o *GetForgeInstanceWebhookInfoParams) SetContext(ctx context.Context)
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 ¶
func (o *GetForgeInstanceWebhookInfoParams) WithContext(ctx context.Context) *GetForgeInstanceWebhookInfoParams
WithContext adds the context to the get forge instance webhook info params
func (*GetForgeInstanceWebhookInfoParams) WithDefaults ¶
func (o *GetForgeInstanceWebhookInfoParams) WithDefaults() *GetForgeInstanceWebhookInfoParams
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 ¶
func (o *GetForgeInstanceWebhookInfoParams) WithHTTPClient(client *http.Client) *GetForgeInstanceWebhookInfoParams
WithHTTPClient adds the HTTPClient to the get forge instance webhook info params
func (*GetForgeInstanceWebhookInfoParams) WithTimeout ¶
func (o *GetForgeInstanceWebhookInfoParams) WithTimeout(timeout time.Duration) *GetForgeInstanceWebhookInfoParams
WithTimeout adds the timeout to the get forge instance webhook info params
func (*GetForgeInstanceWebhookInfoParams) WriteToRequest ¶
func (o *GetForgeInstanceWebhookInfoParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *InstallForgeInstanceWebhookDefault) Code() int
Code gets the status code for the install forge instance webhook default response
func (*InstallForgeInstanceWebhookDefault) Error ¶
func (o *InstallForgeInstanceWebhookDefault) Error() string
func (*InstallForgeInstanceWebhookDefault) GetPayload ¶
func (o *InstallForgeInstanceWebhookDefault) GetPayload() apiserver_params.APIErrorResponse
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 ¶
func (o *InstallForgeInstanceWebhookDefault) IsCode(code int) bool
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 ¶
func (o *InstallForgeInstanceWebhookDefault) IsSuccess() bool
IsSuccess returns true when this install forge instance webhook default response has a 2xx status code
func (*InstallForgeInstanceWebhookDefault) String ¶
func (o *InstallForgeInstanceWebhookDefault) String() 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 ¶
func (o *InstallForgeInstanceWebhookOK) Code() int
Code gets the status code for the install forge instance webhook o k response
func (*InstallForgeInstanceWebhookOK) Error ¶
func (o *InstallForgeInstanceWebhookOK) Error() string
func (*InstallForgeInstanceWebhookOK) GetPayload ¶
func (o *InstallForgeInstanceWebhookOK) GetPayload() garm_params.HookInfo
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 ¶
func (o *InstallForgeInstanceWebhookOK) String() 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 ¶
func (o *InstallForgeInstanceWebhookParams) SetBody(body garm_params.InstallWebhookParams)
SetBody adds the body to the install forge instance webhook params
func (*InstallForgeInstanceWebhookParams) SetContext ¶
func (o *InstallForgeInstanceWebhookParams) SetContext(ctx context.Context)
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 ¶
func (o *InstallForgeInstanceWebhookParams) WithBody(body garm_params.InstallWebhookParams) *InstallForgeInstanceWebhookParams
WithBody adds the body to the install forge instance webhook params
func (*InstallForgeInstanceWebhookParams) WithContext ¶
func (o *InstallForgeInstanceWebhookParams) WithContext(ctx context.Context) *InstallForgeInstanceWebhookParams
WithContext adds the context to the install forge instance webhook params
func (*InstallForgeInstanceWebhookParams) WithDefaults ¶
func (o *InstallForgeInstanceWebhookParams) WithDefaults() *InstallForgeInstanceWebhookParams
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 ¶
func (o *InstallForgeInstanceWebhookParams) WithHTTPClient(client *http.Client) *InstallForgeInstanceWebhookParams
WithHTTPClient adds the HTTPClient to the install forge instance webhook params
func (*InstallForgeInstanceWebhookParams) WithTimeout ¶
func (o *InstallForgeInstanceWebhookParams) WithTimeout(timeout time.Duration) *InstallForgeInstanceWebhookParams
WithTimeout adds the timeout to the install forge instance webhook params
func (*InstallForgeInstanceWebhookParams) WriteToRequest ¶
func (o *InstallForgeInstanceWebhookParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *ListForgeInstanceInstancesDefault) Code() int
Code gets the status code for the list forge instance instances default response
func (*ListForgeInstanceInstancesDefault) Error ¶
func (o *ListForgeInstanceInstancesDefault) Error() string
func (*ListForgeInstanceInstancesDefault) GetPayload ¶
func (o *ListForgeInstanceInstancesDefault) GetPayload() apiserver_params.APIErrorResponse
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 ¶
func (o *ListForgeInstanceInstancesDefault) String() 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 ¶
func (o *ListForgeInstanceInstancesOK) Code() int
Code gets the status code for the list forge instance instances o k response
func (*ListForgeInstanceInstancesOK) Error ¶
func (o *ListForgeInstanceInstancesOK) Error() string
func (*ListForgeInstanceInstancesOK) GetPayload ¶
func (o *ListForgeInstanceInstancesOK) GetPayload() garm_params.Instances
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 ¶
func (o *ListForgeInstanceInstancesOK) String() 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 ¶
func (o *ListForgeInstanceInstancesParams) SetContext(ctx context.Context)
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 ¶
func (o *ListForgeInstanceInstancesParams) WithContext(ctx context.Context) *ListForgeInstanceInstancesParams
WithContext adds the context to the list forge instance instances params
func (*ListForgeInstanceInstancesParams) WithDefaults ¶
func (o *ListForgeInstanceInstancesParams) WithDefaults() *ListForgeInstanceInstancesParams
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 ¶
func (o *ListForgeInstanceInstancesParams) WithHTTPClient(client *http.Client) *ListForgeInstanceInstancesParams
WithHTTPClient adds the HTTPClient to the list forge instance instances params
func (*ListForgeInstanceInstancesParams) WithTimeout ¶
func (o *ListForgeInstanceInstancesParams) WithTimeout(timeout time.Duration) *ListForgeInstanceInstancesParams
WithTimeout adds the timeout to the list forge instance instances params
func (*ListForgeInstanceInstancesParams) WriteToRequest ¶
func (o *ListForgeInstanceInstancesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *ListForgeInstancePoolsDefault) Code() int
Code gets the status code for the list forge instance pools default response
func (*ListForgeInstancePoolsDefault) Error ¶
func (o *ListForgeInstancePoolsDefault) Error() string
func (*ListForgeInstancePoolsDefault) GetPayload ¶
func (o *ListForgeInstancePoolsDefault) GetPayload() apiserver_params.APIErrorResponse
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 ¶
func (o *ListForgeInstancePoolsDefault) String() 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 ¶
func (o *ListForgeInstancePoolsParams) WithContext(ctx context.Context) *ListForgeInstancePoolsParams
WithContext adds the context to the list forge instance pools params
func (*ListForgeInstancePoolsParams) WithDefaults ¶
func (o *ListForgeInstancePoolsParams) WithDefaults() *ListForgeInstancePoolsParams
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 ¶
func (o *ListForgeInstancePoolsParams) WithHTTPClient(client *http.Client) *ListForgeInstancePoolsParams
WithHTTPClient adds the HTTPClient to the list forge instance pools params
func (*ListForgeInstancePoolsParams) WithTimeout ¶
func (o *ListForgeInstancePoolsParams) WithTimeout(timeout time.Duration) *ListForgeInstancePoolsParams
WithTimeout adds the timeout to the list forge instance pools params
func (*ListForgeInstancePoolsParams) WriteToRequest ¶
func (o *ListForgeInstancePoolsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *ListForgeInstancesDefault) GetPayload() apiserver_params.APIErrorResponse
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 (o *ListForgeInstancesOK) GetPayload() garm_params.ForgeInstances
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 ¶
func (o *ListForgeInstancesParams) WithContext(ctx context.Context) *ListForgeInstancesParams
WithContext adds the context to the list forge instances params
func (*ListForgeInstancesParams) WithDefaults ¶
func (o *ListForgeInstancesParams) WithDefaults() *ListForgeInstancesParams
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 ¶
func (o *ListForgeInstancesParams) WithTimeout(timeout time.Duration) *ListForgeInstancesParams
WithTimeout adds the timeout to the list forge instances params
func (*ListForgeInstancesParams) WriteToRequest ¶
func (o *ListForgeInstancesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *UninstallForgeInstanceWebhookDefault) Code() int
Code gets the status code for the uninstall forge instance webhook default response
func (*UninstallForgeInstanceWebhookDefault) Error ¶
func (o *UninstallForgeInstanceWebhookDefault) Error() string
func (*UninstallForgeInstanceWebhookDefault) GetPayload ¶
func (o *UninstallForgeInstanceWebhookDefault) GetPayload() apiserver_params.APIErrorResponse
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 ¶
func (o *UninstallForgeInstanceWebhookDefault) IsCode(code int) bool
IsCode returns true when this uninstall forge instance webhook default response a status code equal to that given
func (*UninstallForgeInstanceWebhookDefault) IsRedirect ¶
func (o *UninstallForgeInstanceWebhookDefault) IsRedirect() bool
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 ¶
func (o *UninstallForgeInstanceWebhookDefault) IsSuccess() bool
IsSuccess returns true when this uninstall forge instance webhook default response has a 2xx status code
func (*UninstallForgeInstanceWebhookDefault) String ¶
func (o *UninstallForgeInstanceWebhookDefault) String() 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 ¶
func (o *UninstallForgeInstanceWebhookParams) SetContext(ctx context.Context)
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 ¶
func (o *UninstallForgeInstanceWebhookParams) WithContext(ctx context.Context) *UninstallForgeInstanceWebhookParams
WithContext adds the context to the uninstall forge instance webhook params
func (*UninstallForgeInstanceWebhookParams) WithDefaults ¶
func (o *UninstallForgeInstanceWebhookParams) WithDefaults() *UninstallForgeInstanceWebhookParams
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 ¶
func (o *UninstallForgeInstanceWebhookParams) WithHTTPClient(client *http.Client) *UninstallForgeInstanceWebhookParams
WithHTTPClient adds the HTTPClient to the uninstall forge instance webhook params
func (*UninstallForgeInstanceWebhookParams) WithTimeout ¶
func (o *UninstallForgeInstanceWebhookParams) WithTimeout(timeout time.Duration) *UninstallForgeInstanceWebhookParams
WithTimeout adds the timeout to the uninstall forge instance webhook params
func (*UninstallForgeInstanceWebhookParams) WriteToRequest ¶
func (o *UninstallForgeInstanceWebhookParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *UpdateForgeInstanceDefault) Error() string
func (*UpdateForgeInstanceDefault) GetPayload ¶
func (o *UpdateForgeInstanceDefault) GetPayload() apiserver_params.APIErrorResponse
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 (o *UpdateForgeInstanceOK) GetPayload() garm_params.ForgeInstance
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 ¶
func (o *UpdateForgeInstanceParams) SetBody(body garm_params.UpdateEntityParams)
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 ¶
func (o *UpdateForgeInstanceParams) WithBody(body garm_params.UpdateEntityParams) *UpdateForgeInstanceParams
WithBody adds the body to the update forge instance params
func (*UpdateForgeInstanceParams) WithContext ¶
func (o *UpdateForgeInstanceParams) WithContext(ctx context.Context) *UpdateForgeInstanceParams
WithContext adds the context to the update forge instance params
func (*UpdateForgeInstanceParams) WithDefaults ¶
func (o *UpdateForgeInstanceParams) WithDefaults() *UpdateForgeInstanceParams
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 ¶
func (o *UpdateForgeInstanceParams) WithTimeout(timeout time.Duration) *UpdateForgeInstanceParams
WithTimeout adds the timeout to the update forge instance params
func (*UpdateForgeInstanceParams) WriteToRequest ¶
func (o *UpdateForgeInstanceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *UpdateForgeInstancePoolDefault) Code() int
Code gets the status code for the update forge instance pool default response
func (*UpdateForgeInstancePoolDefault) Error ¶
func (o *UpdateForgeInstancePoolDefault) Error() string
func (*UpdateForgeInstancePoolDefault) GetPayload ¶
func (o *UpdateForgeInstancePoolDefault) GetPayload() apiserver_params.APIErrorResponse
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 ¶
func (o *UpdateForgeInstancePoolDefault) String() 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 ¶
func (o *UpdateForgeInstancePoolParams) SetBody(body garm_params.UpdatePoolParams)
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 ¶
func (o *UpdateForgeInstancePoolParams) WithBody(body garm_params.UpdatePoolParams) *UpdateForgeInstancePoolParams
WithBody adds the body to the update forge instance pool params
func (*UpdateForgeInstancePoolParams) WithContext ¶
func (o *UpdateForgeInstancePoolParams) WithContext(ctx context.Context) *UpdateForgeInstancePoolParams
WithContext adds the context to the update forge instance pool params
func (*UpdateForgeInstancePoolParams) WithDefaults ¶
func (o *UpdateForgeInstancePoolParams) WithDefaults() *UpdateForgeInstancePoolParams
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 ¶
func (o *UpdateForgeInstancePoolParams) WithHTTPClient(client *http.Client) *UpdateForgeInstancePoolParams
WithHTTPClient adds the HTTPClient to the update forge instance pool params
func (*UpdateForgeInstancePoolParams) WithPoolID ¶
func (o *UpdateForgeInstancePoolParams) WithPoolID(poolID string) *UpdateForgeInstancePoolParams
WithPoolID adds the poolID to the update forge instance pool params
func (*UpdateForgeInstancePoolParams) WithTimeout ¶
func (o *UpdateForgeInstancePoolParams) WithTimeout(timeout time.Duration) *UpdateForgeInstancePoolParams
WithTimeout adds the timeout to the update forge instance pool params
func (*UpdateForgeInstancePoolParams) WriteToRequest ¶
func (o *UpdateForgeInstancePoolParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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.
Source Files
¶
- create_forge_instance_parameters.go
- create_forge_instance_pool_parameters.go
- create_forge_instance_pool_responses.go
- create_forge_instance_responses.go
- delete_forge_instance_parameters.go
- delete_forge_instance_pool_parameters.go
- delete_forge_instance_pool_responses.go
- delete_forge_instance_responses.go
- forge_instances_client.go
- get_forge_instance_parameters.go
- get_forge_instance_pool_parameters.go
- get_forge_instance_pool_responses.go
- get_forge_instance_responses.go
- get_forge_instance_webhook_info_parameters.go
- get_forge_instance_webhook_info_responses.go
- install_forge_instance_webhook_parameters.go
- install_forge_instance_webhook_responses.go
- list_forge_instance_instances_parameters.go
- list_forge_instance_instances_responses.go
- list_forge_instance_pools_parameters.go
- list_forge_instance_pools_responses.go
- list_forge_instances_parameters.go
- list_forge_instances_responses.go
- uninstall_forge_instance_webhook_parameters.go
- uninstall_forge_instance_webhook_responses.go
- update_forge_instance_parameters.go
- update_forge_instance_pool_parameters.go
- update_forge_instance_pool_responses.go
- update_forge_instance_responses.go