Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildProperties ¶
func BuildProperties(fns ...PropertiesBuilderFn) posthog.Properties
Types ¶
type ClusterProperties ¶
type ClusterProperties struct {
// contains filtered or unexported fields
}
type NamespaceGetter ¶
type NodeLister ¶
type PropertiesBuilderFn ¶
type PropertiesBuilderFn func(p posthog.Properties) posthog.Properties
func ForClientUser ¶
func ForClientUser(pg PropertyGetter, includeCluster bool) PropertiesBuilderFn
func ForOperatorUser ¶
func ForOperatorUser(pg PropertyGetter) PropertiesBuilderFn
func FromMap ¶
func FromMap(data map[string]any) PropertiesBuilderFn
func FromPackage ¶
func FromPackage(pkg *v1alpha1.Package) PropertiesBuilderFn
type PropertyGetter ¶
type PropertyGetter struct { NodeLister NodeLister NamespaceGetter NamespaceGetter DiscoveryClient discovery.DiscoveryInterface }
func (PropertyGetter) ClusterId ¶
func (g PropertyGetter) ClusterId() string
func (PropertyGetter) ClusterProperties ¶
func (g PropertyGetter) ClusterProperties() (p ClusterProperties)
func (PropertyGetter) Enabled ¶
func (g PropertyGetter) Enabled() bool
Click to show internal directories.
Click to hide internal directories.