vectoragent

package
v0.0.22 Latest Latest
Warning

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

Go to latest
Published: May 3, 2023 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ApiPort             = 8686
	MetricsExporterPort = 9598
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

type Controller struct {
	client.Client
	Vector *vectorv1alpha1.Vector

	Config []byte
	// Temp. Wait this issue - https://github.com/kubernetes-sigs/controller-runtime/issues/452
	ClientSet *kubernetes.Clientset
}

func (*Controller) EnsureVectorAgent

func (ctrl *Controller) EnsureVectorAgent(ctx context.Context, configOnly bool) error

func (*Controller) SetDefault

func (ctrl *Controller) SetDefault()

func (*Controller) SetFailedStatus

func (ctrl *Controller) SetFailedStatus(ctx context.Context, reason string) error

func (*Controller) SetLastAppliedPipelineStatus

func (ctrl *Controller) SetLastAppliedPipelineStatus(ctx context.Context, hash *uint32) error

func (*Controller) SetSucceesStatus

func (ctrl *Controller) SetSucceesStatus(ctx context.Context) error

Jump to

Keyboard shortcuts

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