replicas

package
v0.0.54 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2024 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Replicas

type Replicas struct {
	Group          string
	GeneratedIndex int
	Replicas       int
	Changed        bool
}

func (*Replicas) GetReplica

func (replicas *Replicas) GetReplica(shared *shared.Shared, containerDefinition v1.ContainerDefinition) ([]string, []string, error)

func (*Replicas) GetReplicaNumbers

func (replicas *Replicas) GetReplicaNumbers(replicasNumber int, generatedNumber int) (int, int, int)

func (*Replicas) HandleReplica

func (replicas *Replicas) HandleReplica(shared *shared.Shared, containerDefinition *v1.ContainerDefinition, changelog diff.Changelog) (map[string][]string, map[string][]string, error)

Jump to

Keyboard shortcuts

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