registryhelper

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RemoveManifestsRequest

type RemoveManifestsRequest struct {
	RegistryURL string
	Images      []string
	ClusterKey  string
}

type RemoveManifestsResponse

type RemoveManifestsResponse struct {
	Succeed []string
	Failed  map[string]string
}

type State

type State struct {
	Running   bool      `json:"running"`
	StartTime time.Time `json:"startTime"`
	EndTime   time.Time `json:"endTime"`
	LastError string    `json:"lastError"`
}

func GetGcState

func GetGcState(registryctlURL, clusterKey string) (*State, error)

type StateReply

type StateReply struct {
	Success bool   `json:"success"`
	Data    *State `json:"data"`
	Err     *struct {
		Code string      `json:"code"`
		Msg  string      `json:"msg"`
		Ctx  interface{} `json:"ctx"`
	} `json:"err"`
}

Jump to

Keyboard shortcuts

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