zrok/agent/model.go

28 lines
530 B
Go
Raw Normal View History

2024-08-22 17:02:33 +02:00
package agent
2024-08-21 20:48:02 +02:00
import (
"github.com/openziti/zrok/sdk/golang/sdk"
"time"
)
type share struct {
token string
basicAuth []string
frontendSelection []string
backendMode sdk.BackendMode
insecure bool
oauthProvider string
oauthEmailAddressPatterns []string
oauthCheckInterval time.Duration
closed bool
accessGrants []string
}
type access struct {
token string
bindAddress string
responseHeaders []string
}