- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 52 for prod (0.14 sec)
-
tests/create_test.go
} if err := DB.AutoMigrate(&CompositeKeyProduct{}); err != nil { t.Fatalf("failed to migrate, got error %v", err) } prod := &CompositeKeyProduct{ LanguageCode: 56, Code: "Code56", Name: "ProductName56", } if err := DB.Create(&prod).Error; err != nil { t.Fatalf("failed to create, got error %v", err) } newProd := &CompositeKeyProduct{}
Go - Registered: Sun May 05 09:35:13 GMT 2024 - Last Modified: Tue Mar 19 03:50:28 GMT 2024 - 26.4K bytes - Viewed (0) -
istioctl/pkg/tag/tag.go
injection labels.`, Example: ` # Create a revision tag from the "1-8-0" revision istioctl tag set prod --revision 1-8-0 # Point namespace "test-ns" at the revision pointed to by the "prod" revision tag kubectl label ns test-ns istio.io/rev=prod # Change the revision tag to reference the "1-8-1" revision istioctl tag set prod --revision 1-8-1 --overwrite
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Tue Apr 02 08:32:06 GMT 2024 - 16.3K bytes - Viewed (0) -
istioctl/pkg/workload/workload.go
md["POD_NAMESPACE"] = wg.Namespace md["SERVICE_ACCOUNT"] = we.ServiceAccount md["TRUST_DOMAIN"] = meshConfig.TrustDomain md["ISTIO_META_CLUSTER_ID"] = clusterID md["ISTIO_META_MESH_ID"] = meshConfig.DefaultConfig.MeshId md["ISTIO_META_NETWORK"] = we.Network if portsStr := marshalWorkloadEntryPodPorts(we.Ports); portsStr != "" { md["ISTIO_META_POD_PORTS"] = portsStr }
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Wed Apr 17 20:06:41 GMT 2024 - 25.5K bytes - Viewed (0) -
utils/utils_unix_test.go
want: "/Users/name/go/pkg/mod/gorm.io/", }, { file: "/go/work/proj/gorm/utils/utils.go", want: "/go/work/proj/gorm/", }, { file: "/go/work/proj/gorm_alias/utils/utils.go", want: "/go/work/proj/gorm_alias/", }, { file: "/go/work/proj/my.gorm.io/gorm@v1.2.3/utils/utils.go", want: "/go/work/proj/my.gorm.io/gorm@v1.2.3/", }, } for _, c := range cases { s := sourceDir(c.file)
Go - Registered: Sun May 05 09:35:13 GMT 2024 - Last Modified: Mon Nov 21 02:48:13 GMT 2022 - 731 bytes - Viewed (0) -
utils/utils_windows_test.go
want: `C:/Users/name/go/pkg/mod/gorm.io/`, }, { file: `C:/go/work/proj/gorm/utils/utils.go`, want: `C:/go/work/proj/gorm/`, }, { file: `C:/go/work/proj/gorm_alias/utils/utils.go`, want: `C:/go/work/proj/gorm_alias/`, }, { file: `C:/go/work/proj/my.gorm.io/gorm@v1.2.3/utils/utils.go`, want: `C:/go/work/proj/my.gorm.io/gorm@v1.2.3/`, }, } for _, c := range cases {
Go - Registered: Sun May 05 09:35:13 GMT 2024 - Last Modified: Mon Nov 21 02:48:13 GMT 2022 - 715 bytes - Viewed (0) -
cni/pkg/nodeagent/podcgroupns.go
FindNetnsForPods(filter map[types.UID]*corev1.Pod) (PodToNetns, error) } type PodNetnsProcFinder struct { proc fs.FS } func NewPodNetnsProcFinder(proc fs.FS) *PodNetnsProcFinder { return &PodNetnsProcFinder{proc: proc} } func isNotNumber(r rune) bool { return r < '0' || r > '9' } func (p *PodNetnsProcFinder) FindNetnsForPods(pods map[types.UID]*corev1.Pod) (PodToNetns, error) { /*
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Fri Apr 12 21:47:31 GMT 2024 - 11K bytes - Viewed (0) -
cni/pkg/nodeagent/netns_linux_test.go
// limitations under the License. package nodeagent import "testing" func TestOpenNetns(t *testing.T) { ns, err := OpenNetns("/proc/self/ns/net") if err != nil { t.Fatalf("unexpected error: %v", err) } // the inode for netns is proc dynamic, so it needs to be higher than // #define PROC_DYNAMIC_FIRST 0xF0000000U if ns.Inode() < 0xF0000000 { t.Fatalf("unexpected inode: %v", ns.Inode()) } defer ns.Close()
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Fri Jan 26 20:34:28 GMT 2024 - 976 bytes - Viewed (0) -
internal/mountinfo/mountinfo_linux.go
import ( "bufio" "fmt" "io" "os" "path/filepath" "strconv" "strings" "syscall" ) const ( // Number of fields per line in /proc/mounts as per the fstab man page. expectedNumFieldsPerLine = 6 // Location of the mount file to use procMountsPath = "/proc/mounts" ) // IsLikelyMountPoint determines if a directory is a mountpoint. func IsLikelyMountPoint(path string) bool { s1, err := os.Lstat(path)
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Sun Jan 02 17:15:06 GMT 2022 - 4.7K bytes - Viewed (0) -
internal/net/net.go
"github.com/prometheus/procfs" ) // GetInterfaceNetStats - get procfs.NetDevLine by interfaceName func GetInterfaceNetStats(interf string) (procfs.NetDevLine, error) { proc, err := procfs.Self() if err != nil { return procfs.NetDevLine{}, err } netDev, err := proc.NetDev() if err != nil { return procfs.NetDevLine{}, err } ndl, ok := netDev[interf] if !ok {
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Mon Jul 17 08:14:01 GMT 2023 - 1.2K bytes - Viewed (0) -
operator/cmd/mesh/profile-list_test.go
Go - Registered: Wed Mar 20 22:53:08 GMT 2024 - Last Modified: Tue Oct 31 14:48:28 GMT 2023 - 1.5K bytes - Viewed (0)