model

package
v0.0.0-...-ac5cff2 Latest Latest
Warning

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

Go to latest
Published: May 9, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClientIdentifier

type ClientIdentifier string

ClientIdentifier represents a unique identifier for an OpenSergo client.

type DataEntirePushHandler

type DataEntirePushHandler func(namespace, app, kind string, dataWithVersion *trpb.DataWithVersion, status *trpb.Status, respId string) error

type Instance

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

type LabelKV

type LabelKV struct {
	Key   string
	Value string
}

type NamespacedApp

type NamespacedApp struct {
	Namespace string
	App       string
}

type SubscribeKind

type SubscribeKind = string

type SubscribeTarget

type SubscribeTarget struct {
	Namespace string
	// AppName represents the target app name. Fast path for "app" label.
	AppName string
	// Labels  []LabelKV
	Kind SubscribeKind
}

func (SubscribeTarget) NamespacedApp

func (st SubscribeTarget) NamespacedApp() NamespacedApp

Jump to

Keyboard shortcuts

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