Documentation
¶
Index ¶
- Variables
- func DecodeRelease(data string) (*rspb.Release, error)
- func Execute(cmd []string) []byte
- func ExecuteCombined(cmd []string) []byte
- func GetClientSet() (*kubernetes.Clientset, error)
- func GetClientSetWithConfig(config *cli.EnvSettings) (*kubernetes.Clientset, error)
- func GetClientSetWithKubeConfig(kubeConfigFile, context string) *kubernetes.Clientset
- func GetTillerStorage(tillerNamespace string) string
- func GetTillerStorageWithKubeConfig(tillerNamespace string, config *cli.EnvSettings) string
- func ListReleaseNamesInNamespace(o ListReleaseNamesInNamespaceOptions) (string, error)
- func ListReleaseNamesInNamespaceWithKubeConfig(o ListReleaseNamesInNamespaceOptions, config *cli.EnvSettings) (string, error)
- type ListOptions
- type ListReleaseNamesInNamespaceOptions
- type ReleaseData
Constants ¶
This section is empty.
Variables ¶
var DefaultEnv = &cli.EnvSettings{
KubeConfig: "",
KubeContext: "",
}
Functions ¶
func DecodeRelease ¶
DecodeRelease decodes release data from a tiller resource (configmap/secret)
func ExecuteCombined ¶
ExecuteCombined executes a command and resturns the combined output
func GetClientSet ¶
func GetClientSet() (*kubernetes.Clientset, error)
GetClientSet returns a kubernetes ClientSet
func GetClientSetWithConfig ¶
func GetClientSetWithConfig(config *cli.EnvSettings) (*kubernetes.Clientset, error)
func GetClientSetWithKubeConfig ¶
func GetClientSetWithKubeConfig(kubeConfigFile, context string) *kubernetes.Clientset
GetClientSetWithKubeConfig returns a kubernetes ClientSet
func GetTillerStorage ¶
GetTillerStorage returns the storage type of tiller (configmaps/secrets)
func GetTillerStorageWithKubeConfig ¶
func GetTillerStorageWithKubeConfig(tillerNamespace string, config *cli.EnvSettings) string
GetTillerStorageWithKubeConfig returns the storage type of tiller (configmaps/secrets)
func ListReleaseNamesInNamespace ¶
func ListReleaseNamesInNamespace(o ListReleaseNamesInNamespaceOptions) (string, error)
ListReleaseNamesInNamespace returns a string list of all releases in a provided namespace
func ListReleaseNamesInNamespaceWithKubeConfig ¶
func ListReleaseNamesInNamespaceWithKubeConfig(o ListReleaseNamesInNamespaceOptions, config *cli.EnvSettings) (string, error)
ListReleaseNamesInNamespaceWithKubeConfig returns a string list of all releases in a provided namespace
Types ¶
type ListOptions ¶
type ReleaseData ¶
type ReleaseData struct { Name string Revision int32 Updated string Status string Chart string Namespace string Time time.Time Manifest string }
func GetReleaseData ¶
func GetReleaseData(itemReleaseData string) *ReleaseData
GetReleaseData returns a decoded structed release data
func ListReleases ¶
func ListReleases(o ListOptions) ([]ReleaseData, error)
ListReleases lists all releases according to provided options
func ListReleasesWithKubeConfig ¶
func ListReleasesWithKubeConfig(o ListOptions, config *cli.EnvSettings) ([]ReleaseData, error)
ListReleasesWithKubeConfig lists all releases according to provided options