podlogstream

package
v0.22.6 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2021 License: Apache-2.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ContainerLogStreamStatus

type ContainerLogStreamStatus = v1alpha1.ContainerLogStreamStatus

type Controller

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

Reconciles the PodLogStream API object.

Collects logs from deployed containers.

func NewController

func NewController(ctx context.Context, client ctrlclient.Client, st store.RStore, kClient k8s.Client, podSource *PodSource) *Controller

func (*Controller) CreateBuilder added in v0.20.9

func (c *Controller) CreateBuilder(mgr ctrl.Manager) (*builder.Builder, error)

func (*Controller) Reconcile

func (r *Controller) Reconcile(ctx context.Context, req reconcile.Request) (reconcile.Result, error)

Reconcile the given stream against what we're currently tracking.

func (*Controller) TearDown

func (c *Controller) TearDown(ctx context.Context)

type ObjectMeta

type ObjectMeta = metav1.ObjectMeta

type PodLogStream

type PodLogStream = v1alpha1.PodLogStream

type PodLogStreamSpec

type PodLogStreamSpec = v1alpha1.PodLogStreamSpec

type PodLogStreamStatus

type PodLogStreamStatus = v1alpha1.PodLogStreamStatus

type PodLogWatch

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

type PodSource

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

Helper struct that captures Pod changes and queues up a Reconcile() call for any PodLogStream watching that pod.

func NewPodSource

func NewPodSource(ctx context.Context, kClient k8s.Client, scheme *runtime.Scheme) *PodSource

func (*PodSource) Start

func (*PodSource) TearDown

func (s *PodSource) TearDown()

Jump to

Keyboard shortcuts

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