api

package
v0.0.0-...-de1f9b2 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2025 License: Apache-2.0 Imports: 16 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,
				},
			},
			{
				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