Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for GetEnvoySecrets (0.22 sec)

  1. istioctl/pkg/writer/compare/sds/util.go

    		}
    		result.SecretMeta = meta
    		result.Valid = meta.Valid
    		return result, nil
    	}
    	result.Valid = false
    	return result, nil
    }
    
    // GetEnvoySecrets parses the secrets section of the config dump into []SecretItem
    func GetEnvoySecrets(
    	wrapper *configdump.Wrapper,
    ) ([]SecretItem, error) {
    	secretConfigDump, err := wrapper.GetSecretConfigDump()
    	if err != nil {
    		return nil, err
    	}
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Oct 28 19:52:53 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  2. istioctl/pkg/writer/envoy/configdump/configdump.go

    	}
    	if len(secretDump.DynamicActiveSecrets) == 0 &&
    		len(secretDump.DynamicWarmingSecrets) == 0 {
    		fmt.Fprintln(c.Stdout, "No active or warming secrets found.")
    		return nil
    	}
    	secretItems, err := sdscompare.GetEnvoySecrets(c.configDump)
    	if err != nil {
    		return err
    	}
    
    	secretWriter := sdscompare.NewSDSWriter(c.Stdout, sdscompare.TABULAR)
    	return secretWriter.PrintSecretItems(secretItems)
    }
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Feb 29 20:46:41 UTC 2024
    - 7.4K bytes
    - Viewed (0)
Back to top