clusterinfo

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2021 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseJobHostBindTemplate

func ParseJobHostBindTemplate(hostPath string, clusterInfo apistructs.ClusterInfoData) (string, error)

ParseJobHostBindTemplate Analyze the hostPath template and replace it with the value of cluster info

Types

type ClusterInfo

type ClusterInfo interface {
	Info(string) (apistructs.ClusterInfoData, error)
	List([]string) (apistructs.ClusterInfoDataList, error)
}

func NewClusterInfoImpl

func NewClusterInfoImpl(js jsonstore.JsonStore) ClusterInfo

type ClusterInfoImpl

type ClusterInfoImpl struct {
	// contains filtered or unexported fields
}

func (*ClusterInfoImpl) Info

func (*ClusterInfoImpl) List

Jump to

Keyboard shortcuts

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