Documentation ¶
Index ¶
- func NewServer(db db.ArgoDB, kubeclientset kubernetes.Interface, enf *rbac.Enforcer, ...) 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) Get(ctx context.Context, q *applicationset.ApplicationSetGetQuery) (*v1alpha1.ApplicationSet, error)
- func (s *Server) List(ctx context.Context, q *applicationset.ApplicationSetListQuery) (*v1alpha1.ApplicationSetList, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewServer ¶
func NewServer( db db.ArgoDB, kubeclientset kubernetes.Interface, enf *rbac.Enforcer, cache *servercache.Cache, appclientset appclientset.Interface, appLister applisters.ApplicationLister, appsetInformer cache.SharedIndexInformer, appsetLister applisters.ApplicationSetNamespaceLister, projLister applisters.AppProjectNamespaceLister, settings *settings.SettingsManager, namespace string, projectLock sync.KeyLock, enabledNamespaces []string, ) applicationset.ApplicationSetServiceServer
NewServer returns a new instance of the ApplicationSet service
Types ¶
type Server ¶
type Server struct {
// 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) 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
Click to show internal directories.
Click to hide internal directories.