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

plugins

package
v0.1.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const FluentBitFilter = "fluentbit_filter"

FluentBit Filter name

View Source
const FluentBitFilterTemplate = `
`

FluentBitFilterTemplate for FluentBit Filter plugin

View Source
const FluentBitInput = "fluentbit_input"

FluentBit Input name

View Source
const FluentBitInputTemplate = `
`

FluentBitInputTemplate for FluentBit Input plugin

View Source
const FluentBitOutput = "fluentbit_output"

FluentBit Output name

View Source
const FluentBitOutputTemplate = `
`

FluentBitOutputTemplate for FluentBit Output plugin

View Source
const FluentBitService = "fluentbit_service"

FluentBit Service name

View Source
const FluentBitServiceTemplate = `
`

FluentBitServiceTemplate for FluentBit Service plugin

View Source
const FluentBitSettings = "fluentbit_settings"

FluentBit Settings name

View Source
const FluentBitSettingsTemplate = `
{"Enable":"true"}
`

FluentBitSettingsTemplate for FluentBit Settings plugin

Variables

View Source
var FluentBitFilterDefaultValues = map[string]string{}

FluentBitFilterDefaultValues for FluentBit Filter plugin

View Source
var FluentBitInputDefaultValues = map[string]string{}

FluentBitInputDefaultValues for FluentBit Input plugin

View Source
var FluentBitOutputDefaultValues = map[string]string{}

FluentBitOutputDefaultValues for FluentBit Output plugin

View Source
var FluentBitServiceDefaultValues = map[string]string{}

FluentBitServiceDefaultValues for FluentBit Service plugin

View Source
var FluentBitSettingsDefaultValues = map[string]string{"Enable": "true"}

FluentBitSettingsDefaultValues for FluentBit Settings plugin

Functions

func GetDefaultValues

func GetDefaultValues(name string) (map[string]string, error)

GetDefaultValues get default values by name

func GetTemplate

func GetTemplate(name string) (string, error)

GetTemplate get template string by name

func RegisterPlugin

func RegisterPlugin(name string, template string, values map[string]string)

RegisterPlugin to use in CRD file

Types

type Plugin

type Plugin struct {
	Template      string
	DefaultValues map[string]string
}

Plugin struct to store plugin informations

Jump to

Keyboard shortcuts

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