plugin

package
v0.0.0-...-00d7d02 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Plugin

type Plugin struct {
	BlackduckURL            string `envconfig:"PLUGIN_BLACKDUCK_URL"`
	BlackduckToken          string `envconfig:"PLUGIN_BLACKDUCK_TOKEN"`
	BlackduckProject        string `envconfig:"PLUGIN_BLACKDUCK_PROJECT"`
	BlackduckOfflineMode    bool   `envconfig:"PLUGIN_BLACKDUCK_OFFLINEMODE"`
	BlackduckTestConnection bool   `envconfig:"PLUGIN_BLACKDUCK_TEST_CONNECTION"`
	BlackduckOfflineBDIO    bool   `envconfig:"PLUGIN_BLACKDUCK_OFFLINE_BDIO"`
	BlackduckTrustCerts     bool   `envconfig:"PLUGIN_BLACKDUCK_TRUST_CERTS"`
	BlackduckTimeout        int    `envconfig:"PLUGIN_BLACKDUCK_TIMEOUT"`
	BlackduckScanMode       string `envconfig:"PLUGIN_BLACKDUCK_SCAN_MODE"`
	BLackduckProperties     string `envconfig:"PLUGIN_BLACKDUCK_PROPERTIES"`
	LogLevel                string `envconfig:"PLUGIN_LOG_LEVEL"`
}

func (*Plugin) Exec

func (p *Plugin) Exec(ctx context.Context) error

Jump to

Keyboard shortcuts

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