Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for getCRDList (0.71 sec)

  1. tools/bug-report/pkg/content/content.go

    	return map[string]string{
    		"secrets": out,
    	}, err
    }
    
    // GetCRs returns CR contents for all CRDs in the cluster.
    func GetCRs(p *Params) (map[string]string, error) {
    	crds, err := getCRDList(p)
    	if err != nil {
    		return nil, err
    	}
    	out, err := p.Runner.RunCmd("get --all-namespaces "+strings.Join(crds, ",")+" -o yaml", "", p.KubeConfig, p.KubeContext, p.DryRun)
    	return map[string]string{
    		"crs": out,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Dec 05 18:47:53 UTC 2023
    - 9.7K bytes
    - Viewed (0)
Back to top