Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewLocalDoguFetcher ¶
func NewLocalDoguFetcher(doguLocalRegistry local.LocalDoguRegistry) *localDoguFetcher
NewLocalDoguFetcher 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, localDoguRegistry thirdParty.LocalDoguRegistry, 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 ¶
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(ctx context.Context, dogu string) error
UnregisterDogu deletes a dogu from the dogu registry
Click to show internal directories.
Click to hide internal directories.