Documentation
¶
Index ¶
- type Cocoon
- func (c *Cocoon) Alive(ctx context.Context) bool
- func (c *Cocoon) Events(ctx context.Context) (<-chan *types.WorkloadEventMessage, <-chan error)
- func (c *Cocoon) Get(ctx context.Context, ID string) (*source.Workload, error)
- func (c *Cocoon) List(ctx context.Context) ([]*source.Workload, error)
- func (c *Cocoon) Refresh(ID string) (*source.Workload, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cocoon ¶
type Cocoon struct {
// contains filtered or unexported fields
}
Cocoon is the vm runtime: metadata from the meta dir, liveness from the cocoon daemon.
func (*Cocoon) Alive ¶
Alive reports whether the vm scopes can still answer, which is what the daemon being optional means.
Click to show internal directories.
Click to hide internal directories.