definition

package
v0.0.0-...-44f2bf6 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_integrations_shared_v1_definition_empty_proto protoreflect.FileDescriptor
View Source
var File_integrations_shared_v1_definition_kv_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Empty

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

Empty contains empty message used by other protos

func (*Empty) Descriptor deprecated

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

Deprecated: Use Empty.ProtoReflect.Descriptor instead.

func (*Empty) ProtoMessage

func (*Empty) ProtoMessage()

func (*Empty) ProtoReflect

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

func (*Empty) Reset

func (x *Empty) Reset()

func (*Empty) String

func (x *Empty) String() string

type KeyValuePair

type KeyValuePair struct {

	// Key of the pair
	Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	// Values of the pair
	Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

Key Values Pairs

func (*KeyValuePair) Descriptor deprecated

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

Deprecated: Use KeyValuePair.ProtoReflect.Descriptor instead.

func (*KeyValuePair) GetKey

func (x *KeyValuePair) GetKey() string

func (*KeyValuePair) GetValue

func (x *KeyValuePair) GetValue() string

func (*KeyValuePair) ProtoMessage

func (*KeyValuePair) ProtoMessage()

func (*KeyValuePair) ProtoReflect

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

func (*KeyValuePair) Reset

func (x *KeyValuePair) Reset()

func (*KeyValuePair) String

func (x *KeyValuePair) String() string

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)

Jump to

Keyboard shortcuts

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