weavescope

package
v4.2.290+incompatible Latest Latest
Warning

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

Go to latest
Published: Sep 12, 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 *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 (*WeaveScopeClient) ListWeaveScopePods

Jump to

Keyboard shortcuts

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