Versions in this module Expand all Collapse all v1 v1.5.1 Apr 28, 2017 Changes in this version + const CreateKubeconfigRecommendedName + const GetServiceAccountTokenRecommendedName + const NewServiceAccountTokenRecommendedName + const ServiceAccountsRecommendedName + func NewCmdServiceAccounts(name, fullName string, f *clientcmd.Factory, out, errOut io.Writer) *cobra.Command + func NewCommandCreateKubeconfig(name, fullname string, f *clientcmd.Factory, out io.Writer) *cobra.Command + func NewCommandGetServiceAccountToken(name, fullname string, f *clientcmd.Factory, out io.Writer) *cobra.Command + func NewCommandNewServiceAccountToken(name, fullname string, f *clientcmd.Factory, out io.Writer) *cobra.Command + type CreateKubeconfigOptions struct + ContextNamespace string + Err io.Writer + Out io.Writer + RawConfig clientcmdapi.Config + SAClient kcoreclient.ServiceAccountInterface + SAName string + SecretsClient kcoreclient.SecretInterface + func (o *CreateKubeconfigOptions) Complete(args []string, f *clientcmd.Factory, cmd *cobra.Command) error + func (o *CreateKubeconfigOptions) Run() error + func (o *CreateKubeconfigOptions) Validate() error + type GetServiceAccountTokenOptions struct + Err io.Writer + Out io.Writer + SAClient kcoreclient.ServiceAccountInterface + SAName string + SecretsClient kcoreclient.SecretInterface + func (o *GetServiceAccountTokenOptions) Complete(args []string, f *clientcmd.Factory, cmd *cobra.Command) error + func (o *GetServiceAccountTokenOptions) Run() error + func (o *GetServiceAccountTokenOptions) Validate() error + type NewServiceAccountTokenOptions struct + Err io.Writer + Labels map[string]string + Out io.Writer + SAClient kcoreclient.ServiceAccountInterface + SAName string + SecretsClient kcoreclient.SecretInterface + Timeout time.Duration + func (o *NewServiceAccountTokenOptions) Complete(args []string, requestedLabels string, f *clientcmd.Factory, ...) error + func (o *NewServiceAccountTokenOptions) Run() error + func (o *NewServiceAccountTokenOptions) Validate() error v1.5.0-alpha.1 Dec 29, 2016