trustprovider

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	KubernetesTrustProvider string = "k8s"
)

Variables

This section is empty.

Functions

func GetTrustProviderKindFromProfile added in v0.5.0

func GetTrustProviderKindFromProfile(profile string) (string, error)

GetTrustProviderKindFromProfile returns the valid kind of trust provider for the corresponding profile.

Types

type TrustProvider

type TrustProvider struct {
	Name         string
	Kind         string
	AgentConfig  TrustProviderAgentConfig
	ServerConfig TrustProviderServerConfig
	Proto        *trust_provider_proto.TrustProvider
}

func NewTrustProvider

func NewTrustProvider(kind string) (*TrustProvider, error)

func (*TrustProvider) GetValues

func (tp *TrustProvider) GetValues() error

type TrustProviderAgentConfig

type TrustProviderAgentConfig struct {
	WorkloadAttestor        string         `yaml:"workloadAttestor"`
	WorkloadAttestorEnabled bool           `yaml:"workloadAttestorEnabled"`
	WorkloadAttestorConfig  map[string]any `yaml:"workloadAttestorConfig"`
	NodeAttestor            string         `yaml:"nodeAttestor"`
	NodeAttestorEnabled     bool           `yaml:"nodeAttestorEnabled"`
}

type TrustProviderServerConfig

type TrustProviderServerConfig struct {
	NodeAttestor        string         `yaml:"nodeAttestor"`
	NodeAttestorEnabled bool           `yaml:"nodeAttestorEnabled"`
	NodeAttestorConfig  map[string]any `yaml:"nodeAttestorConfig"`
}

Jump to

Keyboard shortcuts

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