Documentation ¶
Index ¶
- Constants
- func NewCRDs(a kubernetes.Applier) component.DeployWaiter
- func NewCustomResources(client client.Client, namespace string, values CustomResourcesValues, ...) component.DeployWaiter
- func NewFluentOperator(client client.Client, namespace string, values Values) component.DeployWaiter
- type CustomResourcesValues
- type FluentBit
- 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 (
// 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, additionalInputs []*fluentbitv1alpha2.ClusterInput, additionalFilters []*fluentbitv1alpha2.ClusterFilter, additionalParsers []*fluentbitv1alpha2.ClusterParser, ) component.DeployWaiter
NewCustomResources creates a new instance of Fluent Operator Custom Resources.
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 { // FluentBit represents the fluent-bit values. FluentBit FluentBit }
CustomResourcesValues are the values for the custom resources.
type FluentBit ¶
type FluentBit struct { // Image is the fluent-bit image. Image string // InitContainerImage is the fluent-bit init container image. InitContainerImage string // PriorityClass is the name of the priority class of the fluent-bit. PriorityClass string }
FluentBit holds the fluent-bit configurations
Click to show internal directories.
Click to hide internal directories.