subscriptions

package
v0.0.0-...-2151b9b Latest Latest
Warning

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

Go to latest
Published: May 3, 2024 License: Apache-2.0 Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Operation_name = map[int32]string{
		0:  "UNSPECIFIED",
		10: "INITIAL",
		11: "INITIAL_SYNC_COMPLETE",
		20: "UPDATED",
		30: "DELETED",
	}
	Operation_value = map[string]int32{
		"UNSPECIFIED":           0,
		"INITIAL":               10,
		"INITIAL_SYNC_COMPLETE": 11,
		"UPDATED":               20,
		"DELETED":               30,
	}
)

Enum value maps for Operation.

View Source
var File_arista_subscriptions_subscriptions_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Operation

type Operation int32
const (
	Operation_UNSPECIFIED Operation = 0
	// INITIAL indicates the associated notification is that of the
	// current state and a fully-specified Resource is provided.
	Operation_INITIAL Operation = 10
	// INITIAL_SYNC_COMPLETE indicates all existing-state has been
	// streamed to the client. This status will be sent in an
	// otherwise-empty message and no subsequent INITIAL messages
	// should be expected.
	Operation_INITIAL_SYNC_COMPLETE Operation = 11
	// UPDATED indicates the associated notification carries
	// modification to the last-streamed state. This indicates
	// the contained Resource may be a partial diff, though, it
	// may contain a fully-specified Resource.
	Operation_UPDATED Operation = 20
	// DETLETED indicates the associated notification carries
	// a deletion. The Resource's key will always be set in this case,
	// but no other fields should be expected.
	Operation_DELETED Operation = 30
)

func (Operation) Descriptor

func (Operation) Descriptor() protoreflect.EnumDescriptor

func (Operation) Enum

func (x Operation) Enum() *Operation

func (Operation) EnumDescriptor deprecated

func (Operation) EnumDescriptor() ([]byte, []int)

Deprecated: Use Operation.Descriptor instead.

func (Operation) Number

func (x Operation) Number() protoreflect.EnumNumber

func (Operation) String

func (x Operation) String() string

func (Operation) Type

Jump to

Keyboard shortcuts

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