Documentation
¶
Index ¶
- Constants
- type Bucket
- type Function
- type GCP
- type GCPConfig
- type ListenerFunc
- type MockPubSub
- func (m *MockPubSub) Close() error
- func (m *MockPubSub) CloseInvoked() bool
- func (m *MockPubSub) ListBuckets(_ context.Context) ([]*Bucket, error)
- func (m *MockPubSub) ListBucketsInvoked() bool
- func (m *MockPubSub) ListFunctions(_ context.Context) ([]*Function, error)
- func (m *MockPubSub) ListFunctionsInvoked() bool
- func (m *MockPubSub) Listen(ctx context.Context, handler ListenerFunc) error
- func (m *MockPubSub) ListenInvoked() bool
Constants ¶
View Source
const ( InventoryEventBucketPrefix = "//storage.googleapis.com/" InventoryEventFunctionPrefix = "//run.googleapis.com/" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GCP ¶
type MockPubSub ¶
type MockPubSub struct {
ListenError error
ListenAssert func(ctx context.Context, handler ListenerFunc)
CloseError error
ListBucketsResult []*Bucket
ListBucketsError error
ListFunctionsResult []*Function
ListFunctionsError error
// contains filtered or unexported fields
}
func (*MockPubSub) Close ¶
func (m *MockPubSub) Close() error
func (*MockPubSub) CloseInvoked ¶
func (m *MockPubSub) CloseInvoked() bool
func (*MockPubSub) ListBuckets ¶
func (m *MockPubSub) ListBuckets(_ context.Context) ([]*Bucket, error)
func (*MockPubSub) ListBucketsInvoked ¶
func (m *MockPubSub) ListBucketsInvoked() bool
func (*MockPubSub) ListFunctions ¶
func (m *MockPubSub) ListFunctions(_ context.Context) ([]*Function, error)
func (*MockPubSub) ListFunctionsInvoked ¶
func (m *MockPubSub) ListFunctionsInvoked() bool
func (*MockPubSub) Listen ¶
func (m *MockPubSub) Listen(ctx context.Context, handler ListenerFunc) error
func (*MockPubSub) ListenInvoked ¶
func (m *MockPubSub) ListenInvoked() bool
Click to show internal directories.
Click to hide internal directories.