http

package
v0.0.0-...-c2045be Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type VersionProvider

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

VersionProvider implements an http provider to get worker version

func NewVersionProvider

func NewVersionProvider(port string) *VersionProvider

NewVersionProvider instantiates version http provider

func (*VersionProvider) Assignation

func (v *VersionProvider) Assignation(ctx context.Context, IP net.IP) (*config.Workload, error)

Assignation request worker assignation

Jump to

Keyboard shortcuts

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