types

package
v0.9.1 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2022 License: MPL-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PartOfLabel    string = "app.kubernetes.io/part-of"
	ManagedByLabel string = "app.kubernetes.io/managed-by"
	CreatedByLabel string = "app.kubernetes.io/created-by"
	InstanceLabel  string = "app.kubernetes.io/instance"
)

Variables

This section is empty.

Functions

func BucketToProto

func BucketToProto(bucket *sourcev1.Bucket, clusterName string) *pb.Bucket

func GitRepositoryToProto

func GitRepositoryToProto(repository *sourcev1.GitRepository, clusterName string) *pb.GitRepository

func HelmChartToProto

func HelmChartToProto(helmchart *sourcev1.HelmChart, clusterName string) *pb.HelmChart

func HelmReleaseToProto

func HelmReleaseToProto(helmrelease *v2beta1.HelmRelease, clusterName string, inventory []*pb.GroupVersionKind) *pb.HelmRelease

func HelmRepositoryToProto

func HelmRepositoryToProto(helmRepository *sourcev1.HelmRepository, clusterName string) *pb.HelmRepository

func K8sObjectToProto added in v0.9.0

func K8sObjectToProto(object client.Object, clusterName string) (*pb.Object, error)

func KustomizationToProto

func KustomizationToProto(kustomization *kustomizev1.Kustomization, clusterName string) (*pb.Kustomization, error)

func NamespaceToProto

func NamespaceToProto(ns corev1.Namespace, clusterName string) *pb.Namespace

Types

type HelmReleaseStorage

type HelmReleaseStorage struct {
	Name     string `json:"name,omitempty"`
	Manifest string `json:"manifest,omitempty"`
}

Jump to

Keyboard shortcuts

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