payload

package
v0.15.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 14, 2024 License: Apache-2.0 Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ResourceStatusHash

type ResourceStatusHash struct {
	ResourceID string `json:"resourceID"`
	StatusHash string `json:"statusHash"`
}

type ResourceStatusHashList

type ResourceStatusHashList struct {
	Hashes []ResourceStatusHash `json:"statusHashes"`
}

ResourceStatusHashList represents the status hash of the resources maintained by the source. The item of this list includes the resource ID and resource status hash.

func DecodeStatusResyncRequest

func DecodeStatusResyncRequest(evt cloudevents.Event) (*ResourceStatusHashList, error)

type ResourceVersion

type ResourceVersion struct {
	ResourceID      string `json:"resourceID"`
	ResourceVersion int64  `json:"resourceVersion"`
}

type ResourceVersionList

type ResourceVersionList struct {
	Versions []ResourceVersion `json:"resourceVersions"`
}

ResourceVersionList represents the resource versions of the resources maintained by the agent. The item of this list includes the resource ID and resource version.

func DecodeSpecResyncRequest

func DecodeSpecResyncRequest(evt cloudevents.Event) (*ResourceVersionList, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL