securityconfig

package
v0.0.0-...-95f6ed8 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2023 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BranchProtectionRule

type BranchProtectionRule struct {
	Pattern              string `json:"pattern"`
	RequiresStatusChecks bool   `json:"requiresStatusChecks"`
	RestrictsPushes      bool   `json:"restrictsPushes"`
}

type ByNameAndOwner

type ByNameAndOwner []Repository

func (ByNameAndOwner) Len

func (p ByNameAndOwner) Len() int

func (ByNameAndOwner) Less

func (p ByNameAndOwner) Less(i, j int) bool

func (ByNameAndOwner) Swap

func (p ByNameAndOwner) Swap(i, j int)

type DefaultBranchRef

type DefaultBranchRef struct {
	Name                 string                `json:"name"`
	BranchProtectionRule *BranchProtectionRule `json:"branchProtectionRule"`
}

type Repository

type Repository struct {
	NameWithOwner                 string           `json:"nameWithOwner"`
	URL                           string           `json:"url"`
	HasVulnerabilityAlertsEnabled bool             `json:"hasVulnerabilityAlertsEnabled"`
	IsSecurityPolicyEnabled       bool             `json:"isSecurityPolicyEnabled"`
	DefaultBranchRef              DefaultBranchRef `json:"defaultBranchRef"`
}

Jump to

Keyboard shortcuts

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