storage

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2023 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ExecREST

type ExecREST struct {
	Store       *genericregistry.Store
	MachineConn client.ConnectionInfoGetter
}

func (*ExecREST) Connect

func (r *ExecREST) Connect(ctx context.Context, name string, opts runtime.Object, responder rest.Responder) (http.Handler, error)

func (*ExecREST) ConnectMethods

func (r *ExecREST) ConnectMethods() []string

func (*ExecREST) Destroy

func (r *ExecREST) Destroy()

func (*ExecREST) New

func (r *ExecREST) New() runtime.Object

func (*ExecREST) NewConnectOptions

func (r *ExecREST) NewConnectOptions() (runtime.Object, bool, string)

type MachineStorage

type MachineStorage struct {
	Machine *REST
	Status  *StatusREST
	Exec    *ExecREST
}

type REST

type REST struct {
	*genericregistry.Store
}

type StatusREST

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

func (*StatusREST) Destroy

func (r *StatusREST) Destroy()

func (*StatusREST) Get

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

func (*StatusREST) GetResetFields

func (r *StatusREST) GetResetFields() map[fieldpath.APIVersion]*fieldpath.Set

func (*StatusREST) New

func (r *StatusREST) New() runtime.Object

func (*StatusREST) Update

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

Jump to

Keyboard shortcuts

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