v1alpha1

package
v0.0.0-...-11fb129 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 26, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

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

func GetSwagger() (swagger *openapi3.T, err error)

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.

func PathToRawSpec

func PathToRawSpec(pathToFile string) map[string]func() ([]byte, error)

Constructs a synthetic filesystem for resolving external references when loading openapi specifications.

Types

type AgentStatusUpdate

type AgentStatusUpdate struct {
	CredentialUrl string `json:"credentialUrl"`
	Id            string `json:"id"`
	Status        string `json:"status"`
	StatusInfo    string `json:"statusInfo"`
	Version       string `json:"version"`
}

AgentStatusUpdate defines model for AgentStatusUpdate.

type ReplaceSourceStatusJSONRequestBody

type ReplaceSourceStatusJSONRequestBody = SourceStatusUpdate

ReplaceSourceStatusJSONRequestBody defines body for ReplaceSourceStatus for application/json ContentType.

type SourceStatusUpdate

type SourceStatusUpdate struct {
	CredentialUrl string                  `json:"credentialUrl"`
	Inventory     *externalRef0.Inventory `json:"inventory,omitempty"`
	Status        string                  `json:"status"`
	StatusInfo    string                  `json:"statusInfo"`
}

SourceStatusUpdate defines model for SourceStatusUpdate.

type UpdateAgentStatusJSONRequestBody

type UpdateAgentStatusJSONRequestBody = AgentStatusUpdate

UpdateAgentStatusJSONRequestBody defines body for UpdateAgentStatus for application/json ContentType.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL