compositecmd

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2022 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BasicStorage

type BasicStorage struct {
	GVK               schema.GroupVersionKind
	IsNamespaceScoped bool
	Creator           func() runtime.Unstructured
	rest.TableConvertor
}

func (*BasicStorage) Get

func (s *BasicStorage) Get(ctx context.Context, name string, options *metav1.GetOptions) (runtime.Object, error)

func (*BasicStorage) GroupVersionKind

func (s *BasicStorage) GroupVersionKind(containingGV schema.GroupVersion) schema.GroupVersionKind

func (*BasicStorage) List

func (*BasicStorage) NamespaceScoped

func (s *BasicStorage) NamespaceScoped() bool

func (*BasicStorage) New

func (s *BasicStorage) New() runtime.Object

func (*BasicStorage) NewList

func (s *BasicStorage) NewList() runtime.Object

type CompositeSubCommandOptions

type CompositeSubCommandOptions struct {
	StoragesPerPrefix              map[string]map[schema.GroupVersion]map[string]rest.Storage
	GetOpenAPIDefinitionsPerPrefix map[string]map[schema.GroupVersion]common.GetOpenAPIDefinitions
}

func (*CompositeSubCommandOptions) AddFlags

func (o *CompositeSubCommandOptions) AddFlags(flags *pflag.FlagSet)

func (*CompositeSubCommandOptions) Description

func (*CompositeSubCommandOptions) PrepareVirtualWorkspaces

func (*CompositeSubCommandOptions) Validate

func (o *CompositeSubCommandOptions) Validate() []error

type Creater

type Creater struct {
	*BasicStorage
}

func (*Creater) Create

func (s *Creater) Create(ctx context.Context, obj runtime.Object, createValidation rest.ValidateObjectFunc, options *metav1.CreateOptions) (runtime.Object, error)

type Deleter

type Deleter struct {
}

func (*Deleter) Delete

func (s *Deleter) Delete(ctx context.Context, name string, deleteValidation rest.ValidateObjectFunc, options *metav1.DeleteOptions) (runtime.Object, bool, error)

type Watcher

type Watcher struct {
}

func (*Watcher) Watch

func (s *Watcher) Watch(ctx context.Context, options *metainternal.ListOptions) (watch.Interface, error)

Jump to

Keyboard shortcuts

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