Documentation ¶
Index ¶
- type ProjectRegistry
- func (r *ProjectRegistry) CreateProject(ctx kapi.Context, project *api.Project) error
- func (r *ProjectRegistry) DeleteProject(ctx kapi.Context, id string) error
- func (r *ProjectRegistry) GetProject(ctx kapi.Context, id string) (*api.Project, error)
- func (r *ProjectRegistry) ListProjects(ctx kapi.Context, selector labels.Selector) (*api.ProjectList, error)
- func (r *ProjectRegistry) UpdateProject(ctx kapi.Context, project *api.Project) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ProjectRegistry ¶
func NewProjectRegistry ¶
func NewProjectRegistry() *ProjectRegistry
func (*ProjectRegistry) CreateProject ¶
func (*ProjectRegistry) DeleteProject ¶
func (r *ProjectRegistry) DeleteProject(ctx kapi.Context, id string) error
func (*ProjectRegistry) GetProject ¶
func (*ProjectRegistry) ListProjects ¶
func (r *ProjectRegistry) ListProjects(ctx kapi.Context, selector labels.Selector) (*api.ProjectList, error)
func (*ProjectRegistry) UpdateProject ¶
Click to show internal directories.
Click to hide internal directories.