gatherer

package
v0.0.0-...-81d1f5a Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2023 License: Apache-2.0 Imports: 7 Imported by: 1

Documentation

Index

Constants

View Source
const (
	RevisionLabelName string = "istio.io/rev"
	VersionLabelName  string = "operator.istio.io/version"
)

Variables

View Source
var IstiodAppLabel = map[string]string{"app": "istiod"}

Functions

func GetIstioCR

func GetIstioCR(ctx context.Context, client client.Client, name string, namespace string) (*v1alpha1.Istio, error)

GetIstioCR fetches the Istio CR from the cluster using client with supplied name and namespace

func ListInstalledIstioRevisions

func ListInstalledIstioRevisions(ctx context.Context, kubeclient client.Client) (istioRevisionVersions map[string]*semver.Version, err error)

func ListIstioCR

func ListIstioCR(ctx context.Context, kubeclient client.Client, namespace ...string) (*v1alpha1.IstioList, error)

ListIstioCR lists all Istio CRs on the cluster if no namespace is supplied, or from the supplied namespaces

Types

This section is empty.

Jump to

Keyboard shortcuts

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