insights

package
v0.0.0-...-2b787c1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Publisher

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

Publisher is a struct that represents the insights publisher

func NewInsightsPublisher

func NewInsightsPublisher(k8sClientProvider okteto.K8sClientProvider, ioCtrl io.Controller) *Publisher

NewInsightsPublisher creates a new insights publisher

func (*Publisher) TrackDeploy

func (ip *Publisher) TrackDeploy(ctx context.Context, name, namespace string, success bool)

TrackDeploy tracks an image build event

func (*Publisher) TrackImageBuild

func (ip *Publisher) TrackImageBuild(ctx context.Context, meta *analytics.ImageBuildMetadata)

TrackImageBuild tracks an image build event

Jump to

Keyboard shortcuts

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