cesregistry

package
v0.28.0 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2023 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewLocalDoguFetcher

func NewLocalDoguFetcher(doguLocalRegistry registry.DoguRegistry) *localDoguFetcher

NewLocalDoguFetcher creates a new dogu fetcher that provides descriptors for dogus.

func NewResourceDoguFetcher

func NewResourceDoguFetcher(client client.Client, doguRemoteRegistry cesremote.Registry) *resourceDoguFetcher

NewResourceDoguFetcher creates a new dogu fetcher that provides descriptors for dogus.

Types

type CesDoguRegistrator

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

CesDoguRegistrator is responsible for register dogus in the cluster

func NewCESDoguRegistrator

func NewCESDoguRegistrator(client client.Client, registry cesregistry.Registry, secretGenerator cloudogu.SecretResourceGenerator) *CesDoguRegistrator

NewCESDoguRegistrator creates a new instance of the dogu registrator. It registers dogus in the dogu registry and generates keypairs

func (*CesDoguRegistrator) RegisterDoguVersion

func (c *CesDoguRegistrator) RegisterDoguVersion(dogu *core.Dogu) error

RegisterDoguVersion registers an upgrade of an existing dogu in a cluster. Use RegisterNewDogu() to complete new dogu installations.

func (*CesDoguRegistrator) RegisterNewDogu

func (c *CesDoguRegistrator) RegisterNewDogu(ctx context.Context, doguResource *k8sv1.Dogu, dogu *core.Dogu) error

RegisterNewDogu registers a completely new dogu in a cluster. Use RegisterDoguVersion() for upgrades of an existing dogu.

func (*CesDoguRegistrator) UnregisterDogu

func (c *CesDoguRegistrator) UnregisterDogu(dogu string) error

UnregisterDogu deletes a dogu from the dogu registry

Jump to

Keyboard shortcuts

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