provider

package
v0.6.4 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config added in v0.6.3

type Config struct {
	Name     string
	FilePath string
	Params   config.InfraParams
}

type ExecUnit

type ExecUnit struct {
	Name                 string
	Type                 string
	MemReqMB             int
	KeepWarm             bool
	NetworkPlacement     string
	Schedules            []Schedule
	HelmOptions          config.HelmChartOptions
	Params               config.InfraParams
	EnvironmentVariables core.EnvironmentVariables
	DockerfilePath       string
}

type FS added in v0.6.3

type FS struct {
	Name   string
	Type   string
	Params config.InfraParams
}

type Gateway

type Gateway struct {
	Name    string
	Routes  []Route
	ApiType string
}

type HelmChart

type HelmChart struct {
	Name      string
	Directory string
	Values    []kubernetes.Value
}

type ORM

type ORM struct {
	Name   string
	Type   string
	Params config.InfraParams
}

type Provider

type Provider interface {
	core.Plugin
	GetKindTypeMappings(kind string) ([]string, bool)
	GetDefaultConfig() config.Defaults
}

type PubSub

type PubSub struct {
	Publishers  []core.ResourceKey
	Subscribers []core.ResourceKey
	Path        string
	EventName   string
	Name        string
	Params      config.InfraParams
}

type Redis

type Redis struct {
	Name   string
	Type   string
	Params config.InfraParams
}

type Route

type Route struct {
	ExecUnitName string `json:"execUnitName"`
	Path         string `json:"path"`
	Verb         string `json:"verb"`
}

type Schedule

type Schedule struct {
	ModulePath string
	FuncName   string
	Cron       string
}

type StaticUnit

type StaticUnit struct {
	Name                   string
	Type                   string
	IndexDocument          string
	ContentDeliveryNetwork config.ContentDeliveryNetwork
}

type TemplateConfig

type TemplateConfig struct {
	Datadog bool
	Lumigo  bool
	AppName string
}

type TemplateData

type TemplateData struct {
	ConfigPath string

	HasKV       bool
	Secrets     []string
	ORMs        []ORM
	Redis       []Redis
	PubSubs     []PubSub
	ExecUnits   []ExecUnit
	HelmCharts  []HelmChart
	StaticUnits []StaticUnit
	Gateways    []Gateway
	Topology    core.TopologyData
	Results     *core.CompilationResult
}

Directories

Path Synopsis
aws

Jump to

Keyboard shortcuts

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