Documentation ¶
Index ¶
- type Config
- type WeaveScopeClient
- func (w *WeaveScopeClient) GetWeaveScopeContainerDetails(in *ApiWeavescope.ListWeaveScopeContainersRequest) (string, error)
- func (w *WeaveScopeClient) GetWeaveScopeHostDetails(in *ApiWeavescope.ListWeaveScopeHostsRequest) (string, error)
- func (w *WeaveScopeClient) GetWeaveScopePodDetails(in *ApiWeavescope.ListWeaveScopePodsRequest) (string, error)
- func (w *WeaveScopeClient) ListWeaveScopeContainers(in *ApiWeavescope.ListWeaveScopeContainersRequest) (string, error)
- func (w *WeaveScopeClient) ListWeaveScopeContainersByHostname(in *ApiWeavescope.ListWeaveScopeContainersRequest) (string, error)
- func (w *WeaveScopeClient) ListWeaveScopeContainersByImage(in *ApiWeavescope.ListWeaveScopeContainersRequest) (string, error)
- func (w *WeaveScopeClient) ListWeaveScopeHosts(in *ApiWeavescope.ListWeaveScopeHostsRequest) (string, error)
- func (w *WeaveScopeClient) ListWeaveScopePods(in *ApiWeavescope.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 *ApiWeavescope.ListWeaveScopeContainersRequest) (string, error)
func (*WeaveScopeClient) GetWeaveScopeHostDetails ¶
func (w *WeaveScopeClient) GetWeaveScopeHostDetails(in *ApiWeavescope.ListWeaveScopeHostsRequest) (string, error)
func (*WeaveScopeClient) GetWeaveScopePodDetails ¶
func (w *WeaveScopeClient) GetWeaveScopePodDetails(in *ApiWeavescope.ListWeaveScopePodsRequest) (string, error)
func (*WeaveScopeClient) ListWeaveScopeContainers ¶
func (w *WeaveScopeClient) ListWeaveScopeContainers(in *ApiWeavescope.ListWeaveScopeContainersRequest) (string, error)
func (*WeaveScopeClient) ListWeaveScopeContainersByHostname ¶
func (w *WeaveScopeClient) ListWeaveScopeContainersByHostname(in *ApiWeavescope.ListWeaveScopeContainersRequest) (string, error)
func (*WeaveScopeClient) ListWeaveScopeContainersByImage ¶
func (w *WeaveScopeClient) ListWeaveScopeContainersByImage(in *ApiWeavescope.ListWeaveScopeContainersRequest) (string, error)
func (*WeaveScopeClient) ListWeaveScopeHosts ¶
func (w *WeaveScopeClient) ListWeaveScopeHosts(in *ApiWeavescope.ListWeaveScopeHostsRequest) (string, error)
func (*WeaveScopeClient) ListWeaveScopePods ¶
func (w *WeaveScopeClient) ListWeaveScopePods(in *ApiWeavescope.ListWeaveScopePodsRequest) (string, error)
Click to show internal directories.
Click to hide internal directories.