containers

package
v0.9.2-rc1 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2023 License: Apache-2.0 Imports: 43 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewStorage

func NewStorage(c client.WithWatch) rest.Storage

Types

type ContainerExec

type ContainerExec struct {
	*strategy.DestroyAdapter

	RESTClient rest.Interface
	// contains filtered or unexported fields
}

func NewContainerExec

func NewContainerExec(client kclient.WithWatch, cfg *rest.Config) (*ContainerExec, error)

func (*ContainerExec) Connect

func (*ContainerExec) ConnectMethods

func (c *ContainerExec) ConnectMethods() []string

func (*ContainerExec) New

func (c *ContainerExec) New() runtime.Object

func (*ContainerExec) NewConnectOptions

func (c *ContainerExec) NewConnectOptions() (runtime.Object, bool, string)

type PortForward

type PortForward struct {
	*strategy.DestroyAdapter

	RESTClient rest.Interface
	// contains filtered or unexported fields
}

func NewPortForward

func NewPortForward(client kclient.WithWatch, cfg *rest.Config) (*PortForward, error)

func (*PortForward) Connect

func (c *PortForward) Connect(ctx context.Context, id string, options runtime.Object, r registryrest.Responder) (http.Handler, error)

func (*PortForward) ConnectMethods

func (c *PortForward) ConnectMethods() []string

func (*PortForward) New

func (c *PortForward) New() runtime.Object

func (*PortForward) NewConnectOptions

func (c *PortForward) NewConnectOptions() (runtime.Object, bool, string)

type Translator

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

func (*Translator) FromPublic

func (t *Translator) FromPublic(_ context.Context, obj runtime.Object) (mtypes.Object, error)

func (*Translator) FromPublicName

func (t *Translator) FromPublicName(ctx context.Context, namespace, name string) (string, string, error)

func (*Translator) ListOpts

func (t *Translator) ListOpts(ctx context.Context, namespace string, opts storage.ListOptions) (string, storage.ListOptions, error)

func (*Translator) NewPublic

func (t *Translator) NewPublic() mtypes.Object

func (*Translator) NewPublicList

func (t *Translator) NewPublicList() mtypes.ObjectList

func (*Translator) ToPublic

func (t *Translator) ToPublic(ctx context.Context, objs ...runtime.Object) (result []mtypes.Object, _ error)

Jump to

Keyboard shortcuts

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