Documentation ¶
Overview ¶
Package helm provides utils for helm.
Package helm provides utils for helm.
Package helm provides utils for helm.
Package helm provides utils for helm.
Package helm provides utils for helm.
Index ¶
- func DownloadChart(url string) (*chart.Chart, error)
- func DownloadChartFiles(url string) ([]*chart.File, error)
- type HelmClientImpl
- func (h *HelmClientImpl) Create(chart *chart.Chart, info IPineappleInfo) (*release.Release, error)
- func (h *HelmClientImpl) Delete(releaseName string) error
- func (h *HelmClientImpl) DeleteListWithKeepHistory(releases []*release.Release, description string) error
- func (h *HelmClientImpl) DeleteWithKeepHistory(releaseName string) error
- func (h *HelmClientImpl) GetPodList(helmReleaseInfo IHelmReleaseInfo) (*[]v1.Pod, error)
- func (h *HelmClientImpl) GetServiceList(helmReleaseInfo IHelmReleaseInfo) (*[]v1.Service, error)
- func (h *HelmClientImpl) GetSpecifyInvolvedObjectEventList(involvedObjectName string) (*[]v1.Event, error)
- func (h *HelmClientImpl) List(filter string) ([]*release.Release, error)
- type IHelmReleaseInfo
- type IPineappleInfo
- type PineappleInfo
- func (p *PineappleInfo) CreateChartValues() (map[string]interface{}, error)
- func (p *PineappleInfo) GetName() string
- func (p *PineappleInfo) GetPrefix() string
- func (p *PineappleInfo) GetUserID() string
- func (p *PineappleInfo) GetValues() map[string]interface{}
- func (p *PineappleInfo) SetValues(values map[string]interface{})
- type PostRendererImpl
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type HelmClientImpl ¶
type HelmClientImpl struct { Config *genericclioptions.ConfigFlags ActionConfig *action.Configuration }
func (*HelmClientImpl) Create ¶
func (h *HelmClientImpl) Create(chart *chart.Chart, info IPineappleInfo) (*release.Release, error)
func (*HelmClientImpl) Delete ¶
func (h *HelmClientImpl) Delete(releaseName string) error
func (*HelmClientImpl) DeleteListWithKeepHistory ¶
func (h *HelmClientImpl) DeleteListWithKeepHistory(releases []*release.Release, description string) error
func (*HelmClientImpl) DeleteWithKeepHistory ¶
func (h *HelmClientImpl) DeleteWithKeepHistory(releaseName string) error
func (*HelmClientImpl) GetPodList ¶
func (h *HelmClientImpl) GetPodList(helmReleaseInfo IHelmReleaseInfo) (*[]v1.Pod, error)
func (*HelmClientImpl) GetServiceList ¶
func (h *HelmClientImpl) GetServiceList(helmReleaseInfo IHelmReleaseInfo) (*[]v1.Service, error)
func (*HelmClientImpl) GetSpecifyInvolvedObjectEventList ¶
func (h *HelmClientImpl) GetSpecifyInvolvedObjectEventList(involvedObjectName string) (*[]v1.Event, error)
type IHelmReleaseInfo ¶
type IPineappleInfo ¶
type PineappleInfo ¶
func NewPineappleInfo ¶
func NewPineappleInfo(name string, userID string, prefix string) (*PineappleInfo, error)
func (*PineappleInfo) CreateChartValues ¶
func (p *PineappleInfo) CreateChartValues() (map[string]interface{}, error)
func (*PineappleInfo) GetName ¶
func (p *PineappleInfo) GetName() string
func (*PineappleInfo) GetPrefix ¶
func (p *PineappleInfo) GetPrefix() string
func (*PineappleInfo) GetUserID ¶
func (p *PineappleInfo) GetUserID() string
func (*PineappleInfo) GetValues ¶
func (p *PineappleInfo) GetValues() map[string]interface{}
func (*PineappleInfo) SetValues ¶
func (p *PineappleInfo) SetValues(values map[string]interface{})
type PostRendererImpl ¶
type PostRendererImpl struct {
// contains filtered or unexported fields
}
func NewPostRendererImpl ¶
func NewPostRendererImpl() *PostRendererImpl
func (*PostRendererImpl) WriteFile ¶
func (p *PostRendererImpl) WriteFile(path string, content string) error
func (*PostRendererImpl) WriteKustomzation ¶
func (p *PostRendererImpl) WriteKustomzation(path string, content string) error
Click to show internal directories.
Click to hide internal directories.