Documentation ¶
Index ¶
- func NewStackdriverProvider(stackdriverService *sd.Service, maxRetrievedEvents int, sinceMillis int64) provider.EventsProvider
- type StackdriverProvider
- func (p *StackdriverProvider) CreateNewEvent(namespace string) (*api.Event, error)
- func (p *StackdriverProvider) GetNamespacedEventsByName(namespace, eventName string) (*api.Event, error)
- func (p *StackdriverProvider) ListAllEvents() (*api.EventList, error)
- func (p *StackdriverProvider) ListAllEventsByNamespace(namespace string) (*api.EventList, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewStackdriverProvider ¶
func NewStackdriverProvider(stackdriverService *sd.Service, maxRetrievedEvents int, sinceMillis int64) provider.EventsProvider
NewStackdriverProvider creates a new Provider with standard settings
Types ¶
type StackdriverProvider ¶
type StackdriverProvider struct {
// contains filtered or unexported fields
}
StackdriverProvider implements EventsProvider
func (*StackdriverProvider) CreateNewEvent ¶
func (p *StackdriverProvider) CreateNewEvent(namespace string) (*api.Event, error)
CreateNewEvent creates a new event in the given namespace
func (*StackdriverProvider) GetNamespacedEventsByName ¶
func (p *StackdriverProvider) GetNamespacedEventsByName(namespace, eventName string) (*api.Event, error)
GetNamespacedEventsByName gets the event with the given namespace and name
func (*StackdriverProvider) ListAllEvents ¶
func (p *StackdriverProvider) ListAllEvents() (*api.EventList, error)
ListAllEvents gets all the events
func (*StackdriverProvider) ListAllEventsByNamespace ¶
func (p *StackdriverProvider) ListAllEventsByNamespace(namespace string) (*api.EventList, error)
ListAllEventsByNamespace gets all the events with the given namespace
Click to show internal directories.
Click to hide internal directories.