server

package
v0.0.0-...-7cd1858 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2024 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

View Source
const (
	APIListenerAddressFlagName = "api-listener-address"
	APIListenerTLSCertFlagName = "api-listener-tls-crt"
	APIListenerTLSKeyFlagName  = "api-listener-tls-key"

	BackendURLFlagName      = "backend-url"
	CloudIDFlagName         = "cloud-id"
	ExtensionsFlagName      = "extensions"
	ExternalAddressFlagName = "external-address"
	GlobalCloudIDFlagName   = "global-cloud-id"
)

Names of command line flags:

Variables

This section is empty.

Functions

func AddTokenFlags

func AddTokenFlags(set *pflag.FlagSet)

AddTokenFlags adds the flags needed to configure a token to the given flag set.

func AlarmNotificationServer

func AlarmNotificationServer() *cobra.Command

Server creates and returns the `start alarm-notification-server` command.

func AlarmServer

func AlarmServer() *cobra.Command

Server creates and returns the `start alarm-server` command.

func AlarmSubscriptionServer

func AlarmSubscriptionServer() *cobra.Command

AlarmSubscriptionServer Server creates and returns the `start alarm-subscription-server` command.

func DeploymentManagerServer

func DeploymentManagerServer() *cobra.Command

Server creates and returns the `start deployment-manager-server` command.

func GetTokenFlag

func GetTokenFlag(
	ctx context.Context, set *pflag.FlagSet, logger *slog.Logger) (string, error)

GetTokenFlag gets the value of the token flag.

func MetadataServer

func MetadataServer() *cobra.Command

MetadataServer creates and returns the `start metadata-server` command.

func ResourceServer

func ResourceServer() *cobra.Command

Server creates and returns the `start resource-server` command.

Types

type AlarmNotificationServerCommand

type AlarmNotificationServerCommand struct {
}

AlarmNotificationServerCommand contains the data and logic needed to run the `start alarm-notification-server` command.

func NewAlarmNotificationServer

func NewAlarmNotificationServer() *AlarmNotificationServerCommand

NewAlarmNotificationServer creates a new runner that knows how to execute the `start alarm-notification-server` command.

type AlarmServerCommand

type AlarmServerCommand struct {
	// contains filtered or unexported fields
}

AlarmServerCommand contains the data and logic needed to run the `start alarm-server` command.

func NewAlarmServer

func NewAlarmServer() *AlarmServerCommand

NewAlarmServer creates a new runner that knows how to execute the `start alarm-server` command.

type AlarmSubscriptionServerCommand

type AlarmSubscriptionServerCommand struct {
}

AlarmSubscriptionServerCommand contains the data and logic needed to run the `start alarm-subscription-server` command.

func NewAlarmSubscriptionServer

func NewAlarmSubscriptionServer() *AlarmSubscriptionServerCommand

NewAlarmSubscriptionServer creates a new runner that knows how to execute the `start alarm-subscription-server` command.

type DeploymentManagerServerCommand

type DeploymentManagerServerCommand struct {
}

DeploymentManagerServerCommand contains the data and logic needed to run the `start deployment-manager-server` command.

func NewDeploymentManagerServer

func NewDeploymentManagerServer() *DeploymentManagerServerCommand

NewDeploymentManagerServer creates a new runner that knows how to execute the `start deployment-manager-server` command.

type MetadataServerCommand

type MetadataServerCommand struct {
}

MetadataServerCommand contains the data and logic needed to run the `start deployment-manager-server` command.

func NewMetadataServer

func NewMetadataServer() *MetadataServerCommand

NewMetadataServer creates a new runner that knows how to execute the `start deployment-manager-server` command.

type ResourceServerCommand

type ResourceServerCommand struct {
	// contains filtered or unexported fields
}

ResourceServerCommand contains the data and logic needed to run the `start resource-server` command.

func NewResourceServer

func NewResourceServer() *ResourceServerCommand

NewResourceServer creates a new runner that knows how to execute the `start resource-server` command.

Jump to

Keyboard shortcuts

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