forked from flyteorg/flyteidl
/
model_core_literal_type.go
26 lines (24 loc) · 1.3 KB
/
model_core_literal_type.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/*
* flyteidl/service/admin.proto
*
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
*
* API version: version not set
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
package flyteadmin
// Defines a strong type to allow type checking between interfaces.
type CoreLiteralType struct {
// A simple type that can be compared one-to-one with another.
Simple *CoreSimpleType `json:"simple,omitempty"`
// A complex type that requires matching of inner fields.
Schema *CoreSchemaType `json:"schema,omitempty"`
// Defines the type of the value of a collection. Only homogeneous collections are allowed.
CollectionType *CoreLiteralType `json:"collection_type,omitempty"`
// Defines the type of the value of a map type. The type of the key is always a string.
MapValueType *CoreLiteralType `json:"map_value_type,omitempty"`
// A blob might have specialized implementation details depending on associated metadata.
Blob *CoreBlobType `json:"blob,omitempty"`
// This field contains type metadata that is descriptive of the type, but is NOT considered in type-checking. This might be used by consumers to identify special behavior or display extended information for the type.
Metadata *ProtobufStruct `json:"metadata,omitempty"`
}