common

package
v0.0.0-...-f620379 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FillInReferenceMap

func FillInReferenceMap(client *clientbase.APIBaseClient, schemaKey string, referenceMap map[string]map[string]string, filter map[string]string) error

func GetReference

func GetReference(name string) string

func GetValue

func GetValue(data map[string]interface{}, key string) string

func ReplaceGlobalReference

func ReplaceGlobalReference(schema types.Schema, data map[string]interface{}, referenceMap map[string]map[string]string, client *clientbase.APIBaseClient) error

ReplaceGlobalReference replace name to id

func SortSchema

func SortSchema(schemas map[string]types.Schema) []string

Types

type KubeConfigGetter

type KubeConfigGetter interface {
	KubeConfig(clusterName, token string) *clientcmdapi.Config
	GetHTTPSPort() int
}

Jump to

Keyboard shortcuts

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