internal

package
v1.59.4 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetHelmReleases

func GetHelmReleases(ctx context.Context, client k8s.Client, releasesC chan<- *Release, interval Interval) (helm3Releases, helm2Releases uint32, err error)

Types

type Interval

type Interval int64
const (
	IntervalImmediately Interval = 0
	IntervalMinutes15   Interval = 15
	IntervalMinutes30   Interval = 30
	IntervalHours1      Interval = 60
)

type Release

type Release struct {
	Name      string `json:"name,omitempty" protobuf:"bytes,1,opt,name=name,proto3"`
	Namespace string `json:"namespace,omitempty" protobuf:"bytes,8,opt,name=namespace,proto3"`
	Manifest  string `json:"manifest,omitempty" protobuf:"bytes,5,opt,name=manifest,proto3"`

	// set helm version manually
	HelmVersion string `json:"-"`
}

func (*Release) ProtoMessage

func (*Release) ProtoMessage()

func (*Release) Reset

func (m *Release) Reset()

protobuf methods for helm2

func (*Release) String

func (m *Release) String() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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