rancher

package
v0.0.0-...-a61958c Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2023 License: MIT Imports: 15 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	Client dynamic.Interface
	Config *rest.Config
}

func (Client) GetBackups

func (r Client) GetBackups() ([]backup, error)

func (Client) GetClusterConnectedState

func (r Client) GetClusterConnectedState() (map[string]bool, error)

func (Client) GetDownstreamClusterVersions

func (r Client) GetDownstreamClusterVersions() ([]clusterVersion, error)

func (Client) GetInstalledRancherVersion

func (r Client) GetInstalledRancherVersion() (string, error)

func (Client) GetK8sDistributions

func (r Client) GetK8sDistributions() (map[string]int, error)

func (Client) GetLatestRancherVersion

func (r Client) GetLatestRancherVersion() (string, error)

func (Client) GetManagedNodeInfo

func (r Client) GetManagedNodeInfo() ([]nodeInfo, error)

func (Client) GetNumberOfBackups

func (r Client) GetNumberOfBackups() (int, error)

func (Client) GetNumberOfManagedClusters

func (r Client) GetNumberOfManagedClusters() (int, error)

func (Client) GetNumberOfManagedNodes

func (r Client) GetNumberOfManagedNodes() (int, error)

func (Client) GetNumberOfRestores

func (r Client) GetNumberOfRestores() (int, error)

func (Client) GetNumberOfTokens

func (r Client) GetNumberOfTokens() (int, error)

func (Client) GetNumberOfUsers

func (r Client) GetNumberOfUsers() (int, error)

func (Client) GetNumberofProjects

func (r Client) GetNumberofProjects() (int, error)

func (Client) GetProjectAnnotations

func (r Client) GetProjectAnnotations() ([]projectAnnotation, error)

func (Client) GetProjectLabels

func (r Client) GetProjectLabels() ([]projectLabel, error)

func (Client) GetProjectResourceQuota

func (r Client) GetProjectResourceQuota() ([]projectResource, error)

func (Client) GetRancherCustomResourceCount

func (r Client) GetRancherCustomResourceCount() (map[string]int, error)

func (Client) GetRestores

func (r Client) GetRestores() ([]restore, error)

type Release

type Release struct {
	TagName string `json:"tag_name"`
}

Jump to

Keyboard shortcuts

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