resources

package
v0.0.0-...-b5442c7 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ResourceByKind

func ResourceByKind(kind tau.Kind) (tau.Resource, error)

ResourceByKind is used for unmarshalling resources based on their kind.

Types

type Container

type Container struct {
	tau.Container
	// contains filtered or unexported fields
}

func (*Container) Create

func (c *Container) Create(runtime tau.ContainerRuntime) error

func (*Container) Descriptor

func (c *Container) Descriptor() tau.Descriptor

func (*Container) MarshalBinary

func (c *Container) MarshalBinary() ([]byte, error)

func (*Container) Remove

func (c *Container) Remove(runtime tau.ContainerRuntime) error

func (*Container) State

func (c *Container) State() tau.State

func (*Container) Status

func (c *Container) Status() []tau.StatusEntry

func (*Container) UnmarshalBinary

func (c *Container) UnmarshalBinary(data []byte) error

func (*Container) UpdateStatus

func (c *Container) UpdateStatus(runtime tau.ContainerRuntime) error

type Pod

type Pod struct {
	Name       string
	Containers []tau.Container
	// contains filtered or unexported fields
}

func (*Pod) Create

func (p *Pod) Create(runtime tau.ContainerRuntime) error

func (*Pod) Descriptor

func (p *Pod) Descriptor() tau.Descriptor

func (*Pod) MarshalBinary

func (p *Pod) MarshalBinary() ([]byte, error)

func (*Pod) Remove

func (p *Pod) Remove(runtime tau.ContainerRuntime) error

func (*Pod) State

func (p *Pod) State() tau.State

func (*Pod) Status

func (p *Pod) Status() []tau.StatusEntry

func (*Pod) UnmarshalBinary

func (p *Pod) UnmarshalBinary(data []byte) error

func (*Pod) UpdateStatus

func (p *Pod) UpdateStatus(runtime tau.ContainerRuntime) error

Jump to

Keyboard shortcuts

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