virtualnode

package
v0.10.3 Latest Latest
Warning

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

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

Documentation

Overview

Package virtualnode contains the rest API commands to allow liqoctl to interact with the VirtualNodes.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func VirtualNode

func VirtualNode() rest.API

VirtualNode returns the rest API for the virtualnode command.

Types

type Options

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

Options encapsulates the arguments of the virtualnode command.

func (*Options) APIOptions

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

APIOptions returns the APIOptions for the virtualnode API.

func (*Options) Create

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

Create creates a VirtualNode.

func (*Options) Delete

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

Delete deletes a virtual node.

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