resourcerest

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2022 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RESTStorage

type RESTStorage struct {
	Serializer runtime.NegotiatedSerializer

	DefaultQualifiedResource schema.GroupResource

	NewFunc     func() runtime.Object
	NewListFunc func() runtime.Object

	Storage        storage.ResourceStorage
	TableConvertor rest.TableConvertor
}

func (*RESTStorage) ConvertToTable

func (s *RESTStorage) ConvertToTable(ctx context.Context, object runtime.Object, tableOptions runtime.Object) (*metav1.Table, error)

func (*RESTStorage) Get

func (*RESTStorage) List

func (*RESTStorage) New

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

func (*RESTStorage) NewList

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

func (*RESTStorage) Watch added in v0.6.0

Jump to

Keyboard shortcuts

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