Versions in this module Expand all Collapse all v1 v1.5.1 Apr 28, 2017 Changes in this version + const CreateBasicAuthSecretRecommendedCommandName + const CreateDockerConfigSecretRecommendedName + const CreateSSHAuthSecretRecommendedCommandName + const LinkSecretRecommendedName + const NewSecretRecommendedCommandName + const SecretsRecommendedName + const SourceCertificate + const SourceGitConfig + const SourcePassword + const SourcePrivateKey + const SourceUsername + const UnlinkSecretRecommendedName + var KnownSecretTypes = []KnownSecretType + func NewCmdCreateBasicAuthSecret(name, fullName string, f kcmdutil.Factory, reader io.Reader, out io.Writer, ...) *cobra.Command + func NewCmdCreateDockerConfigSecret(name, fullName string, f kcmdutil.Factory, out io.Writer, ...) *cobra.Command + func NewCmdCreateSSHAuthSecret(name, fullName string, f kcmdutil.Factory, out io.Writer, ...) *cobra.Command + func NewCmdCreateSecret(name, fullName string, f *clientcmd.Factory, out io.Writer) *cobra.Command + func NewCmdLinkSecret(name, fullName string, f kcmdutil.Factory, out io.Writer) *cobra.Command + func NewCmdSecrets(name, fullName string, f *clientcmd.Factory, reader io.Reader, ...) *cobra.Command + func NewCmdUnlinkSecret(name, fullName string, f kcmdutil.Factory, out io.Writer) *cobra.Command + type CreateBasicAuthSecretOptions struct + CertificatePath string + GitConfigPath string + Out io.Writer + Password string + PromptForPassword bool + Reader io.Reader + SecretName string + SecretsInterface kcoreclient.SecretInterface + Username string + func (o *CreateBasicAuthSecretOptions) Complete(f kcmdutil.Factory, args []string) error + func (o *CreateBasicAuthSecretOptions) CreateBasicAuthSecret() error + func (o *CreateBasicAuthSecretOptions) NewBasicAuthSecret() (*api.Secret, error) + func (o CreateBasicAuthSecretOptions) GetOut() io.Writer + func (o CreateBasicAuthSecretOptions) Validate() error + type CreateDockerConfigOptions struct + EmailAddress string + Out io.Writer + Password string + RegistryLocation string + SecretName string + SecretsInterface kcoreclient.SecretInterface + Username string + func (o *CreateDockerConfigOptions) Complete(f kcmdutil.Factory, args []string) error + func (o CreateDockerConfigOptions) CreateDockerSecret() error + func (o CreateDockerConfigOptions) GetOut() io.Writer + func (o CreateDockerConfigOptions) NewDockerSecret() (*api.Secret, error) + func (o CreateDockerConfigOptions) Validate() error + type CreateSSHAuthSecretOptions struct + CertificatePath string + GitConfigPath string + Out io.Writer + PrivateKeyPath string + PromptForPassword bool + SecretName string + SecretsInterface kcoreclient.SecretInterface + func (o *CreateSSHAuthSecretOptions) Complete(f kcmdutil.Factory, args []string) error + func (o *CreateSSHAuthSecretOptions) CreateSSHAuthSecret() error + func (o *CreateSSHAuthSecretOptions) NewSSHAuthSecret() (*api.Secret, error) + func (o CreateSSHAuthSecretOptions) GetOut() io.Writer + func (o CreateSSHAuthSecretOptions) Validate() error + type CreateSecretOptions struct + AllowUnknownTypes bool + Name string + Out io.Writer + Quiet bool + SecretTypeName string + SecretsInterface kcoreclient.SecretInterface + Sources []string + Stderr io.Writer + func NewCreateSecretOptions() *CreateSecretOptions + func (o *CreateSecretOptions) BundleSecret() (*kapi.Secret, error) + func (o *CreateSecretOptions) Complete(args []string, f *clientcmd.Factory) error + func (o *CreateSecretOptions) CreateSecret() (*kapi.Secret, error) + func (o *CreateSecretOptions) Validate() error + type KnownSecretType struct + RequiredContents sets.String + Type kapi.SecretType + func (ks KnownSecretType) Matches(secretContent map[string][]byte) bool + type LinkSecretOptions struct + ForMount bool + ForPull bool + func (o *LinkSecretOptions) Complete(f kcmdutil.Factory, args []string) error + func (o LinkSecretOptions) LinkSecrets() error + func (o LinkSecretOptions) Validate() error + type SecretOptions struct + ClientMapper resource.ClientMapper + KubeCoreClient kcoreclient.CoreInterface + Mapper meta.RESTMapper + Namespace string + Out io.Writer + SecretNames []string + TargetName string + Typer runtime.ObjectTyper + func (o *SecretOptions) Complete(f kcmdutil.Factory, args []string) error + func (o SecretOptions) GetMountSecretNames(serviceaccount *kapi.ServiceAccount) sets.String + func (o SecretOptions) GetOut() io.Writer + func (o SecretOptions) GetPullSecretNames(serviceaccount *kapi.ServiceAccount) sets.String + func (o SecretOptions) GetSecretNames(secrets []*kapi.Secret) sets.String + func (o SecretOptions) GetSecrets(allowNonExisting bool) ([]*kapi.Secret, bool, error) + func (o SecretOptions) GetServiceAccount() (*kapi.ServiceAccount, error) + func (o SecretOptions) Validate() error + type UnlinkSecretOptions struct + func (o UnlinkSecretOptions) UnlinkSecrets() error v1.5.0-alpha.1 Dec 29, 2016