Documentation ¶
Index ¶
- type Config
- type WeaveScopeRepository
- func (w *WeaveScopeRepository) GetWeaveScopeContainerDetails(in *datahub_v1alpha1.ListWeaveScopeContainersRequest) (string, error)
- func (w *WeaveScopeRepository) GetWeaveScopeHostDetails(in *datahub_v1alpha1.ListWeaveScopeHostsRequest) (string, error)
- func (w *WeaveScopeRepository) GetWeaveScopePodDetails(in *datahub_v1alpha1.ListWeaveScopePodsRequest) (string, error)
- func (w *WeaveScopeRepository) ListWeaveScopeContainers(in *datahub_v1alpha1.ListWeaveScopeContainersRequest) (string, error)
- func (w *WeaveScopeRepository) ListWeaveScopeContainersByHostname(in *datahub_v1alpha1.ListWeaveScopeContainersRequest) (string, error)
- func (w *WeaveScopeRepository) ListWeaveScopeContainersByImage(in *datahub_v1alpha1.ListWeaveScopeContainersRequest) (string, error)
- func (w *WeaveScopeRepository) ListWeaveScopeHosts(in *datahub_v1alpha1.ListWeaveScopeHostsRequest) (string, error)
- func (w *WeaveScopeRepository) ListWeaveScopePods(in *datahub_v1alpha1.ListWeaveScopePodsRequest) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
URL string `mapstructure:"url"`
}
Config Configuration of Prometheus datasource
func NewDefaultConfig ¶
func NewDefaultConfig() Config
NewDefaultConfig Provide default configuration
type WeaveScopeRepository ¶
type WeaveScopeRepository struct {
URL string
}
func NewWeaveScopeRepositoryWithConfig ¶
func NewWeaveScopeRepositoryWithConfig(config *Config) *WeaveScopeRepository
func (*WeaveScopeRepository) GetWeaveScopeContainerDetails ¶
func (w *WeaveScopeRepository) GetWeaveScopeContainerDetails(in *datahub_v1alpha1.ListWeaveScopeContainersRequest) (string, error)
func (*WeaveScopeRepository) GetWeaveScopeHostDetails ¶
func (w *WeaveScopeRepository) GetWeaveScopeHostDetails(in *datahub_v1alpha1.ListWeaveScopeHostsRequest) (string, error)
func (*WeaveScopeRepository) GetWeaveScopePodDetails ¶
func (w *WeaveScopeRepository) GetWeaveScopePodDetails(in *datahub_v1alpha1.ListWeaveScopePodsRequest) (string, error)
func (*WeaveScopeRepository) ListWeaveScopeContainers ¶
func (w *WeaveScopeRepository) ListWeaveScopeContainers(in *datahub_v1alpha1.ListWeaveScopeContainersRequest) (string, error)
func (*WeaveScopeRepository) ListWeaveScopeContainersByHostname ¶
func (w *WeaveScopeRepository) ListWeaveScopeContainersByHostname(in *datahub_v1alpha1.ListWeaveScopeContainersRequest) (string, error)
func (*WeaveScopeRepository) ListWeaveScopeContainersByImage ¶
func (w *WeaveScopeRepository) ListWeaveScopeContainersByImage(in *datahub_v1alpha1.ListWeaveScopeContainersRequest) (string, error)
func (*WeaveScopeRepository) ListWeaveScopeHosts ¶
func (w *WeaveScopeRepository) ListWeaveScopeHosts(in *datahub_v1alpha1.ListWeaveScopeHostsRequest) (string, error)
func (*WeaveScopeRepository) ListWeaveScopePods ¶
func (w *WeaveScopeRepository) ListWeaveScopePods(in *datahub_v1alpha1.ListWeaveScopePodsRequest) (string, error)
Click to show internal directories.
Click to hide internal directories.