handler

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: 24 Imported by: 1

Documentation

Index

Constants

View Source
const (
	EtcdSSLPath = "/run/ssl/etcd"
)

Variables

View Source
var APIName = "rbd-api"

APIName name

View Source
var AppUIName = "rbd-app-ui"
View Source
var ChaosName = "rbd-chaos"
View Source
var DBName = "rbd-db"

DBName name

View Source
var DNSName = "rbd-dns"
View Source
var ErrNoDBEndpoints = errors.New("no ready endpoints for DB were found")
View Source
var EtcdName = "rbd-etcd"
View Source
var EventLogName = "rbd-eventlog"
View Source
var GatewayName = "rbd-gateway"
View Source
var GrctlName = "rbd-grctl"

GrctlName install grctl

View Source
var HubName = "rbd-hub"

HubName name

View Source
var MQName = "rbd-mq"
View Source
var MetricsServerName = "metrics-server"

APIName name

View Source
var MonitorName = "rbd-monitor"

NFSName nfs provider name

View Source
var NodeName = "rbd-node"
View Source
var RepoName = "rbd-repo"
View Source
var V1beta1MetricsExists = errors.New("v1beta1.metrics.k8s.io already exists")
View Source
var WebCliName = "rbd-webcli"
View Source
var WorkerName = "rbd-worker"

Functions

func IsIgnoreError

func IsIgnoreError(err error) bool

IsIgnoreError check if the given err is IgnoreError.

Types

type ComponentHandler

type ComponentHandler interface {
	// Before will do something before creating component, such as checking the prerequisites, etc.
	Before() error
	Resources() []interface{}
	After() error
}

func NewAPI

NewAPI new api handle

func NewGrctl

NewGrctl new grctl handle

func NewMetricsServer

NewMetricsServer creates a new metrics-server handler

func NewNFSProvisioner

NewNFSProvisioner new nfs provider

type IgnoreError

type IgnoreError struct {
	// contains filtered or unexported fields
}

func NewIgnoreError

func NewIgnoreError(msg string) *IgnoreError

func (*IgnoreError) Error

func (i *IgnoreError) Error() string

Jump to

Keyboard shortcuts

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