deploy

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2020 License: Apache-2.0 Imports: 9 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 CheckFunction

func CheckFunction(clusterName, functionName, namespace string) (bool, 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"`
}

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 string) error

func (*K8sYaml) MountDeployment added in v0.0.4

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

func (*K8sYaml) MountFunction added in v0.0.4

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

func (*K8sYaml) MountIngress added in v0.0.4

func (k *K8sYaml) MountIngress(ingressName, serviceName, path, hostnameFlag string) error

func (*K8sYaml) MountService added in v0.0.4

func (k *K8sYaml) MountService(serviceName, hostnameFlag string, function bool) error

Jump to

Keyboard shortcuts

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