Documentation
¶
Index ¶
- Variables
- func Dec(encrypt encrypt.Encrypter, secret *types.Secret) (*types.Secret, error)
- type Controller
- func (c *Controller) Create(ctx context.Context, session *auth.Session, in *CreateInput) (*types.Secret, 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.Secret, error)
- func (c *Controller) Update(ctx context.Context, session *auth.Session, spaceRef string, identifier string, ...) (*types.Secret, 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 ¶
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
func NewController ¶
func NewController( authorizer authz.Authorizer, encrypter encrypt.Encrypter, secretStore store.SecretStore, spaceStore store.SpaceStore, ) *Controller
func ProvideController ¶
func ProvideController( encrypter encrypt.Encrypter, secretStore store.SecretStore, authorizer authz.Authorizer, spaceStore store.SpaceStore, ) *Controller
func (*Controller) Create ¶
func (c *Controller) Create(ctx context.Context, session *auth.Session, in *CreateInput) (*types.Secret, error)
type CreateInput ¶
Click to show internal directories.
Click to hide internal directories.