vectoragent

package
v0.0.39 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2023 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ApiPort = 8686
)

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) ConfigReloaderInitContainer

func (ctrl *Controller) ConfigReloaderInitContainer() *corev1.Container

func (*Controller) ConfigReloaderSidecarContainer

func (ctrl *Controller) ConfigReloaderSidecarContainer() *corev1.Container

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

func (*Controller) VectorAgentContainer

func (ctrl *Controller) VectorAgentContainer() *corev1.Container

Jump to

Keyboard shortcuts

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