cluster

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: May 18, 2022 License: MIT Imports: 21 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	ChillSecretKey = "chill-secret"
)

Variables

This section is empty.

Functions

func GetKubeconfigPath

func GetKubeconfigPath(forceConfig string) (string, error)

Types

type ClusterManager

type ClusterManager interface {
	GetKnative() (v1.ServingV1Interface, error)
	GetKubernetesClient() (*kubernetes.Clientset, error)
	GetLockerClient() (dynamic.Interface, error)
	GetServiceIdentifier(serviceName string, version version.Version) string
	GetRevisionPath(serviceName string, version version.Version) string
	GetServiceAndVersion(revisionPath string) (string, *version.Version, error)
	// GetInternalServiceHost returns best host compatible with version matching constraints
	GetInternalServiceHost(serviceName string, version version.Version, c constraint.Constraint) (string, error)
	SetSecret(key string, value string) error
	GetSecret(key string) (string, error)
	SetRegistry(serviceName string, server string, login string, password string) error
	GetRegistry(serviceName string, server string) (string, string, error)
}

func NewForKubernetes

func NewForKubernetes(forceConfig string, namespace string) (ClusterManager, error)

Jump to

Keyboard shortcuts

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