resources

package
v0.0.0-...-ceb1859 Latest Latest
Warning

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

Go to latest
Published: May 2, 2024 License: AGPL-3.0 Imports: 33 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ExtendedEndpoints = &Resources{
	Path:      client.ExtendedEndpoint,
	Endpoints: []rest.Endpoint{},
}

ExtendedEndpoints holds all the endpoints added by external usage of MicroCluster.

View Source
var InternalEndpoints = &Resources{
	Path: client.InternalEndpoint,
	Endpoints: []rest.Endpoint{
		databaseCmd,
		clusterCertificatesCmd,
		sqlCmd,
		tokenCmd,
		heartbeatCmd,
		trustCmd,
		trustEntryCmd,
	},
}

InternalEndpoints are the /cluster/internal API endpoints available at the listen address.

View Source
var PublicEndpoints = &Resources{
	Path: client.PublicEndpoint,
	Endpoints: []rest.Endpoint{
		api10Cmd,
		clusterCmd,
		clusterMemberCmd,
		tokensCmd,
		readyCmd,
	},
}

PublicEndpoints are the /cluster/1.0 API endpoints available without authentication.

View Source
var UnixEndpoints = &Resources{
	Path: client.ControlEndpoint,
	Endpoints: []rest.Endpoint{
		controlCmd,
		shutdownCmd,
	},
}

UnixEndpoints are the endpoints available over the unix socket.

Functions

This section is empty.

Types

type Resources

type Resources struct {
	Path      client.EndpointType
	Endpoints []rest.Endpoint
}

Resources represents all the resources served over the same path.

Jump to

Keyboard shortcuts

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