Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type FilePersister ¶
type FilePersister struct {
BaseDir string
}
func NewFilePersister ¶
func NewFilePersister(basedir string) *FilePersister
func (FilePersister) WriteConfig ¶
func (fp FilePersister) WriteConfig(certificates map[string]string) error
type FilesOptions ¶
type FilesOptions struct {
Name string
}
func NewFilesOptions ¶
func NewFilesOptions() *FilesOptions
func (*FilesOptions) BindFlags ¶
func (o *FilesOptions) BindFlags(flags *pflag.FlagSet)
func (*FilesOptions) Complete ¶
func (o *FilesOptions) Complete(args []string) error
func (*FilesOptions) Run ¶
func (o *FilesOptions) Run(c *cobra.Command) error
type PlainOptions ¶
type PlainOptions struct {
Name string
}
func NewPlainOptions ¶
func NewPlainOptions() *PlainOptions
func (*PlainOptions) Complete ¶
func (o *PlainOptions) Complete(args []string) error
func (*PlainOptions) Run ¶
func (o *PlainOptions) Run(c *cobra.Command) error
type PlainPersister ¶
type PlainPersister struct{}
func NewPlainPersister ¶
func NewPlainPersister() *PlainPersister
func (PlainPersister) WriteConfig ¶
func (fp PlainPersister) WriteConfig(certificates map[string]string) error
type SignOptions ¶
type SignOptions struct {
Name string
KubeConfig string
Namespace string
CN string
CA string
Organization string
ApiURL string
}
func NewSignOptions ¶
func NewSignOptions() *SignOptions
func (*SignOptions) BindFlags ¶
func (o *SignOptions) BindFlags(flags *pflag.FlagSet)
func (*SignOptions) Complete ¶
func (o *SignOptions) Complete(args []string) error
func (*SignOptions) Run ¶
func (o *SignOptions) Run(c *cobra.Command) error
Source Files
¶
- files.go
- io.go
- plain.go
- sign.go
Click to show internal directories.
Click to hide internal directories.