Documentation
¶
Overview ¶
Package v1alpha1 provides primitives to interact with the openapi HTTP API.
Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.3.0 DO NOT EDIT.
Package v1alpha1 provides primitives to interact with the openapi HTTP API.
Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.3.0 DO NOT EDIT.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetSwagger ¶
GetSwagger returns the Swagger specification corresponding to the generated code in this file. The external references of Swagger specification are resolved. The logic of resolving external references is tightly connected to "import-mapping" feature. Externally referenced files must be embedded in the corresponding golang packages. Urls can be supported but this task was out of the scope.
Types ¶
type AgentStatusUpdate ¶
type AgentStatusUpdate struct {
CredentialUrl string `json:"credentialUrl" validate:"required,url"`
SourceId openapi_types.UUID `json:"sourceId" validate:"required,sourceId"`
Status string `json:"status" validate:"required,status"`
StatusInfo string `json:"statusInfo" validate:"required,max=200"`
Version string `json:"version" validate:"required,max=20"`
}
AgentStatusUpdate defines model for AgentStatusUpdate.
type SourceStatusUpdate ¶
type SourceStatusUpdate struct {
AgentId openapi_types.UUID `json:"agentId"`
Inventory externalRef0.Inventory `json:"inventory"`
}
SourceStatusUpdate defines model for SourceStatusUpdate.
type UpdateAgentStatusJSONRequestBody ¶
type UpdateAgentStatusJSONRequestBody = AgentStatusUpdate
UpdateAgentStatusJSONRequestBody defines body for UpdateAgentStatus for application/json ContentType.
type UpdateSourceInventoryJSONRequestBody ¶
type UpdateSourceInventoryJSONRequestBody = SourceStatusUpdate
UpdateSourceInventoryJSONRequestBody defines body for UpdateSourceInventory for application/json ContentType.