reporter

package
v0.0.0-...-c0421bf Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2022 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Reporter

type Reporter struct {
	// contains filtered or unexported fields
}

func NewReporter

func NewReporter(token string, rabbit *mq.Rabbit, client *client.Client, k8sClientSet *kubernetes.Clientset) (*Reporter, error)

func (*Reporter) GetPodLogs

func (r *Reporter) GetPodLogs(ctx context.Context, clientSet *kubernetes.Clientset, pod *corev1.Pod, options *corev1.PodLogOptions, reader *io.ReadCloser) error

func (*Reporter) Report

func (r *Reporter) Report(ctx context.Context, room *hubv1.Room) (bool, error)

func (*Reporter) ReportTimeout

func (r *Reporter) ReportTimeout(room *hubv1.Room, threshold uint64) error

Jump to

Keyboard shortcuts

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