olm

package
v0.15.2 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2020 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var SDKLabels = map[string]string{
	"owner": "operator-sdk",
}

SDKLabels are used to identify certain operator-sdk resources.

Functions

func GetRegistryServiceAddr

func GetRegistryServiceAddr(pkgName, namespace string) string

GetRegistryServiceAddr returns a Service's DNS name + port for a given pkgName and namespace.

Types

type RegistryResources

type RegistryResources struct {
	Client  *olmclient.Client
	Pkg     registry.PackageManifest
	Bundles []*registry.Bundle
}

RegistryResources configures creation/deletion of internal registry-related resources.

func (*RegistryResources) CreateRegistryManifests

func (m *RegistryResources) CreateRegistryManifests(ctx context.Context, namespace string) error

CreateRegistryManifests creates all registry objects required to serve manifests from m.manifests in namespace.

func (*RegistryResources) DeleteRegistryManifests

func (m *RegistryResources) DeleteRegistryManifests(ctx context.Context, namespace string) error

DeleteRegistryManifests deletes all registry objects serving manifests from m.manifests in namespace.

func (*RegistryResources) IsManifestDataStale

func (m *RegistryResources) IsManifestDataStale(ctx context.Context, namespace string) (bool, error)

IsManifestDataStale checks if manifest data stored in the registry is stale by comparing it to manifest data currently managed by m.

Jump to

Keyboard shortcuts

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