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 ¶
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
Click to show internal directories.
Click to hide internal directories.