Documentation ¶
Index ¶
- func GetAuthFieldsForService(service string) map[string]ConfigField
- func GetAuthFieldsMap() map[string]ConfigField
- func GetConfigFieldsMap() map[string]ConfigField
- func GetDestinationFieldsForService(service string) map[string]ConfigField
- func GetDestinationFieldsMap() map[string]ConfigField
- func GetDestinationSchemaFields() map[string]map[string]bool
- func GetFieldsForService(service string) (map[string]ConfigField, error)
- func LoadAuthFieldsMap()
- func LoadConfigFieldsMap()
- func LocaDestinationFieldsMap()
- type ConfigField
- type FieldValueType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAuthFieldsForService ¶
func GetAuthFieldsForService(service string) map[string]ConfigField
func GetAuthFieldsMap ¶
func GetAuthFieldsMap() map[string]ConfigField
func GetConfigFieldsMap ¶
func GetConfigFieldsMap() map[string]ConfigField
func GetDestinationFieldsForService ¶ added in v1.1.12
func GetDestinationFieldsForService(service string) map[string]ConfigField
func GetDestinationFieldsMap ¶ added in v1.1.12
func GetDestinationFieldsMap() map[string]ConfigField
func GetFieldsForService ¶
func GetFieldsForService(service string) (map[string]ConfigField, error)
func LoadAuthFieldsMap ¶ added in v1.1.8
func LoadAuthFieldsMap()
func LoadConfigFieldsMap ¶ added in v1.1.8
func LoadConfigFieldsMap()
func LocaDestinationFieldsMap ¶ added in v1.1.12
func LocaDestinationFieldsMap()
Types ¶
type ConfigField ¶
type ConfigField struct { Readonly bool `json:"readonly"` Sensitive bool `json:"sensitive"` Nullable bool `json:"nullable"` FieldValueType FieldValueType `json:"type"` ItemFields map[string]ConfigField `json:"fields"` ItemKeyField string `json:"key_field"` ItemType map[string]FieldValueType `json:"item_type"` Description map[string]string `json:"description"` SensitiveExclusions map[string]bool `json:"sensitive_exclusions,omitempty"` ApiField string `json:"api_field"` }
func NewconfigField ¶
func NewconfigField() ConfigField
func (ConfigField) GetIsSensitive ¶ added in v1.1.21
func (c ConfigField) GetIsSensitive(service string) bool
func (ConfigField) GetIsSensitiveForSchema ¶ added in v1.1.21
func (c ConfigField) GetIsSensitiveForSchema() bool
type FieldValueType ¶
type FieldValueType int64
const ( String FieldValueType = iota Integer Boolean StringList ObjectList Object Unknown )
func Type ¶
func Type(typeName string) FieldValueType
func (FieldValueType) MarshalJSON ¶
func (s FieldValueType) MarshalJSON() ([]byte, error)
func (FieldValueType) String ¶
func (lang FieldValueType) String() string
func (*FieldValueType) UnmarshalJSON ¶
func (s *FieldValueType) UnmarshalJSON(b []byte) error
Click to show internal directories.
Click to hide internal directories.