types

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2022 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Dryrun     bool       `yaml:"dryrun,omitempty"`
	Github     Github     `yaml:"github"`
	Repository Repository `yaml:"repository,omitempty"`
}

type Github added in v0.2.0

type Github struct {
	Organization string `yaml:"organization"`
	Token        string `yaml:"token"`
}

type GithubConfig added in v0.2.0

type GithubConfig struct {
	Context      context.Context
	Client       *github.Client
	Organization string
}

type Permission added in v0.2.0

type Permission []struct {
	Team       string `yaml:"team,omitempty"`
	Permission string `yaml:"permission,omitempty"`
}

type Repository added in v0.2.0

type Repository struct {
	Permissions []Permission `yaml:"permissions,omitempty"`
	ExcludeTeam []string     `yaml:"excludeTeam,omitempty"`
}

Jump to

Keyboard shortcuts

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