statefulset

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var GVK = appsv1.SchemeGroupVersion.WithKind("StatefulSet")

Functions

func NewStorage

func NewStorage(mgr manager.Manager) registry.Store

Types

type Storage

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

func (*Storage) Get

func (p *Storage) Get(ctx context.Context, cluster, namespace, name string) (workload.Interface, error)

func (*Storage) GroupVersionKind

func (*Storage) GroupVersionKind() schema.GroupVersionKind

GroupVersionKind implements registry.Store.

func (*Storage) List

func (p *Storage) List(ctx context.Context, namespace string, match rolloutv1alpha1.ResourceMatch) ([]workload.Interface, error)

func (*Storage) NewObject

func (p *Storage) NewObject() client.Object

func (*Storage) NewObjectList

func (p *Storage) NewObjectList() client.ObjectList

func (*Storage) Watchable

func (p *Storage) Watchable() bool

func (*Storage) Wrap

func (p *Storage) Wrap(cluster string, obj client.Object) (workload.Interface, error)

Jump to

Keyboard shortcuts

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