Documentation
¶
Index ¶
- Variables
- func NewStorage(mgr manager.Manager) registry.Store
- type Storage
- func (p *Storage) Get(ctx context.Context, cluster, namespace, name string) (workload.Interface, error)
- func (*Storage) GroupVersionKind() schema.GroupVersionKind
- func (p *Storage) List(ctx context.Context, namespace string, match rolloutv1alpha1.ResourceMatch) ([]workload.Interface, error)
- func (p *Storage) NewObject() client.Object
- func (p *Storage) NewObjectList() client.ObjectList
- func (p *Storage) Watchable() bool
- func (p *Storage) Wrap(cluster string, obj client.Object) (workload.Interface, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var GVK = appsv1.SchemeGroupVersion.WithKind("StatefulSet")
Functions ¶
Types ¶
type Storage ¶
type Storage struct {
// contains filtered or unexported fields
}
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) NewObjectList ¶
func (p *Storage) NewObjectList() client.ObjectList
Click to show internal directories.
Click to hide internal directories.