ring

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Device

type Device struct {
	Region string
	Zone   string
	IP     string
	Port   int
	Device string
}

func (Device) Formatted

func (d Device) Formatted() string

type Ring

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

func New

func New(claimName string, path string, ringType string) (*Ring, error)

func (*Ring) AddDevice

func (r *Ring) AddDevice(device Device) error

func (*Ring) BuildJob

func (r *Ring) BuildJob(name types.NamespacedName) (batch.Job, error)

Jump to

Keyboard shortcuts

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