Documentation ¶
Index ¶
- Constants
- func NewCRDs(a kubernetes.Applier) component.DeployWaiter
- func NewCustomResources(client client.Client, namespace string, values CustomResourcesValues) component.DeployWaiter
- func NewFluentBit(client client.Client, namespace string, values FluentBitValues) component.DeployWaiter
- func NewFluentOperator(client client.Client, namespace string, values Values) component.DeployWaiter
- type CustomResourcesValues
- type FluentBitValues
- type Values
Constants ¶
View Source
const ( // CustomResourcesManagedResourceName is the name of the managed resource which deploys the custom resources of the operator. CustomResourcesManagedResourceName = OperatorManagedResourceName + "-custom-resources" )
View Source
const (
// FluentBitManagedResourceName is the name of the managed resource which deploys the custom resources of the operator.
FluentBitManagedResourceName = "fluent-bit"
)
View Source
const (
// OperatorManagedResourceName is the name of the Fluent Operator managed resource.
OperatorManagedResourceName = "fluent-operator"
)
Variables ¶
This section is empty.
Functions ¶
func NewCRDs ¶
func NewCRDs(a kubernetes.Applier) component.DeployWaiter
NewCRDs can be used to deploy Fluent Operator CRDs.
func NewCustomResources ¶
func NewCustomResources( client client.Client, namespace string, values CustomResourcesValues, ) component.DeployWaiter
NewCustomResources creates a new instance of Fluent Operator Custom Resources.
func NewFluentBit ¶
func NewFluentBit( client client.Client, namespace string, values FluentBitValues, ) component.DeployWaiter
NewFluentBit creates a new instance of Fluent-bit deployer.
func NewFluentOperator ¶
func NewFluentOperator( client client.Client, namespace string, values Values, ) component.DeployWaiter
NewFluentOperator creates a new instance of Fluent Operator.
Types ¶
type CustomResourcesValues ¶
type CustomResourcesValues struct { Suffix string Inputs []*fluentbitv1alpha2.ClusterInput Filters []*fluentbitv1alpha2.ClusterFilter Parsers []*fluentbitv1alpha2.ClusterParser Outputs []*fluentbitv1alpha2.ClusterOutput }
CustomResourcesValues are the values for the custom resources.
type FluentBitValues ¶
type FluentBitValues struct { // Image is the fluent-bit image. Image string // InitContainerImage is the fluent-bit init container image. InitContainerImage string // VailEnabled specifies whether vali is used and should be configured as a ClusterOutput. ValiEnabled bool // PriorityClass is the name of the priority class of the fluent-bit. PriorityClass string }
FluentBitValues is the values for fluent-bit configurations
Click to show internal directories.
Click to hide internal directories.