micro

package
v0.0.0-...-4786a4a Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Major = "0"
	Minor = "0"
)

Variables

This section is empty.

Functions

func Version

func Version(appVer string) string

Types

type FakeService

type FakeService struct{}

func (FakeService) DataSource

func (d FakeService) DataSource() k8s.Interface

func (FakeService) Handle

func (d FakeService) Handle(pattern string, handler http.Handler) Interface

func (FakeService) HandleFunc

func (d FakeService) HandleFunc(pattern string, handler func(http.ResponseWriter, *http.Request)) Interface

func (FakeService) Name

func (d FakeService) Name() string

func (FakeService) Run

func (d FakeService) Run() error

type Interface

type Interface interface {
	Run() error
	Name() string
	DataSource() k8s.Interface
	Handle(pattern string, handler http.Handler) Interface
	HandleFunc(pattern string, handler func(http.ResponseWriter, *http.Request)) Interface
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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