kubecontrol

package
v0.30.0 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2024 License: MPL-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const OperationDelete = 1

Variables

This section is empty.

Functions

This section is empty.

Types

type CollectorOperation added in v0.29.0

type CollectorOperation int
const OperationDeploy CollectorOperation = iota

func (CollectorOperation) Name added in v0.29.0

func (o CollectorOperation) Name() string

type Service

type Service interface {
	// CreateOtelCollector - create an existing collector by id
	CreateOtelCollector(ctx context.Context, ownerID, sinkID, deploymentEntry string) (string, error)

	// KillOtelCollector - kill an existing collector by id, terminating by the ownerID, sinkID without the file
	KillOtelCollector(ctx context.Context, deploymentName, sinkID string) error
}

func NewService

func NewService(logger *zap.Logger) Service

Jump to

Keyboard shortcuts

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