api

package
v0.0.0-...-69d3e79 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2026 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Overview

Package api provides the REST API endpoints.

Package api provides the REST API endpoints.

Index

Constants

This section is empty.

Variables

View Source
var Servers = map[string]rest.Server{
	"sunbeam": {
		CoreAPI:   true,
		ServeUnix: true,
		Resources: []rest.Resources{
			{
				PathPrefix: apitypes.ExtendedPathPrefix,
				Endpoints: []rest.Endpoint{
					nodesCmd,
					nodeCmd,
					terraformStateListCmd,
					terraformStateCmd,
					terraformLockListCmd,
					terraformLockCmd,
					terraformUnlockCmd,
					jujuusersCmd,
					jujuuserCmd,
					configCmd,
					manifestsCmd,
					manifestCmd,
					statusCmd,
					storageBackendsCmd,
					storageBackendCmd,
					featureGatesCmd,
					featureGateCmd,
				},
			},
			{
				PathPrefix: apitypes.LocalPathPrefix,
				Endpoints: []rest.Endpoint{
					certPair,
				},
			},
		},
	},
}

Servers is a global list of all API servers on the /1.0 endpoint of microcluster.

Functions

This section is empty.

Types

This section is empty.

Directories

Path Synopsis
Package apitypes provides shared types and structs.
Package apitypes provides shared types and structs.

Jump to

Keyboard shortcuts

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