Documentation
¶
Overview ¶
Package user implements the user management feature
Index ¶
- type Feature
- func (f *Feature) Description() string
- func (f *Feature) DetectCurrentState(ctx *features.ExecutionContext) (map[string]any, error)
- func (f *Feature) DisplayCurrentState(ctx *features.ExecutionContext, state map[string]any)
- func (f *Feature) Execute(ctx *features.ExecutionContext) error
- func (f *Feature) Flags() []features.Flag
- func (f *Feature) Name() string
- func (f *Feature) Priority() int
- func (f *Feature) ShouldActivate(options map[string]any) bool
- func (f *Feature) ShouldPromptUser(ctx *features.ExecutionContext, state map[string]any) bool
- func (f *Feature) ValidateOptions(options map[string]any) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Feature ¶
type Feature struct {
// contains filtered or unexported fields
}
Feature implements the user management feature
func (*Feature) Description ¶
Description returns the feature description
func (*Feature) DetectCurrentState ¶
DetectCurrentState detects and returns the current state of the user feature
func (*Feature) DisplayCurrentState ¶
func (f *Feature) DisplayCurrentState(ctx *features.ExecutionContext, state map[string]any)
DisplayCurrentState displays the current state of the user feature
func (*Feature) Execute ¶
func (f *Feature) Execute(ctx *features.ExecutionContext) error
Execute executes the feature functionality
func (*Feature) ShouldActivate ¶
ShouldActivate determines if the feature should be activated
func (*Feature) ShouldPromptUser ¶
ShouldPromptUser determines if the user should be prompted for input
Click to show internal directories.
Click to hide internal directories.