Documentation
¶
Index ¶
- Variables
- type ArangoConfig
- func (*ArangoConfig) Argument() graphql.FieldConfigArgument
- func (*ArangoConfig) Descriptor() ([]byte, []int)deprecated
- func (x *ArangoConfig) GetDatabase() string
- func (x *ArangoConfig) GetPassword() string
- func (x *ArangoConfig) GetUrl() string
- func (x *ArangoConfig) GetUsername() string
- func (*ArangoConfig) Object() *graphql.Object
- func (*ArangoConfig) Output() graphql.Output
- func (*ArangoConfig) ProtoMessage()
- func (x *ArangoConfig) ProtoReflect() protoreflect.Message
- func (x *ArangoConfig) Reset()
- func (*ArangoConfig) Schema() map[string]interface{}
- func (x *ArangoConfig) String() string
- func (o *ArangoConfig) UnmarshalJSON(b []byte) error
- func (o *ArangoConfig) UnmarshalMap(values map[string]interface{})
- func (m *ArangoConfig) Validate() error
- func (m *ArangoConfig) ValidateAll() error
- type ArangoConfigMultiError
- type ArangoConfigValidationError
- func (e ArangoConfigValidationError) Cause() error
- func (e ArangoConfigValidationError) Error() string
- func (e ArangoConfigValidationError) ErrorName() string
- func (e ArangoConfigValidationError) Field() string
- func (e ArangoConfigValidationError) Key() bool
- func (e ArangoConfigValidationError) Reason() string
- type Date
- func (*Date) Argument() graphql.FieldConfigArgument
- func (*Date) Descriptor() ([]byte, []int)deprecated
- func (x *Date) GetDate() string
- func (*Date) Object() *graphql.Object
- func (*Date) Output() graphql.Output
- func (*Date) ProtoMessage()
- func (x *Date) ProtoReflect() protoreflect.Message
- func (x *Date) Reset()
- func (*Date) Schema() map[string]interface{}
- func (x *Date) String() string
- func (o *Date) UnmarshalJSON(b []byte) error
- func (o *Date) UnmarshalMap(values map[string]interface{})
- func (m *Date) Validate() error
- func (m *Date) ValidateAll() error
- type DateMultiError
- type DateTime
- func (*DateTime) Argument() graphql.FieldConfigArgument
- func (*DateTime) Descriptor() ([]byte, []int)deprecated
- func (x *DateTime) GetDateTime() string
- func (*DateTime) Object() *graphql.Object
- func (*DateTime) Output() graphql.Output
- func (*DateTime) ProtoMessage()
- func (x *DateTime) ProtoReflect() protoreflect.Message
- func (x *DateTime) Reset()
- func (*DateTime) Schema() map[string]interface{}
- func (x *DateTime) String() string
- func (o *DateTime) UnmarshalJSON(b []byte) error
- func (o *DateTime) UnmarshalMap(values map[string]interface{})
- func (m *DateTime) Validate() error
- func (m *DateTime) ValidateAll() error
- type DateTimeMultiError
- type DateTimeValidationError
- type DateValidationError
- type File
- func (*File) Argument() graphql.FieldConfigArgument
- func (*File) Descriptor() ([]byte, []int)deprecated
- func (x *File) GetContent() []byte
- func (x *File) GetKey() string
- func (*File) Object() *graphql.Object
- func (*File) Output() graphql.Output
- func (*File) ProtoMessage()
- func (x *File) ProtoReflect() protoreflect.Message
- func (x *File) Reset()
- func (*File) Schema() map[string]interface{}
- func (x *File) String() string
- func (o *File) UnmarshalJSON(b []byte) error
- func (o *File) UnmarshalMap(values map[string]interface{})
- func (m *File) Validate() error
- func (m *File) ValidateAll() error
- type FileMultiError
- type FileValidationError
- type Location
- func (*Location) Argument() graphql.FieldConfigArgument
- func (*Location) Descriptor() ([]byte, []int)deprecated
- func (x *Location) GetLatitude() float32
- func (x *Location) GetLongitude() float32
- func (*Location) Object() *graphql.Object
- func (*Location) Output() graphql.Output
- func (*Location) ProtoMessage()
- func (x *Location) ProtoReflect() protoreflect.Message
- func (x *Location) Reset()
- func (*Location) Schema() map[string]interface{}
- func (x *Location) String() string
- func (o *Location) UnmarshalJSON(b []byte) error
- func (o *Location) UnmarshalMap(values map[string]interface{})
- func (m *Location) Validate() error
- func (m *Location) ValidateAll() error
- type LocationMultiError
- type LocationValidationError
- type NamespaceConfig
- func (*NamespaceConfig) Argument() graphql.FieldConfigArgument
- func (*NamespaceConfig) Descriptor() ([]byte, []int)deprecated
- func (x *NamespaceConfig) GetName() string
- func (*NamespaceConfig) Object() *graphql.Object
- func (*NamespaceConfig) Output() graphql.Output
- func (*NamespaceConfig) ProtoMessage()
- func (x *NamespaceConfig) ProtoReflect() protoreflect.Message
- func (x *NamespaceConfig) Reset()
- func (*NamespaceConfig) Schema() map[string]interface{}
- func (x *NamespaceConfig) String() string
- func (o *NamespaceConfig) UnmarshalJSON(b []byte) error
- func (o *NamespaceConfig) UnmarshalMap(values map[string]interface{})
- func (m *NamespaceConfig) Validate() error
- func (m *NamespaceConfig) ValidateAll() error
- type NamespaceConfigMultiError
- type NamespaceConfigValidationError
- func (e NamespaceConfigValidationError) Cause() error
- func (e NamespaceConfigValidationError) Error() string
- func (e NamespaceConfigValidationError) ErrorName() string
- func (e NamespaceConfigValidationError) Field() string
- func (e NamespaceConfigValidationError) Key() bool
- func (e NamespaceConfigValidationError) Reason() string
- type Time
- func (*Time) Argument() graphql.FieldConfigArgument
- func (*Time) Descriptor() ([]byte, []int)deprecated
- func (x *Time) GetTime() string
- func (*Time) Object() *graphql.Object
- func (*Time) Output() graphql.Output
- func (*Time) ProtoMessage()
- func (x *Time) ProtoReflect() protoreflect.Message
- func (x *Time) Reset()
- func (*Time) Schema() map[string]interface{}
- func (x *Time) String() string
- func (o *Time) UnmarshalJSON(b []byte) error
- func (o *Time) UnmarshalMap(values map[string]interface{})
- func (m *Time) Validate() error
- func (m *Time) ValidateAll() error
- type TimeMultiError
- type TimeValidationError
Constants ¶
This section is empty.
Variables ¶
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, }, }, })
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: "", })
var DateTime_Input = graphql.NewInputObject(graphql.InputObjectConfig{ Name: "DateTime_Input", Fields: graphql.InputObjectConfigFieldMap{ "dateTime": &graphql.InputObjectFieldConfig{ Type: graphql.String, }, }, })
var DateTime_Object = graphql.NewObject(graphql.ObjectConfig{ Name: "DateTime", Fields: graphql.Fields{ "dateTime": &graphql.Field{ Type: graphql.String, }, }, Description: "", })
var Date_Input = graphql.NewInputObject(graphql.InputObjectConfig{ Name: "Date_Input", Fields: graphql.InputObjectConfigFieldMap{ "date": &graphql.InputObjectFieldConfig{ Type: graphql.String, }, }, })
var Date_Object = graphql.NewObject(graphql.ObjectConfig{ Name: "Date", Fields: graphql.Fields{ "date": &graphql.Field{ Type: graphql.String, }, }, Description: "", })
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, }, }, })
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: "", })
var File_graphify_utils_v1_config_proto protoreflect.FileDescriptor
var File_graphify_utils_v1_date_proto protoreflect.FileDescriptor
var File_graphify_utils_v1_file_proto protoreflect.FileDescriptor
var File_graphify_utils_v1_geo_proto protoreflect.FileDescriptor
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, }, }, })
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: "", })
var NamespaceConfig_Input = graphql.NewInputObject(graphql.InputObjectConfig{ Name: "NamespaceConfig_Input", Fields: graphql.InputObjectConfigFieldMap{ "name": &graphql.InputObjectFieldConfig{ Type: graphql.String, }, }, })
var NamespaceConfig_Object = graphql.NewObject(graphql.ObjectConfig{ Name: "NamespaceConfig", Fields: graphql.Fields{ "name": &graphql.Field{ Type: graphql.String, }, }, Description: "", })
var Time_Input = graphql.NewInputObject(graphql.InputObjectConfig{ Name: "Time_Input", Fields: graphql.InputObjectConfigFieldMap{ "time": &graphql.InputObjectFieldConfig{ Type: graphql.String, }, }, })
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
func (*ArangoConfig) Argument() graphql.FieldConfigArgument
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
func (e ArangoConfigValidationError) Cause() error
Cause function returns cause value.
func (ArangoConfigValidationError) Error ¶ added in v0.4.44
func (e ArangoConfigValidationError) Error() string
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
func (e ArangoConfigValidationError) Field() string
Field function returns field value.
func (ArangoConfigValidationError) Key ¶ added in v0.4.44
func (e ArangoConfigValidationError) Key() bool
Key function returns key value.
func (ArangoConfigValidationError) Reason ¶ added in v0.4.44
func (e ArangoConfigValidationError) Reason() string
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) 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) UnmarshalJSON ¶ added in v0.4.41
UnmarshalJSON ...
func (*Date) UnmarshalMap ¶ added in v0.4.41
UnmarshalMap populates struct fields from a map, handling decoding for special fields.
func (*Date) Validate ¶ added in v0.4.44
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
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) GetDateTime ¶ added in v0.4.41
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) UnmarshalJSON ¶ added in v0.4.41
UnmarshalJSON ...
func (*DateTime) UnmarshalMap ¶ added in v0.4.41
UnmarshalMap populates struct fields from a map, handling decoding for special fields.
func (*DateTime) Validate ¶ added in v0.4.44
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
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) GetContent ¶ added in v0.4.33
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) UnmarshalJSON ¶ added in v0.4.33
UnmarshalJSON ...
func (*File) UnmarshalMap ¶ added in v0.4.33
UnmarshalMap populates struct fields from a map, handling decoding for special fields.
func (*File) Validate ¶ added in v0.4.44
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
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) Descriptor
deprecated
func (*Location) GetLatitude ¶
func (*Location) GetLongitude ¶
func (*Location) ProtoMessage ¶
func (*Location) ProtoMessage()
func (*Location) ProtoReflect ¶
func (x *Location) ProtoReflect() protoreflect.Message
func (*Location) UnmarshalMap ¶
UnmarshalMap populates struct fields from a map, handling decoding for special fields.
func (*Location) Validate ¶ added in v0.4.44
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
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
func (*NamespaceConfig) Argument() graphql.FieldConfigArgument
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
func (m NamespaceConfigMultiError) Error() string
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
func (e NamespaceConfigValidationError) Cause() error
Cause function returns cause value.
func (NamespaceConfigValidationError) Error ¶ added in v0.4.44
func (e NamespaceConfigValidationError) Error() string
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
func (e NamespaceConfigValidationError) Field() string
Field function returns field value.
func (NamespaceConfigValidationError) Key ¶ added in v0.4.44
func (e NamespaceConfigValidationError) Key() bool
Key function returns key value.
func (NamespaceConfigValidationError) Reason ¶ added in v0.4.44
func (e NamespaceConfigValidationError) Reason() string
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) 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) UnmarshalJSON ¶ added in v0.4.41
UnmarshalJSON ...
func (*Time) UnmarshalMap ¶ added in v0.4.41
UnmarshalMap populates struct fields from a map, handling decoding for special fields.
func (*Time) Validate ¶ added in v0.4.44
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
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.