Documentation ¶
Index ¶
- Constants
- Variables
- func CheckCarbonNamespace(ns string) (bool, error)
- func CreateGlobalCarbonNamespace() error
- func Delete(manifest, ns string) error
- func GetAllNamespaces() (*apicorev1.NamespaceList, error)
- func GetAllResources() ([]string, error)
- func GetConfigMapHandler(namespace string) (typedcorev1.ConfigMapInterface, error)
- func GetNamespaceHandler() (typedcorev1.NamespaceInterface, error)
- func GetSecretHandler(namespace string) (typedcorev1.SecretInterface, error)
- func KubeCmdFactory(ns string) (cmdutil.Factory, genericclioptions.IOStreams)
- func KubeConfig() (*restclient.Config, error)
- func ReadTemplates(cfg *pkgcfg.CarbonConfig) ([]byte, error)
- func SetNamespace(cliNS string) error
- type DepVars
- type DepVarsPkg
- type KubeInstall
- func (self *KubeInstall) Apply(defPWL bool) error
- func (self *KubeInstall) Build() error
- func (self *KubeInstall) ProcessPatches(data []byte) error
- func (self *KubeInstall) SetAppLabel() error
- func (self *KubeInstall) UpdateVars(vars map[string]string)
- func (self *KubeInstall) VerifyAll(path string) error
- func (self *KubeInstall) VerifyTpl(path string) error
- type Patcher
Constants ¶
View Source
const (
GlobalCarbonNamespace = "carbon-data"
)
Variables ¶
View Source
var CurrentNamespace string
Functions ¶
func CheckCarbonNamespace ¶
func CreateGlobalCarbonNamespace ¶
func CreateGlobalCarbonNamespace() error
func GetAllNamespaces ¶
func GetAllNamespaces() (*apicorev1.NamespaceList, error)
func GetAllResources ¶
func GetConfigMapHandler ¶
func GetConfigMapHandler(namespace string) (typedcorev1.ConfigMapInterface, error)
func GetNamespaceHandler ¶
func GetNamespaceHandler() (typedcorev1.NamespaceInterface, error)
func GetSecretHandler ¶
func GetSecretHandler(namespace string) (typedcorev1.SecretInterface, error)
func KubeCmdFactory ¶
func KubeCmdFactory(ns string) (cmdutil.Factory, genericclioptions.IOStreams)
func KubeConfig ¶
func KubeConfig() (*restclient.Config, error)
func ReadTemplates ¶
func ReadTemplates(cfg *pkgcfg.CarbonConfig) ([]byte, error)
func SetNamespace ¶
Types ¶
type DepVars ¶
type DepVars struct { Pkg DepVarsPkg Var map[string]string }
type DepVarsPkg ¶
type KubeInstall ¶
func NewKubeInstall ¶
func NewKubeInstall(meta *pkgmeta.PackageConfig, dname string, dtag string) (*KubeInstall, error)
func (*KubeInstall) Apply ¶
func (self *KubeInstall) Apply(defPWL bool) error
func (*KubeInstall) Build ¶
func (self *KubeInstall) Build() error
func (*KubeInstall) ProcessPatches ¶
func (self *KubeInstall) ProcessPatches(data []byte) error
func (*KubeInstall) SetAppLabel ¶
func (self *KubeInstall) SetAppLabel() error
func (*KubeInstall) UpdateVars ¶
func (self *KubeInstall) UpdateVars(vars map[string]string)
func (*KubeInstall) VerifyAll ¶
func (self *KubeInstall) VerifyAll(path string) error
func (*KubeInstall) VerifyTpl ¶
func (self *KubeInstall) VerifyTpl(path string) error
Click to show internal directories.
Click to hide internal directories.