integrations

package
v1.8.0 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2025 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IntegrationName added in v1.8.0

type IntegrationName string

IntegrationName name of a integration.

const (
	ACS                   IntegrationName = "acs"
	Artifactory           IntegrationName = "artifactory"
	Azure                 IntegrationName = "azure"
	BitBucket             IntegrationName = "bitbucket"
	GitHub                IntegrationName = "github"
	GitLab                IntegrationName = "gitlab"
	Jenkins               IntegrationName = "jenkins"
	Nexus                 IntegrationName = "nexus"
	Quay                  IntegrationName = "quay"
	TrustedArtifactSigner IntegrationName = "tas"
	Trustification        IntegrationName = "trustification"
)

type Manager added in v1.8.0

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

Manager represents the actor responsible for all integrations. It centralizes the management of integration instances, keeping a consistent set of integration names.

func NewManager added in v1.8.0

func NewManager(logger *slog.Logger, kube *k8s.Kube) *Manager

NewManager instantiates a new Manager.

func (*Manager) ConfiguredIntegrations added in v1.8.0

func (m *Manager) ConfiguredIntegrations(
	ctx context.Context,
	cfg *config.Config,
) ([]string, error)

func (*Manager) Integration added in v1.8.0

func (m *Manager) Integration(name IntegrationName) *integration.Integration

Integration returns the integration instance by name.

func (*Manager) IntegrationNames added in v1.8.0

func (m *Manager) IntegrationNames() []string

IntegrationNames returns a list of all integration names.

Jump to

Keyboard shortcuts

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