utilsv1

package
v0.4.45 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 23, 2025 License: Unlicense Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ArangoConfig_Input = graphql.NewInputObject(graphql.InputObjectConfig{
	Name: "ArangoConfig_Input",
	Fields: graphql.InputObjectConfigFieldMap{
		"url": &graphql.InputObjectFieldConfig{
			Type: graphql.String,
		},
		"database": &graphql.InputObjectFieldConfig{
			Type: graphql.String,
		},
		"username": &graphql.InputObjectFieldConfig{
			Type: graphql.String,
		},
		"password": &graphql.InputObjectFieldConfig{
			Type: graphql.String,
		},
	},
})
View Source
var ArangoConfig_Object = graphql.NewObject(graphql.ObjectConfig{
	Name: "ArangoConfig",
	Fields: graphql.Fields{
		"url": &graphql.Field{
			Type: graphql.String,
		},
		"database": &graphql.Field{
			Type: graphql.String,
		},
		"username": &graphql.Field{
			Type: graphql.String,
		},
		"password": &graphql.Field{
			Type: graphql.String,
		},
	},
	Description: "",
})
View Source
var DateTime_Input = graphql.NewInputObject(graphql.InputObjectConfig{
	Name: "DateTime_Input",
	Fields: graphql.InputObjectConfigFieldMap{
		"dateTime": &graphql.InputObjectFieldConfig{
			Type: graphql.String,
		},
	},
})
View Source
var DateTime_Object = graphql.NewObject(graphql.ObjectConfig{
	Name: "DateTime",
	Fields: graphql.Fields{
		"dateTime": &graphql.Field{
			Type: graphql.String,
		},
	},
	Description: "",
})
View Source
var Date_Object = graphql.NewObject(graphql.ObjectConfig{
	Name: "Date",
	Fields: graphql.Fields{
		"date": &graphql.Field{
			Type: graphql.String,
		},
	},
	Description: "",
})
View Source
var File_Input = graphql.NewInputObject(graphql.InputObjectConfig{
	Name: "File_Input",
	Fields: graphql.InputObjectConfigFieldMap{
		"_key": &graphql.InputObjectFieldConfig{
			Type: graphql.ID,
		},
		"content": &graphql.InputObjectFieldConfig{
			Type: graphql.String,
		},
	},
})
View Source
var File_Object = graphql.NewObject(graphql.ObjectConfig{
	Name: "File",
	Fields: graphql.Fields{
		"_key": &graphql.Field{
			Type: graphql.ID,
		},
		"content": &graphql.Field{
			Type: utils.Bytes,
		},
	},
	Description: "",
})
View Source
var File_graphify_utils_v1_config_proto protoreflect.FileDescriptor
View Source
var File_graphify_utils_v1_date_proto protoreflect.FileDescriptor
View Source
var File_graphify_utils_v1_file_proto protoreflect.FileDescriptor
View Source
var File_graphify_utils_v1_geo_proto protoreflect.FileDescriptor
View Source
var Location_Input = graphql.NewInputObject(graphql.InputObjectConfig{
	Name: "Location_Input",
	Fields: graphql.InputObjectConfigFieldMap{
		"latitude": &graphql.InputObjectFieldConfig{
			Type: graphql.Float,
		},
		"longitude": &graphql.InputObjectFieldConfig{
			Type: graphql.Float,
		},
	},
})
View Source
var Location_Object = graphql.NewObject(graphql.ObjectConfig{
	Name: "Location",
	Fields: graphql.Fields{
		"latitude": &graphql.Field{
			Type: graphql.Float,
		},
		"longitude": &graphql.Field{
			Type: graphql.Float,
		},
	},
	Description: "",
})
View Source
var NamespaceConfig_Input = graphql.NewInputObject(graphql.InputObjectConfig{
	Name: "NamespaceConfig_Input",
	Fields: graphql.InputObjectConfigFieldMap{
		"name": &graphql.InputObjectFieldConfig{
			Type: graphql.String,
		},
	},
})
View Source
var NamespaceConfig_Object = graphql.NewObject(graphql.ObjectConfig{
	Name: "NamespaceConfig",
	Fields: graphql.Fields{
		"name": &graphql.Field{
			Type: graphql.String,
		},
	},
	Description: "",
})
View Source
var Time_Object = graphql.NewObject(graphql.ObjectConfig{
	Name: "Time",
	Fields: graphql.Fields{
		"time": &graphql.Field{
			Type: graphql.String,
		},
	},
	Description: "",
})

Functions

This section is empty.

Types

type ArangoConfig added in v0.4.36

type ArangoConfig struct {
	Url      string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
	Database string `protobuf:"bytes,2,opt,name=database,proto3" json:"database,omitempty"`
	Username string `protobuf:"bytes,3,opt,name=username,proto3" json:"username,omitempty"`
	Password string `protobuf:"bytes,4,opt,name=password,proto3" json:"password,omitempty"`
	// contains filtered or unexported fields
}

func (*ArangoConfig) Argument added in v0.4.36

Argument ...

func (*ArangoConfig) Descriptor deprecated added in v0.4.36

func (*ArangoConfig) Descriptor() ([]byte, []int)

Deprecated: Use ArangoConfig.ProtoReflect.Descriptor instead.

func (*ArangoConfig) GetDatabase added in v0.4.36

func (x *ArangoConfig) GetDatabase() string

func (*ArangoConfig) GetPassword added in v0.4.36

func (x *ArangoConfig) GetPassword() string

func (*ArangoConfig) GetUrl added in v0.4.36

func (x *ArangoConfig) GetUrl() string

func (*ArangoConfig) GetUsername added in v0.4.36

func (x *ArangoConfig) GetUsername() string

func (*ArangoConfig) Object added in v0.4.36

func (*ArangoConfig) Object() *graphql.Object

Object ...

func (*ArangoConfig) Output added in v0.4.36

func (*ArangoConfig) Output() graphql.Output

Output ...

func (*ArangoConfig) ProtoMessage added in v0.4.36

func (*ArangoConfig) ProtoMessage()

func (*ArangoConfig) ProtoReflect added in v0.4.36

func (x *ArangoConfig) ProtoReflect() protoreflect.Message

func (*ArangoConfig) Reset added in v0.4.36

func (x *ArangoConfig) Reset()

func (*ArangoConfig) Schema added in v0.4.36

func (*ArangoConfig) Schema() map[string]interface{}

Schema ...

func (*ArangoConfig) String added in v0.4.36

func (x *ArangoConfig) String() string

func (*ArangoConfig) UnmarshalJSON added in v0.4.36

func (o *ArangoConfig) UnmarshalJSON(b []byte) error

UnmarshalJSON ...

func (*ArangoConfig) UnmarshalMap added in v0.4.36

func (o *ArangoConfig) UnmarshalMap(values map[string]interface{})

UnmarshalMap populates struct fields from a map, handling decoding for special fields.

func (*ArangoConfig) Validate added in v0.4.44

func (m *ArangoConfig) Validate() error

Validate checks the field values on ArangoConfig with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ArangoConfig) ValidateAll added in v0.4.44

func (m *ArangoConfig) ValidateAll() error

ValidateAll checks the field values on ArangoConfig with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ArangoConfigMultiError, or nil if none found.

type ArangoConfigMultiError added in v0.4.44

type ArangoConfigMultiError []error

ArangoConfigMultiError is an error wrapping multiple validation errors returned by ArangoConfig.ValidateAll() if the designated constraints aren't met.

func (ArangoConfigMultiError) AllErrors added in v0.4.44

func (m ArangoConfigMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ArangoConfigMultiError) Error added in v0.4.44

func (m ArangoConfigMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type ArangoConfigValidationError added in v0.4.44

type ArangoConfigValidationError struct {
	// contains filtered or unexported fields
}

ArangoConfigValidationError is the validation error returned by ArangoConfig.Validate if the designated constraints aren't met.

func (ArangoConfigValidationError) Cause added in v0.4.44

Cause function returns cause value.

func (ArangoConfigValidationError) Error added in v0.4.44

Error satisfies the builtin error interface

func (ArangoConfigValidationError) ErrorName added in v0.4.44

func (e ArangoConfigValidationError) ErrorName() string

ErrorName returns error name.

func (ArangoConfigValidationError) Field added in v0.4.44

Field function returns field value.

func (ArangoConfigValidationError) Key added in v0.4.44

Key function returns key value.

func (ArangoConfigValidationError) Reason added in v0.4.44

Reason function returns reason value.

type Date added in v0.4.41

type Date struct {
	Date string `protobuf:"bytes,1,opt,name=date,proto3" json:"date,omitempty"`
	// contains filtered or unexported fields
}

func (*Date) Argument added in v0.4.41

func (*Date) Argument() graphql.FieldConfigArgument

Argument ...

func (*Date) Descriptor deprecated added in v0.4.41

func (*Date) Descriptor() ([]byte, []int)

Deprecated: Use Date.ProtoReflect.Descriptor instead.

func (*Date) GetDate added in v0.4.41

func (x *Date) GetDate() string

func (*Date) Object added in v0.4.41

func (*Date) Object() *graphql.Object

Object ...

func (*Date) Output added in v0.4.41

func (*Date) Output() graphql.Output

Output ...

func (*Date) ProtoMessage added in v0.4.41

func (*Date) ProtoMessage()

func (*Date) ProtoReflect added in v0.4.41

func (x *Date) ProtoReflect() protoreflect.Message

func (*Date) Reset added in v0.4.41

func (x *Date) Reset()

func (*Date) Schema added in v0.4.41

func (*Date) Schema() map[string]interface{}

Schema ...

func (*Date) String added in v0.4.41

func (x *Date) String() string

func (*Date) UnmarshalJSON added in v0.4.41

func (o *Date) UnmarshalJSON(b []byte) error

UnmarshalJSON ...

func (*Date) UnmarshalMap added in v0.4.41

func (o *Date) UnmarshalMap(values map[string]interface{})

UnmarshalMap populates struct fields from a map, handling decoding for special fields.

func (*Date) Validate added in v0.4.44

func (m *Date) Validate() error

Validate checks the field values on Date with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Date) ValidateAll added in v0.4.44

func (m *Date) ValidateAll() error

ValidateAll checks the field values on Date with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DateMultiError, or nil if none found.

type DateMultiError added in v0.4.44

type DateMultiError []error

DateMultiError is an error wrapping multiple validation errors returned by Date.ValidateAll() if the designated constraints aren't met.

func (DateMultiError) AllErrors added in v0.4.44

func (m DateMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DateMultiError) Error added in v0.4.44

func (m DateMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type DateTime added in v0.4.41

type DateTime struct {
	DateTime string `protobuf:"bytes,1,opt,name=dateTime,proto3" json:"dateTime,omitempty"`
	// contains filtered or unexported fields
}

func (*DateTime) Argument added in v0.4.41

func (*DateTime) Argument() graphql.FieldConfigArgument

Argument ...

func (*DateTime) Descriptor deprecated added in v0.4.41

func (*DateTime) Descriptor() ([]byte, []int)

Deprecated: Use DateTime.ProtoReflect.Descriptor instead.

func (*DateTime) GetDateTime added in v0.4.41

func (x *DateTime) GetDateTime() string

func (*DateTime) Object added in v0.4.41

func (*DateTime) Object() *graphql.Object

Object ...

func (*DateTime) Output added in v0.4.41

func (*DateTime) Output() graphql.Output

Output ...

func (*DateTime) ProtoMessage added in v0.4.41

func (*DateTime) ProtoMessage()

func (*DateTime) ProtoReflect added in v0.4.41

func (x *DateTime) ProtoReflect() protoreflect.Message

func (*DateTime) Reset added in v0.4.41

func (x *DateTime) Reset()

func (*DateTime) Schema added in v0.4.41

func (*DateTime) Schema() map[string]interface{}

Schema ...

func (*DateTime) String added in v0.4.41

func (x *DateTime) String() string

func (*DateTime) UnmarshalJSON added in v0.4.41

func (o *DateTime) UnmarshalJSON(b []byte) error

UnmarshalJSON ...

func (*DateTime) UnmarshalMap added in v0.4.41

func (o *DateTime) UnmarshalMap(values map[string]interface{})

UnmarshalMap populates struct fields from a map, handling decoding for special fields.

func (*DateTime) Validate added in v0.4.44

func (m *DateTime) Validate() error

Validate checks the field values on DateTime with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*DateTime) ValidateAll added in v0.4.44

func (m *DateTime) ValidateAll() error

ValidateAll checks the field values on DateTime with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DateTimeMultiError, or nil if none found.

type DateTimeMultiError added in v0.4.44

type DateTimeMultiError []error

DateTimeMultiError is an error wrapping multiple validation errors returned by DateTime.ValidateAll() if the designated constraints aren't met.

func (DateTimeMultiError) AllErrors added in v0.4.44

func (m DateTimeMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DateTimeMultiError) Error added in v0.4.44

func (m DateTimeMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type DateTimeValidationError added in v0.4.44

type DateTimeValidationError struct {
	// contains filtered or unexported fields
}

DateTimeValidationError is the validation error returned by DateTime.Validate if the designated constraints aren't met.

func (DateTimeValidationError) Cause added in v0.4.44

func (e DateTimeValidationError) Cause() error

Cause function returns cause value.

func (DateTimeValidationError) Error added in v0.4.44

func (e DateTimeValidationError) Error() string

Error satisfies the builtin error interface

func (DateTimeValidationError) ErrorName added in v0.4.44

func (e DateTimeValidationError) ErrorName() string

ErrorName returns error name.

func (DateTimeValidationError) Field added in v0.4.44

func (e DateTimeValidationError) Field() string

Field function returns field value.

func (DateTimeValidationError) Key added in v0.4.44

func (e DateTimeValidationError) Key() bool

Key function returns key value.

func (DateTimeValidationError) Reason added in v0.4.44

func (e DateTimeValidationError) Reason() string

Reason function returns reason value.

type DateValidationError added in v0.4.44

type DateValidationError struct {
	// contains filtered or unexported fields
}

DateValidationError is the validation error returned by Date.Validate if the designated constraints aren't met.

func (DateValidationError) Cause added in v0.4.44

func (e DateValidationError) Cause() error

Cause function returns cause value.

func (DateValidationError) Error added in v0.4.44

func (e DateValidationError) Error() string

Error satisfies the builtin error interface

func (DateValidationError) ErrorName added in v0.4.44

func (e DateValidationError) ErrorName() string

ErrorName returns error name.

func (DateValidationError) Field added in v0.4.44

func (e DateValidationError) Field() string

Field function returns field value.

func (DateValidationError) Key added in v0.4.44

func (e DateValidationError) Key() bool

Key function returns key value.

func (DateValidationError) Reason added in v0.4.44

func (e DateValidationError) Reason() string

Reason function returns reason value.

type File added in v0.4.33

type File struct {
	Key     string `protobuf:"bytes,1,opt,name=_key,proto3" json:"_key,omitempty"`
	Content []byte `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"`
	// contains filtered or unexported fields
}

func (*File) Argument added in v0.4.33

func (*File) Argument() graphql.FieldConfigArgument

Argument ...

func (*File) Descriptor deprecated added in v0.4.33

func (*File) Descriptor() ([]byte, []int)

Deprecated: Use File.ProtoReflect.Descriptor instead.

func (*File) GetContent added in v0.4.33

func (x *File) GetContent() []byte

func (*File) GetKey added in v0.4.33

func (x *File) GetKey() string

func (*File) Object added in v0.4.33

func (*File) Object() *graphql.Object

Object ...

func (*File) Output added in v0.4.33

func (*File) Output() graphql.Output

Output ...

func (*File) ProtoMessage added in v0.4.33

func (*File) ProtoMessage()

func (*File) ProtoReflect added in v0.4.33

func (x *File) ProtoReflect() protoreflect.Message

func (*File) Reset added in v0.4.33

func (x *File) Reset()

func (*File) Schema added in v0.4.33

func (*File) Schema() map[string]interface{}

Schema ...

func (*File) String added in v0.4.33

func (x *File) String() string

func (*File) UnmarshalJSON added in v0.4.33

func (o *File) UnmarshalJSON(b []byte) error

UnmarshalJSON ...

func (*File) UnmarshalMap added in v0.4.33

func (o *File) UnmarshalMap(values map[string]interface{})

UnmarshalMap populates struct fields from a map, handling decoding for special fields.

func (*File) Validate added in v0.4.44

func (m *File) Validate() error

Validate checks the field values on File with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*File) ValidateAll added in v0.4.44

func (m *File) ValidateAll() error

ValidateAll checks the field values on File with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in FileMultiError, or nil if none found.

type FileMultiError added in v0.4.44

type FileMultiError []error

FileMultiError is an error wrapping multiple validation errors returned by File.ValidateAll() if the designated constraints aren't met.

func (FileMultiError) AllErrors added in v0.4.44

func (m FileMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (FileMultiError) Error added in v0.4.44

func (m FileMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type FileValidationError added in v0.4.44

type FileValidationError struct {
	// contains filtered or unexported fields
}

FileValidationError is the validation error returned by File.Validate if the designated constraints aren't met.

func (FileValidationError) Cause added in v0.4.44

func (e FileValidationError) Cause() error

Cause function returns cause value.

func (FileValidationError) Error added in v0.4.44

func (e FileValidationError) Error() string

Error satisfies the builtin error interface

func (FileValidationError) ErrorName added in v0.4.44

func (e FileValidationError) ErrorName() string

ErrorName returns error name.

func (FileValidationError) Field added in v0.4.44

func (e FileValidationError) Field() string

Field function returns field value.

func (FileValidationError) Key added in v0.4.44

func (e FileValidationError) Key() bool

Key function returns key value.

func (FileValidationError) Reason added in v0.4.44

func (e FileValidationError) Reason() string

Reason function returns reason value.

type Location

type Location struct {
	Latitude  float32 `protobuf:"fixed32,1,opt,name=latitude,proto3" json:"latitude,omitempty"`
	Longitude float32 `protobuf:"fixed32,2,opt,name=longitude,proto3" json:"longitude,omitempty"`
	// contains filtered or unexported fields
}

func (*Location) Argument

func (*Location) Argument() graphql.FieldConfigArgument

Argument ...

func (*Location) Descriptor deprecated

func (*Location) Descriptor() ([]byte, []int)

Deprecated: Use Location.ProtoReflect.Descriptor instead.

func (*Location) GetLatitude

func (x *Location) GetLatitude() float32

func (*Location) GetLongitude

func (x *Location) GetLongitude() float32

func (*Location) Object

func (*Location) Object() *graphql.Object

Object ...

func (*Location) Output

func (*Location) Output() graphql.Output

Output ...

func (*Location) ProtoMessage

func (*Location) ProtoMessage()

func (*Location) ProtoReflect

func (x *Location) ProtoReflect() protoreflect.Message

func (*Location) Reset

func (x *Location) Reset()

func (*Location) Schema

func (*Location) Schema() map[string]interface{}

Schema ...

func (*Location) String

func (x *Location) String() string

func (*Location) UnmarshalJSON

func (o *Location) UnmarshalJSON(b []byte) error

UnmarshalJSON ...

func (*Location) UnmarshalMap

func (o *Location) UnmarshalMap(values map[string]interface{})

UnmarshalMap populates struct fields from a map, handling decoding for special fields.

func (*Location) Validate added in v0.4.44

func (m *Location) Validate() error

Validate checks the field values on Location with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Location) ValidateAll added in v0.4.44

func (m *Location) ValidateAll() error

ValidateAll checks the field values on Location with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in LocationMultiError, or nil if none found.

type LocationMultiError added in v0.4.44

type LocationMultiError []error

LocationMultiError is an error wrapping multiple validation errors returned by Location.ValidateAll() if the designated constraints aren't met.

func (LocationMultiError) AllErrors added in v0.4.44

func (m LocationMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (LocationMultiError) Error added in v0.4.44

func (m LocationMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type LocationValidationError added in v0.4.44

type LocationValidationError struct {
	// contains filtered or unexported fields
}

LocationValidationError is the validation error returned by Location.Validate if the designated constraints aren't met.

func (LocationValidationError) Cause added in v0.4.44

func (e LocationValidationError) Cause() error

Cause function returns cause value.

func (LocationValidationError) Error added in v0.4.44

func (e LocationValidationError) Error() string

Error satisfies the builtin error interface

func (LocationValidationError) ErrorName added in v0.4.44

func (e LocationValidationError) ErrorName() string

ErrorName returns error name.

func (LocationValidationError) Field added in v0.4.44

func (e LocationValidationError) Field() string

Field function returns field value.

func (LocationValidationError) Key added in v0.4.44

func (e LocationValidationError) Key() bool

Key function returns key value.

func (LocationValidationError) Reason added in v0.4.44

func (e LocationValidationError) Reason() string

Reason function returns reason value.

type NamespaceConfig added in v0.4.36

type NamespaceConfig struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*NamespaceConfig) Argument added in v0.4.36

Argument ...

func (*NamespaceConfig) Descriptor deprecated added in v0.4.36

func (*NamespaceConfig) Descriptor() ([]byte, []int)

Deprecated: Use NamespaceConfig.ProtoReflect.Descriptor instead.

func (*NamespaceConfig) GetName added in v0.4.36

func (x *NamespaceConfig) GetName() string

func (*NamespaceConfig) Object added in v0.4.36

func (*NamespaceConfig) Object() *graphql.Object

Object ...

func (*NamespaceConfig) Output added in v0.4.36

func (*NamespaceConfig) Output() graphql.Output

Output ...

func (*NamespaceConfig) ProtoMessage added in v0.4.36

func (*NamespaceConfig) ProtoMessage()

func (*NamespaceConfig) ProtoReflect added in v0.4.36

func (x *NamespaceConfig) ProtoReflect() protoreflect.Message

func (*NamespaceConfig) Reset added in v0.4.36

func (x *NamespaceConfig) Reset()

func (*NamespaceConfig) Schema added in v0.4.36

func (*NamespaceConfig) Schema() map[string]interface{}

Schema ...

func (*NamespaceConfig) String added in v0.4.36

func (x *NamespaceConfig) String() string

func (*NamespaceConfig) UnmarshalJSON added in v0.4.36

func (o *NamespaceConfig) UnmarshalJSON(b []byte) error

UnmarshalJSON ...

func (*NamespaceConfig) UnmarshalMap added in v0.4.36

func (o *NamespaceConfig) UnmarshalMap(values map[string]interface{})

UnmarshalMap populates struct fields from a map, handling decoding for special fields.

func (*NamespaceConfig) Validate added in v0.4.44

func (m *NamespaceConfig) Validate() error

Validate checks the field values on NamespaceConfig with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*NamespaceConfig) ValidateAll added in v0.4.44

func (m *NamespaceConfig) ValidateAll() error

ValidateAll checks the field values on NamespaceConfig with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in NamespaceConfigMultiError, or nil if none found.

type NamespaceConfigMultiError added in v0.4.44

type NamespaceConfigMultiError []error

NamespaceConfigMultiError is an error wrapping multiple validation errors returned by NamespaceConfig.ValidateAll() if the designated constraints aren't met.

func (NamespaceConfigMultiError) AllErrors added in v0.4.44

func (m NamespaceConfigMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (NamespaceConfigMultiError) Error added in v0.4.44

Error returns a concatenation of all the error messages it wraps.

type NamespaceConfigValidationError added in v0.4.44

type NamespaceConfigValidationError struct {
	// contains filtered or unexported fields
}

NamespaceConfigValidationError is the validation error returned by NamespaceConfig.Validate if the designated constraints aren't met.

func (NamespaceConfigValidationError) Cause added in v0.4.44

Cause function returns cause value.

func (NamespaceConfigValidationError) Error added in v0.4.44

Error satisfies the builtin error interface

func (NamespaceConfigValidationError) ErrorName added in v0.4.44

func (e NamespaceConfigValidationError) ErrorName() string

ErrorName returns error name.

func (NamespaceConfigValidationError) Field added in v0.4.44

Field function returns field value.

func (NamespaceConfigValidationError) Key added in v0.4.44

Key function returns key value.

func (NamespaceConfigValidationError) Reason added in v0.4.44

Reason function returns reason value.

type Time added in v0.4.41

type Time struct {
	Time string `protobuf:"bytes,1,opt,name=time,proto3" json:"time,omitempty"`
	// contains filtered or unexported fields
}

func (*Time) Argument added in v0.4.41

func (*Time) Argument() graphql.FieldConfigArgument

Argument ...

func (*Time) Descriptor deprecated added in v0.4.41

func (*Time) Descriptor() ([]byte, []int)

Deprecated: Use Time.ProtoReflect.Descriptor instead.

func (*Time) GetTime added in v0.4.41

func (x *Time) GetTime() string

func (*Time) Object added in v0.4.41

func (*Time) Object() *graphql.Object

Object ...

func (*Time) Output added in v0.4.41

func (*Time) Output() graphql.Output

Output ...

func (*Time) ProtoMessage added in v0.4.41

func (*Time) ProtoMessage()

func (*Time) ProtoReflect added in v0.4.41

func (x *Time) ProtoReflect() protoreflect.Message

func (*Time) Reset added in v0.4.41

func (x *Time) Reset()

func (*Time) Schema added in v0.4.41

func (*Time) Schema() map[string]interface{}

Schema ...

func (*Time) String added in v0.4.41

func (x *Time) String() string

func (*Time) UnmarshalJSON added in v0.4.41

func (o *Time) UnmarshalJSON(b []byte) error

UnmarshalJSON ...

func (*Time) UnmarshalMap added in v0.4.41

func (o *Time) UnmarshalMap(values map[string]interface{})

UnmarshalMap populates struct fields from a map, handling decoding for special fields.

func (*Time) Validate added in v0.4.44

func (m *Time) Validate() error

Validate checks the field values on Time with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Time) ValidateAll added in v0.4.44

func (m *Time) ValidateAll() error

ValidateAll checks the field values on Time with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in TimeMultiError, or nil if none found.

type TimeMultiError added in v0.4.44

type TimeMultiError []error

TimeMultiError is an error wrapping multiple validation errors returned by Time.ValidateAll() if the designated constraints aren't met.

func (TimeMultiError) AllErrors added in v0.4.44

func (m TimeMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (TimeMultiError) Error added in v0.4.44

func (m TimeMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type TimeValidationError added in v0.4.44

type TimeValidationError struct {
	// contains filtered or unexported fields
}

TimeValidationError is the validation error returned by Time.Validate if the designated constraints aren't met.

func (TimeValidationError) Cause added in v0.4.44

func (e TimeValidationError) Cause() error

Cause function returns cause value.

func (TimeValidationError) Error added in v0.4.44

func (e TimeValidationError) Error() string

Error satisfies the builtin error interface

func (TimeValidationError) ErrorName added in v0.4.44

func (e TimeValidationError) ErrorName() string

ErrorName returns error name.

func (TimeValidationError) Field added in v0.4.44

func (e TimeValidationError) Field() string

Field function returns field value.

func (TimeValidationError) Key added in v0.4.44

func (e TimeValidationError) Key() bool

Key function returns key value.

func (TimeValidationError) Reason added in v0.4.44

func (e TimeValidationError) Reason() string

Reason function returns reason value.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL