Versions in this module Expand all Collapse all v0 v0.7.0 Sep 28, 2019 v0.1.1 Sep 24, 2019 Changes in this version + type API interface + Addr func() string + Start func(context.Context) error + func New(service Service) (API, error) + type Client struct + DashboardConnection DashboardConnection + func NewClient(address string, options ...ClientOption) (*Client, error) + func (c *Client) CancelPortForward(ctx context.Context, id string) + func (c *Client) Close() error + func (c *Client) ForceFrontendUpdate(ctx context.Context) error + func (c *Client) Get(ctx context.Context, key store.Key) (*unstructured.Unstructured, bool, error) + func (c *Client) List(ctx context.Context, key store.Key) (*unstructured.UnstructuredList, error) + func (c *Client) PortForward(ctx context.Context, req PortForwardRequest) (PortForwardResponse, error) + func (c *Client) Update(ctx context.Context, object *unstructured.Unstructured) error + type ClientOption func(c *Client) + type DashboardConnection interface + Client func() proto.DashboardClient + Close func() error + type FrontendProxy struct + FrontendUpdateController FrontendUpdateController + func (proxy *FrontendProxy) ForceFrontendUpdate() error + type FrontendUpdateController interface + ForceUpdate func() error + type GRPCService struct + FrontendProxy FrontendProxy + ObjectStore store.Store + PortForwarder portforward.PortForwarder + func (s *GRPCService) CancelPortForward(ctx context.Context, id string) + func (s *GRPCService) ForceFrontendUpdate(ctx context.Context) error + func (s *GRPCService) Get(ctx context.Context, key store.Key) (*unstructured.Unstructured, bool, error) + func (s *GRPCService) List(ctx context.Context, key store.Key) (*unstructured.UnstructuredList, error) + func (s *GRPCService) PortForward(ctx context.Context, req PortForwardRequest) (PortForwardResponse, error) + func (s *GRPCService) Update(ctx context.Context, object *unstructured.Unstructured) error + type PortForwardRequest struct + ContainerName string + Namespace string + PodName string + Port uint16 + type PortForwardResponse struct + ID string + Port uint16 + type Service interface + CancelPortForward func(ctx context.Context, id string) + ForceFrontendUpdate func(ctx context.Context) error + Get func(ctx context.Context, key store.Key) (*unstructured.Unstructured, bool, error) + List func(ctx context.Context, key store.Key) (*unstructured.UnstructuredList, error) + PortForward func(ctx context.Context, req PortForwardRequest) (PortForwardResponse, error) + Update func(ctx context.Context, object *unstructured.Unstructured) error