Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 38 for template (0.26 sec)

  1. istioctl/pkg/analyze/analyze_test.go

    )
    
    func TestErrorOnIssuesFound(t *testing.T) {
    	g := NewWithT(t)
    
    	msgs := []diag.Message{
    		diag.NewMessage(
    			diag.NewMessageType(diag.Error, "B1", "Template: %q"),
    			nil,
    			"",
    		),
    		diag.NewMessage(
    			diag.NewMessageType(diag.Warning, "A1", "Template: %q"),
    			nil,
    			"",
    		),
    	}
    
    	err := errorIfMessagesExceedThreshold(msgs)
    
    	g.Expect(err).To(BeIdenticalTo(AnalyzerFoundIssuesError{}))
    }
    
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Oct 31 14:48:28 GMT 2023
    - 1.8K bytes
    - Viewed (0)
  2. 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 01 22:53:12 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  3. istioctl/pkg/validate/validate.go

    	}
    	return nil
    }
    
    // GetTemplateLabels returns spec.template.metadata.labels from Deployment
    func GetTemplateLabels(u *unstructured.Unstructured) (map[string]string, error) {
    	if spec, ok := u.Object["spec"].(map[string]any); ok {
    		if template, ok := spec["template"].(map[string]any); ok {
    			m, _, err := unstructured.NestedStringMap(template, "metadata", "labels")
    			if err != nil {
    				return nil, err
    			}
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Mon Jan 22 17:58:52 GMT 2024
    - 15K bytes
    - Viewed (0)
  4. istioctl/pkg/kubeinject/kubeinject.go

      kubectl -n istio-system get cm istio -o jsonpath="{.data.mesh}" > /tmp/mesh.yaml
      kubectl -n istio-system get cm istio-sidecar-injector -o jsonpath="{.data.values}" > /tmp/values.json
    
      # Use kube-inject based on captured configuration
      istioctl kube-inject -f samples/bookinfo/platform/kube/bookinfo.yaml \
        --injectConfigFile /tmp/inj-template.tmpl \
        --meshConfigFile /tmp/mesh.yaml \
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Mar 29 02:29:02 GMT 2024
    - 21.6K bytes
    - Viewed (0)
  5. internal/config/compress/help.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package compress
    
    import "github.com/minio/minio/internal/config"
    
    // Help template for compress feature.
    var (
    	defaultHelpPostfix = func(key string) string {
    		return config.DefaultHelpPostfix(DefaultKVS, key)
    	}
    
    	Help = config.HelpKVS{
    		config.HelpKV{
    			Key:         config.Enable,
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Jul 17 15:43:14 GMT 2022
    - 1.8K bytes
    - Viewed (0)
  6. internal/config/policy/plugin/help.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package plugin
    
    import "github.com/minio/minio/internal/config"
    
    // Help template for Access Management Plugin policy feature.
    var (
    	defaultHelpPostfix = func(key string) string {
    		return config.DefaultHelpPostfix(DefaultKVS, key)
    	}
    
    	Help = config.HelpKVS{
    		config.HelpKV{
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Jun 23 14:45:27 GMT 2023
    - 1.8K bytes
    - Viewed (0)
  7. cni/pkg/config/config.go

    	MountedCNINetDir string
    	// Name of the CNI config file
    	CNIConfName string
    	// Whether to install CNI plugin as a chained or standalone
    	ChainedCNIPlugin bool
    
    	// CNI config template file
    	CNINetworkConfigFile string
    	// CNI config template string
    	CNINetworkConfig string
    
    	// Logging level
    	LogLevel string
    	// Name of the kubeconfig file used by the CNI plugin
    	KubeconfigFilename string
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 5.5K bytes
    - Viewed (0)
  8. internal/config/storageclass/help.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package storageclass
    
    import "github.com/minio/minio/internal/config"
    
    // Help template for storageclass feature.
    var (
    	defaultHelpPostfix = func(key string) string {
    		return config.DefaultHelpPostfix(DefaultKVS, key)
    	}
    
    	Help = config.HelpKVS{
    		config.HelpKV{
    			Key:         ClassStandard,
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Mar 26 22:06:19 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  9. internal/config/browser/help.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package browser
    
    import "github.com/minio/minio/internal/config"
    
    // Help template for browser feature.
    var (
    	defaultHelpPostfix = func(key string) string {
    		return config.DefaultHelpPostfix(DefaultKVS, key)
    	}
    
    	Help = config.HelpKVS{
    		config.HelpKV{
    			Key:         browserCSPPolicy,
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Jan 01 16:36:33 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  10. internal/config/lambda/help.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package lambda
    
    import (
    	"github.com/minio/minio/internal/config"
    	"github.com/minio/minio/internal/event/target"
    )
    
    // Help template inputs for all lambda targets
    var (
    	HelpWebhook = config.HelpKVS{
    		config.HelpKV{
    			Key:         target.WebhookEndpoint,
    			Description: "webhook server endpoint e.g. http://localhost:8080/minio/lambda",
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Jun 23 14:45:27 GMT 2023
    - 1.9K bytes
    - Viewed (0)
Back to top