project

package
v0.5.1-rc2 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2024 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CollectionDeleteRequest

type CollectionDeleteRequest = model.ProjectDeleteInputs

type CollectionGetRequest

type CollectionGetRequest struct {
	model.ProjectQueryInputs `path:",inline" query:",inline"`

	runtime.RequestCollection[
		predicate.Project, project.OrderOption,
	] `query:",inline"`
}

type CollectionGetResponse

type CollectionGetResponse = []*model.ProjectOutput

type CreateRequest

type CreateRequest struct {
	model.ProjectCreateInput `path:",inline" json:",inline"`
}

func (*CreateRequest) Validate

func (r *CreateRequest) Validate() error

type CreateResponse

type CreateResponse = *model.ProjectOutput

type DeleteRequest

type DeleteRequest = model.ProjectDeleteInput

type GetRequest

type GetRequest struct {
	model.ProjectQueryInput `path:",inline"`
}

type GetResponse

type GetResponse = *model.ProjectOutput

type Handler

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

func Handle

func Handle(mc model.ClientSet, kc *rest.Config, wc pkgworkflow.Client) Handler

func (Handler) CollectionDelete

func (h Handler) CollectionDelete(req CollectionDeleteRequest) error

func (Handler) CollectionGet

func (h Handler) CollectionGet(req CollectionGetRequest) (CollectionGetResponse, int, error)

func (Handler) Create

func (h Handler) Create(req CreateRequest) (CreateResponse, error)

func (Handler) Delete

func (h Handler) Delete(req DeleteRequest) error

func (Handler) Get

func (h Handler) Get(req GetRequest) (GetResponse, error)

func (Handler) Kind

func (Handler) Kind() string

func (Handler) SubResourceHandlers

func (h Handler) SubResourceHandlers() []runtime.IResourceHandler

func (Handler) Update

func (h Handler) Update(req UpdateRequest) error

type UpdateRequest

type UpdateRequest = model.ProjectUpdateInput

Jump to

Keyboard shortcuts

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