server

package
v0.0.0-...-e1a04f4 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// Scheme defines methods for serializing and deserializing API objects.
	Scheme = runtime.NewScheme()

	// Codecs provides methods for retrieving codecs and serializers for specific
	// versions and content types.
	Codecs = serializer.NewCodecFactory(Scheme)
)

Functions

Types

type EchoHandler

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

func (*EchoHandler) ConvertToTable

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

func (*EchoHandler) Create

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

func (*EchoHandler) Destroy

func (f *EchoHandler) Destroy()

func (*EchoHandler) Get

func (f *EchoHandler) Get(ctx context.Context, id string, options *metav1.GetOptions) (runtime.Object, error)

func (*EchoHandler) GetSingularName

func (f *EchoHandler) GetSingularName() string

func (*EchoHandler) List

func (*EchoHandler) NamespaceScoped

func (f *EchoHandler) NamespaceScoped() bool

Required

func (*EchoHandler) New

func (f *EchoHandler) New() runtime.Object

func (*EchoHandler) NewList

func (f *EchoHandler) NewList() runtime.Object

func (*EchoHandler) Update

func (f *EchoHandler) Update(ctx context.Context, name string, objInfo rest.UpdatedObjectInfo, createValidation rest.ValidateObjectFunc, updateValidation rest.ValidateObjectUpdateFunc, forceAllowCreate bool, options *metav1.UpdateOptions) (runtime.Object, bool, error)

type EchoServer

type EchoServer struct {
	GenericAPIServer *genericapiserver.GenericAPIServer
}

EchoServer contains state for a Kubernetes cluster master/api server.

func New

New returns a new instance of EchoServer from the given config.

Jump to

Keyboard shortcuts

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