Documentation
¶
Overview ¶
Package configuration contains the logic to manage the network configuration.
Index ¶
- func Configuration() 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 ¶
func Configuration ¶
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.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.