istio: istio.io/istio/istioctl/pkg/util/clusters Index | Files

package clusters

import "istio.io/istio/istioctl/pkg/util/clusters"

Index

Package Files

wrapper.go

type Wrapper Uses

type Wrapper struct {
    *adminapi.Clusters
}

Wrapper is a wrapper around the Envoy Clusters It has extra helper functions for handling any/struct/marshal protobuf pain

func (*Wrapper) MarshalJSON Uses

func (w *Wrapper) MarshalJSON() ([]byte, error)

MarshalJSON is a custom marshaller to handle protobuf pain

func (*Wrapper) UnmarshalJSON Uses

func (w *Wrapper) UnmarshalJSON(b []byte) error

UnmarshalJSON is a custom unmarshaller to handle protobuf pain

Package clusters imports 3 packages (graph) and is imported by 1 packages. Updated 2019-10-05. Refresh now. Tools for package owners.