Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 35 for Template (0.16 sec)

  1. cni/pkg/install/cniconfig.go

    }
    
    func readCNIConfigTemplate(template cniConfigTemplate) ([]byte, error) {
    	if file.Exists(template.cniNetworkConfigFile) {
    		cniConfig, err := os.ReadFile(template.cniNetworkConfigFile)
    		if err != nil {
    			return nil, err
    		}
    		installLog.Infof("Using CNI config template from %s", template.cniNetworkConfigFile)
    		return cniConfig, nil
    	}
    
    	if len(template.cniNetworkConfig) > 0 {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  2. istioctl/pkg/workload/workload.go

    	if wg.Spec.Metadata == nil {
    		wg.Spec.Metadata = &networkingv1alpha3.WorkloadGroup_ObjectMeta{}
    	}
    	if wg.Spec.Template == nil {
    		wg.Spec.Template = &networkingv1alpha3.WorkloadEntry{}
    	}
    	// default service account for an empty field is "default"
    	if wg.Spec.Template.ServiceAccount == "" {
    		wg.Spec.Template.ServiceAccount = "default"
    	}
    	return nil
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Apr 17 20:06:41 GMT 2024
    - 25.5K bytes
    - Viewed (0)
  3. internal/config/policy/opa/help.go

    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package opa
    
    import "github.com/minio/minio/internal/config"
    
    // Help template for OPA policy feature.
    var (
    	defaultHelpPostfix = func(key string) string {
    		return config.DefaultHelpPostfix(DefaultKVS, key)
    	}
    
    	Help = config.HelpKVS{
    		config.HelpKV{
    			Key:         URL,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Jun 23 14:45:27 GMT 2023
    - 1.6K bytes
    - Viewed (0)
  4. istioctl/pkg/util/formatting/formatter.go

    func render(m diag.Message, colorize bool) string {
    	return fmt.Sprintf("%s%v%s [%v]%s %s",
    		colorPrefix(m, colorize), m.Type.Level(), colorSuffix(colorize),
    		m.Type.Code(), m.Origin(), fmt.Sprintf(m.Type.Template(), m.Parameters...),
    	)
    }
    
    func colorPrefix(m diag.Message, colorize bool) string {
    	if !colorize {
    		return ""
    	}
    
    	prefix, ok := colorPrefixes[m.Type.Level()]
    	if !ok {
    		return ""
    	}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Jul 11 02:41:45 GMT 2023
    - 3.1K bytes
    - Viewed (0)
  5. cmd/test-utils_test.go

    	for _, h := range hosts {
    		if ip := net.ParseIP(h); ip != nil {
    			template.IPAddresses = append(template.IPAddresses, ip)
    		} else {
    			template.DNSNames = append(template.DNSNames, h)
    		}
    	}
    
    	template.IsCA = true
    	template.KeyUsage |= x509.KeyUsageCertSign
    
    	derBytes, err := x509.CreateCertificate(crand.Reader, &template, &template, publicKey(priv), priv)
    	if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 17:26:51 GMT 2024
    - 76.2K bytes
    - Viewed (0)
  6. istioctl/pkg/workload/workload_test.go

    metadata:
      name: foo
      namespace: bar
    spec:
      metadata: {}
      template:
        serviceAccount: default
    `
    
    	customYAML = `apiVersion: networking.istio.io/v1alpha3
    kind: WorkloadGroup
    metadata:
      name: foo
      namespace: bar
    spec:
      metadata:
        annotations:
          annotation: foobar
        labels:
          app: foo
          bar: baz
      template:
        ports:
          grpc: 3550
          http: 8080
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Mar 27 16:59:05 GMT 2024
    - 14.6K bytes
    - Viewed (0)
  7. cni/pkg/cmd/root.go

    	registerStringParameter(constants.CNINetworkConfig, "", "CNI configuration template as a string")
    	registerStringParameter(constants.LogLevel, "warn", "Fallback value for log level in CNI config file, if not specified in helm template")
    
    	// Not configurable in CNI helm charts
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 12.5K bytes
    - Viewed (0)
  8. internal/config/batch/help.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package batch
    
    import "github.com/minio/minio/internal/config"
    
    // Help template for batch feature.
    var (
    	defaultHelpPostfix = func(key string) string {
    		return config.DefaultHelpPostfix(DefaultKVS, key)
    	}
    
    	// Help provides help for config values
    	Help = config.HelpKVS{
    		config.HelpKV{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Dec 02 10:51:33 GMT 2023
    - 1.8K bytes
    - Viewed (0)
  9. internal/config/heal/help.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package heal
    
    import "github.com/minio/minio/internal/config"
    
    // Help template for caching feature.
    var (
    	defaultHelpPostfix = func(key string) string {
    		return config.DefaultHelpPostfix(DefaultKVS, key)
    	}
    
    	// Help provides help for config values
    	Help = config.HelpKVS{
    		config.HelpKV{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 11 21:48:54 GMT 2023
    - 1.8K bytes
    - Viewed (0)
  10. istioctl/pkg/multicluster/remote_secret.go

    	}
    
    	values := fmt.Sprintf(`
    global:
      istioNamespace: %s
    `, opt.Namespace)
    
    	// Render the templates required for the service account and role bindings.
    	baseContent, err := baseRenderer.RenderManifestFiltered(values, func(template string) bool {
    		for _, t := range baseTemplates {
    			if strings.Contains(template, t) {
    				return true
    			}
    		}
    		return false
    	})
    	if err != nil {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Oct 11 01:43:17 GMT 2023
    - 24K bytes
    - Viewed (0)
Back to top