Documentation
¶
Index ¶
- func FillInReferenceMap(client *clientbase.APIBaseClient, schemaKey string, ...) error
- func GetReference(name string) string
- func GetValue(data map[string]interface{}, key string) string
- func ReplaceGlobalReference(schema types.Schema, data map[string]interface{}, ...) error
- func SortSchema(schemas map[string]types.Schema) []string
- type KubeConfigGetter
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 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
}
Click to show internal directories.
Click to hide internal directories.