Documentation
¶
Index ¶
- type ChannelOperator
- func (c *ChannelOperator) Create(ctx context.Context, context string, channel *meta.Channel) error
- func (c *ChannelOperator) Delete(ctx context.Context, context string, name string) error
- func (c *ChannelOperator) Get(ctx context.Context, context string, name string) (*meta.Channel, error)
- func (c *ChannelOperator) GetAll(ctx context.Context, context string) (ret []*meta.Channel, err error)
- func (c *ChannelOperator) Update(ctx context.Context, context string, channel *meta.Channel) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChannelOperator ¶
type ChannelOperator struct {
// contains filtered or unexported fields
}
ChannelOperator is a client for channel operations on kafka
func NewOperator ¶
func NewOperator(mem tree.Manager, config sidecars.KafkaConfig) (*ChannelOperator, error)
NewOperator returns an initialized operator from the environment variables
func (*ChannelOperator) Get ¶
func (c *ChannelOperator) Get(ctx context.Context, context string, name string) (*meta.Channel, error)
Get gets a channel from kafka
Click to show internal directories.
Click to hide internal directories.