Movatterモバイル変換


[0]ホーム

URL:


createusers

package
v2.28.4Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2025 License:AGPL-3.0Imports:11Imported by:0

Details

Repository

github.com/coder/coder

Links

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

typeConfig

type Config struct {// OrganizationID is the ID of the organization to add the user to.OrganizationIDuuid.UUID `json:"organization_id"`// Username is the username of the new user. Generated if empty.Usernamestring `json:"username"`// Email is the email of the new user. Generated if empty.Emailstring `json:"email"`}

func (Config)Validate

func (cConfig) Validate()error

typeRunner

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

funcNewRunner

func NewRunner(client *codersdk.Client, cfgConfig) *Runner

func (*Runner)Cleanup

func (r *Runner) Cleanup(ctxcontext.Context, _string, logsio.Writer)error

func (*Runner)RunReturningUser

func (r *Runner) RunReturningUser(ctxcontext.Context, idstring, logsio.Writer) (User,error)

typeUser

type User struct {codersdk.UserSessionTokenstring}

Source Files

View all Source files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f orF : Jump to
y orY : Canonical URL
go.dev uses cookies from Google to deliver and enhance the quality of its services and to analyze traffic.Learn more.

[8]ページ先頭

©2009-2025 Movatter.jp