Documentation ¶
Overview ¶
Package publickey contains the logic to manage PublicKeys.
Index ¶
- func PublicKey() rest.API
- type Options
- func (o *Options) APIOptions() *rest.APIOptions
- func (o *Options) Create(ctx context.Context, options *rest.CreateOptions) *cobra.Command
- func (o *Options) Delete(ctx context.Context, options *rest.DeleteOptions) *cobra.Command
- func (o *Options) Generate(ctx context.Context, options *rest.GenerateOptions) *cobra.Command
- func (o *Options) Get(_ context.Context, _ *rest.GetOptions) *cobra.Command
- func (o *Options) Update(_ context.Context, _ *rest.UpdateOptions) *cobra.Command
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Options ¶
type Options struct { RemoteClusterID argsutils.ClusterIDFlags GatewayName string GatewayType *argsutils.StringEnum PublicKey []byte // contains filtered or unexported fields }
Options encapsulates the arguments of the gatewayserver command.
func (*Options) APIOptions ¶
func (o *Options) APIOptions() *rest.APIOptions
APIOptions returns the APIOptions for the publickey API.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.