configuration

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2025 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Overview

Package configuration contains the logic to manage the network configuration.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Configuration

func Configuration() rest.API

Configuration returns the rest API for the configuration command.

Types

type Options

type Options struct {
	RemoteClusterID args.ClusterIDFlags
	PodCIDR         args.CIDR
	ExternalCIDR    args.CIDR
	Wait            bool
	// contains filtered or unexported fields
}

Options encapsulates the arguments of the configuration command.

func (*Options) APIOptions

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

APIOptions returns the APIOptions for the configuration API.

func (*Options) Create

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

Create creates a Configuration.

func (*Options) Delete

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

Delete deletes a Configuration.

func (*Options) Generate

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

Generate generates a Configuration.

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