- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 19 for Basic (0.12 sec)
-
model.go
package gorm import "time" // Model a basic GoLang struct which includes the following fields: ID, CreatedAt, UpdatedAt, DeletedAt // It may be embedded into your model or you may build your own model without it // // type User struct { // gorm.Model // } type Model struct { ID uint `gorm:"primarykey"` CreatedAt time.Time UpdatedAt time.Time DeletedAt DeletedAt `gorm:"index"`
Go - Registered: Sun May 05 09:35:13 GMT 2024 - Last Modified: Sat Feb 18 01:06:43 GMT 2023 - 396 bytes - Viewed (0) -
internal/bucket/encryption/bucket-sse-config_test.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package sse import ( "bytes" "encoding/xml" "errors" "testing" ) // TestParseBucketSSEConfig performs basic sanity tests on ParseBucketSSEConfig func TestParseBucketSSEConfig(t *testing.T) { actualAES256NoNSConfig := &BucketSSEConfig{ XMLName: xml.Name{ Local: "ServerSideEncryptionConfiguration", }, Rules: []Rule{
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Tue Aug 16 18:28:30 GMT 2022 - 6.1K bytes - Viewed (0) -
cmd/storage-errors.go
// StorageErr represents error generated by xlStorage call. type StorageErr string func (h StorageErr) Error() string { return string(h) } // Collection of basic errors. var baseErrs = []error{ errDiskNotFound, errFaultyDisk, errFaultyRemoteDisk, } var baseIgnoredErrs = baseErrs // Is a one place function which converts all os.PathError
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Apr 04 12:04:40 GMT 2024 - 6.4K bytes - Viewed (0) -
internal/event/name.go
import ( "encoding/json" "encoding/xml" ) // Name - event type enum. // Refer http://docs.aws.amazon.com/AmazonS3/latest/dev/NotificationHowTo.html#notification-how-to-event-types-and-destinations // for most basic values we have since extend this and its not really much applicable other than a reference point. // "s3:Replication:OperationCompletedReplication" is a MinIO extension. type Name int // Values of event Name const (
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Wed May 01 01:11:10 GMT 2024 - 10.4K bytes - Viewed (0) -
internal/event/target/elasticsearch.go
// Client options elasticConfig := elasticsearch7.Config{ Addresses: []string{args.URL.String()}, Transport: args.Transport, MaxRetries: 10, } // Set basic auth if args.Username != "" && args.Password != "" { elasticConfig.Username = args.Username elasticConfig.Password = args.Password } // Create a client client, err := elasticsearch7.NewClient(elasticConfig)
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Jan 18 07:03:17 GMT 2024 - 15K bytes - Viewed (0) -
cni/pkg/cmd/root.go
if err = udsLogger.StartUDSLogServer(cfg.InstallConfig.LogUDSAddress, ctx.Done()); err != nil { log.Errorf("Failed to start up UDS Log Server: %v", err) return } // Creates a basic health endpoint server that reports health status // based on atomic flag, as set by installer // TODO nodeagent watch server should affect this too, and drop atomic flag
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) -
src/archive/zip/reader.go
needCSize := f.CompressedSize == ^uint32(0) needHeaderOffset := f.headerOffset == int64(^uint32(0)) // Best effort to find what we need. // Other zip authors might not even follow the basic format, // and we'll just ignore the Extra content in that case. var modified time.Time parseExtras: for extra := readBuf(f.Extra); len(extra) >= 4; { // need at least tag and size fieldTag := extra.uint16()
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Fri Oct 13 18:36:46 GMT 2023 - 27.7K bytes - Viewed (0) -
cmd/format-erasure.go
if err != nil { return nil, err } format.Info = info } // Success. return format, nil } // Valid formatErasure basic versions. func checkFormatErasureValue(formatErasure *formatErasureV3, disk StorageAPI) error { // Validate format version and format type. if formatErasure.Version != formatMetaVersionV1 {
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Fri May 03 15:54:03 GMT 2024 - 23.2K bytes - Viewed (0) -
cni/pkg/plugin/plugin_dryrun_test.go
customUID *int64 customGID *int64 golden string }{ { name: "basic", annotations: map[string]string{annotation.SidecarStatus.Name: "true"}, proxyEnv: []corev1.EnvVar{}, golden: filepath.Join(env.IstioSrc, "cni/pkg/plugin/testdata/basic.txt.golden"), }, { name: "include-exclude-ip", annotations: map[string]string{
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Sat Feb 10 00:31:55 GMT 2024 - 8.4K bytes - Viewed (0) -
cni/pkg/install/binaries_test.go
func TestCopyBinaries(t *testing.T) { cases := []struct { name string srcFiles map[string]string existingFiles map[string]string expectedFiles map[string]string }{ { name: "basic", srcFiles: map[string]string{"istio-cni": "cni111", "istio-iptables": "iptables111"}, expectedFiles: map[string]string{"istio-cni": "cni111", "istio-iptables": "iptables111"}, }, {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Jul 20 18:34:43 GMT 2023 - 2.3K bytes - Viewed (0)