trees

package
v0.16.0 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateResponse

func GenerateResponse(c *Container)

func Process

func Process(rTree *utils.Node, c *Container)

Types

type Container

type Container struct {
	Config       string
	Description  string
	Etcd         *etcd.EtcdStorage
	ResponseData []any
	// contains filtered or unexported fields
}

Container is used by getSchemaList handler to create and enrich schema data it will eventually return. This is required to maintain the state of the record while it goes through multiple iterations: first for list of apps, then the list of modules inside the app and then versions. Container holds the state for each iteration.

type GetConfigListResponse

type GetConfigListResponse struct {
	App         string `json:"app"`
	Module      string `json:"module"`
	Ver         int    `json:"ver"`
	Config      string `json:"config"`
	Description string `json:"description"`
}

Jump to

Keyboard shortcuts

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