deploy

package
v2.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2023 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultManifestPath = "/opt/manifests"
)

Variables

This section is empty.

Functions

func DeployManifestsFromPath

func DeployManifestsFromPath(owner metav1.Object, cli client.Client, componentName, manifestPath, namespace string, s *runtime.Scheme, componentEnabled bool) error

func DownloadManifests

func DownloadManifests(uri string) error

DownloadManifests function performs following tasks: 1. Given remote URI, download manifests, else extract local bundle 2. It saves the manifests in the /opt/manifests/component-name/ folder

Types

type Platform

type Platform string
const (
	// ManagedRhods defines expected addon catalogsource
	ManagedRhods Platform = "managed-odh"
	// SelfManagedRhods defines display name in csv
	SelfManagedRhods Platform = "Red Hat OpenShift Data Science"
	// OpenDataHub defines display name in csv
	OpenDataHub Platform = "Open Data Hub Operator"
)

func GetPlatform

func GetPlatform(cli client.Client) (Platform, error)

Jump to

Keyboard shortcuts

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