sync

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CalculateStatus

func CalculateStatus(request *SyncRequest) *api.EdgeNetworkStatus

func Handler

func Handler(w http.ResponseWriter, r *http.Request)

Types

type SyncRequest

type SyncRequest struct {
	Parent   api.EdgeNetwork     `json:"parent"`
	Children SyncRequestChildren `json:"children"`
}

type SyncRequestChildren

type SyncRequestChildren struct {
	DaemonSet  map[string]*appsv1.DaemonSet `json:"DaemonSet.apps/v1"`
	Configmaps map[string]*v1.ConfigMap     `json:"Configmap.v1"`
}

type SyncResponse

type SyncResponse struct {
	Status   *api.EdgeNetworkStatus `json:"status"`
	Children []runtime.Object       `json:"children"`
}

Jump to

Keyboard shortcuts

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