service

package
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 27, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

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 (*AuthGrantService) GrantAuthroleRepoPolicy

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 (*AuthGrantService) RevokeAuthroleRepoPolicy

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

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(_ context.Context, _ *pb.PkiRequest) (*pb.CreatePkiReply, error)

func (*SecretService) CreateRepoAccount added in v0.4.0

func (s *SecretService) CreateRepoAccount(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(_ context.Context, _ *pb.PkiRequest) (*pb.DeletePkiReply, error)

func (*SecretService) DeleteRepoAccountProduct added in v0.4.0

func (s *SecretService) DeleteRepoAccountProduct(ctx context.Context, req *pb.RepoRequest) (*pb.DeleteRepoReply, error)

func (*SecretService) DeleteRepoAccountProject added in v0.4.0

func (s *SecretService) DeleteRepoAccountProject(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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL