base

package
v0.0.0-...-609d079 Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2025 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BaseComponent

type BaseComponent struct {
	Name        string
	Namespace   string
	Application string
	Platform    string
	Host        string
	GitURL      string
	// Path of repository, without hostname
	// Temporary field to make the implementation easy, it's part of GitURL, so they're duplicated
	Repository string
	Branch     string
	Timestamp  int64
}

func (*BaseComponent) GetApplication

func (c *BaseComponent) GetApplication() string

func (*BaseComponent) GetGitURL

func (c *BaseComponent) GetGitURL() string

func (*BaseComponent) GetHost

func (c *BaseComponent) GetHost() string

func (*BaseComponent) GetName

func (c *BaseComponent) GetName() string

func (*BaseComponent) GetNamespace

func (c *BaseComponent) GetNamespace() string

func (*BaseComponent) GetPlatform

func (c *BaseComponent) GetPlatform() string

func (*BaseComponent) GetRenovateBaseConfig

func (c *BaseComponent) GetRenovateBaseConfig(client client.Client, ctx context.Context, registrySecret *corev1.Secret) (map[string]interface{}, error)

func (*BaseComponent) GetRepository

func (c *BaseComponent) GetRepository() string

func (*BaseComponent) GetTimestamp

func (c *BaseComponent) GetTimestamp() int64

func (*BaseComponent) TransformHostRules

func (c *BaseComponent) TransformHostRules(ctx context.Context, registrySecret *corev1.Secret) ([]HostRule, error)

type HostRule

type HostRule map[string]string

Jump to

Keyboard shortcuts

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