Documentation ¶
Index ¶
- func DeleteManifestDevice(ctx context.Context, etcdClient *etcd.Client, descriptor string) error
- func DeleteMultipleManifestDevices(ctx context.Context, etcdClient *etcd.Client, descprefix string) (int64, error)
- func SetEtcdKeyPrefix(prefix string)
- func UpsertManifestDevice(ctx context.Context, etcdClient *etcd.Client, md *ManifestDevice) error
- func UpsertManifestDeviceAtomically(ctx context.Context, etcdClient *etcd.Client, md *ManifestDevice) (bool, error)
- type ManifestDevice
- type ManifestDeviceStream
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteManifestDevice ¶
func SetEtcdKeyPrefix ¶
func SetEtcdKeyPrefix(prefix string)
func UpsertManifestDevice ¶
Types ¶
type ManifestDevice ¶
type ManifestDevice struct { Descriptor string `codec:"-" yaml:"-"` Metadata map[string]string `codec:"metadata,omitempty" yaml:"metadata"` Streams map[string]*ManifestDeviceStream `codec:"streams" yaml:"streams"` // contains filtered or unexported fields }
func RetrieveManifestDevice ¶
func (*ManifestDevice) GetRetrievedRevision ¶
func (md *ManifestDevice) GetRetrievedRevision() int64
func (*ManifestDevice) SetRetrievedRevision ¶
func (md *ManifestDevice) SetRetrievedRevision(rev int64)
type ManifestDeviceStream ¶
Click to show internal directories.
Click to hide internal directories.