Help us shape the future of Go! Take the 2026 Go Developer Survey

spec

package
v3.7.18 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2026 License: Apache-2.0 Imports: 3 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 {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata"`
	Spec              PluginSpec `json:"spec"`
}

func (Plugin) Validate

func (p Plugin) Validate() error

type PluginSpec

type PluginSpec struct {
	Sidecar Sidecar `json:"sidecar"`
}

type Sidecar

type Sidecar struct {
	// AutomountServiceAccount mounts the service account's token. The service account must have the same name as the plugin.
	AutomountServiceAccountToken bool            `json:"automountServiceAccountToken,omitempty"`
	Container                    apiv1.Container `json:"container"`
}

func (Sidecar) Validate

func (s Sidecar) Validate() error

Jump to

Keyboard shortcuts

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