Documentation ¶
Overview ¶
Package common/v1 contains the common types used in the integration API of ArangoDB Managed Service
Index ¶
- Constants
- Variables
- type KeyValuePair
- func (*KeyValuePair) Descriptor() ([]byte, []int)
- func (m *KeyValuePair) GetKey() string
- func (m *KeyValuePair) GetValue() string
- func (m *KeyValuePair) Marshal() (dAtA []byte, err error)
- func (m *KeyValuePair) MarshalTo(dAtA []byte) (int, error)
- func (m *KeyValuePair) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*KeyValuePair) ProtoMessage()
- func (m *KeyValuePair) Reset()
- func (m *KeyValuePair) Size() (n int)
- func (m *KeyValuePair) String() string
- func (m *KeyValuePair) Unmarshal(dAtA []byte) error
- func (m *KeyValuePair) XXX_DiscardUnknown()
- func (m *KeyValuePair) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *KeyValuePair) XXX_Merge(src proto.Message)
- func (m *KeyValuePair) XXX_Size() int
- func (m *KeyValuePair) XXX_Unmarshal(b []byte) error
- type KeyValuePairList
Constants ¶
View Source
const ( // APIIDCommon contains identifier of this API APIIDCommon = "integration-common/v1" // APIMajorVersion contains major version of this API APIMajorVersion = 1 // APIMinorVersion contains minor version of this API APIMinorVersion = 0 // APIPatchVersion contains patch version of this API APIPatchVersion = 0 )
Variables ¶
Functions ¶
This section is empty.
Types ¶
type KeyValuePair ¶
type KeyValuePair struct { // The key. Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // The value. Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
KeyValuePair specifies a key-value pair.
func (*KeyValuePair) Descriptor ¶
func (*KeyValuePair) Descriptor() ([]byte, []int)
func (*KeyValuePair) GetKey ¶
func (m *KeyValuePair) GetKey() string
func (*KeyValuePair) GetValue ¶
func (m *KeyValuePair) GetValue() string
func (*KeyValuePair) Marshal ¶
func (m *KeyValuePair) Marshal() (dAtA []byte, err error)
func (*KeyValuePair) MarshalToSizedBuffer ¶
func (m *KeyValuePair) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*KeyValuePair) ProtoMessage ¶
func (*KeyValuePair) ProtoMessage()
func (*KeyValuePair) Reset ¶
func (m *KeyValuePair) Reset()
func (*KeyValuePair) Size ¶
func (m *KeyValuePair) Size() (n int)
func (*KeyValuePair) String ¶
func (m *KeyValuePair) String() string
func (*KeyValuePair) Unmarshal ¶
func (m *KeyValuePair) Unmarshal(dAtA []byte) error
func (*KeyValuePair) XXX_DiscardUnknown ¶
func (m *KeyValuePair) XXX_DiscardUnknown()
func (*KeyValuePair) XXX_Marshal ¶
func (m *KeyValuePair) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*KeyValuePair) XXX_Merge ¶
func (m *KeyValuePair) XXX_Merge(src proto.Message)
func (*KeyValuePair) XXX_Size ¶
func (m *KeyValuePair) XXX_Size() int
func (*KeyValuePair) XXX_Unmarshal ¶
func (m *KeyValuePair) XXX_Unmarshal(b []byte) error
type KeyValuePairList ¶
type KeyValuePairList []*KeyValuePair
KeyValuePairList is a strong typed list of KeyValuePair
func (KeyValuePairList) GetValue ¶
func (list KeyValuePairList) GetValue(key string) *string
GetValue gets the value for the requested key or nil if it doesn't exist
func (*KeyValuePairList) RemovePairByKey ¶
func (list *KeyValuePairList) RemovePairByKey(key string) bool
RemovePairByKey removes all entries with the provided key and assigns the new list Returns removed, otherwise unmodified
func (*KeyValuePairList) UpsertPair ¶
func (list *KeyValuePairList) UpsertPair(key, value string) bool
UpsertPair update or insert the given value for the requested key Returns inserted (otherwise updated)
Click to show internal directories.
Click to hide internal directories.