manager

package
v2.2.12+incompatible Latest Latest
Warning

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

Go to latest
Published: May 16, 2020 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CatalogNameLabel  = "catalog.cattle.io/name"
	TemplateNameLabel = "catalog.cattle.io/template_name"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type CatalogInfo

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

type Manager

type Manager struct {
	CatalogLister v3.CatalogLister

	ProjectCatalogLister v3.ProjectCatalogLister

	ClusterCatalogLister v3.ClusterCatalogLister
	// contains filtered or unexported fields
}

func New

func New(management *config.ManagementContext) *Manager

func (*Manager) ClusterCatalogSync

func (m *Manager) ClusterCatalogSync(key string, obj *v3.ClusterCatalog) (runtime.Object, error)

func (*Manager) DeleteBadCatalogTemplates

func (m *Manager) DeleteBadCatalogTemplates() bool

func (*Manager) DeleteOldTemplateContent

func (m *Manager) DeleteOldTemplateContent() bool

func (*Manager) ProjectCatalogSync

func (m *Manager) ProjectCatalogSync(key string, obj *v3.ProjectCatalog) (runtime.Object, error)

func (*Manager) Sync

func (m *Manager) Sync(key string, obj *v3.Catalog) (runtime.Object, error)

Jump to

Keyboard shortcuts

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