environment

package
v0.4.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2023 License: Apache-2.0 Imports: 36 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) 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) RouteCloneEnvironment added in v0.4.0

func (Handler) RouteGetGraph

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

func (Handler) RouteGetResourceDefinitions added in v0.4.0

func (Handler) SubResourceHandlers

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

func (Handler) Update

func (h Handler) Update(req UpdateRequest) error

type RouteCloneEnvironmentRequest added in v0.4.0

type RouteCloneEnvironmentRequest struct {
	CloneEnvironmentId object.ID `path:"environment"`

	model.EnvironmentCreateInput `path:",inline" json:",inline"`
	// contains filtered or unexported fields
}

func (*RouteCloneEnvironmentRequest) Validate added in v0.4.0

func (r *RouteCloneEnvironmentRequest) Validate() error

type RouteCloneEnvironmentResponse added in v0.4.0

type RouteCloneEnvironmentResponse = model.EnvironmentOutput

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 RouteGetResourceDefinitionsRequest added in v0.4.0

type RouteGetResourceDefinitionsRequest struct {
	model.EnvironmentQueryInput `path:",inline"`
	// contains filtered or unexported fields
}

type RouteGetResourceDefinitionsResponse added in v0.4.0

type RouteGetResourceDefinitionsResponse = []*model.ResourceDefinitionOutput

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