Versions in this module Expand all Collapse all v4 v4.1.0 May 1, 2019 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, streams genericclioptions.IOStreams, ...) *cobra.Command + func NewCmdCreateDockerConfigSecret(name, fullName string, f kcmdutil.Factory, streams genericclioptions.IOStreams, ...) *cobra.Command + func NewCmdCreateSSHAuthSecret(name, fullName string, f kcmdutil.Factory, streams genericclioptions.IOStreams, ...) *cobra.Command + func NewCmdCreateSecret(name, fullName string, f kcmdutil.Factory, streams genericclioptions.IOStreams) *cobra.Command + func NewCmdLinkSecret(name, fullName string, f kcmdutil.Factory, streams genericclioptions.IOStreams) *cobra.Command + func NewCmdSecrets(name, fullName string, f kcmdutil.Factory, streams genericclioptions.IOStreams) *cobra.Command + func NewCmdUnlinkSecret(name, fullName string, f kcmdutil.Factory, streams genericclioptions.IOStreams) *cobra.Command + type CreateBasicAuthSecretOptions struct + CertificatePath string + GitConfigPath string + Password string + PrintFlags *genericclioptions.PrintFlags + Printer printers.ResourcePrinter + PromptForPassword bool + SecretName string + SecretsInterface corev1client.SecretInterface + Username string + func NewCreateBasicAuthSecretOptions(streams genericclioptions.IOStreams) *CreateBasicAuthSecretOptions + func (o *CreateBasicAuthSecretOptions) Complete(f kcmdutil.Factory, args []string) error + func (o *CreateBasicAuthSecretOptions) NewBasicAuthSecret() (*corev1.Secret, error) + func (o *CreateBasicAuthSecretOptions) Run() error + func (o CreateBasicAuthSecretOptions) Validate() error + type CreateDockerConfigOptions struct + EmailAddress string + Password string + PrintFlags *genericclioptions.PrintFlags + Printer printers.ResourcePrinter + RegistryLocation string + SecretName string + SecretsInterface corev1client.SecretInterface + Username string + func NewCreateDockerConfigOptions(streams genericclioptions.IOStreams) *CreateDockerConfigOptions + func (o *CreateDockerConfigOptions) Complete(f kcmdutil.Factory, args []string) error + func (o CreateDockerConfigOptions) NewDockerSecret() (*corev1.Secret, error) + func (o CreateDockerConfigOptions) Run() error + func (o CreateDockerConfigOptions) Validate() error + type CreateSSHAuthSecretOptions struct + CertificatePath string + GitConfigPath string + PrintFlags *genericclioptions.PrintFlags + Printer printers.ResourcePrinter + PrivateKeyPath string + PromptForPassword bool + SecretName string + SecretsInterface corev1client.SecretInterface + func NewCreateSSHAuthSecretOptions(streams genericclioptions.IOStreams) *CreateSSHAuthSecretOptions + func (o *CreateSSHAuthSecretOptions) Complete(f kcmdutil.Factory, args []string) error + func (o *CreateSSHAuthSecretOptions) NewSSHAuthSecret() (*corev1.Secret, error) + func (o *CreateSSHAuthSecretOptions) Run() error + func (o CreateSSHAuthSecretOptions) Validate(args []string) error + type CreateSecretOptions struct + AllowUnknownTypes bool + Name string + PrintFlags *genericclioptions.PrintFlags + Printer printers.ResourcePrinter + Quiet bool + SecretTypeName string + SecretsInterface corev1client.SecretInterface + Sources []string + func NewCreateSecretOptions(streams genericclioptions.IOStreams) *CreateSecretOptions + func (o *CreateSecretOptions) BundleSecret() (*corev1.Secret, error) + func (o *CreateSecretOptions) Complete(args []string, f kcmdutil.Factory) error + func (o *CreateSecretOptions) Run() error + func (o *CreateSecretOptions) Validate() error + type KnownSecretType struct + RequiredContents sets.String + Type coreapiv1.SecretType + func (ks KnownSecretType) Matches(secretContent map[string][]byte) bool + type LinkSecretOptions struct + ForMount bool + ForPull bool + func NewLinkSecretOptions(streams genericclioptions.IOStreams) *LinkSecretOptions + func (o *LinkSecretOptions) Complete(f kcmdutil.Factory, args []string) error + func (o LinkSecretOptions) LinkSecrets() error + func (o LinkSecretOptions) Validate() error + type SecretOptions struct + BuilderFunc func() *resource.Builder + KubeClient corev1client.CoreV1Interface + Namespace string + SecretNames []string + TargetName string + func (o *SecretOptions) Complete(f kcmdutil.Factory, args []string) error + func (o SecretOptions) GetMountSecretNames(serviceaccount *corev1.ServiceAccount) sets.String + func (o SecretOptions) GetPullSecretNames(serviceaccount *corev1.ServiceAccount) sets.String + func (o SecretOptions) GetSecretNames(secrets []*corev1.Secret) sets.String + func (o SecretOptions) GetSecrets(allowNonExisting bool) ([]*corev1.Secret, bool, error) + func (o SecretOptions) GetServiceAccount() (*corev1.ServiceAccount, error) + func (o SecretOptions) Validate() error + type UnlinkSecretOptions struct + PrintFlags *genericclioptions.PrintFlags + Printer printers.ResourcePrinter + func NewUnlinkSecretOptions(streams genericclioptions.IOStreams) *UnlinkSecretOptions + func (o *UnlinkSecretOptions) Complete(f kcmdutil.Factory, args []string) error + func (o UnlinkSecretOptions) Run() error v4.0.0-alpha.0 Sep 13, 2018 Other modules containing this package gopkg.in/openshift/origin.v3