v1alpha1

package
v0.16.0 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2026 License: Apache-2.0 Imports: 11 Imported by: 1

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" 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 SourceSubset added in v0.15.0

type SourceSubset struct {
	CreatedAt  *time.Time              `json:"createdAt,omitempty"`
	Id         *openapi_types.UUID     `json:"id,omitempty"`
	Inventory  *externalRef0.Inventory `json:"inventory,omitempty"`
	Name       *string                 `json:"name,omitempty"`
	SourceId   *openapi_types.UUID     `json:"sourceId,omitempty"`
	UpdateType *SourceSubsetUpdateType `json:"updateType,omitempty"`
	UpdatedAt  *time.Time              `json:"updatedAt,omitempty"`
	VcenterId  *string                 `json:"vcenterId,omitempty"`
	VmsCount   *int                    `json:"vmsCount,omitempty"`
}

SourceSubset defines model for SourceSubset.

type SourceSubsetUpdate added in v0.15.0

type SourceSubsetUpdate struct {
	Inventory externalRef0.Inventory `json:"inventory"`
	Name      string                 `json:"name"`
	VcenterId *string                `json:"vcenterId,omitempty"`
	VmsCount  *int                   `json:"vmsCount,omitempty"`
}

SourceSubsetUpdate defines model for SourceSubsetUpdate.

type SourceSubsetUpdateType added in v0.15.0

type SourceSubsetUpdateType string

SourceSubsetUpdateType defines model for SourceSubset.UpdateType.

const (
	Auto   SourceSubsetUpdateType = "auto"
	Manual SourceSubsetUpdateType = "manual"
)

Defines values for SourceSubsetUpdateType.

type SourceUpdate added in v0.15.0

type SourceUpdate struct {
	Inventory externalRef0.Inventory `json:"inventory"`
	VcenterId *string                `json:"vcenterId,omitempty"`
}

SourceUpdate defines model for SourceUpdate.

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.

type UpdateSourceJSONRequestBody added in v0.15.0

type UpdateSourceJSONRequestBody = SourceUpdate

UpdateSourceJSONRequestBody defines body for UpdateSource for application/json ContentType.

type UpdateSourceSubsetJSONRequestBody added in v0.15.0

type UpdateSourceSubsetJSONRequestBody = SourceSubsetUpdate

UpdateSourceSubsetJSONRequestBody defines body for UpdateSourceSubset for application/json ContentType.

Jump to

Keyboard shortcuts

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