steps

package
v0.0.0-...-363e6e0 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2025 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeriveReleaseName

func DeriveReleaseName(repoUrl string) string

write a func to bring this to krateo-bff https://raw.githubusercontent.com/matteogastaldello/private-charts/main/krateo-bff-0.18.1.tgz

func Strval

func Strval(v any) string

Types

type ChartResult

type ChartResult struct {
	ReleaseName  string      `json:"releaseName"`
	ChartName    string      `json:"chartName"`
	ChartVersion string      `json:"version"`
	AppVersion   string      `json:"appVersion"`
	Namespace    string      `json:"namespace"`
	Status       string      `json:"status"`
	Operation    string      `json:"operation"`
	Revision     int         `json:"revision,omitempty"`
	Updated      metav1.Time `json:"updated,omitempty"`
}

type Handler

type Handler[T any] interface {
	Namespace(ns string)
	Op(op Op)
	Handle(ctx context.Context, id string, in *runtime.RawExtension) (T, error)
}

type ObjectResult

type ObjectResult struct {
	APIVersion string `json:"apiVersion"`
	Kind       string `json:"kind"`
	Name       string `json:"name"`
	Namespace  string `json:"namespace"`
	Operation  string `json:"operation"`
}

type Op

type Op int
const (
	Create Op = iota + 1
	Update
	Delete
)

type VarResult

type VarResult struct {
	Name  string `json:"name"`
	Value string `json:"value"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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