helper

package
v0.2.9 Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

*

  • Created by GoLand.
  • Email: xzghua@gmail.com
  • Date: 2019-07-04
  • Time: 15:34

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Convert

func Convert(i interface{}) interface{}

func EmsArrMerge

func EmsArrMerge(arr1 []endpoint.Middleware, arr2 []endpoint.Middleware) []endpoint.Middleware

merge arr2 to arr1

func EpsMapMerge

func EpsMapMerge(map1 map[string]endpoint.Endpoint, map2 map[string]endpoint.Endpoint) map[string]endpoint.Endpoint

func FileBeatYaml

func FileBeatYaml(beat *FileBeat, template *types.Template) (res string, err error)

获取confmap中filebeat参数内容

func FormatBuildPath

func FormatBuildPath(buildPath string) (path string)

func GitName

func GitName(gitUrl string) string

func GitUrl

func GitUrl(gitUrl string) string

Types

type FileBeat

type FileBeat struct {
	LogPath   string `json:"log_path"`
	Name      string `json:"name"`
	Namespace string `json:"namespace"`
}

Jump to

Keyboard shortcuts

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