config_go_proto

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2025 License: Apache-2.0, BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_proto_config_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type ArchiveConfig

type ArchiveConfig struct {

	// The maximum file size the plugin will process.
	// If set, this overrides the global max_file_size_bytes configuration
	// for this specific plugin.
	MaxFileSizeBytes int64 `protobuf:"varint,1,opt,name=max_file_size_bytes,json=maxFileSizeBytes,proto3" json:"max_file_size_bytes,omitempty"`
	// contains filtered or unexported fields
}

func (*ArchiveConfig) Descriptor deprecated

func (*ArchiveConfig) Descriptor() ([]byte, []int)

Deprecated: Use ArchiveConfig.ProtoReflect.Descriptor instead.

func (*ArchiveConfig) GetMaxFileSizeBytes

func (x *ArchiveConfig) GetMaxFileSizeBytes() int64

func (*ArchiveConfig) ProtoMessage

func (*ArchiveConfig) ProtoMessage()

func (*ArchiveConfig) ProtoReflect

func (x *ArchiveConfig) ProtoReflect() protoreflect.Message

func (*ArchiveConfig) Reset

func (x *ArchiveConfig) Reset()

func (*ArchiveConfig) String

func (x *ArchiveConfig) String() string

type GoBinaryConfig

type GoBinaryConfig struct {

	// Enables extracting the module version from the Go binary content.
	VersionFromContent bool `protobuf:"varint,1,opt,name=version_from_content,json=versionFromContent,proto3" json:"version_from_content,omitempty"`
	// contains filtered or unexported fields
}

func (*GoBinaryConfig) Descriptor deprecated

func (*GoBinaryConfig) Descriptor() ([]byte, []int)

Deprecated: Use GoBinaryConfig.ProtoReflect.Descriptor instead.

func (*GoBinaryConfig) GetVersionFromContent

func (x *GoBinaryConfig) GetVersionFromContent() bool

func (*GoBinaryConfig) ProtoMessage

func (*GoBinaryConfig) ProtoMessage()

func (*GoBinaryConfig) ProtoReflect

func (x *GoBinaryConfig) ProtoReflect() protoreflect.Message

func (*GoBinaryConfig) Reset

func (x *GoBinaryConfig) Reset()

func (*GoBinaryConfig) String

func (x *GoBinaryConfig) String() string

type GovulncheckConfig

type GovulncheckConfig struct {

	// Path to the offline vuln DB to pass to govunlcheck. If empty,
	// the detector will query vulns from the net instead.
	OfflineVulnDbPath string `protobuf:"bytes,1,opt,name=offline_vuln_db_path,json=offlineVulnDbPath,proto3" json:"offline_vuln_db_path,omitempty"`
	// contains filtered or unexported fields
}

func (*GovulncheckConfig) Descriptor deprecated

func (*GovulncheckConfig) Descriptor() ([]byte, []int)

Deprecated: Use GovulncheckConfig.ProtoReflect.Descriptor instead.

func (*GovulncheckConfig) GetOfflineVulnDbPath

func (x *GovulncheckConfig) GetOfflineVulnDbPath() string

func (*GovulncheckConfig) ProtoMessage

func (*GovulncheckConfig) ProtoMessage()

func (*GovulncheckConfig) ProtoReflect

func (x *GovulncheckConfig) ProtoReflect() protoreflect.Message

func (*GovulncheckConfig) Reset

func (x *GovulncheckConfig) Reset()

func (*GovulncheckConfig) String

func (x *GovulncheckConfig) String() string

type HashiCorpVaultValidatorConfig added in v0.4.1

type HashiCorpVaultValidatorConfig struct {

	// The URL of the Vault server to connect to.
	// https://developer.hashicorp.com/vault
	VaultUrl string `protobuf:"bytes,1,opt,name=vault_url,json=vaultUrl,proto3" json:"vault_url,omitempty"`
	// contains filtered or unexported fields
}

func (*HashiCorpVaultValidatorConfig) Descriptor deprecated added in v0.4.1

func (*HashiCorpVaultValidatorConfig) Descriptor() ([]byte, []int)

Deprecated: Use HashiCorpVaultValidatorConfig.ProtoReflect.Descriptor instead.

func (*HashiCorpVaultValidatorConfig) GetVaultUrl added in v0.4.1

func (x *HashiCorpVaultValidatorConfig) GetVaultUrl() string

func (*HashiCorpVaultValidatorConfig) ProtoMessage added in v0.4.1

func (*HashiCorpVaultValidatorConfig) ProtoMessage()

func (*HashiCorpVaultValidatorConfig) ProtoReflect added in v0.4.1

func (*HashiCorpVaultValidatorConfig) Reset added in v0.4.1

func (x *HashiCorpVaultValidatorConfig) Reset()

func (*HashiCorpVaultValidatorConfig) String added in v0.4.1

type OVAConfig

type OVAConfig struct {

	// The maximum file size the plugin will process.
	// If set, this overrides the global max_file_size_bytes configuration
	// for this specific plugin.
	MaxFileSizeBytes int64 `protobuf:"varint,1,opt,name=max_file_size_bytes,json=maxFileSizeBytes,proto3" json:"max_file_size_bytes,omitempty"`
	// contains filtered or unexported fields
}

func (*OVAConfig) Descriptor deprecated

func (*OVAConfig) Descriptor() ([]byte, []int)

Deprecated: Use OVAConfig.ProtoReflect.Descriptor instead.

func (*OVAConfig) GetMaxFileSizeBytes

func (x *OVAConfig) GetMaxFileSizeBytes() int64

func (*OVAConfig) ProtoMessage

func (*OVAConfig) ProtoMessage()

func (*OVAConfig) ProtoReflect

func (x *OVAConfig) ProtoReflect() protoreflect.Message

func (*OVAConfig) Reset

func (x *OVAConfig) Reset()

func (*OVAConfig) String

func (x *OVAConfig) String() string

type POMXMLNetConfig added in v0.4.1

type POMXMLNetConfig struct {

	// The URL of the upstream Maven registry.
	UpstreamRegistry string `protobuf:"bytes,1,opt,name=upstream_registry,json=upstreamRegistry,proto3" json:"upstream_registry,omitempty"`
	// contains filtered or unexported fields
}

func (*POMXMLNetConfig) Descriptor deprecated added in v0.4.1

func (*POMXMLNetConfig) Descriptor() ([]byte, []int)

Deprecated: Use POMXMLNetConfig.ProtoReflect.Descriptor instead.

func (*POMXMLNetConfig) GetUpstreamRegistry added in v0.4.1

func (x *POMXMLNetConfig) GetUpstreamRegistry() string

func (*POMXMLNetConfig) ProtoMessage added in v0.4.1

func (*POMXMLNetConfig) ProtoMessage()

func (*POMXMLNetConfig) ProtoReflect added in v0.4.1

func (x *POMXMLNetConfig) ProtoReflect() protoreflect.Message

func (*POMXMLNetConfig) Reset added in v0.4.1

func (x *POMXMLNetConfig) Reset()

func (*POMXMLNetConfig) String added in v0.4.1

func (x *POMXMLNetConfig) String() string

type PluginConfig

type PluginConfig struct {

	// The maximum file size the plugin will process.
	MaxFileSizeBytes int64 `protobuf:"varint,1,opt,name=max_file_size_bytes,json=maxFileSizeBytes,proto3" json:"max_file_size_bytes,omitempty"`
	// The local directory to store the downloaded manifests during dependency
	// resolution.
	LocalRegistry string `protobuf:"bytes,3,opt,name=local_registry,json=localRegistry,proto3" json:"local_registry,omitempty"`
	// If true, do not try to create google.DefaultClient for Artifact Registry
	// during dependency resolution.
	DisableGoogleAuth bool `protobuf:"varint,4,opt,name=disable_google_auth,json=disableGoogleAuth,proto3" json:"disable_google_auth,omitempty"`
	// Config values that only apply to a single plugin.
	PluginSpecific []*PluginSpecificConfig `protobuf:"bytes,2,rep,name=plugin_specific,json=pluginSpecific,proto3" json:"plugin_specific,omitempty"`
	// contains filtered or unexported fields
}

func (*PluginConfig) Descriptor deprecated

func (*PluginConfig) Descriptor() ([]byte, []int)

Deprecated: Use PluginConfig.ProtoReflect.Descriptor instead.

func (*PluginConfig) GetDisableGoogleAuth added in v0.4.1

func (x *PluginConfig) GetDisableGoogleAuth() bool

func (*PluginConfig) GetLocalRegistry added in v0.4.1

func (x *PluginConfig) GetLocalRegistry() string

func (*PluginConfig) GetMaxFileSizeBytes

func (x *PluginConfig) GetMaxFileSizeBytes() int64

func (*PluginConfig) GetPluginSpecific

func (x *PluginConfig) GetPluginSpecific() []*PluginSpecificConfig

func (*PluginConfig) ProtoMessage

func (*PluginConfig) ProtoMessage()

func (*PluginConfig) ProtoReflect

func (x *PluginConfig) ProtoReflect() protoreflect.Message

func (*PluginConfig) Reset

func (x *PluginConfig) Reset()

func (*PluginConfig) String

func (x *PluginConfig) String() string

type PluginSpecificConfig

type PluginSpecificConfig struct {

	// Types that are valid to be assigned to Config:
	//
	//	*PluginSpecificConfig_GoBinary
	//	*PluginSpecificConfig_Govulncheck
	//	*PluginSpecificConfig_Archive
	//	*PluginSpecificConfig_Ova
	//	*PluginSpecificConfig_Vdi
	//	*PluginSpecificConfig_Vmdk
	//	*PluginSpecificConfig_HashicorpVaultValidator
	//	*PluginSpecificConfig_SdpInspect
	//	*PluginSpecificConfig_PomXmlNet
	Config isPluginSpecificConfig_Config `protobuf_oneof:"config"`
	// contains filtered or unexported fields
}

func (*PluginSpecificConfig) Descriptor deprecated

func (*PluginSpecificConfig) Descriptor() ([]byte, []int)

Deprecated: Use PluginSpecificConfig.ProtoReflect.Descriptor instead.

func (*PluginSpecificConfig) GetArchive

func (x *PluginSpecificConfig) GetArchive() *ArchiveConfig

func (*PluginSpecificConfig) GetConfig

func (x *PluginSpecificConfig) GetConfig() isPluginSpecificConfig_Config

func (*PluginSpecificConfig) GetGoBinary

func (x *PluginSpecificConfig) GetGoBinary() *GoBinaryConfig

func (*PluginSpecificConfig) GetGovulncheck

func (x *PluginSpecificConfig) GetGovulncheck() *GovulncheckConfig

func (*PluginSpecificConfig) GetHashicorpVaultValidator added in v0.4.1

func (x *PluginSpecificConfig) GetHashicorpVaultValidator() *HashiCorpVaultValidatorConfig

func (*PluginSpecificConfig) GetOva

func (x *PluginSpecificConfig) GetOva() *OVAConfig

func (*PluginSpecificConfig) GetPomXmlNet added in v0.4.1

func (x *PluginSpecificConfig) GetPomXmlNet() *POMXMLNetConfig

func (*PluginSpecificConfig) GetSdpInspect added in v0.4.1

func (x *PluginSpecificConfig) GetSdpInspect() *SDPInspectConfig

func (*PluginSpecificConfig) GetVdi

func (x *PluginSpecificConfig) GetVdi() *VDIConfig

func (*PluginSpecificConfig) GetVmdk

func (x *PluginSpecificConfig) GetVmdk() *VMDKConfig

func (*PluginSpecificConfig) ProtoMessage

func (*PluginSpecificConfig) ProtoMessage()

func (*PluginSpecificConfig) ProtoReflect

func (x *PluginSpecificConfig) ProtoReflect() protoreflect.Message

func (*PluginSpecificConfig) Reset

func (x *PluginSpecificConfig) Reset()

func (*PluginSpecificConfig) String

func (x *PluginSpecificConfig) String() string

type PluginSpecificConfig_Archive

type PluginSpecificConfig_Archive struct {
	Archive *ArchiveConfig `protobuf:"bytes,3,opt,name=archive,proto3,oneof"`
}

type PluginSpecificConfig_GoBinary

type PluginSpecificConfig_GoBinary struct {
	GoBinary *GoBinaryConfig `protobuf:"bytes,1,opt,name=go_binary,json=goBinary,proto3,oneof"`
}

type PluginSpecificConfig_Govulncheck

type PluginSpecificConfig_Govulncheck struct {
	Govulncheck *GovulncheckConfig `protobuf:"bytes,2,opt,name=govulncheck,proto3,oneof"`
}

type PluginSpecificConfig_HashicorpVaultValidator added in v0.4.1

type PluginSpecificConfig_HashicorpVaultValidator struct {
	HashicorpVaultValidator *HashiCorpVaultValidatorConfig `protobuf:"bytes,7,opt,name=hashicorp_vault_validator,json=hashicorpVaultValidator,proto3,oneof"`
}

type PluginSpecificConfig_Ova

type PluginSpecificConfig_Ova struct {
	Ova *OVAConfig `protobuf:"bytes,4,opt,name=ova,proto3,oneof"`
}

type PluginSpecificConfig_PomXmlNet added in v0.4.1

type PluginSpecificConfig_PomXmlNet struct {
	PomXmlNet *POMXMLNetConfig `protobuf:"bytes,9,opt,name=pom_xml_net,json=pomXmlNet,proto3,oneof"`
}

type PluginSpecificConfig_SdpInspect added in v0.4.1

type PluginSpecificConfig_SdpInspect struct {
	SdpInspect *SDPInspectConfig `protobuf:"bytes,8,opt,name=sdp_inspect,json=sdpInspect,proto3,oneof"`
}

type PluginSpecificConfig_Vdi

type PluginSpecificConfig_Vdi struct {
	Vdi *VDIConfig `protobuf:"bytes,5,opt,name=vdi,proto3,oneof"`
}

type PluginSpecificConfig_Vmdk

type PluginSpecificConfig_Vmdk struct {
	Vmdk *VMDKConfig `protobuf:"bytes,6,opt,name=vmdk,proto3,oneof"`
}

type SDPInspectConfig added in v0.4.1

type SDPInspectConfig struct {

	// The GCP project id to use for Sensitive Data Protection InspectContent API
	// calls.
	ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// contains filtered or unexported fields
}

func (*SDPInspectConfig) Descriptor deprecated added in v0.4.1

func (*SDPInspectConfig) Descriptor() ([]byte, []int)

Deprecated: Use SDPInspectConfig.ProtoReflect.Descriptor instead.

func (*SDPInspectConfig) GetProjectId added in v0.4.1

func (x *SDPInspectConfig) GetProjectId() string

func (*SDPInspectConfig) ProtoMessage added in v0.4.1

func (*SDPInspectConfig) ProtoMessage()

func (*SDPInspectConfig) ProtoReflect added in v0.4.1

func (x *SDPInspectConfig) ProtoReflect() protoreflect.Message

func (*SDPInspectConfig) Reset added in v0.4.1

func (x *SDPInspectConfig) Reset()

func (*SDPInspectConfig) String added in v0.4.1

func (x *SDPInspectConfig) String() string

type VDIConfig

type VDIConfig struct {

	// The maximum file size the plugin will process.
	// If set, this overrides the global max_file_size_bytes configuration
	// for this specific plugin.
	MaxFileSizeBytes int64 `protobuf:"varint,1,opt,name=max_file_size_bytes,json=maxFileSizeBytes,proto3" json:"max_file_size_bytes,omitempty"`
	// contains filtered or unexported fields
}

func (*VDIConfig) Descriptor deprecated

func (*VDIConfig) Descriptor() ([]byte, []int)

Deprecated: Use VDIConfig.ProtoReflect.Descriptor instead.

func (*VDIConfig) GetMaxFileSizeBytes

func (x *VDIConfig) GetMaxFileSizeBytes() int64

func (*VDIConfig) ProtoMessage

func (*VDIConfig) ProtoMessage()

func (*VDIConfig) ProtoReflect

func (x *VDIConfig) ProtoReflect() protoreflect.Message

func (*VDIConfig) Reset

func (x *VDIConfig) Reset()

func (*VDIConfig) String

func (x *VDIConfig) String() string

type VMDKConfig

type VMDKConfig struct {

	// The maximum file size the plugin will process.
	// If set, this overrides the global max_file_size_bytes configuration
	// for this specific plugin.
	MaxFileSizeBytes int64 `protobuf:"varint,1,opt,name=max_file_size_bytes,json=maxFileSizeBytes,proto3" json:"max_file_size_bytes,omitempty"`
	// contains filtered or unexported fields
}

func (*VMDKConfig) Descriptor deprecated

func (*VMDKConfig) Descriptor() ([]byte, []int)

Deprecated: Use VMDKConfig.ProtoReflect.Descriptor instead.

func (*VMDKConfig) GetMaxFileSizeBytes

func (x *VMDKConfig) GetMaxFileSizeBytes() int64

func (*VMDKConfig) ProtoMessage

func (*VMDKConfig) ProtoMessage()

func (*VMDKConfig) ProtoReflect

func (x *VMDKConfig) ProtoReflect() protoreflect.Message

func (*VMDKConfig) Reset

func (x *VMDKConfig) Reset()

func (*VMDKConfig) String

func (x *VMDKConfig) String() string

Jump to

Keyboard shortcuts

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