Documentation
¶
Index ¶
- Variables
- type Service
- func (s Service) CreateCredentialStore(ctx context.Context, req *pbs.CreateCredentialStoreRequest) (*pbs.CreateCredentialStoreResponse, error)
- func (s Service) DeleteCredentialStore(ctx context.Context, req *pbs.DeleteCredentialStoreRequest) (*pbs.DeleteCredentialStoreResponse, error)
- func (s Service) GetCredentialStore(ctx context.Context, req *pbs.GetCredentialStoreRequest) (*pbs.GetCredentialStoreResponse, error)
- func (s Service) ListCredentialStores(ctx context.Context, req *pbs.ListCredentialStoresRequest) (*pbs.ListCredentialStoresResponse, error)
- func (s Service) UpdateCredentialStore(ctx context.Context, req *pbs.UpdateCredentialStoreRequest) (*pbs.UpdateCredentialStoreResponse, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // IdActions contains the set of actions that can be performed on // individual resources IdActions = action.ActionSet{ action.NoOp, action.Read, action.Update, action.Delete, } // CollectionActions contains the set of actions that can be performed on // this collection CollectionActions = action.ActionSet{ action.Create, action.List, } )
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct { pbs.UnimplementedCredentialStoreServiceServer // contains filtered or unexported fields }
Service handles request as described by the pbs.CredentialStoreServiceServer interface.
func NewService ¶
func NewService( vaultRepo common.VaultCredentialRepoFactory, staticRepo common.StaticCredentialRepoFactory, iamRepo common.IamRepoFactory, ) (Service, error)
NewService returns a credential store service which handles credential store related requests to boundary.
func (Service) CreateCredentialStore ¶
func (s Service) CreateCredentialStore(ctx context.Context, req *pbs.CreateCredentialStoreRequest) (*pbs.CreateCredentialStoreResponse, error)
CreateCredentialStore implements the interface pbs.CredentialStoreServiceServer.
func (Service) DeleteCredentialStore ¶
func (s Service) DeleteCredentialStore(ctx context.Context, req *pbs.DeleteCredentialStoreRequest) (*pbs.DeleteCredentialStoreResponse, error)
DeleteCredentialStore implements the interface pbs.CredentialStoreServiceServer.
func (Service) GetCredentialStore ¶
func (s Service) GetCredentialStore(ctx context.Context, req *pbs.GetCredentialStoreRequest) (*pbs.GetCredentialStoreResponse, error)
GetCredentialStore implements the interface pbs.CredentialStoreServiceServer.
func (Service) ListCredentialStores ¶
func (s Service) ListCredentialStores(ctx context.Context, req *pbs.ListCredentialStoresRequest) (*pbs.ListCredentialStoresResponse, error)
ListCredentialStores implements the interface pbs.CredentialStoreServiceServer
func (Service) UpdateCredentialStore ¶
func (s Service) UpdateCredentialStore(ctx context.Context, req *pbs.UpdateCredentialStoreRequest) (*pbs.UpdateCredentialStoreResponse, error)
UpdateCredentialStore implements the interface pbs.CredentialStoreServiceServer.
Click to show internal directories.
Click to hide internal directories.