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, error)
type InstanceHashes ¶
func (InstanceHashes) MarshalJSON ¶
func (ihm InstanceHashes) MarshalJSON() ([]byte, error)
func (*InstanceHashes) UnmarshalJSON ¶
func (ihm *InstanceHashes) 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"`
// InstanceHases stores the config hash for each master instance
InstanceHashes InstanceHashes `json:"instanceHashes,omitempty"`
}
func NewUpdateBlob ¶
func NewUpdateBlob() *UpdateBlob
Click to show internal directories.
Click to hide internal directories.