controller

package
v0.0.0-...-e163d20 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConfigurationEndpoints

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

func New

func (ConfigurationEndpoints) CloneConfigHandler

func (e ConfigurationEndpoints) CloneConfigHandler(w http.ResponseWriter, r *http.Request)

func (ConfigurationEndpoints) DeleteConfigHandler

func (e ConfigurationEndpoints) DeleteConfigHandler(w http.ResponseWriter, r *http.Request)

func (ConfigurationEndpoints) ReadConfigHandler

func (e ConfigurationEndpoints) ReadConfigHandler(w http.ResponseWriter, r *http.Request)

type Service

type Service interface {
	DeleteConfig(ctx context.Context, env string) error
	CloneConfig(ctx context.Context, env, newEnv string, updateGlobals map[string]interface{}) error
	ReadConfig(ctx context.Context, env string, groups, globals []string) (map[string]interface{}, error)
}

Jump to

Keyboard shortcuts

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