cosign

package
v0.2.4 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2025 License: Apache-2.0 Imports: 28 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SignChartOption added in v0.1.8

type SignChartOption struct {
	// ChartCollection *helm.ChartCollection
	// Registries      []registry.Registry
	Data map[*registry.Registry]map[*helm.Chart]bool

	KeyRef            string
	KeyRefPass        string
	AllowInsecure     bool
	AllowHTTPRegistry bool

	Settings *cli.EnvSettings
}

func (SignChartOption) Run added in v0.1.8

func (so SignChartOption) Run() error

cosignAdapter wraps the cosign CLIs native code

type SignOption

type SignOption struct {
	Data map[*registry.Registry]map[*image.Image]bool

	KeyRef            string
	KeyRefPass        string
	AllowInsecure     bool
	AllowHTTPRegistry bool
}

func (SignOption) Run

func (so SignOption) Run(ctx context.Context) error

SignOption wraps the cosign CLIs native code

type VerifyChartOption added in v0.2.0

type VerifyChartOption struct {
	Data           map[*registry.Registry]map[*helm.Chart]bool
	VerifyExisting bool

	KeyRef            string
	AllowInsecure     bool
	AllowHTTPRegistry bool

	Report *report.Table
}

func (*VerifyChartOption) Run added in v0.2.0

VerifyOption wraps the cosign CLIs native code

type VerifyOption added in v0.2.0

type VerifyOption struct {
	Data           map[*registry.Registry]map[*image.Image]bool
	VerifyExisting bool

	KeyRef            string
	AllowInsecure     bool
	AllowHTTPRegistry bool

	Report *report.Table
}

func (*VerifyOption) Run added in v0.2.0

func (vo *VerifyOption) Run(ctx context.Context) (map[*registry.Registry]map[*image.Image]bool, error)

VerifyOption wraps the cosign CLIs native code

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳