resolver

package
v1.1.5 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2020 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Mock

type Mock struct {
}

Mock implements the Resolver interface

func (Mock) GetConfig

func (m Mock) GetConfig() *config.Configuration

func (Mock) GetInstanceIDFromPodIP

func (m Mock) GetInstanceIDFromPodIP(s string) (string, error)

type Resolver

type Resolver interface {
	// GetConfig returns the controller configuration
	GetConfig() *config.Configuration
	GetInstanceIDFromPodIP(string) (string, error)
}

Resolver is an interface that knows how to extract information from a controller

Jump to

Keyboard shortcuts

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