etcdmanager

package
v1.23.4 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2022 License: Apache-2.0 Imports: 28 Imported by: 25

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SelectorForCluster added in v1.23.0

func SelectorForCluster(etcdCluster kops.EtcdClusterSpec) map[string]string

SelectorForCluster returns the selector that should be used to select our pods (from services)

Types

type EtcdManagerBuilder

type EtcdManagerBuilder struct {
	*model.KopsModelContext
	Lifecycle    fi.Lifecycle
	AssetBuilder *assets.AssetBuilder
}

EtcdManagerBuilder builds the manifest for the etcd-manager

func (*EtcdManagerBuilder) Build

Build creates the tasks

type EtcdManagerOptionsBuilder

type EtcdManagerOptionsBuilder struct {
	*components.OptionsContext
}

EtcdManagerOptionsBuilder adds options for the etcd-manager to the model.

func (*EtcdManagerOptionsBuilder) BuildOptions

func (b *EtcdManagerOptionsBuilder) BuildOptions(o interface{}) error

BuildOptions generates the configurations used to create etcd manager manifest

type Ports added in v1.23.0

type Ports struct {
	ClientPort          int
	PeerPort            int
	GRPCPort            int
	QuarantinedGRPCPort int
}

func PortsForCluster added in v1.23.0

func PortsForCluster(etcdCluster kops.EtcdClusterSpec) (Ports, error)

PortsForCluster returns the ports that the cluster users.

Jump to

Keyboard shortcuts

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