kubernetes

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2022 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ReplicasManager added in v0.1.0

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

ReplicasManager select Statefusets to get shard manager

func NewReplicasManager added in v0.1.0

func NewReplicasManager(
	cli kubernetes.Interface,
	stsNamespace string,
	stsSelector string,
	port int,
	deletePVC bool,
	lg logrus.FieldLogger,
) *ReplicasManager

NewReplicasManager create a ReplicasManager

func (*ReplicasManager) Replicas added in v0.1.0

func (g *ReplicasManager) Replicas() ([]shard.Manager, error)

Replicas return all shards manager

Jump to

Keyboard shortcuts

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