Documentation ¶
Index ¶
- type Server
- func (s *Server) CreateRepositoryCredentials(ctx context.Context, q *repocredspkg.RepoCredsCreateRequest) (*appsv1.RepoCreds, error)
- func (s *Server) DeleteRepositoryCredentials(ctx context.Context, q *repocredspkg.RepoCredsDeleteRequest) (*repocredspkg.RepoCredsResponse, error)
- func (s *Server) ListRepositoryCredentials(ctx context.Context, q *repocredspkg.RepoCredsQuery) (*appsv1.RepoCredsList, error)
- func (s *Server) UpdateRepositoryCredentials(ctx context.Context, q *repocredspkg.RepoCredsUpdateRequest) (*appsv1.RepoCreds, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server provides a Repository service
func NewServer ¶
func NewServer( repoClientset apiclient.Clientset, db db.ArgoDB, enf *rbac.Enforcer, settings *settings.SettingsManager, ) *Server
NewServer returns a new instance of the Repository service
func (*Server) CreateRepositoryCredentials ¶
func (s *Server) CreateRepositoryCredentials(ctx context.Context, q *repocredspkg.RepoCredsCreateRequest) (*appsv1.RepoCreds, error)
CreateRepositoryCredentials creates a new credential set in the configuration
func (*Server) DeleteRepositoryCredentials ¶
func (s *Server) DeleteRepositoryCredentials(ctx context.Context, q *repocredspkg.RepoCredsDeleteRequest) (*repocredspkg.RepoCredsResponse, error)
DeleteRepositoryCredentials removes a credential set from the configuration
func (*Server) ListRepositoryCredentials ¶
func (s *Server) ListRepositoryCredentials(ctx context.Context, q *repocredspkg.RepoCredsQuery) (*appsv1.RepoCredsList, error)
ListRepositoryCredentials returns a list of all configured repository credential sets
func (*Server) UpdateRepositoryCredentials ¶
func (s *Server) UpdateRepositoryCredentials(ctx context.Context, q *repocredspkg.RepoCredsUpdateRequest) (*appsv1.RepoCreds, error)
UpdateRepositoryCredentials updates a repository credential set
Click to show internal directories.
Click to hide internal directories.