Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrWatcherClosed = errors.New("channel closed")
)
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) HandleNewDaemonSets ¶ added in v0.5.0
func (*Client) HandleNewDeployments ¶ added in v0.5.0
func (*Client) HandleNewStatefulSets ¶ added in v0.5.0
type ContainerLog ¶ added in v0.5.0
type Exporter ¶ added in v0.5.0
type Exporter interface { // Send a message through the exporter. SendSuccessfulReleaseEvent(c context.Context, event httpinternal.ReleaseEvent) error SendPodErrorEvent(c context.Context, event httpinternal.PodErrorEvent) error }
Exporter sends a formatted event to an upstream.
type ReleaseManagerExporter ¶ added in v0.5.0
type ReleaseManagerExporter struct { Log *log.Logger Environment string Client httpinternal.Client }
func (*ReleaseManagerExporter) SendPodErrorEvent ¶ added in v0.5.0
func (e *ReleaseManagerExporter) SendPodErrorEvent(ctx context.Context, event httpinternal.PodErrorEvent) error
func (*ReleaseManagerExporter) SendSuccessfulReleaseEvent ¶ added in v0.5.0
func (e *ReleaseManagerExporter) SendSuccessfulReleaseEvent(ctx context.Context, event httpinternal.ReleaseEvent) error
Click to show internal directories.
Click to hide internal directories.