v1

package
v0.0.0-...-1e5aeb1 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2021 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const (
	EndpointSlice = "endpointslice"
)

Variables

View Source
var ESManager = &ESMgr{
	staticList:   &k8sDiscoveryV1beta1.EndpointSliceList{},
	elemTemplate: &k8sDiscoveryV1beta1.EndpointSlice{},
}

Functions

Types

type ESConfig

type ESConfig struct {
	Name string
	UUID string
}

type ESMgr

type ESMgr struct {
	sync.RWMutex
	// contains filtered or unexported fields
}

func (*ESMgr) AddElements

func (n *ESMgr) AddElements(elem int64) int64

func (*ESMgr) List

func (n *ESMgr) List(start, limit int64) (k8sRuntime.Object, error)

func (*ESMgr) NewInterface

func (*ESMgr) NewInterface() k8sRuntime.Object

func (*ESMgr) NewListInterface

func (*ESMgr) NewListInterface() k8sRuntime.Object

func (*ESMgr) SetList

func (n *ESMgr) SetList(obj k8sRuntime.Object) error

func (*ESMgr) SetObj

func (n *ESMgr) SetObj(obj k8sRuntime.Object) error

Jump to

Keyboard shortcuts

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