Documentation ¶
Index ¶
- Constants
- type Handler
- func (h *Handler) Create(ctx context.Context, in *settingspb.CreateRequest, out *settingspb.Setting) error
- func (h *Handler) Flags(r *components.Registry) []cli.Flag
- func (h *Handler) Get(ctx context.Context, in *settingspb.GetRequest, out *settingspb.Setting) error
- func (h *Handler) Health(context context.Context) error
- func (h *Handler) Init(components *components.Registry, cli *cli.Context) error
- func (h *Handler) Initialized() bool
- func (h *Handler) List(ctx context.Context, in *settingspb.ListRequest, out *settingspb.SettingsList) error
- func (h *Handler) Name() string
- func (h *Handler) Priority() int
- func (h *Handler) Stop() error
- func (h *Handler) Update(ctx context.Context, in *settingspb.UpdateRequest, out *settingspb.Setting) error
- func (h *Handler) Upsert(ctx context.Context, in *settingspb.UpsertRequest, out *settingspb.Setting) error
Constants ¶
View Source
const Name = "settingsHandler"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
func MustReg ¶
func MustReg(cReg *components.Registry) *Handler
func (*Handler) Create ¶
func (h *Handler) Create(ctx context.Context, in *settingspb.CreateRequest, out *settingspb.Setting) error
func (*Handler) Flags ¶
func (h *Handler) Flags(r *components.Registry) []cli.Flag
func (*Handler) Get ¶
func (h *Handler) Get(ctx context.Context, in *settingspb.GetRequest, out *settingspb.Setting) error
func (*Handler) Init ¶
func (h *Handler) Init(components *components.Registry, cli *cli.Context) error
func (*Handler) List ¶
func (h *Handler) List(ctx context.Context, in *settingspb.ListRequest, out *settingspb.SettingsList) error
func (*Handler) Update ¶
func (h *Handler) Update(ctx context.Context, in *settingspb.UpdateRequest, out *settingspb.Setting) error
func (*Handler) Upsert ¶
func (h *Handler) Upsert(ctx context.Context, in *settingspb.UpsertRequest, out *settingspb.Setting) error
Click to show internal directories.
Click to hide internal directories.