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 ¶
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.
Click to show internal directories.
Click to hide internal directories.