minioidc

package
v6.19.0 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2025 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var UserFile string

UserFile is the path to a file, which contains the username to be returned by minioidc.

Functions

func Run

func Run(port string) error

Run starts minioidc on the given port. This starts ListenAndServe and will therefore block.

func RunTest

func RunTest(t *testing.T, storageOpts []storage.Option, configOpts []Option) string

RunTest runs minioidc for use in tests. It picks a random port and returns its address. The address is also the issuer URL.

Types

type Option

type Option func(cfg *op.Config)

Option to configure minioidc.

func WithDeviceAuthorizationPollInterval

func WithDeviceAuthorizationPollInterval(interval time.Duration) Option

WithDeviceAuthorizationPollInterval sets the device authorization poll interval.

Jump to

Keyboard shortcuts

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