environment

package
v0.3.1-rc1 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2023 License: Apache-2.0 Imports: 27 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.EnvironmentDeleteInputs

type CollectionGetRequest

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

	runtime.RequestCollection[
		predicate.Environment, environment.OrderOption,
	] `query:",inline"`
}

type CollectionGetResponse

type CollectionGetResponse = []*model.EnvironmentOutput

type CreateRequest

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

func (*CreateRequest) Validate

func (r *CreateRequest) Validate() error

type CreateResponse

type CreateResponse = *model.EnvironmentOutput

type DeleteRequest

type DeleteRequest = model.EnvironmentDeleteInput

type GetRequest

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

type GetResponse

type GetResponse = *model.EnvironmentOutput

type GraphEdge

type GraphEdge = types.GraphEdge

GraphEdge defines the edge of graph.

type GraphVertex

type GraphVertex = types.GraphVertex

GraphVertex defines the vertex of graph.

type GraphVertexID

type GraphVertexID = types.GraphVertexID

GraphVertexID defines the identifier of the vertex, which uniquely represents an API resource.

type Handler

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

func Handle

func Handle(mc model.ClientSet, kc *rest.Config, tc bool) 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) RouteGetGraph

func (h Handler) RouteGetGraph(req RouteGetGraphRequest) (*RouteGetGraphResponse, error)

func (Handler) SubResourceHandlers

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

func (Handler) Update

func (h Handler) Update(req UpdateRequest) error

type RouteGetGraphRequest

type RouteGetGraphRequest struct {
	model.EnvironmentQueryInput `path:",inline"`

	WithoutKeys bool `query:"withoutKeys,omitempty"`
	// contains filtered or unexported fields
}

type RouteGetGraphResponse

type RouteGetGraphResponse struct {
	Vertices []GraphVertex `json:"vertices"`
	Edges    []GraphEdge   `json:"edges"`
}

type UpdateRequest

type UpdateRequest struct {
	model.EnvironmentUpdateInput `path:",inline" json:",inline"`
}

func (*UpdateRequest) Validate

func (r *UpdateRequest) Validate() error

Jump to

Keyboard shortcuts

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