config

package
v0.56.0 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2024 License: Apache-2.0 Imports: 3 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SpireConfig

type SpireConfig struct {
	// The trust domain corresponds to the trust root of a SPIFFE identity provider.
	TrustDomain string
	// Path to the spire agent socket defined by the CSI driver
	SocketPath string
	// Spire server address
	ServerAddr string
	// Prefix to attach to the node name when registering it with the spire server
	NodeAliasPrefix string

	// MockSpire only to be used for testing the controller, will not exhibit
	// all characteristics of spire since it is only being used in the context
	// of process memory.
	MockSpire bool
}

SpireConfig holds the images reference for a number of container images used across tektoncd pipelines. +k8s:deepcopy-gen=true

func (*SpireConfig) DeepCopy added in v0.45.0

func (in *SpireConfig) DeepCopy() *SpireConfig

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SpireConfig.

func (*SpireConfig) DeepCopyInto added in v0.45.0

func (in *SpireConfig) DeepCopyInto(out *SpireConfig)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (SpireConfig) Validate

func (c SpireConfig) Validate() error

Validate returns an error if any image is not set.

Jump to

Keyboard shortcuts

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