- Sort Score
- Result 10 results
- Languages All
Results 451 - 460 of 1,209 for structs (0.08 sec)
-
internal/mountinfo/mountinfo.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package mountinfo // mountInfo - This represents a single line in /proc/mounts. type mountInfo struct { Device string Path string FSType string Options []string Freq string Pass string } func (m mountInfo) String() string { return m.Path }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 19 01:35:22 UTC 2021 - 1.1K bytes - Viewed (0) -
migrator/index.go
package migrator import "database/sql" // Index implements gorm.Index interface type Index struct { TableName string NameValue string ColumnList []string PrimaryKeyValue sql.NullBool UniqueValue sql.NullBool OptionValue string } // Table return the table name of the index. func (idx Index) Table() string { return idx.TableName } // Name return the name of the index.
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Tue Apr 11 02:32:46 UTC 2023 - 1023 bytes - Viewed (0) -
cmd/signature-v4-utils_test.go
} } // TestSkipContentSha256Cksum - Test validate the logic which decides whether // to skip checksum validation based on the request header. func TestSkipContentSha256Cksum(t *testing.T) { testCases := []struct { inputHeaderKey string inputHeaderValue string inputQueryKey string inputQueryValue string expectedResult bool }{ // Test case - 1.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Apr 05 21:26:41 UTC 2024 - 14.3K bytes - Viewed (0) -
cmd/bucket-lifecycle-handlers_test.go
credentials auth.Credentials, t *testing.T, ) { // test cases with sample input and expected output. testCases := []struct { method string bucketName string accessKey string secretKey string // Sent body body []byte // Expected response expectedRespStatus int lifecycleResponse []byte
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jun 10 15:50:49 UTC 2024 - 11.3K bytes - Viewed (0) -
internal/kms/secret-key.go
latencyBuckets: defaultLatencyBuckets, latency: make([]atomic.Uint64, len(defaultLatencyBuckets)), }, nil } // secretKey is a KMS implementation that derives new DEKs // from a single key. type secretKey struct { keyID string key []byte } // Version returns the version of the builtin KMS. func (secretKey) Version(ctx context.Context) (string, error) { return "v1", nil }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Aug 18 06:43:03 UTC 2024 - 8.3K bytes - Viewed (0) -
cni/pkg/repair/repair_test.go
Terminated: &corev1.ContainerStateTerminated{ Message: terminationMessage, ExitCode: int32(exitCode), }, }, }, }) } cases := []struct { name string config config.RepairConfig pod *corev1.Pod want bool }{ { "Testing OK pod with only ExitCode check", config.RepairConfig{ SidecarAnnotation: "sidecar.istio.io/status",
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Tue Oct 24 03:31:28 UTC 2023 - 10.6K bytes - Viewed (0) -
tests/customize_field_test.go
type CustomColumnAndIgnoredFieldClash struct { Body string `gorm:"-"` RawBody string `gorm:"column:body"` } DB.Migrator().DropTable(&CustomColumnAndIgnoredFieldClash{}) if err := DB.AutoMigrate(&CustomColumnAndIgnoredFieldClash{}); err != nil { t.Errorf("Should not raise error: %v", err) } } func TestCustomizeField(t *testing.T) { type CustomizeFieldStruct struct { gorm.Model
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Fri Sep 11 09:33:31 UTC 2020 - 6.9K bytes - Viewed (0) -
logger/logger.go
// Warn warn log level Warn // Info info log level Info ) // Writer log writer interface type Writer interface { Printf(string, ...interface{}) } // Config logger config type Config struct { SlowThreshold time.Duration Colorful bool IgnoreRecordNotFoundError bool ParameterizedQueries bool LogLevel LogLevel } // Interface logger interface
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Tue Nov 07 02:19:41 UTC 2023 - 5.8K bytes - Viewed (0) -
istioctl/pkg/writer/envoy/clusters/clusters.go
type EndpointFilter struct { Address string Port uint32 Cluster string Status string } // ConfigWriter is a writer for processing responses from the Envoy Admin config_dump endpoint type ConfigWriter struct { Stdout io.Writer clusters *clusters.Wrapper } // EndpointCluster is used to store the endpoint and cluster type EndpointCluster struct { address string
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Nov 03 08:41:32 UTC 2022 - 5.8K bytes - Viewed (0) -
internal/bucket/versioning/versioning_test.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package versioning import ( "encoding/xml" "strings" "testing" ) func TestParseConfig(t *testing.T) { testcases := []struct { input string err error excludedPrefixes []string excludeFolders bool }{ { input: `<VersioningConfiguration xmlns="http://s3.amazonaws.com/doc/2006-03-01/">
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun May 08 05:06:44 UTC 2022 - 8.8K bytes - Viewed (0)