service

package
v0.0.0-...-9b56418 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2020 License: Apache-2.0 Imports: 21 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewClusterService

func NewClusterService(context servicectx.ServiceContext, loader ConfigLoader) service.ClusterService

NewClusterService creates a new cluster service with the default implementation

func TestValidateURL

func TestValidateURL(t *testing.T)

TestValidateURL verifies the `cluster.Validate()` func

Types

type ConfigLoader

type ConfigLoader interface {
	ReloadClusterConfig() error
	GetClusterConfigurationFilePath() string
	GetClusters() map[string]repository.Cluster
}

ConfigLoader to interface for the config watcher/loader

Jump to

Keyboard shortcuts

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