github

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: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppInstallation

type AppInstallation struct {
	InstallationID int64
	Repositories   []string
}

type Cache

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

func NewCache

func NewCache() *Cache

func (*Cache) Get

func (c *Cache) Get(key string) (interface{}, bool)

func (*Cache) Set

func (c *Cache) Set(key string, value interface{})

type Component

type Component struct {
	base.BaseComponent
	AppID         int64
	AppPrivateKey []byte
	// contains filtered or unexported fields
}

func NewComponent

func NewComponent(comp *appstudiov1alpha1.Component, timestamp int64, client client.Client, ctx context.Context) (*Component, error)

func (*Component) GetAPIEndpoint

func (c *Component) GetAPIEndpoint() string

func (*Component) GetBranch

func (c *Component) GetBranch() (string, error)

func (*Component) GetRenovateConfig

func (c *Component) GetRenovateConfig(registrySecret *corev1.Secret) (string, error)

func (*Component) GetToken

func (c *Component) GetToken() (string, error)

Jump to

Keyboard shortcuts

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