Documentation ¶
Overview ¶
Package lucinotify contains logic of interacting with LUCI Notify.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Client ¶
type Client struct {
Client lnpb.TreeCloserClient
}
Client is the client to communicate with LUCI Notify.
func (*Client) CheckTreeCloser ¶
func (c *Client) CheckTreeCloser(ctx context.Context, req *lnpb.CheckTreeCloserRequest) (*lnpb.CheckTreeCloserResponse, error)
type MockedClient ¶
type MockedClient struct { Client *lnpb.MockTreeCloserClient Ctx context.Context }
MockedClient is a mocked LUCI Notify client for testing. It wraps a lnpb.MockTreeCloserClient and a context with the mocked client.
func NewMockedClient ¶
func NewMockedClient(ctx context.Context, ctl *gomock.Controller) *MockedClient
NewMockedClient creates a MockedClient for testing.
Click to show internal directories.
Click to hide internal directories.