Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface { io.Closer // Add adds a TerminationEndpoint Add(ctx context.Context, endPoint *regapi.TerminationEndpoint) error // Remove removes a TerminationEndpoint Remove(ctx context.Context, endPoint *regapi.TerminationEndpoint) error // Get returns a TerminationEndpoint based on a given TerminationEndpoint ID Get(ctx context.Context, id regapi.ID) (*regapi.TerminationEndpoint, error) // List returns the list of existing TerminationEndpoints List(ctx context.Context) ([]regapi.TerminationEndpoint, error) // Watch watches the TerminationEndpoint changes Watch(ctx context.Context, ch chan<- regapi.Event) error }
Client provides an E2 end-point client interface
func NewClient ¶
func NewClient(conn *grpc.ClientConn) Client
NewClient creates a new termination endpoint service client
Click to show internal directories.
Click to hide internal directories.