Documentation
¶
Overview ¶
Package gen provides primitives to interact with the openapi HTTP API.
Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.5.1 DO NOT EDIT.
Package gen contains generated code for the OSAPI REST API client.
Index ¶
- Constants
- func NewAcceptAgentRequest(server string, hostname string, params *AcceptAgentParams) (*http.Request, error)
- func NewDeleteFileByNameRequest(server string, name FileName) (*http.Request, error)
- func NewDeleteJobByIDRequest(server string, id openapi_types.UUID) (*http.Request, error)
- func NewDeleteNodeCertificateCaRequest(server string, hostname Hostname, name CertName) (*http.Request, error)
- func NewDeleteNodeContainerDockerByIDRequest(server string, hostname Hostname, id DockerId, ...) (*http.Request, error)
- func NewDeleteNodeContainerDockerImageRequest(server string, hostname Hostname, image string, ...) (*http.Request, error)
- func NewDeleteNodeGroupRequest(server string, hostname Hostname, name GroupName) (*http.Request, error)
- func NewDeleteNodeNetworkDNSRequest(server string, hostname Hostname, body DeleteNodeNetworkDNSJSONRequestBody) (*http.Request, error)
- func NewDeleteNodeNetworkDNSRequestWithBody(server string, hostname Hostname, contentType string, body io.Reader) (*http.Request, error)
- func NewDeleteNodeNetworkInterfaceRequest(server string, hostname Hostname, name InterfaceName) (*http.Request, error)
- func NewDeleteNodeNetworkRouteRequest(server string, hostname Hostname, interfaceName RouteInterfaceName) (*http.Request, error)
- func NewDeleteNodeNtpRequest(server string, hostname Hostname) (*http.Request, error)
- func NewDeleteNodePackageRequest(server string, hostname Hostname, name PackageName) (*http.Request, error)
- func NewDeleteNodeScheduleCronRequest(server string, hostname Hostname, name CronName) (*http.Request, error)
- func NewDeleteNodeServiceRequest(server string, hostname Hostname, name ServiceName) (*http.Request, error)
- func NewDeleteNodeSysctlRequest(server string, hostname Hostname, key SysctlKey) (*http.Request, error)
- func NewDeleteNodeUserRequest(server string, hostname Hostname, name UserName) (*http.Request, error)
- func NewDeleteNodeUserSSHKeyRequest(server string, hostname Hostname, name UserName, fingerprint SSHKeyFingerprint) (*http.Request, error)
- func NewDrainAgentRequest(server string, hostname string) (*http.Request, error)
- func NewGetAgentDetailsRequest(server string, hostname string) (*http.Request, error)
- func NewGetAgentsPendingRequest(server string) (*http.Request, error)
- func NewGetAgentsRequest(server string) (*http.Request, error)
- func NewGetApiVersionRequest(server string) (*http.Request, error)
- func NewGetAuditExportRequest(server string) (*http.Request, error)
- func NewGetAuditLogByIDRequest(server string, id openapi_types.UUID) (*http.Request, error)
- func NewGetAuditLogsRequest(server string, params *GetAuditLogsParams) (*http.Request, error)
- func NewGetFactKeysRequest(server string) (*http.Request, error)
- func NewGetFileByNameRequest(server string, name FileName) (*http.Request, error)
- func NewGetFileStaleRequest(server string) (*http.Request, error)
- func NewGetFilesRequest(server string) (*http.Request, error)
- func NewGetHealthReadyRequest(server string) (*http.Request, error)
- func NewGetHealthRequest(server string) (*http.Request, error)
- func NewGetHealthStatusRequest(server string) (*http.Request, error)
- func NewGetJobByIDRequest(server string, id openapi_types.UUID) (*http.Request, error)
- func NewGetJobsRequest(server string, params *GetJobsParams) (*http.Request, error)
- func NewGetNodeCertificateCaRequest(server string, hostname Hostname) (*http.Request, error)
- func NewGetNodeContainerDockerByIDRequest(server string, hostname Hostname, id DockerId) (*http.Request, error)
- func NewGetNodeContainerDockerRequest(server string, hostname Hostname, params *GetNodeContainerDockerParams) (*http.Request, error)
- func NewGetNodeDiskRequest(server string, hostname Hostname) (*http.Request, error)
- func NewGetNodeGroupByNameRequest(server string, hostname Hostname, name GroupName) (*http.Request, error)
- func NewGetNodeGroupRequest(server string, hostname Hostname) (*http.Request, error)
- func NewGetNodeHostnameRequest(server string, hostname Hostname) (*http.Request, error)
- func NewGetNodeLoadRequest(server string, hostname Hostname) (*http.Request, error)
- func NewGetNodeLogRequest(server string, hostname Hostname, params *GetNodeLogParams) (*http.Request, error)
- func NewGetNodeLogSourceRequest(server string, hostname Hostname) (*http.Request, error)
- func NewGetNodeLogUnitRequest(server string, hostname Hostname, name UnitName, params *GetNodeLogUnitParams) (*http.Request, error)
- func NewGetNodeMemoryRequest(server string, hostname Hostname) (*http.Request, error)
- func NewGetNodeNetworkDNSByInterfaceRequest(server string, hostname Hostname, interfaceName string) (*http.Request, error)
- func NewGetNodeNetworkInterfaceByNameRequest(server string, hostname Hostname, name InterfaceName) (*http.Request, error)
- func NewGetNodeNetworkInterfaceRequest(server string, hostname Hostname) (*http.Request, error)
- func NewGetNodeNetworkRouteByInterfaceRequest(server string, hostname Hostname, interfaceName RouteInterfaceName) (*http.Request, error)
- func NewGetNodeNetworkRouteRequest(server string, hostname Hostname) (*http.Request, error)
- func NewGetNodeNtpRequest(server string, hostname Hostname) (*http.Request, error)
- func NewGetNodeOSRequest(server string, hostname Hostname) (*http.Request, error)
- func NewGetNodePackageByNameRequest(server string, hostname Hostname, name PackageName) (*http.Request, error)
- func NewGetNodePackageRequest(server string, hostname Hostname) (*http.Request, error)
- func NewGetNodePackageUpdateRequest(server string, hostname Hostname) (*http.Request, error)
- func NewGetNodeProcessByPidRequest(server string, hostname Hostname, pid Pid) (*http.Request, error)
- func NewGetNodeProcessRequest(server string, hostname Hostname) (*http.Request, error)
- func NewGetNodeScheduleCronByNameRequest(server string, hostname Hostname, name CronName) (*http.Request, error)
- func NewGetNodeScheduleCronRequest(server string, hostname Hostname) (*http.Request, error)
- func NewGetNodeServiceByNameRequest(server string, hostname Hostname, name ServiceName) (*http.Request, error)
- func NewGetNodeServiceRequest(server string, hostname Hostname) (*http.Request, error)
- func NewGetNodeStatusRequest(server string, hostname Hostname) (*http.Request, error)
- func NewGetNodeSysctlByKeyRequest(server string, hostname Hostname, key SysctlKey) (*http.Request, error)
- func NewGetNodeSysctlRequest(server string, hostname Hostname) (*http.Request, error)
- func NewGetNodeTimezoneRequest(server string, hostname Hostname) (*http.Request, error)
- func NewGetNodeUptimeRequest(server string, hostname Hostname) (*http.Request, error)
- func NewGetNodeUserByNameRequest(server string, hostname Hostname, name UserName) (*http.Request, error)
- func NewGetNodeUserRequest(server string, hostname Hostname) (*http.Request, error)
- func NewGetNodeUserSSHKeyRequest(server string, hostname Hostname, name UserName) (*http.Request, error)
- func NewPostFileRequestWithBody(server string, params *PostFileParams, contentType string, body io.Reader) (*http.Request, error)
- func NewPostNodeCertificateCaRequest(server string, hostname Hostname, body PostNodeCertificateCaJSONRequestBody) (*http.Request, error)
- func NewPostNodeCertificateCaRequestWithBody(server string, hostname Hostname, contentType string, body io.Reader) (*http.Request, error)
- func NewPostNodeCommandExecRequest(server string, hostname Hostname, body PostNodeCommandExecJSONRequestBody) (*http.Request, error)
- func NewPostNodeCommandExecRequestWithBody(server string, hostname Hostname, contentType string, body io.Reader) (*http.Request, error)
- func NewPostNodeCommandShellRequest(server string, hostname Hostname, body PostNodeCommandShellJSONRequestBody) (*http.Request, error)
- func NewPostNodeCommandShellRequestWithBody(server string, hostname Hostname, contentType string, body io.Reader) (*http.Request, error)
- func NewPostNodeContainerDockerExecRequest(server string, hostname Hostname, id DockerId, ...) (*http.Request, error)
- func NewPostNodeContainerDockerExecRequestWithBody(server string, hostname Hostname, id DockerId, contentType string, ...) (*http.Request, error)
- func NewPostNodeContainerDockerPullRequest(server string, hostname Hostname, ...) (*http.Request, error)
- func NewPostNodeContainerDockerPullRequestWithBody(server string, hostname Hostname, contentType string, body io.Reader) (*http.Request, error)
- func NewPostNodeContainerDockerRequest(server string, hostname Hostname, body PostNodeContainerDockerJSONRequestBody) (*http.Request, error)
- func NewPostNodeContainerDockerRequestWithBody(server string, hostname Hostname, contentType string, body io.Reader) (*http.Request, error)
- func NewPostNodeContainerDockerStartRequest(server string, hostname Hostname, id DockerId) (*http.Request, error)
- func NewPostNodeContainerDockerStopRequest(server string, hostname Hostname, id DockerId, ...) (*http.Request, error)
- func NewPostNodeContainerDockerStopRequestWithBody(server string, hostname Hostname, id DockerId, contentType string, ...) (*http.Request, error)
- func NewPostNodeFileDeployRequest(server string, hostname Hostname, body PostNodeFileDeployJSONRequestBody) (*http.Request, error)
- func NewPostNodeFileDeployRequestWithBody(server string, hostname Hostname, contentType string, body io.Reader) (*http.Request, error)
- func NewPostNodeFileStatusRequest(server string, hostname Hostname, body PostNodeFileStatusJSONRequestBody) (*http.Request, error)
- func NewPostNodeFileStatusRequestWithBody(server string, hostname Hostname, contentType string, body io.Reader) (*http.Request, error)
- func NewPostNodeFileUndeployRequest(server string, hostname Hostname, body PostNodeFileUndeployJSONRequestBody) (*http.Request, error)
- func NewPostNodeFileUndeployRequestWithBody(server string, hostname Hostname, contentType string, body io.Reader) (*http.Request, error)
- func NewPostNodeGroupRequest(server string, hostname Hostname, body PostNodeGroupJSONRequestBody) (*http.Request, error)
- func NewPostNodeGroupRequestWithBody(server string, hostname Hostname, contentType string, body io.Reader) (*http.Request, error)
- func NewPostNodeNetworkInterfaceRequest(server string, hostname Hostname, name InterfaceName, ...) (*http.Request, error)
- func NewPostNodeNetworkInterfaceRequestWithBody(server string, hostname Hostname, name InterfaceName, contentType string, ...) (*http.Request, error)
- func NewPostNodeNetworkPingRequest(server string, hostname Hostname, body PostNodeNetworkPingJSONRequestBody) (*http.Request, error)
- func NewPostNodeNetworkPingRequestWithBody(server string, hostname Hostname, contentType string, body io.Reader) (*http.Request, error)
- func NewPostNodeNetworkRouteRequest(server string, hostname Hostname, interfaceName RouteInterfaceName, ...) (*http.Request, error)
- func NewPostNodeNetworkRouteRequestWithBody(server string, hostname Hostname, interfaceName RouteInterfaceName, ...) (*http.Request, error)
- func NewPostNodeNtpRequest(server string, hostname Hostname, body PostNodeNtpJSONRequestBody) (*http.Request, error)
- func NewPostNodeNtpRequestWithBody(server string, hostname Hostname, contentType string, body io.Reader) (*http.Request, error)
- func NewPostNodePackageRequest(server string, hostname Hostname, body PostNodePackageJSONRequestBody) (*http.Request, error)
- func NewPostNodePackageRequestWithBody(server string, hostname Hostname, contentType string, body io.Reader) (*http.Request, error)
- func NewPostNodePackageUpdateRequest(server string, hostname Hostname) (*http.Request, error)
- func NewPostNodePowerRebootRequest(server string, hostname Hostname, body PostNodePowerRebootJSONRequestBody) (*http.Request, error)
- func NewPostNodePowerRebootRequestWithBody(server string, hostname Hostname, contentType string, body io.Reader) (*http.Request, error)
- func NewPostNodePowerShutdownRequest(server string, hostname Hostname, body PostNodePowerShutdownJSONRequestBody) (*http.Request, error)
- func NewPostNodePowerShutdownRequestWithBody(server string, hostname Hostname, contentType string, body io.Reader) (*http.Request, error)
- func NewPostNodeProcessSignalRequest(server string, hostname Hostname, pid Pid, ...) (*http.Request, error)
- func NewPostNodeProcessSignalRequestWithBody(server string, hostname Hostname, pid Pid, contentType string, body io.Reader) (*http.Request, error)
- func NewPostNodeScheduleCronRequest(server string, hostname Hostname, body PostNodeScheduleCronJSONRequestBody) (*http.Request, error)
- func NewPostNodeScheduleCronRequestWithBody(server string, hostname Hostname, contentType string, body io.Reader) (*http.Request, error)
- func NewPostNodeServiceDisableRequest(server string, hostname Hostname, name ServiceName) (*http.Request, error)
- func NewPostNodeServiceEnableRequest(server string, hostname Hostname, name ServiceName) (*http.Request, error)
- func NewPostNodeServiceRequest(server string, hostname Hostname, body PostNodeServiceJSONRequestBody) (*http.Request, error)
- func NewPostNodeServiceRequestWithBody(server string, hostname Hostname, contentType string, body io.Reader) (*http.Request, error)
- func NewPostNodeServiceRestartRequest(server string, hostname Hostname, name ServiceName) (*http.Request, error)
- func NewPostNodeServiceStartRequest(server string, hostname Hostname, name ServiceName) (*http.Request, error)
- func NewPostNodeServiceStopRequest(server string, hostname Hostname, name ServiceName) (*http.Request, error)
- func NewPostNodeSysctlRequest(server string, hostname Hostname, body PostNodeSysctlJSONRequestBody) (*http.Request, error)
- func NewPostNodeSysctlRequestWithBody(server string, hostname Hostname, contentType string, body io.Reader) (*http.Request, error)
- func NewPostNodeUserPasswordRequest(server string, hostname Hostname, name UserName, ...) (*http.Request, error)
- func NewPostNodeUserPasswordRequestWithBody(server string, hostname Hostname, name UserName, contentType string, ...) (*http.Request, error)
- func NewPostNodeUserRequest(server string, hostname Hostname, body PostNodeUserJSONRequestBody) (*http.Request, error)
- func NewPostNodeUserRequestWithBody(server string, hostname Hostname, contentType string, body io.Reader) (*http.Request, error)
- func NewPostNodeUserSSHKeyRequest(server string, hostname Hostname, name UserName, ...) (*http.Request, error)
- func NewPostNodeUserSSHKeyRequestWithBody(server string, hostname Hostname, name UserName, contentType string, ...) (*http.Request, error)
- func NewPutNodeCertificateCaRequest(server string, hostname Hostname, name CertName, ...) (*http.Request, error)
- func NewPutNodeCertificateCaRequestWithBody(server string, hostname Hostname, name CertName, contentType string, ...) (*http.Request, error)
- func NewPutNodeGroupRequest(server string, hostname Hostname, name GroupName, ...) (*http.Request, error)
- func NewPutNodeGroupRequestWithBody(server string, hostname Hostname, name GroupName, contentType string, ...) (*http.Request, error)
- func NewPutNodeHostnameRequest(server string, hostname Hostname, body PutNodeHostnameJSONRequestBody) (*http.Request, error)
- func NewPutNodeHostnameRequestWithBody(server string, hostname Hostname, contentType string, body io.Reader) (*http.Request, error)
- func NewPutNodeNetworkDNSRequest(server string, hostname Hostname, body PutNodeNetworkDNSJSONRequestBody) (*http.Request, error)
- func NewPutNodeNetworkDNSRequestWithBody(server string, hostname Hostname, contentType string, body io.Reader) (*http.Request, error)
- func NewPutNodeNetworkInterfaceRequest(server string, hostname Hostname, name InterfaceName, ...) (*http.Request, error)
- func NewPutNodeNetworkInterfaceRequestWithBody(server string, hostname Hostname, name InterfaceName, contentType string, ...) (*http.Request, error)
- func NewPutNodeNetworkRouteRequest(server string, hostname Hostname, interfaceName RouteInterfaceName, ...) (*http.Request, error)
- func NewPutNodeNetworkRouteRequestWithBody(server string, hostname Hostname, interfaceName RouteInterfaceName, ...) (*http.Request, error)
- func NewPutNodeNtpRequest(server string, hostname Hostname, body PutNodeNtpJSONRequestBody) (*http.Request, error)
- func NewPutNodeNtpRequestWithBody(server string, hostname Hostname, contentType string, body io.Reader) (*http.Request, error)
- func NewPutNodeScheduleCronRequest(server string, hostname Hostname, name CronName, ...) (*http.Request, error)
- func NewPutNodeScheduleCronRequestWithBody(server string, hostname Hostname, name CronName, contentType string, ...) (*http.Request, error)
- func NewPutNodeServiceRequest(server string, hostname Hostname, name ServiceName, ...) (*http.Request, error)
- func NewPutNodeServiceRequestWithBody(server string, hostname Hostname, name ServiceName, contentType string, ...) (*http.Request, error)
- func NewPutNodeSysctlRequest(server string, hostname Hostname, key SysctlKey, ...) (*http.Request, error)
- func NewPutNodeSysctlRequestWithBody(server string, hostname Hostname, key SysctlKey, contentType string, ...) (*http.Request, error)
- func NewPutNodeTimezoneRequest(server string, hostname Hostname, body PutNodeTimezoneJSONRequestBody) (*http.Request, error)
- func NewPutNodeTimezoneRequestWithBody(server string, hostname Hostname, contentType string, body io.Reader) (*http.Request, error)
- func NewPutNodeUserRequest(server string, hostname Hostname, name UserName, ...) (*http.Request, error)
- func NewPutNodeUserRequestWithBody(server string, hostname Hostname, name UserName, contentType string, ...) (*http.Request, error)
- func NewRejectAgentRequest(server string, hostname string) (*http.Request, error)
- func NewRetryJobByIDRequest(server string, id openapi_types.UUID, body RetryJobByIDJSONRequestBody) (*http.Request, error)
- func NewRetryJobByIDRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
- func NewUndrainAgentRequest(server string, hostname string) (*http.Request, error)
- type AcceptAgentParams
- type AcceptAgentResponse
- type AgentDetail
- type AgentInfo
- type AgentInfoState
- type AgentInfoStatus
- type AgentStats
- type AuditEntry
- type AuditEntryResponse
- type CertName
- type CertificateCACollectionResponse
- type CertificateCACreateRequest
- type CertificateCAEntry
- type CertificateCAEntryStatus
- type CertificateCAInfo
- type CertificateCAInfoSource
- type CertificateCAMutationEntry
- type CertificateCAMutationEntryStatus
- type CertificateCAMutationResponse
- type CertificateCAUpdateRequest
- type Client
- func (c *Client) AcceptAgent(ctx context.Context, hostname string, params *AcceptAgentParams, ...) (*http.Response, error)
- func (c *Client) DeleteFileByName(ctx context.Context, name FileName, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteJobByID(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteNodeCertificateCa(ctx context.Context, hostname Hostname, name CertName, ...) (*http.Response, error)
- func (c *Client) DeleteNodeContainerDockerByID(ctx context.Context, hostname Hostname, id DockerId, ...) (*http.Response, error)
- func (c *Client) DeleteNodeContainerDockerImage(ctx context.Context, hostname Hostname, image string, ...) (*http.Response, error)
- func (c *Client) DeleteNodeGroup(ctx context.Context, hostname Hostname, name GroupName, ...) (*http.Response, error)
- func (c *Client) DeleteNodeNetworkDNS(ctx context.Context, hostname Hostname, ...) (*http.Response, error)
- func (c *Client) DeleteNodeNetworkDNSWithBody(ctx context.Context, hostname Hostname, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) DeleteNodeNetworkInterface(ctx context.Context, hostname Hostname, name InterfaceName, ...) (*http.Response, error)
- func (c *Client) DeleteNodeNetworkRoute(ctx context.Context, hostname Hostname, interfaceName RouteInterfaceName, ...) (*http.Response, error)
- func (c *Client) DeleteNodeNtp(ctx context.Context, hostname Hostname, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteNodePackage(ctx context.Context, hostname Hostname, name PackageName, ...) (*http.Response, error)
- func (c *Client) DeleteNodeScheduleCron(ctx context.Context, hostname Hostname, name CronName, ...) (*http.Response, error)
- func (c *Client) DeleteNodeService(ctx context.Context, hostname Hostname, name ServiceName, ...) (*http.Response, error)
- func (c *Client) DeleteNodeSysctl(ctx context.Context, hostname Hostname, key SysctlKey, ...) (*http.Response, error)
- func (c *Client) DeleteNodeUser(ctx context.Context, hostname Hostname, name UserName, ...) (*http.Response, error)
- func (c *Client) DeleteNodeUserSSHKey(ctx context.Context, hostname Hostname, name UserName, ...) (*http.Response, error)
- func (c *Client) DrainAgent(ctx context.Context, hostname string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetAgentDetails(ctx context.Context, hostname string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetAgents(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetAgentsPending(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetApiVersion(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetAuditExport(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetAuditLogByID(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetAuditLogs(ctx context.Context, params *GetAuditLogsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetFactKeys(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetFileByName(ctx context.Context, name FileName, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetFileStale(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetFiles(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetHealth(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetHealthReady(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetHealthStatus(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetJobByID(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetJobs(ctx context.Context, params *GetJobsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetNodeCertificateCa(ctx context.Context, hostname Hostname, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetNodeContainerDocker(ctx context.Context, hostname Hostname, params *GetNodeContainerDockerParams, ...) (*http.Response, error)
- func (c *Client) GetNodeContainerDockerByID(ctx context.Context, hostname Hostname, id DockerId, ...) (*http.Response, error)
- func (c *Client) GetNodeDisk(ctx context.Context, hostname Hostname, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetNodeGroup(ctx context.Context, hostname Hostname, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetNodeGroupByName(ctx context.Context, hostname Hostname, name GroupName, ...) (*http.Response, error)
- func (c *Client) GetNodeHostname(ctx context.Context, hostname Hostname, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetNodeLoad(ctx context.Context, hostname Hostname, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetNodeLog(ctx context.Context, hostname Hostname, params *GetNodeLogParams, ...) (*http.Response, error)
- func (c *Client) GetNodeLogSource(ctx context.Context, hostname Hostname, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetNodeLogUnit(ctx context.Context, hostname Hostname, name UnitName, ...) (*http.Response, error)
- func (c *Client) GetNodeMemory(ctx context.Context, hostname Hostname, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetNodeNetworkDNSByInterface(ctx context.Context, hostname Hostname, interfaceName string, ...) (*http.Response, error)
- func (c *Client) GetNodeNetworkInterface(ctx context.Context, hostname Hostname, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetNodeNetworkInterfaceByName(ctx context.Context, hostname Hostname, name InterfaceName, ...) (*http.Response, error)
- func (c *Client) GetNodeNetworkRoute(ctx context.Context, hostname Hostname, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetNodeNetworkRouteByInterface(ctx context.Context, hostname Hostname, interfaceName RouteInterfaceName, ...) (*http.Response, error)
- func (c *Client) GetNodeNtp(ctx context.Context, hostname Hostname, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetNodeOS(ctx context.Context, hostname Hostname, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetNodePackage(ctx context.Context, hostname Hostname, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetNodePackageByName(ctx context.Context, hostname Hostname, name PackageName, ...) (*http.Response, error)
- func (c *Client) GetNodePackageUpdate(ctx context.Context, hostname Hostname, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetNodeProcess(ctx context.Context, hostname Hostname, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetNodeProcessByPid(ctx context.Context, hostname Hostname, pid Pid, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetNodeScheduleCron(ctx context.Context, hostname Hostname, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetNodeScheduleCronByName(ctx context.Context, hostname Hostname, name CronName, ...) (*http.Response, error)
- func (c *Client) GetNodeService(ctx context.Context, hostname Hostname, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetNodeServiceByName(ctx context.Context, hostname Hostname, name ServiceName, ...) (*http.Response, error)
- func (c *Client) GetNodeStatus(ctx context.Context, hostname Hostname, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetNodeSysctl(ctx context.Context, hostname Hostname, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetNodeSysctlByKey(ctx context.Context, hostname Hostname, key SysctlKey, ...) (*http.Response, error)
- func (c *Client) GetNodeTimezone(ctx context.Context, hostname Hostname, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetNodeUptime(ctx context.Context, hostname Hostname, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetNodeUser(ctx context.Context, hostname Hostname, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetNodeUserByName(ctx context.Context, hostname Hostname, name UserName, ...) (*http.Response, error)
- func (c *Client) GetNodeUserSSHKey(ctx context.Context, hostname Hostname, name UserName, ...) (*http.Response, error)
- func (c *Client) PostFileWithBody(ctx context.Context, params *PostFileParams, contentType string, ...) (*http.Response, error)
- func (c *Client) PostNodeCertificateCa(ctx context.Context, hostname Hostname, ...) (*http.Response, error)
- func (c *Client) PostNodeCertificateCaWithBody(ctx context.Context, hostname Hostname, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PostNodeCommandExec(ctx context.Context, hostname Hostname, ...) (*http.Response, error)
- func (c *Client) PostNodeCommandExecWithBody(ctx context.Context, hostname Hostname, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PostNodeCommandShell(ctx context.Context, hostname Hostname, ...) (*http.Response, error)
- func (c *Client) PostNodeCommandShellWithBody(ctx context.Context, hostname Hostname, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PostNodeContainerDocker(ctx context.Context, hostname Hostname, ...) (*http.Response, error)
- func (c *Client) PostNodeContainerDockerExec(ctx context.Context, hostname Hostname, id DockerId, ...) (*http.Response, error)
- func (c *Client) PostNodeContainerDockerExecWithBody(ctx context.Context, hostname Hostname, id DockerId, contentType string, ...) (*http.Response, error)
- func (c *Client) PostNodeContainerDockerPull(ctx context.Context, hostname Hostname, ...) (*http.Response, error)
- func (c *Client) PostNodeContainerDockerPullWithBody(ctx context.Context, hostname Hostname, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PostNodeContainerDockerStart(ctx context.Context, hostname Hostname, id DockerId, ...) (*http.Response, error)
- func (c *Client) PostNodeContainerDockerStop(ctx context.Context, hostname Hostname, id DockerId, ...) (*http.Response, error)
- func (c *Client) PostNodeContainerDockerStopWithBody(ctx context.Context, hostname Hostname, id DockerId, contentType string, ...) (*http.Response, error)
- func (c *Client) PostNodeContainerDockerWithBody(ctx context.Context, hostname Hostname, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PostNodeFileDeploy(ctx context.Context, hostname Hostname, body PostNodeFileDeployJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PostNodeFileDeployWithBody(ctx context.Context, hostname Hostname, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PostNodeFileStatus(ctx context.Context, hostname Hostname, body PostNodeFileStatusJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PostNodeFileStatusWithBody(ctx context.Context, hostname Hostname, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PostNodeFileUndeploy(ctx context.Context, hostname Hostname, ...) (*http.Response, error)
- func (c *Client) PostNodeFileUndeployWithBody(ctx context.Context, hostname Hostname, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PostNodeGroup(ctx context.Context, hostname Hostname, body PostNodeGroupJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PostNodeGroupWithBody(ctx context.Context, hostname Hostname, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PostNodeNetworkInterface(ctx context.Context, hostname Hostname, name InterfaceName, ...) (*http.Response, error)
- func (c *Client) PostNodeNetworkInterfaceWithBody(ctx context.Context, hostname Hostname, name InterfaceName, contentType string, ...) (*http.Response, error)
- func (c *Client) PostNodeNetworkPing(ctx context.Context, hostname Hostname, ...) (*http.Response, error)
- func (c *Client) PostNodeNetworkPingWithBody(ctx context.Context, hostname Hostname, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PostNodeNetworkRoute(ctx context.Context, hostname Hostname, interfaceName RouteInterfaceName, ...) (*http.Response, error)
- func (c *Client) PostNodeNetworkRouteWithBody(ctx context.Context, hostname Hostname, interfaceName RouteInterfaceName, ...) (*http.Response, error)
- func (c *Client) PostNodeNtp(ctx context.Context, hostname Hostname, body PostNodeNtpJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PostNodeNtpWithBody(ctx context.Context, hostname Hostname, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PostNodePackage(ctx context.Context, hostname Hostname, body PostNodePackageJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PostNodePackageUpdate(ctx context.Context, hostname Hostname, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) PostNodePackageWithBody(ctx context.Context, hostname Hostname, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PostNodePowerReboot(ctx context.Context, hostname Hostname, ...) (*http.Response, error)
- func (c *Client) PostNodePowerRebootWithBody(ctx context.Context, hostname Hostname, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PostNodePowerShutdown(ctx context.Context, hostname Hostname, ...) (*http.Response, error)
- func (c *Client) PostNodePowerShutdownWithBody(ctx context.Context, hostname Hostname, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PostNodeProcessSignal(ctx context.Context, hostname Hostname, pid Pid, ...) (*http.Response, error)
- func (c *Client) PostNodeProcessSignalWithBody(ctx context.Context, hostname Hostname, pid Pid, contentType string, ...) (*http.Response, error)
- func (c *Client) PostNodeScheduleCron(ctx context.Context, hostname Hostname, ...) (*http.Response, error)
- func (c *Client) PostNodeScheduleCronWithBody(ctx context.Context, hostname Hostname, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PostNodeService(ctx context.Context, hostname Hostname, body PostNodeServiceJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PostNodeServiceDisable(ctx context.Context, hostname Hostname, name ServiceName, ...) (*http.Response, error)
- func (c *Client) PostNodeServiceEnable(ctx context.Context, hostname Hostname, name ServiceName, ...) (*http.Response, error)
- func (c *Client) PostNodeServiceRestart(ctx context.Context, hostname Hostname, name ServiceName, ...) (*http.Response, error)
- func (c *Client) PostNodeServiceStart(ctx context.Context, hostname Hostname, name ServiceName, ...) (*http.Response, error)
- func (c *Client) PostNodeServiceStop(ctx context.Context, hostname Hostname, name ServiceName, ...) (*http.Response, error)
- func (c *Client) PostNodeServiceWithBody(ctx context.Context, hostname Hostname, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PostNodeSysctl(ctx context.Context, hostname Hostname, body PostNodeSysctlJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PostNodeSysctlWithBody(ctx context.Context, hostname Hostname, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PostNodeUser(ctx context.Context, hostname Hostname, body PostNodeUserJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PostNodeUserPassword(ctx context.Context, hostname Hostname, name UserName, ...) (*http.Response, error)
- func (c *Client) PostNodeUserPasswordWithBody(ctx context.Context, hostname Hostname, name UserName, contentType string, ...) (*http.Response, error)
- func (c *Client) PostNodeUserSSHKey(ctx context.Context, hostname Hostname, name UserName, ...) (*http.Response, error)
- func (c *Client) PostNodeUserSSHKeyWithBody(ctx context.Context, hostname Hostname, name UserName, contentType string, ...) (*http.Response, error)
- func (c *Client) PostNodeUserWithBody(ctx context.Context, hostname Hostname, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PutNodeCertificateCa(ctx context.Context, hostname Hostname, name CertName, ...) (*http.Response, error)
- func (c *Client) PutNodeCertificateCaWithBody(ctx context.Context, hostname Hostname, name CertName, contentType string, ...) (*http.Response, error)
- func (c *Client) PutNodeGroup(ctx context.Context, hostname Hostname, name GroupName, ...) (*http.Response, error)
- func (c *Client) PutNodeGroupWithBody(ctx context.Context, hostname Hostname, name GroupName, contentType string, ...) (*http.Response, error)
- func (c *Client) PutNodeHostname(ctx context.Context, hostname Hostname, body PutNodeHostnameJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PutNodeHostnameWithBody(ctx context.Context, hostname Hostname, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PutNodeNetworkDNS(ctx context.Context, hostname Hostname, body PutNodeNetworkDNSJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PutNodeNetworkDNSWithBody(ctx context.Context, hostname Hostname, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PutNodeNetworkInterface(ctx context.Context, hostname Hostname, name InterfaceName, ...) (*http.Response, error)
- func (c *Client) PutNodeNetworkInterfaceWithBody(ctx context.Context, hostname Hostname, name InterfaceName, contentType string, ...) (*http.Response, error)
- func (c *Client) PutNodeNetworkRoute(ctx context.Context, hostname Hostname, interfaceName RouteInterfaceName, ...) (*http.Response, error)
- func (c *Client) PutNodeNetworkRouteWithBody(ctx context.Context, hostname Hostname, interfaceName RouteInterfaceName, ...) (*http.Response, error)
- func (c *Client) PutNodeNtp(ctx context.Context, hostname Hostname, body PutNodeNtpJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PutNodeNtpWithBody(ctx context.Context, hostname Hostname, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PutNodeScheduleCron(ctx context.Context, hostname Hostname, name CronName, ...) (*http.Response, error)
- func (c *Client) PutNodeScheduleCronWithBody(ctx context.Context, hostname Hostname, name CronName, contentType string, ...) (*http.Response, error)
- func (c *Client) PutNodeService(ctx context.Context, hostname Hostname, name ServiceName, ...) (*http.Response, error)
- func (c *Client) PutNodeServiceWithBody(ctx context.Context, hostname Hostname, name ServiceName, contentType string, ...) (*http.Response, error)
- func (c *Client) PutNodeSysctl(ctx context.Context, hostname Hostname, key SysctlKey, ...) (*http.Response, error)
- func (c *Client) PutNodeSysctlWithBody(ctx context.Context, hostname Hostname, key SysctlKey, contentType string, ...) (*http.Response, error)
- func (c *Client) PutNodeTimezone(ctx context.Context, hostname Hostname, body PutNodeTimezoneJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PutNodeTimezoneWithBody(ctx context.Context, hostname Hostname, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PutNodeUser(ctx context.Context, hostname Hostname, name UserName, ...) (*http.Response, error)
- func (c *Client) PutNodeUserWithBody(ctx context.Context, hostname Hostname, name UserName, contentType string, ...) (*http.Response, error)
- func (c *Client) RejectAgent(ctx context.Context, hostname string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) RetryJobByID(ctx context.Context, id openapi_types.UUID, body RetryJobByIDJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) RetryJobByIDWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UndrainAgent(ctx context.Context, hostname string, reqEditors ...RequestEditorFn) (*http.Response, error)
- type ClientInterface
- type ClientOption
- type ClientWithResponses
- func (c *ClientWithResponses) AcceptAgentWithResponse(ctx context.Context, hostname string, params *AcceptAgentParams, ...) (*AcceptAgentResponse, error)
- func (c *ClientWithResponses) DeleteFileByNameWithResponse(ctx context.Context, name FileName, reqEditors ...RequestEditorFn) (*DeleteFileByNameResponse, error)
- func (c *ClientWithResponses) DeleteJobByIDWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteJobByIDResponse, error)
- func (c *ClientWithResponses) DeleteNodeCertificateCaWithResponse(ctx context.Context, hostname Hostname, name CertName, ...) (*DeleteNodeCertificateCaResponse, error)
- func (c *ClientWithResponses) DeleteNodeContainerDockerByIDWithResponse(ctx context.Context, hostname Hostname, id DockerId, ...) (*DeleteNodeContainerDockerByIDResponse, error)
- func (c *ClientWithResponses) DeleteNodeContainerDockerImageWithResponse(ctx context.Context, hostname Hostname, image string, ...) (*DeleteNodeContainerDockerImageResponse, error)
- func (c *ClientWithResponses) DeleteNodeGroupWithResponse(ctx context.Context, hostname Hostname, name GroupName, ...) (*DeleteNodeGroupResponse, error)
- func (c *ClientWithResponses) DeleteNodeNetworkDNSWithBodyWithResponse(ctx context.Context, hostname Hostname, contentType string, body io.Reader, ...) (*DeleteNodeNetworkDNSResponse, error)
- func (c *ClientWithResponses) DeleteNodeNetworkDNSWithResponse(ctx context.Context, hostname Hostname, ...) (*DeleteNodeNetworkDNSResponse, error)
- func (c *ClientWithResponses) DeleteNodeNetworkInterfaceWithResponse(ctx context.Context, hostname Hostname, name InterfaceName, ...) (*DeleteNodeNetworkInterfaceResponse, error)
- func (c *ClientWithResponses) DeleteNodeNetworkRouteWithResponse(ctx context.Context, hostname Hostname, interfaceName RouteInterfaceName, ...) (*DeleteNodeNetworkRouteResponse, error)
- func (c *ClientWithResponses) DeleteNodeNtpWithResponse(ctx context.Context, hostname Hostname, reqEditors ...RequestEditorFn) (*DeleteNodeNtpResponse, error)
- func (c *ClientWithResponses) DeleteNodePackageWithResponse(ctx context.Context, hostname Hostname, name PackageName, ...) (*DeleteNodePackageResponse, error)
- func (c *ClientWithResponses) DeleteNodeScheduleCronWithResponse(ctx context.Context, hostname Hostname, name CronName, ...) (*DeleteNodeScheduleCronResponse, error)
- func (c *ClientWithResponses) DeleteNodeServiceWithResponse(ctx context.Context, hostname Hostname, name ServiceName, ...) (*DeleteNodeServiceResponse, error)
- func (c *ClientWithResponses) DeleteNodeSysctlWithResponse(ctx context.Context, hostname Hostname, key SysctlKey, ...) (*DeleteNodeSysctlResponse, error)
- func (c *ClientWithResponses) DeleteNodeUserSSHKeyWithResponse(ctx context.Context, hostname Hostname, name UserName, ...) (*DeleteNodeUserSSHKeyResponse, error)
- func (c *ClientWithResponses) DeleteNodeUserWithResponse(ctx context.Context, hostname Hostname, name UserName, ...) (*DeleteNodeUserResponse, error)
- func (c *ClientWithResponses) DrainAgentWithResponse(ctx context.Context, hostname string, reqEditors ...RequestEditorFn) (*DrainAgentResponse, error)
- func (c *ClientWithResponses) GetAgentDetailsWithResponse(ctx context.Context, hostname string, reqEditors ...RequestEditorFn) (*GetAgentDetailsResponse, error)
- func (c *ClientWithResponses) GetAgentsPendingWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAgentsPendingResponse, error)
- func (c *ClientWithResponses) GetAgentsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAgentsResponse, error)
- func (c *ClientWithResponses) GetApiVersionWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetApiVersionResponse, error)
- func (c *ClientWithResponses) GetAuditExportWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAuditExportResponse, error)
- func (c *ClientWithResponses) GetAuditLogByIDWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetAuditLogByIDResponse, error)
- func (c *ClientWithResponses) GetAuditLogsWithResponse(ctx context.Context, params *GetAuditLogsParams, reqEditors ...RequestEditorFn) (*GetAuditLogsResponse, error)
- func (c *ClientWithResponses) GetFactKeysWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetFactKeysResponse, error)
- func (c *ClientWithResponses) GetFileByNameWithResponse(ctx context.Context, name FileName, reqEditors ...RequestEditorFn) (*GetFileByNameResponse, error)
- func (c *ClientWithResponses) GetFileStaleWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetFileStaleResponse, error)
- func (c *ClientWithResponses) GetFilesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetFilesResponse, error)
- func (c *ClientWithResponses) GetHealthReadyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetHealthReadyResponse, error)
- func (c *ClientWithResponses) GetHealthStatusWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetHealthStatusResponse, error)
- func (c *ClientWithResponses) GetHealthWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetHealthResponse, error)
- func (c *ClientWithResponses) GetJobByIDWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetJobByIDResponse, error)
- func (c *ClientWithResponses) GetJobsWithResponse(ctx context.Context, params *GetJobsParams, reqEditors ...RequestEditorFn) (*GetJobsResponse, error)
- func (c *ClientWithResponses) GetNodeCertificateCaWithResponse(ctx context.Context, hostname Hostname, reqEditors ...RequestEditorFn) (*GetNodeCertificateCaResponse, error)
- func (c *ClientWithResponses) GetNodeContainerDockerByIDWithResponse(ctx context.Context, hostname Hostname, id DockerId, ...) (*GetNodeContainerDockerByIDResponse, error)
- func (c *ClientWithResponses) GetNodeContainerDockerWithResponse(ctx context.Context, hostname Hostname, params *GetNodeContainerDockerParams, ...) (*GetNodeContainerDockerResponse, error)
- func (c *ClientWithResponses) GetNodeDiskWithResponse(ctx context.Context, hostname Hostname, reqEditors ...RequestEditorFn) (*GetNodeDiskResponse, error)
- func (c *ClientWithResponses) GetNodeGroupByNameWithResponse(ctx context.Context, hostname Hostname, name GroupName, ...) (*GetNodeGroupByNameResponse, error)
- func (c *ClientWithResponses) GetNodeGroupWithResponse(ctx context.Context, hostname Hostname, reqEditors ...RequestEditorFn) (*GetNodeGroupResponse, error)
- func (c *ClientWithResponses) GetNodeHostnameWithResponse(ctx context.Context, hostname Hostname, reqEditors ...RequestEditorFn) (*GetNodeHostnameResponse, error)
- func (c *ClientWithResponses) GetNodeLoadWithResponse(ctx context.Context, hostname Hostname, reqEditors ...RequestEditorFn) (*GetNodeLoadResponse, error)
- func (c *ClientWithResponses) GetNodeLogSourceWithResponse(ctx context.Context, hostname Hostname, reqEditors ...RequestEditorFn) (*GetNodeLogSourceResponse, error)
- func (c *ClientWithResponses) GetNodeLogUnitWithResponse(ctx context.Context, hostname Hostname, name UnitName, ...) (*GetNodeLogUnitResponse, error)
- func (c *ClientWithResponses) GetNodeLogWithResponse(ctx context.Context, hostname Hostname, params *GetNodeLogParams, ...) (*GetNodeLogResponse, error)
- func (c *ClientWithResponses) GetNodeMemoryWithResponse(ctx context.Context, hostname Hostname, reqEditors ...RequestEditorFn) (*GetNodeMemoryResponse, error)
- func (c *ClientWithResponses) GetNodeNetworkDNSByInterfaceWithResponse(ctx context.Context, hostname Hostname, interfaceName string, ...) (*GetNodeNetworkDNSByInterfaceResponse, error)
- func (c *ClientWithResponses) GetNodeNetworkInterfaceByNameWithResponse(ctx context.Context, hostname Hostname, name InterfaceName, ...) (*GetNodeNetworkInterfaceByNameResponse, error)
- func (c *ClientWithResponses) GetNodeNetworkInterfaceWithResponse(ctx context.Context, hostname Hostname, reqEditors ...RequestEditorFn) (*GetNodeNetworkInterfaceResponse, error)
- func (c *ClientWithResponses) GetNodeNetworkRouteByInterfaceWithResponse(ctx context.Context, hostname Hostname, interfaceName RouteInterfaceName, ...) (*GetNodeNetworkRouteByInterfaceResponse, error)
- func (c *ClientWithResponses) GetNodeNetworkRouteWithResponse(ctx context.Context, hostname Hostname, reqEditors ...RequestEditorFn) (*GetNodeNetworkRouteResponse, error)
- func (c *ClientWithResponses) GetNodeNtpWithResponse(ctx context.Context, hostname Hostname, reqEditors ...RequestEditorFn) (*GetNodeNtpResponse, error)
- func (c *ClientWithResponses) GetNodeOSWithResponse(ctx context.Context, hostname Hostname, reqEditors ...RequestEditorFn) (*GetNodeOSResponse, error)
- func (c *ClientWithResponses) GetNodePackageByNameWithResponse(ctx context.Context, hostname Hostname, name PackageName, ...) (*GetNodePackageByNameResponse, error)
- func (c *ClientWithResponses) GetNodePackageUpdateWithResponse(ctx context.Context, hostname Hostname, reqEditors ...RequestEditorFn) (*GetNodePackageUpdateResponse, error)
- func (c *ClientWithResponses) GetNodePackageWithResponse(ctx context.Context, hostname Hostname, reqEditors ...RequestEditorFn) (*GetNodePackageResponse, error)
- func (c *ClientWithResponses) GetNodeProcessByPidWithResponse(ctx context.Context, hostname Hostname, pid Pid, reqEditors ...RequestEditorFn) (*GetNodeProcessByPidResponse, error)
- func (c *ClientWithResponses) GetNodeProcessWithResponse(ctx context.Context, hostname Hostname, reqEditors ...RequestEditorFn) (*GetNodeProcessResponse, error)
- func (c *ClientWithResponses) GetNodeScheduleCronByNameWithResponse(ctx context.Context, hostname Hostname, name CronName, ...) (*GetNodeScheduleCronByNameResponse, error)
- func (c *ClientWithResponses) GetNodeScheduleCronWithResponse(ctx context.Context, hostname Hostname, reqEditors ...RequestEditorFn) (*GetNodeScheduleCronResponse, error)
- func (c *ClientWithResponses) GetNodeServiceByNameWithResponse(ctx context.Context, hostname Hostname, name ServiceName, ...) (*GetNodeServiceByNameResponse, error)
- func (c *ClientWithResponses) GetNodeServiceWithResponse(ctx context.Context, hostname Hostname, reqEditors ...RequestEditorFn) (*GetNodeServiceResponse, error)
- func (c *ClientWithResponses) GetNodeStatusWithResponse(ctx context.Context, hostname Hostname, reqEditors ...RequestEditorFn) (*GetNodeStatusResponse, error)
- func (c *ClientWithResponses) GetNodeSysctlByKeyWithResponse(ctx context.Context, hostname Hostname, key SysctlKey, ...) (*GetNodeSysctlByKeyResponse, error)
- func (c *ClientWithResponses) GetNodeSysctlWithResponse(ctx context.Context, hostname Hostname, reqEditors ...RequestEditorFn) (*GetNodeSysctlResponse, error)
- func (c *ClientWithResponses) GetNodeTimezoneWithResponse(ctx context.Context, hostname Hostname, reqEditors ...RequestEditorFn) (*GetNodeTimezoneResponse, error)
- func (c *ClientWithResponses) GetNodeUptimeWithResponse(ctx context.Context, hostname Hostname, reqEditors ...RequestEditorFn) (*GetNodeUptimeResponse, error)
- func (c *ClientWithResponses) GetNodeUserByNameWithResponse(ctx context.Context, hostname Hostname, name UserName, ...) (*GetNodeUserByNameResponse, error)
- func (c *ClientWithResponses) GetNodeUserSSHKeyWithResponse(ctx context.Context, hostname Hostname, name UserName, ...) (*GetNodeUserSSHKeyResponse, error)
- func (c *ClientWithResponses) GetNodeUserWithResponse(ctx context.Context, hostname Hostname, reqEditors ...RequestEditorFn) (*GetNodeUserResponse, error)
- func (c *ClientWithResponses) PostFileWithBodyWithResponse(ctx context.Context, params *PostFileParams, contentType string, ...) (*PostFileResponse, error)
- func (c *ClientWithResponses) PostNodeCertificateCaWithBodyWithResponse(ctx context.Context, hostname Hostname, contentType string, body io.Reader, ...) (*PostNodeCertificateCaResponse, error)
- func (c *ClientWithResponses) PostNodeCertificateCaWithResponse(ctx context.Context, hostname Hostname, ...) (*PostNodeCertificateCaResponse, error)
- func (c *ClientWithResponses) PostNodeCommandExecWithBodyWithResponse(ctx context.Context, hostname Hostname, contentType string, body io.Reader, ...) (*PostNodeCommandExecResponse, error)
- func (c *ClientWithResponses) PostNodeCommandExecWithResponse(ctx context.Context, hostname Hostname, ...) (*PostNodeCommandExecResponse, error)
- func (c *ClientWithResponses) PostNodeCommandShellWithBodyWithResponse(ctx context.Context, hostname Hostname, contentType string, body io.Reader, ...) (*PostNodeCommandShellResponse, error)
- func (c *ClientWithResponses) PostNodeCommandShellWithResponse(ctx context.Context, hostname Hostname, ...) (*PostNodeCommandShellResponse, error)
- func (c *ClientWithResponses) PostNodeContainerDockerExecWithBodyWithResponse(ctx context.Context, hostname Hostname, id DockerId, contentType string, ...) (*PostNodeContainerDockerExecResponse, error)
- func (c *ClientWithResponses) PostNodeContainerDockerExecWithResponse(ctx context.Context, hostname Hostname, id DockerId, ...) (*PostNodeContainerDockerExecResponse, error)
- func (c *ClientWithResponses) PostNodeContainerDockerPullWithBodyWithResponse(ctx context.Context, hostname Hostname, contentType string, body io.Reader, ...) (*PostNodeContainerDockerPullResponse, error)
- func (c *ClientWithResponses) PostNodeContainerDockerPullWithResponse(ctx context.Context, hostname Hostname, ...) (*PostNodeContainerDockerPullResponse, error)
- func (c *ClientWithResponses) PostNodeContainerDockerStartWithResponse(ctx context.Context, hostname Hostname, id DockerId, ...) (*PostNodeContainerDockerStartResponse, error)
- func (c *ClientWithResponses) PostNodeContainerDockerStopWithBodyWithResponse(ctx context.Context, hostname Hostname, id DockerId, contentType string, ...) (*PostNodeContainerDockerStopResponse, error)
- func (c *ClientWithResponses) PostNodeContainerDockerStopWithResponse(ctx context.Context, hostname Hostname, id DockerId, ...) (*PostNodeContainerDockerStopResponse, error)
- func (c *ClientWithResponses) PostNodeContainerDockerWithBodyWithResponse(ctx context.Context, hostname Hostname, contentType string, body io.Reader, ...) (*PostNodeContainerDockerResponse, error)
- func (c *ClientWithResponses) PostNodeContainerDockerWithResponse(ctx context.Context, hostname Hostname, ...) (*PostNodeContainerDockerResponse, error)
- func (c *ClientWithResponses) PostNodeFileDeployWithBodyWithResponse(ctx context.Context, hostname Hostname, contentType string, body io.Reader, ...) (*PostNodeFileDeployResponse, error)
- func (c *ClientWithResponses) PostNodeFileDeployWithResponse(ctx context.Context, hostname Hostname, body PostNodeFileDeployJSONRequestBody, ...) (*PostNodeFileDeployResponse, error)
- func (c *ClientWithResponses) PostNodeFileStatusWithBodyWithResponse(ctx context.Context, hostname Hostname, contentType string, body io.Reader, ...) (*PostNodeFileStatusResponse, error)
- func (c *ClientWithResponses) PostNodeFileStatusWithResponse(ctx context.Context, hostname Hostname, body PostNodeFileStatusJSONRequestBody, ...) (*PostNodeFileStatusResponse, error)
- func (c *ClientWithResponses) PostNodeFileUndeployWithBodyWithResponse(ctx context.Context, hostname Hostname, contentType string, body io.Reader, ...) (*PostNodeFileUndeployResponse, error)
- func (c *ClientWithResponses) PostNodeFileUndeployWithResponse(ctx context.Context, hostname Hostname, ...) (*PostNodeFileUndeployResponse, error)
- func (c *ClientWithResponses) PostNodeGroupWithBodyWithResponse(ctx context.Context, hostname Hostname, contentType string, body io.Reader, ...) (*PostNodeGroupResponse, error)
- func (c *ClientWithResponses) PostNodeGroupWithResponse(ctx context.Context, hostname Hostname, body PostNodeGroupJSONRequestBody, ...) (*PostNodeGroupResponse, error)
- func (c *ClientWithResponses) PostNodeNetworkInterfaceWithBodyWithResponse(ctx context.Context, hostname Hostname, name InterfaceName, contentType string, ...) (*PostNodeNetworkInterfaceResponse, error)
- func (c *ClientWithResponses) PostNodeNetworkInterfaceWithResponse(ctx context.Context, hostname Hostname, name InterfaceName, ...) (*PostNodeNetworkInterfaceResponse, error)
- func (c *ClientWithResponses) PostNodeNetworkPingWithBodyWithResponse(ctx context.Context, hostname Hostname, contentType string, body io.Reader, ...) (*PostNodeNetworkPingResponse, error)
- func (c *ClientWithResponses) PostNodeNetworkPingWithResponse(ctx context.Context, hostname Hostname, ...) (*PostNodeNetworkPingResponse, error)
- func (c *ClientWithResponses) PostNodeNetworkRouteWithBodyWithResponse(ctx context.Context, hostname Hostname, interfaceName RouteInterfaceName, ...) (*PostNodeNetworkRouteResponse, error)
- func (c *ClientWithResponses) PostNodeNetworkRouteWithResponse(ctx context.Context, hostname Hostname, interfaceName RouteInterfaceName, ...) (*PostNodeNetworkRouteResponse, error)
- func (c *ClientWithResponses) PostNodeNtpWithBodyWithResponse(ctx context.Context, hostname Hostname, contentType string, body io.Reader, ...) (*PostNodeNtpResponse, error)
- func (c *ClientWithResponses) PostNodeNtpWithResponse(ctx context.Context, hostname Hostname, body PostNodeNtpJSONRequestBody, ...) (*PostNodeNtpResponse, error)
- func (c *ClientWithResponses) PostNodePackageUpdateWithResponse(ctx context.Context, hostname Hostname, reqEditors ...RequestEditorFn) (*PostNodePackageUpdateResponse, error)
- func (c *ClientWithResponses) PostNodePackageWithBodyWithResponse(ctx context.Context, hostname Hostname, contentType string, body io.Reader, ...) (*PostNodePackageResponse, error)
- func (c *ClientWithResponses) PostNodePackageWithResponse(ctx context.Context, hostname Hostname, body PostNodePackageJSONRequestBody, ...) (*PostNodePackageResponse, error)
- func (c *ClientWithResponses) PostNodePowerRebootWithBodyWithResponse(ctx context.Context, hostname Hostname, contentType string, body io.Reader, ...) (*PostNodePowerRebootResponse, error)
- func (c *ClientWithResponses) PostNodePowerRebootWithResponse(ctx context.Context, hostname Hostname, ...) (*PostNodePowerRebootResponse, error)
- func (c *ClientWithResponses) PostNodePowerShutdownWithBodyWithResponse(ctx context.Context, hostname Hostname, contentType string, body io.Reader, ...) (*PostNodePowerShutdownResponse, error)
- func (c *ClientWithResponses) PostNodePowerShutdownWithResponse(ctx context.Context, hostname Hostname, ...) (*PostNodePowerShutdownResponse, error)
- func (c *ClientWithResponses) PostNodeProcessSignalWithBodyWithResponse(ctx context.Context, hostname Hostname, pid Pid, contentType string, ...) (*PostNodeProcessSignalResponse, error)
- func (c *ClientWithResponses) PostNodeProcessSignalWithResponse(ctx context.Context, hostname Hostname, pid Pid, ...) (*PostNodeProcessSignalResponse, error)
- func (c *ClientWithResponses) PostNodeScheduleCronWithBodyWithResponse(ctx context.Context, hostname Hostname, contentType string, body io.Reader, ...) (*PostNodeScheduleCronResponse, error)
- func (c *ClientWithResponses) PostNodeScheduleCronWithResponse(ctx context.Context, hostname Hostname, ...) (*PostNodeScheduleCronResponse, error)
- func (c *ClientWithResponses) PostNodeServiceDisableWithResponse(ctx context.Context, hostname Hostname, name ServiceName, ...) (*PostNodeServiceDisableResponse, error)
- func (c *ClientWithResponses) PostNodeServiceEnableWithResponse(ctx context.Context, hostname Hostname, name ServiceName, ...) (*PostNodeServiceEnableResponse, error)
- func (c *ClientWithResponses) PostNodeServiceRestartWithResponse(ctx context.Context, hostname Hostname, name ServiceName, ...) (*PostNodeServiceRestartResponse, error)
- func (c *ClientWithResponses) PostNodeServiceStartWithResponse(ctx context.Context, hostname Hostname, name ServiceName, ...) (*PostNodeServiceStartResponse, error)
- func (c *ClientWithResponses) PostNodeServiceStopWithResponse(ctx context.Context, hostname Hostname, name ServiceName, ...) (*PostNodeServiceStopResponse, error)
- func (c *ClientWithResponses) PostNodeServiceWithBodyWithResponse(ctx context.Context, hostname Hostname, contentType string, body io.Reader, ...) (*PostNodeServiceResponse, error)
- func (c *ClientWithResponses) PostNodeServiceWithResponse(ctx context.Context, hostname Hostname, body PostNodeServiceJSONRequestBody, ...) (*PostNodeServiceResponse, error)
- func (c *ClientWithResponses) PostNodeSysctlWithBodyWithResponse(ctx context.Context, hostname Hostname, contentType string, body io.Reader, ...) (*PostNodeSysctlResponse, error)
- func (c *ClientWithResponses) PostNodeSysctlWithResponse(ctx context.Context, hostname Hostname, body PostNodeSysctlJSONRequestBody, ...) (*PostNodeSysctlResponse, error)
- func (c *ClientWithResponses) PostNodeUserPasswordWithBodyWithResponse(ctx context.Context, hostname Hostname, name UserName, contentType string, ...) (*PostNodeUserPasswordResponse, error)
- func (c *ClientWithResponses) PostNodeUserPasswordWithResponse(ctx context.Context, hostname Hostname, name UserName, ...) (*PostNodeUserPasswordResponse, error)
- func (c *ClientWithResponses) PostNodeUserSSHKeyWithBodyWithResponse(ctx context.Context, hostname Hostname, name UserName, contentType string, ...) (*PostNodeUserSSHKeyResponse, error)
- func (c *ClientWithResponses) PostNodeUserSSHKeyWithResponse(ctx context.Context, hostname Hostname, name UserName, ...) (*PostNodeUserSSHKeyResponse, error)
- func (c *ClientWithResponses) PostNodeUserWithBodyWithResponse(ctx context.Context, hostname Hostname, contentType string, body io.Reader, ...) (*PostNodeUserResponse, error)
- func (c *ClientWithResponses) PostNodeUserWithResponse(ctx context.Context, hostname Hostname, body PostNodeUserJSONRequestBody, ...) (*PostNodeUserResponse, error)
- func (c *ClientWithResponses) PutNodeCertificateCaWithBodyWithResponse(ctx context.Context, hostname Hostname, name CertName, contentType string, ...) (*PutNodeCertificateCaResponse, error)
- func (c *ClientWithResponses) PutNodeCertificateCaWithResponse(ctx context.Context, hostname Hostname, name CertName, ...) (*PutNodeCertificateCaResponse, error)
- func (c *ClientWithResponses) PutNodeGroupWithBodyWithResponse(ctx context.Context, hostname Hostname, name GroupName, contentType string, ...) (*PutNodeGroupResponse, error)
- func (c *ClientWithResponses) PutNodeGroupWithResponse(ctx context.Context, hostname Hostname, name GroupName, ...) (*PutNodeGroupResponse, error)
- func (c *ClientWithResponses) PutNodeHostnameWithBodyWithResponse(ctx context.Context, hostname Hostname, contentType string, body io.Reader, ...) (*PutNodeHostnameResponse, error)
- func (c *ClientWithResponses) PutNodeHostnameWithResponse(ctx context.Context, hostname Hostname, body PutNodeHostnameJSONRequestBody, ...) (*PutNodeHostnameResponse, error)
- func (c *ClientWithResponses) PutNodeNetworkDNSWithBodyWithResponse(ctx context.Context, hostname Hostname, contentType string, body io.Reader, ...) (*PutNodeNetworkDNSResponse, error)
- func (c *ClientWithResponses) PutNodeNetworkDNSWithResponse(ctx context.Context, hostname Hostname, body PutNodeNetworkDNSJSONRequestBody, ...) (*PutNodeNetworkDNSResponse, error)
- func (c *ClientWithResponses) PutNodeNetworkInterfaceWithBodyWithResponse(ctx context.Context, hostname Hostname, name InterfaceName, contentType string, ...) (*PutNodeNetworkInterfaceResponse, error)
- func (c *ClientWithResponses) PutNodeNetworkInterfaceWithResponse(ctx context.Context, hostname Hostname, name InterfaceName, ...) (*PutNodeNetworkInterfaceResponse, error)
- func (c *ClientWithResponses) PutNodeNetworkRouteWithBodyWithResponse(ctx context.Context, hostname Hostname, interfaceName RouteInterfaceName, ...) (*PutNodeNetworkRouteResponse, error)
- func (c *ClientWithResponses) PutNodeNetworkRouteWithResponse(ctx context.Context, hostname Hostname, interfaceName RouteInterfaceName, ...) (*PutNodeNetworkRouteResponse, error)
- func (c *ClientWithResponses) PutNodeNtpWithBodyWithResponse(ctx context.Context, hostname Hostname, contentType string, body io.Reader, ...) (*PutNodeNtpResponse, error)
- func (c *ClientWithResponses) PutNodeNtpWithResponse(ctx context.Context, hostname Hostname, body PutNodeNtpJSONRequestBody, ...) (*PutNodeNtpResponse, error)
- func (c *ClientWithResponses) PutNodeScheduleCronWithBodyWithResponse(ctx context.Context, hostname Hostname, name CronName, contentType string, ...) (*PutNodeScheduleCronResponse, error)
- func (c *ClientWithResponses) PutNodeScheduleCronWithResponse(ctx context.Context, hostname Hostname, name CronName, ...) (*PutNodeScheduleCronResponse, error)
- func (c *ClientWithResponses) PutNodeServiceWithBodyWithResponse(ctx context.Context, hostname Hostname, name ServiceName, contentType string, ...) (*PutNodeServiceResponse, error)
- func (c *ClientWithResponses) PutNodeServiceWithResponse(ctx context.Context, hostname Hostname, name ServiceName, ...) (*PutNodeServiceResponse, error)
- func (c *ClientWithResponses) PutNodeSysctlWithBodyWithResponse(ctx context.Context, hostname Hostname, key SysctlKey, contentType string, ...) (*PutNodeSysctlResponse, error)
- func (c *ClientWithResponses) PutNodeSysctlWithResponse(ctx context.Context, hostname Hostname, key SysctlKey, ...) (*PutNodeSysctlResponse, error)
- func (c *ClientWithResponses) PutNodeTimezoneWithBodyWithResponse(ctx context.Context, hostname Hostname, contentType string, body io.Reader, ...) (*PutNodeTimezoneResponse, error)
- func (c *ClientWithResponses) PutNodeTimezoneWithResponse(ctx context.Context, hostname Hostname, body PutNodeTimezoneJSONRequestBody, ...) (*PutNodeTimezoneResponse, error)
- func (c *ClientWithResponses) PutNodeUserWithBodyWithResponse(ctx context.Context, hostname Hostname, name UserName, contentType string, ...) (*PutNodeUserResponse, error)
- func (c *ClientWithResponses) PutNodeUserWithResponse(ctx context.Context, hostname Hostname, name UserName, ...) (*PutNodeUserResponse, error)
- func (c *ClientWithResponses) RejectAgentWithResponse(ctx context.Context, hostname string, reqEditors ...RequestEditorFn) (*RejectAgentResponse, error)
- func (c *ClientWithResponses) RetryJobByIDWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, ...) (*RetryJobByIDResponse, error)
- func (c *ClientWithResponses) RetryJobByIDWithResponse(ctx context.Context, id openapi_types.UUID, body RetryJobByIDJSONRequestBody, ...) (*RetryJobByIDResponse, error)
- func (c *ClientWithResponses) UndrainAgentWithResponse(ctx context.Context, hostname string, reqEditors ...RequestEditorFn) (*UndrainAgentResponse, error)
- type ClientWithResponsesInterface
- type CommandExecRequest
- type CommandResultCollectionResponse
- type CommandResultItem
- type CommandResultItemStatus
- type CommandShellRequest
- type ComponentEntry
- type ComponentHealth
- type ConsumerDetail
- type ConsumerStats
- type CreateJobResponse
- type CronCollectionResponse
- type CronCreateRequest
- type CronCreateRequestContentType
- type CronCreateRequestInterval
- type CronCreateResponse
- type CronDeleteResponse
- type CronEntry
- type CronEntryInterval
- type CronEntryStatus
- type CronGetResponse
- type CronMutationResult
- type CronMutationResultStatus
- type CronName
- type CronUpdateRequest
- type CronUpdateRequestContentType
- type CronUpdateResponse
- type DNSConfigCollectionResponse
- type DNSConfigResponse
- type DNSConfigResponseStatus
- type DNSConfigUpdateRequest
- type DNSDeleteCollectionResponse
- type DNSDeleteRequest
- type DNSDeleteResultItem
- type DNSDeleteResultItemStatus
- type DNSUpdateCollectionResponse
- type DNSUpdateResultItem
- type DNSUpdateResultItemStatus
- type DeleteFileByNameResponse
- type DeleteJobByIDResponse
- type DeleteNodeCertificateCaResponse
- type DeleteNodeContainerDockerByIDParams
- type DeleteNodeContainerDockerByIDResponse
- type DeleteNodeContainerDockerImageParams
- type DeleteNodeContainerDockerImageResponse
- type DeleteNodeGroupResponse
- type DeleteNodeNetworkDNSJSONRequestBody
- type DeleteNodeNetworkDNSResponse
- type DeleteNodeNetworkInterfaceResponse
- type DeleteNodeNetworkRouteResponse
- type DeleteNodeNtpResponse
- type DeleteNodePackageResponse
- type DeleteNodeScheduleCronResponse
- type DeleteNodeServiceResponse
- type DeleteNodeSysctlResponse
- type DeleteNodeUserResponse
- type DeleteNodeUserSSHKeyResponse
- type DiskCollectionResponse
- type DiskResponse
- type DiskResultItem
- type DiskResultItemStatus
- type DisksResponse
- type DockerActionCollectionResponse
- type DockerActionResultItem
- type DockerActionResultItemStatus
- type DockerCreateRequest
- type DockerDetailCollectionResponse
- type DockerDetailResponse
- type DockerDetailResponseStatus
- type DockerExecCollectionResponse
- type DockerExecRequest
- type DockerExecResultItem
- type DockerExecResultItemStatus
- type DockerId
- type DockerListCollectionResponse
- type DockerListItem
- type DockerListItemStatus
- type DockerPullCollectionResponse
- type DockerPullRequest
- type DockerPullResultItem
- type DockerPullResultItemStatus
- type DockerResponse
- type DockerResponseStatus
- type DockerResultCollectionResponse
- type DockerStopRequest
- type DockerSummary
- type DrainAgentResponse
- type ErrorResponse
- type FactKeyEntry
- type FactKeysResponse
- type FileDeleteResponse
- type FileDeployCollectionResponse
- type FileDeployRequest
- type FileDeployRequestContentType
- type FileDeployResult
- type FileDeployResultStatus
- type FileInfo
- type FileInfoResponse
- type FileListResponse
- type FileName
- type FileStatusCollectionResponse
- type FileStatusRequest
- type FileStatusResult
- type FileUndeployCollectionResponse
- type FileUndeployRequest
- type FileUndeployResult
- type FileUndeployResultStatus
- type FileUploadResponse
- type GetAgentDetailsResponse
- type GetAgentsPendingResponse
- type GetAgentsResponse
- type GetApiVersionResponse
- type GetAuditExportResponse
- type GetAuditLogByIDResponse
- type GetAuditLogsParams
- type GetAuditLogsResponse
- type GetFactKeysResponse
- type GetFileByNameResponse
- type GetFileStaleResponse
- type GetFilesResponse
- type GetHealthReadyResponse
- type GetHealthResponse
- type GetHealthStatusResponse
- type GetJobByIDResponse
- type GetJobsParams
- type GetJobsParamsStatus
- type GetJobsResponse
- type GetNodeCertificateCaResponse
- type GetNodeContainerDockerByIDResponse
- type GetNodeContainerDockerParams
- type GetNodeContainerDockerParamsState
- type GetNodeContainerDockerResponse
- type GetNodeDiskResponse
- type GetNodeGroupByNameResponse
- type GetNodeGroupResponse
- type GetNodeHostnameResponse
- type GetNodeLoadResponse
- type GetNodeLogParams
- type GetNodeLogResponse
- type GetNodeLogSourceResponse
- type GetNodeLogUnitParams
- type GetNodeLogUnitResponse
- type GetNodeMemoryResponse
- type GetNodeNetworkDNSByInterfaceResponse
- type GetNodeNetworkInterfaceByNameResponse
- type GetNodeNetworkInterfaceResponse
- type GetNodeNetworkRouteByInterfaceResponse
- type GetNodeNetworkRouteResponse
- type GetNodeNtpResponse
- type GetNodeOSResponse
- type GetNodePackageByNameResponse
- type GetNodePackageResponse
- type GetNodePackageUpdateResponse
- type GetNodeProcessByPidResponse
- type GetNodeProcessResponse
- type GetNodeScheduleCronByNameResponse
- type GetNodeScheduleCronResponse
- type GetNodeServiceByNameResponse
- type GetNodeServiceResponse
- type GetNodeStatusResponse
- type GetNodeSysctlByKeyResponse
- type GetNodeSysctlResponse
- type GetNodeTimezoneResponse
- type GetNodeUptimeResponse
- type GetNodeUserByNameResponse
- type GetNodeUserResponse
- type GetNodeUserSSHKeyResponse
- type GroupCollectionResponse
- type GroupCreateRequest
- type GroupEntry
- type GroupEntryStatus
- type GroupInfo
- type GroupMutationResponse
- type GroupMutationResult
- type GroupMutationResultStatus
- type GroupName
- type GroupUpdateRequest
- type HealthResponse
- type Hostname
- type HostnameCollectionResponse
- type HostnameResponse
- type HostnameResponseStatus
- type HostnameUpdateCollectionResponse
- type HostnameUpdateRequest
- type HostnameUpdateResultItem
- type HostnameUpdateResultItemStatus
- type HttpRequestDoer
- type InterfaceConfigRequest
- type InterfaceGetEntry
- type InterfaceGetEntryStatus
- type InterfaceGetResponse
- type InterfaceInfo
- type InterfaceListEntry
- type InterfaceListEntryStatus
- type InterfaceListResponse
- type InterfaceMutationEntry
- type InterfaceMutationEntryStatus
- type InterfaceMutationResponse
- type InterfaceName
- type JobDetailResponse
- type JobStats
- type KVBucketInfo
- type ListAgentsResponse
- type ListAuditResponse
- type ListJobsResponse
- type ListPendingAgentsResponse
- type LoadAverageResponse
- type LoadCollectionResponse
- type LoadResultItem
- type LoadResultItemStatus
- type LogCollectionResponse
- type LogEntryInfo
- type LogResultEntry
- type LogResultEntryStatus
- type LogSourceCollectionResponse
- type LogSourceEntry
- type LogSourceEntryStatus
- type MemoryCollectionResponse
- type MemoryResponse
- type MemoryResultItem
- type MemoryResultItemStatus
- type NATSInfo
- type NetworkInterfaceResponse
- type NetworkInterfaceResponseFamily
- type NodeCondition
- type NodeConditionType
- type NodeStatusCollectionResponse
- type NodeStatusResponse
- type NodeStatusResponseStatus
- type NtpCollectionResponse
- type NtpCreateRequest
- type NtpCreateResponse
- type NtpDeleteResponse
- type NtpMutationResult
- type NtpMutationResultStatus
- type NtpStatusEntry
- type NtpStatusEntryStatus
- type NtpUpdateRequest
- type NtpUpdateResponse
- type OSInfoCollectionResponse
- type OSInfoResponse
- type OSInfoResultItem
- type OSInfoResultItemStatus
- type ObjectStoreInfo
- type PackageCollectionResponse
- type PackageEntry
- type PackageEntryStatus
- type PackageInfo
- type PackageInstallRequest
- type PackageMutationResponse
- type PackageMutationResult
- type PackageMutationResultStatus
- type PackageName
- type PendingAgentInfo
- type Pid
- type PingCollectionResponse
- type PingResponse
- type PingResponseStatus
- type PostFileMultipartBody
- type PostFileMultipartBodyContentType
- type PostFileMultipartRequestBody
- type PostFileParams
- type PostFileResponse
- type PostNodeCertificateCaJSONRequestBody
- type PostNodeCertificateCaResponse
- type PostNodeCommandExecJSONRequestBody
- type PostNodeCommandExecResponse
- type PostNodeCommandShellJSONRequestBody
- type PostNodeCommandShellResponse
- type PostNodeContainerDockerExecJSONRequestBody
- type PostNodeContainerDockerExecResponse
- type PostNodeContainerDockerJSONRequestBody
- type PostNodeContainerDockerPullJSONRequestBody
- type PostNodeContainerDockerPullResponse
- type PostNodeContainerDockerResponse
- type PostNodeContainerDockerStartResponse
- type PostNodeContainerDockerStopJSONRequestBody
- type PostNodeContainerDockerStopResponse
- type PostNodeFileDeployJSONRequestBody
- type PostNodeFileDeployResponse
- type PostNodeFileStatusJSONRequestBody
- type PostNodeFileStatusResponse
- type PostNodeFileUndeployJSONRequestBody
- type PostNodeFileUndeployResponse
- type PostNodeGroupJSONRequestBody
- type PostNodeGroupResponse
- type PostNodeNetworkInterfaceJSONRequestBody
- type PostNodeNetworkInterfaceResponse
- type PostNodeNetworkPingJSONBody
- type PostNodeNetworkPingJSONRequestBody
- type PostNodeNetworkPingResponse
- type PostNodeNetworkRouteJSONRequestBody
- type PostNodeNetworkRouteResponse
- type PostNodeNtpJSONRequestBody
- type PostNodeNtpResponse
- type PostNodePackageJSONRequestBody
- type PostNodePackageResponse
- type PostNodePackageUpdateResponse
- type PostNodePowerRebootJSONRequestBody
- type PostNodePowerRebootResponse
- type PostNodePowerShutdownJSONRequestBody
- type PostNodePowerShutdownResponse
- type PostNodeProcessSignalJSONRequestBody
- type PostNodeProcessSignalResponse
- type PostNodeScheduleCronJSONRequestBody
- type PostNodeScheduleCronResponse
- type PostNodeServiceDisableResponse
- type PostNodeServiceEnableResponse
- type PostNodeServiceJSONRequestBody
- type PostNodeServiceResponse
- type PostNodeServiceRestartResponse
- type PostNodeServiceStartResponse
- type PostNodeServiceStopResponse
- type PostNodeSysctlJSONRequestBody
- type PostNodeSysctlResponse
- type PostNodeUserJSONRequestBody
- type PostNodeUserPasswordJSONRequestBody
- type PostNodeUserPasswordResponse
- type PostNodeUserResponse
- type PostNodeUserSSHKeyJSONRequestBody
- type PostNodeUserSSHKeyResponse
- type PowerRebootResponse
- type PowerRequest
- type PowerResult
- type PowerResultStatus
- type PowerShutdownResponse
- type ProcessCollectionResponse
- type ProcessEntry
- type ProcessEntryStatus
- type ProcessGetEntry
- type ProcessGetEntryStatus
- type ProcessGetResponse
- type ProcessInfo
- type ProcessSignalRequest
- type ProcessSignalRequestSignal
- type ProcessSignalResponse
- type ProcessSignalResult
- type ProcessSignalResultStatus
- type PutNodeCertificateCaJSONRequestBody
- type PutNodeCertificateCaResponse
- type PutNodeGroupJSONRequestBody
- type PutNodeGroupResponse
- type PutNodeHostnameJSONRequestBody
- type PutNodeHostnameResponse
- type PutNodeNetworkDNSJSONRequestBody
- type PutNodeNetworkDNSResponse
- type PutNodeNetworkInterfaceJSONRequestBody
- type PutNodeNetworkInterfaceResponse
- type PutNodeNetworkRouteJSONRequestBody
- type PutNodeNetworkRouteResponse
- type PutNodeNtpJSONRequestBody
- type PutNodeNtpResponse
- type PutNodeScheduleCronJSONRequestBody
- type PutNodeScheduleCronResponse
- type PutNodeServiceJSONRequestBody
- type PutNodeServiceResponse
- type PutNodeSysctlJSONRequestBody
- type PutNodeSysctlResponse
- type PutNodeTimezoneJSONRequestBody
- type PutNodeTimezoneResponse
- type PutNodeUserJSONRequestBody
- type PutNodeUserResponse
- type ReadyResponse
- type RejectAgentResponse
- type RequestEditorFn
- type RetryJobByIDJSONRequestBody
- type RetryJobByIDResponse
- type RetryJobRequest
- type RouteConfigRequest
- type RouteGetEntry
- type RouteGetEntryStatus
- type RouteGetResponse
- type RouteInfo
- type RouteInterfaceName
- type RouteItem
- type RouteListEntry
- type RouteListEntryStatus
- type RouteListResponse
- type RouteMutationEntry
- type RouteMutationEntryStatus
- type RouteMutationResponse
- type RouteResponse
- type SSHKeyAddRequest
- type SSHKeyCollectionResponse
- type SSHKeyEntry
- type SSHKeyEntryStatus
- type SSHKeyFingerprint
- type SSHKeyInfo
- type SSHKeyMutationEntry
- type SSHKeyMutationEntryStatus
- type SSHKeyMutationResponse
- type ServiceCreateRequest
- type ServiceGetEntry
- type ServiceGetEntryStatus
- type ServiceGetResponse
- type ServiceInfo
- type ServiceListEntry
- type ServiceListEntryStatus
- type ServiceListResponse
- type ServiceMutationEntry
- type ServiceMutationEntryStatus
- type ServiceMutationResponse
- type ServiceName
- type ServiceUpdateRequest
- type StaleDeployment
- type StaleDeploymentsResponse
- type StatusResponse
- type StreamInfo
- type SysctlCollectionResponse
- type SysctlCreateRequest
- type SysctlCreateResponse
- type SysctlDeleteResponse
- type SysctlEntry
- type SysctlEntryStatus
- type SysctlGetResponse
- type SysctlKey
- type SysctlMutationResult
- type SysctlMutationResultStatus
- type SysctlUpdateRequest
- type SysctlUpdateResponse
- type TimelineEvent
- type TimezoneCollectionResponse
- type TimezoneEntry
- type TimezoneEntryStatus
- type TimezoneMutationResult
- type TimezoneMutationResultStatus
- type TimezoneUpdateRequest
- type TimezoneUpdateResponse
- type UndrainAgentResponse
- type UnitName
- type UpdateCollectionResponse
- type UpdateEntry
- type UpdateEntryStatus
- type UpdateInfo
- type UptimeCollectionResponse
- type UptimeResponse
- type UptimeResponseStatus
- type UserCollectionResponse
- type UserCreateRequest
- type UserEntry
- type UserEntryStatus
- type UserInfo
- type UserMutationResponse
- type UserMutationResult
- type UserMutationResultStatus
- type UserName
- type UserPasswordRequest
- type UserUpdateRequest
Constants ¶
const (
BearerAuthScopes = "BearerAuth.Scopes"
)
Variables ¶
This section is empty.
Functions ¶
func NewAcceptAgentRequest ¶
func NewAcceptAgentRequest(server string, hostname string, params *AcceptAgentParams) (*http.Request, error)
NewAcceptAgentRequest generates requests for AcceptAgent
func NewDeleteFileByNameRequest ¶
NewDeleteFileByNameRequest generates requests for DeleteFileByName
func NewDeleteJobByIDRequest ¶
NewDeleteJobByIDRequest generates requests for DeleteJobByID
func NewDeleteNodeCertificateCaRequest ¶
func NewDeleteNodeCertificateCaRequest(server string, hostname Hostname, name CertName) (*http.Request, error)
NewDeleteNodeCertificateCaRequest generates requests for DeleteNodeCertificateCa
func NewDeleteNodeContainerDockerByIDRequest ¶
func NewDeleteNodeContainerDockerByIDRequest(server string, hostname Hostname, id DockerId, params *DeleteNodeContainerDockerByIDParams) (*http.Request, error)
NewDeleteNodeContainerDockerByIDRequest generates requests for DeleteNodeContainerDockerByID
func NewDeleteNodeContainerDockerImageRequest ¶
func NewDeleteNodeContainerDockerImageRequest(server string, hostname Hostname, image string, params *DeleteNodeContainerDockerImageParams) (*http.Request, error)
NewDeleteNodeContainerDockerImageRequest generates requests for DeleteNodeContainerDockerImage
func NewDeleteNodeGroupRequest ¶
func NewDeleteNodeGroupRequest(server string, hostname Hostname, name GroupName) (*http.Request, error)
NewDeleteNodeGroupRequest generates requests for DeleteNodeGroup
func NewDeleteNodeNetworkDNSRequest ¶
func NewDeleteNodeNetworkDNSRequest(server string, hostname Hostname, body DeleteNodeNetworkDNSJSONRequestBody) (*http.Request, error)
NewDeleteNodeNetworkDNSRequest calls the generic DeleteNodeNetworkDNS builder with application/json body
func NewDeleteNodeNetworkDNSRequestWithBody ¶
func NewDeleteNodeNetworkDNSRequestWithBody(server string, hostname Hostname, contentType string, body io.Reader) (*http.Request, error)
NewDeleteNodeNetworkDNSRequestWithBody generates requests for DeleteNodeNetworkDNS with any type of body
func NewDeleteNodeNetworkInterfaceRequest ¶
func NewDeleteNodeNetworkInterfaceRequest(server string, hostname Hostname, name InterfaceName) (*http.Request, error)
NewDeleteNodeNetworkInterfaceRequest generates requests for DeleteNodeNetworkInterface
func NewDeleteNodeNetworkRouteRequest ¶
func NewDeleteNodeNetworkRouteRequest(server string, hostname Hostname, interfaceName RouteInterfaceName) (*http.Request, error)
NewDeleteNodeNetworkRouteRequest generates requests for DeleteNodeNetworkRoute
func NewDeleteNodeNtpRequest ¶
NewDeleteNodeNtpRequest generates requests for DeleteNodeNtp
func NewDeleteNodePackageRequest ¶
func NewDeleteNodePackageRequest(server string, hostname Hostname, name PackageName) (*http.Request, error)
NewDeleteNodePackageRequest generates requests for DeleteNodePackage
func NewDeleteNodeScheduleCronRequest ¶
func NewDeleteNodeScheduleCronRequest(server string, hostname Hostname, name CronName) (*http.Request, error)
NewDeleteNodeScheduleCronRequest generates requests for DeleteNodeScheduleCron
func NewDeleteNodeServiceRequest ¶
func NewDeleteNodeServiceRequest(server string, hostname Hostname, name ServiceName) (*http.Request, error)
NewDeleteNodeServiceRequest generates requests for DeleteNodeService
func NewDeleteNodeSysctlRequest ¶
func NewDeleteNodeSysctlRequest(server string, hostname Hostname, key SysctlKey) (*http.Request, error)
NewDeleteNodeSysctlRequest generates requests for DeleteNodeSysctl
func NewDeleteNodeUserRequest ¶
func NewDeleteNodeUserRequest(server string, hostname Hostname, name UserName) (*http.Request, error)
NewDeleteNodeUserRequest generates requests for DeleteNodeUser
func NewDeleteNodeUserSSHKeyRequest ¶
func NewDeleteNodeUserSSHKeyRequest(server string, hostname Hostname, name UserName, fingerprint SSHKeyFingerprint) (*http.Request, error)
NewDeleteNodeUserSSHKeyRequest generates requests for DeleteNodeUserSSHKey
func NewDrainAgentRequest ¶
NewDrainAgentRequest generates requests for DrainAgent
func NewGetAgentDetailsRequest ¶
NewGetAgentDetailsRequest generates requests for GetAgentDetails
func NewGetAgentsPendingRequest ¶
NewGetAgentsPendingRequest generates requests for GetAgentsPending
func NewGetAgentsRequest ¶
NewGetAgentsRequest generates requests for GetAgents
func NewGetApiVersionRequest ¶
NewGetApiVersionRequest generates requests for GetApiVersion
func NewGetAuditExportRequest ¶
NewGetAuditExportRequest generates requests for GetAuditExport
func NewGetAuditLogByIDRequest ¶
NewGetAuditLogByIDRequest generates requests for GetAuditLogByID
func NewGetAuditLogsRequest ¶
func NewGetAuditLogsRequest(server string, params *GetAuditLogsParams) (*http.Request, error)
NewGetAuditLogsRequest generates requests for GetAuditLogs
func NewGetFactKeysRequest ¶
NewGetFactKeysRequest generates requests for GetFactKeys
func NewGetFileByNameRequest ¶
NewGetFileByNameRequest generates requests for GetFileByName
func NewGetFileStaleRequest ¶
NewGetFileStaleRequest generates requests for GetFileStale
func NewGetFilesRequest ¶
NewGetFilesRequest generates requests for GetFiles
func NewGetHealthReadyRequest ¶
NewGetHealthReadyRequest generates requests for GetHealthReady
func NewGetHealthRequest ¶
NewGetHealthRequest generates requests for GetHealth
func NewGetHealthStatusRequest ¶
NewGetHealthStatusRequest generates requests for GetHealthStatus
func NewGetJobByIDRequest ¶
NewGetJobByIDRequest generates requests for GetJobByID
func NewGetJobsRequest ¶
func NewGetJobsRequest(server string, params *GetJobsParams) (*http.Request, error)
NewGetJobsRequest generates requests for GetJobs
func NewGetNodeCertificateCaRequest ¶
NewGetNodeCertificateCaRequest generates requests for GetNodeCertificateCa
func NewGetNodeContainerDockerByIDRequest ¶
func NewGetNodeContainerDockerByIDRequest(server string, hostname Hostname, id DockerId) (*http.Request, error)
NewGetNodeContainerDockerByIDRequest generates requests for GetNodeContainerDockerByID
func NewGetNodeContainerDockerRequest ¶
func NewGetNodeContainerDockerRequest(server string, hostname Hostname, params *GetNodeContainerDockerParams) (*http.Request, error)
NewGetNodeContainerDockerRequest generates requests for GetNodeContainerDocker
func NewGetNodeDiskRequest ¶
NewGetNodeDiskRequest generates requests for GetNodeDisk
func NewGetNodeGroupByNameRequest ¶
func NewGetNodeGroupByNameRequest(server string, hostname Hostname, name GroupName) (*http.Request, error)
NewGetNodeGroupByNameRequest generates requests for GetNodeGroupByName
func NewGetNodeGroupRequest ¶
NewGetNodeGroupRequest generates requests for GetNodeGroup
func NewGetNodeHostnameRequest ¶
NewGetNodeHostnameRequest generates requests for GetNodeHostname
func NewGetNodeLoadRequest ¶
NewGetNodeLoadRequest generates requests for GetNodeLoad
func NewGetNodeLogRequest ¶
func NewGetNodeLogRequest(server string, hostname Hostname, params *GetNodeLogParams) (*http.Request, error)
NewGetNodeLogRequest generates requests for GetNodeLog
func NewGetNodeLogSourceRequest ¶
NewGetNodeLogSourceRequest generates requests for GetNodeLogSource
func NewGetNodeLogUnitRequest ¶
func NewGetNodeLogUnitRequest(server string, hostname Hostname, name UnitName, params *GetNodeLogUnitParams) (*http.Request, error)
NewGetNodeLogUnitRequest generates requests for GetNodeLogUnit
func NewGetNodeMemoryRequest ¶
NewGetNodeMemoryRequest generates requests for GetNodeMemory
func NewGetNodeNetworkDNSByInterfaceRequest ¶
func NewGetNodeNetworkDNSByInterfaceRequest(server string, hostname Hostname, interfaceName string) (*http.Request, error)
NewGetNodeNetworkDNSByInterfaceRequest generates requests for GetNodeNetworkDNSByInterface
func NewGetNodeNetworkInterfaceByNameRequest ¶
func NewGetNodeNetworkInterfaceByNameRequest(server string, hostname Hostname, name InterfaceName) (*http.Request, error)
NewGetNodeNetworkInterfaceByNameRequest generates requests for GetNodeNetworkInterfaceByName
func NewGetNodeNetworkInterfaceRequest ¶
NewGetNodeNetworkInterfaceRequest generates requests for GetNodeNetworkInterface
func NewGetNodeNetworkRouteByInterfaceRequest ¶
func NewGetNodeNetworkRouteByInterfaceRequest(server string, hostname Hostname, interfaceName RouteInterfaceName) (*http.Request, error)
NewGetNodeNetworkRouteByInterfaceRequest generates requests for GetNodeNetworkRouteByInterface
func NewGetNodeNetworkRouteRequest ¶
NewGetNodeNetworkRouteRequest generates requests for GetNodeNetworkRoute
func NewGetNodeNtpRequest ¶
NewGetNodeNtpRequest generates requests for GetNodeNtp
func NewGetNodeOSRequest ¶
NewGetNodeOSRequest generates requests for GetNodeOS
func NewGetNodePackageByNameRequest ¶
func NewGetNodePackageByNameRequest(server string, hostname Hostname, name PackageName) (*http.Request, error)
NewGetNodePackageByNameRequest generates requests for GetNodePackageByName
func NewGetNodePackageRequest ¶
NewGetNodePackageRequest generates requests for GetNodePackage
func NewGetNodePackageUpdateRequest ¶
NewGetNodePackageUpdateRequest generates requests for GetNodePackageUpdate
func NewGetNodeProcessByPidRequest ¶
func NewGetNodeProcessByPidRequest(server string, hostname Hostname, pid Pid) (*http.Request, error)
NewGetNodeProcessByPidRequest generates requests for GetNodeProcessByPid
func NewGetNodeProcessRequest ¶
NewGetNodeProcessRequest generates requests for GetNodeProcess
func NewGetNodeScheduleCronByNameRequest ¶
func NewGetNodeScheduleCronByNameRequest(server string, hostname Hostname, name CronName) (*http.Request, error)
NewGetNodeScheduleCronByNameRequest generates requests for GetNodeScheduleCronByName
func NewGetNodeScheduleCronRequest ¶
NewGetNodeScheduleCronRequest generates requests for GetNodeScheduleCron
func NewGetNodeServiceByNameRequest ¶
func NewGetNodeServiceByNameRequest(server string, hostname Hostname, name ServiceName) (*http.Request, error)
NewGetNodeServiceByNameRequest generates requests for GetNodeServiceByName
func NewGetNodeServiceRequest ¶
NewGetNodeServiceRequest generates requests for GetNodeService
func NewGetNodeStatusRequest ¶
NewGetNodeStatusRequest generates requests for GetNodeStatus
func NewGetNodeSysctlByKeyRequest ¶
func NewGetNodeSysctlByKeyRequest(server string, hostname Hostname, key SysctlKey) (*http.Request, error)
NewGetNodeSysctlByKeyRequest generates requests for GetNodeSysctlByKey
func NewGetNodeSysctlRequest ¶
NewGetNodeSysctlRequest generates requests for GetNodeSysctl
func NewGetNodeTimezoneRequest ¶
NewGetNodeTimezoneRequest generates requests for GetNodeTimezone
func NewGetNodeUptimeRequest ¶
NewGetNodeUptimeRequest generates requests for GetNodeUptime
func NewGetNodeUserByNameRequest ¶
func NewGetNodeUserByNameRequest(server string, hostname Hostname, name UserName) (*http.Request, error)
NewGetNodeUserByNameRequest generates requests for GetNodeUserByName
func NewGetNodeUserRequest ¶
NewGetNodeUserRequest generates requests for GetNodeUser
func NewGetNodeUserSSHKeyRequest ¶
func NewGetNodeUserSSHKeyRequest(server string, hostname Hostname, name UserName) (*http.Request, error)
NewGetNodeUserSSHKeyRequest generates requests for GetNodeUserSSHKey
func NewPostFileRequestWithBody ¶
func NewPostFileRequestWithBody(server string, params *PostFileParams, contentType string, body io.Reader) (*http.Request, error)
NewPostFileRequestWithBody generates requests for PostFile with any type of body
func NewPostNodeCertificateCaRequest ¶
func NewPostNodeCertificateCaRequest(server string, hostname Hostname, body PostNodeCertificateCaJSONRequestBody) (*http.Request, error)
NewPostNodeCertificateCaRequest calls the generic PostNodeCertificateCa builder with application/json body
func NewPostNodeCertificateCaRequestWithBody ¶
func NewPostNodeCertificateCaRequestWithBody(server string, hostname Hostname, contentType string, body io.Reader) (*http.Request, error)
NewPostNodeCertificateCaRequestWithBody generates requests for PostNodeCertificateCa with any type of body
func NewPostNodeCommandExecRequest ¶
func NewPostNodeCommandExecRequest(server string, hostname Hostname, body PostNodeCommandExecJSONRequestBody) (*http.Request, error)
NewPostNodeCommandExecRequest calls the generic PostNodeCommandExec builder with application/json body
func NewPostNodeCommandExecRequestWithBody ¶
func NewPostNodeCommandExecRequestWithBody(server string, hostname Hostname, contentType string, body io.Reader) (*http.Request, error)
NewPostNodeCommandExecRequestWithBody generates requests for PostNodeCommandExec with any type of body
func NewPostNodeCommandShellRequest ¶
func NewPostNodeCommandShellRequest(server string, hostname Hostname, body PostNodeCommandShellJSONRequestBody) (*http.Request, error)
NewPostNodeCommandShellRequest calls the generic PostNodeCommandShell builder with application/json body
func NewPostNodeCommandShellRequestWithBody ¶
func NewPostNodeCommandShellRequestWithBody(server string, hostname Hostname, contentType string, body io.Reader) (*http.Request, error)
NewPostNodeCommandShellRequestWithBody generates requests for PostNodeCommandShell with any type of body
func NewPostNodeContainerDockerExecRequest ¶
func NewPostNodeContainerDockerExecRequest(server string, hostname Hostname, id DockerId, body PostNodeContainerDockerExecJSONRequestBody) (*http.Request, error)
NewPostNodeContainerDockerExecRequest calls the generic PostNodeContainerDockerExec builder with application/json body
func NewPostNodeContainerDockerExecRequestWithBody ¶
func NewPostNodeContainerDockerExecRequestWithBody(server string, hostname Hostname, id DockerId, contentType string, body io.Reader) (*http.Request, error)
NewPostNodeContainerDockerExecRequestWithBody generates requests for PostNodeContainerDockerExec with any type of body
func NewPostNodeContainerDockerPullRequest ¶
func NewPostNodeContainerDockerPullRequest(server string, hostname Hostname, body PostNodeContainerDockerPullJSONRequestBody) (*http.Request, error)
NewPostNodeContainerDockerPullRequest calls the generic PostNodeContainerDockerPull builder with application/json body
func NewPostNodeContainerDockerPullRequestWithBody ¶
func NewPostNodeContainerDockerPullRequestWithBody(server string, hostname Hostname, contentType string, body io.Reader) (*http.Request, error)
NewPostNodeContainerDockerPullRequestWithBody generates requests for PostNodeContainerDockerPull with any type of body
func NewPostNodeContainerDockerRequest ¶
func NewPostNodeContainerDockerRequest(server string, hostname Hostname, body PostNodeContainerDockerJSONRequestBody) (*http.Request, error)
NewPostNodeContainerDockerRequest calls the generic PostNodeContainerDocker builder with application/json body
func NewPostNodeContainerDockerRequestWithBody ¶
func NewPostNodeContainerDockerRequestWithBody(server string, hostname Hostname, contentType string, body io.Reader) (*http.Request, error)
NewPostNodeContainerDockerRequestWithBody generates requests for PostNodeContainerDocker with any type of body
func NewPostNodeContainerDockerStartRequest ¶
func NewPostNodeContainerDockerStartRequest(server string, hostname Hostname, id DockerId) (*http.Request, error)
NewPostNodeContainerDockerStartRequest generates requests for PostNodeContainerDockerStart
func NewPostNodeContainerDockerStopRequest ¶
func NewPostNodeContainerDockerStopRequest(server string, hostname Hostname, id DockerId, body PostNodeContainerDockerStopJSONRequestBody) (*http.Request, error)
NewPostNodeContainerDockerStopRequest calls the generic PostNodeContainerDockerStop builder with application/json body
func NewPostNodeContainerDockerStopRequestWithBody ¶
func NewPostNodeContainerDockerStopRequestWithBody(server string, hostname Hostname, id DockerId, contentType string, body io.Reader) (*http.Request, error)
NewPostNodeContainerDockerStopRequestWithBody generates requests for PostNodeContainerDockerStop with any type of body
func NewPostNodeFileDeployRequest ¶
func NewPostNodeFileDeployRequest(server string, hostname Hostname, body PostNodeFileDeployJSONRequestBody) (*http.Request, error)
NewPostNodeFileDeployRequest calls the generic PostNodeFileDeploy builder with application/json body
func NewPostNodeFileDeployRequestWithBody ¶
func NewPostNodeFileDeployRequestWithBody(server string, hostname Hostname, contentType string, body io.Reader) (*http.Request, error)
NewPostNodeFileDeployRequestWithBody generates requests for PostNodeFileDeploy with any type of body
func NewPostNodeFileStatusRequest ¶
func NewPostNodeFileStatusRequest(server string, hostname Hostname, body PostNodeFileStatusJSONRequestBody) (*http.Request, error)
NewPostNodeFileStatusRequest calls the generic PostNodeFileStatus builder with application/json body
func NewPostNodeFileStatusRequestWithBody ¶
func NewPostNodeFileStatusRequestWithBody(server string, hostname Hostname, contentType string, body io.Reader) (*http.Request, error)
NewPostNodeFileStatusRequestWithBody generates requests for PostNodeFileStatus with any type of body
func NewPostNodeFileUndeployRequest ¶
func NewPostNodeFileUndeployRequest(server string, hostname Hostname, body PostNodeFileUndeployJSONRequestBody) (*http.Request, error)
NewPostNodeFileUndeployRequest calls the generic PostNodeFileUndeploy builder with application/json body
func NewPostNodeFileUndeployRequestWithBody ¶
func NewPostNodeFileUndeployRequestWithBody(server string, hostname Hostname, contentType string, body io.Reader) (*http.Request, error)
NewPostNodeFileUndeployRequestWithBody generates requests for PostNodeFileUndeploy with any type of body
func NewPostNodeGroupRequest ¶
func NewPostNodeGroupRequest(server string, hostname Hostname, body PostNodeGroupJSONRequestBody) (*http.Request, error)
NewPostNodeGroupRequest calls the generic PostNodeGroup builder with application/json body
func NewPostNodeGroupRequestWithBody ¶
func NewPostNodeGroupRequestWithBody(server string, hostname Hostname, contentType string, body io.Reader) (*http.Request, error)
NewPostNodeGroupRequestWithBody generates requests for PostNodeGroup with any type of body
func NewPostNodeNetworkInterfaceRequest ¶
func NewPostNodeNetworkInterfaceRequest(server string, hostname Hostname, name InterfaceName, body PostNodeNetworkInterfaceJSONRequestBody) (*http.Request, error)
NewPostNodeNetworkInterfaceRequest calls the generic PostNodeNetworkInterface builder with application/json body
func NewPostNodeNetworkInterfaceRequestWithBody ¶
func NewPostNodeNetworkInterfaceRequestWithBody(server string, hostname Hostname, name InterfaceName, contentType string, body io.Reader) (*http.Request, error)
NewPostNodeNetworkInterfaceRequestWithBody generates requests for PostNodeNetworkInterface with any type of body
func NewPostNodeNetworkPingRequest ¶
func NewPostNodeNetworkPingRequest(server string, hostname Hostname, body PostNodeNetworkPingJSONRequestBody) (*http.Request, error)
NewPostNodeNetworkPingRequest calls the generic PostNodeNetworkPing builder with application/json body
func NewPostNodeNetworkPingRequestWithBody ¶
func NewPostNodeNetworkPingRequestWithBody(server string, hostname Hostname, contentType string, body io.Reader) (*http.Request, error)
NewPostNodeNetworkPingRequestWithBody generates requests for PostNodeNetworkPing with any type of body
func NewPostNodeNetworkRouteRequest ¶
func NewPostNodeNetworkRouteRequest(server string, hostname Hostname, interfaceName RouteInterfaceName, body PostNodeNetworkRouteJSONRequestBody) (*http.Request, error)
NewPostNodeNetworkRouteRequest calls the generic PostNodeNetworkRoute builder with application/json body
func NewPostNodeNetworkRouteRequestWithBody ¶
func NewPostNodeNetworkRouteRequestWithBody(server string, hostname Hostname, interfaceName RouteInterfaceName, contentType string, body io.Reader) (*http.Request, error)
NewPostNodeNetworkRouteRequestWithBody generates requests for PostNodeNetworkRoute with any type of body
func NewPostNodeNtpRequest ¶
func NewPostNodeNtpRequest(server string, hostname Hostname, body PostNodeNtpJSONRequestBody) (*http.Request, error)
NewPostNodeNtpRequest calls the generic PostNodeNtp builder with application/json body
func NewPostNodeNtpRequestWithBody ¶
func NewPostNodeNtpRequestWithBody(server string, hostname Hostname, contentType string, body io.Reader) (*http.Request, error)
NewPostNodeNtpRequestWithBody generates requests for PostNodeNtp with any type of body
func NewPostNodePackageRequest ¶
func NewPostNodePackageRequest(server string, hostname Hostname, body PostNodePackageJSONRequestBody) (*http.Request, error)
NewPostNodePackageRequest calls the generic PostNodePackage builder with application/json body
func NewPostNodePackageRequestWithBody ¶
func NewPostNodePackageRequestWithBody(server string, hostname Hostname, contentType string, body io.Reader) (*http.Request, error)
NewPostNodePackageRequestWithBody generates requests for PostNodePackage with any type of body
func NewPostNodePackageUpdateRequest ¶
NewPostNodePackageUpdateRequest generates requests for PostNodePackageUpdate
func NewPostNodePowerRebootRequest ¶
func NewPostNodePowerRebootRequest(server string, hostname Hostname, body PostNodePowerRebootJSONRequestBody) (*http.Request, error)
NewPostNodePowerRebootRequest calls the generic PostNodePowerReboot builder with application/json body
func NewPostNodePowerRebootRequestWithBody ¶
func NewPostNodePowerRebootRequestWithBody(server string, hostname Hostname, contentType string, body io.Reader) (*http.Request, error)
NewPostNodePowerRebootRequestWithBody generates requests for PostNodePowerReboot with any type of body
func NewPostNodePowerShutdownRequest ¶
func NewPostNodePowerShutdownRequest(server string, hostname Hostname, body PostNodePowerShutdownJSONRequestBody) (*http.Request, error)
NewPostNodePowerShutdownRequest calls the generic PostNodePowerShutdown builder with application/json body
func NewPostNodePowerShutdownRequestWithBody ¶
func NewPostNodePowerShutdownRequestWithBody(server string, hostname Hostname, contentType string, body io.Reader) (*http.Request, error)
NewPostNodePowerShutdownRequestWithBody generates requests for PostNodePowerShutdown with any type of body
func NewPostNodeProcessSignalRequest ¶
func NewPostNodeProcessSignalRequest(server string, hostname Hostname, pid Pid, body PostNodeProcessSignalJSONRequestBody) (*http.Request, error)
NewPostNodeProcessSignalRequest calls the generic PostNodeProcessSignal builder with application/json body
func NewPostNodeProcessSignalRequestWithBody ¶
func NewPostNodeProcessSignalRequestWithBody(server string, hostname Hostname, pid Pid, contentType string, body io.Reader) (*http.Request, error)
NewPostNodeProcessSignalRequestWithBody generates requests for PostNodeProcessSignal with any type of body
func NewPostNodeScheduleCronRequest ¶
func NewPostNodeScheduleCronRequest(server string, hostname Hostname, body PostNodeScheduleCronJSONRequestBody) (*http.Request, error)
NewPostNodeScheduleCronRequest calls the generic PostNodeScheduleCron builder with application/json body
func NewPostNodeScheduleCronRequestWithBody ¶
func NewPostNodeScheduleCronRequestWithBody(server string, hostname Hostname, contentType string, body io.Reader) (*http.Request, error)
NewPostNodeScheduleCronRequestWithBody generates requests for PostNodeScheduleCron with any type of body
func NewPostNodeServiceDisableRequest ¶
func NewPostNodeServiceDisableRequest(server string, hostname Hostname, name ServiceName) (*http.Request, error)
NewPostNodeServiceDisableRequest generates requests for PostNodeServiceDisable
func NewPostNodeServiceEnableRequest ¶
func NewPostNodeServiceEnableRequest(server string, hostname Hostname, name ServiceName) (*http.Request, error)
NewPostNodeServiceEnableRequest generates requests for PostNodeServiceEnable
func NewPostNodeServiceRequest ¶
func NewPostNodeServiceRequest(server string, hostname Hostname, body PostNodeServiceJSONRequestBody) (*http.Request, error)
NewPostNodeServiceRequest calls the generic PostNodeService builder with application/json body
func NewPostNodeServiceRequestWithBody ¶
func NewPostNodeServiceRequestWithBody(server string, hostname Hostname, contentType string, body io.Reader) (*http.Request, error)
NewPostNodeServiceRequestWithBody generates requests for PostNodeService with any type of body
func NewPostNodeServiceRestartRequest ¶
func NewPostNodeServiceRestartRequest(server string, hostname Hostname, name ServiceName) (*http.Request, error)
NewPostNodeServiceRestartRequest generates requests for PostNodeServiceRestart
func NewPostNodeServiceStartRequest ¶
func NewPostNodeServiceStartRequest(server string, hostname Hostname, name ServiceName) (*http.Request, error)
NewPostNodeServiceStartRequest generates requests for PostNodeServiceStart
func NewPostNodeServiceStopRequest ¶
func NewPostNodeServiceStopRequest(server string, hostname Hostname, name ServiceName) (*http.Request, error)
NewPostNodeServiceStopRequest generates requests for PostNodeServiceStop
func NewPostNodeSysctlRequest ¶
func NewPostNodeSysctlRequest(server string, hostname Hostname, body PostNodeSysctlJSONRequestBody) (*http.Request, error)
NewPostNodeSysctlRequest calls the generic PostNodeSysctl builder with application/json body
func NewPostNodeSysctlRequestWithBody ¶
func NewPostNodeSysctlRequestWithBody(server string, hostname Hostname, contentType string, body io.Reader) (*http.Request, error)
NewPostNodeSysctlRequestWithBody generates requests for PostNodeSysctl with any type of body
func NewPostNodeUserPasswordRequest ¶
func NewPostNodeUserPasswordRequest(server string, hostname Hostname, name UserName, body PostNodeUserPasswordJSONRequestBody) (*http.Request, error)
NewPostNodeUserPasswordRequest calls the generic PostNodeUserPassword builder with application/json body
func NewPostNodeUserPasswordRequestWithBody ¶
func NewPostNodeUserPasswordRequestWithBody(server string, hostname Hostname, name UserName, contentType string, body io.Reader) (*http.Request, error)
NewPostNodeUserPasswordRequestWithBody generates requests for PostNodeUserPassword with any type of body
func NewPostNodeUserRequest ¶
func NewPostNodeUserRequest(server string, hostname Hostname, body PostNodeUserJSONRequestBody) (*http.Request, error)
NewPostNodeUserRequest calls the generic PostNodeUser builder with application/json body
func NewPostNodeUserRequestWithBody ¶
func NewPostNodeUserRequestWithBody(server string, hostname Hostname, contentType string, body io.Reader) (*http.Request, error)
NewPostNodeUserRequestWithBody generates requests for PostNodeUser with any type of body
func NewPostNodeUserSSHKeyRequest ¶
func NewPostNodeUserSSHKeyRequest(server string, hostname Hostname, name UserName, body PostNodeUserSSHKeyJSONRequestBody) (*http.Request, error)
NewPostNodeUserSSHKeyRequest calls the generic PostNodeUserSSHKey builder with application/json body
func NewPostNodeUserSSHKeyRequestWithBody ¶
func NewPostNodeUserSSHKeyRequestWithBody(server string, hostname Hostname, name UserName, contentType string, body io.Reader) (*http.Request, error)
NewPostNodeUserSSHKeyRequestWithBody generates requests for PostNodeUserSSHKey with any type of body
func NewPutNodeCertificateCaRequest ¶
func NewPutNodeCertificateCaRequest(server string, hostname Hostname, name CertName, body PutNodeCertificateCaJSONRequestBody) (*http.Request, error)
NewPutNodeCertificateCaRequest calls the generic PutNodeCertificateCa builder with application/json body
func NewPutNodeCertificateCaRequestWithBody ¶
func NewPutNodeCertificateCaRequestWithBody(server string, hostname Hostname, name CertName, contentType string, body io.Reader) (*http.Request, error)
NewPutNodeCertificateCaRequestWithBody generates requests for PutNodeCertificateCa with any type of body
func NewPutNodeGroupRequest ¶
func NewPutNodeGroupRequest(server string, hostname Hostname, name GroupName, body PutNodeGroupJSONRequestBody) (*http.Request, error)
NewPutNodeGroupRequest calls the generic PutNodeGroup builder with application/json body
func NewPutNodeGroupRequestWithBody ¶
func NewPutNodeGroupRequestWithBody(server string, hostname Hostname, name GroupName, contentType string, body io.Reader) (*http.Request, error)
NewPutNodeGroupRequestWithBody generates requests for PutNodeGroup with any type of body
func NewPutNodeHostnameRequest ¶
func NewPutNodeHostnameRequest(server string, hostname Hostname, body PutNodeHostnameJSONRequestBody) (*http.Request, error)
NewPutNodeHostnameRequest calls the generic PutNodeHostname builder with application/json body
func NewPutNodeHostnameRequestWithBody ¶
func NewPutNodeHostnameRequestWithBody(server string, hostname Hostname, contentType string, body io.Reader) (*http.Request, error)
NewPutNodeHostnameRequestWithBody generates requests for PutNodeHostname with any type of body
func NewPutNodeNetworkDNSRequest ¶
func NewPutNodeNetworkDNSRequest(server string, hostname Hostname, body PutNodeNetworkDNSJSONRequestBody) (*http.Request, error)
NewPutNodeNetworkDNSRequest calls the generic PutNodeNetworkDNS builder with application/json body
func NewPutNodeNetworkDNSRequestWithBody ¶
func NewPutNodeNetworkDNSRequestWithBody(server string, hostname Hostname, contentType string, body io.Reader) (*http.Request, error)
NewPutNodeNetworkDNSRequestWithBody generates requests for PutNodeNetworkDNS with any type of body
func NewPutNodeNetworkInterfaceRequest ¶
func NewPutNodeNetworkInterfaceRequest(server string, hostname Hostname, name InterfaceName, body PutNodeNetworkInterfaceJSONRequestBody) (*http.Request, error)
NewPutNodeNetworkInterfaceRequest calls the generic PutNodeNetworkInterface builder with application/json body
func NewPutNodeNetworkInterfaceRequestWithBody ¶
func NewPutNodeNetworkInterfaceRequestWithBody(server string, hostname Hostname, name InterfaceName, contentType string, body io.Reader) (*http.Request, error)
NewPutNodeNetworkInterfaceRequestWithBody generates requests for PutNodeNetworkInterface with any type of body
func NewPutNodeNetworkRouteRequest ¶
func NewPutNodeNetworkRouteRequest(server string, hostname Hostname, interfaceName RouteInterfaceName, body PutNodeNetworkRouteJSONRequestBody) (*http.Request, error)
NewPutNodeNetworkRouteRequest calls the generic PutNodeNetworkRoute builder with application/json body
func NewPutNodeNetworkRouteRequestWithBody ¶
func NewPutNodeNetworkRouteRequestWithBody(server string, hostname Hostname, interfaceName RouteInterfaceName, contentType string, body io.Reader) (*http.Request, error)
NewPutNodeNetworkRouteRequestWithBody generates requests for PutNodeNetworkRoute with any type of body
func NewPutNodeNtpRequest ¶
func NewPutNodeNtpRequest(server string, hostname Hostname, body PutNodeNtpJSONRequestBody) (*http.Request, error)
NewPutNodeNtpRequest calls the generic PutNodeNtp builder with application/json body
func NewPutNodeNtpRequestWithBody ¶
func NewPutNodeNtpRequestWithBody(server string, hostname Hostname, contentType string, body io.Reader) (*http.Request, error)
NewPutNodeNtpRequestWithBody generates requests for PutNodeNtp with any type of body
func NewPutNodeScheduleCronRequest ¶
func NewPutNodeScheduleCronRequest(server string, hostname Hostname, name CronName, body PutNodeScheduleCronJSONRequestBody) (*http.Request, error)
NewPutNodeScheduleCronRequest calls the generic PutNodeScheduleCron builder with application/json body
func NewPutNodeScheduleCronRequestWithBody ¶
func NewPutNodeScheduleCronRequestWithBody(server string, hostname Hostname, name CronName, contentType string, body io.Reader) (*http.Request, error)
NewPutNodeScheduleCronRequestWithBody generates requests for PutNodeScheduleCron with any type of body
func NewPutNodeServiceRequest ¶
func NewPutNodeServiceRequest(server string, hostname Hostname, name ServiceName, body PutNodeServiceJSONRequestBody) (*http.Request, error)
NewPutNodeServiceRequest calls the generic PutNodeService builder with application/json body
func NewPutNodeServiceRequestWithBody ¶
func NewPutNodeServiceRequestWithBody(server string, hostname Hostname, name ServiceName, contentType string, body io.Reader) (*http.Request, error)
NewPutNodeServiceRequestWithBody generates requests for PutNodeService with any type of body
func NewPutNodeSysctlRequest ¶
func NewPutNodeSysctlRequest(server string, hostname Hostname, key SysctlKey, body PutNodeSysctlJSONRequestBody) (*http.Request, error)
NewPutNodeSysctlRequest calls the generic PutNodeSysctl builder with application/json body
func NewPutNodeSysctlRequestWithBody ¶
func NewPutNodeSysctlRequestWithBody(server string, hostname Hostname, key SysctlKey, contentType string, body io.Reader) (*http.Request, error)
NewPutNodeSysctlRequestWithBody generates requests for PutNodeSysctl with any type of body
func NewPutNodeTimezoneRequest ¶
func NewPutNodeTimezoneRequest(server string, hostname Hostname, body PutNodeTimezoneJSONRequestBody) (*http.Request, error)
NewPutNodeTimezoneRequest calls the generic PutNodeTimezone builder with application/json body
func NewPutNodeTimezoneRequestWithBody ¶
func NewPutNodeTimezoneRequestWithBody(server string, hostname Hostname, contentType string, body io.Reader) (*http.Request, error)
NewPutNodeTimezoneRequestWithBody generates requests for PutNodeTimezone with any type of body
func NewPutNodeUserRequest ¶
func NewPutNodeUserRequest(server string, hostname Hostname, name UserName, body PutNodeUserJSONRequestBody) (*http.Request, error)
NewPutNodeUserRequest calls the generic PutNodeUser builder with application/json body
func NewPutNodeUserRequestWithBody ¶
func NewPutNodeUserRequestWithBody(server string, hostname Hostname, name UserName, contentType string, body io.Reader) (*http.Request, error)
NewPutNodeUserRequestWithBody generates requests for PutNodeUser with any type of body
func NewRejectAgentRequest ¶
NewRejectAgentRequest generates requests for RejectAgent
func NewRetryJobByIDRequest ¶
func NewRetryJobByIDRequest(server string, id openapi_types.UUID, body RetryJobByIDJSONRequestBody) (*http.Request, error)
NewRetryJobByIDRequest calls the generic RetryJobByID builder with application/json body
Types ¶
type AcceptAgentParams ¶
type AcceptAgentParams struct {
// Fingerprint Accept by fingerprint instead of hostname.
Fingerprint *string `form:"fingerprint,omitempty" json:"fingerprint,omitempty" validate:"omitempty,min=1,max=255"`
}
AcceptAgentParams defines parameters for AcceptAgent.
type AcceptAgentResponse ¶
type AcceptAgentResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Message string `json:"message"`
}
JSON400 *ErrorResponse
JSON401 *ErrorResponse
JSON403 *ErrorResponse
JSON404 *ErrorResponse
JSON500 *ErrorResponse
}
func ParseAcceptAgentResponse ¶
func ParseAcceptAgentResponse(rsp *http.Response) (*AcceptAgentResponse, error)
ParseAcceptAgentResponse parses an HTTP response from a AcceptAgentWithResponse call
func (AcceptAgentResponse) Status ¶
func (r AcceptAgentResponse) Status() string
Status returns HTTPResponse.Status
func (AcceptAgentResponse) StatusCode ¶
func (r AcceptAgentResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AgentDetail ¶
type AgentDetail struct {
// Hostname Agent hostname.
Hostname string `json:"hostname"`
// Labels Formatted label string.
Labels *string `json:"labels,omitempty"`
// Registered Time since last heartbeat registration.
Registered string `json:"registered"`
}
AgentDetail defines model for AgentDetail.
type AgentInfo ¶
type AgentInfo struct {
// Architecture CPU architecture.
Architecture *string `json:"architecture,omitempty"`
// Conditions Evaluated node conditions.
Conditions *[]NodeCondition `json:"conditions,omitempty"`
// CpuCount Number of logical CPUs.
CpuCount *int `json:"cpu_count,omitempty"`
// Facts Extended facts from additional providers.
Facts *map[string]interface{} `json:"facts,omitempty"`
// Fingerprint The SHA256 fingerprint of the agent's PKI public key. Empty when PKI is disabled.
Fingerprint *string `json:"fingerprint,omitempty"`
// Fqdn Fully qualified domain name.
Fqdn *string `json:"fqdn,omitempty"`
// Hostname The hostname of the agent.
Hostname string `json:"hostname"`
Interfaces *[]NetworkInterfaceResponse `json:"interfaces,omitempty"`
// KernelVersion OS kernel version.
KernelVersion *string `json:"kernel_version,omitempty"`
// Labels Key-value labels configured on the agent.
Labels *map[string]string `json:"labels,omitempty"`
// LoadAverage The system load averages for 1, 5, and 15 minutes.
LoadAverage *LoadAverageResponse `json:"load_average,omitempty"`
// MachineId The permanent machine identifier.
MachineId *string `json:"machine_id,omitempty"`
// Memory Memory usage information.
Memory *MemoryResponse `json:"memory,omitempty"`
// OsInfo Operating system information.
OsInfo *OSInfoResponse `json:"os_info,omitempty"`
// PackageMgr Package manager.
PackageMgr *string `json:"package_mgr,omitempty"`
// PrimaryInterface Name of the interface used for the default route.
PrimaryInterface *string `json:"primary_interface,omitempty"`
// RegisteredAt When the agent last refreshed its heartbeat.
RegisteredAt *time.Time `json:"registered_at,omitempty"`
// Routes Network routing table entries.
Routes *[]RouteResponse `json:"routes,omitempty"`
// ServiceMgr Init system.
ServiceMgr *string `json:"service_mgr,omitempty"`
// StartedAt When the agent process started.
StartedAt *time.Time `json:"started_at,omitempty"`
// State Agent scheduling state.
State *AgentInfoState `json:"state,omitempty"`
// Status The current status of the agent.
Status AgentInfoStatus `json:"status"`
// Timeline Agent state transition history.
Timeline *[]TimelineEvent `json:"timeline,omitempty"`
// Uptime The system uptime.
Uptime *string `json:"uptime,omitempty"`
}
AgentInfo defines model for AgentInfo.
type AgentInfoState ¶
type AgentInfoState string
AgentInfoState Agent scheduling state.
const ( AgentInfoStateCordoned AgentInfoState = "Cordoned" AgentInfoStateDraining AgentInfoState = "Draining" AgentInfoStatePending AgentInfoState = "Pending" AgentInfoStateReady AgentInfoState = "Ready" )
Defines values for AgentInfoState.
type AgentInfoStatus ¶
type AgentInfoStatus string
AgentInfoStatus The current status of the agent.
const ( AgentInfoStatusNotReady AgentInfoStatus = "NotReady" AgentInfoStatusReady AgentInfoStatus = "Ready" )
Defines values for AgentInfoStatus.
type AgentStats ¶
type AgentStats struct {
// Agents Per-agent registration details.
Agents *[]AgentDetail `json:"agents,omitempty"`
// Ready Number of agents with Ready status.
Ready int `json:"ready"`
// Total Total number of registered agents.
Total int `json:"total"`
}
AgentStats defines model for AgentStats.
type AuditEntry ¶
type AuditEntry struct {
// DurationMs Request duration in milliseconds.
DurationMs int64 `json:"duration_ms"`
// Id Unique identifier for the audit entry.
Id openapi_types.UUID `json:"id"`
// Method HTTP method.
Method string `json:"method"`
// OperationId OpenAPI operation ID.
OperationId *string `json:"operation_id,omitempty"`
// Path Request URL path.
Path string `json:"path"`
// ResponseCode HTTP response status code.
ResponseCode int `json:"response_code"`
// Roles Roles from the JWT token.
Roles []string `json:"roles"`
// SourceIp Client IP address.
SourceIp string `json:"source_ip"`
// Timestamp When the request was processed.
Timestamp time.Time `json:"timestamp"`
// TraceId OpenTelemetry trace ID for correlation.
TraceId *string `json:"trace_id,omitempty"`
// User Authenticated user (JWT subject).
User string `json:"user"`
}
AuditEntry defines model for AuditEntry.
type AuditEntryResponse ¶
type AuditEntryResponse struct {
Entry AuditEntry `json:"entry"`
}
AuditEntryResponse defines model for AuditEntryResponse.
type CertificateCACollectionResponse ¶
type CertificateCACollectionResponse struct {
// JobId The job ID used to process this request.
JobId *openapi_types.UUID `json:"job_id,omitempty"`
Results []CertificateCAEntry `json:"results"`
}
CertificateCACollectionResponse defines model for CertificateCACollectionResponse.
type CertificateCACreateRequest ¶
type CertificateCACreateRequest struct {
// Name Certificate name (used as filename).
Name string `json:"name" validate:"required,min=1"`
// Object Object Store reference for the PEM file.
Object string `json:"object" validate:"required,min=1"`
}
CertificateCACreateRequest defines model for CertificateCACreateRequest.
type CertificateCAEntry ¶
type CertificateCAEntry struct {
// Certificates List of CA certificates on this host.
Certificates *[]CertificateCAInfo `json:"certificates,omitempty"`
// Error Error message if the agent failed to retrieve certificates.
Error *string `json:"error,omitempty"`
// Hostname Hostname of the agent that reported this entry.
Hostname string `json:"hostname"`
// Status The status of the operation for this host.
Status CertificateCAEntryStatus `json:"status"`
}
CertificateCAEntry List result for CA certificates on one host.
type CertificateCAEntryStatus ¶
type CertificateCAEntryStatus string
CertificateCAEntryStatus The status of the operation for this host.
const ( CertificateCAEntryStatusFailed CertificateCAEntryStatus = "failed" CertificateCAEntryStatusOk CertificateCAEntryStatus = "ok" CertificateCAEntryStatusSkipped CertificateCAEntryStatus = "skipped" )
Defines values for CertificateCAEntryStatus.
type CertificateCAInfo ¶
type CertificateCAInfo struct {
// Name Certificate name.
Name *string `json:"name,omitempty"`
// Object Object store name for the deployed content.
Object *string `json:"object,omitempty"`
// Source Where the certificate originated: "system" for distribution-provided, "custom" for user-installed.
Source *CertificateCAInfoSource `json:"source,omitempty"`
}
CertificateCAInfo A CA certificate entry.
type CertificateCAInfoSource ¶
type CertificateCAInfoSource string
CertificateCAInfoSource Where the certificate originated: "system" for distribution-provided, "custom" for user-installed.
const ( Custom CertificateCAInfoSource = "custom" System CertificateCAInfoSource = "system" )
Defines values for CertificateCAInfoSource.
type CertificateCAMutationEntry ¶
type CertificateCAMutationEntry struct {
// Changed Whether the operation modified system state.
Changed *bool `json:"changed,omitempty"`
// Error Error message if the agent failed.
Error *string `json:"error,omitempty"`
// Hostname Hostname of the agent that processed this operation.
Hostname string `json:"hostname"`
// Name Certificate name.
Name *string `json:"name,omitempty"`
// Status The status of the operation for this host.
Status CertificateCAMutationEntryStatus `json:"status"`
}
CertificateCAMutationEntry Result of a CA certificate create, update, or delete operation for one host.
type CertificateCAMutationEntryStatus ¶
type CertificateCAMutationEntryStatus string
CertificateCAMutationEntryStatus The status of the operation for this host.
const ( CertificateCAMutationEntryStatusFailed CertificateCAMutationEntryStatus = "failed" CertificateCAMutationEntryStatusOk CertificateCAMutationEntryStatus = "ok" CertificateCAMutationEntryStatusSkipped CertificateCAMutationEntryStatus = "skipped" )
Defines values for CertificateCAMutationEntryStatus.
type CertificateCAMutationResponse ¶
type CertificateCAMutationResponse struct {
// JobId The job ID used to process this request.
JobId *openapi_types.UUID `json:"job_id,omitempty"`
Results []CertificateCAMutationEntry `json:"results"`
}
CertificateCAMutationResponse defines model for CertificateCAMutationResponse.
type CertificateCAUpdateRequest ¶
type CertificateCAUpdateRequest struct {
// Object Object Store reference for the new PEM file.
Object string `json:"object" validate:"required,min=1"`
}
CertificateCAUpdateRequest defines model for CertificateCAUpdateRequest.
type Client ¶
type Client struct {
// The endpoint of the server conforming to this interface, with scheme,
// https://api.deepmap.com for example. This can contain a path relative
// to the server, such as https://api.deepmap.com/dev-test, and all the
// paths in the swagger spec will be appended to the server.
Server string
// Doer for performing requests, typically a *http.Client with any
// customized settings, such as certificate chains.
Client HttpRequestDoer
// A list of callbacks for modifying requests which are generated before sending over
// the network.
RequestEditors []RequestEditorFn
}
Client which conforms to the OpenAPI3 specification for this service.
func NewClient ¶
func NewClient(server string, opts ...ClientOption) (*Client, error)
Creates a new Client, with reasonable defaults
func (*Client) AcceptAgent ¶
func (c *Client) AcceptAgent(ctx context.Context, hostname string, params *AcceptAgentParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DeleteFileByName ¶
func (*Client) DeleteJobByID ¶
func (c *Client) DeleteJobByID(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DeleteNodeCertificateCa ¶
func (*Client) DeleteNodeContainerDockerByID ¶
func (c *Client) DeleteNodeContainerDockerByID(ctx context.Context, hostname Hostname, id DockerId, params *DeleteNodeContainerDockerByIDParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DeleteNodeContainerDockerImage ¶
func (c *Client) DeleteNodeContainerDockerImage(ctx context.Context, hostname Hostname, image string, params *DeleteNodeContainerDockerImageParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DeleteNodeGroup ¶
func (*Client) DeleteNodeNetworkDNS ¶
func (c *Client) DeleteNodeNetworkDNS(ctx context.Context, hostname Hostname, body DeleteNodeNetworkDNSJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DeleteNodeNetworkDNSWithBody ¶
func (*Client) DeleteNodeNetworkInterface ¶
func (c *Client) DeleteNodeNetworkInterface(ctx context.Context, hostname Hostname, name InterfaceName, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DeleteNodeNetworkRoute ¶
func (c *Client) DeleteNodeNetworkRoute(ctx context.Context, hostname Hostname, interfaceName RouteInterfaceName, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DeleteNodeNtp ¶
func (*Client) DeleteNodePackage ¶
func (c *Client) DeleteNodePackage(ctx context.Context, hostname Hostname, name PackageName, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DeleteNodeScheduleCron ¶
func (*Client) DeleteNodeService ¶
func (c *Client) DeleteNodeService(ctx context.Context, hostname Hostname, name ServiceName, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DeleteNodeSysctl ¶
func (*Client) DeleteNodeUser ¶
func (*Client) DeleteNodeUserSSHKey ¶
func (c *Client) DeleteNodeUserSSHKey(ctx context.Context, hostname Hostname, name UserName, fingerprint SSHKeyFingerprint, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DrainAgent ¶
func (*Client) GetAgentDetails ¶
func (*Client) GetAgentsPending ¶
func (*Client) GetApiVersion ¶
func (*Client) GetAuditExport ¶
func (*Client) GetAuditLogByID ¶
func (c *Client) GetAuditLogByID(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetAuditLogs ¶
func (c *Client) GetAuditLogs(ctx context.Context, params *GetAuditLogsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetFactKeys ¶
func (*Client) GetFileByName ¶
func (*Client) GetFileStale ¶
func (*Client) GetHealthReady ¶
func (*Client) GetHealthStatus ¶
func (*Client) GetJobByID ¶
func (c *Client) GetJobByID(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetJobs ¶
func (c *Client) GetJobs(ctx context.Context, params *GetJobsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetNodeCertificateCa ¶
func (*Client) GetNodeContainerDocker ¶
func (c *Client) GetNodeContainerDocker(ctx context.Context, hostname Hostname, params *GetNodeContainerDockerParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetNodeContainerDockerByID ¶
func (*Client) GetNodeDisk ¶
func (*Client) GetNodeGroup ¶
func (*Client) GetNodeGroupByName ¶
func (*Client) GetNodeHostname ¶
func (*Client) GetNodeLoad ¶
func (*Client) GetNodeLog ¶
func (c *Client) GetNodeLog(ctx context.Context, hostname Hostname, params *GetNodeLogParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetNodeLogSource ¶
func (*Client) GetNodeLogUnit ¶
func (c *Client) GetNodeLogUnit(ctx context.Context, hostname Hostname, name UnitName, params *GetNodeLogUnitParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetNodeMemory ¶
func (*Client) GetNodeNetworkDNSByInterface ¶
func (*Client) GetNodeNetworkInterface ¶
func (*Client) GetNodeNetworkInterfaceByName ¶
func (c *Client) GetNodeNetworkInterfaceByName(ctx context.Context, hostname Hostname, name InterfaceName, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetNodeNetworkRoute ¶
func (*Client) GetNodeNetworkRouteByInterface ¶
func (c *Client) GetNodeNetworkRouteByInterface(ctx context.Context, hostname Hostname, interfaceName RouteInterfaceName, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetNodeNtp ¶
func (*Client) GetNodePackage ¶
func (*Client) GetNodePackageByName ¶
func (c *Client) GetNodePackageByName(ctx context.Context, hostname Hostname, name PackageName, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetNodePackageUpdate ¶
func (*Client) GetNodeProcess ¶
func (*Client) GetNodeProcessByPid ¶
func (*Client) GetNodeScheduleCron ¶
func (*Client) GetNodeScheduleCronByName ¶
func (*Client) GetNodeService ¶
func (*Client) GetNodeServiceByName ¶
func (c *Client) GetNodeServiceByName(ctx context.Context, hostname Hostname, name ServiceName, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetNodeStatus ¶
func (*Client) GetNodeSysctl ¶
func (*Client) GetNodeSysctlByKey ¶
func (*Client) GetNodeTimezone ¶
func (*Client) GetNodeUptime ¶
func (*Client) GetNodeUser ¶
func (*Client) GetNodeUserByName ¶
func (*Client) GetNodeUserSSHKey ¶
func (*Client) PostFileWithBody ¶
func (*Client) PostNodeCertificateCa ¶
func (c *Client) PostNodeCertificateCa(ctx context.Context, hostname Hostname, body PostNodeCertificateCaJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PostNodeCertificateCaWithBody ¶
func (*Client) PostNodeCommandExec ¶
func (c *Client) PostNodeCommandExec(ctx context.Context, hostname Hostname, body PostNodeCommandExecJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PostNodeCommandExecWithBody ¶
func (*Client) PostNodeCommandShell ¶
func (c *Client) PostNodeCommandShell(ctx context.Context, hostname Hostname, body PostNodeCommandShellJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PostNodeCommandShellWithBody ¶
func (*Client) PostNodeContainerDocker ¶
func (c *Client) PostNodeContainerDocker(ctx context.Context, hostname Hostname, body PostNodeContainerDockerJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PostNodeContainerDockerExec ¶
func (c *Client) PostNodeContainerDockerExec(ctx context.Context, hostname Hostname, id DockerId, body PostNodeContainerDockerExecJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PostNodeContainerDockerExecWithBody ¶
func (*Client) PostNodeContainerDockerPull ¶
func (c *Client) PostNodeContainerDockerPull(ctx context.Context, hostname Hostname, body PostNodeContainerDockerPullJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PostNodeContainerDockerPullWithBody ¶
func (*Client) PostNodeContainerDockerStart ¶
func (*Client) PostNodeContainerDockerStop ¶
func (c *Client) PostNodeContainerDockerStop(ctx context.Context, hostname Hostname, id DockerId, body PostNodeContainerDockerStopJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PostNodeContainerDockerStopWithBody ¶
func (*Client) PostNodeContainerDockerWithBody ¶
func (*Client) PostNodeFileDeploy ¶
func (c *Client) PostNodeFileDeploy(ctx context.Context, hostname Hostname, body PostNodeFileDeployJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PostNodeFileDeployWithBody ¶
func (*Client) PostNodeFileStatus ¶
func (c *Client) PostNodeFileStatus(ctx context.Context, hostname Hostname, body PostNodeFileStatusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PostNodeFileStatusWithBody ¶
func (*Client) PostNodeFileUndeploy ¶
func (c *Client) PostNodeFileUndeploy(ctx context.Context, hostname Hostname, body PostNodeFileUndeployJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PostNodeFileUndeployWithBody ¶
func (*Client) PostNodeGroup ¶
func (c *Client) PostNodeGroup(ctx context.Context, hostname Hostname, body PostNodeGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PostNodeGroupWithBody ¶
func (*Client) PostNodeNetworkInterface ¶
func (c *Client) PostNodeNetworkInterface(ctx context.Context, hostname Hostname, name InterfaceName, body PostNodeNetworkInterfaceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PostNodeNetworkInterfaceWithBody ¶
func (*Client) PostNodeNetworkPing ¶
func (c *Client) PostNodeNetworkPing(ctx context.Context, hostname Hostname, body PostNodeNetworkPingJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PostNodeNetworkPingWithBody ¶
func (*Client) PostNodeNetworkRoute ¶
func (c *Client) PostNodeNetworkRoute(ctx context.Context, hostname Hostname, interfaceName RouteInterfaceName, body PostNodeNetworkRouteJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PostNodeNetworkRouteWithBody ¶
func (*Client) PostNodeNtp ¶
func (c *Client) PostNodeNtp(ctx context.Context, hostname Hostname, body PostNodeNtpJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PostNodeNtpWithBody ¶
func (*Client) PostNodePackage ¶
func (c *Client) PostNodePackage(ctx context.Context, hostname Hostname, body PostNodePackageJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PostNodePackageUpdate ¶
func (*Client) PostNodePackageWithBody ¶
func (*Client) PostNodePowerReboot ¶
func (c *Client) PostNodePowerReboot(ctx context.Context, hostname Hostname, body PostNodePowerRebootJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PostNodePowerRebootWithBody ¶
func (*Client) PostNodePowerShutdown ¶
func (c *Client) PostNodePowerShutdown(ctx context.Context, hostname Hostname, body PostNodePowerShutdownJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PostNodePowerShutdownWithBody ¶
func (*Client) PostNodeProcessSignal ¶
func (c *Client) PostNodeProcessSignal(ctx context.Context, hostname Hostname, pid Pid, body PostNodeProcessSignalJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PostNodeProcessSignalWithBody ¶
func (*Client) PostNodeScheduleCron ¶
func (c *Client) PostNodeScheduleCron(ctx context.Context, hostname Hostname, body PostNodeScheduleCronJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PostNodeScheduleCronWithBody ¶
func (*Client) PostNodeService ¶
func (c *Client) PostNodeService(ctx context.Context, hostname Hostname, body PostNodeServiceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PostNodeServiceDisable ¶
func (c *Client) PostNodeServiceDisable(ctx context.Context, hostname Hostname, name ServiceName, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PostNodeServiceEnable ¶
func (c *Client) PostNodeServiceEnable(ctx context.Context, hostname Hostname, name ServiceName, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PostNodeServiceRestart ¶
func (c *Client) PostNodeServiceRestart(ctx context.Context, hostname Hostname, name ServiceName, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PostNodeServiceStart ¶
func (c *Client) PostNodeServiceStart(ctx context.Context, hostname Hostname, name ServiceName, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PostNodeServiceStop ¶
func (c *Client) PostNodeServiceStop(ctx context.Context, hostname Hostname, name ServiceName, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PostNodeServiceWithBody ¶
func (*Client) PostNodeSysctl ¶
func (c *Client) PostNodeSysctl(ctx context.Context, hostname Hostname, body PostNodeSysctlJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PostNodeSysctlWithBody ¶
func (*Client) PostNodeUser ¶
func (c *Client) PostNodeUser(ctx context.Context, hostname Hostname, body PostNodeUserJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PostNodeUserPassword ¶
func (c *Client) PostNodeUserPassword(ctx context.Context, hostname Hostname, name UserName, body PostNodeUserPasswordJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PostNodeUserPasswordWithBody ¶
func (*Client) PostNodeUserSSHKey ¶
func (c *Client) PostNodeUserSSHKey(ctx context.Context, hostname Hostname, name UserName, body PostNodeUserSSHKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PostNodeUserSSHKeyWithBody ¶
func (*Client) PostNodeUserWithBody ¶
func (*Client) PutNodeCertificateCa ¶
func (c *Client) PutNodeCertificateCa(ctx context.Context, hostname Hostname, name CertName, body PutNodeCertificateCaJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PutNodeCertificateCaWithBody ¶
func (*Client) PutNodeGroup ¶
func (c *Client) PutNodeGroup(ctx context.Context, hostname Hostname, name GroupName, body PutNodeGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PutNodeGroupWithBody ¶
func (*Client) PutNodeHostname ¶
func (c *Client) PutNodeHostname(ctx context.Context, hostname Hostname, body PutNodeHostnameJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PutNodeHostnameWithBody ¶
func (*Client) PutNodeNetworkDNS ¶
func (c *Client) PutNodeNetworkDNS(ctx context.Context, hostname Hostname, body PutNodeNetworkDNSJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PutNodeNetworkDNSWithBody ¶
func (*Client) PutNodeNetworkInterface ¶
func (c *Client) PutNodeNetworkInterface(ctx context.Context, hostname Hostname, name InterfaceName, body PutNodeNetworkInterfaceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PutNodeNetworkInterfaceWithBody ¶
func (*Client) PutNodeNetworkRoute ¶
func (c *Client) PutNodeNetworkRoute(ctx context.Context, hostname Hostname, interfaceName RouteInterfaceName, body PutNodeNetworkRouteJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PutNodeNetworkRouteWithBody ¶
func (*Client) PutNodeNtp ¶
func (c *Client) PutNodeNtp(ctx context.Context, hostname Hostname, body PutNodeNtpJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PutNodeNtpWithBody ¶
func (*Client) PutNodeScheduleCron ¶
func (c *Client) PutNodeScheduleCron(ctx context.Context, hostname Hostname, name CronName, body PutNodeScheduleCronJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PutNodeScheduleCronWithBody ¶
func (*Client) PutNodeService ¶
func (c *Client) PutNodeService(ctx context.Context, hostname Hostname, name ServiceName, body PutNodeServiceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PutNodeServiceWithBody ¶
func (*Client) PutNodeSysctl ¶
func (c *Client) PutNodeSysctl(ctx context.Context, hostname Hostname, key SysctlKey, body PutNodeSysctlJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PutNodeSysctlWithBody ¶
func (*Client) PutNodeTimezone ¶
func (c *Client) PutNodeTimezone(ctx context.Context, hostname Hostname, body PutNodeTimezoneJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PutNodeTimezoneWithBody ¶
func (*Client) PutNodeUser ¶
func (c *Client) PutNodeUser(ctx context.Context, hostname Hostname, name UserName, body PutNodeUserJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PutNodeUserWithBody ¶
func (*Client) RejectAgent ¶
func (*Client) RetryJobByID ¶
func (c *Client) RetryJobByID(ctx context.Context, id openapi_types.UUID, body RetryJobByIDJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) RetryJobByIDWithBody ¶
func (*Client) UndrainAgent ¶
type ClientInterface ¶
type ClientInterface interface {
// GetAgents request
GetAgents(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetAgentsPending request
GetAgentsPending(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetAgentDetails request
GetAgentDetails(ctx context.Context, hostname string, reqEditors ...RequestEditorFn) (*http.Response, error)
// AcceptAgent request
AcceptAgent(ctx context.Context, hostname string, params *AcceptAgentParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// DrainAgent request
DrainAgent(ctx context.Context, hostname string, reqEditors ...RequestEditorFn) (*http.Response, error)
// RejectAgent request
RejectAgent(ctx context.Context, hostname string, reqEditors ...RequestEditorFn) (*http.Response, error)
// UndrainAgent request
UndrainAgent(ctx context.Context, hostname string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetAuditLogs request
GetAuditLogs(ctx context.Context, params *GetAuditLogsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetAuditExport request
GetAuditExport(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetAuditLogByID request
GetAuditLogByID(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetFactKeys request
GetFactKeys(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetFiles request
GetFiles(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostFileWithBody request with any body
PostFileWithBody(ctx context.Context, params *PostFileParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetFileStale request
GetFileStale(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteFileByName request
DeleteFileByName(ctx context.Context, name FileName, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetFileByName request
GetFileByName(ctx context.Context, name FileName, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetHealth request
GetHealth(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetHealthReady request
GetHealthReady(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetHealthStatus request
GetHealthStatus(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetJobs request
GetJobs(ctx context.Context, params *GetJobsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteJobByID request
DeleteJobByID(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetJobByID request
GetJobByID(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// RetryJobByIDWithBody request with any body
RetryJobByIDWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
RetryJobByID(ctx context.Context, id openapi_types.UUID, body RetryJobByIDJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetNodeStatus request
GetNodeStatus(ctx context.Context, hostname Hostname, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetNodeCertificateCa request
GetNodeCertificateCa(ctx context.Context, hostname Hostname, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostNodeCertificateCaWithBody request with any body
PostNodeCertificateCaWithBody(ctx context.Context, hostname Hostname, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PostNodeCertificateCa(ctx context.Context, hostname Hostname, body PostNodeCertificateCaJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteNodeCertificateCa request
DeleteNodeCertificateCa(ctx context.Context, hostname Hostname, name CertName, reqEditors ...RequestEditorFn) (*http.Response, error)
// PutNodeCertificateCaWithBody request with any body
PutNodeCertificateCaWithBody(ctx context.Context, hostname Hostname, name CertName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PutNodeCertificateCa(ctx context.Context, hostname Hostname, name CertName, body PutNodeCertificateCaJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostNodeCommandExecWithBody request with any body
PostNodeCommandExecWithBody(ctx context.Context, hostname Hostname, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PostNodeCommandExec(ctx context.Context, hostname Hostname, body PostNodeCommandExecJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostNodeCommandShellWithBody request with any body
PostNodeCommandShellWithBody(ctx context.Context, hostname Hostname, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PostNodeCommandShell(ctx context.Context, hostname Hostname, body PostNodeCommandShellJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetNodeContainerDocker request
GetNodeContainerDocker(ctx context.Context, hostname Hostname, params *GetNodeContainerDockerParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostNodeContainerDockerWithBody request with any body
PostNodeContainerDockerWithBody(ctx context.Context, hostname Hostname, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PostNodeContainerDocker(ctx context.Context, hostname Hostname, body PostNodeContainerDockerJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteNodeContainerDockerImage request
DeleteNodeContainerDockerImage(ctx context.Context, hostname Hostname, image string, params *DeleteNodeContainerDockerImageParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostNodeContainerDockerPullWithBody request with any body
PostNodeContainerDockerPullWithBody(ctx context.Context, hostname Hostname, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PostNodeContainerDockerPull(ctx context.Context, hostname Hostname, body PostNodeContainerDockerPullJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteNodeContainerDockerByID request
DeleteNodeContainerDockerByID(ctx context.Context, hostname Hostname, id DockerId, params *DeleteNodeContainerDockerByIDParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetNodeContainerDockerByID request
GetNodeContainerDockerByID(ctx context.Context, hostname Hostname, id DockerId, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostNodeContainerDockerExecWithBody request with any body
PostNodeContainerDockerExecWithBody(ctx context.Context, hostname Hostname, id DockerId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PostNodeContainerDockerExec(ctx context.Context, hostname Hostname, id DockerId, body PostNodeContainerDockerExecJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostNodeContainerDockerStart request
PostNodeContainerDockerStart(ctx context.Context, hostname Hostname, id DockerId, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostNodeContainerDockerStopWithBody request with any body
PostNodeContainerDockerStopWithBody(ctx context.Context, hostname Hostname, id DockerId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PostNodeContainerDockerStop(ctx context.Context, hostname Hostname, id DockerId, body PostNodeContainerDockerStopJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetNodeDisk request
GetNodeDisk(ctx context.Context, hostname Hostname, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostNodeFileDeployWithBody request with any body
PostNodeFileDeployWithBody(ctx context.Context, hostname Hostname, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PostNodeFileDeploy(ctx context.Context, hostname Hostname, body PostNodeFileDeployJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostNodeFileStatusWithBody request with any body
PostNodeFileStatusWithBody(ctx context.Context, hostname Hostname, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PostNodeFileStatus(ctx context.Context, hostname Hostname, body PostNodeFileStatusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostNodeFileUndeployWithBody request with any body
PostNodeFileUndeployWithBody(ctx context.Context, hostname Hostname, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PostNodeFileUndeploy(ctx context.Context, hostname Hostname, body PostNodeFileUndeployJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetNodeGroup request
GetNodeGroup(ctx context.Context, hostname Hostname, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostNodeGroupWithBody request with any body
PostNodeGroupWithBody(ctx context.Context, hostname Hostname, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PostNodeGroup(ctx context.Context, hostname Hostname, body PostNodeGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteNodeGroup request
DeleteNodeGroup(ctx context.Context, hostname Hostname, name GroupName, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetNodeGroupByName request
GetNodeGroupByName(ctx context.Context, hostname Hostname, name GroupName, reqEditors ...RequestEditorFn) (*http.Response, error)
// PutNodeGroupWithBody request with any body
PutNodeGroupWithBody(ctx context.Context, hostname Hostname, name GroupName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PutNodeGroup(ctx context.Context, hostname Hostname, name GroupName, body PutNodeGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetNodeHostname request
GetNodeHostname(ctx context.Context, hostname Hostname, reqEditors ...RequestEditorFn) (*http.Response, error)
// PutNodeHostnameWithBody request with any body
PutNodeHostnameWithBody(ctx context.Context, hostname Hostname, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PutNodeHostname(ctx context.Context, hostname Hostname, body PutNodeHostnameJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetNodeLoad request
GetNodeLoad(ctx context.Context, hostname Hostname, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetNodeLog request
GetNodeLog(ctx context.Context, hostname Hostname, params *GetNodeLogParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetNodeLogSource request
GetNodeLogSource(ctx context.Context, hostname Hostname, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetNodeLogUnit request
GetNodeLogUnit(ctx context.Context, hostname Hostname, name UnitName, params *GetNodeLogUnitParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetNodeMemory request
GetNodeMemory(ctx context.Context, hostname Hostname, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteNodeNetworkDNSWithBody request with any body
DeleteNodeNetworkDNSWithBody(ctx context.Context, hostname Hostname, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteNodeNetworkDNS(ctx context.Context, hostname Hostname, body DeleteNodeNetworkDNSJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// PutNodeNetworkDNSWithBody request with any body
PutNodeNetworkDNSWithBody(ctx context.Context, hostname Hostname, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PutNodeNetworkDNS(ctx context.Context, hostname Hostname, body PutNodeNetworkDNSJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetNodeNetworkDNSByInterface request
GetNodeNetworkDNSByInterface(ctx context.Context, hostname Hostname, interfaceName string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetNodeNetworkInterface request
GetNodeNetworkInterface(ctx context.Context, hostname Hostname, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteNodeNetworkInterface request
DeleteNodeNetworkInterface(ctx context.Context, hostname Hostname, name InterfaceName, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetNodeNetworkInterfaceByName request
GetNodeNetworkInterfaceByName(ctx context.Context, hostname Hostname, name InterfaceName, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostNodeNetworkInterfaceWithBody request with any body
PostNodeNetworkInterfaceWithBody(ctx context.Context, hostname Hostname, name InterfaceName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PostNodeNetworkInterface(ctx context.Context, hostname Hostname, name InterfaceName, body PostNodeNetworkInterfaceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// PutNodeNetworkInterfaceWithBody request with any body
PutNodeNetworkInterfaceWithBody(ctx context.Context, hostname Hostname, name InterfaceName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PutNodeNetworkInterface(ctx context.Context, hostname Hostname, name InterfaceName, body PutNodeNetworkInterfaceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostNodeNetworkPingWithBody request with any body
PostNodeNetworkPingWithBody(ctx context.Context, hostname Hostname, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PostNodeNetworkPing(ctx context.Context, hostname Hostname, body PostNodeNetworkPingJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetNodeNetworkRoute request
GetNodeNetworkRoute(ctx context.Context, hostname Hostname, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteNodeNetworkRoute request
DeleteNodeNetworkRoute(ctx context.Context, hostname Hostname, interfaceName RouteInterfaceName, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetNodeNetworkRouteByInterface request
GetNodeNetworkRouteByInterface(ctx context.Context, hostname Hostname, interfaceName RouteInterfaceName, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostNodeNetworkRouteWithBody request with any body
PostNodeNetworkRouteWithBody(ctx context.Context, hostname Hostname, interfaceName RouteInterfaceName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PostNodeNetworkRoute(ctx context.Context, hostname Hostname, interfaceName RouteInterfaceName, body PostNodeNetworkRouteJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// PutNodeNetworkRouteWithBody request with any body
PutNodeNetworkRouteWithBody(ctx context.Context, hostname Hostname, interfaceName RouteInterfaceName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PutNodeNetworkRoute(ctx context.Context, hostname Hostname, interfaceName RouteInterfaceName, body PutNodeNetworkRouteJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteNodeNtp request
DeleteNodeNtp(ctx context.Context, hostname Hostname, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetNodeNtp request
GetNodeNtp(ctx context.Context, hostname Hostname, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostNodeNtpWithBody request with any body
PostNodeNtpWithBody(ctx context.Context, hostname Hostname, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PostNodeNtp(ctx context.Context, hostname Hostname, body PostNodeNtpJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// PutNodeNtpWithBody request with any body
PutNodeNtpWithBody(ctx context.Context, hostname Hostname, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PutNodeNtp(ctx context.Context, hostname Hostname, body PutNodeNtpJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetNodeOS request
GetNodeOS(ctx context.Context, hostname Hostname, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetNodePackage request
GetNodePackage(ctx context.Context, hostname Hostname, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostNodePackageWithBody request with any body
PostNodePackageWithBody(ctx context.Context, hostname Hostname, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PostNodePackage(ctx context.Context, hostname Hostname, body PostNodePackageJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetNodePackageUpdate request
GetNodePackageUpdate(ctx context.Context, hostname Hostname, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostNodePackageUpdate request
PostNodePackageUpdate(ctx context.Context, hostname Hostname, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteNodePackage request
DeleteNodePackage(ctx context.Context, hostname Hostname, name PackageName, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetNodePackageByName request
GetNodePackageByName(ctx context.Context, hostname Hostname, name PackageName, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostNodePowerRebootWithBody request with any body
PostNodePowerRebootWithBody(ctx context.Context, hostname Hostname, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PostNodePowerReboot(ctx context.Context, hostname Hostname, body PostNodePowerRebootJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostNodePowerShutdownWithBody request with any body
PostNodePowerShutdownWithBody(ctx context.Context, hostname Hostname, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PostNodePowerShutdown(ctx context.Context, hostname Hostname, body PostNodePowerShutdownJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetNodeProcess request
GetNodeProcess(ctx context.Context, hostname Hostname, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetNodeProcessByPid request
GetNodeProcessByPid(ctx context.Context, hostname Hostname, pid Pid, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostNodeProcessSignalWithBody request with any body
PostNodeProcessSignalWithBody(ctx context.Context, hostname Hostname, pid Pid, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PostNodeProcessSignal(ctx context.Context, hostname Hostname, pid Pid, body PostNodeProcessSignalJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetNodeScheduleCron request
GetNodeScheduleCron(ctx context.Context, hostname Hostname, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostNodeScheduleCronWithBody request with any body
PostNodeScheduleCronWithBody(ctx context.Context, hostname Hostname, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PostNodeScheduleCron(ctx context.Context, hostname Hostname, body PostNodeScheduleCronJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteNodeScheduleCron request
DeleteNodeScheduleCron(ctx context.Context, hostname Hostname, name CronName, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetNodeScheduleCronByName request
GetNodeScheduleCronByName(ctx context.Context, hostname Hostname, name CronName, reqEditors ...RequestEditorFn) (*http.Response, error)
// PutNodeScheduleCronWithBody request with any body
PutNodeScheduleCronWithBody(ctx context.Context, hostname Hostname, name CronName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PutNodeScheduleCron(ctx context.Context, hostname Hostname, name CronName, body PutNodeScheduleCronJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetNodeService request
GetNodeService(ctx context.Context, hostname Hostname, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostNodeServiceWithBody request with any body
PostNodeServiceWithBody(ctx context.Context, hostname Hostname, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PostNodeService(ctx context.Context, hostname Hostname, body PostNodeServiceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteNodeService request
DeleteNodeService(ctx context.Context, hostname Hostname, name ServiceName, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetNodeServiceByName request
GetNodeServiceByName(ctx context.Context, hostname Hostname, name ServiceName, reqEditors ...RequestEditorFn) (*http.Response, error)
// PutNodeServiceWithBody request with any body
PutNodeServiceWithBody(ctx context.Context, hostname Hostname, name ServiceName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PutNodeService(ctx context.Context, hostname Hostname, name ServiceName, body PutNodeServiceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostNodeServiceDisable request
PostNodeServiceDisable(ctx context.Context, hostname Hostname, name ServiceName, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostNodeServiceEnable request
PostNodeServiceEnable(ctx context.Context, hostname Hostname, name ServiceName, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostNodeServiceRestart request
PostNodeServiceRestart(ctx context.Context, hostname Hostname, name ServiceName, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostNodeServiceStart request
PostNodeServiceStart(ctx context.Context, hostname Hostname, name ServiceName, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostNodeServiceStop request
PostNodeServiceStop(ctx context.Context, hostname Hostname, name ServiceName, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetNodeSysctl request
GetNodeSysctl(ctx context.Context, hostname Hostname, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostNodeSysctlWithBody request with any body
PostNodeSysctlWithBody(ctx context.Context, hostname Hostname, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PostNodeSysctl(ctx context.Context, hostname Hostname, body PostNodeSysctlJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteNodeSysctl request
DeleteNodeSysctl(ctx context.Context, hostname Hostname, key SysctlKey, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetNodeSysctlByKey request
GetNodeSysctlByKey(ctx context.Context, hostname Hostname, key SysctlKey, reqEditors ...RequestEditorFn) (*http.Response, error)
// PutNodeSysctlWithBody request with any body
PutNodeSysctlWithBody(ctx context.Context, hostname Hostname, key SysctlKey, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PutNodeSysctl(ctx context.Context, hostname Hostname, key SysctlKey, body PutNodeSysctlJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetNodeTimezone request
GetNodeTimezone(ctx context.Context, hostname Hostname, reqEditors ...RequestEditorFn) (*http.Response, error)
// PutNodeTimezoneWithBody request with any body
PutNodeTimezoneWithBody(ctx context.Context, hostname Hostname, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PutNodeTimezone(ctx context.Context, hostname Hostname, body PutNodeTimezoneJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetNodeUptime request
GetNodeUptime(ctx context.Context, hostname Hostname, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetNodeUser request
GetNodeUser(ctx context.Context, hostname Hostname, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostNodeUserWithBody request with any body
PostNodeUserWithBody(ctx context.Context, hostname Hostname, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PostNodeUser(ctx context.Context, hostname Hostname, body PostNodeUserJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteNodeUser request
DeleteNodeUser(ctx context.Context, hostname Hostname, name UserName, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetNodeUserByName request
GetNodeUserByName(ctx context.Context, hostname Hostname, name UserName, reqEditors ...RequestEditorFn) (*http.Response, error)
// PutNodeUserWithBody request with any body
PutNodeUserWithBody(ctx context.Context, hostname Hostname, name UserName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PutNodeUser(ctx context.Context, hostname Hostname, name UserName, body PutNodeUserJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostNodeUserPasswordWithBody request with any body
PostNodeUserPasswordWithBody(ctx context.Context, hostname Hostname, name UserName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PostNodeUserPassword(ctx context.Context, hostname Hostname, name UserName, body PostNodeUserPasswordJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetNodeUserSSHKey request
GetNodeUserSSHKey(ctx context.Context, hostname Hostname, name UserName, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostNodeUserSSHKeyWithBody request with any body
PostNodeUserSSHKeyWithBody(ctx context.Context, hostname Hostname, name UserName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PostNodeUserSSHKey(ctx context.Context, hostname Hostname, name UserName, body PostNodeUserSSHKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteNodeUserSSHKey request
DeleteNodeUserSSHKey(ctx context.Context, hostname Hostname, name UserName, fingerprint SSHKeyFingerprint, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetApiVersion request
GetApiVersion(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
}
The interface specification for the client above.
type ClientOption ¶
ClientOption allows setting custom parameters during construction
func WithHTTPClient ¶
func WithHTTPClient(doer HttpRequestDoer) ClientOption
WithHTTPClient allows overriding the default Doer, which is automatically created using http.Client. This is useful for tests.
func WithRequestEditorFn ¶
func WithRequestEditorFn(fn RequestEditorFn) ClientOption
WithRequestEditorFn allows setting up a callback function, which will be called right before sending the request. This can be used to mutate the request.
type ClientWithResponses ¶
type ClientWithResponses struct {
ClientInterface
}
ClientWithResponses builds on ClientInterface to offer response payloads
func NewClientWithResponses ¶
func NewClientWithResponses(server string, opts ...ClientOption) (*ClientWithResponses, error)
NewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling
func (*ClientWithResponses) AcceptAgentWithResponse ¶
func (c *ClientWithResponses) AcceptAgentWithResponse(ctx context.Context, hostname string, params *AcceptAgentParams, reqEditors ...RequestEditorFn) (*AcceptAgentResponse, error)
AcceptAgentWithResponse request returning *AcceptAgentResponse
func (*ClientWithResponses) DeleteFileByNameWithResponse ¶
func (c *ClientWithResponses) DeleteFileByNameWithResponse(ctx context.Context, name FileName, reqEditors ...RequestEditorFn) (*DeleteFileByNameResponse, error)
DeleteFileByNameWithResponse request returning *DeleteFileByNameResponse
func (*ClientWithResponses) DeleteJobByIDWithResponse ¶
func (c *ClientWithResponses) DeleteJobByIDWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteJobByIDResponse, error)
DeleteJobByIDWithResponse request returning *DeleteJobByIDResponse
func (*ClientWithResponses) DeleteNodeCertificateCaWithResponse ¶
func (c *ClientWithResponses) DeleteNodeCertificateCaWithResponse(ctx context.Context, hostname Hostname, name CertName, reqEditors ...RequestEditorFn) (*DeleteNodeCertificateCaResponse, error)
DeleteNodeCertificateCaWithResponse request returning *DeleteNodeCertificateCaResponse
func (*ClientWithResponses) DeleteNodeContainerDockerByIDWithResponse ¶
func (c *ClientWithResponses) DeleteNodeContainerDockerByIDWithResponse(ctx context.Context, hostname Hostname, id DockerId, params *DeleteNodeContainerDockerByIDParams, reqEditors ...RequestEditorFn) (*DeleteNodeContainerDockerByIDResponse, error)
DeleteNodeContainerDockerByIDWithResponse request returning *DeleteNodeContainerDockerByIDResponse
func (*ClientWithResponses) DeleteNodeContainerDockerImageWithResponse ¶
func (c *ClientWithResponses) DeleteNodeContainerDockerImageWithResponse(ctx context.Context, hostname Hostname, image string, params *DeleteNodeContainerDockerImageParams, reqEditors ...RequestEditorFn) (*DeleteNodeContainerDockerImageResponse, error)
DeleteNodeContainerDockerImageWithResponse request returning *DeleteNodeContainerDockerImageResponse
func (*ClientWithResponses) DeleteNodeGroupWithResponse ¶
func (c *ClientWithResponses) DeleteNodeGroupWithResponse(ctx context.Context, hostname Hostname, name GroupName, reqEditors ...RequestEditorFn) (*DeleteNodeGroupResponse, error)
DeleteNodeGroupWithResponse request returning *DeleteNodeGroupResponse
func (*ClientWithResponses) DeleteNodeNetworkDNSWithBodyWithResponse ¶
func (c *ClientWithResponses) DeleteNodeNetworkDNSWithBodyWithResponse(ctx context.Context, hostname Hostname, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteNodeNetworkDNSResponse, error)
DeleteNodeNetworkDNSWithBodyWithResponse request with arbitrary body returning *DeleteNodeNetworkDNSResponse
func (*ClientWithResponses) DeleteNodeNetworkDNSWithResponse ¶
func (c *ClientWithResponses) DeleteNodeNetworkDNSWithResponse(ctx context.Context, hostname Hostname, body DeleteNodeNetworkDNSJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteNodeNetworkDNSResponse, error)
func (*ClientWithResponses) DeleteNodeNetworkInterfaceWithResponse ¶
func (c *ClientWithResponses) DeleteNodeNetworkInterfaceWithResponse(ctx context.Context, hostname Hostname, name InterfaceName, reqEditors ...RequestEditorFn) (*DeleteNodeNetworkInterfaceResponse, error)
DeleteNodeNetworkInterfaceWithResponse request returning *DeleteNodeNetworkInterfaceResponse
func (*ClientWithResponses) DeleteNodeNetworkRouteWithResponse ¶
func (c *ClientWithResponses) DeleteNodeNetworkRouteWithResponse(ctx context.Context, hostname Hostname, interfaceName RouteInterfaceName, reqEditors ...RequestEditorFn) (*DeleteNodeNetworkRouteResponse, error)
DeleteNodeNetworkRouteWithResponse request returning *DeleteNodeNetworkRouteResponse
func (*ClientWithResponses) DeleteNodeNtpWithResponse ¶
func (c *ClientWithResponses) DeleteNodeNtpWithResponse(ctx context.Context, hostname Hostname, reqEditors ...RequestEditorFn) (*DeleteNodeNtpResponse, error)
DeleteNodeNtpWithResponse request returning *DeleteNodeNtpResponse
func (*ClientWithResponses) DeleteNodePackageWithResponse ¶
func (c *ClientWithResponses) DeleteNodePackageWithResponse(ctx context.Context, hostname Hostname, name PackageName, reqEditors ...RequestEditorFn) (*DeleteNodePackageResponse, error)
DeleteNodePackageWithResponse request returning *DeleteNodePackageResponse
func (*ClientWithResponses) DeleteNodeScheduleCronWithResponse ¶
func (c *ClientWithResponses) DeleteNodeScheduleCronWithResponse(ctx context.Context, hostname Hostname, name CronName, reqEditors ...RequestEditorFn) (*DeleteNodeScheduleCronResponse, error)
DeleteNodeScheduleCronWithResponse request returning *DeleteNodeScheduleCronResponse
func (*ClientWithResponses) DeleteNodeServiceWithResponse ¶
func (c *ClientWithResponses) DeleteNodeServiceWithResponse(ctx context.Context, hostname Hostname, name ServiceName, reqEditors ...RequestEditorFn) (*DeleteNodeServiceResponse, error)
DeleteNodeServiceWithResponse request returning *DeleteNodeServiceResponse
func (*ClientWithResponses) DeleteNodeSysctlWithResponse ¶
func (c *ClientWithResponses) DeleteNodeSysctlWithResponse(ctx context.Context, hostname Hostname, key SysctlKey, reqEditors ...RequestEditorFn) (*DeleteNodeSysctlResponse, error)
DeleteNodeSysctlWithResponse request returning *DeleteNodeSysctlResponse
func (*ClientWithResponses) DeleteNodeUserSSHKeyWithResponse ¶
func (c *ClientWithResponses) DeleteNodeUserSSHKeyWithResponse(ctx context.Context, hostname Hostname, name UserName, fingerprint SSHKeyFingerprint, reqEditors ...RequestEditorFn) (*DeleteNodeUserSSHKeyResponse, error)
DeleteNodeUserSSHKeyWithResponse request returning *DeleteNodeUserSSHKeyResponse
func (*ClientWithResponses) DeleteNodeUserWithResponse ¶
func (c *ClientWithResponses) DeleteNodeUserWithResponse(ctx context.Context, hostname Hostname, name UserName, reqEditors ...RequestEditorFn) (*DeleteNodeUserResponse, error)
DeleteNodeUserWithResponse request returning *DeleteNodeUserResponse
func (*ClientWithResponses) DrainAgentWithResponse ¶
func (c *ClientWithResponses) DrainAgentWithResponse(ctx context.Context, hostname string, reqEditors ...RequestEditorFn) (*DrainAgentResponse, error)
DrainAgentWithResponse request returning *DrainAgentResponse
func (*ClientWithResponses) GetAgentDetailsWithResponse ¶
func (c *ClientWithResponses) GetAgentDetailsWithResponse(ctx context.Context, hostname string, reqEditors ...RequestEditorFn) (*GetAgentDetailsResponse, error)
GetAgentDetailsWithResponse request returning *GetAgentDetailsResponse
func (*ClientWithResponses) GetAgentsPendingWithResponse ¶
func (c *ClientWithResponses) GetAgentsPendingWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAgentsPendingResponse, error)
GetAgentsPendingWithResponse request returning *GetAgentsPendingResponse
func (*ClientWithResponses) GetAgentsWithResponse ¶
func (c *ClientWithResponses) GetAgentsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAgentsResponse, error)
GetAgentsWithResponse request returning *GetAgentsResponse
func (*ClientWithResponses) GetApiVersionWithResponse ¶
func (c *ClientWithResponses) GetApiVersionWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetApiVersionResponse, error)
GetApiVersionWithResponse request returning *GetApiVersionResponse
func (*ClientWithResponses) GetAuditExportWithResponse ¶
func (c *ClientWithResponses) GetAuditExportWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAuditExportResponse, error)
GetAuditExportWithResponse request returning *GetAuditExportResponse
func (*ClientWithResponses) GetAuditLogByIDWithResponse ¶
func (c *ClientWithResponses) GetAuditLogByIDWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetAuditLogByIDResponse, error)
GetAuditLogByIDWithResponse request returning *GetAuditLogByIDResponse
func (*ClientWithResponses) GetAuditLogsWithResponse ¶
func (c *ClientWithResponses) GetAuditLogsWithResponse(ctx context.Context, params *GetAuditLogsParams, reqEditors ...RequestEditorFn) (*GetAuditLogsResponse, error)
GetAuditLogsWithResponse request returning *GetAuditLogsResponse
func (*ClientWithResponses) GetFactKeysWithResponse ¶
func (c *ClientWithResponses) GetFactKeysWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetFactKeysResponse, error)
GetFactKeysWithResponse request returning *GetFactKeysResponse
func (*ClientWithResponses) GetFileByNameWithResponse ¶
func (c *ClientWithResponses) GetFileByNameWithResponse(ctx context.Context, name FileName, reqEditors ...RequestEditorFn) (*GetFileByNameResponse, error)
GetFileByNameWithResponse request returning *GetFileByNameResponse
func (*ClientWithResponses) GetFileStaleWithResponse ¶
func (c *ClientWithResponses) GetFileStaleWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetFileStaleResponse, error)
GetFileStaleWithResponse request returning *GetFileStaleResponse
func (*ClientWithResponses) GetFilesWithResponse ¶
func (c *ClientWithResponses) GetFilesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetFilesResponse, error)
GetFilesWithResponse request returning *GetFilesResponse
func (*ClientWithResponses) GetHealthReadyWithResponse ¶
func (c *ClientWithResponses) GetHealthReadyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetHealthReadyResponse, error)
GetHealthReadyWithResponse request returning *GetHealthReadyResponse
func (*ClientWithResponses) GetHealthStatusWithResponse ¶
func (c *ClientWithResponses) GetHealthStatusWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetHealthStatusResponse, error)
GetHealthStatusWithResponse request returning *GetHealthStatusResponse
func (*ClientWithResponses) GetHealthWithResponse ¶
func (c *ClientWithResponses) GetHealthWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetHealthResponse, error)
GetHealthWithResponse request returning *GetHealthResponse
func (*ClientWithResponses) GetJobByIDWithResponse ¶
func (c *ClientWithResponses) GetJobByIDWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetJobByIDResponse, error)
GetJobByIDWithResponse request returning *GetJobByIDResponse
func (*ClientWithResponses) GetJobsWithResponse ¶
func (c *ClientWithResponses) GetJobsWithResponse(ctx context.Context, params *GetJobsParams, reqEditors ...RequestEditorFn) (*GetJobsResponse, error)
GetJobsWithResponse request returning *GetJobsResponse
func (*ClientWithResponses) GetNodeCertificateCaWithResponse ¶
func (c *ClientWithResponses) GetNodeCertificateCaWithResponse(ctx context.Context, hostname Hostname, reqEditors ...RequestEditorFn) (*GetNodeCertificateCaResponse, error)
GetNodeCertificateCaWithResponse request returning *GetNodeCertificateCaResponse
func (*ClientWithResponses) GetNodeContainerDockerByIDWithResponse ¶
func (c *ClientWithResponses) GetNodeContainerDockerByIDWithResponse(ctx context.Context, hostname Hostname, id DockerId, reqEditors ...RequestEditorFn) (*GetNodeContainerDockerByIDResponse, error)
GetNodeContainerDockerByIDWithResponse request returning *GetNodeContainerDockerByIDResponse
func (*ClientWithResponses) GetNodeContainerDockerWithResponse ¶
func (c *ClientWithResponses) GetNodeContainerDockerWithResponse(ctx context.Context, hostname Hostname, params *GetNodeContainerDockerParams, reqEditors ...RequestEditorFn) (*GetNodeContainerDockerResponse, error)
GetNodeContainerDockerWithResponse request returning *GetNodeContainerDockerResponse
func (*ClientWithResponses) GetNodeDiskWithResponse ¶
func (c *ClientWithResponses) GetNodeDiskWithResponse(ctx context.Context, hostname Hostname, reqEditors ...RequestEditorFn) (*GetNodeDiskResponse, error)
GetNodeDiskWithResponse request returning *GetNodeDiskResponse
func (*ClientWithResponses) GetNodeGroupByNameWithResponse ¶
func (c *ClientWithResponses) GetNodeGroupByNameWithResponse(ctx context.Context, hostname Hostname, name GroupName, reqEditors ...RequestEditorFn) (*GetNodeGroupByNameResponse, error)
GetNodeGroupByNameWithResponse request returning *GetNodeGroupByNameResponse
func (*ClientWithResponses) GetNodeGroupWithResponse ¶
func (c *ClientWithResponses) GetNodeGroupWithResponse(ctx context.Context, hostname Hostname, reqEditors ...RequestEditorFn) (*GetNodeGroupResponse, error)
GetNodeGroupWithResponse request returning *GetNodeGroupResponse
func (*ClientWithResponses) GetNodeHostnameWithResponse ¶
func (c *ClientWithResponses) GetNodeHostnameWithResponse(ctx context.Context, hostname Hostname, reqEditors ...RequestEditorFn) (*GetNodeHostnameResponse, error)
GetNodeHostnameWithResponse request returning *GetNodeHostnameResponse
func (*ClientWithResponses) GetNodeLoadWithResponse ¶
func (c *ClientWithResponses) GetNodeLoadWithResponse(ctx context.Context, hostname Hostname, reqEditors ...RequestEditorFn) (*GetNodeLoadResponse, error)
GetNodeLoadWithResponse request returning *GetNodeLoadResponse
func (*ClientWithResponses) GetNodeLogSourceWithResponse ¶
func (c *ClientWithResponses) GetNodeLogSourceWithResponse(ctx context.Context, hostname Hostname, reqEditors ...RequestEditorFn) (*GetNodeLogSourceResponse, error)
GetNodeLogSourceWithResponse request returning *GetNodeLogSourceResponse
func (*ClientWithResponses) GetNodeLogUnitWithResponse ¶
func (c *ClientWithResponses) GetNodeLogUnitWithResponse(ctx context.Context, hostname Hostname, name UnitName, params *GetNodeLogUnitParams, reqEditors ...RequestEditorFn) (*GetNodeLogUnitResponse, error)
GetNodeLogUnitWithResponse request returning *GetNodeLogUnitResponse
func (*ClientWithResponses) GetNodeLogWithResponse ¶
func (c *ClientWithResponses) GetNodeLogWithResponse(ctx context.Context, hostname Hostname, params *GetNodeLogParams, reqEditors ...RequestEditorFn) (*GetNodeLogResponse, error)
GetNodeLogWithResponse request returning *GetNodeLogResponse
func (*ClientWithResponses) GetNodeMemoryWithResponse ¶
func (c *ClientWithResponses) GetNodeMemoryWithResponse(ctx context.Context, hostname Hostname, reqEditors ...RequestEditorFn) (*GetNodeMemoryResponse, error)
GetNodeMemoryWithResponse request returning *GetNodeMemoryResponse
func (*ClientWithResponses) GetNodeNetworkDNSByInterfaceWithResponse ¶
func (c *ClientWithResponses) GetNodeNetworkDNSByInterfaceWithResponse(ctx context.Context, hostname Hostname, interfaceName string, reqEditors ...RequestEditorFn) (*GetNodeNetworkDNSByInterfaceResponse, error)
GetNodeNetworkDNSByInterfaceWithResponse request returning *GetNodeNetworkDNSByInterfaceResponse
func (*ClientWithResponses) GetNodeNetworkInterfaceByNameWithResponse ¶
func (c *ClientWithResponses) GetNodeNetworkInterfaceByNameWithResponse(ctx context.Context, hostname Hostname, name InterfaceName, reqEditors ...RequestEditorFn) (*GetNodeNetworkInterfaceByNameResponse, error)
GetNodeNetworkInterfaceByNameWithResponse request returning *GetNodeNetworkInterfaceByNameResponse
func (*ClientWithResponses) GetNodeNetworkInterfaceWithResponse ¶
func (c *ClientWithResponses) GetNodeNetworkInterfaceWithResponse(ctx context.Context, hostname Hostname, reqEditors ...RequestEditorFn) (*GetNodeNetworkInterfaceResponse, error)
GetNodeNetworkInterfaceWithResponse request returning *GetNodeNetworkInterfaceResponse
func (*ClientWithResponses) GetNodeNetworkRouteByInterfaceWithResponse ¶
func (c *ClientWithResponses) GetNodeNetworkRouteByInterfaceWithResponse(ctx context.Context, hostname Hostname, interfaceName RouteInterfaceName, reqEditors ...RequestEditorFn) (*GetNodeNetworkRouteByInterfaceResponse, error)
GetNodeNetworkRouteByInterfaceWithResponse request returning *GetNodeNetworkRouteByInterfaceResponse
func (*ClientWithResponses) GetNodeNetworkRouteWithResponse ¶
func (c *ClientWithResponses) GetNodeNetworkRouteWithResponse(ctx context.Context, hostname Hostname, reqEditors ...RequestEditorFn) (*GetNodeNetworkRouteResponse, error)
GetNodeNetworkRouteWithResponse request returning *GetNodeNetworkRouteResponse
func (*ClientWithResponses) GetNodeNtpWithResponse ¶
func (c *ClientWithResponses) GetNodeNtpWithResponse(ctx context.Context, hostname Hostname, reqEditors ...RequestEditorFn) (*GetNodeNtpResponse, error)
GetNodeNtpWithResponse request returning *GetNodeNtpResponse
func (*ClientWithResponses) GetNodeOSWithResponse ¶
func (c *ClientWithResponses) GetNodeOSWithResponse(ctx context.Context, hostname Hostname, reqEditors ...RequestEditorFn) (*GetNodeOSResponse, error)
GetNodeOSWithResponse request returning *GetNodeOSResponse
func (*ClientWithResponses) GetNodePackageByNameWithResponse ¶
func (c *ClientWithResponses) GetNodePackageByNameWithResponse(ctx context.Context, hostname Hostname, name PackageName, reqEditors ...RequestEditorFn) (*GetNodePackageByNameResponse, error)
GetNodePackageByNameWithResponse request returning *GetNodePackageByNameResponse
func (*ClientWithResponses) GetNodePackageUpdateWithResponse ¶
func (c *ClientWithResponses) GetNodePackageUpdateWithResponse(ctx context.Context, hostname Hostname, reqEditors ...RequestEditorFn) (*GetNodePackageUpdateResponse, error)
GetNodePackageUpdateWithResponse request returning *GetNodePackageUpdateResponse
func (*ClientWithResponses) GetNodePackageWithResponse ¶
func (c *ClientWithResponses) GetNodePackageWithResponse(ctx context.Context, hostname Hostname, reqEditors ...RequestEditorFn) (*GetNodePackageResponse, error)
GetNodePackageWithResponse request returning *GetNodePackageResponse
func (*ClientWithResponses) GetNodeProcessByPidWithResponse ¶
func (c *ClientWithResponses) GetNodeProcessByPidWithResponse(ctx context.Context, hostname Hostname, pid Pid, reqEditors ...RequestEditorFn) (*GetNodeProcessByPidResponse, error)
GetNodeProcessByPidWithResponse request returning *GetNodeProcessByPidResponse
func (*ClientWithResponses) GetNodeProcessWithResponse ¶
func (c *ClientWithResponses) GetNodeProcessWithResponse(ctx context.Context, hostname Hostname, reqEditors ...RequestEditorFn) (*GetNodeProcessResponse, error)
GetNodeProcessWithResponse request returning *GetNodeProcessResponse
func (*ClientWithResponses) GetNodeScheduleCronByNameWithResponse ¶
func (c *ClientWithResponses) GetNodeScheduleCronByNameWithResponse(ctx context.Context, hostname Hostname, name CronName, reqEditors ...RequestEditorFn) (*GetNodeScheduleCronByNameResponse, error)
GetNodeScheduleCronByNameWithResponse request returning *GetNodeScheduleCronByNameResponse
func (*ClientWithResponses) GetNodeScheduleCronWithResponse ¶
func (c *ClientWithResponses) GetNodeScheduleCronWithResponse(ctx context.Context, hostname Hostname, reqEditors ...RequestEditorFn) (*GetNodeScheduleCronResponse, error)
GetNodeScheduleCronWithResponse request returning *GetNodeScheduleCronResponse
func (*ClientWithResponses) GetNodeServiceByNameWithResponse ¶
func (c *ClientWithResponses) GetNodeServiceByNameWithResponse(ctx context.Context, hostname Hostname, name ServiceName, reqEditors ...RequestEditorFn) (*GetNodeServiceByNameResponse, error)
GetNodeServiceByNameWithResponse request returning *GetNodeServiceByNameResponse
func (*ClientWithResponses) GetNodeServiceWithResponse ¶
func (c *ClientWithResponses) GetNodeServiceWithResponse(ctx context.Context, hostname Hostname, reqEditors ...RequestEditorFn) (*GetNodeServiceResponse, error)
GetNodeServiceWithResponse request returning *GetNodeServiceResponse
func (*ClientWithResponses) GetNodeStatusWithResponse ¶
func (c *ClientWithResponses) GetNodeStatusWithResponse(ctx context.Context, hostname Hostname, reqEditors ...RequestEditorFn) (*GetNodeStatusResponse, error)
GetNodeStatusWithResponse request returning *GetNodeStatusResponse
func (*ClientWithResponses) GetNodeSysctlByKeyWithResponse ¶
func (c *ClientWithResponses) GetNodeSysctlByKeyWithResponse(ctx context.Context, hostname Hostname, key SysctlKey, reqEditors ...RequestEditorFn) (*GetNodeSysctlByKeyResponse, error)
GetNodeSysctlByKeyWithResponse request returning *GetNodeSysctlByKeyResponse
func (*ClientWithResponses) GetNodeSysctlWithResponse ¶
func (c *ClientWithResponses) GetNodeSysctlWithResponse(ctx context.Context, hostname Hostname, reqEditors ...RequestEditorFn) (*GetNodeSysctlResponse, error)
GetNodeSysctlWithResponse request returning *GetNodeSysctlResponse
func (*ClientWithResponses) GetNodeTimezoneWithResponse ¶
func (c *ClientWithResponses) GetNodeTimezoneWithResponse(ctx context.Context, hostname Hostname, reqEditors ...RequestEditorFn) (*GetNodeTimezoneResponse, error)
GetNodeTimezoneWithResponse request returning *GetNodeTimezoneResponse
func (*ClientWithResponses) GetNodeUptimeWithResponse ¶
func (c *ClientWithResponses) GetNodeUptimeWithResponse(ctx context.Context, hostname Hostname, reqEditors ...RequestEditorFn) (*GetNodeUptimeResponse, error)
GetNodeUptimeWithResponse request returning *GetNodeUptimeResponse
func (*ClientWithResponses) GetNodeUserByNameWithResponse ¶
func (c *ClientWithResponses) GetNodeUserByNameWithResponse(ctx context.Context, hostname Hostname, name UserName, reqEditors ...RequestEditorFn) (*GetNodeUserByNameResponse, error)
GetNodeUserByNameWithResponse request returning *GetNodeUserByNameResponse
func (*ClientWithResponses) GetNodeUserSSHKeyWithResponse ¶
func (c *ClientWithResponses) GetNodeUserSSHKeyWithResponse(ctx context.Context, hostname Hostname, name UserName, reqEditors ...RequestEditorFn) (*GetNodeUserSSHKeyResponse, error)
GetNodeUserSSHKeyWithResponse request returning *GetNodeUserSSHKeyResponse
func (*ClientWithResponses) GetNodeUserWithResponse ¶
func (c *ClientWithResponses) GetNodeUserWithResponse(ctx context.Context, hostname Hostname, reqEditors ...RequestEditorFn) (*GetNodeUserResponse, error)
GetNodeUserWithResponse request returning *GetNodeUserResponse
func (*ClientWithResponses) PostFileWithBodyWithResponse ¶
func (c *ClientWithResponses) PostFileWithBodyWithResponse(ctx context.Context, params *PostFileParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostFileResponse, error)
PostFileWithBodyWithResponse request with arbitrary body returning *PostFileResponse
func (*ClientWithResponses) PostNodeCertificateCaWithBodyWithResponse ¶
func (c *ClientWithResponses) PostNodeCertificateCaWithBodyWithResponse(ctx context.Context, hostname Hostname, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostNodeCertificateCaResponse, error)
PostNodeCertificateCaWithBodyWithResponse request with arbitrary body returning *PostNodeCertificateCaResponse
func (*ClientWithResponses) PostNodeCertificateCaWithResponse ¶
func (c *ClientWithResponses) PostNodeCertificateCaWithResponse(ctx context.Context, hostname Hostname, body PostNodeCertificateCaJSONRequestBody, reqEditors ...RequestEditorFn) (*PostNodeCertificateCaResponse, error)
func (*ClientWithResponses) PostNodeCommandExecWithBodyWithResponse ¶
func (c *ClientWithResponses) PostNodeCommandExecWithBodyWithResponse(ctx context.Context, hostname Hostname, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostNodeCommandExecResponse, error)
PostNodeCommandExecWithBodyWithResponse request with arbitrary body returning *PostNodeCommandExecResponse
func (*ClientWithResponses) PostNodeCommandExecWithResponse ¶
func (c *ClientWithResponses) PostNodeCommandExecWithResponse(ctx context.Context, hostname Hostname, body PostNodeCommandExecJSONRequestBody, reqEditors ...RequestEditorFn) (*PostNodeCommandExecResponse, error)
func (*ClientWithResponses) PostNodeCommandShellWithBodyWithResponse ¶
func (c *ClientWithResponses) PostNodeCommandShellWithBodyWithResponse(ctx context.Context, hostname Hostname, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostNodeCommandShellResponse, error)
PostNodeCommandShellWithBodyWithResponse request with arbitrary body returning *PostNodeCommandShellResponse
func (*ClientWithResponses) PostNodeCommandShellWithResponse ¶
func (c *ClientWithResponses) PostNodeCommandShellWithResponse(ctx context.Context, hostname Hostname, body PostNodeCommandShellJSONRequestBody, reqEditors ...RequestEditorFn) (*PostNodeCommandShellResponse, error)
func (*ClientWithResponses) PostNodeContainerDockerExecWithBodyWithResponse ¶
func (c *ClientWithResponses) PostNodeContainerDockerExecWithBodyWithResponse(ctx context.Context, hostname Hostname, id DockerId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostNodeContainerDockerExecResponse, error)
PostNodeContainerDockerExecWithBodyWithResponse request with arbitrary body returning *PostNodeContainerDockerExecResponse
func (*ClientWithResponses) PostNodeContainerDockerExecWithResponse ¶
func (c *ClientWithResponses) PostNodeContainerDockerExecWithResponse(ctx context.Context, hostname Hostname, id DockerId, body PostNodeContainerDockerExecJSONRequestBody, reqEditors ...RequestEditorFn) (*PostNodeContainerDockerExecResponse, error)
func (*ClientWithResponses) PostNodeContainerDockerPullWithBodyWithResponse ¶
func (c *ClientWithResponses) PostNodeContainerDockerPullWithBodyWithResponse(ctx context.Context, hostname Hostname, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostNodeContainerDockerPullResponse, error)
PostNodeContainerDockerPullWithBodyWithResponse request with arbitrary body returning *PostNodeContainerDockerPullResponse
func (*ClientWithResponses) PostNodeContainerDockerPullWithResponse ¶
func (c *ClientWithResponses) PostNodeContainerDockerPullWithResponse(ctx context.Context, hostname Hostname, body PostNodeContainerDockerPullJSONRequestBody, reqEditors ...RequestEditorFn) (*PostNodeContainerDockerPullResponse, error)
func (*ClientWithResponses) PostNodeContainerDockerStartWithResponse ¶
func (c *ClientWithResponses) PostNodeContainerDockerStartWithResponse(ctx context.Context, hostname Hostname, id DockerId, reqEditors ...RequestEditorFn) (*PostNodeContainerDockerStartResponse, error)
PostNodeContainerDockerStartWithResponse request returning *PostNodeContainerDockerStartResponse
func (*ClientWithResponses) PostNodeContainerDockerStopWithBodyWithResponse ¶
func (c *ClientWithResponses) PostNodeContainerDockerStopWithBodyWithResponse(ctx context.Context, hostname Hostname, id DockerId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostNodeContainerDockerStopResponse, error)
PostNodeContainerDockerStopWithBodyWithResponse request with arbitrary body returning *PostNodeContainerDockerStopResponse
func (*ClientWithResponses) PostNodeContainerDockerStopWithResponse ¶
func (c *ClientWithResponses) PostNodeContainerDockerStopWithResponse(ctx context.Context, hostname Hostname, id DockerId, body PostNodeContainerDockerStopJSONRequestBody, reqEditors ...RequestEditorFn) (*PostNodeContainerDockerStopResponse, error)
func (*ClientWithResponses) PostNodeContainerDockerWithBodyWithResponse ¶
func (c *ClientWithResponses) PostNodeContainerDockerWithBodyWithResponse(ctx context.Context, hostname Hostname, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostNodeContainerDockerResponse, error)
PostNodeContainerDockerWithBodyWithResponse request with arbitrary body returning *PostNodeContainerDockerResponse
func (*ClientWithResponses) PostNodeContainerDockerWithResponse ¶
func (c *ClientWithResponses) PostNodeContainerDockerWithResponse(ctx context.Context, hostname Hostname, body PostNodeContainerDockerJSONRequestBody, reqEditors ...RequestEditorFn) (*PostNodeContainerDockerResponse, error)
func (*ClientWithResponses) PostNodeFileDeployWithBodyWithResponse ¶
func (c *ClientWithResponses) PostNodeFileDeployWithBodyWithResponse(ctx context.Context, hostname Hostname, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostNodeFileDeployResponse, error)
PostNodeFileDeployWithBodyWithResponse request with arbitrary body returning *PostNodeFileDeployResponse
func (*ClientWithResponses) PostNodeFileDeployWithResponse ¶
func (c *ClientWithResponses) PostNodeFileDeployWithResponse(ctx context.Context, hostname Hostname, body PostNodeFileDeployJSONRequestBody, reqEditors ...RequestEditorFn) (*PostNodeFileDeployResponse, error)
func (*ClientWithResponses) PostNodeFileStatusWithBodyWithResponse ¶
func (c *ClientWithResponses) PostNodeFileStatusWithBodyWithResponse(ctx context.Context, hostname Hostname, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostNodeFileStatusResponse, error)
PostNodeFileStatusWithBodyWithResponse request with arbitrary body returning *PostNodeFileStatusResponse
func (*ClientWithResponses) PostNodeFileStatusWithResponse ¶
func (c *ClientWithResponses) PostNodeFileStatusWithResponse(ctx context.Context, hostname Hostname, body PostNodeFileStatusJSONRequestBody, reqEditors ...RequestEditorFn) (*PostNodeFileStatusResponse, error)
func (*ClientWithResponses) PostNodeFileUndeployWithBodyWithResponse ¶
func (c *ClientWithResponses) PostNodeFileUndeployWithBodyWithResponse(ctx context.Context, hostname Hostname, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostNodeFileUndeployResponse, error)
PostNodeFileUndeployWithBodyWithResponse request with arbitrary body returning *PostNodeFileUndeployResponse
func (*ClientWithResponses) PostNodeFileUndeployWithResponse ¶
func (c *ClientWithResponses) PostNodeFileUndeployWithResponse(ctx context.Context, hostname Hostname, body PostNodeFileUndeployJSONRequestBody, reqEditors ...RequestEditorFn) (*PostNodeFileUndeployResponse, error)
func (*ClientWithResponses) PostNodeGroupWithBodyWithResponse ¶
func (c *ClientWithResponses) PostNodeGroupWithBodyWithResponse(ctx context.Context, hostname Hostname, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostNodeGroupResponse, error)
PostNodeGroupWithBodyWithResponse request with arbitrary body returning *PostNodeGroupResponse
func (*ClientWithResponses) PostNodeGroupWithResponse ¶
func (c *ClientWithResponses) PostNodeGroupWithResponse(ctx context.Context, hostname Hostname, body PostNodeGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*PostNodeGroupResponse, error)
func (*ClientWithResponses) PostNodeNetworkInterfaceWithBodyWithResponse ¶
func (c *ClientWithResponses) PostNodeNetworkInterfaceWithBodyWithResponse(ctx context.Context, hostname Hostname, name InterfaceName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostNodeNetworkInterfaceResponse, error)
PostNodeNetworkInterfaceWithBodyWithResponse request with arbitrary body returning *PostNodeNetworkInterfaceResponse
func (*ClientWithResponses) PostNodeNetworkInterfaceWithResponse ¶
func (c *ClientWithResponses) PostNodeNetworkInterfaceWithResponse(ctx context.Context, hostname Hostname, name InterfaceName, body PostNodeNetworkInterfaceJSONRequestBody, reqEditors ...RequestEditorFn) (*PostNodeNetworkInterfaceResponse, error)
func (*ClientWithResponses) PostNodeNetworkPingWithBodyWithResponse ¶
func (c *ClientWithResponses) PostNodeNetworkPingWithBodyWithResponse(ctx context.Context, hostname Hostname, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostNodeNetworkPingResponse, error)
PostNodeNetworkPingWithBodyWithResponse request with arbitrary body returning *PostNodeNetworkPingResponse
func (*ClientWithResponses) PostNodeNetworkPingWithResponse ¶
func (c *ClientWithResponses) PostNodeNetworkPingWithResponse(ctx context.Context, hostname Hostname, body PostNodeNetworkPingJSONRequestBody, reqEditors ...RequestEditorFn) (*PostNodeNetworkPingResponse, error)
func (*ClientWithResponses) PostNodeNetworkRouteWithBodyWithResponse ¶
func (c *ClientWithResponses) PostNodeNetworkRouteWithBodyWithResponse(ctx context.Context, hostname Hostname, interfaceName RouteInterfaceName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostNodeNetworkRouteResponse, error)
PostNodeNetworkRouteWithBodyWithResponse request with arbitrary body returning *PostNodeNetworkRouteResponse
func (*ClientWithResponses) PostNodeNetworkRouteWithResponse ¶
func (c *ClientWithResponses) PostNodeNetworkRouteWithResponse(ctx context.Context, hostname Hostname, interfaceName RouteInterfaceName, body PostNodeNetworkRouteJSONRequestBody, reqEditors ...RequestEditorFn) (*PostNodeNetworkRouteResponse, error)
func (*ClientWithResponses) PostNodeNtpWithBodyWithResponse ¶
func (c *ClientWithResponses) PostNodeNtpWithBodyWithResponse(ctx context.Context, hostname Hostname, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostNodeNtpResponse, error)
PostNodeNtpWithBodyWithResponse request with arbitrary body returning *PostNodeNtpResponse
func (*ClientWithResponses) PostNodeNtpWithResponse ¶
func (c *ClientWithResponses) PostNodeNtpWithResponse(ctx context.Context, hostname Hostname, body PostNodeNtpJSONRequestBody, reqEditors ...RequestEditorFn) (*PostNodeNtpResponse, error)
func (*ClientWithResponses) PostNodePackageUpdateWithResponse ¶
func (c *ClientWithResponses) PostNodePackageUpdateWithResponse(ctx context.Context, hostname Hostname, reqEditors ...RequestEditorFn) (*PostNodePackageUpdateResponse, error)
PostNodePackageUpdateWithResponse request returning *PostNodePackageUpdateResponse
func (*ClientWithResponses) PostNodePackageWithBodyWithResponse ¶
func (c *ClientWithResponses) PostNodePackageWithBodyWithResponse(ctx context.Context, hostname Hostname, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostNodePackageResponse, error)
PostNodePackageWithBodyWithResponse request with arbitrary body returning *PostNodePackageResponse
func (*ClientWithResponses) PostNodePackageWithResponse ¶
func (c *ClientWithResponses) PostNodePackageWithResponse(ctx context.Context, hostname Hostname, body PostNodePackageJSONRequestBody, reqEditors ...RequestEditorFn) (*PostNodePackageResponse, error)
func (*ClientWithResponses) PostNodePowerRebootWithBodyWithResponse ¶
func (c *ClientWithResponses) PostNodePowerRebootWithBodyWithResponse(ctx context.Context, hostname Hostname, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostNodePowerRebootResponse, error)
PostNodePowerRebootWithBodyWithResponse request with arbitrary body returning *PostNodePowerRebootResponse
func (*ClientWithResponses) PostNodePowerRebootWithResponse ¶
func (c *ClientWithResponses) PostNodePowerRebootWithResponse(ctx context.Context, hostname Hostname, body PostNodePowerRebootJSONRequestBody, reqEditors ...RequestEditorFn) (*PostNodePowerRebootResponse, error)
func (*ClientWithResponses) PostNodePowerShutdownWithBodyWithResponse ¶
func (c *ClientWithResponses) PostNodePowerShutdownWithBodyWithResponse(ctx context.Context, hostname Hostname, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostNodePowerShutdownResponse, error)
PostNodePowerShutdownWithBodyWithResponse request with arbitrary body returning *PostNodePowerShutdownResponse
func (*ClientWithResponses) PostNodePowerShutdownWithResponse ¶
func (c *ClientWithResponses) PostNodePowerShutdownWithResponse(ctx context.Context, hostname Hostname, body PostNodePowerShutdownJSONRequestBody, reqEditors ...RequestEditorFn) (*PostNodePowerShutdownResponse, error)
func (*ClientWithResponses) PostNodeProcessSignalWithBodyWithResponse ¶
func (c *ClientWithResponses) PostNodeProcessSignalWithBodyWithResponse(ctx context.Context, hostname Hostname, pid Pid, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostNodeProcessSignalResponse, error)
PostNodeProcessSignalWithBodyWithResponse request with arbitrary body returning *PostNodeProcessSignalResponse
func (*ClientWithResponses) PostNodeProcessSignalWithResponse ¶
func (c *ClientWithResponses) PostNodeProcessSignalWithResponse(ctx context.Context, hostname Hostname, pid Pid, body PostNodeProcessSignalJSONRequestBody, reqEditors ...RequestEditorFn) (*PostNodeProcessSignalResponse, error)
func (*ClientWithResponses) PostNodeScheduleCronWithBodyWithResponse ¶
func (c *ClientWithResponses) PostNodeScheduleCronWithBodyWithResponse(ctx context.Context, hostname Hostname, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostNodeScheduleCronResponse, error)
PostNodeScheduleCronWithBodyWithResponse request with arbitrary body returning *PostNodeScheduleCronResponse
func (*ClientWithResponses) PostNodeScheduleCronWithResponse ¶
func (c *ClientWithResponses) PostNodeScheduleCronWithResponse(ctx context.Context, hostname Hostname, body PostNodeScheduleCronJSONRequestBody, reqEditors ...RequestEditorFn) (*PostNodeScheduleCronResponse, error)
func (*ClientWithResponses) PostNodeServiceDisableWithResponse ¶
func (c *ClientWithResponses) PostNodeServiceDisableWithResponse(ctx context.Context, hostname Hostname, name ServiceName, reqEditors ...RequestEditorFn) (*PostNodeServiceDisableResponse, error)
PostNodeServiceDisableWithResponse request returning *PostNodeServiceDisableResponse
func (*ClientWithResponses) PostNodeServiceEnableWithResponse ¶
func (c *ClientWithResponses) PostNodeServiceEnableWithResponse(ctx context.Context, hostname Hostname, name ServiceName, reqEditors ...RequestEditorFn) (*PostNodeServiceEnableResponse, error)
PostNodeServiceEnableWithResponse request returning *PostNodeServiceEnableResponse
func (*ClientWithResponses) PostNodeServiceRestartWithResponse ¶
func (c *ClientWithResponses) PostNodeServiceRestartWithResponse(ctx context.Context, hostname Hostname, name ServiceName, reqEditors ...RequestEditorFn) (*PostNodeServiceRestartResponse, error)
PostNodeServiceRestartWithResponse request returning *PostNodeServiceRestartResponse
func (*ClientWithResponses) PostNodeServiceStartWithResponse ¶
func (c *ClientWithResponses) PostNodeServiceStartWithResponse(ctx context.Context, hostname Hostname, name ServiceName, reqEditors ...RequestEditorFn) (*PostNodeServiceStartResponse, error)
PostNodeServiceStartWithResponse request returning *PostNodeServiceStartResponse
func (*ClientWithResponses) PostNodeServiceStopWithResponse ¶
func (c *ClientWithResponses) PostNodeServiceStopWithResponse(ctx context.Context, hostname Hostname, name ServiceName, reqEditors ...RequestEditorFn) (*PostNodeServiceStopResponse, error)
PostNodeServiceStopWithResponse request returning *PostNodeServiceStopResponse
func (*ClientWithResponses) PostNodeServiceWithBodyWithResponse ¶
func (c *ClientWithResponses) PostNodeServiceWithBodyWithResponse(ctx context.Context, hostname Hostname, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostNodeServiceResponse, error)
PostNodeServiceWithBodyWithResponse request with arbitrary body returning *PostNodeServiceResponse
func (*ClientWithResponses) PostNodeServiceWithResponse ¶
func (c *ClientWithResponses) PostNodeServiceWithResponse(ctx context.Context, hostname Hostname, body PostNodeServiceJSONRequestBody, reqEditors ...RequestEditorFn) (*PostNodeServiceResponse, error)
func (*ClientWithResponses) PostNodeSysctlWithBodyWithResponse ¶
func (c *ClientWithResponses) PostNodeSysctlWithBodyWithResponse(ctx context.Context, hostname Hostname, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostNodeSysctlResponse, error)
PostNodeSysctlWithBodyWithResponse request with arbitrary body returning *PostNodeSysctlResponse
func (*ClientWithResponses) PostNodeSysctlWithResponse ¶
func (c *ClientWithResponses) PostNodeSysctlWithResponse(ctx context.Context, hostname Hostname, body PostNodeSysctlJSONRequestBody, reqEditors ...RequestEditorFn) (*PostNodeSysctlResponse, error)
func (*ClientWithResponses) PostNodeUserPasswordWithBodyWithResponse ¶
func (c *ClientWithResponses) PostNodeUserPasswordWithBodyWithResponse(ctx context.Context, hostname Hostname, name UserName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostNodeUserPasswordResponse, error)
PostNodeUserPasswordWithBodyWithResponse request with arbitrary body returning *PostNodeUserPasswordResponse
func (*ClientWithResponses) PostNodeUserPasswordWithResponse ¶
func (c *ClientWithResponses) PostNodeUserPasswordWithResponse(ctx context.Context, hostname Hostname, name UserName, body PostNodeUserPasswordJSONRequestBody, reqEditors ...RequestEditorFn) (*PostNodeUserPasswordResponse, error)
func (*ClientWithResponses) PostNodeUserSSHKeyWithBodyWithResponse ¶
func (c *ClientWithResponses) PostNodeUserSSHKeyWithBodyWithResponse(ctx context.Context, hostname Hostname, name UserName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostNodeUserSSHKeyResponse, error)
PostNodeUserSSHKeyWithBodyWithResponse request with arbitrary body returning *PostNodeUserSSHKeyResponse
func (*ClientWithResponses) PostNodeUserSSHKeyWithResponse ¶
func (c *ClientWithResponses) PostNodeUserSSHKeyWithResponse(ctx context.Context, hostname Hostname, name UserName, body PostNodeUserSSHKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*PostNodeUserSSHKeyResponse, error)
func (*ClientWithResponses) PostNodeUserWithBodyWithResponse ¶
func (c *ClientWithResponses) PostNodeUserWithBodyWithResponse(ctx context.Context, hostname Hostname, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostNodeUserResponse, error)
PostNodeUserWithBodyWithResponse request with arbitrary body returning *PostNodeUserResponse
func (*ClientWithResponses) PostNodeUserWithResponse ¶
func (c *ClientWithResponses) PostNodeUserWithResponse(ctx context.Context, hostname Hostname, body PostNodeUserJSONRequestBody, reqEditors ...RequestEditorFn) (*PostNodeUserResponse, error)
func (*ClientWithResponses) PutNodeCertificateCaWithBodyWithResponse ¶
func (c *ClientWithResponses) PutNodeCertificateCaWithBodyWithResponse(ctx context.Context, hostname Hostname, name CertName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutNodeCertificateCaResponse, error)
PutNodeCertificateCaWithBodyWithResponse request with arbitrary body returning *PutNodeCertificateCaResponse
func (*ClientWithResponses) PutNodeCertificateCaWithResponse ¶
func (c *ClientWithResponses) PutNodeCertificateCaWithResponse(ctx context.Context, hostname Hostname, name CertName, body PutNodeCertificateCaJSONRequestBody, reqEditors ...RequestEditorFn) (*PutNodeCertificateCaResponse, error)
func (*ClientWithResponses) PutNodeGroupWithBodyWithResponse ¶
func (c *ClientWithResponses) PutNodeGroupWithBodyWithResponse(ctx context.Context, hostname Hostname, name GroupName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutNodeGroupResponse, error)
PutNodeGroupWithBodyWithResponse request with arbitrary body returning *PutNodeGroupResponse
func (*ClientWithResponses) PutNodeGroupWithResponse ¶
func (c *ClientWithResponses) PutNodeGroupWithResponse(ctx context.Context, hostname Hostname, name GroupName, body PutNodeGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*PutNodeGroupResponse, error)
func (*ClientWithResponses) PutNodeHostnameWithBodyWithResponse ¶
func (c *ClientWithResponses) PutNodeHostnameWithBodyWithResponse(ctx context.Context, hostname Hostname, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutNodeHostnameResponse, error)
PutNodeHostnameWithBodyWithResponse request with arbitrary body returning *PutNodeHostnameResponse
func (*ClientWithResponses) PutNodeHostnameWithResponse ¶
func (c *ClientWithResponses) PutNodeHostnameWithResponse(ctx context.Context, hostname Hostname, body PutNodeHostnameJSONRequestBody, reqEditors ...RequestEditorFn) (*PutNodeHostnameResponse, error)
func (*ClientWithResponses) PutNodeNetworkDNSWithBodyWithResponse ¶
func (c *ClientWithResponses) PutNodeNetworkDNSWithBodyWithResponse(ctx context.Context, hostname Hostname, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutNodeNetworkDNSResponse, error)
PutNodeNetworkDNSWithBodyWithResponse request with arbitrary body returning *PutNodeNetworkDNSResponse
func (*ClientWithResponses) PutNodeNetworkDNSWithResponse ¶
func (c *ClientWithResponses) PutNodeNetworkDNSWithResponse(ctx context.Context, hostname Hostname, body PutNodeNetworkDNSJSONRequestBody, reqEditors ...RequestEditorFn) (*PutNodeNetworkDNSResponse, error)
func (*ClientWithResponses) PutNodeNetworkInterfaceWithBodyWithResponse ¶
func (c *ClientWithResponses) PutNodeNetworkInterfaceWithBodyWithResponse(ctx context.Context, hostname Hostname, name InterfaceName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutNodeNetworkInterfaceResponse, error)
PutNodeNetworkInterfaceWithBodyWithResponse request with arbitrary body returning *PutNodeNetworkInterfaceResponse
func (*ClientWithResponses) PutNodeNetworkInterfaceWithResponse ¶
func (c *ClientWithResponses) PutNodeNetworkInterfaceWithResponse(ctx context.Context, hostname Hostname, name InterfaceName, body PutNodeNetworkInterfaceJSONRequestBody, reqEditors ...RequestEditorFn) (*PutNodeNetworkInterfaceResponse, error)
func (*ClientWithResponses) PutNodeNetworkRouteWithBodyWithResponse ¶
func (c *ClientWithResponses) PutNodeNetworkRouteWithBodyWithResponse(ctx context.Context, hostname Hostname, interfaceName RouteInterfaceName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutNodeNetworkRouteResponse, error)
PutNodeNetworkRouteWithBodyWithResponse request with arbitrary body returning *PutNodeNetworkRouteResponse
func (*ClientWithResponses) PutNodeNetworkRouteWithResponse ¶
func (c *ClientWithResponses) PutNodeNetworkRouteWithResponse(ctx context.Context, hostname Hostname, interfaceName RouteInterfaceName, body PutNodeNetworkRouteJSONRequestBody, reqEditors ...RequestEditorFn) (*PutNodeNetworkRouteResponse, error)
func (*ClientWithResponses) PutNodeNtpWithBodyWithResponse ¶
func (c *ClientWithResponses) PutNodeNtpWithBodyWithResponse(ctx context.Context, hostname Hostname, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutNodeNtpResponse, error)
PutNodeNtpWithBodyWithResponse request with arbitrary body returning *PutNodeNtpResponse
func (*ClientWithResponses) PutNodeNtpWithResponse ¶
func (c *ClientWithResponses) PutNodeNtpWithResponse(ctx context.Context, hostname Hostname, body PutNodeNtpJSONRequestBody, reqEditors ...RequestEditorFn) (*PutNodeNtpResponse, error)
func (*ClientWithResponses) PutNodeScheduleCronWithBodyWithResponse ¶
func (c *ClientWithResponses) PutNodeScheduleCronWithBodyWithResponse(ctx context.Context, hostname Hostname, name CronName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutNodeScheduleCronResponse, error)
PutNodeScheduleCronWithBodyWithResponse request with arbitrary body returning *PutNodeScheduleCronResponse
func (*ClientWithResponses) PutNodeScheduleCronWithResponse ¶
func (c *ClientWithResponses) PutNodeScheduleCronWithResponse(ctx context.Context, hostname Hostname, name CronName, body PutNodeScheduleCronJSONRequestBody, reqEditors ...RequestEditorFn) (*PutNodeScheduleCronResponse, error)
func (*ClientWithResponses) PutNodeServiceWithBodyWithResponse ¶
func (c *ClientWithResponses) PutNodeServiceWithBodyWithResponse(ctx context.Context, hostname Hostname, name ServiceName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutNodeServiceResponse, error)
PutNodeServiceWithBodyWithResponse request with arbitrary body returning *PutNodeServiceResponse
func (*ClientWithResponses) PutNodeServiceWithResponse ¶
func (c *ClientWithResponses) PutNodeServiceWithResponse(ctx context.Context, hostname Hostname, name ServiceName, body PutNodeServiceJSONRequestBody, reqEditors ...RequestEditorFn) (*PutNodeServiceResponse, error)
func (*ClientWithResponses) PutNodeSysctlWithBodyWithResponse ¶
func (c *ClientWithResponses) PutNodeSysctlWithBodyWithResponse(ctx context.Context, hostname Hostname, key SysctlKey, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutNodeSysctlResponse, error)
PutNodeSysctlWithBodyWithResponse request with arbitrary body returning *PutNodeSysctlResponse
func (*ClientWithResponses) PutNodeSysctlWithResponse ¶
func (c *ClientWithResponses) PutNodeSysctlWithResponse(ctx context.Context, hostname Hostname, key SysctlKey, body PutNodeSysctlJSONRequestBody, reqEditors ...RequestEditorFn) (*PutNodeSysctlResponse, error)
func (*ClientWithResponses) PutNodeTimezoneWithBodyWithResponse ¶
func (c *ClientWithResponses) PutNodeTimezoneWithBodyWithResponse(ctx context.Context, hostname Hostname, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutNodeTimezoneResponse, error)
PutNodeTimezoneWithBodyWithResponse request with arbitrary body returning *PutNodeTimezoneResponse
func (*ClientWithResponses) PutNodeTimezoneWithResponse ¶
func (c *ClientWithResponses) PutNodeTimezoneWithResponse(ctx context.Context, hostname Hostname, body PutNodeTimezoneJSONRequestBody, reqEditors ...RequestEditorFn) (*PutNodeTimezoneResponse, error)
func (*ClientWithResponses) PutNodeUserWithBodyWithResponse ¶
func (c *ClientWithResponses) PutNodeUserWithBodyWithResponse(ctx context.Context, hostname Hostname, name UserName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutNodeUserResponse, error)
PutNodeUserWithBodyWithResponse request with arbitrary body returning *PutNodeUserResponse
func (*ClientWithResponses) PutNodeUserWithResponse ¶
func (c *ClientWithResponses) PutNodeUserWithResponse(ctx context.Context, hostname Hostname, name UserName, body PutNodeUserJSONRequestBody, reqEditors ...RequestEditorFn) (*PutNodeUserResponse, error)
func (*ClientWithResponses) RejectAgentWithResponse ¶
func (c *ClientWithResponses) RejectAgentWithResponse(ctx context.Context, hostname string, reqEditors ...RequestEditorFn) (*RejectAgentResponse, error)
RejectAgentWithResponse request returning *RejectAgentResponse
func (*ClientWithResponses) RetryJobByIDWithBodyWithResponse ¶
func (c *ClientWithResponses) RetryJobByIDWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RetryJobByIDResponse, error)
RetryJobByIDWithBodyWithResponse request with arbitrary body returning *RetryJobByIDResponse
func (*ClientWithResponses) RetryJobByIDWithResponse ¶
func (c *ClientWithResponses) RetryJobByIDWithResponse(ctx context.Context, id openapi_types.UUID, body RetryJobByIDJSONRequestBody, reqEditors ...RequestEditorFn) (*RetryJobByIDResponse, error)
func (*ClientWithResponses) UndrainAgentWithResponse ¶
func (c *ClientWithResponses) UndrainAgentWithResponse(ctx context.Context, hostname string, reqEditors ...RequestEditorFn) (*UndrainAgentResponse, error)
UndrainAgentWithResponse request returning *UndrainAgentResponse
type ClientWithResponsesInterface ¶
type ClientWithResponsesInterface interface {
// GetAgentsWithResponse request
GetAgentsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAgentsResponse, error)
// GetAgentsPendingWithResponse request
GetAgentsPendingWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAgentsPendingResponse, error)
// GetAgentDetailsWithResponse request
GetAgentDetailsWithResponse(ctx context.Context, hostname string, reqEditors ...RequestEditorFn) (*GetAgentDetailsResponse, error)
// AcceptAgentWithResponse request
AcceptAgentWithResponse(ctx context.Context, hostname string, params *AcceptAgentParams, reqEditors ...RequestEditorFn) (*AcceptAgentResponse, error)
// DrainAgentWithResponse request
DrainAgentWithResponse(ctx context.Context, hostname string, reqEditors ...RequestEditorFn) (*DrainAgentResponse, error)
// RejectAgentWithResponse request
RejectAgentWithResponse(ctx context.Context, hostname string, reqEditors ...RequestEditorFn) (*RejectAgentResponse, error)
// UndrainAgentWithResponse request
UndrainAgentWithResponse(ctx context.Context, hostname string, reqEditors ...RequestEditorFn) (*UndrainAgentResponse, error)
// GetAuditLogsWithResponse request
GetAuditLogsWithResponse(ctx context.Context, params *GetAuditLogsParams, reqEditors ...RequestEditorFn) (*GetAuditLogsResponse, error)
// GetAuditExportWithResponse request
GetAuditExportWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAuditExportResponse, error)
// GetAuditLogByIDWithResponse request
GetAuditLogByIDWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetAuditLogByIDResponse, error)
// GetFactKeysWithResponse request
GetFactKeysWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetFactKeysResponse, error)
// GetFilesWithResponse request
GetFilesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetFilesResponse, error)
// PostFileWithBodyWithResponse request with any body
PostFileWithBodyWithResponse(ctx context.Context, params *PostFileParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostFileResponse, error)
// GetFileStaleWithResponse request
GetFileStaleWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetFileStaleResponse, error)
// DeleteFileByNameWithResponse request
DeleteFileByNameWithResponse(ctx context.Context, name FileName, reqEditors ...RequestEditorFn) (*DeleteFileByNameResponse, error)
// GetFileByNameWithResponse request
GetFileByNameWithResponse(ctx context.Context, name FileName, reqEditors ...RequestEditorFn) (*GetFileByNameResponse, error)
// GetHealthWithResponse request
GetHealthWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetHealthResponse, error)
// GetHealthReadyWithResponse request
GetHealthReadyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetHealthReadyResponse, error)
// GetHealthStatusWithResponse request
GetHealthStatusWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetHealthStatusResponse, error)
// GetJobsWithResponse request
GetJobsWithResponse(ctx context.Context, params *GetJobsParams, reqEditors ...RequestEditorFn) (*GetJobsResponse, error)
// DeleteJobByIDWithResponse request
DeleteJobByIDWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteJobByIDResponse, error)
// GetJobByIDWithResponse request
GetJobByIDWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetJobByIDResponse, error)
// RetryJobByIDWithBodyWithResponse request with any body
RetryJobByIDWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RetryJobByIDResponse, error)
RetryJobByIDWithResponse(ctx context.Context, id openapi_types.UUID, body RetryJobByIDJSONRequestBody, reqEditors ...RequestEditorFn) (*RetryJobByIDResponse, error)
// GetNodeStatusWithResponse request
GetNodeStatusWithResponse(ctx context.Context, hostname Hostname, reqEditors ...RequestEditorFn) (*GetNodeStatusResponse, error)
// GetNodeCertificateCaWithResponse request
GetNodeCertificateCaWithResponse(ctx context.Context, hostname Hostname, reqEditors ...RequestEditorFn) (*GetNodeCertificateCaResponse, error)
// PostNodeCertificateCaWithBodyWithResponse request with any body
PostNodeCertificateCaWithBodyWithResponse(ctx context.Context, hostname Hostname, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostNodeCertificateCaResponse, error)
PostNodeCertificateCaWithResponse(ctx context.Context, hostname Hostname, body PostNodeCertificateCaJSONRequestBody, reqEditors ...RequestEditorFn) (*PostNodeCertificateCaResponse, error)
// DeleteNodeCertificateCaWithResponse request
DeleteNodeCertificateCaWithResponse(ctx context.Context, hostname Hostname, name CertName, reqEditors ...RequestEditorFn) (*DeleteNodeCertificateCaResponse, error)
// PutNodeCertificateCaWithBodyWithResponse request with any body
PutNodeCertificateCaWithBodyWithResponse(ctx context.Context, hostname Hostname, name CertName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutNodeCertificateCaResponse, error)
PutNodeCertificateCaWithResponse(ctx context.Context, hostname Hostname, name CertName, body PutNodeCertificateCaJSONRequestBody, reqEditors ...RequestEditorFn) (*PutNodeCertificateCaResponse, error)
// PostNodeCommandExecWithBodyWithResponse request with any body
PostNodeCommandExecWithBodyWithResponse(ctx context.Context, hostname Hostname, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostNodeCommandExecResponse, error)
PostNodeCommandExecWithResponse(ctx context.Context, hostname Hostname, body PostNodeCommandExecJSONRequestBody, reqEditors ...RequestEditorFn) (*PostNodeCommandExecResponse, error)
// PostNodeCommandShellWithBodyWithResponse request with any body
PostNodeCommandShellWithBodyWithResponse(ctx context.Context, hostname Hostname, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostNodeCommandShellResponse, error)
PostNodeCommandShellWithResponse(ctx context.Context, hostname Hostname, body PostNodeCommandShellJSONRequestBody, reqEditors ...RequestEditorFn) (*PostNodeCommandShellResponse, error)
// GetNodeContainerDockerWithResponse request
GetNodeContainerDockerWithResponse(ctx context.Context, hostname Hostname, params *GetNodeContainerDockerParams, reqEditors ...RequestEditorFn) (*GetNodeContainerDockerResponse, error)
// PostNodeContainerDockerWithBodyWithResponse request with any body
PostNodeContainerDockerWithBodyWithResponse(ctx context.Context, hostname Hostname, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostNodeContainerDockerResponse, error)
PostNodeContainerDockerWithResponse(ctx context.Context, hostname Hostname, body PostNodeContainerDockerJSONRequestBody, reqEditors ...RequestEditorFn) (*PostNodeContainerDockerResponse, error)
// DeleteNodeContainerDockerImageWithResponse request
DeleteNodeContainerDockerImageWithResponse(ctx context.Context, hostname Hostname, image string, params *DeleteNodeContainerDockerImageParams, reqEditors ...RequestEditorFn) (*DeleteNodeContainerDockerImageResponse, error)
// PostNodeContainerDockerPullWithBodyWithResponse request with any body
PostNodeContainerDockerPullWithBodyWithResponse(ctx context.Context, hostname Hostname, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostNodeContainerDockerPullResponse, error)
PostNodeContainerDockerPullWithResponse(ctx context.Context, hostname Hostname, body PostNodeContainerDockerPullJSONRequestBody, reqEditors ...RequestEditorFn) (*PostNodeContainerDockerPullResponse, error)
// DeleteNodeContainerDockerByIDWithResponse request
DeleteNodeContainerDockerByIDWithResponse(ctx context.Context, hostname Hostname, id DockerId, params *DeleteNodeContainerDockerByIDParams, reqEditors ...RequestEditorFn) (*DeleteNodeContainerDockerByIDResponse, error)
// GetNodeContainerDockerByIDWithResponse request
GetNodeContainerDockerByIDWithResponse(ctx context.Context, hostname Hostname, id DockerId, reqEditors ...RequestEditorFn) (*GetNodeContainerDockerByIDResponse, error)
// PostNodeContainerDockerExecWithBodyWithResponse request with any body
PostNodeContainerDockerExecWithBodyWithResponse(ctx context.Context, hostname Hostname, id DockerId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostNodeContainerDockerExecResponse, error)
PostNodeContainerDockerExecWithResponse(ctx context.Context, hostname Hostname, id DockerId, body PostNodeContainerDockerExecJSONRequestBody, reqEditors ...RequestEditorFn) (*PostNodeContainerDockerExecResponse, error)
// PostNodeContainerDockerStartWithResponse request
PostNodeContainerDockerStartWithResponse(ctx context.Context, hostname Hostname, id DockerId, reqEditors ...RequestEditorFn) (*PostNodeContainerDockerStartResponse, error)
// PostNodeContainerDockerStopWithBodyWithResponse request with any body
PostNodeContainerDockerStopWithBodyWithResponse(ctx context.Context, hostname Hostname, id DockerId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostNodeContainerDockerStopResponse, error)
PostNodeContainerDockerStopWithResponse(ctx context.Context, hostname Hostname, id DockerId, body PostNodeContainerDockerStopJSONRequestBody, reqEditors ...RequestEditorFn) (*PostNodeContainerDockerStopResponse, error)
// GetNodeDiskWithResponse request
GetNodeDiskWithResponse(ctx context.Context, hostname Hostname, reqEditors ...RequestEditorFn) (*GetNodeDiskResponse, error)
// PostNodeFileDeployWithBodyWithResponse request with any body
PostNodeFileDeployWithBodyWithResponse(ctx context.Context, hostname Hostname, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostNodeFileDeployResponse, error)
PostNodeFileDeployWithResponse(ctx context.Context, hostname Hostname, body PostNodeFileDeployJSONRequestBody, reqEditors ...RequestEditorFn) (*PostNodeFileDeployResponse, error)
// PostNodeFileStatusWithBodyWithResponse request with any body
PostNodeFileStatusWithBodyWithResponse(ctx context.Context, hostname Hostname, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostNodeFileStatusResponse, error)
PostNodeFileStatusWithResponse(ctx context.Context, hostname Hostname, body PostNodeFileStatusJSONRequestBody, reqEditors ...RequestEditorFn) (*PostNodeFileStatusResponse, error)
// PostNodeFileUndeployWithBodyWithResponse request with any body
PostNodeFileUndeployWithBodyWithResponse(ctx context.Context, hostname Hostname, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostNodeFileUndeployResponse, error)
PostNodeFileUndeployWithResponse(ctx context.Context, hostname Hostname, body PostNodeFileUndeployJSONRequestBody, reqEditors ...RequestEditorFn) (*PostNodeFileUndeployResponse, error)
// GetNodeGroupWithResponse request
GetNodeGroupWithResponse(ctx context.Context, hostname Hostname, reqEditors ...RequestEditorFn) (*GetNodeGroupResponse, error)
// PostNodeGroupWithBodyWithResponse request with any body
PostNodeGroupWithBodyWithResponse(ctx context.Context, hostname Hostname, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostNodeGroupResponse, error)
PostNodeGroupWithResponse(ctx context.Context, hostname Hostname, body PostNodeGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*PostNodeGroupResponse, error)
// DeleteNodeGroupWithResponse request
DeleteNodeGroupWithResponse(ctx context.Context, hostname Hostname, name GroupName, reqEditors ...RequestEditorFn) (*DeleteNodeGroupResponse, error)
// GetNodeGroupByNameWithResponse request
GetNodeGroupByNameWithResponse(ctx context.Context, hostname Hostname, name GroupName, reqEditors ...RequestEditorFn) (*GetNodeGroupByNameResponse, error)
// PutNodeGroupWithBodyWithResponse request with any body
PutNodeGroupWithBodyWithResponse(ctx context.Context, hostname Hostname, name GroupName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutNodeGroupResponse, error)
PutNodeGroupWithResponse(ctx context.Context, hostname Hostname, name GroupName, body PutNodeGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*PutNodeGroupResponse, error)
// GetNodeHostnameWithResponse request
GetNodeHostnameWithResponse(ctx context.Context, hostname Hostname, reqEditors ...RequestEditorFn) (*GetNodeHostnameResponse, error)
// PutNodeHostnameWithBodyWithResponse request with any body
PutNodeHostnameWithBodyWithResponse(ctx context.Context, hostname Hostname, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutNodeHostnameResponse, error)
PutNodeHostnameWithResponse(ctx context.Context, hostname Hostname, body PutNodeHostnameJSONRequestBody, reqEditors ...RequestEditorFn) (*PutNodeHostnameResponse, error)
// GetNodeLoadWithResponse request
GetNodeLoadWithResponse(ctx context.Context, hostname Hostname, reqEditors ...RequestEditorFn) (*GetNodeLoadResponse, error)
// GetNodeLogWithResponse request
GetNodeLogWithResponse(ctx context.Context, hostname Hostname, params *GetNodeLogParams, reqEditors ...RequestEditorFn) (*GetNodeLogResponse, error)
// GetNodeLogSourceWithResponse request
GetNodeLogSourceWithResponse(ctx context.Context, hostname Hostname, reqEditors ...RequestEditorFn) (*GetNodeLogSourceResponse, error)
// GetNodeLogUnitWithResponse request
GetNodeLogUnitWithResponse(ctx context.Context, hostname Hostname, name UnitName, params *GetNodeLogUnitParams, reqEditors ...RequestEditorFn) (*GetNodeLogUnitResponse, error)
// GetNodeMemoryWithResponse request
GetNodeMemoryWithResponse(ctx context.Context, hostname Hostname, reqEditors ...RequestEditorFn) (*GetNodeMemoryResponse, error)
// DeleteNodeNetworkDNSWithBodyWithResponse request with any body
DeleteNodeNetworkDNSWithBodyWithResponse(ctx context.Context, hostname Hostname, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteNodeNetworkDNSResponse, error)
DeleteNodeNetworkDNSWithResponse(ctx context.Context, hostname Hostname, body DeleteNodeNetworkDNSJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteNodeNetworkDNSResponse, error)
// PutNodeNetworkDNSWithBodyWithResponse request with any body
PutNodeNetworkDNSWithBodyWithResponse(ctx context.Context, hostname Hostname, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutNodeNetworkDNSResponse, error)
PutNodeNetworkDNSWithResponse(ctx context.Context, hostname Hostname, body PutNodeNetworkDNSJSONRequestBody, reqEditors ...RequestEditorFn) (*PutNodeNetworkDNSResponse, error)
// GetNodeNetworkDNSByInterfaceWithResponse request
GetNodeNetworkDNSByInterfaceWithResponse(ctx context.Context, hostname Hostname, interfaceName string, reqEditors ...RequestEditorFn) (*GetNodeNetworkDNSByInterfaceResponse, error)
// GetNodeNetworkInterfaceWithResponse request
GetNodeNetworkInterfaceWithResponse(ctx context.Context, hostname Hostname, reqEditors ...RequestEditorFn) (*GetNodeNetworkInterfaceResponse, error)
// DeleteNodeNetworkInterfaceWithResponse request
DeleteNodeNetworkInterfaceWithResponse(ctx context.Context, hostname Hostname, name InterfaceName, reqEditors ...RequestEditorFn) (*DeleteNodeNetworkInterfaceResponse, error)
// GetNodeNetworkInterfaceByNameWithResponse request
GetNodeNetworkInterfaceByNameWithResponse(ctx context.Context, hostname Hostname, name InterfaceName, reqEditors ...RequestEditorFn) (*GetNodeNetworkInterfaceByNameResponse, error)
// PostNodeNetworkInterfaceWithBodyWithResponse request with any body
PostNodeNetworkInterfaceWithBodyWithResponse(ctx context.Context, hostname Hostname, name InterfaceName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostNodeNetworkInterfaceResponse, error)
PostNodeNetworkInterfaceWithResponse(ctx context.Context, hostname Hostname, name InterfaceName, body PostNodeNetworkInterfaceJSONRequestBody, reqEditors ...RequestEditorFn) (*PostNodeNetworkInterfaceResponse, error)
// PutNodeNetworkInterfaceWithBodyWithResponse request with any body
PutNodeNetworkInterfaceWithBodyWithResponse(ctx context.Context, hostname Hostname, name InterfaceName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutNodeNetworkInterfaceResponse, error)
PutNodeNetworkInterfaceWithResponse(ctx context.Context, hostname Hostname, name InterfaceName, body PutNodeNetworkInterfaceJSONRequestBody, reqEditors ...RequestEditorFn) (*PutNodeNetworkInterfaceResponse, error)
// PostNodeNetworkPingWithBodyWithResponse request with any body
PostNodeNetworkPingWithBodyWithResponse(ctx context.Context, hostname Hostname, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostNodeNetworkPingResponse, error)
PostNodeNetworkPingWithResponse(ctx context.Context, hostname Hostname, body PostNodeNetworkPingJSONRequestBody, reqEditors ...RequestEditorFn) (*PostNodeNetworkPingResponse, error)
// GetNodeNetworkRouteWithResponse request
GetNodeNetworkRouteWithResponse(ctx context.Context, hostname Hostname, reqEditors ...RequestEditorFn) (*GetNodeNetworkRouteResponse, error)
// DeleteNodeNetworkRouteWithResponse request
DeleteNodeNetworkRouteWithResponse(ctx context.Context, hostname Hostname, interfaceName RouteInterfaceName, reqEditors ...RequestEditorFn) (*DeleteNodeNetworkRouteResponse, error)
// GetNodeNetworkRouteByInterfaceWithResponse request
GetNodeNetworkRouteByInterfaceWithResponse(ctx context.Context, hostname Hostname, interfaceName RouteInterfaceName, reqEditors ...RequestEditorFn) (*GetNodeNetworkRouteByInterfaceResponse, error)
// PostNodeNetworkRouteWithBodyWithResponse request with any body
PostNodeNetworkRouteWithBodyWithResponse(ctx context.Context, hostname Hostname, interfaceName RouteInterfaceName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostNodeNetworkRouteResponse, error)
PostNodeNetworkRouteWithResponse(ctx context.Context, hostname Hostname, interfaceName RouteInterfaceName, body PostNodeNetworkRouteJSONRequestBody, reqEditors ...RequestEditorFn) (*PostNodeNetworkRouteResponse, error)
// PutNodeNetworkRouteWithBodyWithResponse request with any body
PutNodeNetworkRouteWithBodyWithResponse(ctx context.Context, hostname Hostname, interfaceName RouteInterfaceName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutNodeNetworkRouteResponse, error)
PutNodeNetworkRouteWithResponse(ctx context.Context, hostname Hostname, interfaceName RouteInterfaceName, body PutNodeNetworkRouteJSONRequestBody, reqEditors ...RequestEditorFn) (*PutNodeNetworkRouteResponse, error)
// DeleteNodeNtpWithResponse request
DeleteNodeNtpWithResponse(ctx context.Context, hostname Hostname, reqEditors ...RequestEditorFn) (*DeleteNodeNtpResponse, error)
// GetNodeNtpWithResponse request
GetNodeNtpWithResponse(ctx context.Context, hostname Hostname, reqEditors ...RequestEditorFn) (*GetNodeNtpResponse, error)
// PostNodeNtpWithBodyWithResponse request with any body
PostNodeNtpWithBodyWithResponse(ctx context.Context, hostname Hostname, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostNodeNtpResponse, error)
PostNodeNtpWithResponse(ctx context.Context, hostname Hostname, body PostNodeNtpJSONRequestBody, reqEditors ...RequestEditorFn) (*PostNodeNtpResponse, error)
// PutNodeNtpWithBodyWithResponse request with any body
PutNodeNtpWithBodyWithResponse(ctx context.Context, hostname Hostname, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutNodeNtpResponse, error)
PutNodeNtpWithResponse(ctx context.Context, hostname Hostname, body PutNodeNtpJSONRequestBody, reqEditors ...RequestEditorFn) (*PutNodeNtpResponse, error)
// GetNodeOSWithResponse request
GetNodeOSWithResponse(ctx context.Context, hostname Hostname, reqEditors ...RequestEditorFn) (*GetNodeOSResponse, error)
// GetNodePackageWithResponse request
GetNodePackageWithResponse(ctx context.Context, hostname Hostname, reqEditors ...RequestEditorFn) (*GetNodePackageResponse, error)
// PostNodePackageWithBodyWithResponse request with any body
PostNodePackageWithBodyWithResponse(ctx context.Context, hostname Hostname, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostNodePackageResponse, error)
PostNodePackageWithResponse(ctx context.Context, hostname Hostname, body PostNodePackageJSONRequestBody, reqEditors ...RequestEditorFn) (*PostNodePackageResponse, error)
// GetNodePackageUpdateWithResponse request
GetNodePackageUpdateWithResponse(ctx context.Context, hostname Hostname, reqEditors ...RequestEditorFn) (*GetNodePackageUpdateResponse, error)
// PostNodePackageUpdateWithResponse request
PostNodePackageUpdateWithResponse(ctx context.Context, hostname Hostname, reqEditors ...RequestEditorFn) (*PostNodePackageUpdateResponse, error)
// DeleteNodePackageWithResponse request
DeleteNodePackageWithResponse(ctx context.Context, hostname Hostname, name PackageName, reqEditors ...RequestEditorFn) (*DeleteNodePackageResponse, error)
// GetNodePackageByNameWithResponse request
GetNodePackageByNameWithResponse(ctx context.Context, hostname Hostname, name PackageName, reqEditors ...RequestEditorFn) (*GetNodePackageByNameResponse, error)
// PostNodePowerRebootWithBodyWithResponse request with any body
PostNodePowerRebootWithBodyWithResponse(ctx context.Context, hostname Hostname, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostNodePowerRebootResponse, error)
PostNodePowerRebootWithResponse(ctx context.Context, hostname Hostname, body PostNodePowerRebootJSONRequestBody, reqEditors ...RequestEditorFn) (*PostNodePowerRebootResponse, error)
// PostNodePowerShutdownWithBodyWithResponse request with any body
PostNodePowerShutdownWithBodyWithResponse(ctx context.Context, hostname Hostname, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostNodePowerShutdownResponse, error)
PostNodePowerShutdownWithResponse(ctx context.Context, hostname Hostname, body PostNodePowerShutdownJSONRequestBody, reqEditors ...RequestEditorFn) (*PostNodePowerShutdownResponse, error)
// GetNodeProcessWithResponse request
GetNodeProcessWithResponse(ctx context.Context, hostname Hostname, reqEditors ...RequestEditorFn) (*GetNodeProcessResponse, error)
// GetNodeProcessByPidWithResponse request
GetNodeProcessByPidWithResponse(ctx context.Context, hostname Hostname, pid Pid, reqEditors ...RequestEditorFn) (*GetNodeProcessByPidResponse, error)
// PostNodeProcessSignalWithBodyWithResponse request with any body
PostNodeProcessSignalWithBodyWithResponse(ctx context.Context, hostname Hostname, pid Pid, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostNodeProcessSignalResponse, error)
PostNodeProcessSignalWithResponse(ctx context.Context, hostname Hostname, pid Pid, body PostNodeProcessSignalJSONRequestBody, reqEditors ...RequestEditorFn) (*PostNodeProcessSignalResponse, error)
// GetNodeScheduleCronWithResponse request
GetNodeScheduleCronWithResponse(ctx context.Context, hostname Hostname, reqEditors ...RequestEditorFn) (*GetNodeScheduleCronResponse, error)
// PostNodeScheduleCronWithBodyWithResponse request with any body
PostNodeScheduleCronWithBodyWithResponse(ctx context.Context, hostname Hostname, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostNodeScheduleCronResponse, error)
PostNodeScheduleCronWithResponse(ctx context.Context, hostname Hostname, body PostNodeScheduleCronJSONRequestBody, reqEditors ...RequestEditorFn) (*PostNodeScheduleCronResponse, error)
// DeleteNodeScheduleCronWithResponse request
DeleteNodeScheduleCronWithResponse(ctx context.Context, hostname Hostname, name CronName, reqEditors ...RequestEditorFn) (*DeleteNodeScheduleCronResponse, error)
// GetNodeScheduleCronByNameWithResponse request
GetNodeScheduleCronByNameWithResponse(ctx context.Context, hostname Hostname, name CronName, reqEditors ...RequestEditorFn) (*GetNodeScheduleCronByNameResponse, error)
// PutNodeScheduleCronWithBodyWithResponse request with any body
PutNodeScheduleCronWithBodyWithResponse(ctx context.Context, hostname Hostname, name CronName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutNodeScheduleCronResponse, error)
PutNodeScheduleCronWithResponse(ctx context.Context, hostname Hostname, name CronName, body PutNodeScheduleCronJSONRequestBody, reqEditors ...RequestEditorFn) (*PutNodeScheduleCronResponse, error)
// GetNodeServiceWithResponse request
GetNodeServiceWithResponse(ctx context.Context, hostname Hostname, reqEditors ...RequestEditorFn) (*GetNodeServiceResponse, error)
// PostNodeServiceWithBodyWithResponse request with any body
PostNodeServiceWithBodyWithResponse(ctx context.Context, hostname Hostname, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostNodeServiceResponse, error)
PostNodeServiceWithResponse(ctx context.Context, hostname Hostname, body PostNodeServiceJSONRequestBody, reqEditors ...RequestEditorFn) (*PostNodeServiceResponse, error)
// DeleteNodeServiceWithResponse request
DeleteNodeServiceWithResponse(ctx context.Context, hostname Hostname, name ServiceName, reqEditors ...RequestEditorFn) (*DeleteNodeServiceResponse, error)
// GetNodeServiceByNameWithResponse request
GetNodeServiceByNameWithResponse(ctx context.Context, hostname Hostname, name ServiceName, reqEditors ...RequestEditorFn) (*GetNodeServiceByNameResponse, error)
// PutNodeServiceWithBodyWithResponse request with any body
PutNodeServiceWithBodyWithResponse(ctx context.Context, hostname Hostname, name ServiceName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutNodeServiceResponse, error)
PutNodeServiceWithResponse(ctx context.Context, hostname Hostname, name ServiceName, body PutNodeServiceJSONRequestBody, reqEditors ...RequestEditorFn) (*PutNodeServiceResponse, error)
// PostNodeServiceDisableWithResponse request
PostNodeServiceDisableWithResponse(ctx context.Context, hostname Hostname, name ServiceName, reqEditors ...RequestEditorFn) (*PostNodeServiceDisableResponse, error)
// PostNodeServiceEnableWithResponse request
PostNodeServiceEnableWithResponse(ctx context.Context, hostname Hostname, name ServiceName, reqEditors ...RequestEditorFn) (*PostNodeServiceEnableResponse, error)
// PostNodeServiceRestartWithResponse request
PostNodeServiceRestartWithResponse(ctx context.Context, hostname Hostname, name ServiceName, reqEditors ...RequestEditorFn) (*PostNodeServiceRestartResponse, error)
// PostNodeServiceStartWithResponse request
PostNodeServiceStartWithResponse(ctx context.Context, hostname Hostname, name ServiceName, reqEditors ...RequestEditorFn) (*PostNodeServiceStartResponse, error)
// PostNodeServiceStopWithResponse request
PostNodeServiceStopWithResponse(ctx context.Context, hostname Hostname, name ServiceName, reqEditors ...RequestEditorFn) (*PostNodeServiceStopResponse, error)
// GetNodeSysctlWithResponse request
GetNodeSysctlWithResponse(ctx context.Context, hostname Hostname, reqEditors ...RequestEditorFn) (*GetNodeSysctlResponse, error)
// PostNodeSysctlWithBodyWithResponse request with any body
PostNodeSysctlWithBodyWithResponse(ctx context.Context, hostname Hostname, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostNodeSysctlResponse, error)
PostNodeSysctlWithResponse(ctx context.Context, hostname Hostname, body PostNodeSysctlJSONRequestBody, reqEditors ...RequestEditorFn) (*PostNodeSysctlResponse, error)
// DeleteNodeSysctlWithResponse request
DeleteNodeSysctlWithResponse(ctx context.Context, hostname Hostname, key SysctlKey, reqEditors ...RequestEditorFn) (*DeleteNodeSysctlResponse, error)
// GetNodeSysctlByKeyWithResponse request
GetNodeSysctlByKeyWithResponse(ctx context.Context, hostname Hostname, key SysctlKey, reqEditors ...RequestEditorFn) (*GetNodeSysctlByKeyResponse, error)
// PutNodeSysctlWithBodyWithResponse request with any body
PutNodeSysctlWithBodyWithResponse(ctx context.Context, hostname Hostname, key SysctlKey, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutNodeSysctlResponse, error)
PutNodeSysctlWithResponse(ctx context.Context, hostname Hostname, key SysctlKey, body PutNodeSysctlJSONRequestBody, reqEditors ...RequestEditorFn) (*PutNodeSysctlResponse, error)
// GetNodeTimezoneWithResponse request
GetNodeTimezoneWithResponse(ctx context.Context, hostname Hostname, reqEditors ...RequestEditorFn) (*GetNodeTimezoneResponse, error)
// PutNodeTimezoneWithBodyWithResponse request with any body
PutNodeTimezoneWithBodyWithResponse(ctx context.Context, hostname Hostname, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutNodeTimezoneResponse, error)
PutNodeTimezoneWithResponse(ctx context.Context, hostname Hostname, body PutNodeTimezoneJSONRequestBody, reqEditors ...RequestEditorFn) (*PutNodeTimezoneResponse, error)
// GetNodeUptimeWithResponse request
GetNodeUptimeWithResponse(ctx context.Context, hostname Hostname, reqEditors ...RequestEditorFn) (*GetNodeUptimeResponse, error)
// GetNodeUserWithResponse request
GetNodeUserWithResponse(ctx context.Context, hostname Hostname, reqEditors ...RequestEditorFn) (*GetNodeUserResponse, error)
// PostNodeUserWithBodyWithResponse request with any body
PostNodeUserWithBodyWithResponse(ctx context.Context, hostname Hostname, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostNodeUserResponse, error)
PostNodeUserWithResponse(ctx context.Context, hostname Hostname, body PostNodeUserJSONRequestBody, reqEditors ...RequestEditorFn) (*PostNodeUserResponse, error)
// DeleteNodeUserWithResponse request
DeleteNodeUserWithResponse(ctx context.Context, hostname Hostname, name UserName, reqEditors ...RequestEditorFn) (*DeleteNodeUserResponse, error)
// GetNodeUserByNameWithResponse request
GetNodeUserByNameWithResponse(ctx context.Context, hostname Hostname, name UserName, reqEditors ...RequestEditorFn) (*GetNodeUserByNameResponse, error)
// PutNodeUserWithBodyWithResponse request with any body
PutNodeUserWithBodyWithResponse(ctx context.Context, hostname Hostname, name UserName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutNodeUserResponse, error)
PutNodeUserWithResponse(ctx context.Context, hostname Hostname, name UserName, body PutNodeUserJSONRequestBody, reqEditors ...RequestEditorFn) (*PutNodeUserResponse, error)
// PostNodeUserPasswordWithBodyWithResponse request with any body
PostNodeUserPasswordWithBodyWithResponse(ctx context.Context, hostname Hostname, name UserName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostNodeUserPasswordResponse, error)
PostNodeUserPasswordWithResponse(ctx context.Context, hostname Hostname, name UserName, body PostNodeUserPasswordJSONRequestBody, reqEditors ...RequestEditorFn) (*PostNodeUserPasswordResponse, error)
// GetNodeUserSSHKeyWithResponse request
GetNodeUserSSHKeyWithResponse(ctx context.Context, hostname Hostname, name UserName, reqEditors ...RequestEditorFn) (*GetNodeUserSSHKeyResponse, error)
// PostNodeUserSSHKeyWithBodyWithResponse request with any body
PostNodeUserSSHKeyWithBodyWithResponse(ctx context.Context, hostname Hostname, name UserName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostNodeUserSSHKeyResponse, error)
PostNodeUserSSHKeyWithResponse(ctx context.Context, hostname Hostname, name UserName, body PostNodeUserSSHKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*PostNodeUserSSHKeyResponse, error)
// DeleteNodeUserSSHKeyWithResponse request
DeleteNodeUserSSHKeyWithResponse(ctx context.Context, hostname Hostname, name UserName, fingerprint SSHKeyFingerprint, reqEditors ...RequestEditorFn) (*DeleteNodeUserSSHKeyResponse, error)
// GetApiVersionWithResponse request
GetApiVersionWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetApiVersionResponse, error)
}
ClientWithResponsesInterface is the interface specification for the client with responses above.
type CommandExecRequest ¶
type CommandExecRequest struct {
// Args Command arguments.
Args *[]string `json:"args,omitempty"`
// Command The executable name or path.
Command string `json:"command" validate:"required,min=1"`
// Cwd Working directory for the command.
Cwd *string `json:"cwd,omitempty"`
// Timeout Timeout in seconds (default 30, max 300).
Timeout *int `json:"timeout,omitempty" validate:"omitempty,min=1,max=300"`
}
CommandExecRequest defines model for CommandExecRequest.
type CommandResultCollectionResponse ¶
type CommandResultCollectionResponse struct {
// JobId The job ID used to process this request.
JobId *openapi_types.UUID `json:"job_id,omitempty"`
Results []CommandResultItem `json:"results"`
}
CommandResultCollectionResponse defines model for CommandResultCollectionResponse.
type CommandResultItem ¶
type CommandResultItem struct {
// Changed Whether the command modified system state.
Changed *bool `json:"changed,omitempty"`
// DurationMs Execution time in milliseconds.
DurationMs *int64 `json:"duration_ms,omitempty"`
// Error Error message if the agent failed.
Error *string `json:"error,omitempty"`
// ExitCode Exit code of the command.
ExitCode *int `json:"exit_code,omitempty"`
// Hostname The hostname of the agent that executed the command.
Hostname string `json:"hostname"`
// Status The status of the operation for this host.
Status CommandResultItemStatus `json:"status"`
// Stderr Standard error output of the command.
Stderr *string `json:"stderr,omitempty"`
// Stdout Standard output of the command.
Stdout *string `json:"stdout,omitempty"`
}
CommandResultItem defines model for CommandResultItem.
type CommandResultItemStatus ¶
type CommandResultItemStatus string
CommandResultItemStatus The status of the operation for this host.
const ( CommandResultItemStatusFailed CommandResultItemStatus = "failed" CommandResultItemStatusOk CommandResultItemStatus = "ok" CommandResultItemStatusSkipped CommandResultItemStatus = "skipped" )
Defines values for CommandResultItemStatus.
type CommandShellRequest ¶
type CommandShellRequest struct {
// Command The full shell command string.
Command string `json:"command" validate:"required,min=1"`
// Cwd Working directory for the command.
Cwd *string `json:"cwd,omitempty"`
// Timeout Timeout in seconds (default 30, max 300).
Timeout *int `json:"timeout,omitempty" validate:"omitempty,min=1,max=300"`
}
CommandShellRequest defines model for CommandShellRequest.
type ComponentEntry ¶
type ComponentEntry struct {
// Age Time since component started.
Age *string `json:"age,omitempty"`
// Conditions Active conditions.
Conditions *[]string `json:"conditions,omitempty"`
// CpuPercent Process CPU usage percentage.
CpuPercent *float32 `json:"cpu_percent,omitempty"`
// Hostname Component hostname.
Hostname *string `json:"hostname,omitempty"`
// MemBytes Process RSS memory in bytes.
MemBytes *int64 `json:"mem_bytes,omitempty"`
// Status Component status.
Status *string `json:"status,omitempty"`
// Type Component type (agent, api, nats).
Type *string `json:"type,omitempty"`
}
ComponentEntry defines model for ComponentEntry.
type ComponentHealth ¶
type ComponentHealth struct {
// Address Listen address of the component (if applicable).
Address *string `json:"address,omitempty"`
// Error Error message when component is unhealthy.
Error *string `json:"error,omitempty"`
// Status Component health status.
Status string `json:"status"`
}
ComponentHealth defines model for ComponentHealth.
type ConsumerDetail ¶
type ConsumerDetail struct {
// AckPending Messages delivered but not yet acknowledged.
AckPending int `json:"ack_pending"`
// Name Consumer name.
Name string `json:"name"`
// Pending Messages not yet delivered.
Pending int `json:"pending"`
// Redelivered Messages redelivered and not yet acknowledged.
Redelivered int `json:"redelivered"`
}
ConsumerDetail defines model for ConsumerDetail.
type ConsumerStats ¶
type ConsumerStats struct {
// Consumers Per-consumer details.
Consumers *[]ConsumerDetail `json:"consumers,omitempty"`
// Total Total number of JetStream consumers.
Total int `json:"total"`
}
ConsumerStats defines model for ConsumerStats.
type CreateJobResponse ¶
type CreateJobResponse struct {
// JobId Unique identifier for the created job.
JobId openapi_types.UUID `json:"job_id"`
// Revision The KV revision number.
Revision *int64 `json:"revision,omitempty"`
// Status Initial status of the job.
Status string `json:"status"`
// Timestamp Creation timestamp.
Timestamp *string `json:"timestamp,omitempty"`
}
CreateJobResponse defines model for CreateJobResponse.
type CronCollectionResponse ¶
type CronCollectionResponse struct {
// JobId The job ID used to process this request.
JobId *openapi_types.UUID `json:"job_id,omitempty"`
Results []CronEntry `json:"results"`
}
CronCollectionResponse defines model for CronCollectionResponse.
type CronCreateRequest ¶
type CronCreateRequest struct {
// ContentType Content type: "raw" or "template". When "template", the file content is rendered through Go text/template with agent facts and user-supplied vars.
ContentType *CronCreateRequestContentType `json:"content_type,omitempty" validate:"omitempty,oneof=raw template"`
// Interval Periodic interval (hourly, daily, weekly, monthly). Places the script in /etc/cron.{interval}/. Mutually exclusive with schedule — provide exactly one.
Interval *CronCreateRequestInterval `` /* 129-byte string literal not displayed */
// Name Name for the cron drop-in entry. Used as the file name under /etc/cron.d/ or /etc/cron.{interval}/.
Name string `json:"name" validate:"required,min=1,max=64"`
// Object Name of the uploaded file in the object store to deploy as the cron entry content.
Object string `json:"object" validate:"required,min=1"`
// Schedule Cron schedule expression (e.g., "*/5 * * * *"). Mutually exclusive with interval — provide exactly one.
Schedule *string `json:"schedule,omitempty" validate:"required_without=Interval,excluded_with=Interval,omitempty,cron_schedule"`
// User User to run the command as. Only applies when using schedule (cron.d entries include a user field).
User *string `json:"user,omitempty"`
// Vars Template variables. Only used when content_type is "template".
Vars *map[string]interface{} `json:"vars,omitempty"`
}
CronCreateRequest defines model for CronCreateRequest.
type CronCreateRequestContentType ¶
type CronCreateRequestContentType string
CronCreateRequestContentType Content type: "raw" or "template". When "template", the file content is rendered through Go text/template with agent facts and user-supplied vars.
const ( CronCreateRequestContentTypeRaw CronCreateRequestContentType = "raw" CronCreateRequestContentTypeTemplate CronCreateRequestContentType = "template" )
Defines values for CronCreateRequestContentType.
type CronCreateRequestInterval ¶
type CronCreateRequestInterval string
CronCreateRequestInterval Periodic interval (hourly, daily, weekly, monthly). Places the script in /etc/cron.{interval}/. Mutually exclusive with schedule — provide exactly one.
const ( CronCreateRequestIntervalDaily CronCreateRequestInterval = "daily" CronCreateRequestIntervalHourly CronCreateRequestInterval = "hourly" CronCreateRequestIntervalMonthly CronCreateRequestInterval = "monthly" CronCreateRequestIntervalWeekly CronCreateRequestInterval = "weekly" )
Defines values for CronCreateRequestInterval.
type CronCreateResponse ¶
type CronCreateResponse struct {
// JobId The job ID used to process this request.
JobId *openapi_types.UUID `json:"job_id,omitempty"`
Results []CronMutationResult `json:"results"`
}
CronCreateResponse defines model for CronCreateResponse.
type CronDeleteResponse ¶
type CronDeleteResponse struct {
// JobId The job ID used to process this request.
JobId *openapi_types.UUID `json:"job_id,omitempty"`
Results []CronMutationResult `json:"results"`
}
CronDeleteResponse defines model for CronDeleteResponse.
type CronEntry ¶
type CronEntry struct {
// Error Error message if the agent failed to retrieve this entry.
Error *string `json:"error,omitempty"`
// Hostname Hostname of the agent that reported this entry.
Hostname string `json:"hostname"`
// Interval Periodic interval (hourly, daily, weekly, monthly). Present for /etc/cron.{interval}/ entries.
Interval *CronEntryInterval `json:"interval,omitempty"`
// Name Cron entry name.
Name *string `json:"name,omitempty"`
// Object Object store name for the deployed content.
Object *string `json:"object,omitempty"`
// Schedule Cron schedule expression. Present for /etc/cron.d/ entries.
Schedule *string `json:"schedule,omitempty"`
// Source Where the entry lives: "cron.d", "hourly", "daily", "weekly", or "monthly".
Source *string `json:"source,omitempty"`
// Status The status of the operation for this host.
Status CronEntryStatus `json:"status"`
// User User the cron entry runs as.
User *string `json:"user,omitempty"`
}
CronEntry A cron drop-in entry.
type CronEntryInterval ¶
type CronEntryInterval string
CronEntryInterval Periodic interval (hourly, daily, weekly, monthly). Present for /etc/cron.{interval}/ entries.
const ( CronEntryIntervalDaily CronEntryInterval = "daily" CronEntryIntervalHourly CronEntryInterval = "hourly" CronEntryIntervalMonthly CronEntryInterval = "monthly" CronEntryIntervalWeekly CronEntryInterval = "weekly" )
Defines values for CronEntryInterval.
type CronEntryStatus ¶
type CronEntryStatus string
CronEntryStatus The status of the operation for this host.
const ( CronEntryStatusFailed CronEntryStatus = "failed" CronEntryStatusOk CronEntryStatus = "ok" CronEntryStatusSkipped CronEntryStatus = "skipped" )
Defines values for CronEntryStatus.
type CronGetResponse ¶
type CronGetResponse struct {
// JobId The job ID used to process this request.
JobId *openapi_types.UUID `json:"job_id,omitempty"`
Results []CronEntry `json:"results"`
}
CronGetResponse Collection response for a single cron entry get operation.
type CronMutationResult ¶
type CronMutationResult struct {
// Changed Whether the operation modified system state.
Changed *bool `json:"changed,omitempty"`
// Error Error message if the agent failed.
Error *string `json:"error,omitempty"`
// Hostname Hostname of the agent that processed this operation.
Hostname string `json:"hostname"`
// Name Cron entry name.
Name *string `json:"name,omitempty"`
// Status The status of the operation for this host.
Status CronMutationResultStatus `json:"status"`
}
CronMutationResult Result of a cron create, update, or delete operation for one host.
type CronMutationResultStatus ¶
type CronMutationResultStatus string
CronMutationResultStatus The status of the operation for this host.
const ( CronMutationResultStatusFailed CronMutationResultStatus = "failed" CronMutationResultStatusOk CronMutationResultStatus = "ok" CronMutationResultStatusSkipped CronMutationResultStatus = "skipped" )
Defines values for CronMutationResultStatus.
type CronUpdateRequest ¶
type CronUpdateRequest struct {
// ContentType Content type: "raw" or "template".
ContentType *CronUpdateRequestContentType `json:"content_type,omitempty" validate:"omitempty,oneof=raw template"`
// Object New object to deploy (redeploy with updated content).
Object *string `json:"object,omitempty" validate:"omitempty,min=1"`
// Schedule Cron schedule expression (e.g., "*/5 * * * *").
Schedule *string `json:"schedule,omitempty" validate:"omitempty,cron_schedule"`
// User User to run the command as.
User *string `json:"user,omitempty"`
// Vars Template variables.
Vars *map[string]interface{} `json:"vars,omitempty"`
}
CronUpdateRequest defines model for CronUpdateRequest.
type CronUpdateRequestContentType ¶
type CronUpdateRequestContentType string
CronUpdateRequestContentType Content type: "raw" or "template".
const ( CronUpdateRequestContentTypeRaw CronUpdateRequestContentType = "raw" CronUpdateRequestContentTypeTemplate CronUpdateRequestContentType = "template" )
Defines values for CronUpdateRequestContentType.
type CronUpdateResponse ¶
type CronUpdateResponse struct {
// JobId The job ID used to process this request.
JobId *openapi_types.UUID `json:"job_id,omitempty"`
Results []CronMutationResult `json:"results"`
}
CronUpdateResponse defines model for CronUpdateResponse.
type DNSConfigCollectionResponse ¶
type DNSConfigCollectionResponse struct {
// JobId The job ID used to process this request.
JobId *openapi_types.UUID `json:"job_id,omitempty"`
Results []DNSConfigResponse `json:"results"`
}
DNSConfigCollectionResponse defines model for DNSConfigCollectionResponse.
type DNSConfigResponse ¶
type DNSConfigResponse struct {
// Changed Whether the operation modified system state.
Changed *bool `json:"changed,omitempty"`
// Error Error message if the agent failed.
Error *string `json:"error,omitempty"`
// Hostname The hostname of the agent that served this config.
Hostname string `json:"hostname"`
// SearchDomains List of search domains.
SearchDomains *[]string `json:"search_domains,omitempty"`
// Servers List of configured DNS servers.
Servers *[]string `json:"servers,omitempty"`
// Status The status of the operation for this host.
Status DNSConfigResponseStatus `json:"status"`
}
DNSConfigResponse defines model for DNSConfigResponse.
type DNSConfigResponseStatus ¶
type DNSConfigResponseStatus string
DNSConfigResponseStatus The status of the operation for this host.
const ( DNSConfigResponseStatusFailed DNSConfigResponseStatus = "failed" DNSConfigResponseStatusOk DNSConfigResponseStatus = "ok" DNSConfigResponseStatusSkipped DNSConfigResponseStatus = "skipped" )
Defines values for DNSConfigResponseStatus.
type DNSConfigUpdateRequest ¶
type DNSConfigUpdateRequest struct {
// InterfaceName The name of the network interface to apply DNS configuration to. Accepts alphanumeric names or @fact. references.
InterfaceName string `json:"interface_name" validate:"required,alphanum_or_fact"`
// OverrideDhcp When true, disables DHCP-provided DNS servers so only the configured servers are used. When false or omitted, DHCP DNS servers are merged alongside the configured ones (default Netplan behavior).
OverrideDhcp *bool `json:"override_dhcp,omitempty" validate:"omitempty"`
// SearchDomains New list of search domains to configure.
SearchDomains *[]string `json:"search_domains,omitempty" validate:"required_without=Servers,omitempty,dive,hostname,min=1"`
// Servers New list of DNS servers to configure.
Servers *[]string `json:"servers,omitempty" validate:"required_without=SearchDomains,omitempty,dive,ip,min=1"`
}
DNSConfigUpdateRequest defines model for DNSConfigUpdateRequest.
type DNSDeleteCollectionResponse ¶
type DNSDeleteCollectionResponse struct {
// JobId The job ID used to process this request.
JobId *openapi_types.UUID `json:"job_id,omitempty"`
Results []DNSDeleteResultItem `json:"results"`
}
DNSDeleteCollectionResponse defines model for DNSDeleteCollectionResponse.
type DNSDeleteRequest ¶
type DNSDeleteRequest struct {
// InterfaceName The name of the network interface to delete DNS configuration from.
InterfaceName string `json:"interface_name" validate:"required,alphanum_or_fact"`
}
DNSDeleteRequest defines model for DNSDeleteRequest.
type DNSDeleteResultItem ¶
type DNSDeleteResultItem struct {
// Changed Whether the DNS configuration was actually modified.
Changed *bool `json:"changed,omitempty"`
// Error Error message if the agent failed.
Error *string `json:"error,omitempty"`
// Hostname Hostname of the agent that processed this operation.
Hostname string `json:"hostname"`
// Status The status of the operation for this host.
Status DNSDeleteResultItemStatus `json:"status"`
}
DNSDeleteResultItem defines model for DNSDeleteResultItem.
type DNSDeleteResultItemStatus ¶
type DNSDeleteResultItemStatus string
DNSDeleteResultItemStatus The status of the operation for this host.
const ( DNSDeleteResultItemStatusFailed DNSDeleteResultItemStatus = "failed" DNSDeleteResultItemStatusOk DNSDeleteResultItemStatus = "ok" DNSDeleteResultItemStatusSkipped DNSDeleteResultItemStatus = "skipped" )
Defines values for DNSDeleteResultItemStatus.
type DNSUpdateCollectionResponse ¶
type DNSUpdateCollectionResponse struct {
// JobId The job ID used to process this request.
JobId *openapi_types.UUID `json:"job_id,omitempty"`
Results []DNSUpdateResultItem `json:"results"`
}
DNSUpdateCollectionResponse defines model for DNSUpdateCollectionResponse.
type DNSUpdateResultItem ¶
type DNSUpdateResultItem struct {
// Changed Whether the DNS configuration was actually modified.
Changed *bool `json:"changed,omitempty"`
Error *string `json:"error,omitempty"`
Hostname string `json:"hostname"`
Status DNSUpdateResultItemStatus `json:"status"`
}
DNSUpdateResultItem defines model for DNSUpdateResultItem.
type DNSUpdateResultItemStatus ¶
type DNSUpdateResultItemStatus string
DNSUpdateResultItemStatus defines model for DNSUpdateResultItem.Status.
const ( DNSUpdateResultItemStatusFailed DNSUpdateResultItemStatus = "failed" DNSUpdateResultItemStatusOk DNSUpdateResultItemStatus = "ok" DNSUpdateResultItemStatusSkipped DNSUpdateResultItemStatus = "skipped" )
Defines values for DNSUpdateResultItemStatus.
type DeleteFileByNameResponse ¶
type DeleteFileByNameResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *FileDeleteResponse
JSON400 *ErrorResponse
JSON401 *ErrorResponse
JSON403 *ErrorResponse
JSON404 *ErrorResponse
JSON500 *ErrorResponse
}
func ParseDeleteFileByNameResponse ¶
func ParseDeleteFileByNameResponse(rsp *http.Response) (*DeleteFileByNameResponse, error)
ParseDeleteFileByNameResponse parses an HTTP response from a DeleteFileByNameWithResponse call
func (DeleteFileByNameResponse) Status ¶
func (r DeleteFileByNameResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteFileByNameResponse) StatusCode ¶
func (r DeleteFileByNameResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteJobByIDResponse ¶
type DeleteJobByIDResponse struct {
Body []byte
HTTPResponse *http.Response
JSON400 *ErrorResponse
JSON401 *ErrorResponse
JSON403 *ErrorResponse
JSON404 *ErrorResponse
JSON500 *ErrorResponse
}
func ParseDeleteJobByIDResponse ¶
func ParseDeleteJobByIDResponse(rsp *http.Response) (*DeleteJobByIDResponse, error)
ParseDeleteJobByIDResponse parses an HTTP response from a DeleteJobByIDWithResponse call
func (DeleteJobByIDResponse) Status ¶
func (r DeleteJobByIDResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteJobByIDResponse) StatusCode ¶
func (r DeleteJobByIDResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteNodeCertificateCaResponse ¶
type DeleteNodeCertificateCaResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *CertificateCAMutationResponse
JSON400 *ErrorResponse
JSON401 *ErrorResponse
JSON403 *ErrorResponse
JSON500 *ErrorResponse
}
func ParseDeleteNodeCertificateCaResponse ¶
func ParseDeleteNodeCertificateCaResponse(rsp *http.Response) (*DeleteNodeCertificateCaResponse, error)
ParseDeleteNodeCertificateCaResponse parses an HTTP response from a DeleteNodeCertificateCaWithResponse call
func (DeleteNodeCertificateCaResponse) Status ¶
func (r DeleteNodeCertificateCaResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteNodeCertificateCaResponse) StatusCode ¶
func (r DeleteNodeCertificateCaResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteNodeContainerDockerByIDParams ¶
type DeleteNodeContainerDockerByIDParams struct {
// Force Force removal of a running container.
Force *bool `form:"force,omitempty" json:"force,omitempty" validate:"omitempty"`
}
DeleteNodeContainerDockerByIDParams defines parameters for DeleteNodeContainerDockerByID.
type DeleteNodeContainerDockerByIDResponse ¶
type DeleteNodeContainerDockerByIDResponse struct {
Body []byte
HTTPResponse *http.Response
JSON202 *DockerActionCollectionResponse
JSON400 *ErrorResponse
JSON401 *ErrorResponse
JSON403 *ErrorResponse
JSON404 *ErrorResponse
JSON500 *ErrorResponse
}
func ParseDeleteNodeContainerDockerByIDResponse ¶
func ParseDeleteNodeContainerDockerByIDResponse(rsp *http.Response) (*DeleteNodeContainerDockerByIDResponse, error)
ParseDeleteNodeContainerDockerByIDResponse parses an HTTP response from a DeleteNodeContainerDockerByIDWithResponse call
func (DeleteNodeContainerDockerByIDResponse) Status ¶
func (r DeleteNodeContainerDockerByIDResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteNodeContainerDockerByIDResponse) StatusCode ¶
func (r DeleteNodeContainerDockerByIDResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteNodeContainerDockerImageParams ¶
type DeleteNodeContainerDockerImageParams struct {
Force *bool `form:"force,omitempty" json:"force,omitempty" validate:"omitempty"`
}
DeleteNodeContainerDockerImageParams defines parameters for DeleteNodeContainerDockerImage.
type DeleteNodeContainerDockerImageResponse ¶
type DeleteNodeContainerDockerImageResponse struct {
Body []byte
HTTPResponse *http.Response
JSON202 *DockerActionCollectionResponse
JSON400 *ErrorResponse
JSON401 *ErrorResponse
JSON403 *ErrorResponse
JSON500 *ErrorResponse
}
func ParseDeleteNodeContainerDockerImageResponse ¶
func ParseDeleteNodeContainerDockerImageResponse(rsp *http.Response) (*DeleteNodeContainerDockerImageResponse, error)
ParseDeleteNodeContainerDockerImageResponse parses an HTTP response from a DeleteNodeContainerDockerImageWithResponse call
func (DeleteNodeContainerDockerImageResponse) Status ¶
func (r DeleteNodeContainerDockerImageResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteNodeContainerDockerImageResponse) StatusCode ¶
func (r DeleteNodeContainerDockerImageResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteNodeGroupResponse ¶
type DeleteNodeGroupResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *GroupMutationResponse
JSON400 *ErrorResponse
JSON401 *ErrorResponse
JSON403 *ErrorResponse
JSON404 *ErrorResponse
JSON500 *ErrorResponse
}
func ParseDeleteNodeGroupResponse ¶
func ParseDeleteNodeGroupResponse(rsp *http.Response) (*DeleteNodeGroupResponse, error)
ParseDeleteNodeGroupResponse parses an HTTP response from a DeleteNodeGroupWithResponse call
func (DeleteNodeGroupResponse) Status ¶
func (r DeleteNodeGroupResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteNodeGroupResponse) StatusCode ¶
func (r DeleteNodeGroupResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteNodeNetworkDNSJSONRequestBody ¶
type DeleteNodeNetworkDNSJSONRequestBody = DNSDeleteRequest
DeleteNodeNetworkDNSJSONRequestBody defines body for DeleteNodeNetworkDNS for application/json ContentType.
type DeleteNodeNetworkDNSResponse ¶
type DeleteNodeNetworkDNSResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *DNSDeleteCollectionResponse
JSON400 *ErrorResponse
JSON401 *ErrorResponse
JSON403 *ErrorResponse
JSON500 *ErrorResponse
}
func ParseDeleteNodeNetworkDNSResponse ¶
func ParseDeleteNodeNetworkDNSResponse(rsp *http.Response) (*DeleteNodeNetworkDNSResponse, error)
ParseDeleteNodeNetworkDNSResponse parses an HTTP response from a DeleteNodeNetworkDNSWithResponse call
func (DeleteNodeNetworkDNSResponse) Status ¶
func (r DeleteNodeNetworkDNSResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteNodeNetworkDNSResponse) StatusCode ¶
func (r DeleteNodeNetworkDNSResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteNodeNetworkInterfaceResponse ¶
type DeleteNodeNetworkInterfaceResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *InterfaceMutationResponse
JSON400 *ErrorResponse
JSON401 *ErrorResponse
JSON403 *ErrorResponse
JSON500 *ErrorResponse
}
func ParseDeleteNodeNetworkInterfaceResponse ¶
func ParseDeleteNodeNetworkInterfaceResponse(rsp *http.Response) (*DeleteNodeNetworkInterfaceResponse, error)
ParseDeleteNodeNetworkInterfaceResponse parses an HTTP response from a DeleteNodeNetworkInterfaceWithResponse call
func (DeleteNodeNetworkInterfaceResponse) Status ¶
func (r DeleteNodeNetworkInterfaceResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteNodeNetworkInterfaceResponse) StatusCode ¶
func (r DeleteNodeNetworkInterfaceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteNodeNetworkRouteResponse ¶
type DeleteNodeNetworkRouteResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *RouteMutationResponse
JSON400 *ErrorResponse
JSON401 *ErrorResponse
JSON403 *ErrorResponse
JSON500 *ErrorResponse
}
func ParseDeleteNodeNetworkRouteResponse ¶
func ParseDeleteNodeNetworkRouteResponse(rsp *http.Response) (*DeleteNodeNetworkRouteResponse, error)
ParseDeleteNodeNetworkRouteResponse parses an HTTP response from a DeleteNodeNetworkRouteWithResponse call
func (DeleteNodeNetworkRouteResponse) Status ¶
func (r DeleteNodeNetworkRouteResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteNodeNetworkRouteResponse) StatusCode ¶
func (r DeleteNodeNetworkRouteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteNodeNtpResponse ¶
type DeleteNodeNtpResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *NtpDeleteResponse
JSON400 *ErrorResponse
JSON401 *ErrorResponse
JSON403 *ErrorResponse
JSON404 *ErrorResponse
JSON500 *ErrorResponse
}
func ParseDeleteNodeNtpResponse ¶
func ParseDeleteNodeNtpResponse(rsp *http.Response) (*DeleteNodeNtpResponse, error)
ParseDeleteNodeNtpResponse parses an HTTP response from a DeleteNodeNtpWithResponse call
func (DeleteNodeNtpResponse) Status ¶
func (r DeleteNodeNtpResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteNodeNtpResponse) StatusCode ¶
func (r DeleteNodeNtpResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteNodePackageResponse ¶
type DeleteNodePackageResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *PackageMutationResponse
JSON400 *ErrorResponse
JSON401 *ErrorResponse
JSON403 *ErrorResponse
JSON404 *ErrorResponse
JSON500 *ErrorResponse
}
func ParseDeleteNodePackageResponse ¶
func ParseDeleteNodePackageResponse(rsp *http.Response) (*DeleteNodePackageResponse, error)
ParseDeleteNodePackageResponse parses an HTTP response from a DeleteNodePackageWithResponse call
func (DeleteNodePackageResponse) Status ¶
func (r DeleteNodePackageResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteNodePackageResponse) StatusCode ¶
func (r DeleteNodePackageResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteNodeScheduleCronResponse ¶
type DeleteNodeScheduleCronResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *CronDeleteResponse
JSON400 *ErrorResponse
JSON401 *ErrorResponse
JSON403 *ErrorResponse
JSON404 *ErrorResponse
JSON500 *ErrorResponse
}
func ParseDeleteNodeScheduleCronResponse ¶
func ParseDeleteNodeScheduleCronResponse(rsp *http.Response) (*DeleteNodeScheduleCronResponse, error)
ParseDeleteNodeScheduleCronResponse parses an HTTP response from a DeleteNodeScheduleCronWithResponse call
func (DeleteNodeScheduleCronResponse) Status ¶
func (r DeleteNodeScheduleCronResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteNodeScheduleCronResponse) StatusCode ¶
func (r DeleteNodeScheduleCronResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteNodeServiceResponse ¶
type DeleteNodeServiceResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ServiceMutationResponse
JSON400 *ErrorResponse
JSON401 *ErrorResponse
JSON403 *ErrorResponse
JSON500 *ErrorResponse
}
func ParseDeleteNodeServiceResponse ¶
func ParseDeleteNodeServiceResponse(rsp *http.Response) (*DeleteNodeServiceResponse, error)
ParseDeleteNodeServiceResponse parses an HTTP response from a DeleteNodeServiceWithResponse call
func (DeleteNodeServiceResponse) Status ¶
func (r DeleteNodeServiceResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteNodeServiceResponse) StatusCode ¶
func (r DeleteNodeServiceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteNodeSysctlResponse ¶
type DeleteNodeSysctlResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *SysctlDeleteResponse
JSON400 *ErrorResponse
JSON401 *ErrorResponse
JSON403 *ErrorResponse
JSON404 *ErrorResponse
JSON500 *ErrorResponse
}
func ParseDeleteNodeSysctlResponse ¶
func ParseDeleteNodeSysctlResponse(rsp *http.Response) (*DeleteNodeSysctlResponse, error)
ParseDeleteNodeSysctlResponse parses an HTTP response from a DeleteNodeSysctlWithResponse call
func (DeleteNodeSysctlResponse) Status ¶
func (r DeleteNodeSysctlResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteNodeSysctlResponse) StatusCode ¶
func (r DeleteNodeSysctlResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteNodeUserResponse ¶
type DeleteNodeUserResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *UserMutationResponse
JSON400 *ErrorResponse
JSON401 *ErrorResponse
JSON403 *ErrorResponse
JSON404 *ErrorResponse
JSON500 *ErrorResponse
}
func ParseDeleteNodeUserResponse ¶
func ParseDeleteNodeUserResponse(rsp *http.Response) (*DeleteNodeUserResponse, error)
ParseDeleteNodeUserResponse parses an HTTP response from a DeleteNodeUserWithResponse call
func (DeleteNodeUserResponse) Status ¶
func (r DeleteNodeUserResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteNodeUserResponse) StatusCode ¶
func (r DeleteNodeUserResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteNodeUserSSHKeyResponse ¶
type DeleteNodeUserSSHKeyResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *SSHKeyMutationResponse
JSON400 *ErrorResponse
JSON401 *ErrorResponse
JSON403 *ErrorResponse
JSON500 *ErrorResponse
}
func ParseDeleteNodeUserSSHKeyResponse ¶
func ParseDeleteNodeUserSSHKeyResponse(rsp *http.Response) (*DeleteNodeUserSSHKeyResponse, error)
ParseDeleteNodeUserSSHKeyResponse parses an HTTP response from a DeleteNodeUserSSHKeyWithResponse call
func (DeleteNodeUserSSHKeyResponse) Status ¶
func (r DeleteNodeUserSSHKeyResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteNodeUserSSHKeyResponse) StatusCode ¶
func (r DeleteNodeUserSSHKeyResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DiskCollectionResponse ¶
type DiskCollectionResponse struct {
// JobId The job ID used to process this request.
JobId *openapi_types.UUID `json:"job_id,omitempty"`
Results []DiskResultItem `json:"results"`
}
DiskCollectionResponse defines model for DiskCollectionResponse.
type DiskResponse ¶
type DiskResponse struct {
// Free Free disk space in bytes.
Free int `json:"free"`
// Name Disk identifier, e.g., "/dev/sda1".
Name string `json:"name"`
// Total Total disk space in bytes.
Total int `json:"total"`
// Used Used disk space in bytes.
Used int `json:"used"`
}
DiskResponse Local disk usage information.
type DiskResultItem ¶
type DiskResultItem struct {
// Changed Whether the operation modified system state.
Changed *bool `json:"changed,omitempty"`
// Disks List of local disk usage information.
Disks *DisksResponse `json:"disks,omitempty"`
// Error Error message if the agent failed.
Error *string `json:"error,omitempty"`
// Hostname The hostname of the agent.
Hostname string `json:"hostname"`
// Status The status of the operation for this host.
Status DiskResultItemStatus `json:"status"`
}
DiskResultItem defines model for DiskResultItem.
type DiskResultItemStatus ¶
type DiskResultItemStatus string
DiskResultItemStatus The status of the operation for this host.
const ( DiskResultItemStatusFailed DiskResultItemStatus = "failed" DiskResultItemStatusOk DiskResultItemStatus = "ok" DiskResultItemStatusSkipped DiskResultItemStatus = "skipped" )
Defines values for DiskResultItemStatus.
type DisksResponse ¶
type DisksResponse = []DiskResponse
DisksResponse List of local disk usage information.
type DockerActionCollectionResponse ¶
type DockerActionCollectionResponse struct {
// JobId The job ID used to process this request.
JobId *openapi_types.UUID `json:"job_id,omitempty"`
Results []DockerActionResultItem `json:"results"`
}
DockerActionCollectionResponse defines model for DockerActionCollectionResponse.
type DockerActionResultItem ¶
type DockerActionResultItem struct {
// Changed Whether the operation modified system state.
Changed *bool `json:"changed,omitempty"`
// Error Error message if the agent failed.
Error *string `json:"error,omitempty"`
// Hostname The hostname of the agent.
Hostname string `json:"hostname"`
// Id Container identifier.
Id *string `json:"id,omitempty"`
// Message Status message.
Message *string `json:"message,omitempty"`
// Status The status of the operation for this host.
Status DockerActionResultItemStatus `json:"status"`
}
DockerActionResultItem Result of a container lifecycle action.
type DockerActionResultItemStatus ¶
type DockerActionResultItemStatus string
DockerActionResultItemStatus The status of the operation for this host.
const ( DockerActionResultItemStatusFailed DockerActionResultItemStatus = "failed" DockerActionResultItemStatusOk DockerActionResultItemStatus = "ok" DockerActionResultItemStatusSkipped DockerActionResultItemStatus = "skipped" )
Defines values for DockerActionResultItemStatus.
type DockerCreateRequest ¶
type DockerCreateRequest struct {
// AutoStart Whether to start the container immediately after creation. Defaults to true.
AutoStart *bool `json:"auto_start,omitempty" validate:"omitempty"`
// Command Command to run in the container.
Command *[]string `json:"command,omitempty"`
// Dns Custom DNS servers for the container.
Dns *[]string `json:"dns,omitempty" validate:"omitempty,dive,ip"`
// Env Environment variables in KEY=VALUE format.
Env *[]string `json:"env,omitempty"`
// Hostname Container hostname.
Hostname *string `json:"hostname,omitempty" validate:"omitempty,min=1,max=253"`
// Image Container image reference (e.g., "nginx:latest").
Image string `json:"image" validate:"required,min=1"`
// Name Optional name for the container.
Name *string `json:"name,omitempty" validate:"omitempty,min=1"`
// Ports Port mappings in host_port:container_port format.
Ports *[]string `json:"ports,omitempty"`
// Volumes Volume mounts in host_path:container_path format.
Volumes *[]string `json:"volumes,omitempty"`
}
DockerCreateRequest defines model for DockerCreateRequest.
type DockerDetailCollectionResponse ¶
type DockerDetailCollectionResponse struct {
// JobId The job ID used to process this request.
JobId *openapi_types.UUID `json:"job_id,omitempty"`
Results []DockerDetailResponse `json:"results"`
}
DockerDetailCollectionResponse defines model for DockerDetailCollectionResponse.
type DockerDetailResponse ¶
type DockerDetailResponse struct {
// Changed Whether the operation modified system state.
Changed *bool `json:"changed,omitempty"`
// Created Container creation timestamp.
Created *string `json:"created,omitempty"`
// Env Environment variables.
Env *[]string `json:"env,omitempty"`
// Error Error message if the agent failed.
Error *string `json:"error,omitempty"`
// Health Health check status if configured.
Health *string `json:"health,omitempty"`
// Hostname The hostname of the agent.
Hostname string `json:"hostname"`
// Id Container identifier.
Id *string `json:"id,omitempty"`
// Image Image used by the container.
Image *string `json:"image,omitempty"`
// Mounts Volume mounts.
Mounts *[]string `json:"mounts,omitempty"`
// Name Container name.
Name *string `json:"name,omitempty"`
// NetworkSettings Network configuration.
NetworkSettings *map[string]string `json:"network_settings,omitempty"`
// Ports Port mappings.
Ports *[]string `json:"ports,omitempty"`
// State Current container state.
State *string `json:"state,omitempty"`
// Status The status of the operation for this host.
Status DockerDetailResponseStatus `json:"status"`
}
DockerDetailResponse Detailed information about a container.
type DockerDetailResponseStatus ¶
type DockerDetailResponseStatus string
DockerDetailResponseStatus The status of the operation for this host.
const ( DockerDetailResponseStatusFailed DockerDetailResponseStatus = "failed" DockerDetailResponseStatusOk DockerDetailResponseStatus = "ok" DockerDetailResponseStatusSkipped DockerDetailResponseStatus = "skipped" )
Defines values for DockerDetailResponseStatus.
type DockerExecCollectionResponse ¶
type DockerExecCollectionResponse struct {
// JobId The job ID used to process this request.
JobId *openapi_types.UUID `json:"job_id,omitempty"`
Results []DockerExecResultItem `json:"results"`
}
DockerExecCollectionResponse defines model for DockerExecCollectionResponse.
type DockerExecRequest ¶
type DockerExecRequest struct {
// Command Command to execute inside the container.
Command []string `json:"command" validate:"required,min=1"`
// Env Additional environment variables in KEY=VALUE format.
Env *[]string `json:"env,omitempty"`
// WorkingDir Working directory inside the container.
WorkingDir *string `json:"working_dir,omitempty" validate:"omitempty"`
}
DockerExecRequest defines model for DockerExecRequest.
type DockerExecResultItem ¶
type DockerExecResultItem struct {
// Changed Whether the operation modified system state.
Changed *bool `json:"changed,omitempty"`
// Error Error message if the agent failed.
Error *string `json:"error,omitempty"`
// ExitCode Exit code of the command.
ExitCode *int `json:"exit_code,omitempty"`
// Hostname The hostname of the agent.
Hostname string `json:"hostname"`
// Status The status of the operation for this host.
Status DockerExecResultItemStatus `json:"status"`
// Stderr Standard error output of the command.
Stderr *string `json:"stderr,omitempty"`
// Stdout Standard output of the command.
Stdout *string `json:"stdout,omitempty"`
}
DockerExecResultItem Result of a command execution inside a container.
type DockerExecResultItemStatus ¶
type DockerExecResultItemStatus string
DockerExecResultItemStatus The status of the operation for this host.
const ( DockerExecResultItemStatusFailed DockerExecResultItemStatus = "failed" DockerExecResultItemStatusOk DockerExecResultItemStatus = "ok" DockerExecResultItemStatusSkipped DockerExecResultItemStatus = "skipped" )
Defines values for DockerExecResultItemStatus.
type DockerListCollectionResponse ¶
type DockerListCollectionResponse struct {
// JobId The job ID used to process this request.
JobId *openapi_types.UUID `json:"job_id,omitempty"`
Results []DockerListItem `json:"results"`
}
DockerListCollectionResponse defines model for DockerListCollectionResponse.
type DockerListItem ¶
type DockerListItem struct {
// Changed Whether the operation modified system state.
Changed *bool `json:"changed,omitempty"`
// Containers List of containers on this agent.
Containers *[]DockerSummary `json:"containers,omitempty"`
// Error Error message if the agent failed.
Error *string `json:"error,omitempty"`
// Hostname The hostname of the agent.
Hostname string `json:"hostname"`
// Status The status of the operation for this host.
Status DockerListItemStatus `json:"status"`
}
DockerListItem Container summary for list operations.
type DockerListItemStatus ¶
type DockerListItemStatus string
DockerListItemStatus The status of the operation for this host.
const ( DockerListItemStatusFailed DockerListItemStatus = "failed" DockerListItemStatusOk DockerListItemStatus = "ok" DockerListItemStatusSkipped DockerListItemStatus = "skipped" )
Defines values for DockerListItemStatus.
type DockerPullCollectionResponse ¶
type DockerPullCollectionResponse struct {
// JobId The job ID used to process this request.
JobId *openapi_types.UUID `json:"job_id,omitempty"`
Results []DockerPullResultItem `json:"results"`
}
DockerPullCollectionResponse defines model for DockerPullCollectionResponse.
type DockerPullRequest ¶
type DockerPullRequest struct {
// Image Image reference to pull (e.g., "nginx:latest", "docker.io/library/alpine:3.18").
Image string `json:"image" validate:"required,min=1"`
}
DockerPullRequest defines model for DockerPullRequest.
type DockerPullResultItem ¶
type DockerPullResultItem struct {
// Changed Whether the operation modified system state.
Changed *bool `json:"changed,omitempty"`
// Error Error message if the agent failed.
Error *string `json:"error,omitempty"`
// Hostname The hostname of the agent.
Hostname string `json:"hostname"`
// ImageId The pulled image ID.
ImageId *string `json:"image_id,omitempty"`
// Size Image size in bytes.
Size *int64 `json:"size,omitempty"`
// Status The status of the operation for this host.
Status DockerPullResultItemStatus `json:"status"`
// Tag The image tag that was pulled.
Tag *string `json:"tag,omitempty"`
}
DockerPullResultItem Result of an image pull operation.
type DockerPullResultItemStatus ¶
type DockerPullResultItemStatus string
DockerPullResultItemStatus The status of the operation for this host.
const ( DockerPullResultItemStatusFailed DockerPullResultItemStatus = "failed" DockerPullResultItemStatusOk DockerPullResultItemStatus = "ok" DockerPullResultItemStatusSkipped DockerPullResultItemStatus = "skipped" )
Defines values for DockerPullResultItemStatus.
type DockerResponse ¶
type DockerResponse struct {
// Changed Whether the operation modified system state.
Changed *bool `json:"changed,omitempty"`
// Created Container creation timestamp.
Created *string `json:"created,omitempty"`
// Error Error message if the agent failed.
Error *string `json:"error,omitempty"`
// Hostname The hostname of the agent.
Hostname string `json:"hostname"`
// Id Container identifier.
Id *string `json:"id,omitempty"`
// Image Image used by the container.
Image *string `json:"image,omitempty"`
// Name Container name.
Name *string `json:"name,omitempty"`
// State Current container state.
State *string `json:"state,omitempty"`
// Status The status of the operation for this host.
Status DockerResponseStatus `json:"status"`
}
DockerResponse Summary information about a container.
type DockerResponseStatus ¶
type DockerResponseStatus string
DockerResponseStatus The status of the operation for this host.
const ( DockerResponseStatusFailed DockerResponseStatus = "failed" DockerResponseStatusOk DockerResponseStatus = "ok" DockerResponseStatusSkipped DockerResponseStatus = "skipped" )
Defines values for DockerResponseStatus.
type DockerResultCollectionResponse ¶
type DockerResultCollectionResponse struct {
// JobId The job ID used to process this request.
JobId *openapi_types.UUID `json:"job_id,omitempty"`
Results []DockerResponse `json:"results"`
}
DockerResultCollectionResponse defines model for DockerResultCollectionResponse.
type DockerStopRequest ¶
type DockerStopRequest struct {
// Timeout Seconds to wait before killing the container. Defaults to 10.
Timeout *int `json:"timeout,omitempty" validate:"omitempty,min=0,max=300"`
}
DockerStopRequest defines model for DockerStopRequest.
type DockerSummary ¶
type DockerSummary struct {
// Created Container creation timestamp.
Created *string `json:"created,omitempty"`
// Id Container identifier.
Id *string `json:"id,omitempty"`
// Image Image used by the container.
Image *string `json:"image,omitempty"`
// Name Container name.
Name *string `json:"name,omitempty"`
// State Current container state.
State *string `json:"state,omitempty"`
}
DockerSummary Brief container summary.
type DrainAgentResponse ¶
type DrainAgentResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Message string `json:"message"`
}
JSON400 *ErrorResponse
JSON401 *ErrorResponse
JSON403 *ErrorResponse
JSON404 *ErrorResponse
JSON409 *ErrorResponse
}
func ParseDrainAgentResponse ¶
func ParseDrainAgentResponse(rsp *http.Response) (*DrainAgentResponse, error)
ParseDrainAgentResponse parses an HTTP response from a DrainAgentWithResponse call
func (DrainAgentResponse) Status ¶
func (r DrainAgentResponse) Status() string
Status returns HTTPResponse.Status
func (DrainAgentResponse) StatusCode ¶
func (r DrainAgentResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ErrorResponse ¶
type ErrorResponse struct {
// Code The error code.
Code *int `json:"code,omitempty"`
// Details Additional details about the error.
Details *string `json:"details,omitempty"`
// Error A description of the error that occurred.
Error *string `json:"error,omitempty"`
}
ErrorResponse defines model for ErrorResponse.
type FactKeyEntry ¶
type FactKeyEntry struct {
// Builtin Whether this is a built-in fact key.
Builtin *bool `json:"builtin,omitempty"`
// Description Human-readable description of the fact.
Description *string `json:"description,omitempty"`
// Key The fact key (e.g. "interface.primary").
Key string `json:"key"`
}
FactKeyEntry defines model for FactKeyEntry.
type FactKeysResponse ¶
type FactKeysResponse struct {
// Keys Available fact keys for @fact. references.
Keys []FactKeyEntry `json:"keys"`
}
FactKeysResponse defines model for FactKeysResponse.
type FileDeleteResponse ¶
type FileDeleteResponse struct {
// Deleted Whether the file was deleted.
Deleted bool `json:"deleted"`
// Name The name of the deleted file.
Name string `json:"name"`
}
FileDeleteResponse defines model for FileDeleteResponse.
type FileDeployCollectionResponse ¶
type FileDeployCollectionResponse struct {
// JobId The job ID used to process this request.
JobId *openapi_types.UUID `json:"job_id,omitempty"`
Results []FileDeployResult `json:"results"`
}
FileDeployCollectionResponse defines model for FileDeployCollectionResponse.
type FileDeployRequest ¶
type FileDeployRequest struct {
// ContentType Content type — "raw" or "template".
ContentType FileDeployRequestContentType `json:"content_type" validate:"required,oneof=raw template"`
// Group File owner group.
Group *string `json:"group,omitempty"`
// Mode File permission mode (e.g., "0644").
Mode *string `json:"mode,omitempty"`
// ObjectName Name of the file in the Object Store.
ObjectName string `json:"object_name" validate:"required,min=1,max=255"`
// Owner File owner user.
Owner *string `json:"owner,omitempty"`
// Path Destination path on the target filesystem.
Path string `json:"path" validate:"required,min=1"`
// Vars Template variables when content_type is "template".
Vars *map[string]interface{} `json:"vars,omitempty"`
}
FileDeployRequest defines model for FileDeployRequest.
type FileDeployRequestContentType ¶
type FileDeployRequestContentType string
FileDeployRequestContentType Content type — "raw" or "template".
const ( FileDeployRequestContentTypeRaw FileDeployRequestContentType = "raw" FileDeployRequestContentTypeTemplate FileDeployRequestContentType = "template" )
Defines values for FileDeployRequestContentType.
type FileDeployResult ¶
type FileDeployResult struct {
// Changed Whether the file was actually written.
Changed *bool `json:"changed,omitempty"`
// Error Error message if the agent failed.
Error *string `json:"error,omitempty"`
// Hostname The agent that processed the job.
Hostname string `json:"hostname"`
// Status The status of the operation for this host.
Status FileDeployResultStatus `json:"status"`
}
FileDeployResult defines model for FileDeployResult.
type FileDeployResultStatus ¶
type FileDeployResultStatus string
FileDeployResultStatus The status of the operation for this host.
const ( FileDeployResultStatusFailed FileDeployResultStatus = "failed" FileDeployResultStatusOk FileDeployResultStatus = "ok" FileDeployResultStatusSkipped FileDeployResultStatus = "skipped" )
Defines values for FileDeployResultStatus.
type FileInfo ¶
type FileInfo struct {
// ContentType How the file should be treated during deploy (raw or template).
ContentType string `json:"content_type"`
// Name The name of the file.
Name string `json:"name"`
// Sha256 SHA-256 hash of the file content.
Sha256 string `json:"sha256"`
// Size File size in bytes.
Size int `json:"size"`
// Source Source of the file: 'system' or 'user'.
Source string `json:"source"`
}
FileInfo defines model for FileInfo.
type FileInfoResponse ¶
type FileInfoResponse struct {
// ContentType How the file should be treated during deploy (raw or template).
ContentType string `json:"content_type"`
// Name The name of the file.
Name string `json:"name"`
// Sha256 SHA-256 hash of the file content.
Sha256 string `json:"sha256"`
// Size File size in bytes.
Size int `json:"size"`
}
FileInfoResponse defines model for FileInfoResponse.
type FileListResponse ¶
type FileListResponse struct {
// Files List of stored files.
Files []FileInfo `json:"files"`
// Total Total number of files.
Total int `json:"total"`
}
FileListResponse defines model for FileListResponse.
type FileStatusCollectionResponse ¶
type FileStatusCollectionResponse struct {
// JobId The job ID used to process this request.
JobId *openapi_types.UUID `json:"job_id,omitempty"`
Results []FileStatusResult `json:"results"`
}
FileStatusCollectionResponse defines model for FileStatusCollectionResponse.
type FileStatusRequest ¶
type FileStatusRequest struct {
// Path Filesystem path to check.
Path string `json:"path" validate:"required,min=1"`
}
FileStatusRequest defines model for FileStatusRequest.
type FileStatusResult ¶
type FileStatusResult struct {
// Changed Whether the operation modified system state.
Changed *bool `json:"changed,omitempty"`
// Error Error message if the agent failed.
Error *string `json:"error,omitempty"`
// Hostname The agent that processed the job.
Hostname string `json:"hostname"`
// Path The filesystem path.
Path *string `json:"path,omitempty"`
// Sha256 Current SHA-256 of the file on disk.
Sha256 *string `json:"sha256,omitempty"`
// Status File state — "in-sync", "drifted", or "missing".
Status *string `json:"status,omitempty"`
}
FileStatusResult defines model for FileStatusResult.
type FileUndeployCollectionResponse ¶
type FileUndeployCollectionResponse struct {
// JobId The job ID used to process this request.
JobId *openapi_types.UUID `json:"job_id,omitempty"`
Results []FileUndeployResult `json:"results"`
}
FileUndeployCollectionResponse defines model for FileUndeployCollectionResponse.
type FileUndeployRequest ¶
type FileUndeployRequest struct {
// Path Filesystem path to undeploy.
Path string `json:"path" validate:"required,min=1"`
}
FileUndeployRequest defines model for FileUndeployRequest.
type FileUndeployResult ¶
type FileUndeployResult struct {
// Changed Whether the file was actually removed.
Changed *bool `json:"changed,omitempty"`
// Error Error message if the agent failed.
Error *string `json:"error,omitempty"`
// Hostname The agent that processed the job.
Hostname string `json:"hostname"`
// Status The status of the operation for this host.
Status FileUndeployResultStatus `json:"status"`
}
FileUndeployResult defines model for FileUndeployResult.
type FileUndeployResultStatus ¶
type FileUndeployResultStatus string
FileUndeployResultStatus The status of the operation for this host.
const ( FileUndeployResultStatusFailed FileUndeployResultStatus = "failed" FileUndeployResultStatusOk FileUndeployResultStatus = "ok" FileUndeployResultStatusSkipped FileUndeployResultStatus = "skipped" )
Defines values for FileUndeployResultStatus.
type FileUploadResponse ¶
type FileUploadResponse struct {
// Changed Whether the file content changed. False when the Object Store already held an object with the same SHA-256 digest.
Changed bool `json:"changed"`
// ContentType How the file should be treated during deploy (raw or template).
ContentType string `json:"content_type"`
// Name The name of the uploaded file.
Name string `json:"name"`
// Sha256 SHA-256 hash of the file content.
Sha256 string `json:"sha256"`
// Size File size in bytes.
Size int `json:"size"`
}
FileUploadResponse defines model for FileUploadResponse.
type GetAgentDetailsResponse ¶
type GetAgentDetailsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *AgentInfo
JSON400 *ErrorResponse
JSON401 *ErrorResponse
JSON403 *ErrorResponse
JSON404 *ErrorResponse
JSON500 *ErrorResponse
}
func ParseGetAgentDetailsResponse ¶
func ParseGetAgentDetailsResponse(rsp *http.Response) (*GetAgentDetailsResponse, error)
ParseGetAgentDetailsResponse parses an HTTP response from a GetAgentDetailsWithResponse call
func (GetAgentDetailsResponse) Status ¶
func (r GetAgentDetailsResponse) Status() string
Status returns HTTPResponse.Status
func (GetAgentDetailsResponse) StatusCode ¶
func (r GetAgentDetailsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetAgentsPendingResponse ¶
type GetAgentsPendingResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ListPendingAgentsResponse
JSON401 *ErrorResponse
JSON403 *ErrorResponse
JSON500 *ErrorResponse
}
func ParseGetAgentsPendingResponse ¶
func ParseGetAgentsPendingResponse(rsp *http.Response) (*GetAgentsPendingResponse, error)
ParseGetAgentsPendingResponse parses an HTTP response from a GetAgentsPendingWithResponse call
func (GetAgentsPendingResponse) Status ¶
func (r GetAgentsPendingResponse) Status() string
Status returns HTTPResponse.Status
func (GetAgentsPendingResponse) StatusCode ¶
func (r GetAgentsPendingResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetAgentsResponse ¶
type GetAgentsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ListAgentsResponse
JSON401 *ErrorResponse
JSON403 *ErrorResponse
JSON500 *ErrorResponse
}
func ParseGetAgentsResponse ¶
func ParseGetAgentsResponse(rsp *http.Response) (*GetAgentsResponse, error)
ParseGetAgentsResponse parses an HTTP response from a GetAgentsWithResponse call
func (GetAgentsResponse) Status ¶
func (r GetAgentsResponse) Status() string
Status returns HTTPResponse.Status
func (GetAgentsResponse) StatusCode ¶
func (r GetAgentsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetApiVersionResponse ¶
type GetApiVersionResponse struct {
Body []byte
HTTPResponse *http.Response
JSON400 *ErrorResponse
}
func ParseGetApiVersionResponse ¶
func ParseGetApiVersionResponse(rsp *http.Response) (*GetApiVersionResponse, error)
ParseGetApiVersionResponse parses an HTTP response from a GetApiVersionWithResponse call
func (GetApiVersionResponse) Status ¶
func (r GetApiVersionResponse) Status() string
Status returns HTTPResponse.Status
func (GetApiVersionResponse) StatusCode ¶
func (r GetApiVersionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetAuditExportResponse ¶
type GetAuditExportResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ListAuditResponse
JSON401 *ErrorResponse
JSON403 *ErrorResponse
JSON500 *ErrorResponse
}
func ParseGetAuditExportResponse ¶
func ParseGetAuditExportResponse(rsp *http.Response) (*GetAuditExportResponse, error)
ParseGetAuditExportResponse parses an HTTP response from a GetAuditExportWithResponse call
func (GetAuditExportResponse) Status ¶
func (r GetAuditExportResponse) Status() string
Status returns HTTPResponse.Status
func (GetAuditExportResponse) StatusCode ¶
func (r GetAuditExportResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetAuditLogByIDResponse ¶
type GetAuditLogByIDResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *AuditEntryResponse
JSON401 *ErrorResponse
JSON403 *ErrorResponse
JSON404 *ErrorResponse
JSON500 *ErrorResponse
}
func ParseGetAuditLogByIDResponse ¶
func ParseGetAuditLogByIDResponse(rsp *http.Response) (*GetAuditLogByIDResponse, error)
ParseGetAuditLogByIDResponse parses an HTTP response from a GetAuditLogByIDWithResponse call
func (GetAuditLogByIDResponse) Status ¶
func (r GetAuditLogByIDResponse) Status() string
Status returns HTTPResponse.Status
func (GetAuditLogByIDResponse) StatusCode ¶
func (r GetAuditLogByIDResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetAuditLogsParams ¶
type GetAuditLogsParams struct {
// Limit Maximum number of entries to return.
Limit *int `form:"limit,omitempty" json:"limit,omitempty" validate:"omitempty,min=1,max=100"`
// Offset Number of entries to skip.
Offset *int `form:"offset,omitempty" json:"offset,omitempty" validate:"omitempty,min=0"`
}
GetAuditLogsParams defines parameters for GetAuditLogs.
type GetAuditLogsResponse ¶
type GetAuditLogsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ListAuditResponse
JSON400 *ErrorResponse
JSON401 *ErrorResponse
JSON403 *ErrorResponse
JSON500 *ErrorResponse
}
func ParseGetAuditLogsResponse ¶
func ParseGetAuditLogsResponse(rsp *http.Response) (*GetAuditLogsResponse, error)
ParseGetAuditLogsResponse parses an HTTP response from a GetAuditLogsWithResponse call
func (GetAuditLogsResponse) Status ¶
func (r GetAuditLogsResponse) Status() string
Status returns HTTPResponse.Status
func (GetAuditLogsResponse) StatusCode ¶
func (r GetAuditLogsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetFactKeysResponse ¶
type GetFactKeysResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *FactKeysResponse
JSON401 *ErrorResponse
JSON403 *ErrorResponse
JSON500 *ErrorResponse
}
func ParseGetFactKeysResponse ¶
func ParseGetFactKeysResponse(rsp *http.Response) (*GetFactKeysResponse, error)
ParseGetFactKeysResponse parses an HTTP response from a GetFactKeysWithResponse call
func (GetFactKeysResponse) Status ¶
func (r GetFactKeysResponse) Status() string
Status returns HTTPResponse.Status
func (GetFactKeysResponse) StatusCode ¶
func (r GetFactKeysResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetFileByNameResponse ¶
type GetFileByNameResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *FileInfoResponse
JSON400 *ErrorResponse
JSON401 *ErrorResponse
JSON403 *ErrorResponse
JSON404 *ErrorResponse
JSON500 *ErrorResponse
}
func ParseGetFileByNameResponse ¶
func ParseGetFileByNameResponse(rsp *http.Response) (*GetFileByNameResponse, error)
ParseGetFileByNameResponse parses an HTTP response from a GetFileByNameWithResponse call
func (GetFileByNameResponse) Status ¶
func (r GetFileByNameResponse) Status() string
Status returns HTTPResponse.Status
func (GetFileByNameResponse) StatusCode ¶
func (r GetFileByNameResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetFileStaleResponse ¶
type GetFileStaleResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *StaleDeploymentsResponse
JSON401 *ErrorResponse
JSON403 *ErrorResponse
JSON500 *ErrorResponse
}
func ParseGetFileStaleResponse ¶
func ParseGetFileStaleResponse(rsp *http.Response) (*GetFileStaleResponse, error)
ParseGetFileStaleResponse parses an HTTP response from a GetFileStaleWithResponse call
func (GetFileStaleResponse) Status ¶
func (r GetFileStaleResponse) Status() string
Status returns HTTPResponse.Status
func (GetFileStaleResponse) StatusCode ¶
func (r GetFileStaleResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetFilesResponse ¶
type GetFilesResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *FileListResponse
JSON401 *ErrorResponse
JSON403 *ErrorResponse
JSON500 *ErrorResponse
}
func ParseGetFilesResponse ¶
func ParseGetFilesResponse(rsp *http.Response) (*GetFilesResponse, error)
ParseGetFilesResponse parses an HTTP response from a GetFilesWithResponse call
func (GetFilesResponse) Status ¶
func (r GetFilesResponse) Status() string
Status returns HTTPResponse.Status
func (GetFilesResponse) StatusCode ¶
func (r GetFilesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetHealthReadyResponse ¶
type GetHealthReadyResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ReadyResponse
JSON503 *ReadyResponse
}
func ParseGetHealthReadyResponse ¶
func ParseGetHealthReadyResponse(rsp *http.Response) (*GetHealthReadyResponse, error)
ParseGetHealthReadyResponse parses an HTTP response from a GetHealthReadyWithResponse call
func (GetHealthReadyResponse) Status ¶
func (r GetHealthReadyResponse) Status() string
Status returns HTTPResponse.Status
func (GetHealthReadyResponse) StatusCode ¶
func (r GetHealthReadyResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetHealthResponse ¶
type GetHealthResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *HealthResponse
}
func ParseGetHealthResponse ¶
func ParseGetHealthResponse(rsp *http.Response) (*GetHealthResponse, error)
ParseGetHealthResponse parses an HTTP response from a GetHealthWithResponse call
func (GetHealthResponse) Status ¶
func (r GetHealthResponse) Status() string
Status returns HTTPResponse.Status
func (GetHealthResponse) StatusCode ¶
func (r GetHealthResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetHealthStatusResponse ¶
type GetHealthStatusResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *StatusResponse
JSON401 *ErrorResponse
JSON403 *ErrorResponse
JSON503 *StatusResponse
}
func ParseGetHealthStatusResponse ¶
func ParseGetHealthStatusResponse(rsp *http.Response) (*GetHealthStatusResponse, error)
ParseGetHealthStatusResponse parses an HTTP response from a GetHealthStatusWithResponse call
func (GetHealthStatusResponse) Status ¶
func (r GetHealthStatusResponse) Status() string
Status returns HTTPResponse.Status
func (GetHealthStatusResponse) StatusCode ¶
func (r GetHealthStatusResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetJobByIDResponse ¶
type GetJobByIDResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *JobDetailResponse
JSON400 *ErrorResponse
JSON401 *ErrorResponse
JSON403 *ErrorResponse
JSON404 *ErrorResponse
JSON500 *ErrorResponse
}
func ParseGetJobByIDResponse ¶
func ParseGetJobByIDResponse(rsp *http.Response) (*GetJobByIDResponse, error)
ParseGetJobByIDResponse parses an HTTP response from a GetJobByIDWithResponse call
func (GetJobByIDResponse) Status ¶
func (r GetJobByIDResponse) Status() string
Status returns HTTPResponse.Status
func (GetJobByIDResponse) StatusCode ¶
func (r GetJobByIDResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetJobsParams ¶
type GetJobsParams struct {
// Status Filter jobs by status.
Status *GetJobsParamsStatus `` /* 128-byte string literal not displayed */
// Limit Maximum number of jobs per page (1-100).
Limit *int `form:"limit,omitempty" json:"limit,omitempty" validate:"omitempty,min=1,max=100"`
// Offset Number of jobs to skip for pagination.
Offset *int `form:"offset,omitempty" json:"offset,omitempty" validate:"omitempty,min=0"`
}
GetJobsParams defines parameters for GetJobs.
type GetJobsParamsStatus ¶
type GetJobsParamsStatus string
GetJobsParamsStatus defines parameters for GetJobs.
const ( GetJobsParamsStatusCompleted GetJobsParamsStatus = "completed" GetJobsParamsStatusFailed GetJobsParamsStatus = "failed" GetJobsParamsStatusPartialFailure GetJobsParamsStatus = "partial_failure" GetJobsParamsStatusProcessing GetJobsParamsStatus = "processing" GetJobsParamsStatusSubmitted GetJobsParamsStatus = "submitted" )
Defines values for GetJobsParamsStatus.
type GetJobsResponse ¶
type GetJobsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ListJobsResponse
JSON400 *ErrorResponse
JSON401 *ErrorResponse
JSON403 *ErrorResponse
JSON500 *ErrorResponse
}
func ParseGetJobsResponse ¶
func ParseGetJobsResponse(rsp *http.Response) (*GetJobsResponse, error)
ParseGetJobsResponse parses an HTTP response from a GetJobsWithResponse call
func (GetJobsResponse) Status ¶
func (r GetJobsResponse) Status() string
Status returns HTTPResponse.Status
func (GetJobsResponse) StatusCode ¶
func (r GetJobsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetNodeCertificateCaResponse ¶
type GetNodeCertificateCaResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *CertificateCACollectionResponse
JSON400 *ErrorResponse
JSON401 *ErrorResponse
JSON403 *ErrorResponse
JSON500 *ErrorResponse
}
func ParseGetNodeCertificateCaResponse ¶
func ParseGetNodeCertificateCaResponse(rsp *http.Response) (*GetNodeCertificateCaResponse, error)
ParseGetNodeCertificateCaResponse parses an HTTP response from a GetNodeCertificateCaWithResponse call
func (GetNodeCertificateCaResponse) Status ¶
func (r GetNodeCertificateCaResponse) Status() string
Status returns HTTPResponse.Status
func (GetNodeCertificateCaResponse) StatusCode ¶
func (r GetNodeCertificateCaResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetNodeContainerDockerByIDResponse ¶
type GetNodeContainerDockerByIDResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *DockerDetailCollectionResponse
JSON400 *ErrorResponse
JSON401 *ErrorResponse
JSON403 *ErrorResponse
JSON404 *ErrorResponse
JSON500 *ErrorResponse
}
func ParseGetNodeContainerDockerByIDResponse ¶
func ParseGetNodeContainerDockerByIDResponse(rsp *http.Response) (*GetNodeContainerDockerByIDResponse, error)
ParseGetNodeContainerDockerByIDResponse parses an HTTP response from a GetNodeContainerDockerByIDWithResponse call
func (GetNodeContainerDockerByIDResponse) Status ¶
func (r GetNodeContainerDockerByIDResponse) Status() string
Status returns HTTPResponse.Status
func (GetNodeContainerDockerByIDResponse) StatusCode ¶
func (r GetNodeContainerDockerByIDResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetNodeContainerDockerParams ¶
type GetNodeContainerDockerParams struct {
// State Filter containers by state. Defaults to "all".
State *GetNodeContainerDockerParamsState `form:"state,omitempty" json:"state,omitempty" validate:"omitempty,oneof=running stopped all"`
// Limit Maximum number of containers to return.
Limit *int `form:"limit,omitempty" json:"limit,omitempty" validate:"omitempty,min=1,max=100"`
}
GetNodeContainerDockerParams defines parameters for GetNodeContainerDocker.
type GetNodeContainerDockerParamsState ¶
type GetNodeContainerDockerParamsState string
GetNodeContainerDockerParamsState defines parameters for GetNodeContainerDocker.
const ( All GetNodeContainerDockerParamsState = "all" Running GetNodeContainerDockerParamsState = "running" Stopped GetNodeContainerDockerParamsState = "stopped" )
Defines values for GetNodeContainerDockerParamsState.
type GetNodeContainerDockerResponse ¶
type GetNodeContainerDockerResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *DockerListCollectionResponse
JSON400 *ErrorResponse
JSON401 *ErrorResponse
JSON403 *ErrorResponse
JSON500 *ErrorResponse
}
func ParseGetNodeContainerDockerResponse ¶
func ParseGetNodeContainerDockerResponse(rsp *http.Response) (*GetNodeContainerDockerResponse, error)
ParseGetNodeContainerDockerResponse parses an HTTP response from a GetNodeContainerDockerWithResponse call
func (GetNodeContainerDockerResponse) Status ¶
func (r GetNodeContainerDockerResponse) Status() string
Status returns HTTPResponse.Status
func (GetNodeContainerDockerResponse) StatusCode ¶
func (r GetNodeContainerDockerResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetNodeDiskResponse ¶
type GetNodeDiskResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *DiskCollectionResponse
JSON400 *ErrorResponse
JSON401 *ErrorResponse
JSON403 *ErrorResponse
JSON500 *ErrorResponse
}
func ParseGetNodeDiskResponse ¶
func ParseGetNodeDiskResponse(rsp *http.Response) (*GetNodeDiskResponse, error)
ParseGetNodeDiskResponse parses an HTTP response from a GetNodeDiskWithResponse call
func (GetNodeDiskResponse) Status ¶
func (r GetNodeDiskResponse) Status() string
Status returns HTTPResponse.Status
func (GetNodeDiskResponse) StatusCode ¶
func (r GetNodeDiskResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetNodeGroupByNameResponse ¶
type GetNodeGroupByNameResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *GroupCollectionResponse
JSON400 *ErrorResponse
JSON401 *ErrorResponse
JSON403 *ErrorResponse
JSON404 *ErrorResponse
JSON500 *ErrorResponse
}
func ParseGetNodeGroupByNameResponse ¶
func ParseGetNodeGroupByNameResponse(rsp *http.Response) (*GetNodeGroupByNameResponse, error)
ParseGetNodeGroupByNameResponse parses an HTTP response from a GetNodeGroupByNameWithResponse call
func (GetNodeGroupByNameResponse) Status ¶
func (r GetNodeGroupByNameResponse) Status() string
Status returns HTTPResponse.Status
func (GetNodeGroupByNameResponse) StatusCode ¶
func (r GetNodeGroupByNameResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetNodeGroupResponse ¶
type GetNodeGroupResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *GroupCollectionResponse
JSON400 *ErrorResponse
JSON401 *ErrorResponse
JSON403 *ErrorResponse
JSON500 *ErrorResponse
}
func ParseGetNodeGroupResponse ¶
func ParseGetNodeGroupResponse(rsp *http.Response) (*GetNodeGroupResponse, error)
ParseGetNodeGroupResponse parses an HTTP response from a GetNodeGroupWithResponse call
func (GetNodeGroupResponse) Status ¶
func (r GetNodeGroupResponse) Status() string
Status returns HTTPResponse.Status
func (GetNodeGroupResponse) StatusCode ¶
func (r GetNodeGroupResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetNodeHostnameResponse ¶
type GetNodeHostnameResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *HostnameCollectionResponse
JSON400 *ErrorResponse
JSON401 *ErrorResponse
JSON403 *ErrorResponse
JSON500 *ErrorResponse
}
func ParseGetNodeHostnameResponse ¶
func ParseGetNodeHostnameResponse(rsp *http.Response) (*GetNodeHostnameResponse, error)
ParseGetNodeHostnameResponse parses an HTTP response from a GetNodeHostnameWithResponse call
func (GetNodeHostnameResponse) Status ¶
func (r GetNodeHostnameResponse) Status() string
Status returns HTTPResponse.Status
func (GetNodeHostnameResponse) StatusCode ¶
func (r GetNodeHostnameResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetNodeLoadResponse ¶
type GetNodeLoadResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *LoadCollectionResponse
JSON400 *ErrorResponse
JSON401 *ErrorResponse
JSON403 *ErrorResponse
JSON500 *ErrorResponse
}
func ParseGetNodeLoadResponse ¶
func ParseGetNodeLoadResponse(rsp *http.Response) (*GetNodeLoadResponse, error)
ParseGetNodeLoadResponse parses an HTTP response from a GetNodeLoadWithResponse call
func (GetNodeLoadResponse) Status ¶
func (r GetNodeLoadResponse) Status() string
Status returns HTTPResponse.Status
func (GetNodeLoadResponse) StatusCode ¶
func (r GetNodeLoadResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetNodeLogParams ¶
type GetNodeLogParams struct {
// Lines Maximum number of log lines to return.
Lines *int `form:"lines,omitempty" json:"lines,omitempty" validate:"omitempty,min=1,max=10000"`
// Since Return log entries since this time. Accepts systemd time specifications (e.g., "1h", "2026-01-01 00:00:00").
Since *string `form:"since,omitempty" json:"since,omitempty" validate:"omitempty"`
// Priority Filter by log priority level (e.g., "err", "warning", "info", "debug").
Priority *string `form:"priority,omitempty" json:"priority,omitempty" validate:"omitempty,oneof=emerg alert crit err warning notice info debug"`
}
GetNodeLogParams defines parameters for GetNodeLog.
type GetNodeLogResponse ¶
type GetNodeLogResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *LogCollectionResponse
JSON400 *ErrorResponse
JSON401 *ErrorResponse
JSON403 *ErrorResponse
JSON500 *ErrorResponse
}
func ParseGetNodeLogResponse ¶
func ParseGetNodeLogResponse(rsp *http.Response) (*GetNodeLogResponse, error)
ParseGetNodeLogResponse parses an HTTP response from a GetNodeLogWithResponse call
func (GetNodeLogResponse) Status ¶
func (r GetNodeLogResponse) Status() string
Status returns HTTPResponse.Status
func (GetNodeLogResponse) StatusCode ¶
func (r GetNodeLogResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetNodeLogSourceResponse ¶
type GetNodeLogSourceResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *LogSourceCollectionResponse
JSON400 *ErrorResponse
JSON401 *ErrorResponse
JSON403 *ErrorResponse
JSON500 *ErrorResponse
}
func ParseGetNodeLogSourceResponse ¶
func ParseGetNodeLogSourceResponse(rsp *http.Response) (*GetNodeLogSourceResponse, error)
ParseGetNodeLogSourceResponse parses an HTTP response from a GetNodeLogSourceWithResponse call
func (GetNodeLogSourceResponse) Status ¶
func (r GetNodeLogSourceResponse) Status() string
Status returns HTTPResponse.Status
func (GetNodeLogSourceResponse) StatusCode ¶
func (r GetNodeLogSourceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetNodeLogUnitParams ¶
type GetNodeLogUnitParams struct {
// Lines Maximum number of log lines to return.
Lines *int `form:"lines,omitempty" json:"lines,omitempty" validate:"omitempty,min=1,max=10000"`
// Since Return log entries since this time. Accepts systemd time specifications (e.g., "1h", "2026-01-01 00:00:00").
Since *string `form:"since,omitempty" json:"since,omitempty" validate:"omitempty"`
// Priority Filter by log priority level (e.g., "err", "warning", "info", "debug").
Priority *string `form:"priority,omitempty" json:"priority,omitempty" validate:"omitempty,oneof=emerg alert crit err warning notice info debug"`
}
GetNodeLogUnitParams defines parameters for GetNodeLogUnit.
type GetNodeLogUnitResponse ¶
type GetNodeLogUnitResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *LogCollectionResponse
JSON400 *ErrorResponse
JSON401 *ErrorResponse
JSON403 *ErrorResponse
JSON500 *ErrorResponse
}
func ParseGetNodeLogUnitResponse ¶
func ParseGetNodeLogUnitResponse(rsp *http.Response) (*GetNodeLogUnitResponse, error)
ParseGetNodeLogUnitResponse parses an HTTP response from a GetNodeLogUnitWithResponse call
func (GetNodeLogUnitResponse) Status ¶
func (r GetNodeLogUnitResponse) Status() string
Status returns HTTPResponse.Status
func (GetNodeLogUnitResponse) StatusCode ¶
func (r GetNodeLogUnitResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetNodeMemoryResponse ¶
type GetNodeMemoryResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *MemoryCollectionResponse
JSON400 *ErrorResponse
JSON401 *ErrorResponse
JSON403 *ErrorResponse
JSON500 *ErrorResponse
}
func ParseGetNodeMemoryResponse ¶
func ParseGetNodeMemoryResponse(rsp *http.Response) (*GetNodeMemoryResponse, error)
ParseGetNodeMemoryResponse parses an HTTP response from a GetNodeMemoryWithResponse call
func (GetNodeMemoryResponse) Status ¶
func (r GetNodeMemoryResponse) Status() string
Status returns HTTPResponse.Status
func (GetNodeMemoryResponse) StatusCode ¶
func (r GetNodeMemoryResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetNodeNetworkDNSByInterfaceResponse ¶
type GetNodeNetworkDNSByInterfaceResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *DNSConfigCollectionResponse
JSON400 *ErrorResponse
JSON401 *ErrorResponse
JSON403 *ErrorResponse
JSON500 *ErrorResponse
}
func ParseGetNodeNetworkDNSByInterfaceResponse ¶
func ParseGetNodeNetworkDNSByInterfaceResponse(rsp *http.Response) (*GetNodeNetworkDNSByInterfaceResponse, error)
ParseGetNodeNetworkDNSByInterfaceResponse parses an HTTP response from a GetNodeNetworkDNSByInterfaceWithResponse call
func (GetNodeNetworkDNSByInterfaceResponse) Status ¶
func (r GetNodeNetworkDNSByInterfaceResponse) Status() string
Status returns HTTPResponse.Status
func (GetNodeNetworkDNSByInterfaceResponse) StatusCode ¶
func (r GetNodeNetworkDNSByInterfaceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetNodeNetworkInterfaceByNameResponse ¶
type GetNodeNetworkInterfaceByNameResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *InterfaceGetResponse
JSON400 *ErrorResponse
JSON401 *ErrorResponse
JSON403 *ErrorResponse
JSON404 *ErrorResponse
JSON500 *ErrorResponse
}
func ParseGetNodeNetworkInterfaceByNameResponse ¶
func ParseGetNodeNetworkInterfaceByNameResponse(rsp *http.Response) (*GetNodeNetworkInterfaceByNameResponse, error)
ParseGetNodeNetworkInterfaceByNameResponse parses an HTTP response from a GetNodeNetworkInterfaceByNameWithResponse call
func (GetNodeNetworkInterfaceByNameResponse) Status ¶
func (r GetNodeNetworkInterfaceByNameResponse) Status() string
Status returns HTTPResponse.Status
func (GetNodeNetworkInterfaceByNameResponse) StatusCode ¶
func (r GetNodeNetworkInterfaceByNameResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetNodeNetworkInterfaceResponse ¶
type GetNodeNetworkInterfaceResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *InterfaceListResponse
JSON400 *ErrorResponse
JSON401 *ErrorResponse
JSON403 *ErrorResponse
JSON500 *ErrorResponse
}
func ParseGetNodeNetworkInterfaceResponse ¶
func ParseGetNodeNetworkInterfaceResponse(rsp *http.Response) (*GetNodeNetworkInterfaceResponse, error)
ParseGetNodeNetworkInterfaceResponse parses an HTTP response from a GetNodeNetworkInterfaceWithResponse call
func (GetNodeNetworkInterfaceResponse) Status ¶
func (r GetNodeNetworkInterfaceResponse) Status() string
Status returns HTTPResponse.Status
func (GetNodeNetworkInterfaceResponse) StatusCode ¶
func (r GetNodeNetworkInterfaceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetNodeNetworkRouteByInterfaceResponse ¶
type GetNodeNetworkRouteByInterfaceResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *RouteGetResponse
JSON400 *ErrorResponse
JSON401 *ErrorResponse
JSON403 *ErrorResponse
JSON404 *ErrorResponse
JSON500 *ErrorResponse
}
func ParseGetNodeNetworkRouteByInterfaceResponse ¶
func ParseGetNodeNetworkRouteByInterfaceResponse(rsp *http.Response) (*GetNodeNetworkRouteByInterfaceResponse, error)
ParseGetNodeNetworkRouteByInterfaceResponse parses an HTTP response from a GetNodeNetworkRouteByInterfaceWithResponse call
func (GetNodeNetworkRouteByInterfaceResponse) Status ¶
func (r GetNodeNetworkRouteByInterfaceResponse) Status() string
Status returns HTTPResponse.Status
func (GetNodeNetworkRouteByInterfaceResponse) StatusCode ¶
func (r GetNodeNetworkRouteByInterfaceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetNodeNetworkRouteResponse ¶
type GetNodeNetworkRouteResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *RouteListResponse
JSON400 *ErrorResponse
JSON401 *ErrorResponse
JSON403 *ErrorResponse
JSON500 *ErrorResponse
}
func ParseGetNodeNetworkRouteResponse ¶
func ParseGetNodeNetworkRouteResponse(rsp *http.Response) (*GetNodeNetworkRouteResponse, error)
ParseGetNodeNetworkRouteResponse parses an HTTP response from a GetNodeNetworkRouteWithResponse call
func (GetNodeNetworkRouteResponse) Status ¶
func (r GetNodeNetworkRouteResponse) Status() string
Status returns HTTPResponse.Status
func (GetNodeNetworkRouteResponse) StatusCode ¶
func (r GetNodeNetworkRouteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetNodeNtpResponse ¶
type GetNodeNtpResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *NtpCollectionResponse
JSON400 *ErrorResponse
JSON401 *ErrorResponse
JSON403 *ErrorResponse
JSON500 *ErrorResponse
}
func ParseGetNodeNtpResponse ¶
func ParseGetNodeNtpResponse(rsp *http.Response) (*GetNodeNtpResponse, error)
ParseGetNodeNtpResponse parses an HTTP response from a GetNodeNtpWithResponse call
func (GetNodeNtpResponse) Status ¶
func (r GetNodeNtpResponse) Status() string
Status returns HTTPResponse.Status
func (GetNodeNtpResponse) StatusCode ¶
func (r GetNodeNtpResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetNodeOSResponse ¶
type GetNodeOSResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *OSInfoCollectionResponse
JSON400 *ErrorResponse
JSON401 *ErrorResponse
JSON403 *ErrorResponse
JSON500 *ErrorResponse
}
func ParseGetNodeOSResponse ¶
func ParseGetNodeOSResponse(rsp *http.Response) (*GetNodeOSResponse, error)
ParseGetNodeOSResponse parses an HTTP response from a GetNodeOSWithResponse call
func (GetNodeOSResponse) Status ¶
func (r GetNodeOSResponse) Status() string
Status returns HTTPResponse.Status
func (GetNodeOSResponse) StatusCode ¶
func (r GetNodeOSResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetNodePackageByNameResponse ¶
type GetNodePackageByNameResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *PackageCollectionResponse
JSON400 *ErrorResponse
JSON401 *ErrorResponse
JSON403 *ErrorResponse
JSON404 *ErrorResponse
JSON500 *ErrorResponse
}
func ParseGetNodePackageByNameResponse ¶
func ParseGetNodePackageByNameResponse(rsp *http.Response) (*GetNodePackageByNameResponse, error)
ParseGetNodePackageByNameResponse parses an HTTP response from a GetNodePackageByNameWithResponse call
func (GetNodePackageByNameResponse) Status ¶
func (r GetNodePackageByNameResponse) Status() string
Status returns HTTPResponse.Status
func (GetNodePackageByNameResponse) StatusCode ¶
func (r GetNodePackageByNameResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetNodePackageResponse ¶
type GetNodePackageResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *PackageCollectionResponse
JSON400 *ErrorResponse
JSON401 *ErrorResponse
JSON403 *ErrorResponse
JSON500 *ErrorResponse
}
func ParseGetNodePackageResponse ¶
func ParseGetNodePackageResponse(rsp *http.Response) (*GetNodePackageResponse, error)
ParseGetNodePackageResponse parses an HTTP response from a GetNodePackageWithResponse call
func (GetNodePackageResponse) Status ¶
func (r GetNodePackageResponse) Status() string
Status returns HTTPResponse.Status
func (GetNodePackageResponse) StatusCode ¶
func (r GetNodePackageResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetNodePackageUpdateResponse ¶
type GetNodePackageUpdateResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *UpdateCollectionResponse
JSON400 *ErrorResponse
JSON401 *ErrorResponse
JSON403 *ErrorResponse
JSON500 *ErrorResponse
}
func ParseGetNodePackageUpdateResponse ¶
func ParseGetNodePackageUpdateResponse(rsp *http.Response) (*GetNodePackageUpdateResponse, error)
ParseGetNodePackageUpdateResponse parses an HTTP response from a GetNodePackageUpdateWithResponse call
func (GetNodePackageUpdateResponse) Status ¶
func (r GetNodePackageUpdateResponse) Status() string
Status returns HTTPResponse.Status
func (GetNodePackageUpdateResponse) StatusCode ¶
func (r GetNodePackageUpdateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetNodeProcessByPidResponse ¶
type GetNodeProcessByPidResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ProcessGetResponse
JSON400 *ErrorResponse
JSON401 *ErrorResponse
JSON403 *ErrorResponse
JSON404 *ErrorResponse
JSON500 *ErrorResponse
}
func ParseGetNodeProcessByPidResponse ¶
func ParseGetNodeProcessByPidResponse(rsp *http.Response) (*GetNodeProcessByPidResponse, error)
ParseGetNodeProcessByPidResponse parses an HTTP response from a GetNodeProcessByPidWithResponse call
func (GetNodeProcessByPidResponse) Status ¶
func (r GetNodeProcessByPidResponse) Status() string
Status returns HTTPResponse.Status
func (GetNodeProcessByPidResponse) StatusCode ¶
func (r GetNodeProcessByPidResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetNodeProcessResponse ¶
type GetNodeProcessResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ProcessCollectionResponse
JSON400 *ErrorResponse
JSON401 *ErrorResponse
JSON403 *ErrorResponse
JSON500 *ErrorResponse
}
func ParseGetNodeProcessResponse ¶
func ParseGetNodeProcessResponse(rsp *http.Response) (*GetNodeProcessResponse, error)
ParseGetNodeProcessResponse parses an HTTP response from a GetNodeProcessWithResponse call
func (GetNodeProcessResponse) Status ¶
func (r GetNodeProcessResponse) Status() string
Status returns HTTPResponse.Status
func (GetNodeProcessResponse) StatusCode ¶
func (r GetNodeProcessResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetNodeScheduleCronByNameResponse ¶
type GetNodeScheduleCronByNameResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *CronGetResponse
JSON400 *ErrorResponse
JSON401 *ErrorResponse
JSON403 *ErrorResponse
JSON404 *ErrorResponse
JSON500 *ErrorResponse
}
func ParseGetNodeScheduleCronByNameResponse ¶
func ParseGetNodeScheduleCronByNameResponse(rsp *http.Response) (*GetNodeScheduleCronByNameResponse, error)
ParseGetNodeScheduleCronByNameResponse parses an HTTP response from a GetNodeScheduleCronByNameWithResponse call
func (GetNodeScheduleCronByNameResponse) Status ¶
func (r GetNodeScheduleCronByNameResponse) Status() string
Status returns HTTPResponse.Status
func (GetNodeScheduleCronByNameResponse) StatusCode ¶
func (r GetNodeScheduleCronByNameResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetNodeScheduleCronResponse ¶
type GetNodeScheduleCronResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *CronCollectionResponse
JSON400 *ErrorResponse
JSON401 *ErrorResponse
JSON403 *ErrorResponse
JSON500 *ErrorResponse
}
func ParseGetNodeScheduleCronResponse ¶
func ParseGetNodeScheduleCronResponse(rsp *http.Response) (*GetNodeScheduleCronResponse, error)
ParseGetNodeScheduleCronResponse parses an HTTP response from a GetNodeScheduleCronWithResponse call
func (GetNodeScheduleCronResponse) Status ¶
func (r GetNodeScheduleCronResponse) Status() string
Status returns HTTPResponse.Status
func (GetNodeScheduleCronResponse) StatusCode ¶
func (r GetNodeScheduleCronResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetNodeServiceByNameResponse ¶
type GetNodeServiceByNameResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ServiceGetResponse
JSON400 *ErrorResponse
JSON401 *ErrorResponse
JSON403 *ErrorResponse
JSON404 *ErrorResponse
JSON500 *ErrorResponse
}
func ParseGetNodeServiceByNameResponse ¶
func ParseGetNodeServiceByNameResponse(rsp *http.Response) (*GetNodeServiceByNameResponse, error)
ParseGetNodeServiceByNameResponse parses an HTTP response from a GetNodeServiceByNameWithResponse call
func (GetNodeServiceByNameResponse) Status ¶
func (r GetNodeServiceByNameResponse) Status() string
Status returns HTTPResponse.Status
func (GetNodeServiceByNameResponse) StatusCode ¶
func (r GetNodeServiceByNameResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetNodeServiceResponse ¶
type GetNodeServiceResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ServiceListResponse
JSON400 *ErrorResponse
JSON401 *ErrorResponse
JSON403 *ErrorResponse
JSON500 *ErrorResponse
}
func ParseGetNodeServiceResponse ¶
func ParseGetNodeServiceResponse(rsp *http.Response) (*GetNodeServiceResponse, error)
ParseGetNodeServiceResponse parses an HTTP response from a GetNodeServiceWithResponse call
func (GetNodeServiceResponse) Status ¶
func (r GetNodeServiceResponse) Status() string
Status returns HTTPResponse.Status
func (GetNodeServiceResponse) StatusCode ¶
func (r GetNodeServiceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetNodeStatusResponse ¶
type GetNodeStatusResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *NodeStatusCollectionResponse
JSON400 *ErrorResponse
JSON401 *ErrorResponse
JSON403 *ErrorResponse
JSON500 *ErrorResponse
}
func ParseGetNodeStatusResponse ¶
func ParseGetNodeStatusResponse(rsp *http.Response) (*GetNodeStatusResponse, error)
ParseGetNodeStatusResponse parses an HTTP response from a GetNodeStatusWithResponse call
func (GetNodeStatusResponse) Status ¶
func (r GetNodeStatusResponse) Status() string
Status returns HTTPResponse.Status
func (GetNodeStatusResponse) StatusCode ¶
func (r GetNodeStatusResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetNodeSysctlByKeyResponse ¶
type GetNodeSysctlByKeyResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *SysctlGetResponse
JSON400 *ErrorResponse
JSON401 *ErrorResponse
JSON403 *ErrorResponse
JSON404 *ErrorResponse
JSON500 *ErrorResponse
}
func ParseGetNodeSysctlByKeyResponse ¶
func ParseGetNodeSysctlByKeyResponse(rsp *http.Response) (*GetNodeSysctlByKeyResponse, error)
ParseGetNodeSysctlByKeyResponse parses an HTTP response from a GetNodeSysctlByKeyWithResponse call
func (GetNodeSysctlByKeyResponse) Status ¶
func (r GetNodeSysctlByKeyResponse) Status() string
Status returns HTTPResponse.Status
func (GetNodeSysctlByKeyResponse) StatusCode ¶
func (r GetNodeSysctlByKeyResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetNodeSysctlResponse ¶
type GetNodeSysctlResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *SysctlCollectionResponse
JSON400 *ErrorResponse
JSON401 *ErrorResponse
JSON403 *ErrorResponse
JSON500 *ErrorResponse
}
func ParseGetNodeSysctlResponse ¶
func ParseGetNodeSysctlResponse(rsp *http.Response) (*GetNodeSysctlResponse, error)
ParseGetNodeSysctlResponse parses an HTTP response from a GetNodeSysctlWithResponse call
func (GetNodeSysctlResponse) Status ¶
func (r GetNodeSysctlResponse) Status() string
Status returns HTTPResponse.Status
func (GetNodeSysctlResponse) StatusCode ¶
func (r GetNodeSysctlResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetNodeTimezoneResponse ¶
type GetNodeTimezoneResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *TimezoneCollectionResponse
JSON400 *ErrorResponse
JSON401 *ErrorResponse
JSON403 *ErrorResponse
JSON500 *ErrorResponse
}
func ParseGetNodeTimezoneResponse ¶
func ParseGetNodeTimezoneResponse(rsp *http.Response) (*GetNodeTimezoneResponse, error)
ParseGetNodeTimezoneResponse parses an HTTP response from a GetNodeTimezoneWithResponse call
func (GetNodeTimezoneResponse) Status ¶
func (r GetNodeTimezoneResponse) Status() string
Status returns HTTPResponse.Status
func (GetNodeTimezoneResponse) StatusCode ¶
func (r GetNodeTimezoneResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetNodeUptimeResponse ¶
type GetNodeUptimeResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *UptimeCollectionResponse
JSON400 *ErrorResponse
JSON401 *ErrorResponse
JSON403 *ErrorResponse
JSON500 *ErrorResponse
}
func ParseGetNodeUptimeResponse ¶
func ParseGetNodeUptimeResponse(rsp *http.Response) (*GetNodeUptimeResponse, error)
ParseGetNodeUptimeResponse parses an HTTP response from a GetNodeUptimeWithResponse call
func (GetNodeUptimeResponse) Status ¶
func (r GetNodeUptimeResponse) Status() string
Status returns HTTPResponse.Status
func (GetNodeUptimeResponse) StatusCode ¶
func (r GetNodeUptimeResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetNodeUserByNameResponse ¶
type GetNodeUserByNameResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *UserCollectionResponse
JSON400 *ErrorResponse
JSON401 *ErrorResponse
JSON403 *ErrorResponse
JSON404 *ErrorResponse
JSON500 *ErrorResponse
}
func ParseGetNodeUserByNameResponse ¶
func ParseGetNodeUserByNameResponse(rsp *http.Response) (*GetNodeUserByNameResponse, error)
ParseGetNodeUserByNameResponse parses an HTTP response from a GetNodeUserByNameWithResponse call
func (GetNodeUserByNameResponse) Status ¶
func (r GetNodeUserByNameResponse) Status() string
Status returns HTTPResponse.Status
func (GetNodeUserByNameResponse) StatusCode ¶
func (r GetNodeUserByNameResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetNodeUserResponse ¶
type GetNodeUserResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *UserCollectionResponse
JSON400 *ErrorResponse
JSON401 *ErrorResponse
JSON403 *ErrorResponse
JSON500 *ErrorResponse
}
func ParseGetNodeUserResponse ¶
func ParseGetNodeUserResponse(rsp *http.Response) (*GetNodeUserResponse, error)
ParseGetNodeUserResponse parses an HTTP response from a GetNodeUserWithResponse call
func (GetNodeUserResponse) Status ¶
func (r GetNodeUserResponse) Status() string
Status returns HTTPResponse.Status
func (GetNodeUserResponse) StatusCode ¶
func (r GetNodeUserResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetNodeUserSSHKeyResponse ¶
type GetNodeUserSSHKeyResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *SSHKeyCollectionResponse
JSON400 *ErrorResponse
JSON401 *ErrorResponse
JSON403 *ErrorResponse
JSON500 *ErrorResponse
}
func ParseGetNodeUserSSHKeyResponse ¶
func ParseGetNodeUserSSHKeyResponse(rsp *http.Response) (*GetNodeUserSSHKeyResponse, error)
ParseGetNodeUserSSHKeyResponse parses an HTTP response from a GetNodeUserSSHKeyWithResponse call
func (GetNodeUserSSHKeyResponse) Status ¶
func (r GetNodeUserSSHKeyResponse) Status() string
Status returns HTTPResponse.Status
func (GetNodeUserSSHKeyResponse) StatusCode ¶
func (r GetNodeUserSSHKeyResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GroupCollectionResponse ¶
type GroupCollectionResponse struct {
// JobId The job ID used to process this request.
JobId *openapi_types.UUID `json:"job_id,omitempty"`
Results []GroupEntry `json:"results"`
}
GroupCollectionResponse defines model for GroupCollectionResponse.
type GroupCreateRequest ¶
type GroupCreateRequest struct {
// Gid Numeric group ID. If omitted, the system assigns one.
Gid *int `json:"gid,omitempty" validate:"omitempty,min=0"`
// Name Group name.
Name string `json:"name" validate:"required,min=1,max=32"`
// System Create a system group.
System *bool `json:"system,omitempty" validate:"omitempty"`
}
GroupCreateRequest defines model for GroupCreateRequest.
type GroupEntry ¶
type GroupEntry struct {
// Error Error message if the agent failed.
Error *string `json:"error,omitempty"`
// Groups Groups on this host.
Groups *[]GroupInfo `json:"groups,omitempty"`
// Hostname Hostname of the agent that reported this entry.
Hostname string `json:"hostname"`
// Status The status of the operation for this host.
Status GroupEntryStatus `json:"status"`
}
GroupEntry Group listing result for one host.
type GroupEntryStatus ¶
type GroupEntryStatus string
GroupEntryStatus The status of the operation for this host.
const ( GroupEntryStatusFailed GroupEntryStatus = "failed" GroupEntryStatusOk GroupEntryStatus = "ok" GroupEntryStatusSkipped GroupEntryStatus = "skipped" )
Defines values for GroupEntryStatus.
type GroupInfo ¶
type GroupInfo struct {
// Gid Numeric group ID.
Gid *int `json:"gid,omitempty"`
// Members Group member usernames.
Members *[]string `json:"members,omitempty"`
// Name Group name.
Name *string `json:"name,omitempty"`
}
GroupInfo A group on the target node.
type GroupMutationResponse ¶
type GroupMutationResponse struct {
// JobId The job ID used to process this request.
JobId *openapi_types.UUID `json:"job_id,omitempty"`
Results []GroupMutationResult `json:"results"`
}
GroupMutationResponse defines model for GroupMutationResponse.
type GroupMutationResult ¶
type GroupMutationResult struct {
// Changed Whether the operation modified system state.
Changed *bool `json:"changed,omitempty"`
// Error Error message if the agent failed.
Error *string `json:"error,omitempty"`
// Hostname Hostname of the agent that processed this operation.
Hostname string `json:"hostname"`
// Name Group name.
Name *string `json:"name,omitempty"`
// Status The status of the operation for this host.
Status GroupMutationResultStatus `json:"status"`
}
GroupMutationResult Result of a group create, update, or delete operation for one host.
type GroupMutationResultStatus ¶
type GroupMutationResultStatus string
GroupMutationResultStatus The status of the operation for this host.
const ( GroupMutationResultStatusFailed GroupMutationResultStatus = "failed" GroupMutationResultStatusOk GroupMutationResultStatus = "ok" GroupMutationResultStatusSkipped GroupMutationResultStatus = "skipped" )
Defines values for GroupMutationResultStatus.
type GroupUpdateRequest ¶
type GroupUpdateRequest struct {
// Members Group member usernames (replaces existing).
Members *[]string `json:"members,omitempty"`
}
GroupUpdateRequest defines model for GroupUpdateRequest.
type HealthResponse ¶
type HealthResponse struct {
// Status Health status.
Status string `json:"status"`
}
HealthResponse defines model for HealthResponse.
type HostnameCollectionResponse ¶
type HostnameCollectionResponse struct {
// JobId The job ID used to process this request.
JobId *openapi_types.UUID `json:"job_id,omitempty"`
Results []HostnameResponse `json:"results"`
}
HostnameCollectionResponse defines model for HostnameCollectionResponse.
type HostnameResponse ¶
type HostnameResponse struct {
// Changed Whether the operation modified system state.
Changed *bool `json:"changed,omitempty"`
// Error Error message if the agent failed.
Error *string `json:"error,omitempty"`
// Hostname The system's hostname.
Hostname string `json:"hostname"`
// Labels Key-value labels configured on the agent.
Labels *map[string]string `json:"labels,omitempty"`
// Status The status of the operation for this host.
Status HostnameResponseStatus `json:"status"`
}
HostnameResponse The hostname of the system.
type HostnameResponseStatus ¶
type HostnameResponseStatus string
HostnameResponseStatus The status of the operation for this host.
const ( HostnameResponseStatusFailed HostnameResponseStatus = "failed" HostnameResponseStatusOk HostnameResponseStatus = "ok" HostnameResponseStatusSkipped HostnameResponseStatus = "skipped" )
Defines values for HostnameResponseStatus.
type HostnameUpdateCollectionResponse ¶
type HostnameUpdateCollectionResponse struct {
// JobId The job ID used to process this request.
JobId *openapi_types.UUID `json:"job_id,omitempty"`
Results []HostnameUpdateResultItem `json:"results"`
}
HostnameUpdateCollectionResponse defines model for HostnameUpdateCollectionResponse.
type HostnameUpdateRequest ¶
type HostnameUpdateRequest struct {
// Hostname The new hostname to set.
Hostname string `json:"hostname" validate:"required,min=1,max=253"`
}
HostnameUpdateRequest defines model for HostnameUpdateRequest.
type HostnameUpdateResultItem ¶
type HostnameUpdateResultItem struct {
// Changed Whether the hostname was actually modified.
Changed *bool `json:"changed,omitempty"`
Error *string `json:"error,omitempty"`
// Hostname The hostname of the agent.
Hostname string `json:"hostname"`
Status HostnameUpdateResultItemStatus `json:"status"`
}
HostnameUpdateResultItem defines model for HostnameUpdateResultItem.
type HostnameUpdateResultItemStatus ¶
type HostnameUpdateResultItemStatus string
HostnameUpdateResultItemStatus defines model for HostnameUpdateResultItem.Status.
const ( HostnameUpdateResultItemStatusFailed HostnameUpdateResultItemStatus = "failed" HostnameUpdateResultItemStatusOk HostnameUpdateResultItemStatus = "ok" HostnameUpdateResultItemStatusSkipped HostnameUpdateResultItemStatus = "skipped" )
Defines values for HostnameUpdateResultItemStatus.
type HttpRequestDoer ¶
Doer performs HTTP requests.
The standard http.Client implements this interface.
type InterfaceConfigRequest ¶
type InterfaceConfigRequest struct {
Addresses *[]string `json:"addresses,omitempty" validate:"omitempty,dive,cidr"`
Dhcp4 *bool `json:"dhcp4,omitempty" validate:"omitempty"`
Dhcp6 *bool `json:"dhcp6,omitempty" validate:"omitempty"`
Gateway4 *string `json:"gateway4,omitempty" validate:"omitempty,ipv4"`
Gateway6 *string `json:"gateway6,omitempty" validate:"omitempty,ipv6"`
MacAddress *string `json:"mac_address,omitempty" validate:"omitempty"`
Mtu *int `json:"mtu,omitempty" validate:"omitempty,min=68,max=9000"`
Wakeonlan *bool `json:"wakeonlan,omitempty" validate:"omitempty"`
}
InterfaceConfigRequest defines model for InterfaceConfigRequest.
type InterfaceGetEntry ¶
type InterfaceGetEntry struct {
// Error Error message if the agent failed.
Error *string `json:"error,omitempty"`
// Hostname Hostname of the agent that reported this entry.
Hostname string `json:"hostname"`
// Interface Information about a network interface.
Interface *InterfaceInfo `json:"interface,omitempty"`
// Status The status of the operation for this host.
Status InterfaceGetEntryStatus `json:"status"`
}
InterfaceGetEntry Interface get result for a single agent.
type InterfaceGetEntryStatus ¶
type InterfaceGetEntryStatus string
InterfaceGetEntryStatus The status of the operation for this host.
const ( InterfaceGetEntryStatusFailed InterfaceGetEntryStatus = "failed" InterfaceGetEntryStatusOk InterfaceGetEntryStatus = "ok" InterfaceGetEntryStatusSkipped InterfaceGetEntryStatus = "skipped" )
Defines values for InterfaceGetEntryStatus.
type InterfaceGetResponse ¶
type InterfaceGetResponse struct {
// JobId The job ID used to process this request.
JobId *openapi_types.UUID `json:"job_id,omitempty"`
Results []InterfaceGetEntry `json:"results"`
}
InterfaceGetResponse defines model for InterfaceGetResponse.
type InterfaceInfo ¶
type InterfaceInfo struct {
// Addresses IP addresses assigned to the interface (CIDR).
Addresses *[]string `json:"addresses,omitempty"`
// Dhcp4 Whether DHCPv4 is enabled.
Dhcp4 *bool `json:"dhcp4,omitempty"`
// Dhcp6 Whether DHCPv6 is enabled.
Dhcp6 *bool `json:"dhcp6,omitempty"`
// Family Address family (inet, inet6, dual).
Family *string `json:"family,omitempty"`
// Gateway4 IPv4 gateway address.
Gateway4 *string `json:"gateway4,omitempty"`
// Gateway6 IPv6 gateway address.
Gateway6 *string `json:"gateway6,omitempty"`
// Ipv4 Primary IPv4 address.
Ipv4 *string `json:"ipv4,omitempty"`
// Ipv6 Primary IPv6 address.
Ipv6 *string `json:"ipv6,omitempty"`
// Mac Hardware MAC address.
Mac *string `json:"mac,omitempty"`
// MacAddress Configured MAC address override.
MacAddress *string `json:"mac_address,omitempty"`
// Mtu Maximum transmission unit.
Mtu *int `json:"mtu,omitempty"`
// Name Interface name.
Name *string `json:"name,omitempty"`
// Primary Whether this is the primary (default route) interface.
Primary *bool `json:"primary,omitempty"`
// State Operational state of the interface.
State *string `json:"state,omitempty"`
// Wakeonlan Whether Wake-on-LAN is enabled.
Wakeonlan *bool `json:"wakeonlan,omitempty"`
}
InterfaceInfo Information about a network interface.
type InterfaceListEntry ¶
type InterfaceListEntry struct {
// Error Error message if the agent failed.
Error *string `json:"error,omitempty"`
// Hostname Hostname of the agent that reported this entry.
Hostname string `json:"hostname"`
// Interfaces List of network interfaces on this host.
Interfaces *[]InterfaceInfo `json:"interfaces,omitempty"`
// Status The status of the operation for this host.
Status InterfaceListEntryStatus `json:"status"`
}
InterfaceListEntry Interface list result for a single agent.
type InterfaceListEntryStatus ¶
type InterfaceListEntryStatus string
InterfaceListEntryStatus The status of the operation for this host.
const ( InterfaceListEntryStatusFailed InterfaceListEntryStatus = "failed" InterfaceListEntryStatusOk InterfaceListEntryStatus = "ok" InterfaceListEntryStatusSkipped InterfaceListEntryStatus = "skipped" )
Defines values for InterfaceListEntryStatus.
type InterfaceListResponse ¶
type InterfaceListResponse struct {
// JobId The job ID used to process this request.
JobId *openapi_types.UUID `json:"job_id,omitempty"`
Results []InterfaceListEntry `json:"results"`
}
InterfaceListResponse defines model for InterfaceListResponse.
type InterfaceMutationEntry ¶
type InterfaceMutationEntry struct {
// Changed Whether the operation modified system state.
Changed *bool `json:"changed,omitempty"`
// Error Error message if the agent failed.
Error *string `json:"error,omitempty"`
// Hostname Hostname of the agent that processed this operation.
Hostname string `json:"hostname"`
// Name Interface name.
Name *string `json:"name,omitempty"`
// Status The status of the operation for this host.
Status InterfaceMutationEntryStatus `json:"status"`
}
InterfaceMutationEntry Result of an interface mutation operation for one host.
type InterfaceMutationEntryStatus ¶
type InterfaceMutationEntryStatus string
InterfaceMutationEntryStatus The status of the operation for this host.
const ( InterfaceMutationEntryStatusFailed InterfaceMutationEntryStatus = "failed" InterfaceMutationEntryStatusOk InterfaceMutationEntryStatus = "ok" InterfaceMutationEntryStatusSkipped InterfaceMutationEntryStatus = "skipped" )
Defines values for InterfaceMutationEntryStatus.
type InterfaceMutationResponse ¶
type InterfaceMutationResponse struct {
// JobId The job ID used to process this request.
JobId *openapi_types.UUID `json:"job_id,omitempty"`
Results []InterfaceMutationEntry `json:"results"`
}
InterfaceMutationResponse defines model for InterfaceMutationResponse.
type JobDetailResponse ¶
type JobDetailResponse struct {
// AgentStates Per-agent processing state for broadcast jobs.
AgentStates *map[string]struct {
Duration *string `json:"duration,omitempty"`
Error *string `json:"error,omitempty"`
Status *string `json:"status,omitempty"`
} `json:"agent_states,omitempty"`
// Changed Whether the operation modified system state. Null for pending/failed jobs; true/false for completed jobs.
Changed *bool `json:"changed"`
// Created Creation timestamp.
Created *string `json:"created,omitempty"`
// Error Error message if failed.
Error *string `json:"error,omitempty"`
// Hostname Agent hostname that processed the job.
Hostname *string `json:"hostname,omitempty"`
// Id Unique identifier of the job.
Id *openapi_types.UUID `json:"id,omitempty"`
// Operation The operation data.
Operation *map[string]interface{} `json:"operation,omitempty"`
// Responses Per-agent response data for broadcast jobs.
Responses *map[string]struct {
Changed *bool `json:"changed"`
// Data Agent result data.
Data interface{} `json:"data,omitempty"`
Error *string `json:"error,omitempty"`
Hostname *string `json:"hostname,omitempty"`
Status *string `json:"status,omitempty"`
} `json:"responses,omitempty"`
// Result The result data if completed.
Result interface{} `json:"result,omitempty"`
// Status Current status of the job.
Status *string `json:"status,omitempty"`
// Timeline Chronological sequence of job lifecycle events.
Timeline *[]struct {
// Error Error details if applicable.
Error *string `json:"error,omitempty"`
// Event Event type (submitted, acknowledged, started, completed, failed, retried).
Event *string `json:"event,omitempty"`
// Hostname Agent or source that generated the event.
Hostname *string `json:"hostname,omitempty"`
// Message Human-readable description of the event.
Message *string `json:"message,omitempty"`
// Timestamp ISO 8601 timestamp of the event.
Timestamp *string `json:"timestamp,omitempty"`
} `json:"timeline,omitempty"`
// UpdatedAt Last update timestamp.
UpdatedAt *string `json:"updated_at,omitempty"`
}
JobDetailResponse defines model for JobDetailResponse.
type JobStats ¶
type JobStats struct {
// Completed Number of completed jobs.
Completed int `json:"completed"`
// Dlq Number of jobs in the dead letter queue.
Dlq int `json:"dlq"`
// Failed Number of failed jobs.
Failed int `json:"failed"`
// Processing Number of jobs currently processing.
Processing int `json:"processing"`
// Total Total number of jobs.
Total int `json:"total"`
// Unprocessed Number of unprocessed jobs.
Unprocessed int `json:"unprocessed"`
}
JobStats defines model for JobStats.
type KVBucketInfo ¶
type KVBucketInfo struct {
// Bytes Total bytes in the bucket.
Bytes int `json:"bytes"`
// Keys Number of keys in the bucket.
Keys int `json:"keys"`
// Name KV bucket name.
Name string `json:"name"`
}
KVBucketInfo defines model for KVBucketInfo.
type ListAgentsResponse ¶
type ListAgentsResponse struct {
Agents []AgentInfo `json:"agents"`
// Total Total number of active agents.
Total int `json:"total"`
}
ListAgentsResponse defines model for ListAgentsResponse.
type ListAuditResponse ¶
type ListAuditResponse struct {
// Items The audit entries for this page.
Items []AuditEntry `json:"items"`
// TotalItems Total number of audit entries.
TotalItems int `json:"total_items"`
}
ListAuditResponse defines model for ListAuditResponse.
type ListJobsResponse ¶
type ListJobsResponse struct {
Items *[]JobDetailResponse `json:"items,omitempty"`
// StatusCounts Count of all jobs by status (submitted, processing, completed, failed, partial_failure). Derived from key names during the listing pass — no extra reads.
StatusCounts *map[string]int `json:"status_counts,omitempty"`
// TotalItems Total number of jobs matching the filter.
TotalItems *int `json:"total_items,omitempty"`
}
ListJobsResponse defines model for ListJobsResponse.
type ListPendingAgentsResponse ¶
type ListPendingAgentsResponse struct {
Agents []PendingAgentInfo `json:"agents"`
// Total Total number of pending agents.
Total int `json:"total"`
}
ListPendingAgentsResponse defines model for ListPendingAgentsResponse.
type LoadAverageResponse ¶
type LoadAverageResponse struct {
// N15min Load average for the last 15 minutes.
N15min float32 `json:"15min"`
// N1min Load average for the last 1 minute.
N1min float32 `json:"1min"`
// N5min Load average for the last 5 minutes.
N5min float32 `json:"5min"`
}
LoadAverageResponse The system load averages for 1, 5, and 15 minutes.
type LoadCollectionResponse ¶
type LoadCollectionResponse struct {
// JobId The job ID used to process this request.
JobId *openapi_types.UUID `json:"job_id,omitempty"`
Results []LoadResultItem `json:"results"`
}
LoadCollectionResponse defines model for LoadCollectionResponse.
type LoadResultItem ¶
type LoadResultItem struct {
// Changed Whether the operation modified system state.
Changed *bool `json:"changed,omitempty"`
// Error Error message if the agent failed.
Error *string `json:"error,omitempty"`
// Hostname The hostname of the agent.
Hostname string `json:"hostname"`
// LoadAverage The system load averages for 1, 5, and 15 minutes.
LoadAverage *LoadAverageResponse `json:"load_average,omitempty"`
// Status The status of the operation for this host.
Status LoadResultItemStatus `json:"status"`
}
LoadResultItem defines model for LoadResultItem.
type LoadResultItemStatus ¶
type LoadResultItemStatus string
LoadResultItemStatus The status of the operation for this host.
const ( LoadResultItemStatusFailed LoadResultItemStatus = "failed" LoadResultItemStatusOk LoadResultItemStatus = "ok" LoadResultItemStatusSkipped LoadResultItemStatus = "skipped" )
Defines values for LoadResultItemStatus.
type LogCollectionResponse ¶
type LogCollectionResponse struct {
// JobId The job ID used to process this request.
JobId *openapi_types.UUID `json:"job_id,omitempty"`
Results []LogResultEntry `json:"results"`
}
LogCollectionResponse defines model for LogCollectionResponse.
type LogEntryInfo ¶
type LogEntryInfo struct {
// Hostname Hostname of the system that produced this entry.
Hostname *string `json:"hostname,omitempty"`
// Message Log message text.
Message *string `json:"message,omitempty"`
// Pid Process identifier that produced this entry.
Pid *int `json:"pid,omitempty"`
// Priority Log priority level.
Priority *string `json:"priority,omitempty"`
// Timestamp Log entry timestamp.
Timestamp *string `json:"timestamp,omitempty"`
// Unit Systemd unit that produced this entry.
Unit *string `json:"unit,omitempty"`
}
LogEntryInfo A single log entry from the system journal.
type LogResultEntry ¶
type LogResultEntry struct {
// Entries Log entries from this agent.
Entries *[]LogEntryInfo `json:"entries,omitempty"`
// Error Error message if the agent failed.
Error *string `json:"error,omitempty"`
// Hostname The hostname of the agent.
Hostname string `json:"hostname"`
// Status The status of the operation for this host.
Status LogResultEntryStatus `json:"status"`
}
LogResultEntry Log result for a single agent.
type LogResultEntryStatus ¶
type LogResultEntryStatus string
LogResultEntryStatus The status of the operation for this host.
const ( LogResultEntryStatusFailed LogResultEntryStatus = "failed" LogResultEntryStatusOk LogResultEntryStatus = "ok" LogResultEntryStatusSkipped LogResultEntryStatus = "skipped" )
Defines values for LogResultEntryStatus.
type LogSourceCollectionResponse ¶
type LogSourceCollectionResponse struct {
// JobId The job ID used to process this request.
JobId *openapi_types.UUID `json:"job_id,omitempty"`
Results []LogSourceEntry `json:"results"`
}
LogSourceCollectionResponse defines model for LogSourceCollectionResponse.
type LogSourceEntry ¶
type LogSourceEntry struct {
// Error Error message if the agent failed.
Error *string `json:"error,omitempty"`
// Hostname The hostname of the agent.
Hostname string `json:"hostname"`
// Sources Unique syslog identifiers on this agent.
Sources *[]string `json:"sources,omitempty"`
// Status The status of the operation for this host.
Status LogSourceEntryStatus `json:"status"`
}
LogSourceEntry Log source result for a single agent.
type LogSourceEntryStatus ¶
type LogSourceEntryStatus string
LogSourceEntryStatus The status of the operation for this host.
const ( LogSourceEntryStatusFailed LogSourceEntryStatus = "failed" LogSourceEntryStatusOk LogSourceEntryStatus = "ok" LogSourceEntryStatusSkipped LogSourceEntryStatus = "skipped" )
Defines values for LogSourceEntryStatus.
type MemoryCollectionResponse ¶
type MemoryCollectionResponse struct {
// JobId The job ID used to process this request.
JobId *openapi_types.UUID `json:"job_id,omitempty"`
Results []MemoryResultItem `json:"results"`
}
MemoryCollectionResponse defines model for MemoryCollectionResponse.
type MemoryResponse ¶
type MemoryResponse struct {
// Free Free memory in bytes.
Free int `json:"free"`
// Total Total memory in bytes.
Total int `json:"total"`
// Used Used memory in bytes.
Used int `json:"used"`
}
MemoryResponse Memory usage information.
type MemoryResultItem ¶
type MemoryResultItem struct {
// Changed Whether the operation modified system state.
Changed *bool `json:"changed,omitempty"`
// Error Error message if the agent failed.
Error *string `json:"error,omitempty"`
// Hostname The hostname of the agent.
Hostname string `json:"hostname"`
// Memory Memory usage information.
Memory *MemoryResponse `json:"memory,omitempty"`
// Status The status of the operation for this host.
Status MemoryResultItemStatus `json:"status"`
}
MemoryResultItem defines model for MemoryResultItem.
type MemoryResultItemStatus ¶
type MemoryResultItemStatus string
MemoryResultItemStatus The status of the operation for this host.
const ( MemoryResultItemStatusFailed MemoryResultItemStatus = "failed" MemoryResultItemStatusOk MemoryResultItemStatus = "ok" MemoryResultItemStatusSkipped MemoryResultItemStatus = "skipped" )
Defines values for MemoryResultItemStatus.
type NATSInfo ¶
type NATSInfo struct {
// Url Connected NATS server URL.
Url string `json:"url"`
// Version NATS server version.
Version string `json:"version"`
}
NATSInfo defines model for NATSInfo.
type NetworkInterfaceResponse ¶
type NetworkInterfaceResponse struct {
// Family IP address family.
Family *NetworkInterfaceResponseFamily `json:"family,omitempty"`
Ipv4 *string `json:"ipv4,omitempty"`
Ipv6 *string `json:"ipv6,omitempty"`
Mac *string `json:"mac,omitempty"`
Name string `json:"name"`
}
NetworkInterfaceResponse defines model for NetworkInterfaceResponse.
type NetworkInterfaceResponseFamily ¶
type NetworkInterfaceResponseFamily string
NetworkInterfaceResponseFamily IP address family.
const ( Dual NetworkInterfaceResponseFamily = "dual" Inet NetworkInterfaceResponseFamily = "inet" Inet6 NetworkInterfaceResponseFamily = "inet6" )
Defines values for NetworkInterfaceResponseFamily.
type NodeCondition ¶
type NodeCondition struct {
LastTransitionTime time.Time `json:"last_transition_time"`
Reason *string `json:"reason,omitempty"`
Status bool `json:"status"`
Type NodeConditionType `json:"type"`
}
NodeCondition defines model for NodeCondition.
type NodeConditionType ¶
type NodeConditionType string
NodeConditionType defines model for NodeCondition.Type.
const ( DiskPressure NodeConditionType = "DiskPressure" HighLoad NodeConditionType = "HighLoad" MemoryPressure NodeConditionType = "MemoryPressure" )
Defines values for NodeConditionType.
type NodeStatusCollectionResponse ¶
type NodeStatusCollectionResponse struct {
// JobId The job ID used to process this request.
JobId *openapi_types.UUID `json:"job_id,omitempty"`
Results []NodeStatusResponse `json:"results"`
}
NodeStatusCollectionResponse defines model for NodeStatusCollectionResponse.
type NodeStatusResponse ¶
type NodeStatusResponse struct {
// Changed Whether the operation modified system state.
Changed *bool `json:"changed,omitempty"`
// Disks List of local disk usage information.
Disks *DisksResponse `json:"disks,omitempty"`
// Error Error message if the agent failed.
Error *string `json:"error,omitempty"`
// Hostname The hostname of the system.
Hostname string `json:"hostname"`
// LoadAverage The system load averages for 1, 5, and 15 minutes.
LoadAverage *LoadAverageResponse `json:"load_average,omitempty"`
// Memory Memory usage information.
Memory *MemoryResponse `json:"memory,omitempty"`
// OsInfo Operating system information.
OsInfo *OSInfoResponse `json:"os_info,omitempty"`
// Status The status of the operation for this host.
Status NodeStatusResponseStatus `json:"status"`
// Uptime The uptime of the system.
Uptime *string `json:"uptime,omitempty"`
}
NodeStatusResponse defines model for NodeStatusResponse.
type NodeStatusResponseStatus ¶
type NodeStatusResponseStatus string
NodeStatusResponseStatus The status of the operation for this host.
const ( NodeStatusResponseStatusFailed NodeStatusResponseStatus = "failed" NodeStatusResponseStatusOk NodeStatusResponseStatus = "ok" NodeStatusResponseStatusSkipped NodeStatusResponseStatus = "skipped" )
Defines values for NodeStatusResponseStatus.
type NtpCollectionResponse ¶
type NtpCollectionResponse struct {
// JobId The job ID used to process this request.
JobId *openapi_types.UUID `json:"job_id,omitempty"`
Results []NtpStatusEntry `json:"results"`
}
NtpCollectionResponse defines model for NtpCollectionResponse.
type NtpCreateRequest ¶
type NtpCreateRequest struct {
// Servers List of NTP server addresses to configure.
Servers []string `json:"servers" validate:"required,min=1"`
}
NtpCreateRequest defines model for NtpCreateRequest.
type NtpCreateResponse ¶
type NtpCreateResponse struct {
// JobId The job ID used to process this request.
JobId *openapi_types.UUID `json:"job_id,omitempty"`
Results []NtpMutationResult `json:"results"`
}
NtpCreateResponse defines model for NtpCreateResponse.
type NtpDeleteResponse ¶
type NtpDeleteResponse struct {
// JobId The job ID used to process this request.
JobId *openapi_types.UUID `json:"job_id,omitempty"`
Results []NtpMutationResult `json:"results"`
}
NtpDeleteResponse defines model for NtpDeleteResponse.
type NtpMutationResult ¶
type NtpMutationResult struct {
// Changed Whether the operation modified system state.
Changed *bool `json:"changed,omitempty"`
// Error Error message if the agent failed.
Error *string `json:"error,omitempty"`
// Hostname Hostname of the agent that processed this operation.
Hostname string `json:"hostname"`
// Status The status of the operation for this host.
Status NtpMutationResultStatus `json:"status"`
}
NtpMutationResult Result of an NTP create, update, or delete operation for one host.
type NtpMutationResultStatus ¶
type NtpMutationResultStatus string
NtpMutationResultStatus The status of the operation for this host.
const ( NtpMutationResultStatusFailed NtpMutationResultStatus = "failed" NtpMutationResultStatusOk NtpMutationResultStatus = "ok" NtpMutationResultStatusSkipped NtpMutationResultStatus = "skipped" )
Defines values for NtpMutationResultStatus.
type NtpStatusEntry ¶
type NtpStatusEntry struct {
// CurrentSource The currently selected NTP source.
CurrentSource *string `json:"current_source,omitempty"`
// Error Error message if the agent failed to retrieve NTP status.
Error *string `json:"error,omitempty"`
// Hostname Hostname of the agent that reported this entry.
Hostname string `json:"hostname"`
// Offset Clock offset from the NTP source.
Offset *string `json:"offset,omitempty"`
// Servers Configured NTP server addresses.
Servers *[]string `json:"servers,omitempty"`
// Status The status of the operation for this host.
Status NtpStatusEntryStatus `json:"status"`
// Stratum NTP stratum level.
Stratum *int `json:"stratum,omitempty"`
// Synchronized Whether the system clock is synchronized.
Synchronized *bool `json:"synchronized,omitempty"`
}
NtpStatusEntry NTP status for a single host.
type NtpStatusEntryStatus ¶
type NtpStatusEntryStatus string
NtpStatusEntryStatus The status of the operation for this host.
const ( NtpStatusEntryStatusFailed NtpStatusEntryStatus = "failed" NtpStatusEntryStatusOk NtpStatusEntryStatus = "ok" NtpStatusEntryStatusSkipped NtpStatusEntryStatus = "skipped" )
Defines values for NtpStatusEntryStatus.
type NtpUpdateRequest ¶
type NtpUpdateRequest struct {
// Servers List of NTP server addresses to configure.
Servers []string `json:"servers" validate:"required,min=1"`
}
NtpUpdateRequest defines model for NtpUpdateRequest.
type NtpUpdateResponse ¶
type NtpUpdateResponse struct {
// JobId The job ID used to process this request.
JobId *openapi_types.UUID `json:"job_id,omitempty"`
Results []NtpMutationResult `json:"results"`
}
NtpUpdateResponse defines model for NtpUpdateResponse.
type OSInfoCollectionResponse ¶
type OSInfoCollectionResponse struct {
// JobId The job ID used to process this request.
JobId *openapi_types.UUID `json:"job_id,omitempty"`
Results []OSInfoResultItem `json:"results"`
}
OSInfoCollectionResponse defines model for OSInfoCollectionResponse.
type OSInfoResponse ¶
type OSInfoResponse struct {
// Distribution The name of the Linux distribution.
Distribution string `json:"distribution"`
// Version The version of the Linux distribution.
Version string `json:"version"`
}
OSInfoResponse Operating system information.
type OSInfoResultItem ¶
type OSInfoResultItem struct {
// Changed Whether the operation modified system state.
Changed *bool `json:"changed,omitempty"`
// Error Error message if the agent failed.
Error *string `json:"error,omitempty"`
// Hostname The hostname of the agent.
Hostname string `json:"hostname"`
// OsInfo Operating system information.
OsInfo *OSInfoResponse `json:"os_info,omitempty"`
// Status The status of the operation for this host.
Status OSInfoResultItemStatus `json:"status"`
}
OSInfoResultItem defines model for OSInfoResultItem.
type OSInfoResultItemStatus ¶
type OSInfoResultItemStatus string
OSInfoResultItemStatus The status of the operation for this host.
const ( OSInfoResultItemStatusFailed OSInfoResultItemStatus = "failed" OSInfoResultItemStatusOk OSInfoResultItemStatus = "ok" OSInfoResultItemStatusSkipped OSInfoResultItemStatus = "skipped" )
Defines values for OSInfoResultItemStatus.
type ObjectStoreInfo ¶
type ObjectStoreInfo struct {
// Name Object Store bucket name.
Name string `json:"name"`
// Size Total bytes in the store.
Size int `json:"size"`
}
ObjectStoreInfo defines model for ObjectStoreInfo.
type PackageCollectionResponse ¶
type PackageCollectionResponse struct {
// JobId The job ID used to process this request.
JobId *openapi_types.UUID `json:"job_id,omitempty"`
Results []PackageEntry `json:"results"`
}
PackageCollectionResponse defines model for PackageCollectionResponse.
type PackageEntry ¶
type PackageEntry struct {
// Error Error message if the agent failed.
Error *string `json:"error,omitempty"`
// Hostname Hostname of the agent that reported this entry.
Hostname string `json:"hostname"`
// Packages List of packages.
Packages *[]PackageInfo `json:"packages,omitempty"`
// Status The status of the operation for this host.
Status PackageEntryStatus `json:"status"`
}
PackageEntry A package list result for one host.
type PackageEntryStatus ¶
type PackageEntryStatus string
PackageEntryStatus The status of the operation for this host.
const ( PackageEntryStatusFailed PackageEntryStatus = "failed" PackageEntryStatusOk PackageEntryStatus = "ok" PackageEntryStatusSkipped PackageEntryStatus = "skipped" )
Defines values for PackageEntryStatus.
type PackageInfo ¶
type PackageInfo struct {
// Description Package description.
Description *string `json:"description,omitempty"`
// Name Package name.
Name *string `json:"name,omitempty"`
// Size Installed size in bytes.
Size *int64 `json:"size,omitempty"`
// Status Package status (e.g., installed).
Status *string `json:"status,omitempty"`
// Version Installed version.
Version *string `json:"version,omitempty"`
}
PackageInfo Information about an installed package.
type PackageInstallRequest ¶
type PackageInstallRequest struct {
// Name Name of the package to install.
Name string `json:"name" validate:"required,min=1"`
}
PackageInstallRequest defines model for PackageInstallRequest.
type PackageMutationResponse ¶
type PackageMutationResponse struct {
// JobId The job ID used to process this request.
JobId *openapi_types.UUID `json:"job_id,omitempty"`
Results []PackageMutationResult `json:"results"`
}
PackageMutationResponse defines model for PackageMutationResponse.
type PackageMutationResult ¶
type PackageMutationResult struct {
// Changed Whether the operation modified system state.
Changed *bool `json:"changed,omitempty"`
// Error Error message if the agent failed.
Error *string `json:"error,omitempty"`
// Hostname Hostname of the agent that processed this operation.
Hostname string `json:"hostname"`
// Name Package name.
Name *string `json:"name,omitempty"`
// Status The status of the operation for this host.
Status PackageMutationResultStatus `json:"status"`
}
PackageMutationResult Result of a package install, remove, or update operation for one host.
type PackageMutationResultStatus ¶
type PackageMutationResultStatus string
PackageMutationResultStatus The status of the operation for this host.
const ( PackageMutationResultStatusFailed PackageMutationResultStatus = "failed" PackageMutationResultStatusOk PackageMutationResultStatus = "ok" PackageMutationResultStatusSkipped PackageMutationResultStatus = "skipped" )
Defines values for PackageMutationResultStatus.
type PendingAgentInfo ¶
type PendingAgentInfo struct {
// Fingerprint The SHA256 fingerprint of the agent's public key.
Fingerprint string `json:"fingerprint"`
// Hostname The hostname of the agent.
Hostname string `json:"hostname"`
// MachineId The permanent machine identifier.
MachineId string `json:"machine_id"`
// RequestedAt When the enrollment request was received.
RequestedAt time.Time `json:"requested_at"`
}
PendingAgentInfo defines model for PendingAgentInfo.
type PingCollectionResponse ¶
type PingCollectionResponse struct {
// JobId The job ID used to process this request.
JobId *openapi_types.UUID `json:"job_id,omitempty"`
Results []PingResponse `json:"results"`
}
PingCollectionResponse defines model for PingCollectionResponse.
type PingResponse ¶
type PingResponse struct {
// AvgRtt Average round-trip time in Go time.Duration format.
AvgRtt *string `json:"avg_rtt,omitempty"`
// Changed Whether the operation modified system state.
Changed *bool `json:"changed,omitempty"`
// Error Error message if the agent failed.
Error *string `json:"error,omitempty"`
// Hostname The hostname of the agent that executed the ping.
Hostname string `json:"hostname"`
// MaxRtt Maximum round-trip time in Go time.Duration format.
MaxRtt *string `json:"max_rtt,omitempty"`
// MinRtt Minimum round-trip time in Go time.Duration format.
MinRtt *string `json:"min_rtt,omitempty"`
// PacketLoss Percentage of packet loss.
PacketLoss *float64 `json:"packet_loss,omitempty"`
// PacketsReceived Number of packets received.
PacketsReceived *int `json:"packets_received,omitempty"`
// PacketsSent Number of packets sent.
PacketsSent *int `json:"packets_sent,omitempty"`
// Status The status of the operation for this host.
Status PingResponseStatus `json:"status"`
}
PingResponse defines model for PingResponse.
type PingResponseStatus ¶
type PingResponseStatus string
PingResponseStatus The status of the operation for this host.
const ( PingResponseStatusFailed PingResponseStatus = "failed" PingResponseStatusOk PingResponseStatus = "ok" PingResponseStatusSkipped PingResponseStatus = "skipped" )
Defines values for PingResponseStatus.
type PostFileMultipartBody ¶
type PostFileMultipartBody struct {
// ContentType How the file should be treated during deploy. "raw" writes bytes as-is; "template" renders with Go text/template and agent facts.
ContentType *PostFileMultipartBodyContentType `json:"content_type,omitempty" validate:"omitempty,oneof=raw template"`
// File The file content.
File openapi_types.File `json:"file"`
// Name The name of the file in the Object Store.
Name string `json:"name" validate:"required,min=1,max=255"`
}
PostFileMultipartBody defines parameters for PostFile.
type PostFileMultipartBodyContentType ¶
type PostFileMultipartBodyContentType string
PostFileMultipartBodyContentType defines parameters for PostFile.
const ( PostFileMultipartBodyContentTypeRaw PostFileMultipartBodyContentType = "raw" PostFileMultipartBodyContentTypeTemplate PostFileMultipartBodyContentType = "template" )
Defines values for PostFileMultipartBodyContentType.
type PostFileMultipartRequestBody ¶
type PostFileMultipartRequestBody PostFileMultipartBody
PostFileMultipartRequestBody defines body for PostFile for multipart/form-data ContentType.
type PostFileParams ¶
type PostFileParams struct {
// Force When true, bypass the digest check and always write the file. Returns changed=true regardless of whether the content differs from the existing object.
Force *bool `form:"force,omitempty" json:"force,omitempty" validate:"omitempty"`
}
PostFileParams defines parameters for PostFile.
type PostFileResponse ¶
type PostFileResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *FileUploadResponse
JSON400 *ErrorResponse
JSON401 *ErrorResponse
JSON403 *ErrorResponse
JSON409 *ErrorResponse
JSON500 *ErrorResponse
}
func ParsePostFileResponse ¶
func ParsePostFileResponse(rsp *http.Response) (*PostFileResponse, error)
ParsePostFileResponse parses an HTTP response from a PostFileWithResponse call
func (PostFileResponse) Status ¶
func (r PostFileResponse) Status() string
Status returns HTTPResponse.Status
func (PostFileResponse) StatusCode ¶
func (r PostFileResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostNodeCertificateCaJSONRequestBody ¶
type PostNodeCertificateCaJSONRequestBody = CertificateCACreateRequest
PostNodeCertificateCaJSONRequestBody defines body for PostNodeCertificateCa for application/json ContentType.
type PostNodeCertificateCaResponse ¶
type PostNodeCertificateCaResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *CertificateCAMutationResponse
JSON400 *ErrorResponse
JSON401 *ErrorResponse
JSON403 *ErrorResponse
JSON500 *ErrorResponse
}
func ParsePostNodeCertificateCaResponse ¶
func ParsePostNodeCertificateCaResponse(rsp *http.Response) (*PostNodeCertificateCaResponse, error)
ParsePostNodeCertificateCaResponse parses an HTTP response from a PostNodeCertificateCaWithResponse call
func (PostNodeCertificateCaResponse) Status ¶
func (r PostNodeCertificateCaResponse) Status() string
Status returns HTTPResponse.Status
func (PostNodeCertificateCaResponse) StatusCode ¶
func (r PostNodeCertificateCaResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostNodeCommandExecJSONRequestBody ¶
type PostNodeCommandExecJSONRequestBody = CommandExecRequest
PostNodeCommandExecJSONRequestBody defines body for PostNodeCommandExec for application/json ContentType.
type PostNodeCommandExecResponse ¶
type PostNodeCommandExecResponse struct {
Body []byte
HTTPResponse *http.Response
JSON202 *CommandResultCollectionResponse
JSON400 *ErrorResponse
JSON401 *ErrorResponse
JSON403 *ErrorResponse
JSON500 *ErrorResponse
}
func ParsePostNodeCommandExecResponse ¶
func ParsePostNodeCommandExecResponse(rsp *http.Response) (*PostNodeCommandExecResponse, error)
ParsePostNodeCommandExecResponse parses an HTTP response from a PostNodeCommandExecWithResponse call
func (PostNodeCommandExecResponse) Status ¶
func (r PostNodeCommandExecResponse) Status() string
Status returns HTTPResponse.Status
func (PostNodeCommandExecResponse) StatusCode ¶
func (r PostNodeCommandExecResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostNodeCommandShellJSONRequestBody ¶
type PostNodeCommandShellJSONRequestBody = CommandShellRequest
PostNodeCommandShellJSONRequestBody defines body for PostNodeCommandShell for application/json ContentType.
type PostNodeCommandShellResponse ¶
type PostNodeCommandShellResponse struct {
Body []byte
HTTPResponse *http.Response
JSON202 *CommandResultCollectionResponse
JSON400 *ErrorResponse
JSON401 *ErrorResponse
JSON403 *ErrorResponse
JSON500 *ErrorResponse
}
func ParsePostNodeCommandShellResponse ¶
func ParsePostNodeCommandShellResponse(rsp *http.Response) (*PostNodeCommandShellResponse, error)
ParsePostNodeCommandShellResponse parses an HTTP response from a PostNodeCommandShellWithResponse call
func (PostNodeCommandShellResponse) Status ¶
func (r PostNodeCommandShellResponse) Status() string
Status returns HTTPResponse.Status
func (PostNodeCommandShellResponse) StatusCode ¶
func (r PostNodeCommandShellResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostNodeContainerDockerExecJSONRequestBody ¶
type PostNodeContainerDockerExecJSONRequestBody = DockerExecRequest
PostNodeContainerDockerExecJSONRequestBody defines body for PostNodeContainerDockerExec for application/json ContentType.
type PostNodeContainerDockerExecResponse ¶
type PostNodeContainerDockerExecResponse struct {
Body []byte
HTTPResponse *http.Response
JSON202 *DockerExecCollectionResponse
JSON400 *ErrorResponse
JSON401 *ErrorResponse
JSON403 *ErrorResponse
JSON404 *ErrorResponse
JSON500 *ErrorResponse
}
func ParsePostNodeContainerDockerExecResponse ¶
func ParsePostNodeContainerDockerExecResponse(rsp *http.Response) (*PostNodeContainerDockerExecResponse, error)
ParsePostNodeContainerDockerExecResponse parses an HTTP response from a PostNodeContainerDockerExecWithResponse call
func (PostNodeContainerDockerExecResponse) Status ¶
func (r PostNodeContainerDockerExecResponse) Status() string
Status returns HTTPResponse.Status
func (PostNodeContainerDockerExecResponse) StatusCode ¶
func (r PostNodeContainerDockerExecResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostNodeContainerDockerJSONRequestBody ¶
type PostNodeContainerDockerJSONRequestBody = DockerCreateRequest
PostNodeContainerDockerJSONRequestBody defines body for PostNodeContainerDocker for application/json ContentType.
type PostNodeContainerDockerPullJSONRequestBody ¶
type PostNodeContainerDockerPullJSONRequestBody = DockerPullRequest
PostNodeContainerDockerPullJSONRequestBody defines body for PostNodeContainerDockerPull for application/json ContentType.
type PostNodeContainerDockerPullResponse ¶
type PostNodeContainerDockerPullResponse struct {
Body []byte
HTTPResponse *http.Response
JSON202 *DockerPullCollectionResponse
JSON400 *ErrorResponse
JSON401 *ErrorResponse
JSON403 *ErrorResponse
JSON500 *ErrorResponse
}
func ParsePostNodeContainerDockerPullResponse ¶
func ParsePostNodeContainerDockerPullResponse(rsp *http.Response) (*PostNodeContainerDockerPullResponse, error)
ParsePostNodeContainerDockerPullResponse parses an HTTP response from a PostNodeContainerDockerPullWithResponse call
func (PostNodeContainerDockerPullResponse) Status ¶
func (r PostNodeContainerDockerPullResponse) Status() string
Status returns HTTPResponse.Status
func (PostNodeContainerDockerPullResponse) StatusCode ¶
func (r PostNodeContainerDockerPullResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostNodeContainerDockerResponse ¶
type PostNodeContainerDockerResponse struct {
Body []byte
HTTPResponse *http.Response
JSON202 *DockerResultCollectionResponse
JSON400 *ErrorResponse
JSON401 *ErrorResponse
JSON403 *ErrorResponse
JSON500 *ErrorResponse
}
func ParsePostNodeContainerDockerResponse ¶
func ParsePostNodeContainerDockerResponse(rsp *http.Response) (*PostNodeContainerDockerResponse, error)
ParsePostNodeContainerDockerResponse parses an HTTP response from a PostNodeContainerDockerWithResponse call
func (PostNodeContainerDockerResponse) Status ¶
func (r PostNodeContainerDockerResponse) Status() string
Status returns HTTPResponse.Status
func (PostNodeContainerDockerResponse) StatusCode ¶
func (r PostNodeContainerDockerResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostNodeContainerDockerStartResponse ¶
type PostNodeContainerDockerStartResponse struct {
Body []byte
HTTPResponse *http.Response
JSON202 *DockerActionCollectionResponse
JSON400 *ErrorResponse
JSON401 *ErrorResponse
JSON403 *ErrorResponse
JSON404 *ErrorResponse
JSON500 *ErrorResponse
}
func ParsePostNodeContainerDockerStartResponse ¶
func ParsePostNodeContainerDockerStartResponse(rsp *http.Response) (*PostNodeContainerDockerStartResponse, error)
ParsePostNodeContainerDockerStartResponse parses an HTTP response from a PostNodeContainerDockerStartWithResponse call
func (PostNodeContainerDockerStartResponse) Status ¶
func (r PostNodeContainerDockerStartResponse) Status() string
Status returns HTTPResponse.Status
func (PostNodeContainerDockerStartResponse) StatusCode ¶
func (r PostNodeContainerDockerStartResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostNodeContainerDockerStopJSONRequestBody ¶
type PostNodeContainerDockerStopJSONRequestBody = DockerStopRequest
PostNodeContainerDockerStopJSONRequestBody defines body for PostNodeContainerDockerStop for application/json ContentType.
type PostNodeContainerDockerStopResponse ¶
type PostNodeContainerDockerStopResponse struct {
Body []byte
HTTPResponse *http.Response
JSON202 *DockerActionCollectionResponse
JSON400 *ErrorResponse
JSON401 *ErrorResponse
JSON403 *ErrorResponse
JSON404 *ErrorResponse
JSON500 *ErrorResponse
}
func ParsePostNodeContainerDockerStopResponse ¶
func ParsePostNodeContainerDockerStopResponse(rsp *http.Response) (*PostNodeContainerDockerStopResponse, error)
ParsePostNodeContainerDockerStopResponse parses an HTTP response from a PostNodeContainerDockerStopWithResponse call
func (PostNodeContainerDockerStopResponse) Status ¶
func (r PostNodeContainerDockerStopResponse) Status() string
Status returns HTTPResponse.Status
func (PostNodeContainerDockerStopResponse) StatusCode ¶
func (r PostNodeContainerDockerStopResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostNodeFileDeployJSONRequestBody ¶
type PostNodeFileDeployJSONRequestBody = FileDeployRequest
PostNodeFileDeployJSONRequestBody defines body for PostNodeFileDeploy for application/json ContentType.
type PostNodeFileDeployResponse ¶
type PostNodeFileDeployResponse struct {
Body []byte
HTTPResponse *http.Response
JSON202 *FileDeployCollectionResponse
JSON400 *ErrorResponse
JSON401 *ErrorResponse
JSON403 *ErrorResponse
JSON500 *ErrorResponse
}
func ParsePostNodeFileDeployResponse ¶
func ParsePostNodeFileDeployResponse(rsp *http.Response) (*PostNodeFileDeployResponse, error)
ParsePostNodeFileDeployResponse parses an HTTP response from a PostNodeFileDeployWithResponse call
func (PostNodeFileDeployResponse) Status ¶
func (r PostNodeFileDeployResponse) Status() string
Status returns HTTPResponse.Status
func (PostNodeFileDeployResponse) StatusCode ¶
func (r PostNodeFileDeployResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostNodeFileStatusJSONRequestBody ¶
type PostNodeFileStatusJSONRequestBody = FileStatusRequest
PostNodeFileStatusJSONRequestBody defines body for PostNodeFileStatus for application/json ContentType.
type PostNodeFileStatusResponse ¶
type PostNodeFileStatusResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *FileStatusCollectionResponse
JSON400 *ErrorResponse
JSON401 *ErrorResponse
JSON403 *ErrorResponse
JSON500 *ErrorResponse
}
func ParsePostNodeFileStatusResponse ¶
func ParsePostNodeFileStatusResponse(rsp *http.Response) (*PostNodeFileStatusResponse, error)
ParsePostNodeFileStatusResponse parses an HTTP response from a PostNodeFileStatusWithResponse call
func (PostNodeFileStatusResponse) Status ¶
func (r PostNodeFileStatusResponse) Status() string
Status returns HTTPResponse.Status
func (PostNodeFileStatusResponse) StatusCode ¶
func (r PostNodeFileStatusResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostNodeFileUndeployJSONRequestBody ¶
type PostNodeFileUndeployJSONRequestBody = FileUndeployRequest
PostNodeFileUndeployJSONRequestBody defines body for PostNodeFileUndeploy for application/json ContentType.
type PostNodeFileUndeployResponse ¶
type PostNodeFileUndeployResponse struct {
Body []byte
HTTPResponse *http.Response
JSON202 *FileUndeployCollectionResponse
JSON400 *ErrorResponse
JSON401 *ErrorResponse
JSON403 *ErrorResponse
JSON500 *ErrorResponse
}
func ParsePostNodeFileUndeployResponse ¶
func ParsePostNodeFileUndeployResponse(rsp *http.Response) (*PostNodeFileUndeployResponse, error)
ParsePostNodeFileUndeployResponse parses an HTTP response from a PostNodeFileUndeployWithResponse call
func (PostNodeFileUndeployResponse) Status ¶
func (r PostNodeFileUndeployResponse) Status() string
Status returns HTTPResponse.Status
func (PostNodeFileUndeployResponse) StatusCode ¶
func (r PostNodeFileUndeployResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostNodeGroupJSONRequestBody ¶
type PostNodeGroupJSONRequestBody = GroupCreateRequest
PostNodeGroupJSONRequestBody defines body for PostNodeGroup for application/json ContentType.
type PostNodeGroupResponse ¶
type PostNodeGroupResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *GroupMutationResponse
JSON400 *ErrorResponse
JSON401 *ErrorResponse
JSON403 *ErrorResponse
JSON500 *ErrorResponse
}
func ParsePostNodeGroupResponse ¶
func ParsePostNodeGroupResponse(rsp *http.Response) (*PostNodeGroupResponse, error)
ParsePostNodeGroupResponse parses an HTTP response from a PostNodeGroupWithResponse call
func (PostNodeGroupResponse) Status ¶
func (r PostNodeGroupResponse) Status() string
Status returns HTTPResponse.Status
func (PostNodeGroupResponse) StatusCode ¶
func (r PostNodeGroupResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostNodeNetworkInterfaceJSONRequestBody ¶
type PostNodeNetworkInterfaceJSONRequestBody = InterfaceConfigRequest
PostNodeNetworkInterfaceJSONRequestBody defines body for PostNodeNetworkInterface for application/json ContentType.
type PostNodeNetworkInterfaceResponse ¶
type PostNodeNetworkInterfaceResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *InterfaceMutationResponse
JSON400 *ErrorResponse
JSON401 *ErrorResponse
JSON403 *ErrorResponse
JSON500 *ErrorResponse
}
func ParsePostNodeNetworkInterfaceResponse ¶
func ParsePostNodeNetworkInterfaceResponse(rsp *http.Response) (*PostNodeNetworkInterfaceResponse, error)
ParsePostNodeNetworkInterfaceResponse parses an HTTP response from a PostNodeNetworkInterfaceWithResponse call
func (PostNodeNetworkInterfaceResponse) Status ¶
func (r PostNodeNetworkInterfaceResponse) Status() string
Status returns HTTPResponse.Status
func (PostNodeNetworkInterfaceResponse) StatusCode ¶
func (r PostNodeNetworkInterfaceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostNodeNetworkPingJSONBody ¶
type PostNodeNetworkPingJSONBody struct {
// Address The IP address of the server to ping. Supports both IPv4 and IPv6. Also accepts @fact. references that are resolved agent-side.
Address string `json:"address" validate:"required,ip_or_fact"`
}
PostNodeNetworkPingJSONBody defines parameters for PostNodeNetworkPing.
type PostNodeNetworkPingJSONRequestBody ¶
type PostNodeNetworkPingJSONRequestBody PostNodeNetworkPingJSONBody
PostNodeNetworkPingJSONRequestBody defines body for PostNodeNetworkPing for application/json ContentType.
type PostNodeNetworkPingResponse ¶
type PostNodeNetworkPingResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *PingCollectionResponse
JSON400 *ErrorResponse
JSON401 *ErrorResponse
JSON403 *ErrorResponse
JSON500 *ErrorResponse
}
func ParsePostNodeNetworkPingResponse ¶
func ParsePostNodeNetworkPingResponse(rsp *http.Response) (*PostNodeNetworkPingResponse, error)
ParsePostNodeNetworkPingResponse parses an HTTP response from a PostNodeNetworkPingWithResponse call
func (PostNodeNetworkPingResponse) Status ¶
func (r PostNodeNetworkPingResponse) Status() string
Status returns HTTPResponse.Status
func (PostNodeNetworkPingResponse) StatusCode ¶
func (r PostNodeNetworkPingResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostNodeNetworkRouteJSONRequestBody ¶
type PostNodeNetworkRouteJSONRequestBody = RouteConfigRequest
PostNodeNetworkRouteJSONRequestBody defines body for PostNodeNetworkRoute for application/json ContentType.
type PostNodeNetworkRouteResponse ¶
type PostNodeNetworkRouteResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *RouteMutationResponse
JSON400 *ErrorResponse
JSON401 *ErrorResponse
JSON403 *ErrorResponse
JSON500 *ErrorResponse
}
func ParsePostNodeNetworkRouteResponse ¶
func ParsePostNodeNetworkRouteResponse(rsp *http.Response) (*PostNodeNetworkRouteResponse, error)
ParsePostNodeNetworkRouteResponse parses an HTTP response from a PostNodeNetworkRouteWithResponse call
func (PostNodeNetworkRouteResponse) Status ¶
func (r PostNodeNetworkRouteResponse) Status() string
Status returns HTTPResponse.Status
func (PostNodeNetworkRouteResponse) StatusCode ¶
func (r PostNodeNetworkRouteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostNodeNtpJSONRequestBody ¶
type PostNodeNtpJSONRequestBody = NtpCreateRequest
PostNodeNtpJSONRequestBody defines body for PostNodeNtp for application/json ContentType.
type PostNodeNtpResponse ¶
type PostNodeNtpResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *NtpCreateResponse
JSON400 *ErrorResponse
JSON401 *ErrorResponse
JSON403 *ErrorResponse
JSON500 *ErrorResponse
}
func ParsePostNodeNtpResponse ¶
func ParsePostNodeNtpResponse(rsp *http.Response) (*PostNodeNtpResponse, error)
ParsePostNodeNtpResponse parses an HTTP response from a PostNodeNtpWithResponse call
func (PostNodeNtpResponse) Status ¶
func (r PostNodeNtpResponse) Status() string
Status returns HTTPResponse.Status
func (PostNodeNtpResponse) StatusCode ¶
func (r PostNodeNtpResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostNodePackageJSONRequestBody ¶
type PostNodePackageJSONRequestBody = PackageInstallRequest
PostNodePackageJSONRequestBody defines body for PostNodePackage for application/json ContentType.
type PostNodePackageResponse ¶
type PostNodePackageResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *PackageMutationResponse
JSON400 *ErrorResponse
JSON401 *ErrorResponse
JSON403 *ErrorResponse
JSON500 *ErrorResponse
}
func ParsePostNodePackageResponse ¶
func ParsePostNodePackageResponse(rsp *http.Response) (*PostNodePackageResponse, error)
ParsePostNodePackageResponse parses an HTTP response from a PostNodePackageWithResponse call
func (PostNodePackageResponse) Status ¶
func (r PostNodePackageResponse) Status() string
Status returns HTTPResponse.Status
func (PostNodePackageResponse) StatusCode ¶
func (r PostNodePackageResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostNodePackageUpdateResponse ¶
type PostNodePackageUpdateResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *PackageMutationResponse
JSON400 *ErrorResponse
JSON401 *ErrorResponse
JSON403 *ErrorResponse
JSON500 *ErrorResponse
}
func ParsePostNodePackageUpdateResponse ¶
func ParsePostNodePackageUpdateResponse(rsp *http.Response) (*PostNodePackageUpdateResponse, error)
ParsePostNodePackageUpdateResponse parses an HTTP response from a PostNodePackageUpdateWithResponse call
func (PostNodePackageUpdateResponse) Status ¶
func (r PostNodePackageUpdateResponse) Status() string
Status returns HTTPResponse.Status
func (PostNodePackageUpdateResponse) StatusCode ¶
func (r PostNodePackageUpdateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostNodePowerRebootJSONRequestBody ¶
type PostNodePowerRebootJSONRequestBody = PowerRequest
PostNodePowerRebootJSONRequestBody defines body for PostNodePowerReboot for application/json ContentType.
type PostNodePowerRebootResponse ¶
type PostNodePowerRebootResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *PowerRebootResponse
JSON400 *ErrorResponse
JSON401 *ErrorResponse
JSON403 *ErrorResponse
JSON500 *ErrorResponse
}
func ParsePostNodePowerRebootResponse ¶
func ParsePostNodePowerRebootResponse(rsp *http.Response) (*PostNodePowerRebootResponse, error)
ParsePostNodePowerRebootResponse parses an HTTP response from a PostNodePowerRebootWithResponse call
func (PostNodePowerRebootResponse) Status ¶
func (r PostNodePowerRebootResponse) Status() string
Status returns HTTPResponse.Status
func (PostNodePowerRebootResponse) StatusCode ¶
func (r PostNodePowerRebootResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostNodePowerShutdownJSONRequestBody ¶
type PostNodePowerShutdownJSONRequestBody = PowerRequest
PostNodePowerShutdownJSONRequestBody defines body for PostNodePowerShutdown for application/json ContentType.
type PostNodePowerShutdownResponse ¶
type PostNodePowerShutdownResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *PowerShutdownResponse
JSON400 *ErrorResponse
JSON401 *ErrorResponse
JSON403 *ErrorResponse
JSON500 *ErrorResponse
}
func ParsePostNodePowerShutdownResponse ¶
func ParsePostNodePowerShutdownResponse(rsp *http.Response) (*PostNodePowerShutdownResponse, error)
ParsePostNodePowerShutdownResponse parses an HTTP response from a PostNodePowerShutdownWithResponse call
func (PostNodePowerShutdownResponse) Status ¶
func (r PostNodePowerShutdownResponse) Status() string
Status returns HTTPResponse.Status
func (PostNodePowerShutdownResponse) StatusCode ¶
func (r PostNodePowerShutdownResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostNodeProcessSignalJSONRequestBody ¶
type PostNodeProcessSignalJSONRequestBody = ProcessSignalRequest
PostNodeProcessSignalJSONRequestBody defines body for PostNodeProcessSignal for application/json ContentType.
type PostNodeProcessSignalResponse ¶
type PostNodeProcessSignalResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ProcessSignalResponse
JSON400 *ErrorResponse
JSON401 *ErrorResponse
JSON403 *ErrorResponse
JSON404 *ErrorResponse
JSON500 *ErrorResponse
}
func ParsePostNodeProcessSignalResponse ¶
func ParsePostNodeProcessSignalResponse(rsp *http.Response) (*PostNodeProcessSignalResponse, error)
ParsePostNodeProcessSignalResponse parses an HTTP response from a PostNodeProcessSignalWithResponse call
func (PostNodeProcessSignalResponse) Status ¶
func (r PostNodeProcessSignalResponse) Status() string
Status returns HTTPResponse.Status
func (PostNodeProcessSignalResponse) StatusCode ¶
func (r PostNodeProcessSignalResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostNodeScheduleCronJSONRequestBody ¶
type PostNodeScheduleCronJSONRequestBody = CronCreateRequest
PostNodeScheduleCronJSONRequestBody defines body for PostNodeScheduleCron for application/json ContentType.
type PostNodeScheduleCronResponse ¶
type PostNodeScheduleCronResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *CronCreateResponse
JSON400 *ErrorResponse
JSON401 *ErrorResponse
JSON403 *ErrorResponse
JSON500 *ErrorResponse
}
func ParsePostNodeScheduleCronResponse ¶
func ParsePostNodeScheduleCronResponse(rsp *http.Response) (*PostNodeScheduleCronResponse, error)
ParsePostNodeScheduleCronResponse parses an HTTP response from a PostNodeScheduleCronWithResponse call
func (PostNodeScheduleCronResponse) Status ¶
func (r PostNodeScheduleCronResponse) Status() string
Status returns HTTPResponse.Status
func (PostNodeScheduleCronResponse) StatusCode ¶
func (r PostNodeScheduleCronResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostNodeServiceDisableResponse ¶
type PostNodeServiceDisableResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ServiceMutationResponse
JSON400 *ErrorResponse
JSON401 *ErrorResponse
JSON403 *ErrorResponse
JSON500 *ErrorResponse
}
func ParsePostNodeServiceDisableResponse ¶
func ParsePostNodeServiceDisableResponse(rsp *http.Response) (*PostNodeServiceDisableResponse, error)
ParsePostNodeServiceDisableResponse parses an HTTP response from a PostNodeServiceDisableWithResponse call
func (PostNodeServiceDisableResponse) Status ¶
func (r PostNodeServiceDisableResponse) Status() string
Status returns HTTPResponse.Status
func (PostNodeServiceDisableResponse) StatusCode ¶
func (r PostNodeServiceDisableResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostNodeServiceEnableResponse ¶
type PostNodeServiceEnableResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ServiceMutationResponse
JSON400 *ErrorResponse
JSON401 *ErrorResponse
JSON403 *ErrorResponse
JSON500 *ErrorResponse
}
func ParsePostNodeServiceEnableResponse ¶
func ParsePostNodeServiceEnableResponse(rsp *http.Response) (*PostNodeServiceEnableResponse, error)
ParsePostNodeServiceEnableResponse parses an HTTP response from a PostNodeServiceEnableWithResponse call
func (PostNodeServiceEnableResponse) Status ¶
func (r PostNodeServiceEnableResponse) Status() string
Status returns HTTPResponse.Status
func (PostNodeServiceEnableResponse) StatusCode ¶
func (r PostNodeServiceEnableResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostNodeServiceJSONRequestBody ¶
type PostNodeServiceJSONRequestBody = ServiceCreateRequest
PostNodeServiceJSONRequestBody defines body for PostNodeService for application/json ContentType.
type PostNodeServiceResponse ¶
type PostNodeServiceResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ServiceMutationResponse
JSON400 *ErrorResponse
JSON401 *ErrorResponse
JSON403 *ErrorResponse
JSON500 *ErrorResponse
}
func ParsePostNodeServiceResponse ¶
func ParsePostNodeServiceResponse(rsp *http.Response) (*PostNodeServiceResponse, error)
ParsePostNodeServiceResponse parses an HTTP response from a PostNodeServiceWithResponse call
func (PostNodeServiceResponse) Status ¶
func (r PostNodeServiceResponse) Status() string
Status returns HTTPResponse.Status
func (PostNodeServiceResponse) StatusCode ¶
func (r PostNodeServiceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostNodeServiceRestartResponse ¶
type PostNodeServiceRestartResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ServiceMutationResponse
JSON400 *ErrorResponse
JSON401 *ErrorResponse
JSON403 *ErrorResponse
JSON500 *ErrorResponse
}
func ParsePostNodeServiceRestartResponse ¶
func ParsePostNodeServiceRestartResponse(rsp *http.Response) (*PostNodeServiceRestartResponse, error)
ParsePostNodeServiceRestartResponse parses an HTTP response from a PostNodeServiceRestartWithResponse call
func (PostNodeServiceRestartResponse) Status ¶
func (r PostNodeServiceRestartResponse) Status() string
Status returns HTTPResponse.Status
func (PostNodeServiceRestartResponse) StatusCode ¶
func (r PostNodeServiceRestartResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostNodeServiceStartResponse ¶
type PostNodeServiceStartResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ServiceMutationResponse
JSON400 *ErrorResponse
JSON401 *ErrorResponse
JSON403 *ErrorResponse
JSON500 *ErrorResponse
}
func ParsePostNodeServiceStartResponse ¶
func ParsePostNodeServiceStartResponse(rsp *http.Response) (*PostNodeServiceStartResponse, error)
ParsePostNodeServiceStartResponse parses an HTTP response from a PostNodeServiceStartWithResponse call
func (PostNodeServiceStartResponse) Status ¶
func (r PostNodeServiceStartResponse) Status() string
Status returns HTTPResponse.Status
func (PostNodeServiceStartResponse) StatusCode ¶
func (r PostNodeServiceStartResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostNodeServiceStopResponse ¶
type PostNodeServiceStopResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ServiceMutationResponse
JSON400 *ErrorResponse
JSON401 *ErrorResponse
JSON403 *ErrorResponse
JSON500 *ErrorResponse
}
func ParsePostNodeServiceStopResponse ¶
func ParsePostNodeServiceStopResponse(rsp *http.Response) (*PostNodeServiceStopResponse, error)
ParsePostNodeServiceStopResponse parses an HTTP response from a PostNodeServiceStopWithResponse call
func (PostNodeServiceStopResponse) Status ¶
func (r PostNodeServiceStopResponse) Status() string
Status returns HTTPResponse.Status
func (PostNodeServiceStopResponse) StatusCode ¶
func (r PostNodeServiceStopResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostNodeSysctlJSONRequestBody ¶
type PostNodeSysctlJSONRequestBody = SysctlCreateRequest
PostNodeSysctlJSONRequestBody defines body for PostNodeSysctl for application/json ContentType.
type PostNodeSysctlResponse ¶
type PostNodeSysctlResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *SysctlCreateResponse
JSON400 *ErrorResponse
JSON401 *ErrorResponse
JSON403 *ErrorResponse
JSON500 *ErrorResponse
}
func ParsePostNodeSysctlResponse ¶
func ParsePostNodeSysctlResponse(rsp *http.Response) (*PostNodeSysctlResponse, error)
ParsePostNodeSysctlResponse parses an HTTP response from a PostNodeSysctlWithResponse call
func (PostNodeSysctlResponse) Status ¶
func (r PostNodeSysctlResponse) Status() string
Status returns HTTPResponse.Status
func (PostNodeSysctlResponse) StatusCode ¶
func (r PostNodeSysctlResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostNodeUserJSONRequestBody ¶
type PostNodeUserJSONRequestBody = UserCreateRequest
PostNodeUserJSONRequestBody defines body for PostNodeUser for application/json ContentType.
type PostNodeUserPasswordJSONRequestBody ¶
type PostNodeUserPasswordJSONRequestBody = UserPasswordRequest
PostNodeUserPasswordJSONRequestBody defines body for PostNodeUserPassword for application/json ContentType.
type PostNodeUserPasswordResponse ¶
type PostNodeUserPasswordResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *UserMutationResponse
JSON400 *ErrorResponse
JSON401 *ErrorResponse
JSON403 *ErrorResponse
JSON404 *ErrorResponse
JSON500 *ErrorResponse
}
func ParsePostNodeUserPasswordResponse ¶
func ParsePostNodeUserPasswordResponse(rsp *http.Response) (*PostNodeUserPasswordResponse, error)
ParsePostNodeUserPasswordResponse parses an HTTP response from a PostNodeUserPasswordWithResponse call
func (PostNodeUserPasswordResponse) Status ¶
func (r PostNodeUserPasswordResponse) Status() string
Status returns HTTPResponse.Status
func (PostNodeUserPasswordResponse) StatusCode ¶
func (r PostNodeUserPasswordResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostNodeUserResponse ¶
type PostNodeUserResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *UserMutationResponse
JSON400 *ErrorResponse
JSON401 *ErrorResponse
JSON403 *ErrorResponse
JSON500 *ErrorResponse
}
func ParsePostNodeUserResponse ¶
func ParsePostNodeUserResponse(rsp *http.Response) (*PostNodeUserResponse, error)
ParsePostNodeUserResponse parses an HTTP response from a PostNodeUserWithResponse call
func (PostNodeUserResponse) Status ¶
func (r PostNodeUserResponse) Status() string
Status returns HTTPResponse.Status
func (PostNodeUserResponse) StatusCode ¶
func (r PostNodeUserResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostNodeUserSSHKeyJSONRequestBody ¶
type PostNodeUserSSHKeyJSONRequestBody = SSHKeyAddRequest
PostNodeUserSSHKeyJSONRequestBody defines body for PostNodeUserSSHKey for application/json ContentType.
type PostNodeUserSSHKeyResponse ¶
type PostNodeUserSSHKeyResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *SSHKeyMutationResponse
JSON400 *ErrorResponse
JSON401 *ErrorResponse
JSON403 *ErrorResponse
JSON500 *ErrorResponse
}
func ParsePostNodeUserSSHKeyResponse ¶
func ParsePostNodeUserSSHKeyResponse(rsp *http.Response) (*PostNodeUserSSHKeyResponse, error)
ParsePostNodeUserSSHKeyResponse parses an HTTP response from a PostNodeUserSSHKeyWithResponse call
func (PostNodeUserSSHKeyResponse) Status ¶
func (r PostNodeUserSSHKeyResponse) Status() string
Status returns HTTPResponse.Status
func (PostNodeUserSSHKeyResponse) StatusCode ¶
func (r PostNodeUserSSHKeyResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PowerRebootResponse ¶
type PowerRebootResponse struct {
// JobId The job ID used to process this request.
JobId *openapi_types.UUID `json:"job_id,omitempty"`
Results []PowerResult `json:"results"`
}
PowerRebootResponse defines model for PowerRebootResponse.
type PowerRequest ¶
type PowerRequest struct {
// Delay Delay in seconds before the operation is executed.
Delay *int `json:"delay,omitempty" validate:"omitempty,min=0"`
// Message Optional message to broadcast before the operation.
Message *string `json:"message,omitempty" validate:"omitempty"`
}
PowerRequest defines model for PowerRequest.
type PowerResult ¶
type PowerResult struct {
// Action The power action performed (reboot, shutdown).
Action *string `json:"action,omitempty"`
// Changed Whether the operation modified system state.
Changed *bool `json:"changed,omitempty"`
// Delay The delay in seconds before the operation executes.
Delay *int `json:"delay,omitempty"`
// Error Error message if the agent failed.
Error *string `json:"error,omitempty"`
// Hostname Hostname of the agent that processed this operation.
Hostname string `json:"hostname"`
// Status The status of the operation for this host.
Status PowerResultStatus `json:"status"`
}
PowerResult Result of a power operation for one host.
type PowerResultStatus ¶
type PowerResultStatus string
PowerResultStatus The status of the operation for this host.
const ( PowerResultStatusFailed PowerResultStatus = "failed" PowerResultStatusOk PowerResultStatus = "ok" PowerResultStatusSkipped PowerResultStatus = "skipped" )
Defines values for PowerResultStatus.
type PowerShutdownResponse ¶
type PowerShutdownResponse struct {
// JobId The job ID used to process this request.
JobId *openapi_types.UUID `json:"job_id,omitempty"`
Results []PowerResult `json:"results"`
}
PowerShutdownResponse defines model for PowerShutdownResponse.
type ProcessCollectionResponse ¶
type ProcessCollectionResponse struct {
// JobId The job ID used to process this request.
JobId *openapi_types.UUID `json:"job_id,omitempty"`
Results []ProcessEntry `json:"results"`
}
ProcessCollectionResponse defines model for ProcessCollectionResponse.
type ProcessEntry ¶
type ProcessEntry struct {
// Error Error message if the agent failed.
Error *string `json:"error,omitempty"`
// Hostname The hostname of the agent.
Hostname string `json:"hostname"`
// Processes List of processes on this agent.
Processes *[]ProcessInfo `json:"processes,omitempty"`
// Status The status of the operation for this host.
Status ProcessEntryStatus `json:"status"`
}
ProcessEntry Process list result for a single agent.
type ProcessEntryStatus ¶
type ProcessEntryStatus string
ProcessEntryStatus The status of the operation for this host.
const ( ProcessEntryStatusFailed ProcessEntryStatus = "failed" ProcessEntryStatusOk ProcessEntryStatus = "ok" ProcessEntryStatusSkipped ProcessEntryStatus = "skipped" )
Defines values for ProcessEntryStatus.
type ProcessGetEntry ¶
type ProcessGetEntry struct {
// Error Error message if the agent failed.
Error *string `json:"error,omitempty"`
// Hostname The hostname of the agent.
Hostname string `json:"hostname"`
// Process Information about a running process.
Process *ProcessInfo `json:"process,omitempty"`
// Status The status of the operation for this host.
Status ProcessGetEntryStatus `json:"status"`
}
ProcessGetEntry Process get result for a single agent.
type ProcessGetEntryStatus ¶
type ProcessGetEntryStatus string
ProcessGetEntryStatus The status of the operation for this host.
const ( ProcessGetEntryStatusFailed ProcessGetEntryStatus = "failed" ProcessGetEntryStatusOk ProcessGetEntryStatus = "ok" ProcessGetEntryStatusSkipped ProcessGetEntryStatus = "skipped" )
Defines values for ProcessGetEntryStatus.
type ProcessGetResponse ¶
type ProcessGetResponse struct {
// JobId The job ID used to process this request.
JobId *openapi_types.UUID `json:"job_id,omitempty"`
Results []ProcessGetEntry `json:"results"`
}
ProcessGetResponse defines model for ProcessGetResponse.
type ProcessInfo ¶
type ProcessInfo struct {
// Command Full command line.
Command *string `json:"command,omitempty"`
// CpuPercent CPU usage percentage.
CpuPercent *float64 `json:"cpu_percent,omitempty"`
// MemPercent Memory usage percentage.
MemPercent *float32 `json:"mem_percent,omitempty"`
// MemRss Resident set size in bytes.
MemRss *int64 `json:"mem_rss,omitempty"`
// Name Process name.
Name *string `json:"name,omitempty"`
// Pid Process identifier.
Pid *int `json:"pid,omitempty"`
// StartTime Process start time.
StartTime *string `json:"start_time,omitempty"`
// State Process state.
State *string `json:"state,omitempty"`
// User User running the process.
User *string `json:"user,omitempty"`
}
ProcessInfo Information about a running process.
type ProcessSignalRequest ¶
type ProcessSignalRequest struct {
// Signal Signal name to send to the process.
Signal ProcessSignalRequestSignal `json:"signal" validate:"required,oneof=TERM KILL HUP INT USR1 USR2"`
}
ProcessSignalRequest defines model for ProcessSignalRequest.
type ProcessSignalRequestSignal ¶
type ProcessSignalRequestSignal string
ProcessSignalRequestSignal Signal name to send to the process.
const ( HUP ProcessSignalRequestSignal = "HUP" INT ProcessSignalRequestSignal = "INT" KILL ProcessSignalRequestSignal = "KILL" TERM ProcessSignalRequestSignal = "TERM" USR1 ProcessSignalRequestSignal = "USR1" USR2 ProcessSignalRequestSignal = "USR2" )
Defines values for ProcessSignalRequestSignal.
type ProcessSignalResponse ¶
type ProcessSignalResponse struct {
// JobId The job ID used to process this request.
JobId *openapi_types.UUID `json:"job_id,omitempty"`
Results []ProcessSignalResult `json:"results"`
}
ProcessSignalResponse defines model for ProcessSignalResponse.
type ProcessSignalResult ¶
type ProcessSignalResult struct {
// Changed Whether the operation modified system state.
Changed *bool `json:"changed,omitempty"`
// Error Error message if the agent failed.
Error *string `json:"error,omitempty"`
// Hostname The hostname of the agent.
Hostname string `json:"hostname"`
// Pid Process identifier.
Pid *int `json:"pid,omitempty"`
// Signal Signal that was sent.
Signal *string `json:"signal,omitempty"`
// Status The status of the operation for this host.
Status ProcessSignalResultStatus `json:"status"`
}
ProcessSignalResult Result of sending a signal to a process.
type ProcessSignalResultStatus ¶
type ProcessSignalResultStatus string
ProcessSignalResultStatus The status of the operation for this host.
const ( ProcessSignalResultStatusFailed ProcessSignalResultStatus = "failed" ProcessSignalResultStatusOk ProcessSignalResultStatus = "ok" ProcessSignalResultStatusSkipped ProcessSignalResultStatus = "skipped" )
Defines values for ProcessSignalResultStatus.
type PutNodeCertificateCaJSONRequestBody ¶
type PutNodeCertificateCaJSONRequestBody = CertificateCAUpdateRequest
PutNodeCertificateCaJSONRequestBody defines body for PutNodeCertificateCa for application/json ContentType.
type PutNodeCertificateCaResponse ¶
type PutNodeCertificateCaResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *CertificateCAMutationResponse
JSON400 *ErrorResponse
JSON401 *ErrorResponse
JSON403 *ErrorResponse
JSON404 *ErrorResponse
JSON500 *ErrorResponse
}
func ParsePutNodeCertificateCaResponse ¶
func ParsePutNodeCertificateCaResponse(rsp *http.Response) (*PutNodeCertificateCaResponse, error)
ParsePutNodeCertificateCaResponse parses an HTTP response from a PutNodeCertificateCaWithResponse call
func (PutNodeCertificateCaResponse) Status ¶
func (r PutNodeCertificateCaResponse) Status() string
Status returns HTTPResponse.Status
func (PutNodeCertificateCaResponse) StatusCode ¶
func (r PutNodeCertificateCaResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PutNodeGroupJSONRequestBody ¶
type PutNodeGroupJSONRequestBody = GroupUpdateRequest
PutNodeGroupJSONRequestBody defines body for PutNodeGroup for application/json ContentType.
type PutNodeGroupResponse ¶
type PutNodeGroupResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *GroupMutationResponse
JSON400 *ErrorResponse
JSON401 *ErrorResponse
JSON403 *ErrorResponse
JSON404 *ErrorResponse
JSON500 *ErrorResponse
}
func ParsePutNodeGroupResponse ¶
func ParsePutNodeGroupResponse(rsp *http.Response) (*PutNodeGroupResponse, error)
ParsePutNodeGroupResponse parses an HTTP response from a PutNodeGroupWithResponse call
func (PutNodeGroupResponse) Status ¶
func (r PutNodeGroupResponse) Status() string
Status returns HTTPResponse.Status
func (PutNodeGroupResponse) StatusCode ¶
func (r PutNodeGroupResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PutNodeHostnameJSONRequestBody ¶
type PutNodeHostnameJSONRequestBody = HostnameUpdateRequest
PutNodeHostnameJSONRequestBody defines body for PutNodeHostname for application/json ContentType.
type PutNodeHostnameResponse ¶
type PutNodeHostnameResponse struct {
Body []byte
HTTPResponse *http.Response
JSON202 *HostnameUpdateCollectionResponse
JSON400 *ErrorResponse
JSON401 *ErrorResponse
JSON403 *ErrorResponse
JSON500 *ErrorResponse
}
func ParsePutNodeHostnameResponse ¶
func ParsePutNodeHostnameResponse(rsp *http.Response) (*PutNodeHostnameResponse, error)
ParsePutNodeHostnameResponse parses an HTTP response from a PutNodeHostnameWithResponse call
func (PutNodeHostnameResponse) Status ¶
func (r PutNodeHostnameResponse) Status() string
Status returns HTTPResponse.Status
func (PutNodeHostnameResponse) StatusCode ¶
func (r PutNodeHostnameResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PutNodeNetworkDNSJSONRequestBody ¶
type PutNodeNetworkDNSJSONRequestBody = DNSConfigUpdateRequest
PutNodeNetworkDNSJSONRequestBody defines body for PutNodeNetworkDNS for application/json ContentType.
type PutNodeNetworkDNSResponse ¶
type PutNodeNetworkDNSResponse struct {
Body []byte
HTTPResponse *http.Response
JSON202 *DNSUpdateCollectionResponse
JSON400 *ErrorResponse
JSON401 *ErrorResponse
JSON403 *ErrorResponse
JSON500 *ErrorResponse
}
func ParsePutNodeNetworkDNSResponse ¶
func ParsePutNodeNetworkDNSResponse(rsp *http.Response) (*PutNodeNetworkDNSResponse, error)
ParsePutNodeNetworkDNSResponse parses an HTTP response from a PutNodeNetworkDNSWithResponse call
func (PutNodeNetworkDNSResponse) Status ¶
func (r PutNodeNetworkDNSResponse) Status() string
Status returns HTTPResponse.Status
func (PutNodeNetworkDNSResponse) StatusCode ¶
func (r PutNodeNetworkDNSResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PutNodeNetworkInterfaceJSONRequestBody ¶
type PutNodeNetworkInterfaceJSONRequestBody = InterfaceConfigRequest
PutNodeNetworkInterfaceJSONRequestBody defines body for PutNodeNetworkInterface for application/json ContentType.
type PutNodeNetworkInterfaceResponse ¶
type PutNodeNetworkInterfaceResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *InterfaceMutationResponse
JSON400 *ErrorResponse
JSON401 *ErrorResponse
JSON403 *ErrorResponse
JSON404 *ErrorResponse
JSON500 *ErrorResponse
}
func ParsePutNodeNetworkInterfaceResponse ¶
func ParsePutNodeNetworkInterfaceResponse(rsp *http.Response) (*PutNodeNetworkInterfaceResponse, error)
ParsePutNodeNetworkInterfaceResponse parses an HTTP response from a PutNodeNetworkInterfaceWithResponse call
func (PutNodeNetworkInterfaceResponse) Status ¶
func (r PutNodeNetworkInterfaceResponse) Status() string
Status returns HTTPResponse.Status
func (PutNodeNetworkInterfaceResponse) StatusCode ¶
func (r PutNodeNetworkInterfaceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PutNodeNetworkRouteJSONRequestBody ¶
type PutNodeNetworkRouteJSONRequestBody = RouteConfigRequest
PutNodeNetworkRouteJSONRequestBody defines body for PutNodeNetworkRoute for application/json ContentType.
type PutNodeNetworkRouteResponse ¶
type PutNodeNetworkRouteResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *RouteMutationResponse
JSON400 *ErrorResponse
JSON401 *ErrorResponse
JSON403 *ErrorResponse
JSON404 *ErrorResponse
JSON500 *ErrorResponse
}
func ParsePutNodeNetworkRouteResponse ¶
func ParsePutNodeNetworkRouteResponse(rsp *http.Response) (*PutNodeNetworkRouteResponse, error)
ParsePutNodeNetworkRouteResponse parses an HTTP response from a PutNodeNetworkRouteWithResponse call
func (PutNodeNetworkRouteResponse) Status ¶
func (r PutNodeNetworkRouteResponse) Status() string
Status returns HTTPResponse.Status
func (PutNodeNetworkRouteResponse) StatusCode ¶
func (r PutNodeNetworkRouteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PutNodeNtpJSONRequestBody ¶
type PutNodeNtpJSONRequestBody = NtpUpdateRequest
PutNodeNtpJSONRequestBody defines body for PutNodeNtp for application/json ContentType.
type PutNodeNtpResponse ¶
type PutNodeNtpResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *NtpUpdateResponse
JSON400 *ErrorResponse
JSON401 *ErrorResponse
JSON403 *ErrorResponse
JSON404 *ErrorResponse
JSON500 *ErrorResponse
}
func ParsePutNodeNtpResponse ¶
func ParsePutNodeNtpResponse(rsp *http.Response) (*PutNodeNtpResponse, error)
ParsePutNodeNtpResponse parses an HTTP response from a PutNodeNtpWithResponse call
func (PutNodeNtpResponse) Status ¶
func (r PutNodeNtpResponse) Status() string
Status returns HTTPResponse.Status
func (PutNodeNtpResponse) StatusCode ¶
func (r PutNodeNtpResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PutNodeScheduleCronJSONRequestBody ¶
type PutNodeScheduleCronJSONRequestBody = CronUpdateRequest
PutNodeScheduleCronJSONRequestBody defines body for PutNodeScheduleCron for application/json ContentType.
type PutNodeScheduleCronResponse ¶
type PutNodeScheduleCronResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *CronUpdateResponse
JSON400 *ErrorResponse
JSON401 *ErrorResponse
JSON403 *ErrorResponse
JSON404 *ErrorResponse
JSON500 *ErrorResponse
}
func ParsePutNodeScheduleCronResponse ¶
func ParsePutNodeScheduleCronResponse(rsp *http.Response) (*PutNodeScheduleCronResponse, error)
ParsePutNodeScheduleCronResponse parses an HTTP response from a PutNodeScheduleCronWithResponse call
func (PutNodeScheduleCronResponse) Status ¶
func (r PutNodeScheduleCronResponse) Status() string
Status returns HTTPResponse.Status
func (PutNodeScheduleCronResponse) StatusCode ¶
func (r PutNodeScheduleCronResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PutNodeServiceJSONRequestBody ¶
type PutNodeServiceJSONRequestBody = ServiceUpdateRequest
PutNodeServiceJSONRequestBody defines body for PutNodeService for application/json ContentType.
type PutNodeServiceResponse ¶
type PutNodeServiceResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ServiceMutationResponse
JSON400 *ErrorResponse
JSON401 *ErrorResponse
JSON403 *ErrorResponse
JSON404 *ErrorResponse
JSON500 *ErrorResponse
}
func ParsePutNodeServiceResponse ¶
func ParsePutNodeServiceResponse(rsp *http.Response) (*PutNodeServiceResponse, error)
ParsePutNodeServiceResponse parses an HTTP response from a PutNodeServiceWithResponse call
func (PutNodeServiceResponse) Status ¶
func (r PutNodeServiceResponse) Status() string
Status returns HTTPResponse.Status
func (PutNodeServiceResponse) StatusCode ¶
func (r PutNodeServiceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PutNodeSysctlJSONRequestBody ¶
type PutNodeSysctlJSONRequestBody = SysctlUpdateRequest
PutNodeSysctlJSONRequestBody defines body for PutNodeSysctl for application/json ContentType.
type PutNodeSysctlResponse ¶
type PutNodeSysctlResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *SysctlUpdateResponse
JSON400 *ErrorResponse
JSON401 *ErrorResponse
JSON403 *ErrorResponse
JSON404 *ErrorResponse
JSON500 *ErrorResponse
}
func ParsePutNodeSysctlResponse ¶
func ParsePutNodeSysctlResponse(rsp *http.Response) (*PutNodeSysctlResponse, error)
ParsePutNodeSysctlResponse parses an HTTP response from a PutNodeSysctlWithResponse call
func (PutNodeSysctlResponse) Status ¶
func (r PutNodeSysctlResponse) Status() string
Status returns HTTPResponse.Status
func (PutNodeSysctlResponse) StatusCode ¶
func (r PutNodeSysctlResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PutNodeTimezoneJSONRequestBody ¶
type PutNodeTimezoneJSONRequestBody = TimezoneUpdateRequest
PutNodeTimezoneJSONRequestBody defines body for PutNodeTimezone for application/json ContentType.
type PutNodeTimezoneResponse ¶
type PutNodeTimezoneResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *TimezoneUpdateResponse
JSON400 *ErrorResponse
JSON401 *ErrorResponse
JSON403 *ErrorResponse
JSON500 *ErrorResponse
}
func ParsePutNodeTimezoneResponse ¶
func ParsePutNodeTimezoneResponse(rsp *http.Response) (*PutNodeTimezoneResponse, error)
ParsePutNodeTimezoneResponse parses an HTTP response from a PutNodeTimezoneWithResponse call
func (PutNodeTimezoneResponse) Status ¶
func (r PutNodeTimezoneResponse) Status() string
Status returns HTTPResponse.Status
func (PutNodeTimezoneResponse) StatusCode ¶
func (r PutNodeTimezoneResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PutNodeUserJSONRequestBody ¶
type PutNodeUserJSONRequestBody = UserUpdateRequest
PutNodeUserJSONRequestBody defines body for PutNodeUser for application/json ContentType.
type PutNodeUserResponse ¶
type PutNodeUserResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *UserMutationResponse
JSON400 *ErrorResponse
JSON401 *ErrorResponse
JSON403 *ErrorResponse
JSON404 *ErrorResponse
JSON500 *ErrorResponse
}
func ParsePutNodeUserResponse ¶
func ParsePutNodeUserResponse(rsp *http.Response) (*PutNodeUserResponse, error)
ParsePutNodeUserResponse parses an HTTP response from a PutNodeUserWithResponse call
func (PutNodeUserResponse) Status ¶
func (r PutNodeUserResponse) Status() string
Status returns HTTPResponse.Status
func (PutNodeUserResponse) StatusCode ¶
func (r PutNodeUserResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ReadyResponse ¶
type ReadyResponse struct {
// Error Error message when not ready.
Error *string `json:"error,omitempty"`
// Status Readiness status.
Status string `json:"status"`
}
ReadyResponse defines model for ReadyResponse.
type RejectAgentResponse ¶
type RejectAgentResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Message string `json:"message"`
}
JSON400 *ErrorResponse
JSON401 *ErrorResponse
JSON403 *ErrorResponse
JSON404 *ErrorResponse
JSON500 *ErrorResponse
}
func ParseRejectAgentResponse ¶
func ParseRejectAgentResponse(rsp *http.Response) (*RejectAgentResponse, error)
ParseRejectAgentResponse parses an HTTP response from a RejectAgentWithResponse call
func (RejectAgentResponse) Status ¶
func (r RejectAgentResponse) Status() string
Status returns HTTPResponse.Status
func (RejectAgentResponse) StatusCode ¶
func (r RejectAgentResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RequestEditorFn ¶
RequestEditorFn is the function signature for the RequestEditor callback function
type RetryJobByIDJSONRequestBody ¶
type RetryJobByIDJSONRequestBody = RetryJobRequest
RetryJobByIDJSONRequestBody defines body for RetryJobByID for application/json ContentType.
type RetryJobByIDResponse ¶
type RetryJobByIDResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *CreateJobResponse
JSON400 *ErrorResponse
JSON401 *ErrorResponse
JSON403 *ErrorResponse
JSON404 *ErrorResponse
JSON500 *ErrorResponse
}
func ParseRetryJobByIDResponse ¶
func ParseRetryJobByIDResponse(rsp *http.Response) (*RetryJobByIDResponse, error)
ParseRetryJobByIDResponse parses an HTTP response from a RetryJobByIDWithResponse call
func (RetryJobByIDResponse) Status ¶
func (r RetryJobByIDResponse) Status() string
Status returns HTTPResponse.Status
func (RetryJobByIDResponse) StatusCode ¶
func (r RetryJobByIDResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RetryJobRequest ¶
type RetryJobRequest struct {
// TargetHostname Override target hostname for the retried job. Defaults to _any if not specified.
TargetHostname *string `json:"target_hostname,omitempty" validate:"omitempty,min=1,valid_target"`
}
RetryJobRequest defines model for RetryJobRequest.
type RouteConfigRequest ¶
type RouteConfigRequest struct {
Routes []RouteItem `json:"routes" validate:"required,min=1,dive"`
}
RouteConfigRequest defines model for RouteConfigRequest.
type RouteGetEntry ¶
type RouteGetEntry struct {
// Error Error message if the agent failed.
Error *string `json:"error,omitempty"`
// Hostname Hostname of the agent that reported this entry.
Hostname string `json:"hostname"`
// Routes Routes for the specified interface.
Routes *[]RouteInfo `json:"routes,omitempty"`
// Status The status of the operation for this host.
Status RouteGetEntryStatus `json:"status"`
}
RouteGetEntry Route get result for a single agent.
type RouteGetEntryStatus ¶
type RouteGetEntryStatus string
RouteGetEntryStatus The status of the operation for this host.
const ( RouteGetEntryStatusFailed RouteGetEntryStatus = "failed" RouteGetEntryStatusOk RouteGetEntryStatus = "ok" RouteGetEntryStatusSkipped RouteGetEntryStatus = "skipped" )
Defines values for RouteGetEntryStatus.
type RouteGetResponse ¶
type RouteGetResponse struct {
// JobId The job ID used to process this request.
JobId *openapi_types.UUID `json:"job_id,omitempty"`
Results []RouteGetEntry `json:"results"`
}
RouteGetResponse defines model for RouteGetResponse.
type RouteInfo ¶
type RouteInfo struct {
// Destination Route destination in CIDR notation.
Destination *string `json:"destination,omitempty"`
// Gateway Gateway IP address.
Gateway *string `json:"gateway,omitempty"`
// Interface Network interface name.
Interface *string `json:"interface,omitempty"`
// Metric Route metric (priority).
Metric *int `json:"metric,omitempty"`
// Scope Route scope.
Scope *string `json:"scope,omitempty"`
}
RouteInfo Information about a network route.
type RouteInterfaceName ¶
type RouteInterfaceName = string
RouteInterfaceName defines model for RouteInterfaceName.
type RouteItem ¶
type RouteItem struct {
Metric *int `json:"metric,omitempty" validate:"omitempty,min=0"`
To string `json:"to" validate:"required,cidr"`
Via string `json:"via" validate:"required,ip"`
}
RouteItem defines model for RouteItem.
type RouteListEntry ¶
type RouteListEntry struct {
// Error Error message if the agent failed.
Error *string `json:"error,omitempty"`
// Hostname Hostname of the agent that reported this entry.
Hostname string `json:"hostname"`
// Routes List of network routes on this host.
Routes *[]RouteInfo `json:"routes,omitempty"`
// Status The status of the operation for this host.
Status RouteListEntryStatus `json:"status"`
}
RouteListEntry Route list result for a single agent.
type RouteListEntryStatus ¶
type RouteListEntryStatus string
RouteListEntryStatus The status of the operation for this host.
const ( RouteListEntryStatusFailed RouteListEntryStatus = "failed" RouteListEntryStatusOk RouteListEntryStatus = "ok" RouteListEntryStatusSkipped RouteListEntryStatus = "skipped" )
Defines values for RouteListEntryStatus.
type RouteListResponse ¶
type RouteListResponse struct {
// JobId The job ID used to process this request.
JobId *openapi_types.UUID `json:"job_id,omitempty"`
Results []RouteListEntry `json:"results"`
}
RouteListResponse defines model for RouteListResponse.
type RouteMutationEntry ¶
type RouteMutationEntry struct {
// Changed Whether the operation modified system state.
Changed *bool `json:"changed,omitempty"`
// Error Error message if the agent failed.
Error *string `json:"error,omitempty"`
// Hostname Hostname of the agent that processed this operation.
Hostname string `json:"hostname"`
// Interface Interface name the routes are associated with.
Interface *string `json:"interface,omitempty"`
// Status The status of the operation for this host.
Status RouteMutationEntryStatus `json:"status"`
}
RouteMutationEntry Result of a route mutation operation for one host.
type RouteMutationEntryStatus ¶
type RouteMutationEntryStatus string
RouteMutationEntryStatus The status of the operation for this host.
const ( RouteMutationEntryStatusFailed RouteMutationEntryStatus = "failed" RouteMutationEntryStatusOk RouteMutationEntryStatus = "ok" RouteMutationEntryStatusSkipped RouteMutationEntryStatus = "skipped" )
Defines values for RouteMutationEntryStatus.
type RouteMutationResponse ¶
type RouteMutationResponse struct {
// JobId The job ID used to process this request.
JobId *openapi_types.UUID `json:"job_id,omitempty"`
Results []RouteMutationEntry `json:"results"`
}
RouteMutationResponse defines model for RouteMutationResponse.
type RouteResponse ¶
type RouteResponse struct {
// Destination Destination network address.
Destination string `json:"destination"`
// Flags Route flags.
Flags *string `json:"flags,omitempty"`
// Gateway Gateway address.
Gateway string `json:"gateway"`
// Interface Network interface name.
Interface string `json:"interface"`
// Mask Network mask in CIDR notation.
Mask *string `json:"mask,omitempty"`
// Metric Route metric.
Metric *int `json:"metric,omitempty"`
}
RouteResponse A network routing table entry.
type SSHKeyAddRequest ¶
type SSHKeyAddRequest struct {
// Key Full SSH public key line (e.g., "ssh-ed25519 AAAA... user@host").
Key string `json:"key" validate:"required,min=1"`
}
SSHKeyAddRequest defines model for SSHKeyAddRequest.
type SSHKeyCollectionResponse ¶
type SSHKeyCollectionResponse struct {
// JobId The job ID used to process this request.
JobId *openapi_types.UUID `json:"job_id,omitempty"`
Results []SSHKeyEntry `json:"results"`
}
SSHKeyCollectionResponse defines model for SSHKeyCollectionResponse.
type SSHKeyEntry ¶
type SSHKeyEntry struct {
// Error Error message if the agent failed.
Error *string `json:"error,omitempty"`
// Hostname The hostname of the agent.
Hostname string `json:"hostname"`
// Keys SSH authorized keys on this agent.
Keys *[]SSHKeyInfo `json:"keys,omitempty"`
// Status The status of the operation for this host.
Status SSHKeyEntryStatus `json:"status"`
}
SSHKeyEntry SSH key list result for a single agent.
type SSHKeyEntryStatus ¶
type SSHKeyEntryStatus string
SSHKeyEntryStatus The status of the operation for this host.
const ( SSHKeyEntryStatusFailed SSHKeyEntryStatus = "failed" SSHKeyEntryStatusOk SSHKeyEntryStatus = "ok" SSHKeyEntryStatusSkipped SSHKeyEntryStatus = "skipped" )
Defines values for SSHKeyEntryStatus.
type SSHKeyFingerprint ¶
type SSHKeyFingerprint = string
SSHKeyFingerprint defines model for SSHKeyFingerprint.
type SSHKeyInfo ¶
type SSHKeyInfo struct {
// Comment Key comment (typically user@host).
Comment *string `json:"comment,omitempty"`
// Fingerprint SHA256 fingerprint of the key.
Fingerprint *string `json:"fingerprint,omitempty"`
// Type Key type (e.g., ssh-rsa, ssh-ed25519).
Type *string `json:"type,omitempty"`
}
SSHKeyInfo An SSH authorized key entry.
type SSHKeyMutationEntry ¶
type SSHKeyMutationEntry struct {
// Changed Whether the operation modified system state.
Changed *bool `json:"changed,omitempty"`
// Error Error message if the agent failed.
Error *string `json:"error,omitempty"`
// Hostname The hostname of the agent.
Hostname string `json:"hostname"`
// Status The status of the operation for this host.
Status SSHKeyMutationEntryStatus `json:"status"`
}
SSHKeyMutationEntry SSH key mutation result for a single agent.
type SSHKeyMutationEntryStatus ¶
type SSHKeyMutationEntryStatus string
SSHKeyMutationEntryStatus The status of the operation for this host.
const ( SSHKeyMutationEntryStatusFailed SSHKeyMutationEntryStatus = "failed" SSHKeyMutationEntryStatusOk SSHKeyMutationEntryStatus = "ok" SSHKeyMutationEntryStatusSkipped SSHKeyMutationEntryStatus = "skipped" )
Defines values for SSHKeyMutationEntryStatus.
type SSHKeyMutationResponse ¶
type SSHKeyMutationResponse struct {
// JobId The job ID used to process this request.
JobId *openapi_types.UUID `json:"job_id,omitempty"`
Results []SSHKeyMutationEntry `json:"results"`
}
SSHKeyMutationResponse defines model for SSHKeyMutationResponse.
type ServiceCreateRequest ¶
type ServiceCreateRequest struct {
// Name Service unit name.
Name string `json:"name" validate:"required,min=1"`
// Object Object Store reference for the unit file.
Object string `json:"object" validate:"required,min=1"`
}
ServiceCreateRequest defines model for ServiceCreateRequest.
type ServiceGetEntry ¶
type ServiceGetEntry struct {
// Error Error message if the agent failed.
Error *string `json:"error,omitempty"`
// Hostname Hostname of the agent that reported this entry.
Hostname string `json:"hostname"`
// Service Information about a systemd service.
Service *ServiceInfo `json:"service,omitempty"`
// Status The status of the operation for this host.
Status ServiceGetEntryStatus `json:"status"`
}
ServiceGetEntry Service get result for a single agent.
type ServiceGetEntryStatus ¶
type ServiceGetEntryStatus string
ServiceGetEntryStatus The status of the operation for this host.
const ( ServiceGetEntryStatusFailed ServiceGetEntryStatus = "failed" ServiceGetEntryStatusOk ServiceGetEntryStatus = "ok" ServiceGetEntryStatusSkipped ServiceGetEntryStatus = "skipped" )
Defines values for ServiceGetEntryStatus.
type ServiceGetResponse ¶
type ServiceGetResponse struct {
// JobId The job ID used to process this request.
JobId *openapi_types.UUID `json:"job_id,omitempty"`
Results []ServiceGetEntry `json:"results"`
}
ServiceGetResponse defines model for ServiceGetResponse.
type ServiceInfo ¶
type ServiceInfo struct {
// Description Service description from the unit file.
Description *string `json:"description,omitempty"`
// Enabled Whether the service is enabled to start on boot.
Enabled *bool `json:"enabled,omitempty"`
// Name Service unit name.
Name *string `json:"name,omitempty"`
// Pid Main process ID of the service.
Pid *int `json:"pid,omitempty"`
// Status Active status of the service.
Status *string `json:"status,omitempty"`
}
ServiceInfo Information about a systemd service.
type ServiceListEntry ¶
type ServiceListEntry struct {
// Error Error message if the agent failed.
Error *string `json:"error,omitempty"`
// Hostname Hostname of the agent that reported this entry.
Hostname string `json:"hostname"`
// Services List of services on this host.
Services *[]ServiceInfo `json:"services,omitempty"`
// Status The status of the operation for this host.
Status ServiceListEntryStatus `json:"status"`
}
ServiceListEntry Service list result for a single agent.
type ServiceListEntryStatus ¶
type ServiceListEntryStatus string
ServiceListEntryStatus The status of the operation for this host.
const ( ServiceListEntryStatusFailed ServiceListEntryStatus = "failed" ServiceListEntryStatusOk ServiceListEntryStatus = "ok" ServiceListEntryStatusSkipped ServiceListEntryStatus = "skipped" )
Defines values for ServiceListEntryStatus.
type ServiceListResponse ¶
type ServiceListResponse struct {
// JobId The job ID used to process this request.
JobId *openapi_types.UUID `json:"job_id,omitempty"`
Results []ServiceListEntry `json:"results"`
}
ServiceListResponse defines model for ServiceListResponse.
type ServiceMutationEntry ¶
type ServiceMutationEntry struct {
// Changed Whether the operation modified system state.
Changed *bool `json:"changed,omitempty"`
// Error Error message if the agent failed.
Error *string `json:"error,omitempty"`
// Hostname Hostname of the agent that processed this operation.
Hostname string `json:"hostname"`
// Name Service unit name.
Name *string `json:"name,omitempty"`
// Status The status of the operation for this host.
Status ServiceMutationEntryStatus `json:"status"`
}
ServiceMutationEntry Result of a service mutation or action operation for one host.
type ServiceMutationEntryStatus ¶
type ServiceMutationEntryStatus string
ServiceMutationEntryStatus The status of the operation for this host.
const ( ServiceMutationEntryStatusFailed ServiceMutationEntryStatus = "failed" ServiceMutationEntryStatusOk ServiceMutationEntryStatus = "ok" ServiceMutationEntryStatusSkipped ServiceMutationEntryStatus = "skipped" )
Defines values for ServiceMutationEntryStatus.
type ServiceMutationResponse ¶
type ServiceMutationResponse struct {
// JobId The job ID used to process this request.
JobId *openapi_types.UUID `json:"job_id,omitempty"`
Results []ServiceMutationEntry `json:"results"`
}
ServiceMutationResponse defines model for ServiceMutationResponse.
type ServiceUpdateRequest ¶
type ServiceUpdateRequest struct {
// Object Object Store reference for the new unit file.
Object string `json:"object" validate:"required,min=1"`
}
ServiceUpdateRequest defines model for ServiceUpdateRequest.
type StaleDeployment ¶
type StaleDeployment struct {
// CurrentSha SHA-256 hash of the current object store content.
CurrentSha string `json:"current_sha"`
// DeployedAt When the file was last deployed.
DeployedAt string `json:"deployed_at"`
// DeployedSha SHA-256 hash of the currently deployed content.
DeployedSha string `json:"deployed_sha"`
// Hostname Host where the file is deployed.
Hostname string `json:"hostname"`
// ObjectName Name of the object in the Object Store.
ObjectName string `json:"object_name"`
// Path Deployment path on the target host.
Path string `json:"path"`
// Provider Provider that manages this deployment.
Provider string `json:"provider"`
}
StaleDeployment defines model for StaleDeployment.
type StaleDeploymentsResponse ¶
type StaleDeploymentsResponse struct {
Stale []StaleDeployment `json:"stale"`
// Total Total number of stale deployments.
Total int `json:"total"`
}
StaleDeploymentsResponse defines model for StaleDeploymentsResponse.
type StatusResponse ¶
type StatusResponse struct {
Agents *AgentStats `json:"agents,omitempty"`
// Components Per-component health status.
Components map[string]ComponentHealth `json:"components"`
Consumers *ConsumerStats `json:"consumers,omitempty"`
Jobs *JobStats `json:"jobs,omitempty"`
// KvBuckets KV bucket statistics.
KvBuckets *[]KVBucketInfo `json:"kv_buckets,omitempty"`
Nats *NATSInfo `json:"nats,omitempty"`
// ObjectStores Object Store statistics.
ObjectStores *[]ObjectStoreInfo `json:"object_stores,omitempty"`
// Registry All registered components with health details.
Registry *[]ComponentEntry `json:"registry,omitempty"`
// Status Overall health status.
Status string `json:"status"`
// Streams JetStream stream statistics.
Streams *[]StreamInfo `json:"streams,omitempty"`
// Uptime Time since server started.
Uptime string `json:"uptime"`
// Version Application version.
Version string `json:"version"`
}
StatusResponse defines model for StatusResponse.
type StreamInfo ¶
type StreamInfo struct {
// Bytes Total bytes in the stream.
Bytes int `json:"bytes"`
// Consumers Number of consumers on the stream.
Consumers int `json:"consumers"`
// Messages Number of messages in the stream.
Messages int `json:"messages"`
// Name Stream name.
Name string `json:"name"`
}
StreamInfo defines model for StreamInfo.
type SysctlCollectionResponse ¶
type SysctlCollectionResponse struct {
// JobId The job ID used to process this request.
JobId *openapi_types.UUID `json:"job_id,omitempty"`
Results []SysctlEntry `json:"results"`
}
SysctlCollectionResponse defines model for SysctlCollectionResponse.
type SysctlCreateRequest ¶
type SysctlCreateRequest struct {
// Key Sysctl parameter key (e.g., net.ipv4.ip_forward).
Key string `json:"key" validate:"required,min=1"`
// Value Value to set for the sysctl parameter.
Value string `json:"value" validate:"required"`
}
SysctlCreateRequest defines model for SysctlCreateRequest.
type SysctlCreateResponse ¶
type SysctlCreateResponse struct {
// JobId The job ID used to process this request.
JobId *openapi_types.UUID `json:"job_id,omitempty"`
Results []SysctlMutationResult `json:"results"`
}
SysctlCreateResponse defines model for SysctlCreateResponse.
type SysctlDeleteResponse ¶
type SysctlDeleteResponse struct {
// JobId The job ID used to process this request.
JobId *openapi_types.UUID `json:"job_id,omitempty"`
Results []SysctlMutationResult `json:"results"`
}
SysctlDeleteResponse defines model for SysctlDeleteResponse.
type SysctlEntry ¶
type SysctlEntry struct {
// Error Error message if the agent failed to retrieve this entry.
Error *string `json:"error,omitempty"`
// Hostname Hostname of the agent that reported this entry.
Hostname string `json:"hostname"`
// Key Sysctl parameter key.
Key *string `json:"key,omitempty"`
// Status The status of the operation for this host.
Status SysctlEntryStatus `json:"status"`
// Value Current value of the sysctl parameter.
Value *string `json:"value,omitempty"`
}
SysctlEntry A managed sysctl entry.
type SysctlEntryStatus ¶
type SysctlEntryStatus string
SysctlEntryStatus The status of the operation for this host.
const ( SysctlEntryStatusFailed SysctlEntryStatus = "failed" SysctlEntryStatusOk SysctlEntryStatus = "ok" SysctlEntryStatusSkipped SysctlEntryStatus = "skipped" )
Defines values for SysctlEntryStatus.
type SysctlGetResponse ¶
type SysctlGetResponse struct {
// JobId The job ID used to process this request.
JobId *openapi_types.UUID `json:"job_id,omitempty"`
Results []SysctlEntry `json:"results"`
}
SysctlGetResponse Collection response for a single sysctl entry get operation.
type SysctlMutationResult ¶
type SysctlMutationResult struct {
// Changed Whether the operation modified system state.
Changed *bool `json:"changed,omitempty"`
// Error Error message if the agent failed.
Error *string `json:"error,omitempty"`
// Hostname Hostname of the agent that processed this operation.
Hostname string `json:"hostname"`
// Key Sysctl parameter key.
Key *string `json:"key,omitempty"`
// Status The status of the operation for this host.
Status SysctlMutationResultStatus `json:"status"`
}
SysctlMutationResult Result of a sysctl create, update, or delete operation for one host.
type SysctlMutationResultStatus ¶
type SysctlMutationResultStatus string
SysctlMutationResultStatus The status of the operation for this host.
const ( SysctlMutationResultStatusFailed SysctlMutationResultStatus = "failed" SysctlMutationResultStatusOk SysctlMutationResultStatus = "ok" SysctlMutationResultStatusSkipped SysctlMutationResultStatus = "skipped" )
Defines values for SysctlMutationResultStatus.
type SysctlUpdateRequest ¶
type SysctlUpdateRequest struct {
// Value New value for the sysctl parameter.
Value string `json:"value" validate:"required"`
}
SysctlUpdateRequest defines model for SysctlUpdateRequest.
type SysctlUpdateResponse ¶
type SysctlUpdateResponse struct {
// JobId The job ID used to process this request.
JobId *openapi_types.UUID `json:"job_id,omitempty"`
Results []SysctlMutationResult `json:"results"`
}
SysctlUpdateResponse defines model for SysctlUpdateResponse.
type TimelineEvent ¶
type TimelineEvent struct {
Error *string `json:"error,omitempty"`
Event string `json:"event"`
Hostname *string `json:"hostname,omitempty"`
Message *string `json:"message,omitempty"`
Timestamp time.Time `json:"timestamp"`
}
TimelineEvent defines model for TimelineEvent.
type TimezoneCollectionResponse ¶
type TimezoneCollectionResponse struct {
// JobId The job ID used to process this request.
JobId *openapi_types.UUID `json:"job_id,omitempty"`
Results []TimezoneEntry `json:"results"`
}
TimezoneCollectionResponse defines model for TimezoneCollectionResponse.
type TimezoneEntry ¶
type TimezoneEntry struct {
// Error Error message if the agent failed.
Error *string `json:"error,omitempty"`
// Hostname Hostname of the agent that reported this entry.
Hostname string `json:"hostname"`
// Status The status of the operation for this host.
Status TimezoneEntryStatus `json:"status"`
// Timezone Current timezone name.
Timezone *string `json:"timezone,omitempty"`
// UtcOffset Current UTC offset (e.g., "-05:00").
UtcOffset *string `json:"utc_offset,omitempty"`
}
TimezoneEntry Timezone information for a single host.
type TimezoneEntryStatus ¶
type TimezoneEntryStatus string
TimezoneEntryStatus The status of the operation for this host.
const ( TimezoneEntryStatusFailed TimezoneEntryStatus = "failed" TimezoneEntryStatusOk TimezoneEntryStatus = "ok" TimezoneEntryStatusSkipped TimezoneEntryStatus = "skipped" )
Defines values for TimezoneEntryStatus.
type TimezoneMutationResult ¶
type TimezoneMutationResult struct {
// Changed Whether the operation modified system state.
Changed *bool `json:"changed,omitempty"`
// Error Error message if the agent failed.
Error *string `json:"error,omitempty"`
// Hostname Hostname of the agent that processed this operation.
Hostname string `json:"hostname"`
// Status The status of the operation for this host.
Status TimezoneMutationResultStatus `json:"status"`
// Timezone Timezone that was set.
Timezone *string `json:"timezone,omitempty"`
}
TimezoneMutationResult Result of a timezone update operation for one host.
type TimezoneMutationResultStatus ¶
type TimezoneMutationResultStatus string
TimezoneMutationResultStatus The status of the operation for this host.
const ( TimezoneMutationResultStatusFailed TimezoneMutationResultStatus = "failed" TimezoneMutationResultStatusOk TimezoneMutationResultStatus = "ok" TimezoneMutationResultStatusSkipped TimezoneMutationResultStatus = "skipped" )
Defines values for TimezoneMutationResultStatus.
type TimezoneUpdateRequest ¶
type TimezoneUpdateRequest struct {
// Timezone IANA timezone name (e.g., "America/New_York", "UTC").
Timezone string `json:"timezone" validate:"required,min=1"`
}
TimezoneUpdateRequest defines model for TimezoneUpdateRequest.
type TimezoneUpdateResponse ¶
type TimezoneUpdateResponse struct {
// JobId The job ID used to process this request.
JobId *openapi_types.UUID `json:"job_id,omitempty"`
Results []TimezoneMutationResult `json:"results"`
}
TimezoneUpdateResponse defines model for TimezoneUpdateResponse.
type UndrainAgentResponse ¶
type UndrainAgentResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Message string `json:"message"`
}
JSON400 *ErrorResponse
JSON401 *ErrorResponse
JSON403 *ErrorResponse
JSON404 *ErrorResponse
JSON409 *ErrorResponse
}
func ParseUndrainAgentResponse ¶
func ParseUndrainAgentResponse(rsp *http.Response) (*UndrainAgentResponse, error)
ParseUndrainAgentResponse parses an HTTP response from a UndrainAgentWithResponse call
func (UndrainAgentResponse) Status ¶
func (r UndrainAgentResponse) Status() string
Status returns HTTPResponse.Status
func (UndrainAgentResponse) StatusCode ¶
func (r UndrainAgentResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateCollectionResponse ¶
type UpdateCollectionResponse struct {
// JobId The job ID used to process this request.
JobId *openapi_types.UUID `json:"job_id,omitempty"`
Results []UpdateEntry `json:"results"`
}
UpdateCollectionResponse defines model for UpdateCollectionResponse.
type UpdateEntry ¶
type UpdateEntry struct {
// Error Error message if the agent failed.
Error *string `json:"error,omitempty"`
// Hostname Hostname of the agent that reported this entry.
Hostname string `json:"hostname"`
// Status The status of the operation for this host.
Status UpdateEntryStatus `json:"status"`
// Updates List of available updates.
Updates *[]UpdateInfo `json:"updates,omitempty"`
}
UpdateEntry An update list result for one host.
type UpdateEntryStatus ¶
type UpdateEntryStatus string
UpdateEntryStatus The status of the operation for this host.
const ( UpdateEntryStatusFailed UpdateEntryStatus = "failed" UpdateEntryStatusOk UpdateEntryStatus = "ok" UpdateEntryStatusSkipped UpdateEntryStatus = "skipped" )
Defines values for UpdateEntryStatus.
type UpdateInfo ¶
type UpdateInfo struct {
// CurrentVersion Currently installed version.
CurrentVersion *string `json:"current_version,omitempty"`
// Name Package name.
Name *string `json:"name,omitempty"`
// NewVersion Available version.
NewVersion *string `json:"new_version,omitempty"`
}
UpdateInfo Information about an available package update.
type UptimeCollectionResponse ¶
type UptimeCollectionResponse struct {
// JobId The job ID used to process this request.
JobId *openapi_types.UUID `json:"job_id,omitempty"`
Results []UptimeResponse `json:"results"`
}
UptimeCollectionResponse defines model for UptimeCollectionResponse.
type UptimeResponse ¶
type UptimeResponse struct {
// Changed Whether the operation modified system state.
Changed *bool `json:"changed,omitempty"`
// Error Error message if the agent failed.
Error *string `json:"error,omitempty"`
// Hostname The hostname of the agent.
Hostname string `json:"hostname"`
// Status The status of the operation for this host.
Status UptimeResponseStatus `json:"status"`
// Uptime The uptime of the system.
Uptime *string `json:"uptime,omitempty"`
}
UptimeResponse System uptime information.
type UptimeResponseStatus ¶
type UptimeResponseStatus string
UptimeResponseStatus The status of the operation for this host.
const ( UptimeResponseStatusFailed UptimeResponseStatus = "failed" UptimeResponseStatusOk UptimeResponseStatus = "ok" UptimeResponseStatusSkipped UptimeResponseStatus = "skipped" )
Defines values for UptimeResponseStatus.
type UserCollectionResponse ¶
type UserCollectionResponse struct {
// JobId The job ID used to process this request.
JobId *openapi_types.UUID `json:"job_id,omitempty"`
Results []UserEntry `json:"results"`
}
UserCollectionResponse defines model for UserCollectionResponse.
type UserCreateRequest ¶
type UserCreateRequest struct {
// Gid Primary group ID. If omitted, a group matching the username is created.
Gid *int `json:"gid,omitempty" validate:"omitempty,min=0"`
// Groups Supplementary group names.
Groups *[]string `json:"groups,omitempty"`
// Home Home directory path.
Home *string `json:"home,omitempty" validate:"omitempty,min=1"`
// Name Username for the new account.
Name string `json:"name" validate:"required,min=1,max=32"`
// Password Initial password (plaintext, hashed by the agent).
Password *string `json:"password,omitempty" validate:"omitempty,min=1"`
// Shell Login shell path.
Shell *string `json:"shell,omitempty" validate:"omitempty,min=1"`
// System Create a system account.
System *bool `json:"system,omitempty" validate:"omitempty"`
// Uid Numeric user ID. If omitted, the system assigns one.
Uid *int `json:"uid,omitempty" validate:"omitempty,min=0"`
}
UserCreateRequest defines model for UserCreateRequest.
type UserEntry ¶
type UserEntry struct {
// Error Error message if the agent failed.
Error *string `json:"error,omitempty"`
// Hostname Hostname of the agent that reported this entry.
Hostname string `json:"hostname"`
// Status The status of the operation for this host.
Status UserEntryStatus `json:"status"`
// Users User accounts on this host.
Users *[]UserInfo `json:"users,omitempty"`
}
UserEntry User listing result for one host.
type UserEntryStatus ¶
type UserEntryStatus string
UserEntryStatus The status of the operation for this host.
const ( UserEntryStatusFailed UserEntryStatus = "failed" UserEntryStatusOk UserEntryStatus = "ok" UserEntryStatusSkipped UserEntryStatus = "skipped" )
Defines values for UserEntryStatus.
type UserInfo ¶
type UserInfo struct {
// Gid Primary group ID.
Gid *int `json:"gid,omitempty"`
// Groups Supplementary group names.
Groups *[]string `json:"groups,omitempty"`
// Home Home directory path.
Home *string `json:"home,omitempty"`
// Locked Whether the account is locked.
Locked *bool `json:"locked,omitempty"`
// Name Username.
Name *string `json:"name,omitempty"`
// Shell Login shell path.
Shell *string `json:"shell,omitempty"`
// Uid Numeric user ID.
Uid *int `json:"uid,omitempty"`
}
UserInfo A user account on the target node.
type UserMutationResponse ¶
type UserMutationResponse struct {
// JobId The job ID used to process this request.
JobId *openapi_types.UUID `json:"job_id,omitempty"`
Results []UserMutationResult `json:"results"`
}
UserMutationResponse defines model for UserMutationResponse.
type UserMutationResult ¶
type UserMutationResult struct {
// Changed Whether the operation modified system state.
Changed *bool `json:"changed,omitempty"`
// Error Error message if the agent failed.
Error *string `json:"error,omitempty"`
// Hostname Hostname of the agent that processed this operation.
Hostname string `json:"hostname"`
// Name Username.
Name *string `json:"name,omitempty"`
// Status The status of the operation for this host.
Status UserMutationResultStatus `json:"status"`
}
UserMutationResult Result of a user create, update, delete, or password operation for one host.
type UserMutationResultStatus ¶
type UserMutationResultStatus string
UserMutationResultStatus The status of the operation for this host.
const ( UserMutationResultStatusFailed UserMutationResultStatus = "failed" UserMutationResultStatusOk UserMutationResultStatus = "ok" UserMutationResultStatusSkipped UserMutationResultStatus = "skipped" )
Defines values for UserMutationResultStatus.
type UserPasswordRequest ¶
type UserPasswordRequest struct {
// Password New password (plaintext, hashed by the agent).
Password string `json:"password" validate:"required,min=1"`
}
UserPasswordRequest defines model for UserPasswordRequest.
type UserUpdateRequest ¶
type UserUpdateRequest struct {
// Groups Supplementary group names (replaces existing).
Groups *[]string `json:"groups,omitempty"`
// Home New home directory path.
Home *string `json:"home,omitempty" validate:"omitempty,min=1"`
// Lock Lock or unlock the account.
Lock *bool `json:"lock,omitempty" validate:"omitempty"`
// Shell New login shell path.
Shell *string `json:"shell,omitempty" validate:"omitempty,min=1"`
}
UserUpdateRequest defines model for UserUpdateRequest.