Versions in this module Expand all Collapse all v1 v1.5.1 Apr 28, 2017 Changes in this version + const ConfigSyntax + func AnonymousClientConfig(config *restclient.Config) restclient.Config + func BindClientConfigSecurityFlags(config *restclient.Config, flags *pflag.FlagSet) + func DefaultClientConfig(flags *pflag.FlagSet) kclientcmd.ClientConfig + func DefaultGenerators(cmdName string) map[string]kubectl.Generator + func EnvVars(host string, caData []byte, insecure bool, bearerTokenFile string) []api.EnvVar + func FindAllCanonicalResources(d discovery.DiscoveryInterface, m meta.RESTMapper) ([]unversioned.GroupResource, error) + func GetPrettyErrorFor(err error) error + func GetPrettyErrorForServer(err error, serverName string) error + func GetPrettyMessageFor(err error) string + func GetPrettyMessageForServer(err error, serverName string) string + func IsCertificateAuthorityUnknown(err error) bool + func IsCertificateHostnameError(err error) bool + func IsCertificateInvalid(err error) bool + func IsConfigurationInvalid(err error) bool + func IsConfigurationMissing(err error) bool + func IsForbidden(err error) bool + func IsNoServerFound(err error) bool + func IsTLSOversizedRecord(err error) bool + func NewObjectMappingFactory(clientAccessFactory ClientAccessFactory) kcmdutil.ObjectMappingFactory + func ResourceMapper(f kcmdutil.Factory) *resource.Mapper + type ClientAccessFactory interface + Clients func() (*client.Client, kclientset.Interface, error) + ImageResolutionOptions func() FlagBinder + OpenShiftClientConfig func() kclientcmd.ClientConfig + func NewClientAccessFactory(optionalClientConfig kclientcmd.ClientConfig) ClientAccessFactory + type Config struct + CommonConfig restclient.Config + FromFile bool + KubernetesAddr flagtypes.Addr + MasterAddr flagtypes.Addr + Namespace string + SkipEnv bool + func NewConfig() *Config + func (cfg *Config) Bind(flags *pflag.FlagSet) + func (cfg *Config) BindToFile() *Config + func (cfg *Config) Clients() (osclient.Interface, kclientset.Interface, error) + func (cfg *Config) KubeConfig() *restclient.Config + func (cfg *Config) OpenShiftConfig() *restclient.Config + type Factory struct + func New(flags *pflag.FlagSet) *Factory + func NewFactory(optionalClientConfig kclientcmd.ClientConfig) *Factory + func (f *Factory) ApproximatePodTemplateForObject(object runtime.Object) (*api.PodTemplateSpec, error) + func (f *Factory) ExtractFileContents(obj runtime.Object) (map[string][]byte, bool, error) + func (f *Factory) PodForResource(resource string, timeout time.Duration) (string, error) + func (f *Factory) PrintResourceInfos(cmd *cobra.Command, infos []*resource.Info, out io.Writer) error + func (f *Factory) UpdateObjectEnvironment(obj runtime.Object, fn func(*[]api.EnvVar) error) (bool, error) + type FlagBinder interface + Bind func(*pflag.FlagSet) + Bound func() bool + type ShortcutExpander struct + All []string + RESTMapper meta.RESTMapper + func NewShortcutExpander(discoveryClient discovery.DiscoveryInterface, delegate meta.RESTMapper) ShortcutExpander + func (e ShortcutExpander) AliasesForResource(resource string) ([]string, bool) + func (e ShortcutExpander) KindFor(resource unversioned.GroupVersionResource) (unversioned.GroupVersionKind, error) + func (e ShortcutExpander) KindsFor(resource unversioned.GroupVersionResource) ([]unversioned.GroupVersionKind, error) + func (e ShortcutExpander) RESTMapping(gk unversioned.GroupKind, versions ...string) (*meta.RESTMapping, error) + func (e ShortcutExpander) RESTMappings(gk unversioned.GroupKind) ([]*meta.RESTMapping, error) + func (e ShortcutExpander) ResourceFor(resource unversioned.GroupVersionResource) (unversioned.GroupVersionResource, error) + func (e ShortcutExpander) ResourceSingularizer(resource string) (string, error) + func (e ShortcutExpander) ResourcesFor(resource unversioned.GroupVersionResource) ([]unversioned.GroupVersionResource, error) v1.5.0-alpha.1 Dec 29, 2016 Incompatible versions in this module v3.7.0-alpha.0+incompatible Aug 1, 2017