rancher

package
v1.12.0 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunBackup

func RunBackup(apiEndpointUrl string, token string, absoluteStoragePath string)

Types

type RancherApiPagination

type RancherApiPagination struct {
	Limit int `json:"limit"`
	Total int `json:"total"`
}

type RancherApiResponse

type RancherApiResponse struct {
	Type string `json:"type"`

	// filled for lists of things, where Type == "collection"
	ResourceType string            `json:"resourceType"`
	Links        map[string]string `json:"links"`

	// filled for lists of things, where Type == "collection"
	// is an array of: maps from string to anything
	Data []map[string]interface{} `json:"data"`

	Pagination RancherApiPagination `json:"pagination"`
}

Jump to

Keyboard shortcuts

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