Documentation ¶
Index ¶
- Variables
- type AuthGrantService
- func (s *AuthGrantService) GrantAuthroleClusterPolicy(ctx context.Context, req *pb.AuthroleClusterPolicyRequest) (*pb.GrantAuthrolePolicyReply, error)
- func (s *AuthGrantService) GrantAuthroleGitPolicy(ctx context.Context, req *pb.AuthroleGitPolicyRequest) (*pb.GrantAuthrolePolicyReply, error)
- func (s *AuthGrantService) GrantAuthroleRepoPolicy(ctx context.Context, req *pb.AuthroleRepoPolicyRequest) (*pb.GrantAuthrolePolicyReply, error)
- func (s *AuthGrantService) GrantAuthroleTenantGitPolicy(ctx context.Context, req *pb.AuthroleTenantGitPolicyRequest) (*pb.GrantAuthrolePolicyReply, error)
- func (s *AuthGrantService) GrantAuthroleTenantRepoPolicy(ctx context.Context, req *pb.AuthroleTenantRepoPolicyRequest) (*pb.GrantAuthrolePolicyReply, error)
- func (s *AuthGrantService) RevokeAuthroleClusterPolicy(ctx context.Context, req *pb.AuthroleClusterPolicyRequest) (*pb.RevokeAuthrolePolicyReply, error)
- func (s *AuthGrantService) RevokeAuthroleGitPolicy(ctx context.Context, req *pb.AuthroleGitPolicyRequest) (*pb.RevokeAuthrolePolicyReply, error)
- func (s *AuthGrantService) RevokeAuthroleRepoPolicy(ctx context.Context, req *pb.AuthroleRepoPolicyRequest) (*pb.RevokeAuthrolePolicyReply, error)
- func (s *AuthGrantService) RevokeAuthroleTenantGitPolicy(ctx context.Context, req *pb.AuthroleTenantGitPolicyRequest) (*pb.RevokeAuthrolePolicyReply, error)
- func (s *AuthGrantService) RevokeAuthroleTenantRepoPolicy(ctx context.Context, req *pb.AuthroleTenantRepoPolicyRequest) (*pb.RevokeAuthrolePolicyReply, error)
- type AuthService
- func (s *AuthService) CreateAuth(ctx context.Context, req *pb.AuthRequest) (*pb.CreateAuthReply, error)
- func (s *AuthService) CreateAuthrole(ctx context.Context, req *pb.AuthroleRequest) (*pb.CreateAuthroleReply, error)
- func (s *AuthService) DeleteAuth(ctx context.Context, req *pb.AuthRequest) (*pb.DeleteAuthReply, error)
- func (s *AuthService) DeleteAuthrole(ctx context.Context, req *pb.AuthroleRequest) (*pb.DeleteAuthroleReply, error)
- type HealthService
- type SecretService
- func (s *SecretService) CreateCluster(ctx context.Context, req *pb.ClusterRequest) (*pb.CreateClusterReply, error)
- func (s *SecretService) CreateGit(ctx context.Context, req *pb.GitRequest) (*pb.CreateGitReply, error)
- func (s *SecretService) CreatePki(ctx context.Context, req *pb.PkiRequest) (*pb.CreatePkiReply, error)
- func (s *SecretService) CreateRepo(ctx context.Context, req *pb.RepoRequest) (*pb.CreateRepoReply, error)
- func (s *SecretService) CreateTenantRepo(ctx context.Context, req *pb.TenantRepoRequest) (*pb.CreateTenantRepoReply, error)
- func (s *SecretService) CreteTenantGit(ctx context.Context, req *pb.TenantGitRequest) (*pb.CreateTenantGitReply, error)
- func (s *SecretService) DeleteCluster(ctx context.Context, req *pb.ClusterRequest) (*pb.DeleteClusterReply, error)
- func (s *SecretService) DeleteGit(ctx context.Context, req *pb.GitRequest) (*pb.DeleteGitReply, error)
- func (s *SecretService) DeletePki(ctx context.Context, req *pb.PkiRequest) (*pb.DeletePkiReply, error)
- func (s *SecretService) DeleteRepo(ctx context.Context, req *pb.RepoRequest) (*pb.DeleteRepoReply, error)
- func (s *SecretService) DeleteTenantGit(ctx context.Context, req *pb.TenantGitRequest) (*pb.DeleteTenantGitReply, error)
- func (s *SecretService) DeleteTenantRepo(ctx context.Context, req *pb.TenantRepoRequest) (*pb.DeleteTenantRepoReply, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ProviderSet = wire.NewSet(NewSecretService, NewAuthService, NewAuthGrantService, NewHealthService)
ProviderSet is service providers.
Functions ¶
This section is empty.
Types ¶
type AuthGrantService ¶
type AuthGrantService struct {
// contains filtered or unexported fields
}
func NewAuthGrantService ¶
func NewAuthGrantService(uc *vproxy.VaultUsercase) *AuthGrantService
func (*AuthGrantService) GrantAuthroleClusterPolicy ¶
func (s *AuthGrantService) GrantAuthroleClusterPolicy(ctx context.Context, req *pb.AuthroleClusterPolicyRequest) (*pb.GrantAuthrolePolicyReply, error)
func (*AuthGrantService) GrantAuthroleGitPolicy ¶
func (s *AuthGrantService) GrantAuthroleGitPolicy(ctx context.Context, req *pb.AuthroleGitPolicyRequest) (*pb.GrantAuthrolePolicyReply, error)
func (*AuthGrantService) GrantAuthroleRepoPolicy ¶
func (s *AuthGrantService) GrantAuthroleRepoPolicy(ctx context.Context, req *pb.AuthroleRepoPolicyRequest) (*pb.GrantAuthrolePolicyReply, error)
func (*AuthGrantService) GrantAuthroleTenantGitPolicy ¶
func (s *AuthGrantService) GrantAuthroleTenantGitPolicy(ctx context.Context, req *pb.AuthroleTenantGitPolicyRequest) (*pb.GrantAuthrolePolicyReply, error)
func (*AuthGrantService) GrantAuthroleTenantRepoPolicy ¶
func (s *AuthGrantService) GrantAuthroleTenantRepoPolicy(ctx context.Context, req *pb.AuthroleTenantRepoPolicyRequest) (*pb.GrantAuthrolePolicyReply, error)
func (*AuthGrantService) RevokeAuthroleClusterPolicy ¶
func (s *AuthGrantService) RevokeAuthroleClusterPolicy(ctx context.Context, req *pb.AuthroleClusterPolicyRequest) (*pb.RevokeAuthrolePolicyReply, error)
func (*AuthGrantService) RevokeAuthroleGitPolicy ¶
func (s *AuthGrantService) RevokeAuthroleGitPolicy(ctx context.Context, req *pb.AuthroleGitPolicyRequest) (*pb.RevokeAuthrolePolicyReply, error)
func (*AuthGrantService) RevokeAuthroleRepoPolicy ¶
func (s *AuthGrantService) RevokeAuthroleRepoPolicy(ctx context.Context, req *pb.AuthroleRepoPolicyRequest) (*pb.RevokeAuthrolePolicyReply, error)
func (*AuthGrantService) RevokeAuthroleTenantGitPolicy ¶
func (s *AuthGrantService) RevokeAuthroleTenantGitPolicy(ctx context.Context, req *pb.AuthroleTenantGitPolicyRequest) (*pb.RevokeAuthrolePolicyReply, error)
func (*AuthGrantService) RevokeAuthroleTenantRepoPolicy ¶
func (s *AuthGrantService) RevokeAuthroleTenantRepoPolicy(ctx context.Context, req *pb.AuthroleTenantRepoPolicyRequest) (*pb.RevokeAuthrolePolicyReply, error)
type AuthService ¶
type AuthService struct {
// contains filtered or unexported fields
}
func NewAuthService ¶
func NewAuthService(uc *vproxy.VaultUsercase) *AuthService
func (*AuthService) CreateAuth ¶
func (s *AuthService) CreateAuth(ctx context.Context, req *pb.AuthRequest) (*pb.CreateAuthReply, error)
func (*AuthService) CreateAuthrole ¶
func (s *AuthService) CreateAuthrole(ctx context.Context, req *pb.AuthroleRequest) (*pb.CreateAuthroleReply, error)
func (*AuthService) DeleteAuth ¶
func (s *AuthService) DeleteAuth(ctx context.Context, req *pb.AuthRequest) (*pb.DeleteAuthReply, error)
func (*AuthService) DeleteAuthrole ¶
func (s *AuthService) DeleteAuthrole(ctx context.Context, req *pb.AuthroleRequest) (*pb.DeleteAuthroleReply, error)
type HealthService ¶
type HealthService struct {
// contains filtered or unexported fields
}
func NewHealthService ¶
func NewHealthService(uc *vproxy.VaultUsercase) *HealthService
func (*HealthService) Health ¶
func (s *HealthService) Health(ctx context.Context, req *pb.HealthRequest) (*pb.HealthReply, error)
type SecretService ¶
type SecretService struct {
// contains filtered or unexported fields
}
func NewSecretService ¶
func NewSecretService(uc *vproxy.VaultUsercase) *SecretService
func (*SecretService) CreateCluster ¶
func (s *SecretService) CreateCluster(ctx context.Context, req *pb.ClusterRequest) (*pb.CreateClusterReply, error)
func (*SecretService) CreateGit ¶
func (s *SecretService) CreateGit(ctx context.Context, req *pb.GitRequest) (*pb.CreateGitReply, error)
func (*SecretService) CreatePki ¶
func (s *SecretService) CreatePki(ctx context.Context, req *pb.PkiRequest) (*pb.CreatePkiReply, error)
func (*SecretService) CreateRepo ¶
func (s *SecretService) CreateRepo(ctx context.Context, req *pb.RepoRequest) (*pb.CreateRepoReply, error)
func (*SecretService) CreateTenantRepo ¶
func (s *SecretService) CreateTenantRepo(ctx context.Context, req *pb.TenantRepoRequest) (*pb.CreateTenantRepoReply, error)
func (*SecretService) CreteTenantGit ¶
func (s *SecretService) CreteTenantGit(ctx context.Context, req *pb.TenantGitRequest) (*pb.CreateTenantGitReply, error)
func (*SecretService) DeleteCluster ¶
func (s *SecretService) DeleteCluster(ctx context.Context, req *pb.ClusterRequest) (*pb.DeleteClusterReply, error)
func (*SecretService) DeleteGit ¶
func (s *SecretService) DeleteGit(ctx context.Context, req *pb.GitRequest) (*pb.DeleteGitReply, error)
func (*SecretService) DeletePki ¶
func (s *SecretService) DeletePki(ctx context.Context, req *pb.PkiRequest) (*pb.DeletePkiReply, error)
func (*SecretService) DeleteRepo ¶
func (s *SecretService) DeleteRepo(ctx context.Context, req *pb.RepoRequest) (*pb.DeleteRepoReply, error)
func (*SecretService) DeleteTenantGit ¶
func (s *SecretService) DeleteTenantGit(ctx context.Context, req *pb.TenantGitRequest) (*pb.DeleteTenantGitReply, error)
func (*SecretService) DeleteTenantRepo ¶
func (s *SecretService) DeleteTenantRepo(ctx context.Context, req *pb.TenantRepoRequest) (*pb.DeleteTenantRepoReply, error)
Click to show internal directories.
Click to hide internal directories.