Documentation
¶
Index ¶
- type BlockStore
- func (b *BlockStore) GetBlock(block *tofu.Block, stream tofu.BlockStore_GetBlockServer) error
- func (b *BlockStore) ListBlocks(emptyValue *tofu.EmptyValue, stream tofu.BlockStore_ListBlocksServer) error
- func (b *BlockStore) PutBlock(stream tofu.BlockStore_PutBlockServer) error
- func (b *BlockStore) Run()
- type Client
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlockStore ¶
type BlockStore struct {
// contains filtered or unexported fields
}
func NewBlockStore ¶
func NewBlockStore() *BlockStore
func (*BlockStore) GetBlock ¶
func (b *BlockStore) GetBlock(block *tofu.Block, stream tofu.BlockStore_GetBlockServer) error
func (*BlockStore) ListBlocks ¶
func (b *BlockStore) ListBlocks(emptyValue *tofu.EmptyValue, stream tofu.BlockStore_ListBlocksServer) error
func (*BlockStore) PutBlock ¶
func (b *BlockStore) PutBlock(stream tofu.BlockStore_PutBlockServer) error
func (*BlockStore) Run ¶
func (b *BlockStore) Run()
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) ListBlocks ¶
func (t *Client) ListBlocks() []*tofu.Block
Click to show internal directories.
Click to hide internal directories.