usernames

package
v0.0.0-...-2c34a8a Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

README

Package cloudeng.io/cmd/idu/internal/usernames

CircleCI Go Report Card

import cloudeng.io/cmd/idu/internal/usernames

Variables

IDM
IDM *userid.IDManager

Types

Type IDManager
type IDManager struct {
	// contains filtered or unexported fields
}
Variables
Manager
Manager IDManager

Methods
func (um *IDManager) GIDForName(name string) (int64, error)
func (um *IDManager) NameForGID(gid int64) string
func (um *IDManager) NameForUID(uid int64) string
func (um *IDManager) UIDForName(name string) (int64, error)

Documentation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type IDManager

type IDManager struct {
	// contains filtered or unexported fields
}
var Manager IDManager

func (*IDManager) GIDForName

func (um *IDManager) GIDForName(name string) (int64, error)

func (*IDManager) NameForGID

func (um *IDManager) NameForGID(gid int64) string

func (*IDManager) NameForUID

func (um *IDManager) NameForUID(uid int64) string

func (*IDManager) UIDForName

func (um *IDManager) UIDForName(name string) (int64, error)

Jump to

Keyboard shortcuts

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