provider

package
v0.0.0-...-79e2fc8 Latest Latest
Warning

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

Go to latest
Published: May 20, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSwarmProvider

func NewSwarmProvider(c map[string]string) (autoscaler.Provider, error)

Types

type FakeProvider

type FakeProvider struct {
}

func (FakeProvider) Name

func (f FakeProvider) Name() string

func (FakeProvider) Scale

func (f FakeProvider) Scale(serviceId string, target int, direction bool) error

type SwarmProvider

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

func (SwarmProvider) Name

func (p SwarmProvider) Name() string

func (SwarmProvider) Scale

func (p SwarmProvider) Scale(serviceId string, target int, direction bool) error

Jump to

Keyboard shortcuts

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