gh

package
v1.253.0 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2024 License: Unlicense Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ErrMissingTemplate for gh.
	ErrMissingTemplate = errors.New("missing template")

	// ErrMissingChecks for gh.
	ErrMissingChecks = errors.New("missing checks")

	// Public visibility.
	Public = Visibility("public")

	// Private visibility.
	Private = Visibility("private")
)

Functions

func CreateRepository

func CreateRepository(ctx *pulumi.Context, repo *Repository) error

CreateRepository for gh.

Types

type Checks added in v1.135.1

type Checks []string

Checks for gh.

func (Checks) Valid added in v1.135.1

func (c Checks) Valid() error

Valid if no error is returned.

type Mocks

type Mocks int

Mocks for gh.

func (Mocks) Call

func (Mocks) NewResource

type Repository added in v1.10.0

type Repository struct {
	Template    *Template
	Name        string
	Description string
	HomepageURL string
	Visibility  Visibility
	Topics      []string
	Checks      Checks
	IsTemplate  bool
	EnablePages bool
	Archived    bool
}

Repository for gh.

type Template added in v1.10.0

type Template struct {
	Owner      string
	Repository string
}

Template for gh.

func (*Template) Valid added in v1.135.1

func (t *Template) Valid() error

Valid if no error is returned.

type Visibility added in v1.135.4

type Visibility string

Visibility of the repositories.

Jump to

Keyboard shortcuts

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