Documentation ¶
Index ¶
Constants ¶
View Source
const DefaultKubeProfilePreifx = "/supergiant/profile"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CloudSpecificSettings ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
func NewHandler ¶
func (*Handler) CreateProfile ¶
func (h *Handler) CreateProfile(w http.ResponseWriter, r *http.Request)
func (*Handler) GetProfile ¶
func (h *Handler) GetProfile(w http.ResponseWriter, r *http.Request)
func (*Handler) GetProfiles ¶
func (h *Handler) GetProfiles(w http.ResponseWriter, r *http.Request)
type NodeProfile ¶
type Profile ¶
type Profile struct { ID string `json:"id" valid:"required"` MasterProfiles []NodeProfile `json:"masterProfiles" valid:"-"` NodesProfiles []NodeProfile `json:"nodesProfiles" valid:"-"` // TODO(stgleb): In future releases arch will probably migrate to node profile // to allow user create heterogeneous cluster of machine with different arch Provider clouds.Name `json:"provider" valid:"in(aws|digitalocean|packet|gce|openstack)" valid:"-"` Region string `json:"region" valid:"-"` Zone string `json:"zone" valid:"-"` Arch string `json:"arch" valid:"-"` OperatingSystem string `json:"operatingSystem" valid:"-"` UbuntuVersion string `json:"ubuntuVersion" valid:"-"` DockerVersion string `json:"dockerVersion" valid:"-"` K8SVersion string `json:"K8SVersion" valid:"-"` FlannelVersion string `json:"flannelVersion" valid:"-"` NetworkType string `json:"networkType" valid:"-"` CIDR string `json:"cidr" valid:"-"` HelmVersion string `json:"helmVersion" valid:"-"` User string `json:"user" valid:"-"` Password string `json:"password" valid:"-"` RBACEnabled bool `json:"rbacEnabled" valid:"-"` CloudSpecificSettings CloudSpecificSettings `json:"cloudSpecificSettings" valid:"-"` PublicKey string `json:"publicKey" valid:"-"` LogBootstrapPrivateKey bool `json:"logBootstrapPrivateKey" valid:"-"` }
Click to show internal directories.
Click to hide internal directories.