Documentation ¶
Overview ¶
Code generated by options-gen. DO NOT EDIT.
Index ¶
- Variables
- type OptOptionsSetter
- type Options
- type Service
- func (s *Service) AuthType() config.AuthType
- func (s *Service) AuthUser(_ context.Context, username, password string) (*structs.User, error)
- func (s *Service) CompleteOIDC(ctx context.Context, code string) (*structs.User, time.Time, error)
- func (s *Service) GetACLs(_ context.Context, uID config.UserID, tID config.TargetID) []config.ACL
- func (s *Service) GetTargetByID(_ context.Context, id config.TargetID) (*config.Target, error)
- func (s *Service) GetTargets(_ context.Context) ([]structs.Server, error)
- func (s *Service) GetUserByID(_ context.Context, id config.UserID) (*config.User, error)
- func (s *Service) InitOIDC(_ context.Context) (string, error)
- func (s *Service) RunQuery(ctx context.Context, userID config.UserID, srvID config.TargetID, query string) (*structs.QTable, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNotFound = errors.New("not found")
Functions ¶
This section is empty.
Types ¶
type OptOptionsSetter ¶
type OptOptionsSetter func(o *Options)
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func (*Service) CompleteOIDC ¶ added in v0.9.0
func (*Service) GetTargetByID ¶
func (*Service) GetTargets ¶
func (*Service) GetUserByID ¶ added in v0.9.0
Click to show internal directories.
Click to hide internal directories.