Documentation ¶
Index ¶
- func E500() error
- func Events(w http.ResponseWriter, r *http.Request)
- func GoalE404() error
- func Sites404() error
- func SnippetsE404() error
- type API
- func (a *API) ApplyCluster(context.Context, *clusterv1.ApplyClusterRequest) (*clusterv1.ApplyClusterResponse, error)
- func (a *API) CreateGoal(ctx context.Context, req *goalsv1.CreateGoalRequest) (*goalsv1.CreateGoalResponse, error)
- func (a *API) CreateSite(ctx context.Context, req *sitesv1.CreateSiteRequest) (*sitesv1.CreateSiteResponse, error)
- func (a *API) CreateSnippet(ctx context.Context, req *snippetsv1.CreateSnippetRequest) (*snippetsv1.Snippet, error)
- func (a *API) DeleteGoal(ctx context.Context, req *goalsv1.DeleteGoalRequest) (*goalsv1.DeleteGoalResponse, error)
- func (a *API) DeleteSite(ctx context.Context, req *sitesv1.DeleteSiteRequest) (*sitesv1.DeleteSiteResponse, error)
- func (a *API) DeleteSnippet(ctx context.Context, req *snippetsv1.DeleteSnippetRequest) (*emptypb.Empty, error)
- func (a *API) GetCluster(context.Context, *clusterv1.GetClusterRequest) (*clusterv1.GetClusterResponse, error)
- func (a *API) GetGoal(ctx context.Context, req *goalsv1.GetGoalRequest) (*goalsv1.Goal, error)
- func (a *API) GetSite(ctx context.Context, req *sitesv1.GetSiteRequest) (*sitesv1.Site, error)
- func (a *API) ListGoals(ctx context.Context, req *goalsv1.ListGoalsRequest) (*goalsv1.ListGoalsResponse, error)
- func (a *API) ListSites(ctx context.Context, req *sitesv1.ListSitesRequest) (*sitesv1.ListSitesResponse, error)
- func (a *API) ListSnippets(ctx context.Context, req *snippetsv1.ListSnippetsRequest) (*snippetsv1.ListSnippetsResponse, error)
- func (a *API) Query(ctx context.Context, req *queryv1.QueryRequest) (*queryv1.QueryResponse, error)
- func (a *API) SendEvent(ctx context.Context, req *eventsv1.Event) (*emptypb.Empty, error)
- func (a *API) UpdateSnippet(ctx context.Context, req *snippetsv1.UpdateSnippetRequest) (*snippetsv1.Snippet, error)
- func (a *API) Version(ctx context.Context, _ *emptypb.Empty) (*v1.Build, error)
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.
func SnippetsE404 ¶ added in v0.0.37
func SnippetsE404() error
Types ¶
type API ¶ added in v0.0.31
type API struct { v1.UnsafeVinceServer sitesv1.UnsafeSitesServer queryv1.UnsafeQueryServer goalsv1.UnsafeGoalsServer snippetsv1.UnsafeSnippetsServer clusterv1.UnsafeClusterServer eventsv1.UnsafeEventsServer }
func (*API) ApplyCluster ¶ added in v0.0.31
func (a *API) ApplyCluster(context.Context, *clusterv1.ApplyClusterRequest) (*clusterv1.ApplyClusterResponse, error)
func (*API) CreateGoal ¶ added in v0.0.35
func (a *API) CreateGoal(ctx context.Context, req *goalsv1.CreateGoalRequest) (*goalsv1.CreateGoalResponse, error)
func (*API) CreateSite ¶ added in v0.0.31
func (a *API) CreateSite(ctx context.Context, req *sitesv1.CreateSiteRequest) (*sitesv1.CreateSiteResponse, error)
func (*API) CreateSnippet ¶ added in v0.0.37
func (a *API) CreateSnippet(ctx context.Context, req *snippetsv1.CreateSnippetRequest) (*snippetsv1.Snippet, error)
func (*API) DeleteGoal ¶ added in v0.0.35
func (a *API) DeleteGoal(ctx context.Context, req *goalsv1.DeleteGoalRequest) (*goalsv1.DeleteGoalResponse, error)
func (*API) DeleteSite ¶ added in v0.0.31
func (a *API) DeleteSite(ctx context.Context, req *sitesv1.DeleteSiteRequest) (*sitesv1.DeleteSiteResponse, error)
func (*API) DeleteSnippet ¶ added in v0.0.37
func (a *API) DeleteSnippet(ctx context.Context, req *snippetsv1.DeleteSnippetRequest) (*emptypb.Empty, error)
func (*API) GetCluster ¶ added in v0.0.31
func (a *API) GetCluster(context.Context, *clusterv1.GetClusterRequest) (*clusterv1.GetClusterResponse, error)
func (*API) ListGoals ¶ added in v0.0.35
func (a *API) ListGoals(ctx context.Context, req *goalsv1.ListGoalsRequest) (*goalsv1.ListGoalsResponse, error)
func (*API) ListSites ¶ added in v0.0.31
func (a *API) ListSites(ctx context.Context, req *sitesv1.ListSitesRequest) (*sitesv1.ListSitesResponse, error)
func (*API) ListSnippets ¶ added in v0.0.37
func (a *API) ListSnippets(ctx context.Context, req *snippetsv1.ListSnippetsRequest) (*snippetsv1.ListSnippetsResponse, error)
func (*API) Query ¶ added in v0.0.31
func (a *API) Query(ctx context.Context, req *queryv1.QueryRequest) (*queryv1.QueryResponse, error)
Query executes read only query. Assumes req has been validated.
func (*API) SendEvent ¶ added in v0.0.31
SendEvent accepts analytics event. Assumes req has already been validated
func (*API) UpdateSnippet ¶ added in v0.0.37
func (a *API) UpdateSnippet(ctx context.Context, req *snippetsv1.UpdateSnippetRequest) (*snippetsv1.Snippet, error)
Click to show internal directories.
Click to hide internal directories.