{"modulePath":"github.com/osapi-io/osapi","version":"v0.2.0","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package gen\n\nPackage gen provides primitives to interact with the openapi HTTP API.\n\nCode generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.7.1 DO NOT EDIT.\n\nPackage gen contains generated code for the docker API.\n\n## Constants\n\n```go\nconst (\n\tBearerAuthScopes bearerAuthContextKey = \"BearerAuth.Scopes\"\n)\n```\n\n## Functions\n\n```go\nfunc RegisterHandlers(router EchoRouter, si ServerInterface)\n```\nRegisterHandlers adds each server route to the EchoRouter.\n\n```go\nfunc RegisterHandlersWithBaseURL(router EchoRouter, si ServerInterface, baseURL string)\n```\nRegisterHandlersWithBaseURL registers handlers and prepends BaseURL to the paths so the API can be served under a prefix.\n\n```go\nfunc RegisterHandlersWithOptions(router EchoRouter, si ServerInterface, options RegisterHandlersOptions)\n```\nRegisterHandlersWithOptions registers handlers using the supplied options, including any per-operation middleware.\n\n## Types\n\n```go\ntype DeleteNodeContainerDockerByID202JSONResponse DockerActionCollectionResponse\n```\n\n```go\nfunc (response DeleteNodeContainerDockerByID202JSONResponse) VisitDeleteNodeContainerDockerByIDResponse(w http.ResponseWriter) error\n```\n\n```go\ntype DeleteNodeContainerDockerByID400JSONResponse externalRef0.ErrorResponse\n```\n\n```go\nfunc (response DeleteNodeContainerDockerByID400JSONResponse) VisitDeleteNodeContainerDockerByIDResponse(w http.ResponseWriter) error\n```\n\n```go\ntype DeleteNodeContainerDockerByID401JSONResponse externalRef0.ErrorResponse\n```\n\n```go\nfunc (response DeleteNodeContainerDockerByID401JSONResponse) VisitDeleteNodeContainerDockerByIDResponse(w http.ResponseWriter) error\n```\n\n```go\ntype DeleteNodeContainerDockerByID403JSONResponse externalRef0.ErrorResponse\n```\n\n```go\nfunc (response DeleteNodeContainerDockerByID403JSONResponse) VisitDeleteNodeContainerDockerByIDResponse(w http.ResponseWriter) error\n```\n\n```go\ntype DeleteNodeContainerDockerByID404JSONResponse externalRef0.ErrorResponse\n```\n\n```go\nfunc (response DeleteNodeContainerDockerByID404JSONResponse) VisitDeleteNodeContainerDockerByIDResponse(w http.ResponseWriter) error\n```\n\n```go\ntype DeleteNodeContainerDockerByID500JSONResponse externalRef0.ErrorResponse\n```\n\n```go\nfunc (response DeleteNodeContainerDockerByID500JSONResponse) VisitDeleteNodeContainerDockerByIDResponse(w http.ResponseWriter) error\n```\n\n```go\ntype DeleteNodeContainerDockerByIDParams struct {\n\t// Force Force removal of a running container.\n\tForce *bool `form:\"force,omitempty\" json:\"force,omitempty\" validate:\"omitempty\"`\n}\n```\nDeleteNodeContainerDockerByIDParams defines parameters for DeleteNodeContainerDockerByID.\n\n```go\ntype DeleteNodeContainerDockerByIDRequestObject struct {\n\tHostname Hostname `json:\"hostname\" validate:\"required,min=1,valid_target\"`\n\tId       DockerId `json:\"id\" validate:\"required,min=1\"`\n\tParams   DeleteNodeContainerDockerByIDParams\n}\n```\n\n```go\ntype DeleteNodeContainerDockerByIDResponseObject interface {\n\tVisitDeleteNodeContainerDockerByIDResponse(w http.ResponseWriter) error\n}\n```\n\n```go\ntype DeleteNodeContainerDockerImage202JSONResponse DockerActionCollectionResponse\n```\n\n```go\nfunc (response DeleteNodeContainerDockerImage202JSONResponse) VisitDeleteNodeContainerDockerImageResponse(w http.ResponseWriter) error\n```\n\n```go\ntype DeleteNodeContainerDockerImage400JSONResponse externalRef0.ErrorResponse\n```\n\n```go\nfunc (response DeleteNodeContainerDockerImage400JSONResponse) VisitDeleteNodeContainerDockerImageResponse(w http.ResponseWriter) error\n```\n\n```go\ntype DeleteNodeContainerDockerImage401JSONResponse externalRef0.ErrorResponse\n```\n\n```go\nfunc (response DeleteNodeContainerDockerImage401JSONResponse) VisitDeleteNodeContainerDockerImageResponse(w http.ResponseWriter) error\n```\n\n```go\ntype DeleteNodeContainerDockerImage403JSONResponse externalRef0.ErrorResponse\n```\n\n```go\nfunc (response DeleteNodeContainerDockerImage403JSONResponse) VisitDeleteNodeContainerDockerImageResponse(w http.ResponseWriter) error\n```\n\n```go\ntype DeleteNodeContainerDockerImage500JSONResponse externalRef0.ErrorResponse\n```\n\n```go\nfunc (response DeleteNodeContainerDockerImage500JSONResponse) VisitDeleteNodeContainerDockerImageResponse(w http.ResponseWriter) error\n```\n\n```go\ntype DeleteNodeContainerDockerImageParams struct {\n\tForce *bool `form:\"force,omitempty\" json:\"force,omitempty\" validate:\"omitempty\"`\n}\n```\nDeleteNodeContainerDockerImageParams defines parameters for DeleteNodeContainerDockerImage.\n\n```go\ntype DeleteNodeContainerDockerImageRequestObject struct {\n\tHostname Hostname `json:\"hostname\" validate:\"required,min=1,valid_target\"`\n\tImage    string   `json:\"image\" validate:\"required,min=1\"`\n\tParams   DeleteNodeContainerDockerImageParams\n}\n```\n\n```go\ntype DeleteNodeContainerDockerImageResponseObject interface {\n\tVisitDeleteNodeContainerDockerImageResponse(w http.ResponseWriter) error\n}\n```\n\n```go\ntype DockerActionCollectionResponse struct {\n\t// JobId The job ID used to process this request.\n\tJobId   *openapi_types.UUID      `json:\"job_id,omitempty\"`\n\tResults []DockerActionResultItem `json:\"results\"`\n}\n```\nDockerActionCollectionResponse defines model for DockerActionCollectionResponse.\n\n```go\ntype DockerActionResultItem struct {\n\t// Changed Whether the operation modified system state.\n\tChanged *bool `json:\"changed,omitempty\"`\n\n\t// Error Error message if the agent failed.\n\tError *string `json:\"error,omitempty\"`\n\n\t// Hostname The hostname of the agent.\n\tHostname string `json:\"hostname\"`\n\n\t// Id Container identifier.\n\tId *string `json:\"id,omitempty\"`\n\n\t// Message Status message.\n\tMessage *string `json:\"message,omitempty\"`\n\n\t// Status The status of the operation for this host.\n\tStatus DockerActionResultItemStatus `json:\"status\"`\n}\n```\nDockerActionResultItem Result of a container lifecycle action.\n\n```go\ntype DockerActionResultItemStatus string\n```\nDockerActionResultItemStatus The status of the operation for this host.\n\n```go\nconst (\n\tDockerActionResultItemStatusFailed  DockerActionResultItemStatus = \"failed\"\n\tDockerActionResultItemStatusOk      DockerActionResultItemStatus = \"ok\"\n\tDockerActionResultItemStatusSkipped DockerActionResultItemStatus = \"skipped\"\n\tDockerActionResultItemStatusTimeout DockerActionResultItemStatus = \"timeout\"\n)\n```\nDefines values for DockerActionResultItemStatus.\n\n```go\nfunc (e DockerActionResultItemStatus) Valid() bool\n```\nValid indicates whether the value is a known member of the DockerActionResultItemStatus enum.\n\n```go\ntype DockerCreateRequest struct {\n\t// AutoStart Whether to start the container immediately after creation. Defaults to true.\n\tAutoStart *bool `json:\"auto_start,omitempty\" validate:\"omitempty\"`\n\n\t// Command Command to run in the container.\n\tCommand *[]string `json:\"command,omitempty\"`\n\n\t// Dns Custom DNS servers for the container.\n\tDns *[]string `json:\"dns,omitempty\" validate:\"omitempty,dive,ip\"`\n\n\t// Env Environment variables in KEY=VALUE format.\n\tEnv *[]string `json:\"env,omitempty\"`\n\n\t// Hostname Container hostname.\n\tHostname *string `json:\"hostname,omitempty\" validate:\"omitempty,min=1,max=253\"`\n\n\t// Image Container image reference (e.g., \"nginx:latest\").\n\tImage string `json:\"image\" validate:\"required,min=1\"`\n\n\t// Name Optional name for the container.\n\tName *string `json:\"name,omitempty\" validate:\"omitempty,min=1\"`\n\n\t// Ports Port mappings in host_port:container_port format.\n\tPorts *[]string `json:\"ports,omitempty\"`\n\n\t// Volumes Volume mounts in host_path:container_path format.\n\tVolumes *[]string `json:\"volumes,omitempty\"`\n}\n```\nDockerCreateRequest defines model for DockerCreateRequest.\n\n```go\ntype DockerDetailCollectionResponse struct {\n\t// JobId The job ID used to process this request.\n\tJobId   *openapi_types.UUID    `json:\"job_id,omitempty\"`\n\tResults []DockerDetailResponse `json:\"results\"`\n}\n```\nDockerDetailCollectionResponse defines model for DockerDetailCollectionResponse.\n\n```go\ntype DockerDetailResponse struct {\n\t// Changed Whether the operation modified system state.\n\tChanged *bool `json:\"changed,omitempty\"`\n\n\t// Created Container creation timestamp.\n\tCreated *string `json:\"created,omitempty\"`\n\n\t// Env Environment variables.\n\tEnv *[]string `json:\"env,omitempty\"`\n\n\t// Error Error message if the agent failed.\n\tError *string `json:\"error,omitempty\"`\n\n\t// Health Health check status if configured.\n\tHealth *string `json:\"health,omitempty\"`\n\n\t// Hostname The hostname of the agent.\n\tHostname string `json:\"hostname\"`\n\n\t// Id Container identifier.\n\tId *string `json:\"id,omitempty\"`\n\n\t// Image Image used by the container.\n\tImage *string `json:\"image,omitempty\"`\n\n\t// Mounts Volume mounts.\n\tMounts *[]string `json:\"mounts,omitempty\"`\n\n\t// Name Container name.\n\tName *string `json:\"name,omitempty\"`\n\n\t// NetworkSettings Network configuration.\n\tNetworkSettings *map[string]string `json:\"network_settings,omitempty\"`\n\n\t// Ports Port mappings.\n\tPorts *[]string `json:\"ports,omitempty\"`\n\n\t// State Current container state.\n\tState *string `json:\"state,omitempty\"`\n\n\t// Status The status of the operation for this host.\n\tStatus DockerDetailResponseStatus `json:\"status\"`\n}\n```\nDockerDetailResponse Detailed information about a container.\n\n```go\ntype DockerDetailResponseStatus string\n```\nDockerDetailResponseStatus The status of the operation for this host.\n\n```go\nconst (\n\tDockerDetailResponseStatusFailed  DockerDetailResponseStatus = \"failed\"\n\tDockerDetailResponseStatusOk      DockerDetailResponseStatus = \"ok\"\n\tDockerDetailResponseStatusSkipped DockerDetailResponseStatus = \"skipped\"\n\tDockerDetailResponseStatusTimeout DockerDetailResponseStatus = \"timeout\"\n)\n```\nDefines values for DockerDetailResponseStatus.\n\n```go\nfunc (e DockerDetailResponseStatus) Valid() bool\n```\nValid indicates whether the value is a known member of the DockerDetailResponseStatus enum.\n\n```go\ntype DockerExecCollectionResponse struct {\n\t// JobId The job ID used to process this request.\n\tJobId   *openapi_types.UUID    `json:\"job_id,omitempty\"`\n\tResults []DockerExecResultItem `json:\"results\"`\n}\n```\nDockerExecCollectionResponse defines model for DockerExecCollectionResponse.\n\n```go\ntype DockerExecRequest struct {\n\t// Command Command to execute inside the container.\n\tCommand []string `json:\"command\" validate:\"required,min=1\"`\n\n\t// Env Additional environment variables in KEY=VALUE format.\n\tEnv *[]string `json:\"env,omitempty\"`\n\n\t// WorkingDir Working directory inside the container.\n\tWorkingDir *string `json:\"working_dir,omitempty\" validate:\"omitempty\"`\n}\n```\nDockerExecRequest defines model for DockerExecRequest.\n\n```go\ntype DockerExecResultItem struct {\n\t// Changed Whether the operation modified system state.\n\tChanged *bool `json:\"changed,omitempty\"`\n\n\t// Error Error message if the agent failed.\n\tError *string `json:\"error,omitempty\"`\n\n\t// ExitCode Exit code of the command.\n\tExitCode *int `json:\"exit_code,omitempty\"`\n\n\t// Hostname The hostname of the agent.\n\tHostname string `json:\"hostname\"`\n\n\t// Status The status of the operation for this host.\n\tStatus DockerExecResultItemStatus `json:\"status\"`\n\n\t// Stderr Standard error output of the command.\n\tStderr *string `json:\"stderr,omitempty\"`\n\n\t// Stdout Standard output of the command.\n\tStdout *string `json:\"stdout,omitempty\"`\n}\n```\nDockerExecResultItem Result of a command execution inside a container.\n\n```go\ntype DockerExecResultItemStatus string\n```\nDockerExecResultItemStatus The status of the operation for this host.\n\n```go\nconst (\n\tDockerExecResultItemStatusFailed  DockerExecResultItemStatus = \"failed\"\n\tDockerExecResultItemStatusOk      DockerExecResultItemStatus = \"ok\"\n\tDockerExecResultItemStatusSkipped DockerExecResultItemStatus = \"skipped\"\n\tDockerExecResultItemStatusTimeout DockerExecResultItemStatus = \"timeout\"\n)\n```\nDefines values for DockerExecResultItemStatus.\n\n```go\nfunc (e DockerExecResultItemStatus) Valid() bool\n```\nValid indicates whether the value is a known member of the DockerExecResultItemStatus enum.\n\n```go\ntype DockerId = string\n```\nDockerId defines model for DockerId.\n\n```go\ntype DockerListCollectionResponse struct {\n\t// JobId The job ID used to process this request.\n\tJobId   *openapi_types.UUID `json:\"job_id,omitempty\"`\n\tResults []DockerListItem    `json:\"results\"`\n}\n```\nDockerListCollectionResponse defines model for DockerListCollectionResponse.\n\n```go\ntype DockerListItem struct {\n\t// Changed Whether the operation modified system state.\n\tChanged *bool `json:\"changed,omitempty\"`\n\n\t// Containers List of containers on this agent.\n\tContainers *[]DockerSummary `json:\"containers,omitempty\"`\n\n\t// Error Error message if the agent failed.\n\tError *string `json:\"error,omitempty\"`\n\n\t// Hostname The hostname of the agent.\n\tHostname string `json:\"hostname\"`\n\n\t// Status The status of the operation for this host.\n\tStatus DockerListItemStatus `json:\"status\"`\n}\n```\nDockerListItem Container summary for list operations.\n\n```go\ntype DockerListItemStatus string\n```\nDockerListItemStatus The status of the operation for this host.\n\n```go\nconst (\n\tDockerListItemStatusFailed  DockerListItemStatus = \"failed\"\n\tDockerListItemStatusOk      DockerListItemStatus = \"ok\"\n\tDockerListItemStatusSkipped DockerListItemStatus = \"skipped\"\n\tDockerListItemStatusTimeout DockerListItemStatus = \"timeout\"\n)\n```\nDefines values for DockerListItemStatus.\n\n```go\nfunc (e DockerListItemStatus) Valid() bool\n```\nValid indicates whether the value is a known member of the DockerListItemStatus enum.\n\n```go\ntype DockerPullCollectionResponse struct {\n\t// JobId The job ID used to process this request.\n\tJobId   *openapi_types.UUID    `json:\"job_id,omitempty\"`\n\tResults []DockerPullResultItem `json:\"results\"`\n}\n```\nDockerPullCollectionResponse defines model for DockerPullCollectionResponse.\n\n```go\ntype DockerPullRequest struct {\n\t// Image Image reference to pull (e.g., \"nginx:latest\", \"docker.io/library/alpine:3.18\").\n\tImage string `json:\"image\" validate:\"required,min=1\"`\n}\n```\nDockerPullRequest defines model for DockerPullRequest.\n\n```go\ntype DockerPullResultItem struct {\n\t// Changed Whether the operation modified system state.\n\tChanged *bool `json:\"changed,omitempty\"`\n\n\t// Error Error message if the agent failed.\n\tError *string `json:\"error,omitempty\"`\n\n\t// Hostname The hostname of the agent.\n\tHostname string `json:\"hostname\"`\n\n\t// ImageId The pulled image ID.\n\tImageId *string `json:\"image_id,omitempty\"`\n\n\t// Size Image size in bytes.\n\tSize *int64 `json:\"size,omitempty\"`\n\n\t// Status The status of the operation for this host.\n\tStatus DockerPullResultItemStatus `json:\"status\"`\n\n\t// Tag The image tag that was pulled.\n\tTag *string `json:\"tag,omitempty\"`\n}\n```\nDockerPullResultItem Result of an image pull operation.\n\n```go\ntype DockerPullResultItemStatus string\n```\nDockerPullResultItemStatus The status of the operation for this host.\n\n```go\nconst (\n\tDockerPullResultItemStatusFailed  DockerPullResultItemStatus = \"failed\"\n\tDockerPullResultItemStatusOk      DockerPullResultItemStatus = \"ok\"\n\tDockerPullResultItemStatusSkipped DockerPullResultItemStatus = \"skipped\"\n\tDockerPullResultItemStatusTimeout DockerPullResultItemStatus = \"timeout\"\n)\n```\nDefines values for DockerPullResultItemStatus.\n\n```go\nfunc (e DockerPullResultItemStatus) Valid() bool\n```\nValid indicates whether the value is a known member of the DockerPullResultItemStatus enum.\n\n```go\ntype DockerResponse struct {\n\t// Changed Whether the operation modified system state.\n\tChanged *bool `json:\"changed,omitempty\"`\n\n\t// Created Container creation timestamp.\n\tCreated *string `json:\"created,omitempty\"`\n\n\t// Error Error message if the agent failed.\n\tError *string `json:\"error,omitempty\"`\n\n\t// Hostname The hostname of the agent.\n\tHostname string `json:\"hostname\"`\n\n\t// Id Container identifier.\n\tId *string `json:\"id,omitempty\"`\n\n\t// Image Image used by the container.\n\tImage *string `json:\"image,omitempty\"`\n\n\t// Name Container name.\n\tName *string `json:\"name,omitempty\"`\n\n\t// State Current container state.\n\tState *string `json:\"state,omitempty\"`\n\n\t// Status The status of the operation for this host.\n\tStatus DockerResponseStatus `json:\"status\"`\n}\n```\nDockerResponse Summary information about a container.\n\n```go\ntype DockerResponseStatus string\n```\nDockerResponseStatus The status of the operation for this host.\n\n```go\nconst (\n\tDockerResponseStatusFailed  DockerResponseStatus = \"failed\"\n\tDockerResponseStatusOk      DockerResponseStatus = \"ok\"\n\tDockerResponseStatusSkipped DockerResponseStatus = \"skipped\"\n\tDockerResponseStatusTimeout DockerResponseStatus = \"timeout\"\n)\n```\nDefines values for DockerResponseStatus.\n\n```go\nfunc (e DockerResponseStatus) Valid() bool\n```\nValid indicates whether the value is a known member of the DockerResponseStatus enum.\n\n```go\ntype DockerResultCollectionResponse struct {\n\t// JobId The job ID used to process this request.\n\tJobId   *openapi_types.UUID `json:\"job_id,omitempty\"`\n\tResults []DockerResponse    `json:\"results\"`\n}\n```\nDockerResultCollectionResponse defines model for DockerResultCollectionResponse.\n\n```go\ntype DockerStopRequest struct {\n\t// Timeout Seconds to wait before killing the container. Defaults to 10.\n\tTimeout *int `json:\"timeout,omitempty\" validate:\"omitempty,min=0,max=300\"`\n}\n```\nDockerStopRequest defines model for DockerStopRequest.\n\n```go\ntype DockerSummary struct {\n\t// Created Container creation timestamp.\n\tCreated *string `json:\"created,omitempty\"`\n\n\t// Id Container identifier.\n\tId *string `json:\"id,omitempty\"`\n\n\t// Image Image used by the container.\n\tImage *string `json:\"image,omitempty\"`\n\n\t// Name Container name.\n\tName *string `json:\"name,omitempty\"`\n\n\t// State Current container state.\n\tState *string `json:\"state,omitempty\"`\n}\n```\nDockerSummary Brief container summary.\n\n```go\ntype EchoRouter interface {\n\tCONNECT(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) echo.RouteInfo\n\tDELETE(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) echo.RouteInfo\n\tGET(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) echo.RouteInfo\n\tHEAD(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) echo.RouteInfo\n\tOPTIONS(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) echo.RouteInfo\n\tPATCH(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) echo.RouteInfo\n\tPOST(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) echo.RouteInfo\n\tPUT(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) echo.RouteInfo\n\tTRACE(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) echo.RouteInfo\n}\n```\nThis is a simple interface which specifies echo.Route addition functions which are present on both echo.Echo and echo.Group, since we want to allow using either of them for path registration\n\n```go\ntype ErrorResponse = externalRef0.ErrorResponse\n```\nErrorResponse defines model for ErrorResponse.\n\n```go\ntype GetNodeContainerDocker200JSONResponse DockerListCollectionResponse\n```\n\n```go\nfunc (response GetNodeContainerDocker200JSONResponse) VisitGetNodeContainerDockerResponse(w http.ResponseWriter) error\n```\n\n```go\ntype GetNodeContainerDocker400JSONResponse externalRef0.ErrorResponse\n```\n\n```go\nfunc (response GetNodeContainerDocker400JSONResponse) VisitGetNodeContainerDockerResponse(w http.ResponseWriter) error\n```\n\n```go\ntype GetNodeContainerDocker401JSONResponse externalRef0.ErrorResponse\n```\n\n```go\nfunc (response GetNodeContainerDocker401JSONResponse) VisitGetNodeContainerDockerResponse(w http.ResponseWriter) error\n```\n\n```go\ntype GetNodeContainerDocker403JSONResponse externalRef0.ErrorResponse\n```\n\n```go\nfunc (response GetNodeContainerDocker403JSONResponse) VisitGetNodeContainerDockerResponse(w http.ResponseWriter) error\n```\n\n```go\ntype GetNodeContainerDocker500JSONResponse externalRef0.ErrorResponse\n```\n\n```go\nfunc (response GetNodeContainerDocker500JSONResponse) VisitGetNodeContainerDockerResponse(w http.ResponseWriter) error\n```\n\n```go\ntype GetNodeContainerDockerByID200JSONResponse DockerDetailCollectionResponse\n```\n\n```go\nfunc (response GetNodeContainerDockerByID200JSONResponse) VisitGetNodeContainerDockerByIDResponse(w http.ResponseWriter) error\n```\n\n```go\ntype GetNodeContainerDockerByID400JSONResponse externalRef0.ErrorResponse\n```\n\n```go\nfunc (response GetNodeContainerDockerByID400JSONResponse) VisitGetNodeContainerDockerByIDResponse(w http.ResponseWriter) error\n```\n\n```go\ntype GetNodeContainerDockerByID401JSONResponse externalRef0.ErrorResponse\n```\n\n```go\nfunc (response GetNodeContainerDockerByID401JSONResponse) VisitGetNodeContainerDockerByIDResponse(w http.ResponseWriter) error\n```\n\n```go\ntype GetNodeContainerDockerByID403JSONResponse externalRef0.ErrorResponse\n```\n\n```go\nfunc (response GetNodeContainerDockerByID403JSONResponse) VisitGetNodeContainerDockerByIDResponse(w http.ResponseWriter) error\n```\n\n```go\ntype GetNodeContainerDockerByID404JSONResponse externalRef0.ErrorResponse\n```\n\n```go\nfunc (response GetNodeContainerDockerByID404JSONResponse) VisitGetNodeContainerDockerByIDResponse(w http.ResponseWriter) error\n```\n\n```go\ntype GetNodeContainerDockerByID500JSONResponse externalRef0.ErrorResponse\n```\n\n```go\nfunc (response GetNodeContainerDockerByID500JSONResponse) VisitGetNodeContainerDockerByIDResponse(w http.ResponseWriter) error\n```\n\n```go\ntype GetNodeContainerDockerByIDRequestObject struct {\n\tHostname Hostname `json:\"hostname\" validate:\"required,min=1,valid_target\"`\n\tId       DockerId `json:\"id\" validate:\"required,min=1\"`\n}\n```\n\n```go\ntype GetNodeContainerDockerByIDResponseObject interface {\n\tVisitGetNodeContainerDockerByIDResponse(w http.ResponseWriter) error\n}\n```\n\n```go\ntype GetNodeContainerDockerParams struct {\n\t// State Filter containers by state. Defaults to \"all\".\n\tState *GetNodeContainerDockerParamsState `form:\"state,omitempty\" json:\"state,omitempty\" validate:\"omitempty,oneof=running stopped all\"`\n\n\t// Limit Maximum number of containers to return.\n\tLimit *int `form:\"limit,omitempty\" json:\"limit,omitempty\" validate:\"omitempty,min=1,max=100\"`\n}\n```\nGetNodeContainerDockerParams defines parameters for GetNodeContainerDocker.\n\n```go\ntype GetNodeContainerDockerParamsState string\n```\nGetNodeContainerDockerParamsState defines parameters for GetNodeContainerDocker.\n\n```go\nconst (\n\tAll     GetNodeContainerDockerParamsState = \"all\"\n\tRunning GetNodeContainerDockerParamsState = \"running\"\n\tStopped GetNodeContainerDockerParamsState = \"stopped\"\n)\n```\nDefines values for GetNodeContainerDockerParamsState.\n\n```go\nfunc (e GetNodeContainerDockerParamsState) Valid() bool\n```\nValid indicates whether the value is a known member of the GetNodeContainerDockerParamsState enum.\n\n```go\ntype GetNodeContainerDockerRequestObject struct {\n\tHostname Hostname `json:\"hostname\" validate:\"required,min=1,valid_target\"`\n\tParams   GetNodeContainerDockerParams\n}\n```\n\n```go\ntype GetNodeContainerDockerResponseObject interface {\n\tVisitGetNodeContainerDockerResponse(w http.ResponseWriter) error\n}\n```\n\n```go\ntype Hostname = string\n```\nHostname defines model for Hostname.\n\n```go\ntype PostNodeContainerDocker202JSONResponse DockerResultCollectionResponse\n```\n\n```go\nfunc (response PostNodeContainerDocker202JSONResponse) VisitPostNodeContainerDockerResponse(w http.ResponseWriter) error\n```\n\n```go\ntype PostNodeContainerDocker400JSONResponse externalRef0.ErrorResponse\n```\n\n```go\nfunc (response PostNodeContainerDocker400JSONResponse) VisitPostNodeContainerDockerResponse(w http.ResponseWriter) error\n```\n\n```go\ntype PostNodeContainerDocker401JSONResponse externalRef0.ErrorResponse\n```\n\n```go\nfunc (response PostNodeContainerDocker401JSONResponse) VisitPostNodeContainerDockerResponse(w http.ResponseWriter) error\n```\n\n```go\ntype PostNodeContainerDocker403JSONResponse externalRef0.ErrorResponse\n```\n\n```go\nfunc (response PostNodeContainerDocker403JSONResponse) VisitPostNodeContainerDockerResponse(w http.ResponseWriter) error\n```\n\n```go\ntype PostNodeContainerDocker500JSONResponse externalRef0.ErrorResponse\n```\n\n```go\nfunc (response PostNodeContainerDocker500JSONResponse) VisitPostNodeContainerDockerResponse(w http.ResponseWriter) error\n```\n\n```go\ntype PostNodeContainerDockerExec202JSONResponse DockerExecCollectionResponse\n```\n\n```go\nfunc (response PostNodeContainerDockerExec202JSONResponse) VisitPostNodeContainerDockerExecResponse(w http.ResponseWriter) error\n```\n\n```go\ntype PostNodeContainerDockerExec400JSONResponse externalRef0.ErrorResponse\n```\n\n```go\nfunc (response PostNodeContainerDockerExec400JSONResponse) VisitPostNodeContainerDockerExecResponse(w http.ResponseWriter) error\n```\n\n```go\ntype PostNodeContainerDockerExec401JSONResponse externalRef0.ErrorResponse\n```\n\n```go\nfunc (response PostNodeContainerDockerExec401JSONResponse) VisitPostNodeContainerDockerExecResponse(w http.ResponseWriter) error\n```\n\n```go\ntype PostNodeContainerDockerExec403JSONResponse externalRef0.ErrorResponse\n```\n\n```go\nfunc (response PostNodeContainerDockerExec403JSONResponse) VisitPostNodeContainerDockerExecResponse(w http.ResponseWriter) error\n```\n\n```go\ntype PostNodeContainerDockerExec404JSONResponse externalRef0.ErrorResponse\n```\n\n```go\nfunc (response PostNodeContainerDockerExec404JSONResponse) VisitPostNodeContainerDockerExecResponse(w http.ResponseWriter) error\n```\n\n```go\ntype PostNodeContainerDockerExec500JSONResponse externalRef0.ErrorResponse\n```\n\n```go\nfunc (response PostNodeContainerDockerExec500JSONResponse) VisitPostNodeContainerDockerExecResponse(w http.ResponseWriter) error\n```\n\n```go\ntype PostNodeContainerDockerExecJSONRequestBody = DockerExecRequest\n```\nPostNodeContainerDockerExecJSONRequestBody defines body for PostNodeContainerDockerExec for application/json ContentType.\n\n```go\ntype PostNodeContainerDockerExecRequestObject struct {\n\tHostname Hostname `json:\"hostname\" validate:\"required,min=1,valid_target\"`\n\tId       DockerId `json:\"id\" validate:\"required,min=1\"`\n\tBody     *PostNodeContainerDockerExecJSONRequestBody\n}\n```\n\n```go\ntype PostNodeContainerDockerExecResponseObject interface {\n\tVisitPostNodeContainerDockerExecResponse(w http.ResponseWriter) error\n}\n```\n\n```go\ntype PostNodeContainerDockerJSONRequestBody = DockerCreateRequest\n```\nPostNodeContainerDockerJSONRequestBody defines body for PostNodeContainerDocker for application/json ContentType.\n\n```go\ntype PostNodeContainerDockerPull202JSONResponse DockerPullCollectionResponse\n```\n\n```go\nfunc (response PostNodeContainerDockerPull202JSONResponse) VisitPostNodeContainerDockerPullResponse(w http.ResponseWriter) error\n```\n\n```go\ntype PostNodeContainerDockerPull400JSONResponse externalRef0.ErrorResponse\n```\n\n```go\nfunc (response PostNodeContainerDockerPull400JSONResponse) VisitPostNodeContainerDockerPullResponse(w http.ResponseWriter) error\n```\n\n```go\ntype PostNodeContainerDockerPull401JSONResponse externalRef0.ErrorResponse\n```\n\n```go\nfunc (response PostNodeContainerDockerPull401JSONResponse) VisitPostNodeContainerDockerPullResponse(w http.ResponseWriter) error\n```\n\n```go\ntype PostNodeContainerDockerPull403JSONResponse externalRef0.ErrorResponse\n```\n\n```go\nfunc (response PostNodeContainerDockerPull403JSONResponse) VisitPostNodeContainerDockerPullResponse(w http.ResponseWriter) error\n```\n\n```go\ntype PostNodeContainerDockerPull500JSONResponse externalRef0.ErrorResponse\n```\n\n```go\nfunc (response PostNodeContainerDockerPull500JSONResponse) VisitPostNodeContainerDockerPullResponse(w http.ResponseWriter) error\n```\n\n```go\ntype PostNodeContainerDockerPullJSONRequestBody = DockerPullRequest\n```\nPostNodeContainerDockerPullJSONRequestBody defines body for PostNodeContainerDockerPull for application/json ContentType.\n\n```go\ntype PostNodeContainerDockerPullRequestObject struct {\n\tHostname Hostname `json:\"hostname\" validate:\"required,min=1,valid_target\"`\n\tBody     *PostNodeContainerDockerPullJSONRequestBody\n}\n```\n\n```go\ntype PostNodeContainerDockerPullResponseObject interface {\n\tVisitPostNodeContainerDockerPullResponse(w http.ResponseWriter) error\n}\n```\n\n```go\ntype PostNodeContainerDockerRequestObject struct {\n\tHostname Hostname `json:\"hostname\" validate:\"required,min=1,valid_target\"`\n\tBody     *PostNodeContainerDockerJSONRequestBody\n}\n```\n\n```go\ntype PostNodeContainerDockerResponseObject interface {\n\tVisitPostNodeContainerDockerResponse(w http.ResponseWriter) error\n}\n```\n\n```go\ntype PostNodeContainerDockerStart202JSONResponse DockerActionCollectionResponse\n```\n\n```go\nfunc (response PostNodeContainerDockerStart202JSONResponse) VisitPostNodeContainerDockerStartResponse(w http.ResponseWriter) error\n```\n\n```go\ntype PostNodeContainerDockerStart400JSONResponse externalRef0.ErrorResponse\n```\n\n```go\nfunc (response PostNodeContainerDockerStart400JSONResponse) VisitPostNodeContainerDockerStartResponse(w http.ResponseWriter) error\n```\n\n```go\ntype PostNodeContainerDockerStart401JSONResponse externalRef0.ErrorResponse\n```\n\n```go\nfunc (response PostNodeContainerDockerStart401JSONResponse) VisitPostNodeContainerDockerStartResponse(w http.ResponseWriter) error\n```\n\n```go\ntype PostNodeContainerDockerStart403JSONResponse externalRef0.ErrorResponse\n```\n\n```go\nfunc (response PostNodeContainerDockerStart403JSONResponse) VisitPostNodeContainerDockerStartResponse(w http.ResponseWriter) error\n```\n\n```go\ntype PostNodeContainerDockerStart404JSONResponse externalRef0.ErrorResponse\n```\n\n```go\nfunc (response PostNodeContainerDockerStart404JSONResponse) VisitPostNodeContainerDockerStartResponse(w http.ResponseWriter) error\n```\n\n```go\ntype PostNodeContainerDockerStart500JSONResponse externalRef0.ErrorResponse\n```\n\n```go\nfunc (response PostNodeContainerDockerStart500JSONResponse) VisitPostNodeContainerDockerStartResponse(w http.ResponseWriter) error\n```\n\n```go\ntype PostNodeContainerDockerStartRequestObject struct {\n\tHostname Hostname `json:\"hostname\" validate:\"required,min=1,valid_target\"`\n\tId       DockerId `json:\"id\" validate:\"required,min=1\"`\n}\n```\n\n```go\ntype PostNodeContainerDockerStartResponseObject interface {\n\tVisitPostNodeContainerDockerStartResponse(w http.ResponseWriter) error\n}\n```\n\n```go\ntype PostNodeContainerDockerStop202JSONResponse DockerActionCollectionResponse\n```\n\n```go\nfunc (response PostNodeContainerDockerStop202JSONResponse) VisitPostNodeContainerDockerStopResponse(w http.ResponseWriter) error\n```\n\n```go\ntype PostNodeContainerDockerStop400JSONResponse externalRef0.ErrorResponse\n```\n\n```go\nfunc (response PostNodeContainerDockerStop400JSONResponse) VisitPostNodeContainerDockerStopResponse(w http.ResponseWriter) error\n```\n\n```go\ntype PostNodeContainerDockerStop401JSONResponse externalRef0.ErrorResponse\n```\n\n```go\nfunc (response PostNodeContainerDockerStop401JSONResponse) VisitPostNodeContainerDockerStopResponse(w http.ResponseWriter) error\n```\n\n```go\ntype PostNodeContainerDockerStop403JSONResponse externalRef0.ErrorResponse\n```\n\n```go\nfunc (response PostNodeContainerDockerStop403JSONResponse) VisitPostNodeContainerDockerStopResponse(w http.ResponseWriter) error\n```\n\n```go\ntype PostNodeContainerDockerStop404JSONResponse externalRef0.ErrorResponse\n```\n\n```go\nfunc (response PostNodeContainerDockerStop404JSONResponse) VisitPostNodeContainerDockerStopResponse(w http.ResponseWriter) error\n```\n\n```go\ntype PostNodeContainerDockerStop500JSONResponse externalRef0.ErrorResponse\n```\n\n```go\nfunc (response PostNodeContainerDockerStop500JSONResponse) VisitPostNodeContainerDockerStopResponse(w http.ResponseWriter) error\n```\n\n```go\ntype PostNodeContainerDockerStopJSONRequestBody = DockerStopRequest\n```\nPostNodeContainerDockerStopJSONRequestBody defines body for PostNodeContainerDockerStop for application/json ContentType.\n\n```go\ntype PostNodeContainerDockerStopRequestObject struct {\n\tHostname Hostname `json:\"hostname\" validate:\"required,min=1,valid_target\"`\n\tId       DockerId `json:\"id\" validate:\"required,min=1\"`\n\tBody     *PostNodeContainerDockerStopJSONRequestBody\n}\n```\n\n```go\ntype PostNodeContainerDockerStopResponseObject interface {\n\tVisitPostNodeContainerDockerStopResponse(w http.ResponseWriter) error\n}\n```\n\n```go\ntype RegisterHandlersOptions struct {\n\t// BaseURL is prepended to every registered path so the API can be served\n\t// under a prefix.\n\tBaseURL string\n\t// OperationMiddlewares lets the caller attach per-operation middleware at\n\t// registration time. The map key is the OpenAPI `operationId` value as it\n\t// appears in the spec (the raw, un-normalized form). Operations that have\n\t// no entry are registered with no extra middleware. A nil map disables\n\t// per-operation middleware entirely.\n\tOperationMiddlewares map[string][]echo.MiddlewareFunc\n}\n```\nRegisterHandlersOptions configures RegisterHandlersWithOptions.\n\n```go\ntype ServerInterface interface {\n\t// List containers\n\t// (GET /api/node/{hostname}/container/docker)\n\tGetNodeContainerDocker(ctx *echo.Context, hostname Hostname, params GetNodeContainerDockerParams) error\n\t// Create a container\n\t// (POST /api/node/{hostname}/container/docker)\n\tPostNodeContainerDocker(ctx *echo.Context, hostname Hostname) error\n\t// Remove a container image\n\t// (DELETE /api/node/{hostname}/container/docker/image/{image})\n\tDeleteNodeContainerDockerImage(ctx *echo.Context, hostname Hostname, image string, params DeleteNodeContainerDockerImageParams) error\n\t// Pull a container image\n\t// (POST /api/node/{hostname}/container/docker/pull)\n\tPostNodeContainerDockerPull(ctx *echo.Context, hostname Hostname) error\n\t// Remove a container\n\t// (DELETE /api/node/{hostname}/container/docker/{id})\n\tDeleteNodeContainerDockerByID(ctx *echo.Context, hostname Hostname, id DockerId, params DeleteNodeContainerDockerByIDParams) error\n\t// Inspect a container\n\t// (GET /api/node/{hostname}/container/docker/{id})\n\tGetNodeContainerDockerByID(ctx *echo.Context, hostname Hostname, id DockerId) error\n\t// Execute a command in a container\n\t// (POST /api/node/{hostname}/container/docker/{id}/exec)\n\tPostNodeContainerDockerExec(ctx *echo.Context, hostname Hostname, id DockerId) error\n\t// Start a container\n\t// (POST /api/node/{hostname}/container/docker/{id}/start)\n\tPostNodeContainerDockerStart(ctx *echo.Context, hostname Hostname, id DockerId) error\n\t// Stop a container\n\t// (POST /api/node/{hostname}/container/docker/{id}/stop)\n\tPostNodeContainerDockerStop(ctx *echo.Context, hostname Hostname, id DockerId) error\n}\n```\nServerInterface represents all server handlers.\n\n```go\nfunc NewStrictHandler(ssi StrictServerInterface, middlewares []StrictMiddlewareFunc) ServerInterface\n```\n\n```go\ntype ServerInterfaceWrapper struct {\n\tHandler ServerInterface\n}\n```\nServerInterfaceWrapper converts echo contexts to parameters.\n\n```go\nfunc (w *ServerInterfaceWrapper) DeleteNodeContainerDockerByID(ctx *echo.Context) error\n```\nDeleteNodeContainerDockerByID converts echo context to params.\n\n```go\nfunc (w *ServerInterfaceWrapper) DeleteNodeContainerDockerImage(ctx *echo.Context) error\n```\nDeleteNodeContainerDockerImage converts echo context to params.\n\n```go\nfunc (w *ServerInterfaceWrapper) GetNodeContainerDocker(ctx *echo.Context) error\n```\nGetNodeContainerDocker converts echo context to params.\n\n```go\nfunc (w *ServerInterfaceWrapper) GetNodeContainerDockerByID(ctx *echo.Context) error\n```\nGetNodeContainerDockerByID converts echo context to params.\n\n```go\nfunc (w *ServerInterfaceWrapper) PostNodeContainerDocker(ctx *echo.Context) error\n```\nPostNodeContainerDocker converts echo context to params.\n\n```go\nfunc (w *ServerInterfaceWrapper) PostNodeContainerDockerExec(ctx *echo.Context) error\n```\nPostNodeContainerDockerExec converts echo context to params.\n\n```go\nfunc (w *ServerInterfaceWrapper) PostNodeContainerDockerPull(ctx *echo.Context) error\n```\nPostNodeContainerDockerPull converts echo context to params.\n\n```go\nfunc (w *ServerInterfaceWrapper) PostNodeContainerDockerStart(ctx *echo.Context) error\n```\nPostNodeContainerDockerStart converts echo context to params.\n\n```go\nfunc (w *ServerInterfaceWrapper) PostNodeContainerDockerStop(ctx *echo.Context) error\n```\nPostNodeContainerDockerStop converts echo context to params.\n\n```go\ntype StrictHandlerFunc func(ctx *echo.Context, request any) (any, error)\n```\n\n```go\ntype StrictMiddlewareFunc func(f StrictHandlerFunc, operationID string) StrictHandlerFunc\n```\n\n```go\ntype StrictServerInterface interface {\n\t// List containers\n\t// (GET /api/node/{hostname}/container/docker)\n\tGetNodeContainerDocker(ctx context.Context, request GetNodeContainerDockerRequestObject) (GetNodeContainerDockerResponseObject, error)\n\t// Create a container\n\t// (POST /api/node/{hostname}/container/docker)\n\tPostNodeContainerDocker(ctx context.Context, request PostNodeContainerDockerRequestObject) (PostNodeContainerDockerResponseObject, error)\n\t// Remove a container image\n\t// (DELETE /api/node/{hostname}/container/docker/image/{image})\n\tDeleteNodeContainerDockerImage(ctx context.Context, request DeleteNodeContainerDockerImageRequestObject) (DeleteNodeContainerDockerImageResponseObject, error)\n\t// Pull a container image\n\t// (POST /api/node/{hostname}/container/docker/pull)\n\tPostNodeContainerDockerPull(ctx context.Context, request PostNodeContainerDockerPullRequestObject) (PostNodeContainerDockerPullResponseObject, error)\n\t// Remove a container\n\t// (DELETE /api/node/{hostname}/container/docker/{id})\n\tDeleteNodeContainerDockerByID(ctx context.Context, request DeleteNodeContainerDockerByIDRequestObject) (DeleteNodeContainerDockerByIDResponseObject, error)\n\t// Inspect a container\n\t// (GET /api/node/{hostname}/container/docker/{id})\n\tGetNodeContainerDockerByID(ctx context.Context, request GetNodeContainerDockerByIDRequestObject) (GetNodeContainerDockerByIDResponseObject, error)\n\t// Execute a command in a container\n\t// (POST /api/node/{hostname}/container/docker/{id}/exec)\n\tPostNodeContainerDockerExec(ctx context.Context, request PostNodeContainerDockerExecRequestObject) (PostNodeContainerDockerExecResponseObject, error)\n\t// Start a container\n\t// (POST /api/node/{hostname}/container/docker/{id}/start)\n\tPostNodeContainerDockerStart(ctx context.Context, request PostNodeContainerDockerStartRequestObject) (PostNodeContainerDockerStartResponseObject, error)\n\t// Stop a container\n\t// (POST /api/node/{hostname}/container/docker/{id}/stop)\n\tPostNodeContainerDockerStop(ctx context.Context, request PostNodeContainerDockerStopRequestObject) (PostNodeContainerDockerStopResponseObject, error)\n}\n```\nStrictServerInterface represents all server handlers.\n\n","path":"github.com/osapi-io/osapi/internal/controller/api/node/container/gen","name":"gen","synopsis":"Package gen provides primitives to interact with the openapi HTTP API.","isRedistributable":true}
