service

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var GVK = corev1.SchemeGroupVersion.WithKind("Service")

Functions

func NewStorage

func NewStorage(mgr manager.Manager) backend.Store

Types

type SvcStore

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

func (*SvcStore) Get

func (s *SvcStore) Get(ctx context.Context, cluster, namespace, name string) (backend.IBackend, error)

func (*SvcStore) GroupVersionKind

func (s *SvcStore) GroupVersionKind() schema.GroupVersionKind

func (*SvcStore) NewObject

func (s *SvcStore) NewObject() client.Object

func (*SvcStore) NewObjectList

func (s *SvcStore) NewObjectList() client.ObjectList

func (*SvcStore) Wrap

func (s *SvcStore) Wrap(cluster string, obj client.Object) (backend.IBackend, error)

Jump to

Keyboard shortcuts

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