Versions in this module Expand all Collapse all v4 v4.1.0 May 1, 2019 Changes in this version + const CABundlePrefix + const CAFilePrefix + const CreateBootstrapPolicyFileCommand + const CreateClientCommandName + const CreateKeyPairCommandName + const CreateKubeConfigCommandName + const CreateMasterCertsCommandName + const CreateServerCertCommandName + const CreateSignerCertCommandName + const DecryptCommandName + const DefaultPolicyFile + const EncryptCommandName + const FrontProxyCAFilePrefix + const MasterFilePrefix + func BindSignerCertOptions(options *SignerCertOptions, flags *pflag.FlagSet, prefix string) + func DefaultAPIClientCAFile(certDir string) string + func DefaultCABundleFile(certDir string) string + func DefaultCAFilename(certDir, prefix string) string + func DefaultCertFilename(certDir, prefix string) string + func DefaultEtcdClientCAFile(certDir string) string + func DefaultEtcdServingCertInfo(certDir string) configapi.CertInfo + func DefaultFrontProxySignerName() string + func DefaultKeyFilename(certDir, prefix string) string + func DefaultKubeConfigFilename(certDir, prefix string) string + func DefaultKubeletClientCAFile(certDir string) string + func DefaultMasterServingCertInfo(certDir string) configapi.CertInfo + func DefaultNodeClientCertInfo(nodeDir string) configapi.CertInfo + func DefaultNodeDir(nodeName string) string + func DefaultNodeKubeConfigFile(nodeDir string) string + func DefaultNodeServingCertInfo(nodeDir string) configapi.CertInfo + func DefaultRootCAFile(certDir string) string + func DefaultSerialFilename(certDir, prefix string) string + func DefaultServerCerts(certDir string) []configapi.CertInfo + func DefaultServiceAccountPrivateKeyFile(certDir string) string + func DefaultServiceAccountPublicKeyFile(certDir string) string + func DefaultServiceServingCertSignerName() string + func DefaultServiceSignerCAInfo(certDir string) configapi.CertInfo + func DefaultSignerName() string + func NewCommandCreateBootstrapPolicyFile(commandName string, fullName string, streams genericclioptions.IOStreams) *cobra.Command + func NewCommandCreateClient(commandName string, fullName string, streams genericclioptions.IOStreams) *cobra.Command + func NewCommandCreateKeyPair(commandName string, fullName string, streams genericclioptions.IOStreams) *cobra.Command + func NewCommandCreateKubeConfig(commandName string, fullName string, streams genericclioptions.IOStreams) *cobra.Command + func NewCommandCreateMasterCerts(commandName string, fullName string, streams genericclioptions.IOStreams) *cobra.Command + func NewCommandCreateServerCert(commandName string, fullName string, streams genericclioptions.IOStreams) *cobra.Command + func NewCommandCreateSignerCert(commandName string, fullName string, streams genericclioptions.IOStreams) *cobra.Command + func NewCommandDecrypt(commandName string, fullName, encryptFullName string, ...) *cobra.Command + func NewCommandEncrypt(commandName string, fullName string, streams genericclioptions.IOStreams) *cobra.Command + type ClientCertInfo struct + CertLocation configapi.CertInfo + Groups sets.String + UnqualifiedUser string + User string + func DefaultAPIClientCerts(certDir string) []ClientCertInfo + func DefaultAggregatorClientCertInfo(certDir string) ClientCertInfo + func DefaultClusterAdminClientCertInfo(certDir string) ClientCertInfo + func DefaultEtcdClientCerts(certDir string) []ClientCertInfo + func DefaultKubeletClientCerts(certDir string) []ClientCertInfo + func DefaultMasterEtcdClientCertInfo(certDir string) ClientCertInfo + func DefaultMasterKubeletClientCertInfo(certDir string) ClientCertInfo + func DefaultOpenshiftLoopbackClientCertInfo(certDir string) ClientCertInfo + func DefaultProxyClientCertInfo(certDir string) ClientCertInfo + func DefaultProxyClientCerts(certDir string) []ClientCertInfo + type CreateBootstrapPolicyFileOptions struct + File string + func NewCreateBootstrapPolicyFileOptions(streams genericclioptions.IOStreams) *CreateBootstrapPolicyFileOptions + func (o CreateBootstrapPolicyFileOptions) Run() error + func (o CreateBootstrapPolicyFileOptions) Validate(args []string) error + type CreateClientCertOptions struct + CertFile string + ExpireDays int + Groups []string + KeyFile string + Output io.Writer + Overwrite bool + SignerCertOptions *SignerCertOptions + User string + func (o CreateClientCertOptions) CreateClientCert() (*crypto.TLSCertificateConfig, error) + func (o CreateClientCertOptions) Validate(args []string) error + type CreateClientOptions struct + APIServerCAFiles []string + APIServerURL string + BaseName string + ClientDir string + ExpireDays int + Groups []string + PublicAPIServerURL string + SignerCertOptions *SignerCertOptions + User string + func NewCreateClientOptions(streams genericclioptions.IOStreams) *CreateClientOptions + func (o CreateClientOptions) CreateClientFolder() error + func (o CreateClientOptions) Validate(args []string) error + type CreateKeyPairOptions struct + Overwrite bool + PrivateKeyFile string + PublicKeyFile string + func NewCreateKeyPairOptions(streams genericclioptions.IOStreams) *CreateKeyPairOptions + func (o CreateKeyPairOptions) CreateKeyPair() error + func (o CreateKeyPairOptions) Validate(args []string) error + type CreateKubeConfigOptions struct + APIServerCAFiles []string + APIServerURL string + CertFile string + ContextNamespace string + KeyFile string + KubeConfigFile string + PublicAPIServerURL string + func NewCreateKubeConfigOptions(streams genericclioptions.IOStreams) *CreateKubeConfigOptions + func (o CreateKubeConfigOptions) CreateKubeConfig() (*clientcmdapi.Config, error) + func (o CreateKubeConfigOptions) Validate(args []string) error + type CreateMasterCertsOptions struct + APIServerCAFiles []string + APIServerURL string + CertDir string + ExpireDays int + Hostnames []string + Overwrite bool + PublicAPIServerURL string + SignerExpireDays int + SignerName string + func NewCreateMasterCertsOptions(streams genericclioptions.IOStreams) *CreateMasterCertsOptions + func (o CreateMasterCertsOptions) CreateMasterCerts() error + func (o CreateMasterCertsOptions) Validate(args []string) error + type CreateServerCertOptions struct + CertFile string + ExpireDays int + Hostnames []string + KeyFile string + Overwrite bool + SignerCertOptions *SignerCertOptions + func NewCreateServerCertOptions(streams genericclioptions.IOStreams) *CreateServerCertOptions + func (o CreateServerCertOptions) CreateServerCert() (*crypto.TLSCertificateConfig, error) + func (o CreateServerCertOptions) Validate(args []string) error + type CreateSignerCertOptions struct + CertFile string + ExpireDays int + KeyFile string + Name string + Overwrite bool + SerialFile string + func NewCreateSignerCertOptions(streams genericclioptions.IOStreams) *CreateSignerCertOptions + func (o CreateSignerCertOptions) CreateSignerCert() (*crypto.CA, error) + func (o CreateSignerCertOptions) Validate(args []string) error + type DecryptOptions struct + DecryptedFile string + DecryptedWriter io.Writer + EncryptedData []byte + EncryptedFile string + EncryptedReader io.Reader + KeyFile string + func NewDecryptOptions(streams genericclioptions.IOStreams) *DecryptOptions + func (o *DecryptOptions) Decrypt() error + func (o *DecryptOptions) Validate(args []string) error + type EncryptOptions struct + CleartextData []byte + CleartextFile string + CleartextReader io.Reader + EncryptedFile string + EncryptedWriter io.Writer + GenKeyFile string + KeyFile string + PromptWriter io.Writer + func NewEncryptOptions(streams genericclioptions.IOStreams) *EncryptOptions + func (o *EncryptOptions) Encrypt() error + func (o *EncryptOptions) Validate(args []string) error + type SignerCertOptions struct + CertFile string + KeyFile string + SerialFile string + func NewDefaultSignerCertOptions() *SignerCertOptions + func (o *SignerCertOptions) CA() (*crypto.CA, error) + func (o *SignerCertOptions) Validate() error v4.0.0-alpha.0 Sep 13, 2018 Other modules containing this package gopkg.in/openshift/origin.v1 gopkg.in/openshift/origin.v3