Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 55 for config_dump (0.12 sec)

  1. istioctl/pkg/writer/compare/testdata/configdump.json

    Xiaopeng Han <******@****.***> 1710237729 +0800
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Tue Mar 12 10:02:09 UTC 2024
    - 52K bytes
    - Viewed (0)
  2. istioctl/pkg/writer/envoy/configdump/testdata/endpoint/configdump.json

    zirain <******@****.***> 1657592759 +0800
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Tue Jul 12 02:25:59 UTC 2022
    - 66K bytes
    - Viewed (0)
  3. istioctl/pkg/writer/envoy/configdump/testdata/configdump.json

    Ryan King <******@****.***> 1623735884 -0400
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Tue Jun 15 05:44:44 UTC 2021
    - 742 bytes
    - Viewed (0)
  4. istioctl/pkg/writer/envoy/configdump/testdata/ecds/configdump.json

    zirain <******@****.***> 1703405786 +0800
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Sun Dec 24 08:16:26 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  5. istioctl/pkg/writer/envoy/configdump/configdump_test.go

    			cd, _ := os.ReadFile(tt.inputFile)
    			err := cw.Prime(cd)
    			if cw.configDump == nil {
    				if tt.wantConfigs != 0 {
    					t.Errorf("wanted some configs loaded but config dump was nil")
    				}
    			} else if len(cw.configDump.Configs) != tt.wantConfigs {
    				t.Errorf("wanted %v configs loaded in got %v", tt.wantConfigs, len(cw.configDump.Configs))
    			}
    			if tt.wantErr {
    				assert.Error(t, err)
    			} else {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Jan 03 23:08:06 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  6. istioctl/pkg/writer/envoy/configdump/ecds.go

    // limitations under the License.
    
    package configdump
    
    import (
    	"fmt"
    	"sort"
    	"strings"
    	"text/tabwriter"
    
    	core "github.com/envoyproxy/go-control-plane/envoy/config/core/v3"
    	"sigs.k8s.io/yaml"
    
    	"istio.io/istio/pkg/util/protomarshal"
    )
    
    const typeURLPrefix = "type.googleapis.com/"
    
    func (c *ConfigWriter) PrintEcds(outputFormat string) error {
    	if c.configDump == nil {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Sat Jan 14 02:41:27 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  7. istioctl/pkg/writer/compare/comparator.go

    	for _, resp := range istiodResponses {
    		if len(resp.Resources) > 0 {
    			c.istiod = &configdump.Wrapper{
    				ConfigDump: &admin.ConfigDump{
    					Configs: resp.Resources,
    				},
    			}
    			break
    		}
    	}
    	if c.istiod == nil {
    		return nil, fmt.Errorf("unable to find config dump in Istiod responses")
    	}
    	envoyDump := &configdump.Wrapper{}
    	err := json.Unmarshal(envoyResponse, envoyDump)
    	if err != nil {
    		return nil, err
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Sun Apr 21 17:42:54 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  8. istioctl/pkg/writer/envoy/configdump/endpoint.go

    	}
    
    	return w.Flush()
    }
    
    func (c *ConfigWriter) retrieveSortedEndpointsSlice(filter EndpointFilter) ([]*endpoint.ClusterLoadAssignment, error) {
    	if c.configDump == nil {
    		return nil, fmt.Errorf("config writer has not been primed")
    	}
    	dump, err := c.configDump.GetEndpointsConfigDump()
    	if err != nil {
    		return nil, err
    	}
    	if dump == nil {
    		return nil, nil
    	}
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Jul 22 09:57:29 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  9. istioctl/pkg/authz/analyzer_test.go

    	timestamppb "google.golang.org/protobuf/types/known/timestamppb"
    
    	"istio.io/istio/istioctl/pkg/util/configdump"
    )
    
    func TestNewAnalyzer(t *testing.T) {
    	tests := []struct {
    		name    string
    		input   *configdump.Wrapper
    		wantErr error
    	}{
    		{
    			name: "Test1",
    			input: &configdump.Wrapper{
    				ConfigDump: &envoy_admin.ConfigDump{
    					Configs: []*anypb.Any{
    						{
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Sun Apr 21 17:42:54 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  10. istioctl/pkg/util/configdump/cluster.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"
    	cluster "github.com/envoyproxy/go-control-plane/envoy/config/cluster/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.1K bytes
    - Viewed (0)
Back to top