Versions in this module Expand all Collapse all v0 v0.2.0 Apr 25, 2026 Changes in this version + type Client struct + func (a *Client) CreateTemplate(params *CreateTemplateParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateTemplateOK, error) + func (a *Client) DeleteTemplate(params *DeleteTemplateParams, authInfo runtime.ClientAuthInfoWriter, ...) error + func (a *Client) GetTemplate(params *GetTemplateParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetTemplateOK, error) + func (a *Client) ListTemplates(params *ListTemplatesParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListTemplatesOK, error) + func (a *Client) RestoreTemplates(params *RestoreTemplatesParams, authInfo runtime.ClientAuthInfoWriter, ...) error + func (a *Client) SetTransport(transport runtime.ClientTransport) + func (a *Client) UpdateTemplate(params *UpdateTemplateParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateTemplateOK, error) + type ClientOption func(*runtime.ClientOperation) + type ClientService interface + CreateTemplate func(params *CreateTemplateParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateTemplateOK, error) + DeleteTemplate func(params *DeleteTemplateParams, authInfo runtime.ClientAuthInfoWriter, ...) error + GetTemplate func(params *GetTemplateParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetTemplateOK, error) + ListTemplates func(params *ListTemplatesParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListTemplatesOK, error) + RestoreTemplates func(params *RestoreTemplatesParams, authInfo runtime.ClientAuthInfoWriter, ...) error + SetTransport func(transport runtime.ClientTransport) + UpdateTemplate func(params *UpdateTemplateParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateTemplateOK, error) + func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService + func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService + func NewClientWithBearerToken(host, basePath, scheme, bearerToken string) ClientService + type CreateTemplateDefault struct + Payload apiserver_params.APIErrorResponse + func NewCreateTemplateDefault(code int) *CreateTemplateDefault + func (o *CreateTemplateDefault) Code() int + func (o *CreateTemplateDefault) Error() string + func (o *CreateTemplateDefault) GetPayload() apiserver_params.APIErrorResponse + func (o *CreateTemplateDefault) IsClientError() bool + func (o *CreateTemplateDefault) IsCode(code int) bool + func (o *CreateTemplateDefault) IsRedirect() bool + func (o *CreateTemplateDefault) IsServerError() bool + func (o *CreateTemplateDefault) IsSuccess() bool + func (o *CreateTemplateDefault) String() string + type CreateTemplateOK struct + Payload garm_params.Template + func NewCreateTemplateOK() *CreateTemplateOK + func (o *CreateTemplateOK) Code() int + func (o *CreateTemplateOK) Error() string + func (o *CreateTemplateOK) GetPayload() garm_params.Template + func (o *CreateTemplateOK) IsClientError() bool + func (o *CreateTemplateOK) IsCode(code int) bool + func (o *CreateTemplateOK) IsRedirect() bool + func (o *CreateTemplateOK) IsServerError() bool + func (o *CreateTemplateOK) IsSuccess() bool + func (o *CreateTemplateOK) String() string + type CreateTemplateParams struct + Body garm_params.CreateTemplateParams + Context context.Context + HTTPClient *http.Client + func NewCreateTemplateParams() *CreateTemplateParams + func NewCreateTemplateParamsWithContext(ctx context.Context) *CreateTemplateParams + func NewCreateTemplateParamsWithHTTPClient(client *http.Client) *CreateTemplateParams + func NewCreateTemplateParamsWithTimeout(timeout time.Duration) *CreateTemplateParams + func (o *CreateTemplateParams) SetBody(body garm_params.CreateTemplateParams) + func (o *CreateTemplateParams) SetContext(ctx context.Context) + func (o *CreateTemplateParams) SetDefaults() + func (o *CreateTemplateParams) SetHTTPClient(client *http.Client) + func (o *CreateTemplateParams) SetTimeout(timeout time.Duration) + func (o *CreateTemplateParams) WithBody(body garm_params.CreateTemplateParams) *CreateTemplateParams + func (o *CreateTemplateParams) WithContext(ctx context.Context) *CreateTemplateParams + func (o *CreateTemplateParams) WithDefaults() *CreateTemplateParams + func (o *CreateTemplateParams) WithHTTPClient(client *http.Client) *CreateTemplateParams + func (o *CreateTemplateParams) WithTimeout(timeout time.Duration) *CreateTemplateParams + func (o *CreateTemplateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error + type CreateTemplateReader struct + func (o *CreateTemplateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error) + type DeleteTemplateDefault struct + Payload apiserver_params.APIErrorResponse + func NewDeleteTemplateDefault(code int) *DeleteTemplateDefault + func (o *DeleteTemplateDefault) Code() int + func (o *DeleteTemplateDefault) Error() string + func (o *DeleteTemplateDefault) GetPayload() apiserver_params.APIErrorResponse + func (o *DeleteTemplateDefault) IsClientError() bool + func (o *DeleteTemplateDefault) IsCode(code int) bool + func (o *DeleteTemplateDefault) IsRedirect() bool + func (o *DeleteTemplateDefault) IsServerError() bool + func (o *DeleteTemplateDefault) IsSuccess() bool + func (o *DeleteTemplateDefault) String() string + type DeleteTemplateParams struct + Context context.Context + HTTPClient *http.Client + TemplateID float64 + func NewDeleteTemplateParams() *DeleteTemplateParams + func NewDeleteTemplateParamsWithContext(ctx context.Context) *DeleteTemplateParams + func NewDeleteTemplateParamsWithHTTPClient(client *http.Client) *DeleteTemplateParams + func NewDeleteTemplateParamsWithTimeout(timeout time.Duration) *DeleteTemplateParams + func (o *DeleteTemplateParams) SetContext(ctx context.Context) + func (o *DeleteTemplateParams) SetDefaults() + func (o *DeleteTemplateParams) SetHTTPClient(client *http.Client) + func (o *DeleteTemplateParams) SetTemplateID(templateID float64) + func (o *DeleteTemplateParams) SetTimeout(timeout time.Duration) + func (o *DeleteTemplateParams) WithContext(ctx context.Context) *DeleteTemplateParams + func (o *DeleteTemplateParams) WithDefaults() *DeleteTemplateParams + func (o *DeleteTemplateParams) WithHTTPClient(client *http.Client) *DeleteTemplateParams + func (o *DeleteTemplateParams) WithTemplateID(templateID float64) *DeleteTemplateParams + func (o *DeleteTemplateParams) WithTimeout(timeout time.Duration) *DeleteTemplateParams + func (o *DeleteTemplateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error + type DeleteTemplateReader struct + func (o *DeleteTemplateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error) + type GetTemplateDefault struct + Payload apiserver_params.APIErrorResponse + func NewGetTemplateDefault(code int) *GetTemplateDefault + func (o *GetTemplateDefault) Code() int + func (o *GetTemplateDefault) Error() string + func (o *GetTemplateDefault) GetPayload() apiserver_params.APIErrorResponse + func (o *GetTemplateDefault) IsClientError() bool + func (o *GetTemplateDefault) IsCode(code int) bool + func (o *GetTemplateDefault) IsRedirect() bool + func (o *GetTemplateDefault) IsServerError() bool + func (o *GetTemplateDefault) IsSuccess() bool + func (o *GetTemplateDefault) String() string + type GetTemplateOK struct + Payload garm_params.Template + func NewGetTemplateOK() *GetTemplateOK + func (o *GetTemplateOK) Code() int + func (o *GetTemplateOK) Error() string + func (o *GetTemplateOK) GetPayload() garm_params.Template + func (o *GetTemplateOK) IsClientError() bool + func (o *GetTemplateOK) IsCode(code int) bool + func (o *GetTemplateOK) IsRedirect() bool + func (o *GetTemplateOK) IsServerError() bool + func (o *GetTemplateOK) IsSuccess() bool + func (o *GetTemplateOK) String() string + type GetTemplateParams struct + Context context.Context + HTTPClient *http.Client + TemplateID float64 + func NewGetTemplateParams() *GetTemplateParams + func NewGetTemplateParamsWithContext(ctx context.Context) *GetTemplateParams + func NewGetTemplateParamsWithHTTPClient(client *http.Client) *GetTemplateParams + func NewGetTemplateParamsWithTimeout(timeout time.Duration) *GetTemplateParams + func (o *GetTemplateParams) SetContext(ctx context.Context) + func (o *GetTemplateParams) SetDefaults() + func (o *GetTemplateParams) SetHTTPClient(client *http.Client) + func (o *GetTemplateParams) SetTemplateID(templateID float64) + func (o *GetTemplateParams) SetTimeout(timeout time.Duration) + func (o *GetTemplateParams) WithContext(ctx context.Context) *GetTemplateParams + func (o *GetTemplateParams) WithDefaults() *GetTemplateParams + func (o *GetTemplateParams) WithHTTPClient(client *http.Client) *GetTemplateParams + func (o *GetTemplateParams) WithTemplateID(templateID float64) *GetTemplateParams + func (o *GetTemplateParams) WithTimeout(timeout time.Duration) *GetTemplateParams + func (o *GetTemplateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error + type GetTemplateReader struct + func (o *GetTemplateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error) + type ListTemplatesDefault struct + Payload apiserver_params.APIErrorResponse + func NewListTemplatesDefault(code int) *ListTemplatesDefault + func (o *ListTemplatesDefault) Code() int + func (o *ListTemplatesDefault) Error() string + func (o *ListTemplatesDefault) GetPayload() apiserver_params.APIErrorResponse + func (o *ListTemplatesDefault) IsClientError() bool + func (o *ListTemplatesDefault) IsCode(code int) bool + func (o *ListTemplatesDefault) IsRedirect() bool + func (o *ListTemplatesDefault) IsServerError() bool + func (o *ListTemplatesDefault) IsSuccess() bool + func (o *ListTemplatesDefault) String() string + type ListTemplatesOK struct + Payload garm_params.Templates + func NewListTemplatesOK() *ListTemplatesOK + func (o *ListTemplatesOK) Code() int + func (o *ListTemplatesOK) Error() string + func (o *ListTemplatesOK) GetPayload() garm_params.Templates + func (o *ListTemplatesOK) IsClientError() bool + func (o *ListTemplatesOK) IsCode(code int) bool + func (o *ListTemplatesOK) IsRedirect() bool + func (o *ListTemplatesOK) IsServerError() bool + func (o *ListTemplatesOK) IsSuccess() bool + func (o *ListTemplatesOK) String() string + type ListTemplatesParams struct + Context context.Context + ForgeType *string + HTTPClient *http.Client + OsType *string + PartialName *string + func NewListTemplatesParams() *ListTemplatesParams + func NewListTemplatesParamsWithContext(ctx context.Context) *ListTemplatesParams + func NewListTemplatesParamsWithHTTPClient(client *http.Client) *ListTemplatesParams + func NewListTemplatesParamsWithTimeout(timeout time.Duration) *ListTemplatesParams + func (o *ListTemplatesParams) SetContext(ctx context.Context) + func (o *ListTemplatesParams) SetDefaults() + func (o *ListTemplatesParams) SetForgeType(forgeType *string) + func (o *ListTemplatesParams) SetHTTPClient(client *http.Client) + func (o *ListTemplatesParams) SetOsType(osType *string) + func (o *ListTemplatesParams) SetPartialName(partialName *string) + func (o *ListTemplatesParams) SetTimeout(timeout time.Duration) + func (o *ListTemplatesParams) WithContext(ctx context.Context) *ListTemplatesParams + func (o *ListTemplatesParams) WithDefaults() *ListTemplatesParams + func (o *ListTemplatesParams) WithForgeType(forgeType *string) *ListTemplatesParams + func (o *ListTemplatesParams) WithHTTPClient(client *http.Client) *ListTemplatesParams + func (o *ListTemplatesParams) WithOsType(osType *string) *ListTemplatesParams + func (o *ListTemplatesParams) WithPartialName(partialName *string) *ListTemplatesParams + func (o *ListTemplatesParams) WithTimeout(timeout time.Duration) *ListTemplatesParams + func (o *ListTemplatesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error + type ListTemplatesReader struct + func (o *ListTemplatesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error) + type RestoreTemplatesDefault struct + Payload apiserver_params.APIErrorResponse + func NewRestoreTemplatesDefault(code int) *RestoreTemplatesDefault + func (o *RestoreTemplatesDefault) Code() int + func (o *RestoreTemplatesDefault) Error() string + func (o *RestoreTemplatesDefault) GetPayload() apiserver_params.APIErrorResponse + func (o *RestoreTemplatesDefault) IsClientError() bool + func (o *RestoreTemplatesDefault) IsCode(code int) bool + func (o *RestoreTemplatesDefault) IsRedirect() bool + func (o *RestoreTemplatesDefault) IsServerError() bool + func (o *RestoreTemplatesDefault) IsSuccess() bool + func (o *RestoreTemplatesDefault) String() string + type RestoreTemplatesParams struct + Body garm_params.RestoreTemplateRequest + Context context.Context + HTTPClient *http.Client + func NewRestoreTemplatesParams() *RestoreTemplatesParams + func NewRestoreTemplatesParamsWithContext(ctx context.Context) *RestoreTemplatesParams + func NewRestoreTemplatesParamsWithHTTPClient(client *http.Client) *RestoreTemplatesParams + func NewRestoreTemplatesParamsWithTimeout(timeout time.Duration) *RestoreTemplatesParams + func (o *RestoreTemplatesParams) SetBody(body garm_params.RestoreTemplateRequest) + func (o *RestoreTemplatesParams) SetContext(ctx context.Context) + func (o *RestoreTemplatesParams) SetDefaults() + func (o *RestoreTemplatesParams) SetHTTPClient(client *http.Client) + func (o *RestoreTemplatesParams) SetTimeout(timeout time.Duration) + func (o *RestoreTemplatesParams) WithBody(body garm_params.RestoreTemplateRequest) *RestoreTemplatesParams + func (o *RestoreTemplatesParams) WithContext(ctx context.Context) *RestoreTemplatesParams + func (o *RestoreTemplatesParams) WithDefaults() *RestoreTemplatesParams + func (o *RestoreTemplatesParams) WithHTTPClient(client *http.Client) *RestoreTemplatesParams + func (o *RestoreTemplatesParams) WithTimeout(timeout time.Duration) *RestoreTemplatesParams + func (o *RestoreTemplatesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error + type RestoreTemplatesReader struct + func (o *RestoreTemplatesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error) + type UpdateTemplateDefault struct + Payload apiserver_params.APIErrorResponse + func NewUpdateTemplateDefault(code int) *UpdateTemplateDefault + func (o *UpdateTemplateDefault) Code() int + func (o *UpdateTemplateDefault) Error() string + func (o *UpdateTemplateDefault) GetPayload() apiserver_params.APIErrorResponse + func (o *UpdateTemplateDefault) IsClientError() bool + func (o *UpdateTemplateDefault) IsCode(code int) bool + func (o *UpdateTemplateDefault) IsRedirect() bool + func (o *UpdateTemplateDefault) IsServerError() bool + func (o *UpdateTemplateDefault) IsSuccess() bool + func (o *UpdateTemplateDefault) String() string + type UpdateTemplateOK struct + Payload garm_params.Template + func NewUpdateTemplateOK() *UpdateTemplateOK + func (o *UpdateTemplateOK) Code() int + func (o *UpdateTemplateOK) Error() string + func (o *UpdateTemplateOK) GetPayload() garm_params.Template + func (o *UpdateTemplateOK) IsClientError() bool + func (o *UpdateTemplateOK) IsCode(code int) bool + func (o *UpdateTemplateOK) IsRedirect() bool + func (o *UpdateTemplateOK) IsServerError() bool + func (o *UpdateTemplateOK) IsSuccess() bool + func (o *UpdateTemplateOK) String() string + type UpdateTemplateParams struct + Body garm_params.UpdateTemplateParams + Context context.Context + HTTPClient *http.Client + TemplateID float64 + func NewUpdateTemplateParams() *UpdateTemplateParams + func NewUpdateTemplateParamsWithContext(ctx context.Context) *UpdateTemplateParams + func NewUpdateTemplateParamsWithHTTPClient(client *http.Client) *UpdateTemplateParams + func NewUpdateTemplateParamsWithTimeout(timeout time.Duration) *UpdateTemplateParams + func (o *UpdateTemplateParams) SetBody(body garm_params.UpdateTemplateParams) + func (o *UpdateTemplateParams) SetContext(ctx context.Context) + func (o *UpdateTemplateParams) SetDefaults() + func (o *UpdateTemplateParams) SetHTTPClient(client *http.Client) + func (o *UpdateTemplateParams) SetTemplateID(templateID float64) + func (o *UpdateTemplateParams) SetTimeout(timeout time.Duration) + func (o *UpdateTemplateParams) WithBody(body garm_params.UpdateTemplateParams) *UpdateTemplateParams + func (o *UpdateTemplateParams) WithContext(ctx context.Context) *UpdateTemplateParams + func (o *UpdateTemplateParams) WithDefaults() *UpdateTemplateParams + func (o *UpdateTemplateParams) WithHTTPClient(client *http.Client) *UpdateTemplateParams + func (o *UpdateTemplateParams) WithTemplateID(templateID float64) *UpdateTemplateParams + func (o *UpdateTemplateParams) WithTimeout(timeout time.Duration) *UpdateTemplateParams + func (o *UpdateTemplateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error + type UpdateTemplateReader struct + func (o *UpdateTemplateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error) v0.2.0-beta1 Apr 13, 2026