weavescope

package
v4.2.517+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 15, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

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

func (*Config) Validate

func (c *Config) Validate() error

Confirm the configuration is validated

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL