Documentation ¶
Index ¶
- type MetricsBackend
- func (m *MetricsBackend) CanInstall(_ context.Context, _ *emptypb.Empty) (*emptypb.Empty, error)
- func (m *MetricsBackend) CancelUninstall(ctx context.Context, cluster *corev1.Reference) (*emptypb.Empty, error)
- func (m *MetricsBackend) ConfigureCluster(ctx context.Context, in *cortexops.ClusterConfiguration) (*emptypb.Empty, error)
- func (m *MetricsBackend) GetClusterConfiguration(ctx context.Context, in *emptypb.Empty) (*cortexops.ClusterConfiguration, error)
- func (m *MetricsBackend) GetClusterStatus(ctx context.Context, in *emptypb.Empty) (*cortexops.InstallStatus, error)
- func (m *MetricsBackend) Info(_ context.Context, _ *emptypb.Empty) (*capabilityv1.InfoResponse, error)
- func (m *MetricsBackend) Initialize(conf MetricsBackendConfig)
- func (m *MetricsBackend) Install(ctx context.Context, req *capabilityv1.InstallRequest) (*capabilityv1.InstallResponse, error)
- func (m *MetricsBackend) InstallerTemplate(context.Context, *emptypb.Empty) (*capabilityv1.InstallerTemplateResponse, error)
- func (m *MetricsBackend) Status(ctx context.Context, req *capabilityv1.StatusRequest) (*capabilityv1.NodeCapabilityStatus, error)
- func (m *MetricsBackend) Sync(ctx context.Context, req *node.SyncRequest) (*node.SyncResponse, error)
- func (m *MetricsBackend) Uninstall(ctx context.Context, req *capabilityv1.UninstallRequest) (*emptypb.Empty, error)
- func (m *MetricsBackend) UninstallCluster(ctx context.Context, in *emptypb.Empty) (*emptypb.Empty, error)
- func (m *MetricsBackend) UninstallStatus(ctx context.Context, cluster *corev1.Reference) (*corev1.TaskStatus, error)
- type MetricsBackendConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MetricsBackend ¶
type MetricsBackend struct { capabilityv1.UnsafeBackendServer node.UnsafeNodeMetricsCapabilityServer cortexops.UnsafeCortexOpsServer MetricsBackendConfig util.Initializer // contains filtered or unexported fields }
func (*MetricsBackend) CanInstall ¶
func (*MetricsBackend) CancelUninstall ¶
func (*MetricsBackend) ConfigureCluster ¶
func (m *MetricsBackend) ConfigureCluster(ctx context.Context, in *cortexops.ClusterConfiguration) (*emptypb.Empty, error)
func (*MetricsBackend) GetClusterConfiguration ¶
func (m *MetricsBackend) GetClusterConfiguration(ctx context.Context, in *emptypb.Empty) (*cortexops.ClusterConfiguration, error)
func (*MetricsBackend) GetClusterStatus ¶
func (m *MetricsBackend) GetClusterStatus(ctx context.Context, in *emptypb.Empty) (*cortexops.InstallStatus, error)
func (*MetricsBackend) Info ¶
func (m *MetricsBackend) Info(_ context.Context, _ *emptypb.Empty) (*capabilityv1.InfoResponse, error)
func (*MetricsBackend) Initialize ¶
func (m *MetricsBackend) Initialize(conf MetricsBackendConfig)
func (*MetricsBackend) Install ¶
func (m *MetricsBackend) Install(ctx context.Context, req *capabilityv1.InstallRequest) (*capabilityv1.InstallResponse, error)
func (*MetricsBackend) InstallerTemplate ¶
func (m *MetricsBackend) InstallerTemplate(context.Context, *emptypb.Empty) (*capabilityv1.InstallerTemplateResponse, error)
func (*MetricsBackend) Status ¶
func (m *MetricsBackend) Status(ctx context.Context, req *capabilityv1.StatusRequest) (*capabilityv1.NodeCapabilityStatus, error)
func (*MetricsBackend) Sync ¶
func (m *MetricsBackend) Sync(ctx context.Context, req *node.SyncRequest) (*node.SyncResponse, error)
Implements node.NodeMetricsCapabilityServer
func (*MetricsBackend) Uninstall ¶
func (m *MetricsBackend) Uninstall(ctx context.Context, req *capabilityv1.UninstallRequest) (*emptypb.Empty, error)
func (*MetricsBackend) UninstallCluster ¶
func (*MetricsBackend) UninstallStatus ¶
func (m *MetricsBackend) UninstallStatus(ctx context.Context, cluster *corev1.Reference) (*corev1.TaskStatus, error)
type MetricsBackendConfig ¶
type MetricsBackendConfig struct { Logger *zap.SugaredLogger `validate:"required"` StorageBackend storage.Backend `validate:"required"` MgmtClient managementv1.ManagementClient `validate:"required"` NodeManagerClient capabilityv1.NodeManagerClient `validate:"required"` UninstallController *task.Controller `validate:"required"` ClusterDriver drivers.ClusterDriver `validate:"required"` }
Click to show internal directories.
Click to hide internal directories.