registry

package
v3.64.2 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2026 License: MIT Imports: 17 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateCmd

type CreateCmd struct {
	ClusterUUID string  `arg:"" help:"Cluster UUID to create the cache registry in" name:"cluster-uuid"`
	Name        string  `help:"Name for the cache registry" required:""`
	Description *string `help:"Description for the cache registry" optional:""`
	Emoji       *string `help:"Emoji for the cache registry" optional:""`
	Color       *string `help:"Color for the cache registry" optional:""`
	PolicyFile  string  `help:"Read the policy from a YAML or JSON file, or from stdin with -" optional:"" name:"policy-file"`
	output.OutputFlags
}

func (*CreateCmd) Help

func (c *CreateCmd) Help() string

func (*CreateCmd) Run

func (c *CreateCmd) Run(kongCtx *kong.Context, globals cli.GlobalFlags) error

type DeleteCmd

type DeleteCmd struct {
	ClusterUUID  string `arg:"" help:"Cluster UUID the cache registry belongs to" name:"cluster-uuid"`
	RegistryUUID string `arg:"" help:"Cache registry UUID to delete" name:"registry-uuid"`
}

func (*DeleteCmd) Help

func (c *DeleteCmd) Help() string

func (*DeleteCmd) Run

func (c *DeleteCmd) Run(kongCtx *kong.Context, globals cli.GlobalFlags) error

type ListCmd

type ListCmd struct {
	ClusterUUID string `arg:"" help:"Cluster UUID to list cache registries for" name:"cluster-uuid"`
	PerPage     int    `help:"Number of cache registries per page" default:"30" name:"per-page"`
	Limit       int    `help:"Maximum number of cache registries to return" default:"100"`
	output.OutputFlags
}

func (*ListCmd) Help

func (c *ListCmd) Help() string

func (*ListCmd) Run

func (c *ListCmd) Run(kongCtx *kong.Context, globals cli.GlobalFlags) error

func (*ListCmd) Validate

func (c *ListCmd) Validate() error

type UpdateCmd

type UpdateCmd struct {
	ClusterUUID      string  `arg:"" help:"Cluster UUID the cache registry belongs to" name:"cluster-uuid"`
	RegistryUUID     string  `arg:"" help:"Cache registry UUID to update" name:"registry-uuid"`
	Name             *string `help:"New name for the cache registry (regenerates its slug)" optional:""`
	Description      *string `help:"New description for the cache registry" optional:""`
	Emoji            *string `help:"New emoji for the cache registry" optional:""`
	Color            *string `help:"New color for the cache registry" optional:""`
	PolicyFile       string  `help:"Read the new policy from a YAML or JSON file, or from stdin with -" optional:"" name:"policy-file"`
	ClearDescription bool    `help:"Clear the cache registry description" name:"clear-description"`
	ClearEmoji       bool    `help:"Clear the cache registry emoji" name:"clear-emoji"`
	ClearColor       bool    `help:"Clear the cache registry color" name:"clear-color"`
	ClearPolicy      bool    `help:"Clear the policy, denying all cache saves and restores" name:"clear-policy"`
	output.OutputFlags
}

func (*UpdateCmd) Help

func (c *UpdateCmd) Help() string

func (*UpdateCmd) Run

func (c *UpdateCmd) Run(kongCtx *kong.Context, globals cli.GlobalFlags) error

func (*UpdateCmd) Validate

func (c *UpdateCmd) Validate() error

type ViewCmd

type ViewCmd struct {
	ClusterUUID  string `arg:"" help:"Cluster UUID the cache registry belongs to" name:"cluster-uuid"`
	RegistryUUID string `arg:"" help:"Cache registry UUID to view" name:"registry-uuid"`
	output.OutputFlags
}

func (*ViewCmd) Run

func (c *ViewCmd) Run(kongCtx *kong.Context, globals cli.GlobalFlags) error

Jump to

Keyboard shortcuts

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