Documentation
¶
Index ¶
- type Store
- func (c *Store) GetClient() pb.CoreRPCClient
- func (c *Store) GetIdentifier(ctx context.Context) string
- func (c *Store) GetNode(ctx context.Context, nodename string) (*types.Node, error)
- func (c *Store) ListRunningWorkloadIDs(ctx context.Context) ([]string, error)
- func (c *Store) SetNodeStatus(ctx context.Context, ttl int64) error
- func (c *Store) SetWorkloadStatus(ctx context.Context, status *types.WorkloadStatus) error
- func (c *Store) WorkloadExists(ctx context.Context, ID string) (bool, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
func (*Store) GetClient ¶
func (c *Store) GetClient() pb.CoreRPCClient
func (*Store) ListRunningWorkloadIDs ¶ added in v0.1.1
func (*Store) SetNodeStatus ¶
SetNodeStatus always reports the node as alive, core expires the status by ttl.
func (*Store) SetWorkloadStatus ¶
Click to show internal directories.
Click to hide internal directories.