nonce

package
v1.0.0-rc.2 Latest Latest
Warning

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

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

Documentation

Overview

Package nonce contains the rest API commands to allow liqoctl to interact with the Nonces.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Nonce

func Nonce() rest.API

Nonce returns the rest API for the nonce command.

Types

type Options

type Options struct {
	// contains filtered or unexported fields
}

Options encapsulates the arguments of the nonce command.

func (*Options) APIOptions

func (o *Options) APIOptions() *rest.APIOptions

APIOptions returns the APIOptions for the nonce API.

func (*Options) Create

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

Create creates a Nonce.

func (*Options) Delete

Delete deletes a nonce.

func (*Options) Generate

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

Generate generates a Nonce.

func (*Options) Get

func (o *Options) Get(ctx context.Context, options *rest.GetOptions) *cobra.Command

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