Documentation
¶
Index ¶
- type BrowserAsset
- func (m *BrowserAsset) ApplyBlockRef(id uint32, ref *block.BlockRef) error
- func (m *BrowserAsset) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *BrowserAsset) CloneVT() *BrowserAsset
- func (this *BrowserAsset) EqualMessageVT(thatMsg any) bool
- func (this *BrowserAsset) EqualVT(that *BrowserAsset) bool
- func (m *BrowserAsset) GetBlockRefCtor(uint32) block.Ctor
- func (m *BrowserAsset) GetBlockRefs() (map[uint32]*block.BlockRef, error)
- func (x *BrowserAsset) GetCacheControl() string
- func (x *BrowserAsset) GetContentRef() *block.BlockRef
- func (x *BrowserAsset) GetContentType() string
- func (x *BrowserAsset) GetPath() string
- func (x *BrowserAsset) GetSha256() []byte
- func (x *BrowserAsset) GetSize() uint64
- func (m *BrowserAsset) MarshalBlock() ([]byte, error)
- func (x *BrowserAsset) MarshalJSON() ([]byte, error)
- func (x *BrowserAsset) MarshalProtoJSON(s *json.MarshalState)
- func (x *BrowserAsset) MarshalProtoText() string
- func (m *BrowserAsset) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *BrowserAsset) MarshalToVT(dAtA []byte) (int, error)
- func (m *BrowserAsset) MarshalVT() (dAtA []byte, err error)
- func (*BrowserAsset) ProtoMessage()
- func (x *BrowserAsset) Reset()
- func (m *BrowserAsset) SizeVT() (n int)
- func (x *BrowserAsset) String() string
- func (m *BrowserAsset) UnmarshalBlock(data []byte) error
- func (x *BrowserAsset) UnmarshalJSON(b []byte) error
- func (x *BrowserAsset) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *BrowserAsset) UnmarshalVT(dAtA []byte) error
- func (a *BrowserAsset) Validate() error
- type BrowserShellMetadata
- func (m *BrowserShellMetadata) ApplyBlockRef(id uint32, ref *block.BlockRef) error
- func (m *BrowserShellMetadata) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *BrowserShellMetadata) CloneVT() *BrowserShellMetadata
- func (this *BrowserShellMetadata) EqualMessageVT(thatMsg any) bool
- func (this *BrowserShellMetadata) EqualVT(that *BrowserShellMetadata) bool
- func (x *BrowserShellMetadata) GetAssets() []*BrowserAsset
- func (m *BrowserShellMetadata) GetBlockRefCtor(uint32) block.Ctor
- func (m *BrowserShellMetadata) GetBlockRefs() (map[uint32]*block.BlockRef, error)
- func (x *BrowserShellMetadata) GetEntrypointPath() string
- func (x *BrowserShellMetadata) GetGenerationId() string
- func (x *BrowserShellMetadata) GetServiceWorkerPath() string
- func (x *BrowserShellMetadata) GetSharedWorkerPath() string
- func (x *BrowserShellMetadata) GetVersion() string
- func (x *BrowserShellMetadata) GetWasmPath() string
- func (m *BrowserShellMetadata) MarshalBlock() ([]byte, error)
- func (x *BrowserShellMetadata) MarshalJSON() ([]byte, error)
- func (x *BrowserShellMetadata) MarshalProtoJSON(s *json.MarshalState)
- func (x *BrowserShellMetadata) MarshalProtoText() string
- func (m *BrowserShellMetadata) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *BrowserShellMetadata) MarshalToVT(dAtA []byte) (int, error)
- func (m *BrowserShellMetadata) MarshalVT() (dAtA []byte, err error)
- func (*BrowserShellMetadata) ProtoMessage()
- func (x *BrowserShellMetadata) Reset()
- func (m *BrowserShellMetadata) SizeVT() (n int)
- func (x *BrowserShellMetadata) String() string
- func (m *BrowserShellMetadata) UnmarshalBlock(data []byte) error
- func (x *BrowserShellMetadata) UnmarshalJSON(b []byte) error
- func (x *BrowserShellMetadata) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *BrowserShellMetadata) UnmarshalVT(dAtA []byte) error
- func (m *BrowserShellMetadata) Validate() error
- type ChannelDirectory
- func (m *ChannelDirectory) ApplyBlockRef(id uint32, ref *block.BlockRef) error
- func (m *ChannelDirectory) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *ChannelDirectory) CloneVT() *ChannelDirectory
- func (this *ChannelDirectory) EqualMessageVT(thatMsg any) bool
- func (this *ChannelDirectory) EqualVT(that *ChannelDirectory) bool
- func (m *ChannelDirectory) GetBlockRefCtor(uint32) block.Ctor
- func (m *ChannelDirectory) GetBlockRefs() (map[uint32]*block.BlockRef, error)
- func (x *ChannelDirectory) GetChannels() []*ChannelEntry
- func (m *ChannelDirectory) MarshalBlock() ([]byte, error)
- func (x *ChannelDirectory) MarshalJSON() ([]byte, error)
- func (x *ChannelDirectory) MarshalProtoJSON(s *json.MarshalState)
- func (x *ChannelDirectory) MarshalProtoText() string
- func (m *ChannelDirectory) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ChannelDirectory) MarshalToVT(dAtA []byte) (int, error)
- func (m *ChannelDirectory) MarshalVT() (dAtA []byte, err error)
- func (*ChannelDirectory) ProtoMessage()
- func (x *ChannelDirectory) Reset()
- func (m *ChannelDirectory) SizeVT() (n int)
- func (x *ChannelDirectory) String() string
- func (m *ChannelDirectory) UnmarshalBlock(data []byte) error
- func (x *ChannelDirectory) UnmarshalJSON(b []byte) error
- func (x *ChannelDirectory) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *ChannelDirectory) UnmarshalVT(dAtA []byte) error
- func (d *ChannelDirectory) Validate() error
- func (d *ChannelDirectory) ValidateReleaseMetadataRefs(hasRef func(*block.BlockRef) bool) error
- type ChannelEntry
- func (m *ChannelEntry) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *ChannelEntry) CloneVT() *ChannelEntry
- func (this *ChannelEntry) EqualMessageVT(thatMsg any) bool
- func (this *ChannelEntry) EqualVT(that *ChannelEntry) bool
- func (x *ChannelEntry) GetChannelKey() string
- func (x *ChannelEntry) GetReleaseMetadataRef() *block.BlockRef
- func (x *ChannelEntry) MarshalJSON() ([]byte, error)
- func (x *ChannelEntry) MarshalProtoJSON(s *json.MarshalState)
- func (x *ChannelEntry) MarshalProtoText() string
- func (m *ChannelEntry) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ChannelEntry) MarshalToVT(dAtA []byte) (int, error)
- func (m *ChannelEntry) MarshalVT() (dAtA []byte, err error)
- func (*ChannelEntry) ProtoMessage()
- func (x *ChannelEntry) Reset()
- func (m *ChannelEntry) SizeVT() (n int)
- func (x *ChannelEntry) String() string
- func (x *ChannelEntry) UnmarshalJSON(b []byte) error
- func (x *ChannelEntry) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *ChannelEntry) UnmarshalVT(dAtA []byte) error
- func (e *ChannelEntry) Validate() error
- type ReleaseMetadata
- func (m *ReleaseMetadata) ApplyBlockRef(id uint32, ref *block.BlockRef) error
- func (m *ReleaseMetadata) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *ReleaseMetadata) CloneVT() *ReleaseMetadata
- func (this *ReleaseMetadata) EqualMessageVT(thatMsg any) bool
- func (this *ReleaseMetadata) EqualVT(that *ReleaseMetadata) bool
- func (m *ReleaseMetadata) GetBlockRefCtor(uint32) block.Ctor
- func (m *ReleaseMetadata) GetBlockRefs() (map[uint32]*block.BlockRef, error)
- func (x *ReleaseMetadata) GetBrowserShell() *BrowserShellMetadata
- func (x *ReleaseMetadata) GetChannelKey() string
- func (x *ReleaseMetadata) GetManifestRefs() []*manifest.ManifestRef
- func (x *ReleaseMetadata) GetMinimumLauncherVersion() string
- func (x *ReleaseMetadata) GetProjectId() string
- func (x *ReleaseMetadata) GetRev() uint64
- func (x *ReleaseMetadata) GetVersion() string
- func (m *ReleaseMetadata) MarshalBlock() ([]byte, error)
- func (x *ReleaseMetadata) MarshalJSON() ([]byte, error)
- func (x *ReleaseMetadata) MarshalProtoJSON(s *json.MarshalState)
- func (x *ReleaseMetadata) MarshalProtoText() string
- func (m *ReleaseMetadata) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ReleaseMetadata) MarshalToVT(dAtA []byte) (int, error)
- func (m *ReleaseMetadata) MarshalVT() (dAtA []byte, err error)
- func (*ReleaseMetadata) ProtoMessage()
- func (x *ReleaseMetadata) Reset()
- func (m *ReleaseMetadata) SizeVT() (n int)
- func (x *ReleaseMetadata) String() string
- func (m *ReleaseMetadata) UnmarshalBlock(data []byte) error
- func (x *ReleaseMetadata) UnmarshalJSON(b []byte) error
- func (x *ReleaseMetadata) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *ReleaseMetadata) UnmarshalVT(dAtA []byte) error
- func (m *ReleaseMetadata) Validate() error
- type UpdateNotification
- func (m *UpdateNotification) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *UpdateNotification) CloneVT() *UpdateNotification
- func (this *UpdateNotification) EqualMessageVT(thatMsg any) bool
- func (this *UpdateNotification) EqualVT(that *UpdateNotification) bool
- func (x *UpdateNotification) GetChannelKey() string
- func (x *UpdateNotification) GetInnerSeqno() uint64
- func (x *UpdateNotification) GetRootPointerUrl() string
- func (m *UpdateNotification) MarshalBlock() ([]byte, error)
- func (x *UpdateNotification) MarshalJSON() ([]byte, error)
- func (x *UpdateNotification) MarshalProtoJSON(s *json.MarshalState)
- func (x *UpdateNotification) MarshalProtoText() string
- func (m *UpdateNotification) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *UpdateNotification) MarshalToVT(dAtA []byte) (int, error)
- func (m *UpdateNotification) MarshalVT() (dAtA []byte, err error)
- func (*UpdateNotification) ProtoMessage()
- func (x *UpdateNotification) Reset()
- func (m *UpdateNotification) SizeVT() (n int)
- func (x *UpdateNotification) String() string
- func (m *UpdateNotification) UnmarshalBlock(data []byte) error
- func (x *UpdateNotification) UnmarshalJSON(b []byte) error
- func (x *UpdateNotification) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *UpdateNotification) UnmarshalVT(dAtA []byte) error
- func (n *UpdateNotification) Validate() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BrowserAsset ¶
type BrowserAsset struct {
// Path is the app-facing asset path.
Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
// ContentRef references the asset bytes in the release world.
ContentRef *block.BlockRef `protobuf:"bytes,2,opt,name=content_ref,json=contentRef,proto3" json:"contentRef,omitempty"`
// Size is the asset size in bytes.
Size uint64 `protobuf:"varint,3,opt,name=size,proto3" json:"size,omitempty"`
// Sha256 is the SHA-256 digest of the asset bytes.
Sha256 []byte `protobuf:"bytes,4,opt,name=sha256,proto3" json:"sha256,omitempty"`
// ContentType is the HTTP content type to serve.
ContentType string `protobuf:"bytes,5,opt,name=content_type,json=contentType,proto3" json:"contentType,omitempty"`
// CacheControl is the HTTP Cache-Control value to serve.
CacheControl string `protobuf:"bytes,6,opt,name=cache_control,json=cacheControl,proto3" json:"cacheControl,omitempty"`
// contains filtered or unexported fields
}
BrowserAsset describes one browser shell asset.
func (*BrowserAsset) ApplyBlockRef ¶
func (m *BrowserAsset) ApplyBlockRef(id uint32, ref *block.BlockRef) error
func (*BrowserAsset) CloneMessageVT ¶
func (m *BrowserAsset) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*BrowserAsset) CloneVT ¶
func (m *BrowserAsset) CloneVT() *BrowserAsset
func (*BrowserAsset) EqualMessageVT ¶
func (this *BrowserAsset) EqualMessageVT(thatMsg any) bool
func (*BrowserAsset) EqualVT ¶
func (this *BrowserAsset) EqualVT(that *BrowserAsset) bool
func (*BrowserAsset) GetBlockRefCtor ¶
func (m *BrowserAsset) GetBlockRefCtor(uint32) block.Ctor
func (*BrowserAsset) GetBlockRefs ¶
func (m *BrowserAsset) GetBlockRefs() (map[uint32]*block.BlockRef, error)
func (*BrowserAsset) GetCacheControl ¶
func (x *BrowserAsset) GetCacheControl() string
func (*BrowserAsset) GetContentRef ¶
func (x *BrowserAsset) GetContentRef() *block.BlockRef
func (*BrowserAsset) GetContentType ¶
func (x *BrowserAsset) GetContentType() string
func (*BrowserAsset) GetPath ¶
func (x *BrowserAsset) GetPath() string
func (*BrowserAsset) GetSha256 ¶
func (x *BrowserAsset) GetSha256() []byte
func (*BrowserAsset) GetSize ¶
func (x *BrowserAsset) GetSize() uint64
func (*BrowserAsset) MarshalBlock ¶
func (m *BrowserAsset) MarshalBlock() ([]byte, error)
func (*BrowserAsset) MarshalJSON ¶
func (x *BrowserAsset) MarshalJSON() ([]byte, error)
MarshalJSON marshals the BrowserAsset to JSON.
func (*BrowserAsset) MarshalProtoJSON ¶
func (x *BrowserAsset) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the BrowserAsset message to JSON.
func (*BrowserAsset) MarshalProtoText ¶
func (x *BrowserAsset) MarshalProtoText() string
func (*BrowserAsset) MarshalToSizedBufferVT ¶
func (m *BrowserAsset) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*BrowserAsset) MarshalToVT ¶
func (m *BrowserAsset) MarshalToVT(dAtA []byte) (int, error)
func (*BrowserAsset) MarshalVT ¶
func (m *BrowserAsset) MarshalVT() (dAtA []byte, err error)
func (*BrowserAsset) ProtoMessage ¶
func (*BrowserAsset) ProtoMessage()
func (*BrowserAsset) Reset ¶
func (x *BrowserAsset) Reset()
func (*BrowserAsset) SizeVT ¶
func (m *BrowserAsset) SizeVT() (n int)
func (*BrowserAsset) String ¶
func (x *BrowserAsset) String() string
func (*BrowserAsset) UnmarshalBlock ¶
func (m *BrowserAsset) UnmarshalBlock(data []byte) error
func (*BrowserAsset) UnmarshalJSON ¶
func (x *BrowserAsset) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the BrowserAsset from JSON.
func (*BrowserAsset) UnmarshalProtoJSON ¶
func (x *BrowserAsset) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the BrowserAsset message from JSON.
func (*BrowserAsset) UnmarshalVT ¶
func (m *BrowserAsset) UnmarshalVT(dAtA []byte) error
func (*BrowserAsset) Validate ¶
func (a *BrowserAsset) Validate() error
Validate checks the browser asset for required content metadata.
type BrowserShellMetadata ¶
type BrowserShellMetadata struct {
// Version is the browser shell version.
Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
// GenerationId is the browser generation identifier.
GenerationId string `protobuf:"bytes,2,opt,name=generation_id,json=generationId,proto3" json:"generationId,omitempty"`
// EntrypointPath is the app-facing entrypoint script path.
EntrypointPath string `protobuf:"bytes,3,opt,name=entrypoint_path,json=entrypointPath,proto3" json:"entrypointPath,omitempty"`
// ServiceWorkerPath is the service worker path.
ServiceWorkerPath string `protobuf:"bytes,4,opt,name=service_worker_path,json=serviceWorkerPath,proto3" json:"serviceWorkerPath,omitempty"`
SharedWorkerPath string `protobuf:"bytes,5,opt,name=shared_worker_path,json=sharedWorkerPath,proto3" json:"sharedWorkerPath,omitempty"`
// WasmPath is the Go runtime WASM path.
WasmPath string `protobuf:"bytes,6,opt,name=wasm_path,json=wasmPath,proto3" json:"wasmPath,omitempty"`
// Assets is the set of shell assets.
Assets []*BrowserAsset `protobuf:"bytes,7,rep,name=assets,proto3" json:"assets,omitempty"`
// contains filtered or unexported fields
}
BrowserShellMetadata describes the browser entrypoint shell for a release.
func (*BrowserShellMetadata) ApplyBlockRef ¶
func (m *BrowserShellMetadata) ApplyBlockRef(id uint32, ref *block.BlockRef) error
func (*BrowserShellMetadata) CloneMessageVT ¶
func (m *BrowserShellMetadata) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*BrowserShellMetadata) CloneVT ¶
func (m *BrowserShellMetadata) CloneVT() *BrowserShellMetadata
func (*BrowserShellMetadata) EqualMessageVT ¶
func (this *BrowserShellMetadata) EqualMessageVT(thatMsg any) bool
func (*BrowserShellMetadata) EqualVT ¶
func (this *BrowserShellMetadata) EqualVT(that *BrowserShellMetadata) bool
func (*BrowserShellMetadata) GetAssets ¶
func (x *BrowserShellMetadata) GetAssets() []*BrowserAsset
func (*BrowserShellMetadata) GetBlockRefCtor ¶
func (m *BrowserShellMetadata) GetBlockRefCtor(uint32) block.Ctor
func (*BrowserShellMetadata) GetBlockRefs ¶
func (m *BrowserShellMetadata) GetBlockRefs() (map[uint32]*block.BlockRef, error)
func (*BrowserShellMetadata) GetEntrypointPath ¶
func (x *BrowserShellMetadata) GetEntrypointPath() string
func (*BrowserShellMetadata) GetGenerationId ¶
func (x *BrowserShellMetadata) GetGenerationId() string
func (*BrowserShellMetadata) GetServiceWorkerPath ¶
func (x *BrowserShellMetadata) GetServiceWorkerPath() string
func (*BrowserShellMetadata) GetSharedWorkerPath ¶
func (x *BrowserShellMetadata) GetSharedWorkerPath() string
func (*BrowserShellMetadata) GetVersion ¶
func (x *BrowserShellMetadata) GetVersion() string
func (*BrowserShellMetadata) GetWasmPath ¶
func (x *BrowserShellMetadata) GetWasmPath() string
func (*BrowserShellMetadata) MarshalBlock ¶
func (m *BrowserShellMetadata) MarshalBlock() ([]byte, error)
func (*BrowserShellMetadata) MarshalJSON ¶
func (x *BrowserShellMetadata) MarshalJSON() ([]byte, error)
MarshalJSON marshals the BrowserShellMetadata to JSON.
func (*BrowserShellMetadata) MarshalProtoJSON ¶
func (x *BrowserShellMetadata) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the BrowserShellMetadata message to JSON.
func (*BrowserShellMetadata) MarshalProtoText ¶
func (x *BrowserShellMetadata) MarshalProtoText() string
func (*BrowserShellMetadata) MarshalToSizedBufferVT ¶
func (m *BrowserShellMetadata) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*BrowserShellMetadata) MarshalToVT ¶
func (m *BrowserShellMetadata) MarshalToVT(dAtA []byte) (int, error)
func (*BrowserShellMetadata) MarshalVT ¶
func (m *BrowserShellMetadata) MarshalVT() (dAtA []byte, err error)
func (*BrowserShellMetadata) ProtoMessage ¶
func (*BrowserShellMetadata) ProtoMessage()
func (*BrowserShellMetadata) Reset ¶
func (x *BrowserShellMetadata) Reset()
func (*BrowserShellMetadata) SizeVT ¶
func (m *BrowserShellMetadata) SizeVT() (n int)
func (*BrowserShellMetadata) String ¶
func (x *BrowserShellMetadata) String() string
func (*BrowserShellMetadata) UnmarshalBlock ¶
func (m *BrowserShellMetadata) UnmarshalBlock(data []byte) error
func (*BrowserShellMetadata) UnmarshalJSON ¶
func (x *BrowserShellMetadata) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the BrowserShellMetadata from JSON.
func (*BrowserShellMetadata) UnmarshalProtoJSON ¶
func (x *BrowserShellMetadata) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the BrowserShellMetadata message from JSON.
func (*BrowserShellMetadata) UnmarshalVT ¶
func (m *BrowserShellMetadata) UnmarshalVT(dAtA []byte) error
func (*BrowserShellMetadata) Validate ¶
func (m *BrowserShellMetadata) Validate() error
Validate checks the browser shell metadata for required paths and assets.
type ChannelDirectory ¶
type ChannelDirectory struct {
// Channels is the list of named release channels.
Channels []*ChannelEntry `protobuf:"bytes,1,rep,name=channels,proto3" json:"channels,omitempty"`
// contains filtered or unexported fields
}
ChannelDirectory lists the public release channels in a release Space.
func (*ChannelDirectory) ApplyBlockRef ¶
func (m *ChannelDirectory) ApplyBlockRef(id uint32, ref *block.BlockRef) error
func (*ChannelDirectory) CloneMessageVT ¶
func (m *ChannelDirectory) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*ChannelDirectory) CloneVT ¶
func (m *ChannelDirectory) CloneVT() *ChannelDirectory
func (*ChannelDirectory) EqualMessageVT ¶
func (this *ChannelDirectory) EqualMessageVT(thatMsg any) bool
func (*ChannelDirectory) EqualVT ¶
func (this *ChannelDirectory) EqualVT(that *ChannelDirectory) bool
func (*ChannelDirectory) GetBlockRefCtor ¶
func (m *ChannelDirectory) GetBlockRefCtor(uint32) block.Ctor
func (*ChannelDirectory) GetBlockRefs ¶
func (m *ChannelDirectory) GetBlockRefs() (map[uint32]*block.BlockRef, error)
func (*ChannelDirectory) GetChannels ¶
func (x *ChannelDirectory) GetChannels() []*ChannelEntry
func (*ChannelDirectory) MarshalBlock ¶
func (m *ChannelDirectory) MarshalBlock() ([]byte, error)
func (*ChannelDirectory) MarshalJSON ¶
func (x *ChannelDirectory) MarshalJSON() ([]byte, error)
MarshalJSON marshals the ChannelDirectory to JSON.
func (*ChannelDirectory) MarshalProtoJSON ¶
func (x *ChannelDirectory) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the ChannelDirectory message to JSON.
func (*ChannelDirectory) MarshalProtoText ¶
func (x *ChannelDirectory) MarshalProtoText() string
func (*ChannelDirectory) MarshalToSizedBufferVT ¶
func (m *ChannelDirectory) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ChannelDirectory) MarshalToVT ¶
func (m *ChannelDirectory) MarshalToVT(dAtA []byte) (int, error)
func (*ChannelDirectory) MarshalVT ¶
func (m *ChannelDirectory) MarshalVT() (dAtA []byte, err error)
func (*ChannelDirectory) ProtoMessage ¶
func (*ChannelDirectory) ProtoMessage()
func (*ChannelDirectory) Reset ¶
func (x *ChannelDirectory) Reset()
func (*ChannelDirectory) SizeVT ¶
func (m *ChannelDirectory) SizeVT() (n int)
func (*ChannelDirectory) String ¶
func (x *ChannelDirectory) String() string
func (*ChannelDirectory) UnmarshalBlock ¶
func (m *ChannelDirectory) UnmarshalBlock(data []byte) error
func (*ChannelDirectory) UnmarshalJSON ¶
func (x *ChannelDirectory) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the ChannelDirectory from JSON.
func (*ChannelDirectory) UnmarshalProtoJSON ¶
func (x *ChannelDirectory) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the ChannelDirectory message from JSON.
func (*ChannelDirectory) UnmarshalVT ¶
func (m *ChannelDirectory) UnmarshalVT(dAtA []byte) error
func (*ChannelDirectory) Validate ¶
func (d *ChannelDirectory) Validate() error
Validate checks the channel directory for required channel entries.
func (*ChannelDirectory) ValidateReleaseMetadataRefs ¶
func (d *ChannelDirectory) ValidateReleaseMetadataRefs(hasRef func(*block.BlockRef) bool) error
ValidateReleaseMetadataRefs checks that every channel points at available release metadata.
type ChannelEntry ¶
type ChannelEntry struct {
// ChannelKey is the stable channel identifier, such as stable or canary.
ChannelKey string `protobuf:"bytes,1,opt,name=channel_key,json=channelKey,proto3" json:"channelKey,omitempty"`
// ReleaseMetadataRef references the ReleaseMetadata for this channel.
ReleaseMetadataRef *block.BlockRef `protobuf:"bytes,2,opt,name=release_metadata_ref,json=releaseMetadataRef,proto3" json:"releaseMetadataRef,omitempty"`
// contains filtered or unexported fields
}
ChannelEntry points one channel key at release metadata.
func (*ChannelEntry) CloneMessageVT ¶
func (m *ChannelEntry) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*ChannelEntry) CloneVT ¶
func (m *ChannelEntry) CloneVT() *ChannelEntry
func (*ChannelEntry) EqualMessageVT ¶
func (this *ChannelEntry) EqualMessageVT(thatMsg any) bool
func (*ChannelEntry) EqualVT ¶
func (this *ChannelEntry) EqualVT(that *ChannelEntry) bool
func (*ChannelEntry) GetChannelKey ¶
func (x *ChannelEntry) GetChannelKey() string
func (*ChannelEntry) GetReleaseMetadataRef ¶
func (x *ChannelEntry) GetReleaseMetadataRef() *block.BlockRef
func (*ChannelEntry) MarshalJSON ¶
func (x *ChannelEntry) MarshalJSON() ([]byte, error)
MarshalJSON marshals the ChannelEntry to JSON.
func (*ChannelEntry) MarshalProtoJSON ¶
func (x *ChannelEntry) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the ChannelEntry message to JSON.
func (*ChannelEntry) MarshalProtoText ¶
func (x *ChannelEntry) MarshalProtoText() string
func (*ChannelEntry) MarshalToSizedBufferVT ¶
func (m *ChannelEntry) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ChannelEntry) MarshalToVT ¶
func (m *ChannelEntry) MarshalToVT(dAtA []byte) (int, error)
func (*ChannelEntry) MarshalVT ¶
func (m *ChannelEntry) MarshalVT() (dAtA []byte, err error)
func (*ChannelEntry) ProtoMessage ¶
func (*ChannelEntry) ProtoMessage()
func (*ChannelEntry) Reset ¶
func (x *ChannelEntry) Reset()
func (*ChannelEntry) SizeVT ¶
func (m *ChannelEntry) SizeVT() (n int)
func (*ChannelEntry) String ¶
func (x *ChannelEntry) String() string
func (*ChannelEntry) UnmarshalJSON ¶
func (x *ChannelEntry) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the ChannelEntry from JSON.
func (*ChannelEntry) UnmarshalProtoJSON ¶
func (x *ChannelEntry) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the ChannelEntry message from JSON.
func (*ChannelEntry) UnmarshalVT ¶
func (m *ChannelEntry) UnmarshalVT(dAtA []byte) error
func (*ChannelEntry) Validate ¶
func (e *ChannelEntry) Validate() error
Validate checks the channel entry for a channel key and release metadata ref.
type ReleaseMetadata ¶
type ReleaseMetadata struct {
// ProjectId is the project identifier this release belongs to.
ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"projectId,omitempty"`
// Rev is the monotonic release revision.
Rev uint64 `protobuf:"varint,2,opt,name=rev,proto3" json:"rev,omitempty"`
// Version is the human-readable application version.
Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"`
// ChannelKey is the release channel this metadata belongs to.
ChannelKey string `protobuf:"bytes,4,opt,name=channel_key,json=channelKey,proto3" json:"channelKey,omitempty"`
// ManifestRefs are existing bldr app/plugin manifests resolved by clients.
ManifestRefs []*manifest.ManifestRef `protobuf:"bytes,5,rep,name=manifest_refs,json=manifestRefs,proto3" json:"manifestRefs,omitempty"`
// BrowserShell is the browser shell/cache metadata.
BrowserShell *BrowserShellMetadata `protobuf:"bytes,6,opt,name=browser_shell,json=browserShell,proto3" json:"browserShell,omitempty"`
// MinimumLauncherVersion is the minimum launcher version that can read this
// release.
MinimumLauncherVersion string `` /* 127-byte string literal not displayed */
// contains filtered or unexported fields
}
ReleaseMetadata describes release-only metadata around bldr manifests.
func (*ReleaseMetadata) ApplyBlockRef ¶
func (m *ReleaseMetadata) ApplyBlockRef(id uint32, ref *block.BlockRef) error
func (*ReleaseMetadata) CloneMessageVT ¶
func (m *ReleaseMetadata) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*ReleaseMetadata) CloneVT ¶
func (m *ReleaseMetadata) CloneVT() *ReleaseMetadata
func (*ReleaseMetadata) EqualMessageVT ¶
func (this *ReleaseMetadata) EqualMessageVT(thatMsg any) bool
func (*ReleaseMetadata) EqualVT ¶
func (this *ReleaseMetadata) EqualVT(that *ReleaseMetadata) bool
func (*ReleaseMetadata) GetBlockRefCtor ¶
func (m *ReleaseMetadata) GetBlockRefCtor(uint32) block.Ctor
func (*ReleaseMetadata) GetBlockRefs ¶
func (m *ReleaseMetadata) GetBlockRefs() (map[uint32]*block.BlockRef, error)
func (*ReleaseMetadata) GetBrowserShell ¶
func (x *ReleaseMetadata) GetBrowserShell() *BrowserShellMetadata
func (*ReleaseMetadata) GetChannelKey ¶
func (x *ReleaseMetadata) GetChannelKey() string
func (*ReleaseMetadata) GetManifestRefs ¶
func (x *ReleaseMetadata) GetManifestRefs() []*manifest.ManifestRef
func (*ReleaseMetadata) GetMinimumLauncherVersion ¶
func (x *ReleaseMetadata) GetMinimumLauncherVersion() string
func (*ReleaseMetadata) GetProjectId ¶
func (x *ReleaseMetadata) GetProjectId() string
func (*ReleaseMetadata) GetRev ¶
func (x *ReleaseMetadata) GetRev() uint64
func (*ReleaseMetadata) GetVersion ¶
func (x *ReleaseMetadata) GetVersion() string
func (*ReleaseMetadata) MarshalBlock ¶
func (m *ReleaseMetadata) MarshalBlock() ([]byte, error)
func (*ReleaseMetadata) MarshalJSON ¶
func (x *ReleaseMetadata) MarshalJSON() ([]byte, error)
MarshalJSON marshals the ReleaseMetadata to JSON.
func (*ReleaseMetadata) MarshalProtoJSON ¶
func (x *ReleaseMetadata) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the ReleaseMetadata message to JSON.
func (*ReleaseMetadata) MarshalProtoText ¶
func (x *ReleaseMetadata) MarshalProtoText() string
func (*ReleaseMetadata) MarshalToSizedBufferVT ¶
func (m *ReleaseMetadata) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ReleaseMetadata) MarshalToVT ¶
func (m *ReleaseMetadata) MarshalToVT(dAtA []byte) (int, error)
func (*ReleaseMetadata) MarshalVT ¶
func (m *ReleaseMetadata) MarshalVT() (dAtA []byte, err error)
func (*ReleaseMetadata) ProtoMessage ¶
func (*ReleaseMetadata) ProtoMessage()
func (*ReleaseMetadata) Reset ¶
func (x *ReleaseMetadata) Reset()
func (*ReleaseMetadata) SizeVT ¶
func (m *ReleaseMetadata) SizeVT() (n int)
func (*ReleaseMetadata) String ¶
func (x *ReleaseMetadata) String() string
func (*ReleaseMetadata) UnmarshalBlock ¶
func (m *ReleaseMetadata) UnmarshalBlock(data []byte) error
func (*ReleaseMetadata) UnmarshalJSON ¶
func (x *ReleaseMetadata) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the ReleaseMetadata from JSON.
func (*ReleaseMetadata) UnmarshalProtoJSON ¶
func (x *ReleaseMetadata) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the ReleaseMetadata message from JSON.
func (*ReleaseMetadata) UnmarshalVT ¶
func (m *ReleaseMetadata) UnmarshalVT(dAtA []byte) error
func (*ReleaseMetadata) Validate ¶
func (m *ReleaseMetadata) Validate() error
Validate checks the release metadata for required release-only fields.
type UpdateNotification ¶
type UpdateNotification struct {
// ChannelKey is the release channel that changed.
ChannelKey string `protobuf:"bytes,1,opt,name=channel_key,json=channelKey,proto3" json:"channelKey,omitempty"`
// InnerSeqno is the SORoot inner_seqno of the observed public root.
InnerSeqno uint64 `protobuf:"varint,2,opt,name=inner_seqno,json=innerSeqno,proto3" json:"innerSeqno,omitempty"`
// RootPointerUrl is the URL of the root.packedmsg that produced this
// notification.
RootPointerUrl string `protobuf:"bytes,3,opt,name=root_pointer_url,json=rootPointerUrl,proto3" json:"rootPointerUrl,omitempty"`
// contains filtered or unexported fields
}
UpdateNotification describes a newly available release root.
func (*UpdateNotification) CloneMessageVT ¶
func (m *UpdateNotification) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*UpdateNotification) CloneVT ¶
func (m *UpdateNotification) CloneVT() *UpdateNotification
func (*UpdateNotification) EqualMessageVT ¶
func (this *UpdateNotification) EqualMessageVT(thatMsg any) bool
func (*UpdateNotification) EqualVT ¶
func (this *UpdateNotification) EqualVT(that *UpdateNotification) bool
func (*UpdateNotification) GetChannelKey ¶
func (x *UpdateNotification) GetChannelKey() string
func (*UpdateNotification) GetInnerSeqno ¶
func (x *UpdateNotification) GetInnerSeqno() uint64
func (*UpdateNotification) GetRootPointerUrl ¶
func (x *UpdateNotification) GetRootPointerUrl() string
func (*UpdateNotification) MarshalBlock ¶
func (m *UpdateNotification) MarshalBlock() ([]byte, error)
func (*UpdateNotification) MarshalJSON ¶
func (x *UpdateNotification) MarshalJSON() ([]byte, error)
MarshalJSON marshals the UpdateNotification to JSON.
func (*UpdateNotification) MarshalProtoJSON ¶
func (x *UpdateNotification) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the UpdateNotification message to JSON.
func (*UpdateNotification) MarshalProtoText ¶
func (x *UpdateNotification) MarshalProtoText() string
func (*UpdateNotification) MarshalToSizedBufferVT ¶
func (m *UpdateNotification) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*UpdateNotification) MarshalToVT ¶
func (m *UpdateNotification) MarshalToVT(dAtA []byte) (int, error)
func (*UpdateNotification) MarshalVT ¶
func (m *UpdateNotification) MarshalVT() (dAtA []byte, err error)
func (*UpdateNotification) ProtoMessage ¶
func (*UpdateNotification) ProtoMessage()
func (*UpdateNotification) Reset ¶
func (x *UpdateNotification) Reset()
func (*UpdateNotification) SizeVT ¶
func (m *UpdateNotification) SizeVT() (n int)
func (*UpdateNotification) String ¶
func (x *UpdateNotification) String() string
func (*UpdateNotification) UnmarshalBlock ¶
func (m *UpdateNotification) UnmarshalBlock(data []byte) error
func (*UpdateNotification) UnmarshalJSON ¶
func (x *UpdateNotification) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the UpdateNotification from JSON.
func (*UpdateNotification) UnmarshalProtoJSON ¶
func (x *UpdateNotification) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the UpdateNotification message from JSON.
func (*UpdateNotification) UnmarshalVT ¶
func (m *UpdateNotification) UnmarshalVT(dAtA []byte) error
func (*UpdateNotification) Validate ¶
func (n *UpdateNotification) Validate() error
Validate checks the update notification for required routing fields.