Documentation ¶
Index ¶
- Constants
- type Synchronizer
- func (s *Synchronizer) BatchCallback(ctx context.Context, kind domain.Kind, batchType domain.BatchType, ...) error
- func (s *Synchronizer) DeleteObjectCallback(ctx context.Context, id domain.KindName) error
- func (s *Synchronizer) GetObjectCallback(ctx context.Context, id domain.KindName, baseObject []byte) error
- func (s *Synchronizer) PatchObjectCallback(ctx context.Context, id domain.KindName, checksum string, patch []byte) error
- func (s *Synchronizer) PutObjectCallback(ctx context.Context, id domain.KindName, object []byte) error
- func (s *Synchronizer) Start(ctx context.Context) error
- func (s *Synchronizer) Stop(ctx context.Context) error
- func (s *Synchronizer) VerifyObjectCallback(ctx context.Context, id domain.KindName, checksum string) error
Constants ¶
View Source
const ( AccessKeyHeader = "X-API-KEY" AccountHeader = "X-API-ACCOUNT" ClusterNameHeader = "X-API-CLUSTER" HelmVersionHeader = "X-HELM-VERSION" VersionHeader = "X-SYNCHRONIZER-VERSION" GitVersionHeader = "X-GIT-VERSION" CloudProviderHeader = "X-CLOUD-PROVIDER" )
These headers are required for client-server authentication
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Synchronizer ¶
func NewSynchronizerClient ¶
func NewSynchronizerServer ¶
func (*Synchronizer) BatchCallback ¶ added in v0.0.47
func (s *Synchronizer) BatchCallback(ctx context.Context, kind domain.Kind, batchType domain.BatchType, items domain.BatchItems) error
func (*Synchronizer) DeleteObjectCallback ¶
func (*Synchronizer) GetObjectCallback ¶
func (*Synchronizer) PatchObjectCallback ¶
func (*Synchronizer) PutObjectCallback ¶
func (*Synchronizer) VerifyObjectCallback ¶
Click to show internal directories.
Click to hide internal directories.