Documentation ¶
Index ¶
- Constants
- func AddTokenFlags(set *pflag.FlagSet)
- func AlarmNotificationServer() *cobra.Command
- func AlarmServer() *cobra.Command
- func AlarmSubscriptionServer() *cobra.Command
- func DeploymentManagerServer() *cobra.Command
- func GetTokenFlag(ctx context.Context, set *pflag.FlagSet, logger *slog.Logger) (string, error)
- func MetadataServer() *cobra.Command
- func ResourceServer() *cobra.Command
- type AlarmNotificationServerCommand
- type AlarmServerCommand
- type AlarmSubscriptionServerCommand
- type DeploymentManagerServerCommand
- type MetadataServerCommand
- type ResourceServerCommand
Constants ¶
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 ¶
AddTokenFlags adds the flags needed to configure a token to the given flag set.
func AlarmNotificationServer ¶
Server creates and returns the `start alarm-notification-server` command.
func AlarmServer ¶
Server creates and returns the `start alarm-server` command.
func AlarmSubscriptionServer ¶
AlarmSubscriptionServer Server creates and returns the `start alarm-subscription-server` command.
func DeploymentManagerServer ¶
Server creates and returns the `start deployment-manager-server` command.
func GetTokenFlag ¶
GetTokenFlag gets the value of the token flag.
func MetadataServer ¶
MetadataServer creates and returns the `start metadata-server` command.
func ResourceServer ¶
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.