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

package proto

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

Index

Package Files

messageslice.go

type MessageSlice Uses

type MessageSlice []proto.Message

MessageSlice allows us to marshal slices of protobuf messages like clusters/listeners/routes/endpoints correctly

func (MessageSlice) MarshalJSON Uses

func (pSlice MessageSlice) MarshalJSON() ([]byte, error)

MarshalJSON handles marshaling of slices of proto messages

Package proto imports 3 packages (graph) and is imported by 2 packages. Updated 2019-10-16. Refresh now. Tools for package owners.