Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Addons = map[string]*Addon{ "addon-manager": NewAddon([]*MemoryAsset{ NewMemoryAsset( "deploy/addons/addon-manager.yaml", "/etc/kubernetes/manifests/", "addon-manager.yaml", "0640"), }, true, "addon-manager"), "dashboard": NewAddon([]*MemoryAsset{ NewMemoryAsset( "deploy/addons/dashboard/dashboard-rc.yaml", constants.AddonsPath, "dashboard-rc.yaml", "0640"), NewMemoryAsset( "deploy/addons/dashboard/dashboard-svc.yaml", constants.AddonsPath, "dashboard-svc.yaml", "0640"), }, true, "dashboard"), "default-storageclass": NewAddon([]*MemoryAsset{ NewMemoryAsset( "deploy/addons/storageclass/storageclass.yaml", constants.AddonsPath, "storageclass.yaml", "0640"), }, true, "default-storageclass"), "kube-dns": NewAddon([]*MemoryAsset{ NewMemoryAsset( "deploy/addons/kube-dns/kube-dns-controller.yaml", constants.AddonsPath, "kube-dns-controller.yaml", "0640"), NewMemoryAsset( "deploy/addons/kube-dns/kube-dns-cm.yaml", constants.AddonsPath, "kube-dns-cm.yaml", "0640"), NewMemoryAsset( "deploy/addons/kube-dns/kube-dns-svc.yaml", constants.AddonsPath, "kube-dns-svc.yaml", "0640"), }, true, "kube-dns"), "heapster": NewAddon([]*MemoryAsset{ NewMemoryAsset( "deploy/addons/heapster/influxGrafana-rc.yaml", constants.AddonsPath, "influxGrafana-rc.yaml", "0640"), NewMemoryAsset( "deploy/addons/heapster/grafana-svc.yaml", constants.AddonsPath, "grafana-svc.yaml", "0640"), NewMemoryAsset( "deploy/addons/heapster/influxdb-svc.yaml", constants.AddonsPath, "influxdb-svc.yaml", "0640"), NewMemoryAsset( "deploy/addons/heapster/heapster-rc.yaml", constants.AddonsPath, "heapster-rc.yaml", "0640"), NewMemoryAsset( "deploy/addons/heapster/heapster-svc.yaml", constants.AddonsPath, "heapster-svc.yaml", "0640"), }, false, "heapster"), "ingress": NewAddon([]*MemoryAsset{ NewMemoryAsset( "deploy/addons/ingress/ingress-configmap.yaml", constants.AddonsPath, "ingress-configmap.yaml", "0640"), NewMemoryAsset( "deploy/addons/ingress/ingress-rc.yaml", constants.AddonsPath, "ingress-rc.yaml", "0640"), NewMemoryAsset( "deploy/addons/ingress/ingress-svc.yaml", constants.AddonsPath, "ingress-svc.yaml", "0640"), }, false, "ingress"), "registry-creds": NewAddon([]*MemoryAsset{ NewMemoryAsset( "deploy/addons/registry-creds/registry-creds-rc.yaml", constants.AddonsPath, "registry-creds-rc.yaml", "0640"), }, false, "registry-creds"), }
Functions ¶
func AddMinikubeAddonsDirToAssets ¶
func AddMinikubeAddonsDirToAssets(assetList *[]CopyableFile)
func CopyFileLocal ¶ added in v0.19.1
func CopyFileLocal(f CopyableFile) error
Types ¶
type Addon ¶
type Addon struct { Assets []*MemoryAsset // 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 CopyableFile ¶
type MemoryAsset ¶
type MemoryAsset struct {
BaseAsset
}
func NewMemoryAsset ¶
func NewMemoryAsset(assetName, targetDir, targetName, permissions string) *MemoryAsset
func (*MemoryAsset) GetLength ¶
func (m *MemoryAsset) GetLength() int
Click to show internal directories.
Click to hide internal directories.