Documentation ¶
Index ¶
- func Clean() error
- func CleanLight() error
- func Config(_ context.Context) error
- func InstallE(ctx context.Context) error
- func ModTidy() error
- func RunE(_ context.Context, args string) error
- func Test(ctx context.Context) error
- func UpdateE(ctx context.Context) error
- type Build
- type Docker
- type Golang
- type Goreleaser
- type Install
- type Kubebuilder
- func (Kubebuilder) Deploy(ctx context.Context) error
- func (Kubebuilder) Generate(_ context.Context) error
- func (Kubebuilder) Install(ctx context.Context) error
- func (Kubebuilder) Manifests(_ context.Context) error
- func (Kubebuilder) Run(ctx context.Context) error
- func (Kubebuilder) Undeploy(ctx context.Context) error
- func (Kubebuilder) Uninstall(ctx context.Context) error
- type Lint
- type Mirrord
- type Protobuf
- type Run
- type Update
- type Wire
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CleanLight ¶
func CleanLight() error
CleanLight avoids removing `artifacts/data` but flushes golangci-lint cache.
func InstallE ¶ added in v0.1.8
InstallE installs with release tags and the supplied arguments the command specified by INSTALL_CMD or the first found command if the environment is not specified.
func RunE ¶ added in v0.1.8
RunE builds with debug tags and the supplied arguments the command specified by RUN_CMD or the first found command if the environment is not specified.
Types ¶
type Build ¶
Build namespace is defined to group Build functions.
func (Build) DebugCommand ¶ added in v0.1.13
DebugCommand creates a debug artifact for the specified command.
func (Build) ReleaseCommand ¶ added in v0.1.9
ReleaseCommand creates a release artifact for the specified command.
type Docker ¶ added in v0.1.4
Docker namespace is defined to group Docker functions.
func (Docker) Build ¶ added in v0.1.4
Build Builds a docker image for the current platform and "loads" the image into the local Docker server.
type Golang ¶ added in v0.1.4
Golang namespace is defined to group Golang functions.
type Goreleaser ¶ added in v0.1.10
Goreleaser namespace is defined to group Goreleaser functions.
func (Goreleaser) Build ¶ added in v0.1.10
func (Goreleaser) Build(ctx context.Context) error
Build Goreleaser config.
func (Goreleaser) Healthcheck ¶ added in v0.1.10
func (Goreleaser) Healthcheck(ctx context.Context) error
Healthcheck Goreleaser config.
type Install ¶ added in v0.1.7
Install namespace is defined to group Install functions.
type Kubebuilder ¶ added in v0.1.22
Kubebuilder namespace is defined to group Kubebuilder functions.
func (Kubebuilder) Deploy ¶ added in v0.1.22
func (Kubebuilder) Deploy(ctx context.Context) error
Deploy controller to the K8s cluster specified in ~/.kube/config.
func (Kubebuilder) Generate ¶ added in v0.1.22
func (Kubebuilder) Generate(_ context.Context) error
Generate Generate code containing DeepCopy, DeepCopyInto, and DeepCopyObject method implementations.
func (Kubebuilder) Install ¶ added in v0.1.22
func (Kubebuilder) Install(ctx context.Context) error
Install CRDs into the K8s cluster specified in ~/.kube/config.
func (Kubebuilder) Manifests ¶ added in v0.1.22
func (Kubebuilder) Manifests(_ context.Context) error
Manifests Generate WebhookConfiguration, ClusterRole and CustomResourceDefinition objects.
func (Kubebuilder) Run ¶ added in v0.1.22
func (Kubebuilder) Run(ctx context.Context) error
Run a controller from your host.
type Protobuf ¶
Protobuf namespace is defined to group Protocol buffer functions.
func (Protobuf) GenGoTwirp ¶ added in v0.1.4
GenGoTwirp run protoc-gen-go-twirp to generate code.
func (Protobuf) Generate ¶ added in v0.1.4
Generate install and generate golang Protocol Buffer files.
func (Protobuf) GenerateWithTwirp ¶ added in v0.1.4
GenerateWithTwirp install and generate golang Protocol Buffer files (including Twirp).
type Run ¶
Run namespace is defined to group Run functions.
func (Run) Debug ¶ added in v0.1.4
Debug builds and executes the specified command and arguments with debug build flags.
type Update ¶
Update namespace is defined to group Update functions.
func (Update) DockerIgnore ¶ added in v0.1.8
DockerIgnore writes the .dockerignore file if it does not exist.
func (Update) GoWorkspace ¶ added in v0.1.4
GoWorkspace create the go.work file if it is missing.
func (Update) GolangciLint ¶ added in v0.1.4
GolangciLint updates the .golangci.yml from the gist.