python

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: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Create

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

Create sets up GitHub Actions workflow(s).

func Delete

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

Delete remove GitHub Actions workflows.

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 remove and set up GitHub Actions workflows.

Types

type Options

type Options struct {
	Owner    string       `validate:"required_without=Org"`
	Org      string       `validate:"required_without=Owner"`
	Repo     string       `validate:"required"`
	Branch   string       `validate:"required"`
	Language *ga.Language `validate:"required"`
}

Options is the struct for configurations of the githubactions plugin.

Jump to

Keyboard shortcuts

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