facade

package
v2.6.1 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FunctionConfigPrefix        = "baetyl-function-config"
	FunctionProgramConfigPrefix = "baetyl-function-program-config"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Facade

type Facade interface {
	GetApp(ns, name, version string) (*specV1.Application, error)
	CreateApp(ns string, baseApp, app *specV1.Application, configs []specV1.Configuration) (*specV1.Application, error)
	UpdateApp(ns string, oldApp, app *specV1.Application, configs []specV1.Configuration) (*specV1.Application, error)
	DeleteApp(ns, name string, app *specV1.Application) error

	CreateConfig(ns string, config *specV1.Configuration) (*specV1.Configuration, error)
	UpdateConfig(ns string, config *specV1.Configuration) (*specV1.Configuration, error)
	DeleteConfig(ns, name string) error

	CreateSecret(ns string, secret *specV1.Secret) (*specV1.Secret, error)
	UpdateSecret(ns string, secret *specV1.Secret) (*specV1.Secret, error)
	DeleteSecret(ns, name string) error
}

func NewFacade

func NewFacade(config *config.CloudConfig) (Facade, error)

Jump to

Keyboard shortcuts

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