Documentation
¶
Overview ¶
Copyright © 2020 Vertigo Tecnologia. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE file in the project root for full license information.
Copyright © 2020 Vertigo Tecnologia. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE file in the project root for full license information.
Copyright © 2020 Vertigo Tecnologia. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE file in the project root for full license information.
Copyright © 2020 Vertigo Tecnologia. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE file in the project root for full license information.
Copyright © 2020 Vertigo Tecnologia. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE file in the project root for full license information.
Copyright © 2020 Vertigo Tecnologia. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE file in the project root for full license information.
Copyright © 2020 Vertigo Tecnologia. All rights reserved. Licensed under the Apache License, Version 2.0. See LICENSE file in the project root for full license information.
Index ¶
- func AddPluginInAnnotationsService(name, namespace, pluginName, kubeconfig string, verboseFlag bool) error
- func CheckFunction(clusterName, functionName, namespace string) (bool, error)
- func GetDeployName(stack *s.Stack, name string) string
- func GetFunctionPath(path, name string) string
- func GetIngressAnnotations(stack *s.Stack, ingressName string) (map[string]string, error)
- type K8sYaml
- func (k *K8sYaml) CreateYamlFile(fileName string) error
- func (k *K8sYaml) MountConfigMap(configMapName, swaggerFile, repoName, env string) error
- func (k *K8sYaml) MountDeployment(deploymentName, imageName, path, repoName, env string) error
- func (k *K8sYaml) MountFunction(functionName, namespace, env string, useSha bool) error
- func (k *K8sYaml) MountIngress(ingressName, serviceName, namespace, path, hostname, env string) error
- func (k *K8sYaml) MountKongPlugin(functionName, pluginName, namespace, env string) error
- func (k *K8sYaml) MountService(serviceName, hostname, env string, isFunction bool) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddPluginInAnnotationsService ¶ added in v0.0.12
func CheckFunction ¶
func GetFunctionPath ¶ added in v0.0.18
Types ¶
type K8sYaml ¶ added in v0.0.4
type K8sYaml struct { ApiVersion string `yaml:"apiVersion,omitempty"` Kind string `yaml:"kind,omitempty"` Metadata metadata `yaml:"metadata,omitempty"` Spec interface{} `yaml:"spec,omitempty"` Data map[string]string `yaml:"data,omitempty"` // Kong Plugin Config map[string]interface{} `yaml:"config,omitempty"` ConfigFrom s.ConfigFromPlugin `yaml:"configFrom,omitempty"` Plugin string `yaml:"plugin,omitempty"` }
Yaml file structure