Documentation ¶
Index ¶
- func ResourceByKind(kind tau.Kind) (tau.Resource, error)
- type Container
- func (c *Container) Create(runtime tau.ContainerRuntime) error
- func (c *Container) Descriptor() tau.Descriptor
- func (c *Container) MarshalBinary() ([]byte, error)
- func (c *Container) Remove(runtime tau.ContainerRuntime) error
- func (c *Container) State() tau.State
- func (c *Container) Status() []tau.StatusEntry
- func (c *Container) UnmarshalBinary(data []byte) error
- func (c *Container) UpdateStatus(runtime tau.ContainerRuntime) error
- type Pod
- func (p *Pod) Create(runtime tau.ContainerRuntime) error
- func (p *Pod) Descriptor() tau.Descriptor
- func (p *Pod) MarshalBinary() ([]byte, error)
- func (p *Pod) Remove(runtime tau.ContainerRuntime) error
- func (p *Pod) State() tau.State
- func (p *Pod) Status() []tau.StatusEntry
- func (p *Pod) UnmarshalBinary(data []byte) error
- func (p *Pod) UpdateStatus(runtime tau.ContainerRuntime) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Container ¶
func (*Container) Descriptor ¶
func (c *Container) Descriptor() tau.Descriptor
func (*Container) MarshalBinary ¶
func (*Container) Status ¶
func (c *Container) Status() []tau.StatusEntry
func (*Container) UnmarshalBinary ¶
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) Descriptor ¶
func (p *Pod) Descriptor() tau.Descriptor
func (*Pod) MarshalBinary ¶
func (*Pod) Status ¶
func (p *Pod) Status() []tau.StatusEntry
func (*Pod) UnmarshalBinary ¶
func (*Pod) UpdateStatus ¶
func (p *Pod) UpdateStatus(runtime tau.ContainerRuntime) error
Click to show internal directories.
Click to hide internal directories.