tenant

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 tenant contains the rest API commands to allow liqoctl to interact with Tenant resources.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Tenant

func Tenant() rest.API

Tenant returns the rest API for the tenant command.

Types

type Options

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

Options encapsulates the arguments of the tenant command.

func (*Options) APIOptions

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

APIOptions returns the APIOptions for the tenant API.

func (*Options) Create

Create implements the create command.

func (*Options) Delete

Delete implements the delete command.

func (*Options) Generate

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

Generate generates a Tenant.

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