Documentation ¶
Index ¶
- Constants
- func GetFunctionDiscoveriesWithExtensions(opts bootstrap.Opts, extensions Extensions) []fds.FunctionDiscoveryFactory
- func GetFunctionDiscoveriesWithExtensionsAndRegistry(opts bootstrap.Opts, ...) []fds.FunctionDiscoveryFactory
- func NewDiscoverySyncer(fd *fds.FunctionDiscovery, fdsMode v1.Settings_DiscoveryOptions_FdsMode) v1.DiscoverySyncer
- func NewSetupFunc() setuputils.SetupFunc
- func NewSetupFuncWithExtensions(extensions Extensions) setuputils.SetupFunc
- func RunFDS(opts bootstrap.Opts) error
- func RunFDSWithExtensions(opts bootstrap.Opts, extensions Extensions) error
- type Extensions
- type FakeKubeNamespaceWatcher
- func (f *FakeKubeNamespaceWatcher) BaseClient() clients.ResourceClient
- func (f *FakeKubeNamespaceWatcher) Delete(name string, opts clients.DeleteOpts) error
- func (f *FakeKubeNamespaceWatcher) List(opts clients.ListOpts) (skkube.KubeNamespaceList, error)
- func (f *FakeKubeNamespaceWatcher) Read(name string, opts clients.ReadOpts) (*skkube.KubeNamespace, error)
- func (f *FakeKubeNamespaceWatcher) Register() error
- func (f *FakeKubeNamespaceWatcher) Watch(opts clients.WatchOpts) (<-chan skkube.KubeNamespaceList, <-chan error, error)
- func (f *FakeKubeNamespaceWatcher) Write(resource *skkube.KubeNamespace, opts clients.WriteOpts) (*skkube.KubeNamespace, error)
Constants ¶
View Source
const (
FdsLabelKey = "discovery.solo.io/function_discovery"
)
Variables ¶
This section is empty.
Functions ¶
func GetFunctionDiscoveriesWithExtensions ¶ added in v1.9.25
func GetFunctionDiscoveriesWithExtensions(opts bootstrap.Opts, extensions Extensions) []fds.FunctionDiscoveryFactory
func GetFunctionDiscoveriesWithExtensionsAndRegistry ¶ added in v1.9.25
func GetFunctionDiscoveriesWithExtensionsAndRegistry(opts bootstrap.Opts, registryDiscFacts func(opts bootstrap.Opts) []fds.FunctionDiscoveryFactory, extensions Extensions) []fds.FunctionDiscoveryFactory
func NewDiscoverySyncer ¶
func NewDiscoverySyncer(fd *fds.FunctionDiscovery, fdsMode v1.Settings_DiscoveryOptions_FdsMode) v1.DiscoverySyncer
func NewSetupFunc ¶ added in v1.9.25
func NewSetupFunc() setuputils.SetupFunc
func NewSetupFuncWithExtensions ¶ added in v1.9.25
func NewSetupFuncWithExtensions(extensions Extensions) setuputils.SetupFunc
NewSetupFuncWithExtensions used as extension point for external repo
func RunFDSWithExtensions ¶ added in v1.9.25
func RunFDSWithExtensions(opts bootstrap.Opts, extensions Extensions) error
Types ¶
type Extensions ¶ added in v1.9.25
type Extensions struct {
DiscoveryFactoryFuncs []func() fds.FunctionDiscoveryFactory
}
type FakeKubeNamespaceWatcher ¶ added in v0.17.0
type FakeKubeNamespaceWatcher struct{}
FakeKubeNamespaceWatcher to eliminate the need for this fake client for non kube environments TODO: consider using regular solo-kit namespace client instead of KubeNamespace client
func (*FakeKubeNamespaceWatcher) BaseClient ¶ added in v0.17.0
func (f *FakeKubeNamespaceWatcher) BaseClient() clients.ResourceClient
func (*FakeKubeNamespaceWatcher) Delete ¶ added in v0.17.0
func (f *FakeKubeNamespaceWatcher) Delete(name string, opts clients.DeleteOpts) error
func (*FakeKubeNamespaceWatcher) List ¶ added in v0.17.0
func (f *FakeKubeNamespaceWatcher) List(opts clients.ListOpts) (skkube.KubeNamespaceList, error)
func (*FakeKubeNamespaceWatcher) Read ¶ added in v0.17.0
func (f *FakeKubeNamespaceWatcher) Read(name string, opts clients.ReadOpts) (*skkube.KubeNamespace, error)
func (*FakeKubeNamespaceWatcher) Register ¶ added in v0.17.0
func (f *FakeKubeNamespaceWatcher) Register() error
func (*FakeKubeNamespaceWatcher) Watch ¶ added in v0.17.0
func (f *FakeKubeNamespaceWatcher) Watch(opts clients.WatchOpts) (<-chan skkube.KubeNamespaceList, <-chan error, error)
func (*FakeKubeNamespaceWatcher) Write ¶ added in v0.17.0
func (f *FakeKubeNamespaceWatcher) Write(resource *skkube.KubeNamespace, opts clients.WriteOpts) (*skkube.KubeNamespace, error)
Click to show internal directories.
Click to hide internal directories.