Documentation ¶
Index ¶
- func ForChild(parent kclient.Object, childName string) string
- func Get(obj kclient.Object) string
- func NewStrategy(strategy strategy.CompleteStrategy) strategy.CompleteStrategy
- func Split(name string) (string, string)
- func SplitPodContainerName(name string) (string, string)
- type Translator
- func (p *Translator) FromPublic(ctx context.Context, obj runtime.Object) (types.Object, error)
- func (p *Translator) FromPublicName(ctx context.Context, namespace, name string) (string, string, error)
- func (p *Translator) ListOpts(ctx context.Context, namespace string, opts storage.ListOptions) (string, storage.ListOptions, error)
- func (p *Translator) NewPublic() types.Object
- func (p *Translator) NewPublicList() types.ObjectList
- func (p *Translator) ToPublic(ctx context.Context, objs ...runtime.Object) (result []types.Object, _ error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewStrategy ¶
func NewStrategy(strategy strategy.CompleteStrategy) strategy.CompleteStrategy
func SplitPodContainerName ¶
Types ¶
type Translator ¶
type Translator struct {
// contains filtered or unexported fields
}
func (*Translator) FromPublic ¶
func (*Translator) FromPublicName ¶
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
Click to show internal directories.
Click to hide internal directories.