Documentation ¶
Index ¶
Constants ¶
View Source
const ( DefaultVersion = "v1" DefaultShortDescription = "logging information" DefaultDescription = "logging detail information of the strategy" DefaultName = "hello-world-cluster" DefaultKind = strategies.KindController DefaultImage = "simple-test" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cluster ¶
type Cluster struct { ClusterVersion string `json:"version"` ClusterShortDescription string `json:"short description"` ClusterDescription string `json:"detail description"` ClusterName string `json:"name"` ClusterMasterKind string `json:"kind"` ClusterMasterImage string `json:"image"` ClusterMasterGuid string `json:"guid"` ClusterMasterContainerId string `json:"containerId"` ClusterMasterContainerName string `json:"containerName"` ClusterMasterContainerEnvs map[string]string `json:"envs"` ClusterMasterContainerArgs map[string]string `json:"args"` ClusterMasterContainerRes map[string]string `json:"res"` ClusterSlaves map[string]int `json:"slaves"` //ClusterDevices map[string]string `json:"devices"` //ClusterServices map[string]string `json:"services"` ClusterResources map[string]string `json:"resources"` }
func NewCluster ¶
func NewCluster(s *strategies.Strategy) *Cluster
func NewDefaultCluster ¶
func NewDefaultCluster() *Cluster
type ClusterRes ¶
func NewDefaultClusterRes ¶
func NewDefaultClusterRes() *ClusterRes
func (*ClusterRes) DeepCopy ¶
func (r *ClusterRes) DeepCopy() *ClusterRes
Click to show internal directories.
Click to hide internal directories.