oci

package
v1.16.1 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2025 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package oci defines commands for general purpose oci manipulation back by oras.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewOciCmd

func NewOciCmd(tool *actions.DataTool) *cobra.Command

NewOciCmd represents the base oci command.

func RefCompletion

func RefCompletion(tool *actions.DataTool, argIndices ...int) func(cmd *cobra.Command, args []string, toComplete string) ([]string, cobra.ShellCompDirective)

RefCompletion adds a ValidArgsFunction to a command. Optionally add unix-style argument indices to specify which arguments OCI ref completion should apply to, falls back to default shell behavior for unspecified indices. Applies OCI ref completion only to the first argument if no argument indices are provided.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL