You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But the documentation/codebase is not clear in how it could be achieved to create for example a simple flow.
We have configured it as follows:
package example
import (
"context"
"log"
banzai "github.com/banzaicloud/logging-operator/pkg/sdk/logging/api/v1beta1"
corev1 "k8s.io/api/core/v1"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
)
// ManageLoggingOperator Creates or updates the Banzai flow en clusteroutput for each customer
func ManageLoggingOperator(k8sAPI *k8s.API, customerConfig *config.Customer, environment config.Environment, namespace config.Namespace, loggingOperatorNS string) error {
log.Println(banzai.FlowList())
return nil
}
But when we try to run it we get the following error:
environment/logging-operator.go:23:14: missing argument in conversion to "github.com/banzaicloud/logging-operator/pkg/sdk/logging/api/v1beta1".FlowList
We can't find any documentation which arguments are missing..
Could you please give us an direction or solution in how we can get it working.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
We are trying to create flows and clusteroutputs with our Golang application, but we don't have te knowledge to get it working..
We installed the following package: https://pkg.go.dev/github.com/banzaicloud/logging-operator/pkg/sdk/logging/api/v1beta1
But the documentation/codebase is not clear in how it could be achieved to create for example a simple flow.
We have configured it as follows:
But when we try to run it we get the following error:
We can't find any documentation which arguments are missing..
Could you please give us an direction or solution in how we can get it working.
Beta Was this translation helpful? Give feedback.
All reactions