Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/brizzbuzz/opnix
/ functions
Functions
198 in github.com/brizzbuzz/opnix
⨍
Functions
198
◇
Types & classes
39
↓ 1 callers
Method
resolveVariable
(variable envVariable, index int)
cmd/opnix/main.go:307
↓ 1 callers
Function
run
(args []string, cmds []command)
cmd/opnix/main.go:41
↓ 1 callers
Method
setOwnership
setOwnership sets the file ownership based on owner and group names
internal/secrets/processor.go:196
↓ 1 callers
Method
setToken
()
cmd/opnix/token.go:92
↓ 1 callers
Function
shellQuote
(value string)
cmd/opnix/main.go:530
↓ 1 callers
Method
shouldRecoverService
(serviceName string)
internal/systemd/integration.go:525
↓ 1 callers
Function
uniqueReferences
(secrets []config.Secret)
internal/secrets/processor.go:182
↓ 1 callers
Function
validateEnvConfig
(cfg *envConfig)
cmd/opnix/main.go:393
↓ 1 callers
Method
validateModeSecurity
validateModeSecurity checks for potentially insecure file modes
internal/validation/validator.go:527
↓ 1 callers
Method
validateOwnership
validateOwnership validates user and group settings
internal/validation/validator.go:430
↓ 1 callers
Method
validatePrerequisites
validatePrerequisites performs pre-flight checks before processing
cmd/opnix/secret.go:148
↓ 1 callers
Method
validateSecret
validateSecret validates individual secret configuration
internal/validation/validator.go:60
↓ 1 callers
Method
validateSymlinks
validateSymlinks validates symlink paths and checks for conflicts
internal/validation/validator.go:204
↓ 1 callers
Method
validateVariableValue
validateVariableValue validates that a template variable value is safe
internal/secrets/processor.go:495
↓ 1 callers
Method
validateVariableValue
validateVariableValue validates that a template variable value is safe
internal/validation/validator.go:171
Method
Error
()
internal/errors/errors.go:37
Method
Error
()
internal/errors/errors.go:64
Method
ExitCode
()
internal/errors/errors.go:48
Method
ExitCode
()
internal/errors/errors.go:87
Method
Init
(args []string)
cmd/opnix/secret.go:71
Method
Init
(args []string)
cmd/opnix/token.go:42
Method
Init
(args []string)
cmd/opnix/main.go:179
Method
IsServiceRunning
IsServiceRunning checks if a systemd service is currently running
internal/systemd/integration.go:516
Method
Name
()
cmd/opnix/secret.go:69
Method
Name
()
cmd/opnix/token.go:40
Method
Name
()
cmd/opnix/main.go:177
Function
NewProcessorWithConfig
(client SecretClient, outputDir, pathTemplate string, defaults map[string]string)
internal/secrets/processor.go:40
Method
Process
(cfg *envConfig)
cmd/opnix/main.go:275
Method
Resolve
(ctx context.Context, reference string)
internal/onepass/client_test.go:20
Method
Resolve
(context.Context, string)
internal/onepass/client.go:21
Method
ResolveAll
(ctx context.Context, references []string)
internal/onepass/client_test.go:24
Method
ResolveSecret
(reference string)
internal/secrets/processor.go:17
Method
ResolveSecret
(string)
cmd/opnix/main.go:476
Method
ResolveSecrets
(references []string)
internal/secrets/processor_test.go:29
Method
Run
()
cmd/opnix/secret.go:75
Method
Run
()
cmd/opnix/token.go:56
Method
Run
()
cmd/opnix/main.go:183
Function
TestCalculateHash
(t *testing.T)
internal/systemd/integration_test.go:762
Function
TestConfigError
(t *testing.T)
internal/errors/errors_test.go:102
Function
TestConfigValidationError
(t *testing.T)
internal/errors/errors_test.go:120
Function
TestExtractServiceActions
(t *testing.T)
internal/systemd/integration_test.go:157
Function
TestFileOperationError
(t *testing.T)
internal/errors/errors_test.go:141
Function
TestGetDirPath
(t *testing.T)
internal/errors/errors_test.go:369
Function
TestGetToken
(t *testing.T)
internal/onepass/client_test.go:41
Function
TestGetUserGroupCommand
(t *testing.T)
internal/errors/errors_test.go:391
Function
TestHashStore
(t *testing.T)
internal/systemd/integration_test.go:55
Function
TestHashStoreChangeDetection
(t *testing.T)
internal/systemd/integration_test.go:104
Function
TestHashStoreFileOperations
(t *testing.T)
internal/systemd/integration_test.go:720
Function
TestIsServiceGroup
(t *testing.T)
internal/validation/validator_test.go:580
Function
TestIsServiceUser
(t *testing.T)
internal/validation/validator_test.go:557
Function
TestLoad
(t *testing.T)
internal/config/config_test.go:9
Function
TestLoadMultiple
(t *testing.T)
internal/config/config_test.go:45
Function
TestLoadMultipleWithTemplates
(t *testing.T)
internal/config/config_test.go:364
Function
TestLoadMultiple_InvalidFile
(t *testing.T)
internal/config/config_test.go:111
Function
TestLoadWithOwnership
(t *testing.T)
internal/config/config_test.go:225
Function
TestLoadWithPathTemplateAndSymlinks
(t *testing.T)
internal/config/config_test.go:287
Function
TestManagerDryRun
(t *testing.T)
internal/systemd/integration_test.go:323
Function
TestMin
(t *testing.T)
internal/validation/validator_test.go:603
Function
TestNewClientRetriesTransientInitializationFailures
(t *testing.T)
internal/onepass/client_test.go:95
Function
TestNewManager
(t *testing.T)
internal/systemd/integration_test.go:31
Function
TestOnePasswordError
(t *testing.T)
internal/errors/errors_test.go:201
Function
TestOpnixError_Error
(t *testing.T)
internal/errors/errors_test.go:9
Function
TestOpnixError_Unwrap
(t *testing.T)
internal/errors/errors_test.go:84
Function
TestProcessSecretChanges
(t *testing.T)
internal/systemd/integration_test.go:346
Function
TestProcessSecretChangesRecoversDependencyBlockedServices
(t *testing.T)
internal/systemd/integration_test.go:402
Function
TestProcessSecretChangesRestartsChangedServicesWithoutBlocking
(t *testing.T)
internal/systemd/integration_test.go:472
Function
TestProcessSecretChangesSkipsHealthyServicesWhenUnchanged
(t *testing.T)
internal/systemd/integration_test.go:616
Function
TestProcessSecretChangesStartsChangedDependencyBlockedServices
(t *testing.T)
internal/systemd/integration_test.go:542
Function
TestProcessor
(t *testing.T)
internal/secrets/processor_test.go:41
Function
TestProcessorModeValidation
(t *testing.T)
internal/secrets/processor_test.go:219
Function
TestProcessorOwnershipValidation
(t *testing.T)
internal/secrets/processor_test.go:285
Function
TestProcessorResolvesDuplicateReferencesOnce
(t *testing.T)
internal/secrets/processor_test.go:95
Function
TestProcessorWithOwnership
(t *testing.T)
internal/secrets/processor_test.go:129
Function
TestResolveSecretDoesNotRetryMissingReference
(t *testing.T)
internal/onepass/client_test.go:176
Function
TestResolveSecretRetriesTransientFailures
(t *testing.T)
internal/onepass/client_test.go:140
Function
TestSecretOwnership
(t *testing.T)
internal/config/config_test.go:185
Function
TestServiceActionConfiguration
(t *testing.T)
internal/systemd/integration_test.go:257
Function
TestTokenError
(t *testing.T)
internal/errors/errors_test.go:292
Function
TestUserGroupError
(t *testing.T)
internal/errors/errors_test.go:250
Function
TestValidate
(t *testing.T)
internal/config/config_test.go:145
Function
TestValidationError
(t *testing.T)
internal/errors/errors_test.go:278
Function
TestValidator_GetAvailableGroups
(t *testing.T)
internal/validation/validator_test.go:542
Function
TestValidator_GetAvailableUsers
(t *testing.T)
internal/validation/validator_test.go:527
Function
TestValidator_ValidateConfig
(t *testing.T)
internal/validation/validator_test.go:11
Function
TestValidator_ValidateGroup
(t *testing.T)
internal/validation/validator_test.go:385
Function
TestValidator_ValidateMode
(t *testing.T)
internal/validation/validator_test.go:253
Function
TestValidator_ValidatePath
(t *testing.T)
internal/validation/validator_test.go:181
Function
TestValidator_ValidateReference
(t *testing.T)
internal/validation/validator_test.go:77
Function
TestValidator_ValidateTokenFile
(t *testing.T)
internal/validation/validator_test.go:431
Function
TestValidator_ValidateUser
(t *testing.T)
internal/validation/validator_test.go:339
Function
TestWrap
(t *testing.T)
internal/errors/errors_test.go:324
Function
TestWrapWithSuggestions
(t *testing.T)
internal/errors/errors_test.go:349
Method
Unwrap
()
internal/errors/errors.go:44
Method
ValidateServices
ValidateServices checks that all configured services exist and are valid
internal/systemd/integration.go:584
Function
loadEnvConfig
(path string)
cmd/opnix/main.go:344
Function
main
()
cmd/opnix/main.go:22
Function
parseEnvConfigString
(raw string)
cmd/opnix/main.go:358
Function
shouldRetryProviderError
(err error)
internal/onepass/client.go:181
← previous
101–198 of 198, ranked by callers