Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Node ¶
type Node struct {
// contains filtered or unexported fields
}
Node is a Avalanchego representation on k8s
func (*Node) GetAPIPort ¶
func (*Node) GetK8sObjSpec ¶
func (n *Node) GetK8sObjSpec() *k8sapi.Avalanchego
GetK8sObjSpec returns the kubernetes object spec representation of this node
type ObjectSpec ¶
type ObjectSpec struct { Namespace string `json:"namespace"` // The kubernetes Namespace Identifier string `json:"identifier"` // Identifies this network in the cluster Kind string `json:"kind"` // Identifies the object Kind for the operator APIVersion string `json:"apiVersion"` // The APIVersion of the kubernetes object Image string `json:"image"` // The docker image to use Tag string `json:"tag"` // The docker tag to use }
ObjectSpec is the K8s-specifc object config. This is the "implementation-specic config" for the K8s-based network runner. See struct Config in network/node/node.go.
Click to show internal directories.
Click to hide internal directories.