route

package
v0.20.3 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2021 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type K8SClusterIDResp

type K8SClusterIDResp struct {
	ID         string `json:"id"`
	Identifier string `json:"identifier"`
}

type Route

type Route interface {
	CreateMesos(clusterID, namespace string, data []byte) error
	DeleteMesos(clusterID, namespace, name string, data []byte) error
	CreateK8S(clusterID, namespace string, data []byte) error
	DeleteK8S(clusterID, namespace, resource, name string, data []byte) error
}

Route the interface definition of a route

func New

func New(cfg *config.Config, rd *rdiscover.RDiscover) (r Route, err error)

Jump to

Keyboard shortcuts

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