configserver

package
v1.14.0-beta1 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2024 License: MIT Imports: 16 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 io.Writer) *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(configr, secretsr io.Reader) ([]*graph.App, 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,
	_, _ *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