manager

package
Version: v0.0.0-...-0a3a519 Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2017 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CatalogConfig

type CatalogConfig struct {
	URL    string
	Branch string
}

TODO: move elsewhere

type Manager

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

func NewManager

func NewManager(cacheRoot string, config map[string]CatalogConfig, db *gorm.DB) *Manager

func (*Manager) CreateConfigCatalogs

func (m *Manager) CreateConfigCatalogs() error

func (*Manager) Refresh

func (m *Manager) Refresh(environmentId string) error

func (*Manager) RefreshAll

func (m *Manager) RefreshAll() error

type TemplateConfig

type TemplateConfig struct {
	Name           string            `yaml:"name"`
	Category       string            `yaml:"category"`
	Description    string            `yaml:"description"`
	Version        string            `yaml:"version"`
	Maintainer     string            `yaml:"maintainer"`
	License        string            `yaml:"license"`
	ProjectURL     string            `yaml:"projectURL"`
	IsSystem       string            `yaml:"isSystem"`
	DefaultVersion string            `yaml:"version"`
	Labels         map[string]string `yaml:"version"`
}

TODO: move elsewhere

Jump to

Keyboard shortcuts

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