global

package
v0.0.0-...-7c992ab Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	KindNull           = ""
	KindTemplate       = "Template"
	KindQuickStart     = "QuickStart"
	KindQuickStartRule = "QuickStartRule"
	KindCustom         = "CustomResourceDefinition"
)
View Source
const Name = "ARCEUS"

Variables

View Source
var (
	ResourcePath           = "/etc/arceus/static"
	CustomResourcePath     = ResourcePath + "/custom"
	KubernetesResourcePath = ResourcePath + "/kubernetes"
	TemplateResourcePath   = ResourcePath + "/template"
	RuleResourcePath       = ResourcePath + "/rule"
)

Functions

func Init

func Init(cfg *Config) error

Types

type Config

type Config struct {
	BasePath string `json:"base_path"`
}

func Environ

func Environ() *Config

Jump to

Keyboard shortcuts

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