Documentation ¶
Index ¶
- type Config
- type WeaveScopeClient
- func (w *WeaveScopeClient) GetWeaveScopeContainerDetails(in *DatahubV1alpha1.ListWeaveScopeContainersRequest) (string, error)
- func (w *WeaveScopeClient) GetWeaveScopeHostDetails(in *DatahubV1alpha1.ListWeaveScopeHostsRequest) (string, error)
- func (w *WeaveScopeClient) GetWeaveScopePodDetails(in *DatahubV1alpha1.ListWeaveScopePodsRequest) (string, error)
- func (w *WeaveScopeClient) ListWeaveScopeContainers(in *DatahubV1alpha1.ListWeaveScopeContainersRequest) (string, error)
- func (w *WeaveScopeClient) ListWeaveScopeContainersByHostname(in *DatahubV1alpha1.ListWeaveScopeContainersRequest) (string, error)
- func (w *WeaveScopeClient) ListWeaveScopeContainersByImage(in *DatahubV1alpha1.ListWeaveScopeContainersRequest) (string, error)
- func (w *WeaveScopeClient) ListWeaveScopeHosts(in *DatahubV1alpha1.ListWeaveScopeHostsRequest) (string, error)
- func (w *WeaveScopeClient) ListWeaveScopePods(in *DatahubV1alpha1.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"`
}
Configuration of weave scope
func NewDefaultConfig ¶
func NewDefaultConfig() *Config
Provide default configuration for weave scope
type WeaveScopeClient ¶
type WeaveScopeClient struct {
URL string
}
func NewClient ¶
func NewClient(config *Config) *WeaveScopeClient
func (*WeaveScopeClient) GetWeaveScopeContainerDetails ¶
func (w *WeaveScopeClient) GetWeaveScopeContainerDetails(in *DatahubV1alpha1.ListWeaveScopeContainersRequest) (string, error)
func (*WeaveScopeClient) GetWeaveScopeHostDetails ¶
func (w *WeaveScopeClient) GetWeaveScopeHostDetails(in *DatahubV1alpha1.ListWeaveScopeHostsRequest) (string, error)
func (*WeaveScopeClient) GetWeaveScopePodDetails ¶
func (w *WeaveScopeClient) GetWeaveScopePodDetails(in *DatahubV1alpha1.ListWeaveScopePodsRequest) (string, error)
func (*WeaveScopeClient) ListWeaveScopeContainers ¶
func (w *WeaveScopeClient) ListWeaveScopeContainers(in *DatahubV1alpha1.ListWeaveScopeContainersRequest) (string, error)
func (*WeaveScopeClient) ListWeaveScopeContainersByHostname ¶
func (w *WeaveScopeClient) ListWeaveScopeContainersByHostname(in *DatahubV1alpha1.ListWeaveScopeContainersRequest) (string, error)
func (*WeaveScopeClient) ListWeaveScopeContainersByImage ¶
func (w *WeaveScopeClient) ListWeaveScopeContainersByImage(in *DatahubV1alpha1.ListWeaveScopeContainersRequest) (string, error)
func (*WeaveScopeClient) ListWeaveScopeHosts ¶
func (w *WeaveScopeClient) ListWeaveScopeHosts(in *DatahubV1alpha1.ListWeaveScopeHostsRequest) (string, error)
func (*WeaveScopeClient) ListWeaveScopePods ¶
func (w *WeaveScopeClient) ListWeaveScopePods(in *DatahubV1alpha1.ListWeaveScopePodsRequest) (string, error)
Click to show internal directories.
Click to hide internal directories.