Documentation
¶
Index ¶
- Constants
- func Bootstrap(skipFrontend bool, inCfg *config.Config) error
- func CreateToken() (string, error)
- func GC(inCfg *zrok_config.Config, opts GCOptions) error
- func HashPassword(password string) (*hashedPassword, error)
- func HealthCheckHTTP(w http.ResponseWriter, _ *http.Request)
- func RepairDialPolicies(cfg *zrok_config.Config, apply bool) error
- func Run(inCfg *config.Config) error
- func Unbootstrap(cfg *config.Config) error
- type GCOptions
Constants ¶
View Source
const DefaultGCMinAge = 24 * time.Hour
DefaultGCMinAge is how old an orphaned object must be before gc touches it. a day is well clear of clock skew between the ziti and zrok hosts, and with the leak stopped nothing younger needs reclaiming. any guard at all also keeps gc off a share whose ziti objects are allocated but whose row has not yet committed is never collected.
Variables ¶
This section is empty.
Functions ¶
func CreateToken ¶
func GC ¶
func GC(inCfg *zrok_config.Config, opts GCOptions) error
GC reports, and with opts.Delete removes, the ziti objects carrying a zrokShareToken tag whose token belongs to no live share.
func HashPassword ¶
func HealthCheckHTTP ¶
func HealthCheckHTTP(w http.ResponseWriter, _ *http.Request)
func RepairDialPolicies ¶ added in v2.0.7
func RepairDialPolicies(cfg *zrok_config.Config, apply bool) error
RepairDialPolicies reports, and with apply creates, the dial service policies missing from live shares whose accounts the bandwidth limit journal does not hold limited.
func Unbootstrap ¶
Types ¶
Source Files
¶
- access.go
- accountDetail.go
- addFrontendGrant.go
- addNamespaceFrontendMapping.go
- addNamespaceGrant.go
- addOrganizationMember.go
- agentEnroll.go
- agentPing.go
- agentRemoteAccess.go
- agentRemoteShare.go
- agentRemoteStatus.go
- agentRemoteUnaccess.go
- agentRemoteUnshare.go
- agentShareHttpHealthcheck.go
- agentUnenroll.go
- applyLimitClasses.go
- bootstrap.go
- changePassword.go
- configuration.go
- controller.go
- createAccount.go
- createFrontend.go
- createIdentity.go
- createNamespace.go
- createOrganization.go
- createShareName.go
- deleteAccount.go
- deleteFrontend.go
- deleteFrontendGrant.go
- deleteIdentity.go
- deleteNamespace.go
- deleteOrganization.go
- deleteShareName.go
- disable.go
- enable.go
- environmentDetail.go
- frontendDetail.go
- gc.go
- health.go
- invite.go
- inviteTokenGenerate.go
- listAccesses.go
- listAllNames.go
- listAppliedLimitClasses.go
- listEnvironments.go
- listFrontendNamespaceMappings.go
- listFrontends.go
- listLimitClasses.go
- listMemberships.go
- listNamesForNamespace.go
- listNamespaceFrontendMappings.go
- listNamespaces.go
- listOrgMembers.go
- listOrganizationMembers.go
- listOrganizations.go
- listShareNamespaces.go
- listShares.go
- login.go
- maintenance.go
- mappingUpdates.go
- metrics.go
- orgAccountOverview.go
- overview.go
- passwords.go
- rateLimited.go
- regenerateAccountToken.go
- register.go
- removeAppliedLimitClasses.go
- removeNamespaceFrontendMapping.go
- removeNamespaceGrant.go
- removeOrganizationMember.go
- repairDialPolicies.go
- resetPassword.go
- resetPasswordEmail.go
- resetPasswordRequest.go
- share.go
- shareDetail.go
- skipInterstitialGrant.go
- sparkData.go
- sparklines.go
- startup.go
- teardownShare.go
- unaccess.go
- unbootstrap.go
- unshare.go
- updateAccess.go
- updateAccountPassword.go
- updateFrontend.go
- updateNamespace.go
- updateShare.go
- updateShareName.go
- util.go
- verify.go
- verifyEmail.go
- version.go
- zitiCompensation.go
Click to show internal directories.
Click to hide internal directories.