github

package
v0.50.2 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Action

type Action struct {
	Metadata           iacTypes.Metadata
	EnvironmentSecrets []EnvironmentSecret
}

type BranchProtection

type BranchProtection struct {
	Metadata             iacTypes.Metadata
	RequireSignedCommits iacTypes.BoolValue
}

func (BranchProtection) RequiresSignedCommits

func (b BranchProtection) RequiresSignedCommits() bool

type EnvironmentSecret

type EnvironmentSecret struct {
	Metadata       iacTypes.Metadata
	Repository     iacTypes.StringValue
	Environment    iacTypes.StringValue
	SecretName     iacTypes.StringValue
	PlainTextValue iacTypes.StringValue
	EncryptedValue iacTypes.StringValue
}

type GitHub

type GitHub struct {
	Repositories       []Repository
	EnvironmentSecrets []EnvironmentSecret
	BranchProtections  []BranchProtection
}

type Repository

type Repository struct {
	Metadata            iacTypes.Metadata
	Public              iacTypes.BoolValue
	VulnerabilityAlerts iacTypes.BoolValue
	Archived            iacTypes.BoolValue
}

func (Repository) IsArchived

func (r Repository) IsArchived() bool

Jump to

Keyboard shortcuts

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