services

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Copyright 2021 METRO Digital GmbH

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Index

Constants

This section is empty.

Variables

View Source
var ExecCommand = exec.Command

Functions

This section is empty.

Types

type Gpg

type Gpg struct {
	Binary  string
	Homedir string
}

func InitGpg

func InitGpg() (*Gpg, error)

func (*Gpg) DeleteKey

func (gpg *Gpg) DeleteKey(keyID string) error

func (*Gpg) ImportKey

func (gpg *Gpg) ImportKey(key string) (string, error)

type Kustomize

type Kustomize struct {
	Binary string
}

func InitKustomize

func InitKustomize() (*Kustomize, error)

func (*Kustomize) GetVars

func (k *Kustomize) GetVars(input string) ([]Vars, error)

type OutputChunk

type OutputChunk struct {
	Key  string
	Text string
}

type Vars

type Vars struct {
	Kind string            `yaml:"kind"`
	Data map[string]string `yaml:"data"`
}

Jump to

Keyboard shortcuts

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