publickey

package
v1.0.0-rc.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 19, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Overview

Package publickey contains the logic to manage PublicKeys.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PublicKey

func PublicKey() rest.API

PublicKey returns the rest API for the publickey command.

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.

func (*Options) Create

func (o *Options) Create(ctx context.Context, options *rest.CreateOptions) *cobra.Command

Create creates a PublicKey.

func (*Options) Delete

func (o *Options) Delete(ctx context.Context, options *rest.DeleteOptions) *cobra.Command

Delete deletes a PublicKey.

func (*Options) Generate

func (o *Options) Generate(ctx context.Context, options *rest.GenerateOptions) *cobra.Command

Generate generates a PublicKey.

func (*Options) Get

Get implements the get command.

func (*Options) Update

Update implements the update command.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL