cluster

package
v1.0.0-beta1 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2020 License: LGPL-3.0 Imports: 2 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClusterUseCase

type ClusterUseCase interface {
	Status() (*model.ClusterStatus, error)
	Init() error
	UnInstall() error
}

ClusterUseCase cluster case

type ComponentUseCase

type ComponentUseCase interface {
	Get(name string) (*v1.RbdComponentStatus, error)
	List(isInit bool) ([]*v1.RbdComponentStatus, error)
}

ComponentUseCase cluster componse case

type GlobalConfigUseCase

type GlobalConfigUseCase interface {
	GlobalConfigs() (*model.GlobalConfigs, error)
	UpdateGlobalConfig(config *model.GlobalConfigs) error
	Address() (string, error)
}

GlobalConfigUseCase global config case

type IClusterCase

type IClusterCase interface {
	GlobalConfigs() GlobalConfigUseCase
	Components() ComponentUseCase
	Install() InstallUseCase
	Cluster() ClusterUseCase
}

IClusterCase cluster case

type InstallUseCase

type InstallUseCase interface {
	Install() error
	InstallStatus() (model.StatusRes, error)
}

InstallUseCase cluster install case

type Repository

type Repository interface {
	EnterpriseID() string
}

Repository represent the cluster's repository contract

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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