-
Notifications
You must be signed in to change notification settings - Fork 21
/
templates.go
61 lines (48 loc) · 1.33 KB
/
templates.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
// Copyright 2022 VMware, Inc. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
package plugintemplates
import _ "embed" // Import files for plugin templates
// CommandReadme contains the stock readme template
//
//go:embed command_readme.md.tmpl
var CommandReadme string
// PluginReadme contains the stock readme template
//
//go:embed plugin_readme.md.tmpl
var PluginReadme string
// GolangCIConfig contains the stock golangci configuration
//
//go:embed dotgolangci.txt.tmpl
var GolangCIConfig string
// Gomod contains the stock Gomod file for the scaffolding
//
//go:embed gomod.tmpl
var Gomod string
// Makefile contains the stock Makefile
//
//go:embed Makefile.tmpl
var Makefile string
// CommonMK contains the stock Common.mk
//
//go:embed common.mk.tmpl
var CommonMK string
// PluginToolingMK contains the plugin tooling
//
//go:embed plugin-tooling.mk.tmpl
var PluginToolingMK string
// MainGo contains the plugin main.go template
//
//go:embed main.go.tmpl
var MainGo string
// MainTestGo contains the plugin main test template
//
//go:embed main_test.go.tmpl
var MainTestGo string
// GithubWorkflowBuild contains the Github build workflow template
//
//go:embed github_workflow_build.yaml.tmpl
var GithubWorkflowBuild string
// GitlabCI contains the Gitlab CI template
//
//go:embed gitlab-ci.yml.tmpl
var GitlabCI string