orgs

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewConfig

func NewConfig() *peribolos.FullConfig

NewConfig returns a new orgs.FullConfig structure.

func UpdateTeamMaintainers

func UpdateTeamMaintainers(config *peribolos.FullConfig, org, team string, maintainers []string) error

UpdateTeamMaintainers updates the maintainers of the specified Team in the specified Organization, adding the maintainers list specified as agument.

func UpdateTeamMembers

func UpdateTeamMembers(config *peribolos.FullConfig, org, team string, members []string) error

UpdateTeamMembers updates the members of the specified Team in the specified Organization, adding the members list specified as argument.

Types

type PeribolosOptions

type PeribolosOptions struct {
	ConfigRepo    string
	ConfigPath    string
	ConfigBaseRef string
}

func (*PeribolosOptions) AddPFlags

func (o *PeribolosOptions) AddPFlags(pfs *pflag.FlagSet)

func (*PeribolosOptions) Validate

func (o *PeribolosOptions) Validate() error

Jump to

Keyboard shortcuts

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