manager

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2017 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

View Source
const (
	HelmTemplateType     = "helm"
	RancherTemplateType  = "native"
	HelmTemplateBaseType = "kubernetes"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type CatalogConfig

type CatalogConfig struct {
	URL    string
	Branch string
	Kind   string
}

type CatalogType added in v0.17.0

type CatalogType int
const (
	CatalogTypeRancher CatalogType = iota
	CatalogTypeHelmObjectRepo
	CatalogTypeHelmGitRepo
	CatalogTypeInvalid
)

type Manager

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

func NewManager

func NewManager(cacheRoot string, configFile string, strict bool, db *gorm.DB, uuid string) *Manager

func (*Manager) Refresh

func (m *Manager) Refresh(environmentId string, update bool) error

func (*Manager) RefreshAll

func (m *Manager) RefreshAll(update bool) error

type RepoRefreshError added in v1.0.0

type RepoRefreshError struct {
	Errors []error
}

func (*RepoRefreshError) Error added in v1.0.0

func (e *RepoRefreshError) Error() string

Jump to

Keyboard shortcuts

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