subscribed

package
v0.0.0-...-a52e8f6 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2020 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 Event

type Event struct {
	Name    string `json:"name"`
	Version string `json:"version"`
}

Event represents basic information about event

type Events

type Events struct {
	EventsInfo []Event `json:"eventsInfo"`
}

Events represents collection of all events with subscriptions

type EventsClient

type EventsClient interface {
	GetSubscribedEvents(appName string) (Events, error)
}

EventsClient interface

func NewEventsClient

func NewEventsClient(subscriptionsClient SubscriptionsGetter, namespacesClient NamespacesClient) EventsClient

NewEventsClient function creates client for retrieving all active events

type NamespacesClient

type NamespacesClient interface {
	List(opts meta.ListOptions) (*coretypes.NamespaceList, error)
}

NamespacesClient interface

type SubscriptionsGetter

type SubscriptionsGetter interface {
	Subscriptions(namespace string) v1alpha1.SubscriptionInterface
}

SubscriptionsGetter interface

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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