Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AssetsResource ¶ added in v1.3.1
type AssetsResource struct {
RootDir string
}
func NewAssertsResource ¶
func NewAssertsResource() *AssetsResource
func (*AssetsResource) WebService ¶ added in v1.3.1
func (c *AssetsResource) WebService() *restful.WebService
type SSHResource ¶
type SSHResource struct { }
SSHResource is the REST layer to the Cluster domain
func (*SSHResource) WebService ¶
func (c *SSHResource) WebService() *restful.WebService
WebService creates a new service that can handle REST requests for SSHResource.
type TKE ¶
type TKE struct { Config *config.Config `json:"config"` Para *types.CreateClusterPara `json:"para"` Cluster *v1.Cluster `json:"cluster"` Step int `json:"step"` // IncludeSelf means installer is using one of cluster's machines IncludeSelf bool `json:"includeSelf"` // contains filtered or unexported fields }
func (*TKE) WebService ¶
func (t *TKE) WebService() *restful.WebService
WebService creates a new service that can handle REST requests for ClusterResource.
Click to show internal directories.
Click to hide internal directories.