project

package
v1.5.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2020 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// JWTTokenSubFormat format of the JWT token subject that Argo CD vends out.
	JWTTokenSubFormat = "proj:%s:%s"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	// contains filtered or unexported fields
}

Server provides a Project service

func NewServer

func NewServer(ns string, kubeclientset kubernetes.Interface, appclientset appclientset.Interface, enf *rbac.Enforcer, projectLock *util.KeyLock, sessionMgr *session.SessionManager) *Server

NewServer returns a new instance of the Project service

func (*Server) Create

Create a new project.

func (*Server) CreateToken added in v0.8.0

CreateToken creates a new token to access a project

func (*Server) Delete

Delete deletes a project

func (*Server) DeleteToken added in v0.8.0

DeleteToken deletes a token in a project

func (*Server) Get

Get returns a project by name

func (*Server) GetSyncWindowsState added in v1.3.0

func (s *Server) GetSyncWindowsState(ctx context.Context, q *project.SyncWindowsQuery) (*project.SyncWindowsResponse, error)

func (*Server) List

List returns list of projects

func (*Server) ListEvents added in v0.8.0

func (s *Server) ListEvents(ctx context.Context, q *project.ProjectQuery) (*v1.EventList, error)

func (*Server) Update

Update updates a project

Jump to

Keyboard shortcuts

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