Home
last modified time | relevance | path

Searched refs:templateValue (Results 1 – 18 of 18) sorted by relevance

/dports/sysutils/helm/helm-3.5.2/vendor/k8s.io/cli-runtime/pkg/genericclioptions/
H A Djsonpath_flags.go66 templateValue := ""
72 templateValue = templateFormat[len(format):]
78 templateValue = *f.TemplateArgument
85 if len(templateValue) == 0 {
90 data, err := ioutil.ReadFile(templateValue)
92 return nil, fmt.Errorf("error reading --template %s, %v\n", templateValue, err)
95 templateValue = string(data)
98 p, err := printers.NewJSONPathPrinter(templateValue)
100 return nil, fmt.Errorf("error parsing jsonpath %s, %v\n", templateValue, err)
131 func NewJSONPathPrintFlags(templateValue string, allowMissingKeys bool) *JSONPathPrintFlags {
[all …]
H A Dtemplate_flags.go67 templateValue := ""
73 templateValue = templateFormat[len(format):]
79 templateValue = *f.TemplateArgument
86 if len(templateValue) == 0 {
91 data, err := ioutil.ReadFile(templateValue)
93 return nil, fmt.Errorf("error reading --template %s, %v\n", templateValue, err)
96 templateValue = string(data)
99 p, err := printers.NewGoTemplatePrinter([]byte(templateValue))
101 return nil, fmt.Errorf("error parsing template %s, %v\n", templateValue, err)
/dports/sysutils/istio/istio-1.6.7/vendor/k8s.io/cli-runtime/pkg/genericclioptions/
H A Djsonpath_flags.go65 templateValue := ""
71 templateValue = templateFormat[len(format):]
77 templateValue = *f.TemplateArgument
84 if len(templateValue) == 0 {
89 data, err := ioutil.ReadFile(templateValue)
91 return nil, fmt.Errorf("error reading --template %s, %v\n", templateValue, err)
94 templateValue = string(data)
97 p, err := printers.NewJSONPathPrinter(templateValue)
99 return nil, fmt.Errorf("error parsing jsonpath %s, %v\n", templateValue, err)
125 func NewJSONPathPrintFlags(templateValue string, allowMissingKeys bool) *JSONPathPrintFlags {
[all …]
H A Dtemplate_flags.go67 templateValue := ""
73 templateValue = templateFormat[len(format):]
79 templateValue = *f.TemplateArgument
86 if len(templateValue) == 0 {
91 data, err := ioutil.ReadFile(templateValue)
93 return nil, fmt.Errorf("error reading --template %s, %v\n", templateValue, err)
96 templateValue = string(data)
99 p, err := printers.NewGoTemplatePrinter([]byte(templateValue))
101 return nil, fmt.Errorf("error parsing template %s, %v\n", templateValue, err)
/dports/sysutils/kubectl/kubernetes-1.22.2/staging/src/k8s.io/cli-runtime/pkg/genericclioptions/
H A Djsonpath_flags.go67 templateValue := ""
73 templateValue = templateFormat[len(format):]
79 templateValue = *f.TemplateArgument
86 if len(templateValue) == 0 {
91 data, err := ioutil.ReadFile(templateValue)
93 return nil, fmt.Errorf("error reading --template %s, %v", templateValue, err)
96 templateValue = string(data)
99 p, err := printers.NewJSONPathPrinter(templateValue)
101 return nil, fmt.Errorf("error parsing jsonpath %s, %v", templateValue, err)
132 func NewJSONPathPrintFlags(templateValue string, allowMissingKeys bool) *JSONPathPrintFlags {
[all …]
H A Dtemplate_flags.go68 templateValue := ""
74 templateValue = templateFormat[len(format):]
80 templateValue = *f.TemplateArgument
87 if len(templateValue) == 0 {
92 data, err := ioutil.ReadFile(templateValue)
94 return nil, fmt.Errorf("error reading --template %s, %v", templateValue, err)
97 templateValue = string(data)
100 p, err := printers.NewGoTemplatePrinter([]byte(templateValue))
102 return nil, fmt.Errorf("error parsing template %s, %v", templateValue, err)
/dports/sysutils/helm/helm-3.5.2/vendor/k8s.io/kubectl/pkg/cmd/get/
H A Dcustomcolumn_flags.go60 templateValue := ""
66 templateValue = templateFormat[len(format):]
72 templateValue = f.TemplateArgument
79 if len(templateValue) == 0 {
87 file, err := os.Open(templateValue)
89 return nil, fmt.Errorf("error reading template %s, %v\n", templateValue, err)
96 return NewCustomColumnsPrinterFromSpec(templateValue, decoder, f.NoHeaders)
/dports/sysutils/kubectl/kubernetes-1.22.2/staging/src/k8s.io/kubectl/pkg/cmd/get/
H A Dcustomcolumn_flags.go60 templateValue := ""
66 templateValue = templateFormat[len(format):]
72 templateValue = f.TemplateArgument
79 if len(templateValue) == 0 {
87 file, err := os.Open(templateValue)
89 return nil, fmt.Errorf("error reading template %s, %v\n", templateValue, err)
96 return NewCustomColumnsPrinterFromSpec(templateValue, decoder, f.NoHeaders)
/dports/sysutils/istio/istio-1.6.7/vendor/k8s.io/kubectl/pkg/cmd/get/
H A Dcustomcolumn_flags.go60 templateValue := ""
66 templateValue = templateFormat[len(format):]
72 templateValue = f.TemplateArgument
79 if len(templateValue) == 0 {
87 file, err := os.Open(templateValue)
89 return nil, fmt.Errorf("error reading template %s, %v\n", templateValue, err)
96 return NewCustomColumnsPrinterFromSpec(templateValue, decoder, f.NoHeaders)
/dports/sysutils/istio/istio-1.6.7/istioctl/cmd/
H A Dkubeuninject.go223 templateValue := outValue.FieldByName("Spec").FieldByName("Template")
227 if templateValue.Kind() == reflect.Ptr {
228 if templateValue.IsNil() {
231 templateValue = templateValue.Elem()
233 metadata = templateValue.FieldByName("ObjectMeta").Addr().Interface().(*metav1.ObjectMeta)
234 podSpec = templateValue.FieldByName("Spec").Addr().Interface().(*corev1.PodSpec)
/dports/games/0ad/0ad-0.0.23b-alpha/source/tools/templatesanalyzer/
H A DunitTables.py80 def NumericStatProcess(unitValue, templateValue): argument
81 if not "op" in templateValue.attrib:
82 return float(templateValue.text)
83 if (templateValue.attrib["op"] == "add"):
84 unitValue += float(templateValue.text)
85 elif (templateValue.attrib["op"] == "sub"):
86 unitValue -= float(templateValue.text)
87 elif (templateValue.attrib["op"] == "mul"):
88 unitValue *= float(templateValue.text)
89 elif (templateValue.attrib["op"] == "div"):
[all …]
/dports/java/jfreechart/jfreechart-1.0.17/source/org/jfree/chart/plot/dial/
H A DDialValueIndicator.java101 private Number templateValue; field in DialValueIndicator
156 this.templateValue = new Double(100.0); in DialValueIndicator()
276 return this.templateValue; in getTemplateValue()
289 this.templateValue = value; in setTemplateValue()
585 String s = this.formatter.format(this.templateValue); in draw()
683 if (!this.templateValue.equals(that.templateValue)) { in equals()
/dports/security/pecl-pkcs11/pkcs11-1.0/
H A Dpkcs11.c141 zval *templateValue; in parseTemplate() local
148 ZEND_HASH_FOREACH_NUM_KEY_VAL(*template, templateValueKey, templateValue) in parseTemplate()
149 if (Z_TYPE_P(templateValue) == IS_LONG) { in parseTemplate()
150 …(*templateObj)[i] = (CK_ATTRIBUTE){templateValueKey, &(Z_LVAL_P(templateValue)), sizeof(CK_ULONG)}; in parseTemplate()
152 } else if (Z_TYPE_P(templateValue) == IS_STRING) { in parseTemplate()
153 …teObj)[i] = (CK_ATTRIBUTE){templateValueKey, Z_STRVAL_P(templateValue), Z_STRLEN_P(templateValue)}; in parseTemplate()
155 } else if (Z_TYPE_P(templateValue) == IS_TRUE) { in parseTemplate()
158 } else if (Z_TYPE_P(templateValue) == IS_FALSE) { in parseTemplate()
161 } else if (Z_TYPE_P(templateValue) == IS_NULL) { in parseTemplate()
H A Dpkcs11session.c503 zval *templateValue;
/dports/net/ooni-probe-cli/probe-cli-3.10.1/vendor/github.com/ooni/psiphon/oopsi/github.com/Psiphon-Labs/psiphon-tunnel-core/psiphon/common/parameters/
H A Dparameters.go685 makeTypedValue := func(templateValue, value interface{}) (interface{}, error) {
689 switch templateValue.(type) {
709 newValuePtr := reflect.New(reflect.TypeOf(templateValue))
724 templateValue := parameters[name]
725 if templateValue == nil {
729 value := templateValue
737 return makeTypedValue(templateValue, value)
779 templateValue, ok := parameters[name]
787 newValue, err := makeTypedValue(templateValue, value)
/dports/net/ooni-mini/probe-engine-0.23.0/vendor/github.com/ooni/psiphon/oopsi/github.com/Psiphon-Labs/psiphon-tunnel-core/psiphon/common/parameters/
H A Dparameters.go652 makeTypedValue := func(templateValue, value interface{}) (interface{}, error) {
656 switch templateValue.(type) {
676 newValuePtr := reflect.New(reflect.TypeOf(templateValue))
691 templateValue := parameters[name]
692 if templateValue == nil {
696 value := templateValue
704 return makeTypedValue(templateValue, value)
746 templateValue, ok := parameters[name]
754 newValue, err := makeTypedValue(templateValue, value)
/dports/sysutils/istio/istio-1.6.7/pkg/kube/inject/
H A Dinject.go704 templateValue := outValue.FieldByName("Spec").FieldByName("Template")
707 if templateValue.Kind() == reflect.Ptr {
708 if templateValue.IsNil() {
711 templateValue = templateValue.Elem()
713 metadata = templateValue.FieldByName("ObjectMeta").Addr().Interface().(*metav1.ObjectMeta)
714 podSpec = templateValue.FieldByName("Spec").Addr().Interface().(*corev1.PodSpec)
/dports/www/py-notebook/notebook-6.4.5/notebook/static/notebook/js/
H A Dmain.min.js.map140templateValue:null,groupTemplate:null,correlativeTemplate:!1,emptyTemplate:!1,cancelButton:!0,load…