publicname

package
v0.10.1 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2024 License: Apache-2.0 Imports: 12 Imported by: 2 modules, 1 package

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

func ForChild

func ForChild(parent kclient.Object, childName string) string

func Get

func Get(obj kclient.Object) string

func Split

func Split(name string) (string, string)

func SplitPodContainerName

func SplitPodContainerName(name string) (string, string)

Types

type Translator

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

func (*Translator) FromPublic

func (p *Translator) FromPublic(ctx context.Context, obj runtime.Object) (types.Object, error)

func (*Translator) FromPublicName

func (p *Translator) FromPublicName(ctx context.Context, namespace, name string) (string, string, error)

func (*Translator) ListOpts

func (p *Translator) ListOpts(ctx context.Context, namespace string, opts storage.ListOptions) (string, storage.ListOptions, error)

func (*Translator) NewPublic

func (p *Translator) NewPublic() types.Object

func (*Translator) NewPublicList

func (p *Translator) NewPublicList() types.ObjectList

func (*Translator) ToPublic

func (p *Translator) ToPublic(ctx context.Context, objs ...runtime.Object) (result []types.Object, _ error)

Jump to

Keyboard shortcuts

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