deploy

package
v0.0.15 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2020 License: Apache-2.0 Imports: 13 Imported by: 0

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

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddPluginInAnnotationsService added in v0.0.12

func AddPluginInAnnotationsService(name, namespace, pluginName, kubeconfig string, verboseFlag bool) error

func CheckFunction

func CheckFunction(clusterName, functionName, namespace string) (bool, error)

func GetIngressAnnotations added in v0.0.9

func GetIngressAnnotations(ingressName string, functions map[string]s.Function) (map[string]string, error)

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

func (*K8sYaml) CreateYamlFile added in v0.0.4

func (k *K8sYaml) CreateYamlFile(fileName string) error

func (*K8sYaml) MountConfigMap added in v0.0.4

func (k *K8sYaml) MountConfigMap(configMapName, swaggerFile, repoName string) error

func (*K8sYaml) MountDeployment added in v0.0.4

func (k *K8sYaml) MountDeployment(deploymentName, imageName, path, repoName string) error

func (*K8sYaml) MountFunction added in v0.0.4

func (k *K8sYaml) MountFunction(functionName, namespace, env string) error

func (*K8sYaml) MountIngress added in v0.0.4

func (k *K8sYaml) MountIngress(ingressName, serviceName, namespace, path, hostname, env string) error

func (*K8sYaml) MountKongPlugin added in v0.0.9

func (k *K8sYaml) MountKongPlugin(functionName, pluginName, namespace, env string) error

func (*K8sYaml) MountService added in v0.0.4

func (k *K8sYaml) MountService(serviceName, hostname, env string, isFunction bool) error

Jump to

Keyboard shortcuts

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