application

package
v0.0.0-...-5cf3e1d Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	// TypeLabel is an optional label for the application to determine its type.
	TypeLabel = "application-type"
)

Variables

This section is empty.

Functions

func GetCleanName

func GetCleanName(name string) string

GetCleanName cleans the name form none-alphanumeric characters and returns the clean name.

func GetCleanTypeOrName

func GetCleanTypeOrName(application *applicationv1alpha1.Application) string

GetCleanTypeOrName cleans the application name form none-alphanumeric characters and returns it if the application type label exists, it will be cleaned and returned instead of the application name.

func GetTypeOrName

func GetTypeOrName(application *applicationv1alpha1.Application) string

GetTypeOrName returns the application name. if the application type label exists, it will be returned instead of the application name.

func GroupVersionResource

func GroupVersionResource() schema.GroupVersionResource

func IsCleanName

func IsCleanName(name string) bool

IsCleanName returns true if the name contains alphanumeric characters only, otherwise returns false.

Types

type Lister

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

func NewLister

func NewLister(ctx context.Context, client dynamic.Interface) *Lister

func (Lister) Get

Directories

Path Synopsis
Package applicationtest provides utilities for Application testing.
Package applicationtest provides utilities for Application testing.

Jump to

Keyboard shortcuts

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