gen

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2026 License: AGPL-3.0 Imports: 0 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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.8.0 DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Capabilities

type Capabilities struct {
	ApiVersion   CapabilitiesApiVersion `json:"api_version"`
	Capabilities []string               `json:"capabilities"`
}

Capabilities defines model for Capabilities.

type CapabilitiesApiVersion

type CapabilitiesApiVersion int

CapabilitiesApiVersion defines model for Capabilities.ApiVersion.

const (
	N1 CapabilitiesApiVersion = 1
)

Defines values for CapabilitiesApiVersion.

func (CapabilitiesApiVersion) Valid

func (e CapabilitiesApiVersion) Valid() bool

Valid indicates whether the value is a known member of the CapabilitiesApiVersion enum.

type Health

type Health struct {
	Status HealthStatus `json:"status"`
}

Health defines model for Health.

type HealthStatus

type HealthStatus string

HealthStatus defines model for Health.Status.

const (
	HealthStatusAlive HealthStatus = "alive"
	HealthStatusReady HealthStatus = "ready"
)

Defines values for HealthStatus.

func (HealthStatus) Valid

func (e HealthStatus) Valid() bool

Valid indicates whether the value is a known member of the HealthStatus enum.

type ModuleStatus

type ModuleStatus struct {
	// Health Current core health, independent of lifecycle state.
	Health *ModuleStatusHealth `json:"health,omitempty"`
	Id     string              `json:"id"`
	State  ModuleStatusState   `json:"state"`
}

ModuleStatus defines model for ModuleStatus.

type ModuleStatusHealth

type ModuleStatusHealth string

ModuleStatusHealth Current core health, independent of lifecycle state.

const (
	ModuleStatusHealthAvailable   ModuleStatusHealth = "available"
	ModuleStatusHealthDisabled    ModuleStatusHealth = "disabled"
	ModuleStatusHealthUnavailable ModuleStatusHealth = "unavailable"
)

Defines values for ModuleStatusHealth.

func (ModuleStatusHealth) Valid

func (e ModuleStatusHealth) Valid() bool

Valid indicates whether the value is a known member of the ModuleStatusHealth enum.

type ModuleStatusState

type ModuleStatusState string

ModuleStatusState defines model for ModuleStatus.State.

const (
	ModuleStatusStateDisabled ModuleStatusState = "disabled"
	ModuleStatusStateFailed   ModuleStatusState = "failed"
	ModuleStatusStateReady    ModuleStatusState = "ready"
	ModuleStatusStateStarting ModuleStatusState = "starting"
	ModuleStatusStateStopped  ModuleStatusState = "stopped"
	ModuleStatusStateStopping ModuleStatusState = "stopping"
)

Defines values for ModuleStatusState.

func (ModuleStatusState) Valid

func (e ModuleStatusState) Valid() bool

Valid indicates whether the value is a known member of the ModuleStatusState enum.

type Problem

type Problem struct {
	Code      string `json:"code"`
	RequestId string `json:"request_id"`
}

Problem defines model for Problem.

type Unavailable

type Unavailable = Problem

Unavailable defines model for Unavailable.

Jump to

Keyboard shortcuts

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