Documentation ¶
Overview ¶
Copyright 2022 Nethermind
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2022 Nethermind ¶
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2022 Nethermind ¶
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Index ¶
- Variables
- type LidoExporterParams
- type LidoExporterService
- func (l *LidoExporterService) AddTarget(target types.MonitoringTarget, labels map[string]string, jobName string) error
- func (l *LidoExporterService) ContainerName() string
- func (l *LidoExporterService) DotEnv() map[string]string
- func (l *LidoExporterService) Endpoint() string
- func (n *LidoExporterService) Init(opts types.ServiceOptions) error
- func (l *LidoExporterService) Name() string
- func (l *LidoExporterService) RemoveTarget(instanceID string) (string, error)
- func (l *LidoExporterService) SetContainerIP(ip net.IP)
- func (l *LidoExporterService) Setup(options map[string]string) error
Constants ¶
This section is empty.
Variables ¶
var ErrInvalidOptions = errors.New("invalid options for lido exporter setup")
Functions ¶
This section is empty.
Types ¶
type LidoExporterParams ¶
type LidoExporterService ¶
type LidoExporterService struct {
// contains filtered or unexported fields
}
func NewLidoExporter ¶
func NewLidoExporter(params LidoExporterParams) *LidoExporterService
func (*LidoExporterService) AddTarget ¶
func (l *LidoExporterService) AddTarget(target types.MonitoringTarget, labels map[string]string, jobName string) error
func (*LidoExporterService) ContainerName ¶
func (l *LidoExporterService) ContainerName() string
func (*LidoExporterService) DotEnv ¶
func (l *LidoExporterService) DotEnv() map[string]string
func (*LidoExporterService) Endpoint ¶
func (l *LidoExporterService) Endpoint() string
func (*LidoExporterService) Init ¶
func (n *LidoExporterService) Init(opts types.ServiceOptions) error
func (*LidoExporterService) Name ¶
func (l *LidoExporterService) Name() string
func (*LidoExporterService) RemoveTarget ¶
func (l *LidoExporterService) RemoveTarget(instanceID string) (string, error)
func (*LidoExporterService) SetContainerIP ¶
func (l *LidoExporterService) SetContainerIP(ip net.IP)