configserver

package
v1.16.4 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrNotImpl = fmt.Errorf("not implemented")

Functions

func Command

func Command() *cli.Command

Types

type Local

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

func NewLocal

func NewLocal(config, secrets string, runServices map[string]string) *Local

func (*Local) CreateApp

func (l *Local) CreateApp(_ context.Context, _ *graph.App, _ logrus.FieldLogger) error

func (*Local) CreateRunServiceConfig

func (l *Local) CreateRunServiceConfig(
	_ context.Context, _ string, _ *graph.Service, _ logrus.FieldLogger,
) error

func (*Local) DeleteApp

func (l *Local) DeleteApp(_ context.Context, _ *graph.App, _ logrus.FieldLogger) error

func (*Local) DeleteRunServiceConfig

func (l *Local) DeleteRunServiceConfig(
	_ context.Context, _ string, _ *graph.Service, _ logrus.FieldLogger,
) error

func (*Local) GetApps

func (l *Local) GetApps(
	configFile, secretsFile string, runServicesFiles map[string]string,
) ([]*graph.App, error)

func (*Local) GetServices

func (l *Local) GetServices(runServices map[string]string) (graph.Services, error)

func (*Local) UpdateConfig

func (l *Local) UpdateConfig(_ context.Context, _, newApp *graph.App, _ logrus.FieldLogger) error

func (*Local) UpdateRunServiceConfig

func (l *Local) UpdateRunServiceConfig(
	_ context.Context, _ string, _, newSvc *graph.Service, _ logrus.FieldLogger,
) error

func (*Local) UpdateSecrets

func (l *Local) UpdateSecrets(_ context.Context, _, newApp *graph.App, _ logrus.FieldLogger) error

func (*Local) UpdateSystemConfig

func (l *Local) UpdateSystemConfig(_ context.Context, _, _ *graph.App, _ logrus.FieldLogger) error

Jump to

Keyboard shortcuts

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