Documentation ¶
Index ¶
- func NewServer(db db.ArgoDB, kubeclientset kubernetes.Interface, ...) applicationset.ApplicationSetServiceServer
- type Server
- func (s *Server) Create(ctx context.Context, q *applicationset.ApplicationSetCreateRequest) (*v1alpha1.ApplicationSet, error)
- func (s *Server) Delete(ctx context.Context, q *applicationset.ApplicationSetDeleteRequest) (*applicationset.ApplicationSetResponse, error)
- func (s *Server) Generate(ctx context.Context, q *applicationset.ApplicationSetGenerateRequest) (*applicationset.ApplicationSetGenerateResponse, error)
- func (s *Server) Get(ctx context.Context, q *applicationset.ApplicationSetGetQuery) (*v1alpha1.ApplicationSet, error)
- func (s *Server) List(ctx context.Context, q *applicationset.ApplicationSetListQuery) (*v1alpha1.ApplicationSetList, error)
- func (s *Server) ResourceTree(ctx context.Context, q *applicationset.ApplicationSetTreeQuery) (*v1alpha1.ApplicationSetTree, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewServer ¶
func NewServer( db db.ArgoDB, kubeclientset kubernetes.Interface, dynamicClientset dynamic.Interface, kubeControllerClientset client.Client, enf *rbac.Enforcer, repoClientSet repoapiclient.Clientset, appclientset appclientset.Interface, appsetInformer cache.SharedIndexInformer, appsetLister applisters.ApplicationSetLister, projLister applisters.AppProjectNamespaceLister, settings *settings.SettingsManager, namespace string, projectLock sync.KeyLock, enabledNamespaces []string, gitSubmoduleEnabled bool, enableNewGitFileGlobbing bool, scmRootCAPath string, allowedScmProviders []string, enableScmProviders bool, ) applicationset.ApplicationSetServiceServer
NewServer returns a new instance of the ApplicationSet service
Types ¶
type Server ¶
type Server struct { GitSubmoduleEnabled bool EnableNewGitFileGlobbing bool ScmRootCAPath string AllowedScmProviders []string EnableScmProviders bool // contains filtered or unexported fields }
func (*Server) Create ¶
func (s *Server) Create(ctx context.Context, q *applicationset.ApplicationSetCreateRequest) (*v1alpha1.ApplicationSet, error)
func (*Server) Delete ¶
func (s *Server) Delete(ctx context.Context, q *applicationset.ApplicationSetDeleteRequest) (*applicationset.ApplicationSetResponse, error)
func (*Server) Generate ¶ added in v2.13.0
func (s *Server) Generate(ctx context.Context, q *applicationset.ApplicationSetGenerateRequest) (*applicationset.ApplicationSetGenerateResponse, error)
func (*Server) Get ¶
func (s *Server) Get(ctx context.Context, q *applicationset.ApplicationSetGetQuery) (*v1alpha1.ApplicationSet, error)
func (*Server) List ¶
func (s *Server) List(ctx context.Context, q *applicationset.ApplicationSetListQuery) (*v1alpha1.ApplicationSetList, error)
List returns list of ApplicationSets
func (*Server) ResourceTree ¶ added in v2.12.0
func (s *Server) ResourceTree(ctx context.Context, q *applicationset.ApplicationSetTreeQuery) (*v1alpha1.ApplicationSetTree, error)
Click to show internal directories.
Click to hide internal directories.