Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Addons = map[string]*Addon{ "addon-manager": NewAddon([]*BinDataAsset{ NewBinDataAsset( "deploy/addons/addon-manager.yaml", "/etc/kubernetes/manifests/", "addon-manager.yaml", "0640"), }, true, "addon-manager"), "dashboard": NewAddon([]*BinDataAsset{ NewBinDataAsset( "deploy/addons/dashboard/dashboard-rc.yaml", constants.AddonsPath, "dashboard-rc.yaml", "0640"), NewBinDataAsset( "deploy/addons/dashboard/dashboard-svc.yaml", constants.AddonsPath, "dashboard-svc.yaml", "0640"), }, true, "dashboard"), "default-storageclass": NewAddon([]*BinDataAsset{ NewBinDataAsset( "deploy/addons/storageclass/storageclass.yaml", constants.AddonsPath, "storageclass.yaml", "0640"), }, true, "default-storageclass"), "kube-dns": NewAddon([]*BinDataAsset{ NewBinDataAsset( "deploy/addons/kube-dns/kube-dns-controller.yaml", constants.AddonsPath, "kube-dns-controller.yaml", "0640"), NewBinDataAsset( "deploy/addons/kube-dns/kube-dns-cm.yaml", constants.AddonsPath, "kube-dns-cm.yaml", "0640"), NewBinDataAsset( "deploy/addons/kube-dns/kube-dns-svc.yaml", constants.AddonsPath, "kube-dns-svc.yaml", "0640"), }, true, "kube-dns"), "heapster": NewAddon([]*BinDataAsset{ NewBinDataAsset( "deploy/addons/heapster/influxGrafana-rc.yaml", constants.AddonsPath, "influxGrafana-rc.yaml", "0640"), NewBinDataAsset( "deploy/addons/heapster/grafana-svc.yaml", constants.AddonsPath, "grafana-svc.yaml", "0640"), NewBinDataAsset( "deploy/addons/heapster/influxdb-svc.yaml", constants.AddonsPath, "influxdb-svc.yaml", "0640"), NewBinDataAsset( "deploy/addons/heapster/heapster-rc.yaml", constants.AddonsPath, "heapster-rc.yaml", "0640"), NewBinDataAsset( "deploy/addons/heapster/heapster-svc.yaml", constants.AddonsPath, "heapster-svc.yaml", "0640"), }, false, "heapster"), "ingress": NewAddon([]*BinDataAsset{ NewBinDataAsset( "deploy/addons/ingress/ingress-configmap.yaml", constants.AddonsPath, "ingress-configmap.yaml", "0640"), NewBinDataAsset( "deploy/addons/ingress/ingress-rc.yaml", constants.AddonsPath, "ingress-rc.yaml", "0640"), NewBinDataAsset( "deploy/addons/ingress/ingress-svc.yaml", constants.AddonsPath, "ingress-svc.yaml", "0640"), }, false, "ingress"), "registry": NewAddon([]*BinDataAsset{ NewBinDataAsset( "deploy/addons/registry/registry-rc.yaml", constants.AddonsPath, "registry-rc.yaml", "0640"), NewBinDataAsset( "deploy/addons/registry/registry-svc.yaml", constants.AddonsPath, "registry-svc.yaml", "0640"), }, false, "registry"), "registry-creds": NewAddon([]*BinDataAsset{ NewBinDataAsset( "deploy/addons/registry-creds/registry-creds-rc.yaml", constants.AddonsPath, "registry-creds-rc.yaml", "0640"), }, false, "registry-creds"), }
Functions ¶
func AddMinikubeDirToAssets ¶ added in v0.22.0
func AddMinikubeDirToAssets(minipath string, vmpath string, assetList *[]CopyableFile)
Types ¶
type Addon ¶
type Addon struct { Assets []*BinDataAsset // contains filtered or unexported fields }
type BaseAsset ¶
type BaseAsset struct { Length int AssetName string TargetDir string TargetName string Permissions string // contains filtered or unexported fields }
func (*BaseAsset) GetAssetName ¶
func (*BaseAsset) GetPermissions ¶
func (*BaseAsset) GetTargetDir ¶
func (*BaseAsset) GetTargetName ¶
type BinDataAsset ¶ added in v0.22.0
type BinDataAsset struct {
BaseAsset
}
func NewBinDataAsset ¶ added in v0.22.0
func NewBinDataAsset(assetName, targetDir, targetName, permissions string) *BinDataAsset
func (*BinDataAsset) GetLength ¶ added in v0.22.0
func (m *BinDataAsset) GetLength() int
type CopyableFile ¶
type MemoryAsset ¶
type MemoryAsset struct {
BaseAsset
}
func NewMemoryAsset ¶
func NewMemoryAsset(d []byte, targetDir, targetName, permissions string) *MemoryAsset
func (*MemoryAsset) GetLength ¶
func (m *MemoryAsset) GetLength() int
Click to show internal directories.
Click to hide internal directories.