Documentation
¶
Index ¶
Constants ¶
View Source
const (
EmbeddedSpiceDBEndpoint = "embedded://"
)
Variables ¶
This section is empty.
Functions ¶
func NewTransportForKubeconfig ¶
func NewTransportForKubeconfig(config *clientcmdapi.Config) (*http.Transport, error)
Types ¶
type Authentication ¶
type Authentication struct {
BuiltInOptions *kubeoptions.BuiltInAuthenticationOptions
}
func NewAuthentication ¶
func NewAuthentication() *Authentication
func (*Authentication) AddFlags ¶
func (c *Authentication) AddFlags(fs *pflag.FlagSet)
func (*Authentication) AdditionalAuthEnabled ¶
func (c *Authentication) AdditionalAuthEnabled() bool
func (*Authentication) ApplyTo ¶
func (c *Authentication) ApplyTo(authenticationInfo *genericapiserver.AuthenticationInfo, servingInfo *genericapiserver.SecureServingInfo) error
func (*Authentication) Validate ¶
func (c *Authentication) Validate() []error
type Authenticator ¶
type Authenticator struct{}
type Options ¶
type Options struct {
SecureServing apiserveroptions.SecureServingOptionsWithLoopback
Authentication Authentication
Logs *logs.Options
BackendKubeconfigPath string
RestConfigFunc func() (*rest.Config, http.RoundTripper, error)
OverrideUpstream bool
UseInClusterConfig bool
RuleConfigFile string
Matcher rules.Matcher
CertDir string
AuthenticationInfo genericapiserver.AuthenticationInfo
ServingInfo *genericapiserver.SecureServingInfo
AdditionalAuthEnabled bool
WatchClient v1.WatchServiceClient
PermissionsClient v1.PermissionsServiceClient
SpiceDBEndpoint string
EmbeddedSpiceDB server.RunnableServer
WorkflowDatabasePath string
LockMode string
// contains filtered or unexported fields
}
func NewOptions ¶
func NewOptions() *Options
type Server ¶
type Server struct {
Handler http.Handler
WorkflowWorker *distributedtx.Worker
KubeClient *kubernetes.Clientset
Matcher *rules.Matcher
// contains filtered or unexported fields
}
func (*Server) PermissionClient ¶
func (s *Server) PermissionClient() v1.PermissionsServiceClient
Click to show internal directories.
Click to hide internal directories.