organizations

package
v0.5.4 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2023 License: BSD-3-Clause Imports: 6 Imported by: 10

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateRepo added in v0.4.0

func CreateRepo(org_name string, opts *CreateOptions) error

CreateRepo is a helper method for creating a new

func ListRepos

func ListRepos(org string, opts *ListOptions) ([]string, error)

func ListReposWithCallback

func ListReposWithCallback(org string, opts *ListOptions, cb func(repo *github.Repository) error) error

Types

type CreateOptions added in v0.4.0

type CreateOptions struct {
	AccessToken string
	Name        string
	Description string
	Private     bool
}

type ListOptions

type ListOptions struct {
	Prefix      []string
	Exclude     []string
	Forked      bool
	NotForked   bool
	AccessToken string
	PushedSince *time.Time
	Debug       bool
}

func NewDefaultListOptions

func NewDefaultListOptions() *ListOptions

Jump to

Keyboard shortcuts

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