cmd

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2024 License: Apache-2.0 Imports: 13 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.1

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"`
	ContainerRegistry string `mapstructure:"container_registry"`
}

func (*Service) CreateFilesFromTemplates added in v1.0.1

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