golang

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: May 21, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultWorkPath      = ".gitlab-repo-scaffolding-golang"
	TransitBranch        = "init-with-devstream"
	DefaultMainBranch    = "main"
	DefaultCommitMessage = "initialized by DevStream"
)

Variables

This section is empty.

Functions

func Create

func Create(options map[string]interface{}) (map[string]interface{}, error)

Create installs gitlab-repo-scaffolding-golang with provided options.

func Delete

func Delete(options map[string]interface{}) (bool, error)

func Read

func Read(options map[string]interface{}) (map[string]interface{}, error)

func Update

func Update(options map[string]interface{}) (map[string]interface{}, error)

Update re-installs gitlab-repo-scaffolding-golang with provided options.

Types

type Config

type Config struct {
	AppName   string
	ImageRepo string
	Repo      Repo
}

type Repo

type Repo struct {
	Name  string
	Owner string
}

Jump to

Keyboard shortcuts

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