Documentation ¶
Overview ¶
Package rest contains the types and interfaces to interact with the Liqo API.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func OutputJSON ¶ added in v0.10.2
OutputJSON prints the given object in JSON format with indentation.
func OutputYAML ¶ added in v0.10.2
OutputYAML prints the given object in YAML format.
Types ¶
type API ¶
type API interface { APIOptions() *APIOptions Create(ctx context.Context, options *CreateOptions) *cobra.Command Delete(ctx context.Context, options *DeleteOptions) *cobra.Command Get(ctx context.Context, options *GetOptions) *cobra.Command Update(ctx context.Context, options *UpdateOptions) *cobra.Command }
API is the interface that must be implemented by the API.
type APIOptions ¶
APIOptions contains the options for the API.
type CreateOptions ¶
CreateOptions contains the options for the create API.
type DeleteOptions ¶
DeleteOptions contains the options for the delete API.
type GetOptions ¶
GetOptions contains the options for the get API.
type UpdateOptions ¶
UpdateOptions contains the options for the update API.
Directories ¶
Path | Synopsis |
---|---|
Package virtualnode contains the rest API commands to allow liqoctl to interact with the VirtualNodes.
|
Package virtualnode contains the rest API commands to allow liqoctl to interact with the VirtualNodes. |
Click to show internal directories.
Click to hide internal directories.