bitbucket

package
v3.80.3 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2024 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AnalyzePermissions

func AnalyzePermissions(cfg *config.Config, key string)

Types

type BitbucketScope

type BitbucketScope struct {
	Name          string   `json:"name"`
	Category      string   `json:"category"`
	ImpliedScopes []string `json:"implied_scopes"`
}

type ByCategoryAndName

type ByCategoryAndName []BitbucketScope

func (ByCategoryAndName) Len

func (a ByCategoryAndName) Len() int

func (ByCategoryAndName) Less

func (a ByCategoryAndName) Less(i, j int) bool

func (ByCategoryAndName) Swap

func (a ByCategoryAndName) Swap(i, j int)

type Repo

type Repo struct {
	FullName string `json:"full_name"`
	RepoName string `json:"name"`
	Project  struct {
		Name string `json:"name"`
	} `json:"project"`
	Workspace struct {
		Name string `json:"name"`
	} `json:"workspace"`
	IsPrivate bool `json:"is_private"`
	Owner     struct {
		Username string `json:"username"`
	} `json:"owner"`
	Role string
}

type RepoJSON

type RepoJSON struct {
	Values []Repo `json:"values"`
}

Jump to

Keyboard shortcuts

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