Documentation ¶
Overview ¶
Code generated by options-gen. DO NOT EDIT.
Index ¶
- Variables
- type OptOptionsSetter
- type Options
- type QueryResults
- 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) GetQueryResults(ctx context.Context, uid config.UserID, qid uuid6.UUID) (*QueryResults, error)
- func (s *Service) GetTargetByID(ctx context.Context, uID config.UserID, tID config.TargetID) (*structs.Server, error)
- func (s *Service) GetTargets(_ context.Context, uID config.UserID) ([]structs.Server, error)
- func (s *Service) InitOIDC(_ context.Context) (string, error)
- func (s *Service) RunQuery(ctx context.Context, userID config.UserID, srvID config.TargetID, query string) (uuid6.UUID, *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 QueryResults ¶ added in v0.13.0
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func (*Service) CompleteOIDC ¶ added in v0.9.0
func (*Service) GetQueryResults ¶ added in v0.13.0
func (*Service) GetTargetByID ¶
func (*Service) GetTargets ¶
GetTargets return targets that available for this user id.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.