podlogstream

package
v0.33.8 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2023 License: Apache-2.0 Imports: 32 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, scheme *runtime.Scheme, st store.RStore, kClient k8s.Client, podSource *PodSource, clock clockwork.Clock) *Controller

func (*Controller) CreateBuilder added in v0.20.9

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

func (*Controller) Reconcile

func (c *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 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, clock clockwork.Clock) *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