cmd

package
v1.4.4 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Version = "dev"

Functions

func Execute

func Execute()

Types

type Config

type Config struct {
	Debug   bool    `mapstructure:"debug"`
	Service Service `mapstructure:"service"`
}

type CreateFileFromTemplate

type CreateFileFromTemplate func(s *Service) error

type Delims

type Delims struct {
	First  string
	Second string
}

type Mod

type Mod struct {
	Path string `json:"Path"`
}

type Service added in v1.0.0

type Service struct {
	Name              string `mapstructure:"name"`
	Namespace         string `mapstructure:"namespace"`
	Domain            string `mapstructure:"domain"`
	Module            string
	EnableTelemetry   bool   `mapstructure:"enable_telemetry"`
	DisableDeployment bool   `mapstructure:"disable_deployment"`
	MetricsUrl        string `mapstructure:"metrics_url"`
	EnableHTTP        bool   `mapstructure:"enable_http"`
	NatsSubject       string `mapstructure:"nats_subject"`
	NatsServers       string `mapstructure:"nats_servers"`
	EnableGraphql     bool   `mapstructure:"enable_graphql"`
	EnableEdgeDB      bool   `mapstructure:"enable_edgedb"`
	ContainerRegistry string `mapstructure:"container_registry"`
}

func (*Service) CreateFilesFromTemplates added in v1.0.0

func (s *Service) CreateFilesFromTemplates(opts ...CreateFileFromTemplate) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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