Documentation ¶
Overview ¶
Package clusterinfo GENERATED BY gengo:runtimedoc DON'T EDIT THIS FILE
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ContextWithClusterInfo ¶
func ContextWithClusterInfo(ctx context.Context, n *ClusterInfo) context.Context
Types ¶
type ClusterInfo ¶
type ClusterInfo struct { Nodes []*ClusterNode `json:"nodes"` Images []string `json:"-"` }
func FromContext ¶
func FromContext(ctx context.Context) *ClusterInfo
func (ClusterInfo) RuntimeDoc ¶
func (v ClusterInfo) RuntimeDoc(names ...string) ([]string, bool)
func (ClusterInfo) SupportedPlatforms ¶
func (v ClusterInfo) SupportedPlatforms() []string
type ClusterNode ¶
type ClusterNode struct { corev1.NodeSystemInfo Role string `json:"role"` Hostname string `json:"hostname"` InternalIP string `json:"internalIP"` ExternalIP string `json:"externalIP"` }
func (ClusterNode) RuntimeDoc ¶
func (v ClusterNode) RuntimeDoc(names ...string) ([]string, bool)
Click to show internal directories.
Click to hide internal directories.