client-gok8s.io/client-go/1.4/pkg/api/util Index | Files

package util

import "k8s.io/client-go/1.4/pkg/api/util"

TODO: This GetVersion/GetGroup arrangement is temporary and will be replaced with a GroupAndVersion type.

Index

Functions

func GetGroup

func GetGroup(groupVersion string) string

func GetGroupVersion

func GetGroupVersion(group, version string) string

GetGroupVersion returns the "group/version". It returns "version" is if group is empty. It returns "group/" if version is empty.

func GetVersion

func GetVersion(groupVersion string) string

Source Files

group_version.go

Version
v1.4.0
Published
Oct 17, 2016
Platform
js/wasm
Imports
1 packages
Last checked
7 seconds ago

Tools for package owners.