api

package
v0.0.33 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2023 License: Apache-2.0 Imports: 30 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Events

func Events(w http.ResponseWriter, r *http.Request)

Events accepts events payloads from vince client script.

Types

type API added in v0.0.31

type API struct {
	v1.UnsafeVinceServer
}

func (*API) ApplyCluster added in v0.0.31

func (*API) CreateSite added in v0.0.31

func (a *API) CreateSite(ctx context.Context, req *apiv1.CreateSiteRequest) (*apiv1.CreateSiteResponse, error)

func (*API) DeleteSite added in v0.0.31

func (a *API) DeleteSite(ctx context.Context, req *apiv1.DeleteSiteRequest) (*apiv1.DeleteSiteResponse, error)

func (*API) GetCluster added in v0.0.31

func (*API) GetSite added in v0.0.31

func (a *API) GetSite(ctx context.Context, req *apiv1.GetSiteRequest) (*apiv1.GetSiteResponse, error)

func (*API) ListSites added in v0.0.31

func (a *API) ListSites(ctx context.Context, req *apiv1.ListSitesRequest) (*apiv1.ListSitesResponse, error)

func (*API) Login added in v0.0.32

func (*API) Query added in v0.0.31

func (a *API) Query(ctx context.Context, req *apiv1.QueryRequest) (*apiv1.QueryResponse, error)

Query executes read only query. Assumes req has been validated.

func (*API) SendEvent added in v0.0.31

func (a *API) SendEvent(ctx context.Context, req *apiv1.Event) (*emptypb.Empty, error)

SendEvent accepts analytics event. Assumes req has already been validated

func (*API) Version added in v0.0.31

func (a *API) Version(context.Context, *emptypb.Empty) (*v1.Build, error)

Jump to

Keyboard shortcuts

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