cluster

package
v0.0.0-...-4748121 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2019 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

View Source
const RouteName = "toolchain-route"

Variables

This section is empty.

Functions

func NewClusterService

func NewClusterService(config Config) *clusterService

Types

type Config

type Config interface {
	GetClusterServiceURL() string
	GetAuthServiceURL() string
	GetClientID() string
	GetClientSecret() string
	GetClusterName() string
}

type ConfigInformer

type ConfigInformer interface {
	Inform(options ...SASecretOption) (*clusterclient.CreateClusterData, error)
}

func NewConfigInformer

func NewConfigInformer(oc client.Client, ns string, clusterName string) ConfigInformer

type RouteOption

type RouteOption func(r *routev1.Route)

type SASecretOption

type SASecretOption func(sa *v1.ServiceAccount)

Jump to

Keyboard shortcuts

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