Documentation
¶
Index ¶
- type AdminGarmAgentListBadRequest
- func (o *AdminGarmAgentListBadRequest) Code() int
- func (o *AdminGarmAgentListBadRequest) Error() string
- func (o *AdminGarmAgentListBadRequest) GetPayload() apiserver_params.APIErrorResponse
- func (o *AdminGarmAgentListBadRequest) IsClientError() bool
- func (o *AdminGarmAgentListBadRequest) IsCode(code int) bool
- func (o *AdminGarmAgentListBadRequest) IsRedirect() bool
- func (o *AdminGarmAgentListBadRequest) IsServerError() bool
- func (o *AdminGarmAgentListBadRequest) IsSuccess() bool
- func (o *AdminGarmAgentListBadRequest) String() string
- type AdminGarmAgentListOK
- func (o *AdminGarmAgentListOK) Code() int
- func (o *AdminGarmAgentListOK) Error() string
- func (o *AdminGarmAgentListOK) GetPayload() garm_params.GARMAgentToolsPaginatedResponse
- func (o *AdminGarmAgentListOK) IsClientError() bool
- func (o *AdminGarmAgentListOK) IsCode(code int) bool
- func (o *AdminGarmAgentListOK) IsRedirect() bool
- func (o *AdminGarmAgentListOK) IsServerError() bool
- func (o *AdminGarmAgentListOK) IsSuccess() bool
- func (o *AdminGarmAgentListOK) String() string
- type AdminGarmAgentListParams
- func NewAdminGarmAgentListParams() *AdminGarmAgentListParams
- func NewAdminGarmAgentListParamsWithContext(ctx context.Context) *AdminGarmAgentListParams
- func NewAdminGarmAgentListParamsWithHTTPClient(client *http.Client) *AdminGarmAgentListParams
- func NewAdminGarmAgentListParamsWithTimeout(timeout time.Duration) *AdminGarmAgentListParams
- func (o *AdminGarmAgentListParams) SetContext(ctx context.Context)
- func (o *AdminGarmAgentListParams) SetDefaults()
- func (o *AdminGarmAgentListParams) SetHTTPClient(client *http.Client)
- func (o *AdminGarmAgentListParams) SetPage(page *int64)
- func (o *AdminGarmAgentListParams) SetPageSize(pageSize *int64)
- func (o *AdminGarmAgentListParams) SetTimeout(timeout time.Duration)
- func (o *AdminGarmAgentListParams) SetUpstream(upstream *bool)
- func (o *AdminGarmAgentListParams) WithContext(ctx context.Context) *AdminGarmAgentListParams
- func (o *AdminGarmAgentListParams) WithDefaults() *AdminGarmAgentListParams
- func (o *AdminGarmAgentListParams) WithHTTPClient(client *http.Client) *AdminGarmAgentListParams
- func (o *AdminGarmAgentListParams) WithPage(page *int64) *AdminGarmAgentListParams
- func (o *AdminGarmAgentListParams) WithPageSize(pageSize *int64) *AdminGarmAgentListParams
- func (o *AdminGarmAgentListParams) WithTimeout(timeout time.Duration) *AdminGarmAgentListParams
- func (o *AdminGarmAgentListParams) WithUpstream(upstream *bool) *AdminGarmAgentListParams
- func (o *AdminGarmAgentListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminGarmAgentListReader
- type Client
- func (a *Client) AdminGarmAgentList(params *AdminGarmAgentListParams, authInfo runtime.ClientAuthInfoWriter, ...) (*AdminGarmAgentListOK, error)
- func (a *Client) ListGARMAgentReleases(params *ListGARMAgentReleasesParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListGARMAgentReleasesOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UploadGARMAgentTool(params *UploadGARMAgentToolParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UploadGARMAgentToolOK, error)
- type ClientOption
- type ClientService
- type ListGARMAgentReleasesBadRequest
- func (o *ListGARMAgentReleasesBadRequest) Code() int
- func (o *ListGARMAgentReleasesBadRequest) Error() string
- func (o *ListGARMAgentReleasesBadRequest) GetPayload() apiserver_params.APIErrorResponse
- func (o *ListGARMAgentReleasesBadRequest) IsClientError() bool
- func (o *ListGARMAgentReleasesBadRequest) IsCode(code int) bool
- func (o *ListGARMAgentReleasesBadRequest) IsRedirect() bool
- func (o *ListGARMAgentReleasesBadRequest) IsServerError() bool
- func (o *ListGARMAgentReleasesBadRequest) IsSuccess() bool
- func (o *ListGARMAgentReleasesBadRequest) String() string
- type ListGARMAgentReleasesOK
- func (o *ListGARMAgentReleasesOK) Code() int
- func (o *ListGARMAgentReleasesOK) Error() string
- func (o *ListGARMAgentReleasesOK) GetPayload() garm_params.GARMAgentReleases
- func (o *ListGARMAgentReleasesOK) IsClientError() bool
- func (o *ListGARMAgentReleasesOK) IsCode(code int) bool
- func (o *ListGARMAgentReleasesOK) IsRedirect() bool
- func (o *ListGARMAgentReleasesOK) IsServerError() bool
- func (o *ListGARMAgentReleasesOK) IsSuccess() bool
- func (o *ListGARMAgentReleasesOK) String() string
- type ListGARMAgentReleasesParams
- func NewListGARMAgentReleasesParams() *ListGARMAgentReleasesParams
- func NewListGARMAgentReleasesParamsWithContext(ctx context.Context) *ListGARMAgentReleasesParams
- func NewListGARMAgentReleasesParamsWithHTTPClient(client *http.Client) *ListGARMAgentReleasesParams
- func NewListGARMAgentReleasesParamsWithTimeout(timeout time.Duration) *ListGARMAgentReleasesParams
- func (o *ListGARMAgentReleasesParams) SetContext(ctx context.Context)
- func (o *ListGARMAgentReleasesParams) SetDefaults()
- func (o *ListGARMAgentReleasesParams) SetHTTPClient(client *http.Client)
- func (o *ListGARMAgentReleasesParams) SetTimeout(timeout time.Duration)
- func (o *ListGARMAgentReleasesParams) WithContext(ctx context.Context) *ListGARMAgentReleasesParams
- func (o *ListGARMAgentReleasesParams) WithDefaults() *ListGARMAgentReleasesParams
- func (o *ListGARMAgentReleasesParams) WithHTTPClient(client *http.Client) *ListGARMAgentReleasesParams
- func (o *ListGARMAgentReleasesParams) WithTimeout(timeout time.Duration) *ListGARMAgentReleasesParams
- func (o *ListGARMAgentReleasesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListGARMAgentReleasesReader
- type UploadGARMAgentToolBadRequest
- func (o *UploadGARMAgentToolBadRequest) Code() int
- func (o *UploadGARMAgentToolBadRequest) Error() string
- func (o *UploadGARMAgentToolBadRequest) GetPayload() apiserver_params.APIErrorResponse
- func (o *UploadGARMAgentToolBadRequest) IsClientError() bool
- func (o *UploadGARMAgentToolBadRequest) IsCode(code int) bool
- func (o *UploadGARMAgentToolBadRequest) IsRedirect() bool
- func (o *UploadGARMAgentToolBadRequest) IsServerError() bool
- func (o *UploadGARMAgentToolBadRequest) IsSuccess() bool
- func (o *UploadGARMAgentToolBadRequest) String() string
- type UploadGARMAgentToolOK
- func (o *UploadGARMAgentToolOK) Code() int
- func (o *UploadGARMAgentToolOK) Error() string
- func (o *UploadGARMAgentToolOK) GetPayload() garm_params.FileObject
- func (o *UploadGARMAgentToolOK) IsClientError() bool
- func (o *UploadGARMAgentToolOK) IsCode(code int) bool
- func (o *UploadGARMAgentToolOK) IsRedirect() bool
- func (o *UploadGARMAgentToolOK) IsServerError() bool
- func (o *UploadGARMAgentToolOK) IsSuccess() bool
- func (o *UploadGARMAgentToolOK) String() string
- type UploadGARMAgentToolParams
- func NewUploadGARMAgentToolParams() *UploadGARMAgentToolParams
- func NewUploadGARMAgentToolParamsWithContext(ctx context.Context) *UploadGARMAgentToolParams
- func NewUploadGARMAgentToolParamsWithHTTPClient(client *http.Client) *UploadGARMAgentToolParams
- func NewUploadGARMAgentToolParamsWithTimeout(timeout time.Duration) *UploadGARMAgentToolParams
- func (o *UploadGARMAgentToolParams) SetContext(ctx context.Context)
- func (o *UploadGARMAgentToolParams) SetDefaults()
- func (o *UploadGARMAgentToolParams) SetHTTPClient(client *http.Client)
- func (o *UploadGARMAgentToolParams) SetTimeout(timeout time.Duration)
- func (o *UploadGARMAgentToolParams) WithContext(ctx context.Context) *UploadGARMAgentToolParams
- func (o *UploadGARMAgentToolParams) WithDefaults() *UploadGARMAgentToolParams
- func (o *UploadGARMAgentToolParams) WithHTTPClient(client *http.Client) *UploadGARMAgentToolParams
- func (o *UploadGARMAgentToolParams) WithTimeout(timeout time.Duration) *UploadGARMAgentToolParams
- func (o *UploadGARMAgentToolParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UploadGARMAgentToolReader
- type UploadGARMAgentToolUnauthorized
- func (o *UploadGARMAgentToolUnauthorized) Code() int
- func (o *UploadGARMAgentToolUnauthorized) Error() string
- func (o *UploadGARMAgentToolUnauthorized) GetPayload() apiserver_params.APIErrorResponse
- func (o *UploadGARMAgentToolUnauthorized) IsClientError() bool
- func (o *UploadGARMAgentToolUnauthorized) IsCode(code int) bool
- func (o *UploadGARMAgentToolUnauthorized) IsRedirect() bool
- func (o *UploadGARMAgentToolUnauthorized) IsServerError() bool
- func (o *UploadGARMAgentToolUnauthorized) IsSuccess() bool
- func (o *UploadGARMAgentToolUnauthorized) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdminGarmAgentListBadRequest ¶
type AdminGarmAgentListBadRequest struct {
Payload apiserver_params.APIErrorResponse
}
AdminGarmAgentListBadRequest describes a response with status code 400, with default header values.
APIErrorResponse
func NewAdminGarmAgentListBadRequest ¶
func NewAdminGarmAgentListBadRequest() *AdminGarmAgentListBadRequest
NewAdminGarmAgentListBadRequest creates a AdminGarmAgentListBadRequest with default headers values
func (*AdminGarmAgentListBadRequest) Code ¶
func (o *AdminGarmAgentListBadRequest) Code() int
Code gets the status code for the admin garm agent list bad request response
func (*AdminGarmAgentListBadRequest) Error ¶
func (o *AdminGarmAgentListBadRequest) Error() string
func (*AdminGarmAgentListBadRequest) GetPayload ¶
func (o *AdminGarmAgentListBadRequest) GetPayload() apiserver_params.APIErrorResponse
func (*AdminGarmAgentListBadRequest) IsClientError ¶
func (o *AdminGarmAgentListBadRequest) IsClientError() bool
IsClientError returns true when this admin garm agent list bad request response has a 4xx status code
func (*AdminGarmAgentListBadRequest) IsCode ¶
func (o *AdminGarmAgentListBadRequest) IsCode(code int) bool
IsCode returns true when this admin garm agent list bad request response a status code equal to that given
func (*AdminGarmAgentListBadRequest) IsRedirect ¶
func (o *AdminGarmAgentListBadRequest) IsRedirect() bool
IsRedirect returns true when this admin garm agent list bad request response has a 3xx status code
func (*AdminGarmAgentListBadRequest) IsServerError ¶
func (o *AdminGarmAgentListBadRequest) IsServerError() bool
IsServerError returns true when this admin garm agent list bad request response has a 5xx status code
func (*AdminGarmAgentListBadRequest) IsSuccess ¶
func (o *AdminGarmAgentListBadRequest) IsSuccess() bool
IsSuccess returns true when this admin garm agent list bad request response has a 2xx status code
func (*AdminGarmAgentListBadRequest) String ¶
func (o *AdminGarmAgentListBadRequest) String() string
type AdminGarmAgentListOK ¶
type AdminGarmAgentListOK struct {
Payload garm_params.GARMAgentToolsPaginatedResponse
}
AdminGarmAgentListOK describes a response with status code 200, with default header values.
GARMAgentToolsPaginatedResponse
func NewAdminGarmAgentListOK ¶
func NewAdminGarmAgentListOK() *AdminGarmAgentListOK
NewAdminGarmAgentListOK creates a AdminGarmAgentListOK with default headers values
func (*AdminGarmAgentListOK) Code ¶
func (o *AdminGarmAgentListOK) Code() int
Code gets the status code for the admin garm agent list o k response
func (*AdminGarmAgentListOK) Error ¶
func (o *AdminGarmAgentListOK) Error() string
func (*AdminGarmAgentListOK) GetPayload ¶
func (o *AdminGarmAgentListOK) GetPayload() garm_params.GARMAgentToolsPaginatedResponse
func (*AdminGarmAgentListOK) IsClientError ¶
func (o *AdminGarmAgentListOK) IsClientError() bool
IsClientError returns true when this admin garm agent list o k response has a 4xx status code
func (*AdminGarmAgentListOK) IsCode ¶
func (o *AdminGarmAgentListOK) IsCode(code int) bool
IsCode returns true when this admin garm agent list o k response a status code equal to that given
func (*AdminGarmAgentListOK) IsRedirect ¶
func (o *AdminGarmAgentListOK) IsRedirect() bool
IsRedirect returns true when this admin garm agent list o k response has a 3xx status code
func (*AdminGarmAgentListOK) IsServerError ¶
func (o *AdminGarmAgentListOK) IsServerError() bool
IsServerError returns true when this admin garm agent list o k response has a 5xx status code
func (*AdminGarmAgentListOK) IsSuccess ¶
func (o *AdminGarmAgentListOK) IsSuccess() bool
IsSuccess returns true when this admin garm agent list o k response has a 2xx status code
func (*AdminGarmAgentListOK) String ¶
func (o *AdminGarmAgentListOK) String() string
type AdminGarmAgentListParams ¶
type AdminGarmAgentListParams struct {
/* Page.
The page at which to list.
*/
Page *int64
/* PageSize.
Number of items per page.
*/
PageSize *int64
/* Upstream.
If true, list tools from the upstream cached release instead of the local object store.
*/
Upstream *bool
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
AdminGarmAgentListParams contains all the parameters to send to the API endpoint
for the admin garm agent list operation. Typically these are written to a http.Request.
func NewAdminGarmAgentListParams ¶
func NewAdminGarmAgentListParams() *AdminGarmAgentListParams
NewAdminGarmAgentListParams creates a new AdminGarmAgentListParams 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 NewAdminGarmAgentListParamsWithContext ¶
func NewAdminGarmAgentListParamsWithContext(ctx context.Context) *AdminGarmAgentListParams
NewAdminGarmAgentListParamsWithContext creates a new AdminGarmAgentListParams object with the ability to set a context for a request.
func NewAdminGarmAgentListParamsWithHTTPClient ¶
func NewAdminGarmAgentListParamsWithHTTPClient(client *http.Client) *AdminGarmAgentListParams
NewAdminGarmAgentListParamsWithHTTPClient creates a new AdminGarmAgentListParams object with the ability to set a custom HTTPClient for a request.
func NewAdminGarmAgentListParamsWithTimeout ¶
func NewAdminGarmAgentListParamsWithTimeout(timeout time.Duration) *AdminGarmAgentListParams
NewAdminGarmAgentListParamsWithTimeout creates a new AdminGarmAgentListParams object with the ability to set a timeout on a request.
func (*AdminGarmAgentListParams) SetContext ¶
func (o *AdminGarmAgentListParams) SetContext(ctx context.Context)
SetContext adds the context to the admin garm agent list params
func (*AdminGarmAgentListParams) SetDefaults ¶
func (o *AdminGarmAgentListParams) SetDefaults()
SetDefaults hydrates default values in the admin garm agent list params (not the query body).
All values with no default are reset to their zero value.
func (*AdminGarmAgentListParams) SetHTTPClient ¶
func (o *AdminGarmAgentListParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the admin garm agent list params
func (*AdminGarmAgentListParams) SetPage ¶
func (o *AdminGarmAgentListParams) SetPage(page *int64)
SetPage adds the page to the admin garm agent list params
func (*AdminGarmAgentListParams) SetPageSize ¶
func (o *AdminGarmAgentListParams) SetPageSize(pageSize *int64)
SetPageSize adds the pageSize to the admin garm agent list params
func (*AdminGarmAgentListParams) SetTimeout ¶
func (o *AdminGarmAgentListParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the admin garm agent list params
func (*AdminGarmAgentListParams) SetUpstream ¶
func (o *AdminGarmAgentListParams) SetUpstream(upstream *bool)
SetUpstream adds the upstream to the admin garm agent list params
func (*AdminGarmAgentListParams) WithContext ¶
func (o *AdminGarmAgentListParams) WithContext(ctx context.Context) *AdminGarmAgentListParams
WithContext adds the context to the admin garm agent list params
func (*AdminGarmAgentListParams) WithDefaults ¶
func (o *AdminGarmAgentListParams) WithDefaults() *AdminGarmAgentListParams
WithDefaults hydrates default values in the admin garm agent list params (not the query body).
All values with no default are reset to their zero value.
func (*AdminGarmAgentListParams) WithHTTPClient ¶
func (o *AdminGarmAgentListParams) WithHTTPClient(client *http.Client) *AdminGarmAgentListParams
WithHTTPClient adds the HTTPClient to the admin garm agent list params
func (*AdminGarmAgentListParams) WithPage ¶
func (o *AdminGarmAgentListParams) WithPage(page *int64) *AdminGarmAgentListParams
WithPage adds the page to the admin garm agent list params
func (*AdminGarmAgentListParams) WithPageSize ¶
func (o *AdminGarmAgentListParams) WithPageSize(pageSize *int64) *AdminGarmAgentListParams
WithPageSize adds the pageSize to the admin garm agent list params
func (*AdminGarmAgentListParams) WithTimeout ¶
func (o *AdminGarmAgentListParams) WithTimeout(timeout time.Duration) *AdminGarmAgentListParams
WithTimeout adds the timeout to the admin garm agent list params
func (*AdminGarmAgentListParams) WithUpstream ¶
func (o *AdminGarmAgentListParams) WithUpstream(upstream *bool) *AdminGarmAgentListParams
WithUpstream adds the upstream to the admin garm agent list params
func (*AdminGarmAgentListParams) WriteToRequest ¶
func (o *AdminGarmAgentListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AdminGarmAgentListReader ¶
type AdminGarmAgentListReader struct {
// contains filtered or unexported fields
}
AdminGarmAgentListReader is a Reader for the AdminGarmAgentList structure.
func (*AdminGarmAgentListReader) ReadResponse ¶
func (o *AdminGarmAgentListReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for tools API
func (*Client) AdminGarmAgentList ¶
func (a *Client) AdminGarmAgentList(params *AdminGarmAgentListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AdminGarmAgentListOK, error)
AdminGarmAgentList lists g a r m agent tools for admin users
func (*Client) ListGARMAgentReleases ¶ added in v0.2.2
func (a *Client) ListGARMAgentReleases(params *ListGARMAgentReleasesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListGARMAgentReleasesOK, error)
ListGARMAgentReleases lists the garm agent releases available at the controller s releases URL as recorded in the cached release index. The release the controller is
pinned to and the release "latest" resolves to are marked.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UploadGARMAgentTool ¶
func (a *Client) UploadGARMAgentTool(params *UploadGARMAgentToolParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UploadGARMAgentToolOK, error)
UploadGARMAgentTool uploads a g a r m agent tool binary Uploads a GARM agent tool for a specific OS and architecture.
This will automatically replace any existing tool for the same OS/architecture combination.
Uses custom headers for metadata:
X-Tool-Name: Name of the tool
X-Tool-Description: Description
X-Tool-OS-Type: OS type (linux or windows)
X-Tool-OS-Arch: Architecture (amd64, arm64, arm, ppc64le, s390x or riscv64)
X-Tool-Version: Version string
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption may be used to customize the behavior of Client methods.
type ClientService ¶
type ClientService interface {
AdminGarmAgentList(params *AdminGarmAgentListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AdminGarmAgentListOK, error)
ListGARMAgentReleases(params *ListGARMAgentReleasesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListGARMAgentReleasesOK, error)
UploadGARMAgentTool(params *UploadGARMAgentToolParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UploadGARMAgentToolOK, 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 tools API client.
func NewClientWithBasicAuth ¶
func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService
New creates a new tools 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 tools 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 ListGARMAgentReleasesBadRequest ¶ added in v0.2.2
type ListGARMAgentReleasesBadRequest struct {
Payload apiserver_params.APIErrorResponse
}
ListGARMAgentReleasesBadRequest describes a response with status code 400, with default header values.
APIErrorResponse
func NewListGARMAgentReleasesBadRequest ¶ added in v0.2.2
func NewListGARMAgentReleasesBadRequest() *ListGARMAgentReleasesBadRequest
NewListGARMAgentReleasesBadRequest creates a ListGARMAgentReleasesBadRequest with default headers values
func (*ListGARMAgentReleasesBadRequest) Code ¶ added in v0.2.2
func (o *ListGARMAgentReleasesBadRequest) Code() int
Code gets the status code for the list g a r m agent releases bad request response
func (*ListGARMAgentReleasesBadRequest) Error ¶ added in v0.2.2
func (o *ListGARMAgentReleasesBadRequest) Error() string
func (*ListGARMAgentReleasesBadRequest) GetPayload ¶ added in v0.2.2
func (o *ListGARMAgentReleasesBadRequest) GetPayload() apiserver_params.APIErrorResponse
func (*ListGARMAgentReleasesBadRequest) IsClientError ¶ added in v0.2.2
func (o *ListGARMAgentReleasesBadRequest) IsClientError() bool
IsClientError returns true when this list g a r m agent releases bad request response has a 4xx status code
func (*ListGARMAgentReleasesBadRequest) IsCode ¶ added in v0.2.2
func (o *ListGARMAgentReleasesBadRequest) IsCode(code int) bool
IsCode returns true when this list g a r m agent releases bad request response a status code equal to that given
func (*ListGARMAgentReleasesBadRequest) IsRedirect ¶ added in v0.2.2
func (o *ListGARMAgentReleasesBadRequest) IsRedirect() bool
IsRedirect returns true when this list g a r m agent releases bad request response has a 3xx status code
func (*ListGARMAgentReleasesBadRequest) IsServerError ¶ added in v0.2.2
func (o *ListGARMAgentReleasesBadRequest) IsServerError() bool
IsServerError returns true when this list g a r m agent releases bad request response has a 5xx status code
func (*ListGARMAgentReleasesBadRequest) IsSuccess ¶ added in v0.2.2
func (o *ListGARMAgentReleasesBadRequest) IsSuccess() bool
IsSuccess returns true when this list g a r m agent releases bad request response has a 2xx status code
func (*ListGARMAgentReleasesBadRequest) String ¶ added in v0.2.2
func (o *ListGARMAgentReleasesBadRequest) String() string
type ListGARMAgentReleasesOK ¶ added in v0.2.2
type ListGARMAgentReleasesOK struct {
Payload garm_params.GARMAgentReleases
}
ListGARMAgentReleasesOK describes a response with status code 200, with default header values.
GARMAgentReleases
func NewListGARMAgentReleasesOK ¶ added in v0.2.2
func NewListGARMAgentReleasesOK() *ListGARMAgentReleasesOK
NewListGARMAgentReleasesOK creates a ListGARMAgentReleasesOK with default headers values
func (*ListGARMAgentReleasesOK) Code ¶ added in v0.2.2
func (o *ListGARMAgentReleasesOK) Code() int
Code gets the status code for the list g a r m agent releases o k response
func (*ListGARMAgentReleasesOK) Error ¶ added in v0.2.2
func (o *ListGARMAgentReleasesOK) Error() string
func (*ListGARMAgentReleasesOK) GetPayload ¶ added in v0.2.2
func (o *ListGARMAgentReleasesOK) GetPayload() garm_params.GARMAgentReleases
func (*ListGARMAgentReleasesOK) IsClientError ¶ added in v0.2.2
func (o *ListGARMAgentReleasesOK) IsClientError() bool
IsClientError returns true when this list g a r m agent releases o k response has a 4xx status code
func (*ListGARMAgentReleasesOK) IsCode ¶ added in v0.2.2
func (o *ListGARMAgentReleasesOK) IsCode(code int) bool
IsCode returns true when this list g a r m agent releases o k response a status code equal to that given
func (*ListGARMAgentReleasesOK) IsRedirect ¶ added in v0.2.2
func (o *ListGARMAgentReleasesOK) IsRedirect() bool
IsRedirect returns true when this list g a r m agent releases o k response has a 3xx status code
func (*ListGARMAgentReleasesOK) IsServerError ¶ added in v0.2.2
func (o *ListGARMAgentReleasesOK) IsServerError() bool
IsServerError returns true when this list g a r m agent releases o k response has a 5xx status code
func (*ListGARMAgentReleasesOK) IsSuccess ¶ added in v0.2.2
func (o *ListGARMAgentReleasesOK) IsSuccess() bool
IsSuccess returns true when this list g a r m agent releases o k response has a 2xx status code
func (*ListGARMAgentReleasesOK) String ¶ added in v0.2.2
func (o *ListGARMAgentReleasesOK) String() string
type ListGARMAgentReleasesParams ¶ added in v0.2.2
type ListGARMAgentReleasesParams struct {
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
ListGARMAgentReleasesParams contains all the parameters to send to the API endpoint
for the list g a r m agent releases operation. Typically these are written to a http.Request.
func NewListGARMAgentReleasesParams ¶ added in v0.2.2
func NewListGARMAgentReleasesParams() *ListGARMAgentReleasesParams
NewListGARMAgentReleasesParams creates a new ListGARMAgentReleasesParams 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 NewListGARMAgentReleasesParamsWithContext ¶ added in v0.2.2
func NewListGARMAgentReleasesParamsWithContext(ctx context.Context) *ListGARMAgentReleasesParams
NewListGARMAgentReleasesParamsWithContext creates a new ListGARMAgentReleasesParams object with the ability to set a context for a request.
func NewListGARMAgentReleasesParamsWithHTTPClient ¶ added in v0.2.2
func NewListGARMAgentReleasesParamsWithHTTPClient(client *http.Client) *ListGARMAgentReleasesParams
NewListGARMAgentReleasesParamsWithHTTPClient creates a new ListGARMAgentReleasesParams object with the ability to set a custom HTTPClient for a request.
func NewListGARMAgentReleasesParamsWithTimeout ¶ added in v0.2.2
func NewListGARMAgentReleasesParamsWithTimeout(timeout time.Duration) *ListGARMAgentReleasesParams
NewListGARMAgentReleasesParamsWithTimeout creates a new ListGARMAgentReleasesParams object with the ability to set a timeout on a request.
func (*ListGARMAgentReleasesParams) SetContext ¶ added in v0.2.2
func (o *ListGARMAgentReleasesParams) SetContext(ctx context.Context)
SetContext adds the context to the list g a r m agent releases params
func (*ListGARMAgentReleasesParams) SetDefaults ¶ added in v0.2.2
func (o *ListGARMAgentReleasesParams) SetDefaults()
SetDefaults hydrates default values in the list g a r m agent releases params (not the query body).
All values with no default are reset to their zero value.
func (*ListGARMAgentReleasesParams) SetHTTPClient ¶ added in v0.2.2
func (o *ListGARMAgentReleasesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list g a r m agent releases params
func (*ListGARMAgentReleasesParams) SetTimeout ¶ added in v0.2.2
func (o *ListGARMAgentReleasesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list g a r m agent releases params
func (*ListGARMAgentReleasesParams) WithContext ¶ added in v0.2.2
func (o *ListGARMAgentReleasesParams) WithContext(ctx context.Context) *ListGARMAgentReleasesParams
WithContext adds the context to the list g a r m agent releases params
func (*ListGARMAgentReleasesParams) WithDefaults ¶ added in v0.2.2
func (o *ListGARMAgentReleasesParams) WithDefaults() *ListGARMAgentReleasesParams
WithDefaults hydrates default values in the list g a r m agent releases params (not the query body).
All values with no default are reset to their zero value.
func (*ListGARMAgentReleasesParams) WithHTTPClient ¶ added in v0.2.2
func (o *ListGARMAgentReleasesParams) WithHTTPClient(client *http.Client) *ListGARMAgentReleasesParams
WithHTTPClient adds the HTTPClient to the list g a r m agent releases params
func (*ListGARMAgentReleasesParams) WithTimeout ¶ added in v0.2.2
func (o *ListGARMAgentReleasesParams) WithTimeout(timeout time.Duration) *ListGARMAgentReleasesParams
WithTimeout adds the timeout to the list g a r m agent releases params
func (*ListGARMAgentReleasesParams) WriteToRequest ¶ added in v0.2.2
func (o *ListGARMAgentReleasesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListGARMAgentReleasesReader ¶ added in v0.2.2
type ListGARMAgentReleasesReader struct {
// contains filtered or unexported fields
}
ListGARMAgentReleasesReader is a Reader for the ListGARMAgentReleases structure.
func (*ListGARMAgentReleasesReader) ReadResponse ¶ added in v0.2.2
func (o *ListGARMAgentReleasesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type UploadGARMAgentToolBadRequest ¶
type UploadGARMAgentToolBadRequest struct {
Payload apiserver_params.APIErrorResponse
}
UploadGARMAgentToolBadRequest describes a response with status code 400, with default header values.
APIErrorResponse
func NewUploadGARMAgentToolBadRequest ¶
func NewUploadGARMAgentToolBadRequest() *UploadGARMAgentToolBadRequest
NewUploadGARMAgentToolBadRequest creates a UploadGARMAgentToolBadRequest with default headers values
func (*UploadGARMAgentToolBadRequest) Code ¶
func (o *UploadGARMAgentToolBadRequest) Code() int
Code gets the status code for the upload g a r m agent tool bad request response
func (*UploadGARMAgentToolBadRequest) Error ¶
func (o *UploadGARMAgentToolBadRequest) Error() string
func (*UploadGARMAgentToolBadRequest) GetPayload ¶
func (o *UploadGARMAgentToolBadRequest) GetPayload() apiserver_params.APIErrorResponse
func (*UploadGARMAgentToolBadRequest) IsClientError ¶
func (o *UploadGARMAgentToolBadRequest) IsClientError() bool
IsClientError returns true when this upload g a r m agent tool bad request response has a 4xx status code
func (*UploadGARMAgentToolBadRequest) IsCode ¶
func (o *UploadGARMAgentToolBadRequest) IsCode(code int) bool
IsCode returns true when this upload g a r m agent tool bad request response a status code equal to that given
func (*UploadGARMAgentToolBadRequest) IsRedirect ¶
func (o *UploadGARMAgentToolBadRequest) IsRedirect() bool
IsRedirect returns true when this upload g a r m agent tool bad request response has a 3xx status code
func (*UploadGARMAgentToolBadRequest) IsServerError ¶
func (o *UploadGARMAgentToolBadRequest) IsServerError() bool
IsServerError returns true when this upload g a r m agent tool bad request response has a 5xx status code
func (*UploadGARMAgentToolBadRequest) IsSuccess ¶
func (o *UploadGARMAgentToolBadRequest) IsSuccess() bool
IsSuccess returns true when this upload g a r m agent tool bad request response has a 2xx status code
func (*UploadGARMAgentToolBadRequest) String ¶
func (o *UploadGARMAgentToolBadRequest) String() string
type UploadGARMAgentToolOK ¶
type UploadGARMAgentToolOK struct {
Payload garm_params.FileObject
}
UploadGARMAgentToolOK describes a response with status code 200, with default header values.
FileObject
func NewUploadGARMAgentToolOK ¶
func NewUploadGARMAgentToolOK() *UploadGARMAgentToolOK
NewUploadGARMAgentToolOK creates a UploadGARMAgentToolOK with default headers values
func (*UploadGARMAgentToolOK) Code ¶
func (o *UploadGARMAgentToolOK) Code() int
Code gets the status code for the upload g a r m agent tool o k response
func (*UploadGARMAgentToolOK) Error ¶
func (o *UploadGARMAgentToolOK) Error() string
func (*UploadGARMAgentToolOK) GetPayload ¶
func (o *UploadGARMAgentToolOK) GetPayload() garm_params.FileObject
func (*UploadGARMAgentToolOK) IsClientError ¶
func (o *UploadGARMAgentToolOK) IsClientError() bool
IsClientError returns true when this upload g a r m agent tool o k response has a 4xx status code
func (*UploadGARMAgentToolOK) IsCode ¶
func (o *UploadGARMAgentToolOK) IsCode(code int) bool
IsCode returns true when this upload g a r m agent tool o k response a status code equal to that given
func (*UploadGARMAgentToolOK) IsRedirect ¶
func (o *UploadGARMAgentToolOK) IsRedirect() bool
IsRedirect returns true when this upload g a r m agent tool o k response has a 3xx status code
func (*UploadGARMAgentToolOK) IsServerError ¶
func (o *UploadGARMAgentToolOK) IsServerError() bool
IsServerError returns true when this upload g a r m agent tool o k response has a 5xx status code
func (*UploadGARMAgentToolOK) IsSuccess ¶
func (o *UploadGARMAgentToolOK) IsSuccess() bool
IsSuccess returns true when this upload g a r m agent tool o k response has a 2xx status code
func (*UploadGARMAgentToolOK) String ¶
func (o *UploadGARMAgentToolOK) String() string
type UploadGARMAgentToolParams ¶
type UploadGARMAgentToolParams struct {
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
UploadGARMAgentToolParams contains all the parameters to send to the API endpoint
for the upload g a r m agent tool operation. Typically these are written to a http.Request.
func NewUploadGARMAgentToolParams ¶
func NewUploadGARMAgentToolParams() *UploadGARMAgentToolParams
NewUploadGARMAgentToolParams creates a new UploadGARMAgentToolParams 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 NewUploadGARMAgentToolParamsWithContext ¶
func NewUploadGARMAgentToolParamsWithContext(ctx context.Context) *UploadGARMAgentToolParams
NewUploadGARMAgentToolParamsWithContext creates a new UploadGARMAgentToolParams object with the ability to set a context for a request.
func NewUploadGARMAgentToolParamsWithHTTPClient ¶
func NewUploadGARMAgentToolParamsWithHTTPClient(client *http.Client) *UploadGARMAgentToolParams
NewUploadGARMAgentToolParamsWithHTTPClient creates a new UploadGARMAgentToolParams object with the ability to set a custom HTTPClient for a request.
func NewUploadGARMAgentToolParamsWithTimeout ¶
func NewUploadGARMAgentToolParamsWithTimeout(timeout time.Duration) *UploadGARMAgentToolParams
NewUploadGARMAgentToolParamsWithTimeout creates a new UploadGARMAgentToolParams object with the ability to set a timeout on a request.
func (*UploadGARMAgentToolParams) SetContext ¶
func (o *UploadGARMAgentToolParams) SetContext(ctx context.Context)
SetContext adds the context to the upload g a r m agent tool params
func (*UploadGARMAgentToolParams) SetDefaults ¶
func (o *UploadGARMAgentToolParams) SetDefaults()
SetDefaults hydrates default values in the upload g a r m agent tool params (not the query body).
All values with no default are reset to their zero value.
func (*UploadGARMAgentToolParams) SetHTTPClient ¶
func (o *UploadGARMAgentToolParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the upload g a r m agent tool params
func (*UploadGARMAgentToolParams) SetTimeout ¶
func (o *UploadGARMAgentToolParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the upload g a r m agent tool params
func (*UploadGARMAgentToolParams) WithContext ¶
func (o *UploadGARMAgentToolParams) WithContext(ctx context.Context) *UploadGARMAgentToolParams
WithContext adds the context to the upload g a r m agent tool params
func (*UploadGARMAgentToolParams) WithDefaults ¶
func (o *UploadGARMAgentToolParams) WithDefaults() *UploadGARMAgentToolParams
WithDefaults hydrates default values in the upload g a r m agent tool params (not the query body).
All values with no default are reset to their zero value.
func (*UploadGARMAgentToolParams) WithHTTPClient ¶
func (o *UploadGARMAgentToolParams) WithHTTPClient(client *http.Client) *UploadGARMAgentToolParams
WithHTTPClient adds the HTTPClient to the upload g a r m agent tool params
func (*UploadGARMAgentToolParams) WithTimeout ¶
func (o *UploadGARMAgentToolParams) WithTimeout(timeout time.Duration) *UploadGARMAgentToolParams
WithTimeout adds the timeout to the upload g a r m agent tool params
func (*UploadGARMAgentToolParams) WriteToRequest ¶
func (o *UploadGARMAgentToolParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UploadGARMAgentToolReader ¶
type UploadGARMAgentToolReader struct {
// contains filtered or unexported fields
}
UploadGARMAgentToolReader is a Reader for the UploadGARMAgentTool structure.
func (*UploadGARMAgentToolReader) ReadResponse ¶
func (o *UploadGARMAgentToolReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type UploadGARMAgentToolUnauthorized ¶
type UploadGARMAgentToolUnauthorized struct {
}
UploadGARMAgentToolUnauthorized describes a response with status code 401, with default header values.
APIErrorResponse
func NewUploadGARMAgentToolUnauthorized ¶
func NewUploadGARMAgentToolUnauthorized() *UploadGARMAgentToolUnauthorized
NewUploadGARMAgentToolUnauthorized creates a UploadGARMAgentToolUnauthorized with default headers values
func (*UploadGARMAgentToolUnauthorized) Code ¶
func (o *UploadGARMAgentToolUnauthorized) Code() int
Code gets the status code for the upload g a r m agent tool unauthorized response
func (*UploadGARMAgentToolUnauthorized) Error ¶
func (o *UploadGARMAgentToolUnauthorized) Error() string
func (*UploadGARMAgentToolUnauthorized) GetPayload ¶
func (o *UploadGARMAgentToolUnauthorized) GetPayload() apiserver_params.APIErrorResponse
func (*UploadGARMAgentToolUnauthorized) IsClientError ¶
func (o *UploadGARMAgentToolUnauthorized) IsClientError() bool
IsClientError returns true when this upload g a r m agent tool unauthorized response has a 4xx status code
func (*UploadGARMAgentToolUnauthorized) IsCode ¶
func (o *UploadGARMAgentToolUnauthorized) IsCode(code int) bool
IsCode returns true when this upload g a r m agent tool unauthorized response a status code equal to that given
func (*UploadGARMAgentToolUnauthorized) IsRedirect ¶
func (o *UploadGARMAgentToolUnauthorized) IsRedirect() bool
IsRedirect returns true when this upload g a r m agent tool unauthorized response has a 3xx status code
func (*UploadGARMAgentToolUnauthorized) IsServerError ¶
func (o *UploadGARMAgentToolUnauthorized) IsServerError() bool
IsServerError returns true when this upload g a r m agent tool unauthorized response has a 5xx status code
func (*UploadGARMAgentToolUnauthorized) IsSuccess ¶
func (o *UploadGARMAgentToolUnauthorized) IsSuccess() bool
IsSuccess returns true when this upload g a r m agent tool unauthorized response has a 2xx status code
func (*UploadGARMAgentToolUnauthorized) String ¶
func (o *UploadGARMAgentToolUnauthorized) String() string