goomba

package module
v0.0.0-...-f37a4c1 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2018 License: Apache-2.0 Imports: 3 Imported by: 0

README

goomba

A workflow based data pipeline framework for golang.

License CircleCI Status Coverage Report Go Report Card CII Best Practices GoDoc

Install

go get github.com/goombaio/goomba

You can also update an already installed version:

go get -u github.com/goombaio/goomba

Example of use

$ goomba
usage: goomba [-help] <command> [args]

  A workflow based data pipeline framework for golang. https://goomba.io.

Commands:
  server        Runs a Goomba server
  version       Show version information

Flags:
  -h, -help     Show help

Use goomba [command] -help for more information about a command.

License

Copyright (c) 2018 Goomba project Authors.

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.

Documentation

Overview

Package goomba implements a disttibuted workflow based data pipeline framework.

Index

Constants

View Source
const (
	// VersionTemplate is the tempate used to render the version information.
	VersionTemplate = `Goomba version {{.VersionSemVer}}{{if .VersionPreRelease}}-{{.VersionPreRelease}}{{end}}`

	// LongVersionTemplate is the tempate used to render the version
	// information.
	LongVersionTemplate = `` /* 139-byte string literal not displayed */
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Version

type Version struct {
	// VersionSemVer is the sermver based number of the app
	VersionSemVer string

	// VersionBuildID is the latest commit hash
	VersionBuildID string

	// VersionTimestamp represents when the application was built
	VersionTimestamp string

	// VersionPreRelease is a pre-release tag for the application
	// like release-candidate, beta, dev, etc ...
	VersionPreRelease string
}

Version type defines the version information about the application.

func GetVersion

func GetVersion() *Version

GetVersion singleton pattern implementation

func (*Version) ShowLongVersion

func (v *Version) ShowLongVersion() (string, error)

ShowLongVersion shows the long version information.

func (*Version) ShowVersion

func (v *Version) ShowVersion() (string, error)

ShowVersion shows the short version information.

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

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