custom

package
v1.20.6 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2021 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewClient

func NewClient(config string, handler cache.ResourceEventHandler, syncPeriod time.Duration) (svcclient.Client, error)

NewClient create custom service client

Types

type CustomizedManager

type CustomizedManager struct {
	// contains filtered or unexported fields
}

CustomizedManager client for custom service discovery

func (*CustomizedManager) Close

func (cm *CustomizedManager) Close()

Close close client

func (*CustomizedManager) GetAppService

func (cm *CustomizedManager) GetAppService(ns, name string) (*svcclient.AppService, error)

GetAppService get AppService from local cache

func (*CustomizedManager) ListAppService

func (cm *CustomizedManager) ListAppService(l map[string]string) ([]*svcclient.AppService, error)

ListAppService list AppService

func (*CustomizedManager) ListAppServiceFromStatefulSet

func (cm *CustomizedManager) ListAppServiceFromStatefulSet(ns, name string) ([]*svcclient.AppService, error)

ListAppServiceFromStatefulSet list app service from stateful set not implemented

Jump to

Keyboard shortcuts

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