Documentation
¶
Index ¶
Constants ¶
View Source
const (
ChillSecretKey = "chill-secret"
)
Variables ¶
This section is empty.
Functions ¶
func GetKubeconfigPath ¶
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)
Click to show internal directories.
Click to hide internal directories.