registry

package
v0.0.132 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2025 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Registry

type Registry struct {
	Gitopses   map[string]map[string]*implementation.Gitops
	GitopsLock sync.RWMutex
	Client     *client.Http
	User       *authentication.User
}

func (*Registry) AddOrUpdate

func (registry *Registry) AddOrUpdate(group string, name string, gitops *implementation.Gitops)

func (*Registry) All

func (registry *Registry) All() map[string]map[string]*implementation.Gitops

func (*Registry) Find

func (registry *Registry) Find(group string, name string) *implementation.Gitops

func (*Registry) FindLocal

func (registry *Registry) FindLocal(group string, name string) *implementation.Gitops

func (*Registry) Remove

func (registry *Registry) Remove(group string, name string) error

func (*Registry) Sync

func (registry *Registry) Sync(gitops *implementation.Gitops) error

Jump to

Keyboard shortcuts

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