Documentation
¶
Index ¶
- Variables
- type Controller
- func (c *Controller) Create(ctx context.Context, session *auth.Session, in *CreateInput) (*types.Template, error)
- func (c *Controller) Delete(ctx context.Context, session *auth.Session, spaceRef string, identifier string, ...) error
- func (c *Controller) Find(ctx context.Context, session *auth.Session, spaceRef string, identifier string, ...) (*types.Template, error)
- func (c *Controller) Update(ctx context.Context, session *auth.Session, spaceRef string, identifier string, ...) (*types.Template, error)
- type CreateInput
- type UpdateInput
Constants ¶
This section is empty.
Variables ¶
View Source
var WireSet = wire.NewSet( ProvideController, )
WireSet provides a wire set for this package.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
func NewController ¶
func NewController( authorizer authz.Authorizer, templateStore store.TemplateStore, spaceStore store.SpaceStore, ) *Controller
func ProvideController ¶
func ProvideController( templateStore store.TemplateStore, authorizer authz.Authorizer, spaceStore store.SpaceStore, ) *Controller
func (*Controller) Create ¶
func (c *Controller) Create(ctx context.Context, session *auth.Session, in *CreateInput) (*types.Template, error)
func (*Controller) Delete ¶
func (c *Controller) Delete( ctx context.Context, session *auth.Session, spaceRef string, identifier string, resolverType enum.ResolverType, ) error
func (*Controller) Update ¶
func (c *Controller) Update( ctx context.Context, session *auth.Session, spaceRef string, identifier string, resolverType enum.ResolverType, in *UpdateInput, ) (*types.Template, error)
type CreateInput ¶
Click to show internal directories.
Click to hide internal directories.