Documentation ¶
Index ¶
Constants ¶
View Source
const ( UpdateContainerName = "update" UpdateBlobName = "update" )
here follow well known container and blob names
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlobService ¶
type BlobService interface { Read() (*UpdateBlob, error) Write(*UpdateBlob) error }
func NewBlobService ¶
func NewBlobService(bsc storage.BlobStorageClient) BlobService
type HostnameHashes ¶
func (HostnameHashes) MarshalJSON ¶
func (hhm HostnameHashes) MarshalJSON() ([]byte, error)
func (*HostnameHashes) UnmarshalJSON ¶
func (hhm *HostnameHashes) UnmarshalJSON(data []byte) error
type ScalesetHashes ¶
func (ScalesetHashes) MarshalJSON ¶
func (shm ScalesetHashes) MarshalJSON() ([]byte, error)
func (*ScalesetHashes) UnmarshalJSON ¶
func (shm *ScalesetHashes) UnmarshalJSON(data []byte) error
type UpdateBlob ¶
type UpdateBlob struct { // ScalesetHashes stores the config hash for each worker scaleset ScalesetHashes ScalesetHashes `json:"scalesetHashes,omitempty"` // HostnameHashes stores the config hash for each master instance HostnameHashes HostnameHashes `json:"hostnameHashes,omitempty"` }
func NewUpdateBlob ¶
func NewUpdateBlob() *UpdateBlob
Click to show internal directories.
Click to hide internal directories.