topicclient

package
v0.3.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 15, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NitricTopic

type NitricTopic struct {
	// contains filtered or unexported fields
}

Represents a Topic for event publishing. The runtime representation of a topic is provider specific.

func (*NitricTopic) GetName

func (t *NitricTopic) GetName() string

GetName - returns the Nitric name of the topic

func (*NitricTopic) String

func (t *NitricTopic) String() string

String - returns the string representation of this topic

type NitricTopicClient

type NitricTopicClient struct {
	// contains filtered or unexported fields
}

func (NitricTopicClient) GetTopics

func (e NitricTopicClient) GetTopics() ([]Topic, error)

GetTopics - returns a slice of deployed topics in the current stack and provider.

type Topic

type Topic interface {
	GetName() string
}

type TopicClient

type TopicClient interface {
	GetTopics() ([]Topic, error)
}

func NewEventClient

func NewEventClient(conn *grpc.ClientConn) TopicClient

func NewWithClient

func NewWithClient(eventClient v1.EventClient, topicClient v1.TopicClient) TopicClient

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL