2024-01-02 21:36:20 +03:00
|
|
|
// Copyright (c) HashiCorp, Inc.
|
|
|
|
// SPDX-License-Identifier: BUSL-1.1
|
|
|
|
|
2023-03-20 17:51:35 +03:00
|
|
|
//go:build !enterprise
|
|
|
|
|
|
|
|
package vault
|
|
|
|
|
2024-04-16 01:30:18 +03:00
|
|
|
import (
|
|
|
|
"context"
|
|
|
|
"time"
|
|
|
|
)
|
2023-05-19 17:42:50 +03:00
|
|
|
|
2023-03-20 17:51:35 +03:00
|
|
|
// CensusAgent is a stub for OSS
|
2023-05-19 17:42:50 +03:00
|
|
|
type CensusReporter interface{}
|
2023-04-21 22:29:37 +03:00
|
|
|
|
2024-02-02 02:03:55 +03:00
|
|
|
func (c *Core) setupCensusManager() error { return nil }
|
|
|
|
func (c *Core) BillingStart() time.Time { return time.Time{} }
|
|
|
|
func (c *Core) AutomatedLicenseReportingEnabled() bool { return false }
|
|
|
|
func (c *Core) CensusAgent() CensusReporter { return nil }
|
|
|
|
func (c *Core) ReloadCensus() error { return nil }
|
|
|
|
func (c *Core) teardownCensusManager() error { return nil }
|
|
|
|
func (c *Core) StartManualCensusSnapshots() {}
|
|
|
|
func (c *Core) ManualLicenseReportingEnabled() bool { return false }
|
|
|
|
func (c *Core) ManualCensusSnapshotInterval() time.Duration { return time.Duration(0) }
|
|
|
|
func (c *Core) ManualCensusSnapshotRetentionTime() time.Duration { return time.Duration(0) }
|
2024-04-16 01:30:18 +03:00
|
|
|
func (c *Core) StartCensusReports(ctx context.Context) {}
|
2024-04-17 22:08:37 +03:00
|
|
|
func (c *Core) ReloadCensusActivityLog() error { return nil }
|