pluginconfig

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2022 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Overview

+kubebuilder:validation:Optional

Index

Constants

View Source
const (
	// PluginConfigKey is the key for the plugin configuration.
	PluginConfigKey = "fluxninja_plugin"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ClientConfig added in v0.1.2

type ClientConfig struct {
	// HTTP client settings.
	HTTPClient http.HTTPClientConfig `json:"http"`
	// GRPC client settings.
	GRPCClient grpc.GRPCClientConfig `json:"grpc"`
}

ClientConfig is the client configuration. swagger:model +kubebuilder:object:generate=true

func (*ClientConfig) DeepCopy added in v0.1.2

func (in *ClientConfig) DeepCopy() *ClientConfig

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

func (*ClientConfig) DeepCopyInto added in v0.1.2

func (in *ClientConfig) DeepCopyInto(out *ClientConfig)

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

type FluxNinjaPluginConfig

type FluxNinjaPluginConfig struct {
	// Interval between each heartbeat.
	HeartbeatInterval config.Duration `json:"heartbeat_interval" validate:"gte=0s" default:"5s"`
	// Address to grpc or http(s) server listening in agent service. To use http protocol, the address must start with http(s)://.
	FluxNinjaEndpoint string `json:"fluxninja_endpoint" validate:"omitempty,hostname_port|url|fqdn"`
	// API Key for this agent.
	APIKey string `json:"api_key"`
	// Client configuration.
	ClientConfig ClientConfig `json:"client"`
}

FluxNinjaPluginConfig is the configuration for FluxNinja cloud integration plugin. swagger:model +kubebuilder:object:generate=true

func (*FluxNinjaPluginConfig) DeepCopy added in v0.1.2

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

func (*FluxNinjaPluginConfig) DeepCopyInto added in v0.1.2

func (in *FluxNinjaPluginConfig) DeepCopyInto(out *FluxNinjaPluginConfig)

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

Jump to

Keyboard shortcuts

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