Documentation ¶
Index ¶
- type FakeReporter
- func (f *FakeReporter) ReportNodePublishCtMetric(ctx context.Context, provider string)
- func (f *FakeReporter) ReportNodePublishCtMetricInvoked() int
- func (f *FakeReporter) ReportNodePublishErrorCtMetric(ctx context.Context, provider, errType string)
- func (f *FakeReporter) ReportNodePublishErrorCtMetricInvoked() int
- func (f *FakeReporter) ReportNodeUnPublishCtMetric(ctx context.Context)
- func (f *FakeReporter) ReportNodeUnPublishCtMetricInvoked() int
- func (f *FakeReporter) ReportNodeUnPublishErrorCtMetric(ctx context.Context)
- func (f *FakeReporter) ReportNodeUnPublishErrorCtMetricInvoked() int
- func (f *FakeReporter) ReportSyncK8SecretCtMetric(ctx context.Context, provider string, count int)
- func (f *FakeReporter) ReportSyncK8SecretCtMetricInvoked() int
- func (f *FakeReporter) ReportSyncK8SecretDuration(ctx context.Context, duration float64)
- func (f *FakeReporter) ReportSyncK8SecretDurationInvoked() int
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeReporter ¶
type FakeReporter struct {
// contains filtered or unexported fields
}
func NewFakeReporter ¶
func NewFakeReporter() *FakeReporter
func (*FakeReporter) ReportNodePublishCtMetric ¶
func (f *FakeReporter) ReportNodePublishCtMetric(ctx context.Context, provider string)
func (*FakeReporter) ReportNodePublishCtMetricInvoked ¶
func (f *FakeReporter) ReportNodePublishCtMetricInvoked() int
func (*FakeReporter) ReportNodePublishErrorCtMetric ¶
func (f *FakeReporter) ReportNodePublishErrorCtMetric(ctx context.Context, provider, errType string)
func (*FakeReporter) ReportNodePublishErrorCtMetricInvoked ¶
func (f *FakeReporter) ReportNodePublishErrorCtMetricInvoked() int
func (*FakeReporter) ReportNodeUnPublishCtMetric ¶
func (f *FakeReporter) ReportNodeUnPublishCtMetric(ctx context.Context)
func (*FakeReporter) ReportNodeUnPublishCtMetricInvoked ¶
func (f *FakeReporter) ReportNodeUnPublishCtMetricInvoked() int
func (*FakeReporter) ReportNodeUnPublishErrorCtMetric ¶
func (f *FakeReporter) ReportNodeUnPublishErrorCtMetric(ctx context.Context)
func (*FakeReporter) ReportNodeUnPublishErrorCtMetricInvoked ¶
func (f *FakeReporter) ReportNodeUnPublishErrorCtMetricInvoked() int
func (*FakeReporter) ReportSyncK8SecretCtMetric ¶
func (f *FakeReporter) ReportSyncK8SecretCtMetric(ctx context.Context, provider string, count int)
func (*FakeReporter) ReportSyncK8SecretCtMetricInvoked ¶
func (f *FakeReporter) ReportSyncK8SecretCtMetricInvoked() int
func (*FakeReporter) ReportSyncK8SecretDuration ¶
func (f *FakeReporter) ReportSyncK8SecretDuration(ctx context.Context, duration float64)
func (*FakeReporter) ReportSyncK8SecretDurationInvoked ¶
func (f *FakeReporter) ReportSyncK8SecretDurationInvoked() int
Click to show internal directories.
Click to hide internal directories.