source

package
v0.0.0-...-b2dbf94 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2024 License: Apache-2.0 Imports: 9 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildKubeSource

func BuildKubeSource(config *configs.MetaSourceConfig) *apiserver.Watchers

func BuildMetaSource

func BuildMetaSource(config *configs.MetaSourceConfig) *metasource.MetaSource

Types

type MetaSource

type MetaSource interface {
	Run() error
	Stop() error

	// 用于将服务方法注册到外部的http服务中
	Handlers() map[string]http.HandlerFunc
}

func CreateMetaSourceFromConfig

func CreateMetaSourceFromConfig(config *configs.MetaSourceConfig) MetaSource

type SourceType

type SourceType int
const (
	KubeAuth SourceType = iota
	AcceptPush
	Fetch
)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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