spec

package
v3.5.8 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2024 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