- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 55 for config_dump (0.06 sec)
-
istioctl/pkg/util/configdump/wrapper.go
} return typ, nil } // Wrapper is a wrapper around the Envoy ConfigDump // It has extra helper functions for handling any/struct/marshal protobuf pain type Wrapper struct { *admin.ConfigDump } // UnmarshalJSON is a custom unmarshaller to handle protobuf pain func (w *Wrapper) UnmarshalJSON(b []byte) error { cd := &admin.ConfigDump{} err := protomarshal.UnmarshalAllowUnknownWithAnyResolver(nonStrictResolver, b, cd)
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Sun Apr 21 17:42:54 UTC 2024 - 1.8K bytes - Viewed (0) -
istioctl/pkg/writer/envoy/configdump/ecds_test.go
// limitations under the License. package configdump import ( "bytes" "encoding/json" "os" "testing" "istio.io/istio/pilot/test/util" "istio.io/istio/pkg/test/util/assert" ) func TestPrintEcdsSummary(t *testing.T) { gotOut := &bytes.Buffer{} cw := &ConfigWriter{Stdout: gotOut} cd, _ := os.ReadFile("testdata/ecds/configdump.json") cw.Prime(cd) err := cw.PrintEcdsSummary()
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Tue Dec 13 01:08:07 UTC 2022 - 1.9K bytes - Viewed (0) -
istioctl/pkg/writer/envoy/configdump/endpoint_test.go
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. package configdump import ( "bytes" "fmt" "os" "path" "testing" "istio.io/istio/pilot/test/util" "istio.io/istio/pkg/test/util/assert" ) func TestPrintEndpointsSummary(t *testing.T) {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Tue Jul 12 02:25:59 UTC 2022 - 2.4K bytes - Viewed (0) -
istioctl/pkg/util/configdump/bootstrap.go
// See the License for the specific language governing permissions and // limitations under the License. package configdump import ( admin "github.com/envoyproxy/go-control-plane/envoy/admin/v3" ) // GetBootstrapConfigDump retrieves the bootstrap config dump from the ConfigDump func (w *Wrapper) GetBootstrapConfigDump() (*admin.BootstrapConfigDump, error) { bootstrapDumpAny, err := w.getSection(bootstrap)
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Nov 03 08:41:32 UTC 2022 - 1.1K bytes - Viewed (0) -
istioctl/pkg/util/configdump/endpoint.go
// See the License for the specific language governing permissions and // limitations under the License. package configdump import ( admin "github.com/envoyproxy/go-control-plane/envoy/admin/v3" ) // GetEndpointsConfigDump retrieves the listener config dump from the ConfigDump func (w *Wrapper) GetEndpointsConfigDump() (*admin.EndpointsConfigDump, error) { endpointsDumpAny, err := w.getSection(endpoints)
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Tue Oct 24 14:14:42 UTC 2023 - 1.1K bytes - Viewed (0) -
istioctl/pkg/util/configdump/ecds.go
// See the License for the specific language governing permissions and // limitations under the License. package configdump import ( admin "github.com/envoyproxy/go-control-plane/envoy/admin/v3" ) // GetEcdsConfigDump retrieves the extension config dump from the ConfigDump func (w *Wrapper) GetEcdsConfigDump() (*admin.EcdsConfigDump, error) { ecdsDumpAny, err := w.getSections(ecds) if err != nil {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Sun Dec 24 08:16:26 UTC 2023 - 1.2K bytes - Viewed (0) -
istioctl/pkg/util/configdump/route.go
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. package configdump import ( "sort" "time" admin "github.com/envoyproxy/go-control-plane/envoy/admin/v3" route "github.com/envoyproxy/go-control-plane/envoy/config/route/v3" "istio.io/istio/pilot/pkg/util/protoconv"
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Nov 03 08:41:32 UTC 2022 - 3.2K bytes - Viewed (0) -
istioctl/pkg/writer/envoy/configdump/cluster.go
return w, clusters, nil } func (c *ConfigWriter) retrieveSortedClusterSlice() ([]*cluster.Cluster, error) { if c.configDump == nil { return nil, fmt.Errorf("config writer has not been primed") } clusterDump, err := c.configDump.GetClusterConfigDump() if err != nil { return nil, err } clusters := make([]*cluster.Cluster, 0) for _, c := range clusterDump.DynamicActiveClusters {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu May 11 05:38:17 UTC 2023 - 5.9K bytes - Viewed (0) -
istioctl/pkg/util/configdump/listener.go
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. package configdump import ( "sort" admin "github.com/envoyproxy/go-control-plane/envoy/admin/v3" listener "github.com/envoyproxy/go-control-plane/envoy/config/listener/v3" v3 "istio.io/istio/pilot/pkg/xds/v3" )
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Nov 03 08:41:32 UTC 2022 - 2.5K bytes - Viewed (0) -
istioctl/pkg/writer/compare/comparator_test.go
"bytes" "os" "testing" ) // TestComparatorMatchingConfigs tests the scenario where Istiod and Envoy configurations match func TestComparatorMatchingSameConfigs(t *testing.T) { cfg, err := os.ReadFile("testdata/configdump.json") if err != nil { t.Fatalf("Failed to read test data: %v", err) } var outputBuffer bytes.Buffer comparator, err := NewComparator(&outputBuffer, map[string][]byte{"default": cfg}, cfg) if err != nil {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Tue Mar 12 10:02:09 UTC 2024 - 2.3K bytes - Viewed (0)