common

package
v0.0.0-...-ca63f25 Latest Latest
Warning

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

Go to latest
Published: May 2, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateModuleName

func CreateModuleName(fqdn, prefix, moduleName string) string

CreateModuleName takes a FQDN and a prefix and generates a human-readable unique interpretation of a name combination. e.g. kyma-project.io/module/some-module and default-id => "default-id-some-module-34180237" e.g. domain.com/some-module and default-id => "default-id-some-module-1238916".

Types

type Module

type Module struct {
	ModuleName string
	FQDN       string
	Template   *templatelookup.ModuleTemplateInfo
	*v1beta2.Manifest
	Enabled bool
}

func (*Module) ApplyLabelsAndAnnotations

func (m *Module) ApplyLabelsAndAnnotations(
	kyma *v1beta2.Kyma,
)

func (*Module) ContainsExpectedOwnerReference

func (m *Module) ContainsExpectedOwnerReference(ownerName string) bool

func (*Module) Logger

func (m *Module) Logger(base logr.Logger) logr.Logger

type Modules

type Modules []*Module

Jump to

Keyboard shortcuts

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