internal/

directory
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2023 License: MIT

Directories

Path Synopsis
Package apiserver does all the work necessary to create a iam APIServer.
Package apiserver does all the work necessary to create a iam APIServer.
controller/v1/cache
Package cache defines a cache service which can return all secrets and policies.
Package cache defines a cache service which can return all secrets and policies.
options
Package options contains flags and options for initializing an apiserver
Package options contains flags and options for initializing an apiserver
service/v1
mockService := new(MockService) mockItemService := new(MockItemService) mockService.On("Item").Return(mockItemService) mockItemService.On("Create", ctx, item, opts).Return(nil)
mockService := new(MockService) mockItemService := new(MockItemService) mockService.On("Item").Return(mockItemService) mockItemService.On("Create", ctx, item, opts).Return(nil)
store
mockFactory := new(MockFactory) mockItemStore := new(MockItemStore) mockFactory.On("Item").Return(mockItemStore) mockItemStore.On("Create", ctx, item, opts).Return(nil)
mockFactory := new(MockFactory) mockItemStore := new(MockItemStore) mockFactory.On("Item").Return(mockItemStore) mockItemStore.On("Create", ctx, item, opts).Return(nil)
Package authzserver does all of the work necessary to create a authzserver
Package authzserver does all of the work necessary to create a authzserver
controller/v1/authorize
Package authorize implements the authorize handlers.
Package authorize implements the authorize handlers.
Package iamctl provides the functions used by the iamctl command line tool under github.com/marmotedu/iam/cmd.
Package iamctl provides the functions used by the iamctl command line tool under github.com/marmotedu/iam/cmd.
cmd
Package cmd create a root cobra command and add subcommands to it.
Package cmd create a root cobra command and add subcommands to it.
cmd/color
Package color print colors supported by the current terminal.
Package color print colors supported by the current terminal.
cmd/completion
Package completion output shell completion code for the specified shell (bash or zsh).
Package completion output shell completion code for the specified shell (bash or zsh).
cmd/info
Package info print the host information.
Package info print the host information.
cmd/jwt
Package jwt can be used to sign/show/verify jwt token with given secretID and secretKey.
Package jwt can be used to sign/show/verify jwt token with given secretID and secretKey.
cmd/new
Package new used to generate demo command code.
Package new used to generate demo command code.
cmd/options
Package options print a list of global command-line options (applies to all commands).
Package options print a list of global command-line options (applies to all commands).
cmd/policy
Package policy provides functions to manage authorization policies on iam platform.
Package policy provides functions to manage authorization policies on iam platform.
cmd/secret
Package secret provides functions to manage secrets on iam platform.
Package secret provides functions to manage secrets on iam platform.
cmd/set
Package set used to set specific features on objects.
Package set used to set specific features on objects.
cmd/user
Package user provides functions to manage users on iam platform.
Package user provides functions to manage users on iam platform.
cmd/validate
Package validate validate the basic environment for iamctl to run.
Package validate validate the basic environment for iamctl to run.
cmd/version
Package version print the client and server version information.
Package version print the client and server version information.
util/interrupt
Package interrupt deal with signals.
Package interrupt deal with signals.
util/templates
Package templates provides template functions for working with templates.
Package templates provides template functions for working with templates.
util/term
Package term provides structures and helper functions to work with terminal (state, sizes).
Package term provides structures and helper functions to work with terminal (state, sizes).
pkg
code
Package code defines error codes for iam platform.
Package code defines error codes for iam platform.
logger
Package logger defines gorm logger
Package logger defines gorm logger
server
Package server runs a http server used to provide a api to check pump health status.
Package server runs a http server used to provide a api to check pump health status.
util/gormutil
Package gormutil is a util to convert offset and limit to default values.
Package gormutil is a util to convert offset and limit to default values.
validation
Package validation defines validate functions internal used by iam.
Package validation defines validate functions internal used by iam.
Package pump does all the work necessary to create an iam pump server.
Package pump does all the work necessary to create an iam pump server.
analytics
Package analytics defines all the functions and structs used to store traffic analytics.
Package analytics defines all the functions and structs used to store traffic analytics.
storage
Package storage defines storages which store the analytics data from iam-authz-server.
Package storage defines storages which store the analytics data from iam-authz-server.
storage/redis
Package redis provides an redis implementation of the AnalyticsStorage storage interface.
Package redis provides an redis implementation of the AnalyticsStorage storage interface.

Jump to

Keyboard shortcuts

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