serverv1connect

package
v0.7.2 Latest Latest
Warning

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

Go to latest
Published: May 17, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// AuthServiceGetTokenProcedure is the fully-qualified name of the AuthService's GetToken RPC.
	AuthServiceGetTokenProcedure = "/chalk.server.v1.AuthService/GetToken"
	// AuthServiceCreateLinkSessionProcedure is the fully-qualified name of the AuthService's
	// CreateLinkSession RPC.
	AuthServiceCreateLinkSessionProcedure = "/chalk.server.v1.AuthService/CreateLinkSession"
	// AuthServiceGetLinkSessionProcedure is the fully-qualified name of the AuthService's
	// GetLinkSession RPC.
	AuthServiceGetLinkSessionProcedure = "/chalk.server.v1.AuthService/GetLinkSession"
	// AuthServiceUpdateLinkSessionProcedure is the fully-qualified name of the AuthService's
	// UpdateLinkSession RPC.
	AuthServiceUpdateLinkSessionProcedure = "/chalk.server.v1.AuthService/UpdateLinkSession"
)

These constants are the fully-qualified names of the RPCs defined in this package. They're exposed at runtime as Spec.Procedure and as the final two segments of the HTTP route.

Note that these are different from the fully-qualified method names used by google.golang.org/protobuf/reflect/protoreflect. To convert from these constants to reflection-formatted method names, remove the leading slash and convert the remaining slash to a period.

View Source
const (
	// AuthTestingServiceGetUnauthedTestEndpointProcedure is the fully-qualified name of the
	// AuthTestingService's GetUnauthedTestEndpoint RPC.
	AuthTestingServiceGetUnauthedTestEndpointProcedure = "/chalk.server.v1.AuthTestingService/GetUnauthedTestEndpoint"
	// AuthTestingServiceGetAuthedTestEndpointProcedure is the fully-qualified name of the
	// AuthTestingService's GetAuthedTestEndpoint RPC.
	AuthTestingServiceGetAuthedTestEndpointProcedure = "/chalk.server.v1.AuthTestingService/GetAuthedTestEndpoint"
	// AuthTestingServiceGetViewerTestEndpointProcedure is the fully-qualified name of the
	// AuthTestingService's GetViewerTestEndpoint RPC.
	AuthTestingServiceGetViewerTestEndpointProcedure = "/chalk.server.v1.AuthTestingService/GetViewerTestEndpoint"
	// AuthTestingServiceGetDataScientistTestEndpointProcedure is the fully-qualified name of the
	// AuthTestingService's GetDataScientistTestEndpoint RPC.
	AuthTestingServiceGetDataScientistTestEndpointProcedure = "/chalk.server.v1.AuthTestingService/GetDataScientistTestEndpoint"
	// AuthTestingServiceGetDeveloperTestEndpointProcedure is the fully-qualified name of the
	// AuthTestingService's GetDeveloperTestEndpoint RPC.
	AuthTestingServiceGetDeveloperTestEndpointProcedure = "/chalk.server.v1.AuthTestingService/GetDeveloperTestEndpoint"
	// AuthTestingServiceGetAdminTestEndpointProcedure is the fully-qualified name of the
	// AuthTestingService's GetAdminTestEndpoint RPC.
	AuthTestingServiceGetAdminTestEndpointProcedure = "/chalk.server.v1.AuthTestingService/GetAdminTestEndpoint"
	// AuthTestingServiceGetOwnerTestEndpointProcedure is the fully-qualified name of the
	// AuthTestingService's GetOwnerTestEndpoint RPC.
	AuthTestingServiceGetOwnerTestEndpointProcedure = "/chalk.server.v1.AuthTestingService/GetOwnerTestEndpoint"
)

These constants are the fully-qualified names of the RPCs defined in this package. They're exposed at runtime as Spec.Procedure and as the final two segments of the HTTP route.

Note that these are different from the fully-qualified method names used by google.golang.org/protobuf/reflect/protoreflect. To convert from these constants to reflection-formatted method names, remove the leading slash and convert the remaining slash to a period.

View Source
const (
	// BillingServiceGetNodesProcedure is the fully-qualified name of the BillingService's GetNodes RPC.
	BillingServiceGetNodesProcedure = "/chalk.server.v1.BillingService/GetNodes"
	// BillingServiceGetUsageChartProcedure is the fully-qualified name of the BillingService's
	// GetUsageChart RPC.
	BillingServiceGetUsageChartProcedure = "/chalk.server.v1.BillingService/GetUsageChart"
	// BillingServiceGetUtilizationRatesProcedure is the fully-qualified name of the BillingService's
	// GetUtilizationRates RPC.
	BillingServiceGetUtilizationRatesProcedure = "/chalk.server.v1.BillingService/GetUtilizationRates"
)

These constants are the fully-qualified names of the RPCs defined in this package. They're exposed at runtime as Spec.Procedure and as the final two segments of the HTTP route.

Note that these are different from the fully-qualified method names used by google.golang.org/protobuf/reflect/protoreflect. To convert from these constants to reflection-formatted method names, remove the leading slash and convert the remaining slash to a period.

View Source
const (
	// DeployServiceDeployBranchProcedure is the fully-qualified name of the DeployService's
	// DeployBranch RPC.
	DeployServiceDeployBranchProcedure = "/chalk.server.v1.DeployService/DeployBranch"
	// DeployServiceGetDeploymentProcedure is the fully-qualified name of the DeployService's
	// GetDeployment RPC.
	DeployServiceGetDeploymentProcedure = "/chalk.server.v1.DeployService/GetDeployment"
)

These constants are the fully-qualified names of the RPCs defined in this package. They're exposed at runtime as Spec.Procedure and as the final two segments of the HTTP route.

Note that these are different from the fully-qualified method names used by google.golang.org/protobuf/reflect/protoreflect. To convert from these constants to reflection-formatted method names, remove the leading slash and convert the remaining slash to a period.

View Source
const (
	// GraphServiceGetFeatureSQLProcedure is the fully-qualified name of the GraphService's
	// GetFeatureSQL RPC.
	GraphServiceGetFeatureSQLProcedure = "/chalk.server.v1.GraphService/GetFeatureSQL"
	// GraphServiceGetFeaturesMetadataProcedure is the fully-qualified name of the GraphService's
	// GetFeaturesMetadata RPC.
	GraphServiceGetFeaturesMetadataProcedure = "/chalk.server.v1.GraphService/GetFeaturesMetadata"
	// GraphServiceGetGraphProcedure is the fully-qualified name of the GraphService's GetGraph RPC.
	GraphServiceGetGraphProcedure = "/chalk.server.v1.GraphService/GetGraph"
	// GraphServiceUpdateGraphProcedure is the fully-qualified name of the GraphService's UpdateGraph
	// RPC.
	GraphServiceUpdateGraphProcedure = "/chalk.server.v1.GraphService/UpdateGraph"
)

These constants are the fully-qualified names of the RPCs defined in this package. They're exposed at runtime as Spec.Procedure and as the final two segments of the HTTP route.

Note that these are different from the fully-qualified method names used by google.golang.org/protobuf/reflect/protoreflect. To convert from these constants to reflection-formatted method names, remove the leading slash and convert the remaining slash to a period.

View Source
const (
	// MonitoringServiceTestPagerDutyIntegrationProcedure is the fully-qualified name of the
	// MonitoringService's TestPagerDutyIntegration RPC.
	MonitoringServiceTestPagerDutyIntegrationProcedure = "/chalk.server.v1.MonitoringService/TestPagerDutyIntegration"
	// MonitoringServiceAddPagerDutyIntegrationProcedure is the fully-qualified name of the
	// MonitoringService's AddPagerDutyIntegration RPC.
	MonitoringServiceAddPagerDutyIntegrationProcedure = "/chalk.server.v1.MonitoringService/AddPagerDutyIntegration"
	// MonitoringServiceDeletePagerDutyIntegrationProcedure is the fully-qualified name of the
	// MonitoringService's DeletePagerDutyIntegration RPC.
	MonitoringServiceDeletePagerDutyIntegrationProcedure = "/chalk.server.v1.MonitoringService/DeletePagerDutyIntegration"
	// MonitoringServiceSetDefaultPagerDutyIntegrationProcedure is the fully-qualified name of the
	// MonitoringService's SetDefaultPagerDutyIntegration RPC.
	MonitoringServiceSetDefaultPagerDutyIntegrationProcedure = "/chalk.server.v1.MonitoringService/SetDefaultPagerDutyIntegration"
	// MonitoringServiceUpdatePagerDutyIntegrationProcedure is the fully-qualified name of the
	// MonitoringService's UpdatePagerDutyIntegration RPC.
	MonitoringServiceUpdatePagerDutyIntegrationProcedure = "/chalk.server.v1.MonitoringService/UpdatePagerDutyIntegration"
	// MonitoringServiceGetAllPagerDutyIntegrationsProcedure is the fully-qualified name of the
	// MonitoringService's GetAllPagerDutyIntegrations RPC.
	MonitoringServiceGetAllPagerDutyIntegrationsProcedure = "/chalk.server.v1.MonitoringService/GetAllPagerDutyIntegrations"
	// MonitoringServiceGetPagerDutyIntegrationProcedure is the fully-qualified name of the
	// MonitoringService's GetPagerDutyIntegration RPC.
	MonitoringServiceGetPagerDutyIntegrationProcedure = "/chalk.server.v1.MonitoringService/GetPagerDutyIntegration"
)

These constants are the fully-qualified names of the RPCs defined in this package. They're exposed at runtime as Spec.Procedure and as the final two segments of the HTTP route.

Note that these are different from the fully-qualified method names used by google.golang.org/protobuf/reflect/protoreflect. To convert from these constants to reflection-formatted method names, remove the leading slash and convert the remaining slash to a period.

View Source
const (
	// TeamServiceGetEnvProcedure is the fully-qualified name of the TeamService's GetEnv RPC.
	TeamServiceGetEnvProcedure = "/chalk.server.v1.TeamService/GetEnv"
	// TeamServiceGetEnvironmentsProcedure is the fully-qualified name of the TeamService's
	// GetEnvironments RPC.
	TeamServiceGetEnvironmentsProcedure = "/chalk.server.v1.TeamService/GetEnvironments"
	// TeamServiceGetAgentProcedure is the fully-qualified name of the TeamService's GetAgent RPC.
	TeamServiceGetAgentProcedure = "/chalk.server.v1.TeamService/GetAgent"
	// TeamServiceGetDisplayAgentProcedure is the fully-qualified name of the TeamService's
	// GetDisplayAgent RPC.
	TeamServiceGetDisplayAgentProcedure = "/chalk.server.v1.TeamService/GetDisplayAgent"
	// TeamServiceGetTeamProcedure is the fully-qualified name of the TeamService's GetTeam RPC.
	TeamServiceGetTeamProcedure = "/chalk.server.v1.TeamService/GetTeam"
	// TeamServiceCreateTeamProcedure is the fully-qualified name of the TeamService's CreateTeam RPC.
	TeamServiceCreateTeamProcedure = "/chalk.server.v1.TeamService/CreateTeam"
	// TeamServiceCreateProjectProcedure is the fully-qualified name of the TeamService's CreateProject
	// RPC.
	TeamServiceCreateProjectProcedure = "/chalk.server.v1.TeamService/CreateProject"
	// TeamServiceCreateEnvironmentProcedure is the fully-qualified name of the TeamService's
	// CreateEnvironment RPC.
	TeamServiceCreateEnvironmentProcedure = "/chalk.server.v1.TeamService/CreateEnvironment"
	// TeamServiceGetAvailablePermissionsProcedure is the fully-qualified name of the TeamService's
	// GetAvailablePermissions RPC.
	TeamServiceGetAvailablePermissionsProcedure = "/chalk.server.v1.TeamService/GetAvailablePermissions"
	// TeamServiceCreateServiceTokenProcedure is the fully-qualified name of the TeamService's
	// CreateServiceToken RPC.
	TeamServiceCreateServiceTokenProcedure = "/chalk.server.v1.TeamService/CreateServiceToken"
	// TeamServiceDeleteServiceTokenProcedure is the fully-qualified name of the TeamService's
	// DeleteServiceToken RPC.
	TeamServiceDeleteServiceTokenProcedure = "/chalk.server.v1.TeamService/DeleteServiceToken"
	// TeamServiceListServiceTokensProcedure is the fully-qualified name of the TeamService's
	// ListServiceTokens RPC.
	TeamServiceListServiceTokensProcedure = "/chalk.server.v1.TeamService/ListServiceTokens"
	// TeamServiceUpdateServiceTokenProcedure is the fully-qualified name of the TeamService's
	// UpdateServiceToken RPC.
	TeamServiceUpdateServiceTokenProcedure = "/chalk.server.v1.TeamService/UpdateServiceToken"
	// TeamServiceUpsertFeaturePermissionsProcedure is the fully-qualified name of the TeamService's
	// UpsertFeaturePermissions RPC.
	TeamServiceUpsertFeaturePermissionsProcedure = "/chalk.server.v1.TeamService/UpsertFeaturePermissions"
)

These constants are the fully-qualified names of the RPCs defined in this package. They're exposed at runtime as Spec.Procedure and as the final two segments of the HTTP route.

Note that these are different from the fully-qualified method names used by google.golang.org/protobuf/reflect/protoreflect. To convert from these constants to reflection-formatted method names, remove the leading slash and convert the remaining slash to a period.

View Source
const (
	// AuthServiceName is the fully-qualified name of the AuthService service.
	AuthServiceName = "chalk.server.v1.AuthService"
)
View Source
const (
	// AuthTestingServiceName is the fully-qualified name of the AuthTestingService service.
	AuthTestingServiceName = "chalk.server.v1.AuthTestingService"
)
View Source
const (
	// BillingServiceName is the fully-qualified name of the BillingService service.
	BillingServiceName = "chalk.server.v1.BillingService"
)
View Source
const (
	// CommandLineInterfaceServiceGetVersionsProcedure is the fully-qualified name of the
	// CommandLineInterfaceService's GetVersions RPC.
	CommandLineInterfaceServiceGetVersionsProcedure = "/chalk.server.v1.CommandLineInterfaceService/GetVersions"
)

These constants are the fully-qualified names of the RPCs defined in this package. They're exposed at runtime as Spec.Procedure and as the final two segments of the HTTP route.

Note that these are different from the fully-qualified method names used by google.golang.org/protobuf/reflect/protoreflect. To convert from these constants to reflection-formatted method names, remove the leading slash and convert the remaining slash to a period.

View Source
const (
	// CommandLineInterfaceServiceName is the fully-qualified name of the CommandLineInterfaceService
	// service.
	CommandLineInterfaceServiceName = "chalk.server.v1.CommandLineInterfaceService"
)
View Source
const (
	// DeployServiceName is the fully-qualified name of the DeployService service.
	DeployServiceName = "chalk.server.v1.DeployService"
)
View Source
const (
	// GraphServiceName is the fully-qualified name of the GraphService service.
	GraphServiceName = "chalk.server.v1.GraphService"
)
View Source
const (
	// HealthServiceCheckHealthProcedure is the fully-qualified name of the HealthService's CheckHealth
	// RPC.
	HealthServiceCheckHealthProcedure = "/chalk.server.v1.HealthService/CheckHealth"
)

These constants are the fully-qualified names of the RPCs defined in this package. They're exposed at runtime as Spec.Procedure and as the final two segments of the HTTP route.

Note that these are different from the fully-qualified method names used by google.golang.org/protobuf/reflect/protoreflect. To convert from these constants to reflection-formatted method names, remove the leading slash and convert the remaining slash to a period.

View Source
const (
	// HealthServiceName is the fully-qualified name of the HealthService service.
	HealthServiceName = "chalk.server.v1.HealthService"
)
View Source
const (
	// MonitoringServiceName is the fully-qualified name of the MonitoringService service.
	MonitoringServiceName = "chalk.server.v1.MonitoringService"
)
View Source
const (
	// TeamServiceName is the fully-qualified name of the TeamService service.
	TeamServiceName = "chalk.server.v1.TeamService"
)

Variables

This section is empty.

Functions

func NewAuthServiceHandler

func NewAuthServiceHandler(svc AuthServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)

NewAuthServiceHandler builds an HTTP handler from the service implementation. It returns the path on which to mount the handler and the handler itself.

By default, handlers support the Connect, gRPC, and gRPC-Web protocols with the binary Protobuf and JSON codecs. They also support gzip compression.

func NewAuthTestingServiceHandler added in v0.4.7

func NewAuthTestingServiceHandler(svc AuthTestingServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)

NewAuthTestingServiceHandler builds an HTTP handler from the service implementation. It returns the path on which to mount the handler and the handler itself.

By default, handlers support the Connect, gRPC, and gRPC-Web protocols with the binary Protobuf and JSON codecs. They also support gzip compression.

func NewBillingServiceHandler

func NewBillingServiceHandler(svc BillingServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)

NewBillingServiceHandler builds an HTTP handler from the service implementation. It returns the path on which to mount the handler and the handler itself.

By default, handlers support the Connect, gRPC, and gRPC-Web protocols with the binary Protobuf and JSON codecs. They also support gzip compression.

func NewCommandLineInterfaceServiceHandler

func NewCommandLineInterfaceServiceHandler(svc CommandLineInterfaceServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)

NewCommandLineInterfaceServiceHandler builds an HTTP handler from the service implementation. It returns the path on which to mount the handler and the handler itself.

By default, handlers support the Connect, gRPC, and gRPC-Web protocols with the binary Protobuf and JSON codecs. They also support gzip compression.

func NewDeployServiceHandler

func NewDeployServiceHandler(svc DeployServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)

NewDeployServiceHandler builds an HTTP handler from the service implementation. It returns the path on which to mount the handler and the handler itself.

By default, handlers support the Connect, gRPC, and gRPC-Web protocols with the binary Protobuf and JSON codecs. They also support gzip compression.

func NewGraphServiceHandler

func NewGraphServiceHandler(svc GraphServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)

NewGraphServiceHandler builds an HTTP handler from the service implementation. It returns the path on which to mount the handler and the handler itself.

By default, handlers support the Connect, gRPC, and gRPC-Web protocols with the binary Protobuf and JSON codecs. They also support gzip compression.

func NewHealthServiceHandler

func NewHealthServiceHandler(svc HealthServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)

NewHealthServiceHandler builds an HTTP handler from the service implementation. It returns the path on which to mount the handler and the handler itself.

By default, handlers support the Connect, gRPC, and gRPC-Web protocols with the binary Protobuf and JSON codecs. They also support gzip compression.

func NewMonitoringServiceHandler added in v0.4.7

func NewMonitoringServiceHandler(svc MonitoringServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)

NewMonitoringServiceHandler builds an HTTP handler from the service implementation. It returns the path on which to mount the handler and the handler itself.

By default, handlers support the Connect, gRPC, and gRPC-Web protocols with the binary Protobuf and JSON codecs. They also support gzip compression.

func NewTeamServiceHandler

func NewTeamServiceHandler(svc TeamServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)

NewTeamServiceHandler builds an HTTP handler from the service implementation. It returns the path on which to mount the handler and the handler itself.

By default, handlers support the Connect, gRPC, and gRPC-Web protocols with the binary Protobuf and JSON codecs. They also support gzip compression.

Types

type AuthServiceClient

AuthServiceClient is a client for the chalk.server.v1.AuthService service.

func NewAuthServiceClient

func NewAuthServiceClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) AuthServiceClient

NewAuthServiceClient constructs a client for the chalk.server.v1.AuthService service. By default, it uses the Connect protocol with the binary Protobuf Codec, asks for gzipped responses, and sends uncompressed requests. To use the gRPC or gRPC-Web protocols, supply the connect.WithGRPC() or connect.WithGRPCWeb() options.

The URL supplied here should be the base URL for the Connect or gRPC server (for example, http://api.acme.com or https://acme.com/grpc).

type AuthServiceHandler

AuthServiceHandler is an implementation of the chalk.server.v1.AuthService service.

type AuthTestingServiceClient added in v0.4.7

AuthTestingServiceClient is a client for the chalk.server.v1.AuthTestingService service.

func NewAuthTestingServiceClient added in v0.4.7

func NewAuthTestingServiceClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) AuthTestingServiceClient

NewAuthTestingServiceClient constructs a client for the chalk.server.v1.AuthTestingService service. By default, it uses the Connect protocol with the binary Protobuf Codec, asks for gzipped responses, and sends uncompressed requests. To use the gRPC or gRPC-Web protocols, supply the connect.WithGRPC() or connect.WithGRPCWeb() options.

The URL supplied here should be the base URL for the Connect or gRPC server (for example, http://api.acme.com or https://acme.com/grpc).

type BillingServiceClient

BillingServiceClient is a client for the chalk.server.v1.BillingService service.

func NewBillingServiceClient

func NewBillingServiceClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) BillingServiceClient

NewBillingServiceClient constructs a client for the chalk.server.v1.BillingService service. By default, it uses the Connect protocol with the binary Protobuf Codec, asks for gzipped responses, and sends uncompressed requests. To use the gRPC or gRPC-Web protocols, supply the connect.WithGRPC() or connect.WithGRPCWeb() options.

The URL supplied here should be the base URL for the Connect or gRPC server (for example, http://api.acme.com or https://acme.com/grpc).

type BillingServiceHandler

BillingServiceHandler is an implementation of the chalk.server.v1.BillingService service.

type CommandLineInterfaceServiceClient

type CommandLineInterfaceServiceClient interface {
	GetVersions(context.Context, *connect.Request[v1.GetVersionsRequest]) (*connect.Response[v1.GetVersionsResponse], error)
}

CommandLineInterfaceServiceClient is a client for the chalk.server.v1.CommandLineInterfaceService service.

func NewCommandLineInterfaceServiceClient

func NewCommandLineInterfaceServiceClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) CommandLineInterfaceServiceClient

NewCommandLineInterfaceServiceClient constructs a client for the chalk.server.v1.CommandLineInterfaceService service. By default, it uses the Connect protocol with the binary Protobuf Codec, asks for gzipped responses, and sends uncompressed requests. To use the gRPC or gRPC-Web protocols, supply the connect.WithGRPC() or connect.WithGRPCWeb() options.

The URL supplied here should be the base URL for the Connect or gRPC server (for example, http://api.acme.com or https://acme.com/grpc).

type CommandLineInterfaceServiceHandler

type CommandLineInterfaceServiceHandler interface {
	GetVersions(context.Context, *connect.Request[v1.GetVersionsRequest]) (*connect.Response[v1.GetVersionsResponse], error)
}

CommandLineInterfaceServiceHandler is an implementation of the chalk.server.v1.CommandLineInterfaceService service.

type DeployServiceClient

DeployServiceClient is a client for the chalk.server.v1.DeployService service.

func NewDeployServiceClient

func NewDeployServiceClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) DeployServiceClient

NewDeployServiceClient constructs a client for the chalk.server.v1.DeployService service. By default, it uses the Connect protocol with the binary Protobuf Codec, asks for gzipped responses, and sends uncompressed requests. To use the gRPC or gRPC-Web protocols, supply the connect.WithGRPC() or connect.WithGRPCWeb() options.

The URL supplied here should be the base URL for the Connect or gRPC server (for example, http://api.acme.com or https://acme.com/grpc).

type DeployServiceHandler

DeployServiceHandler is an implementation of the chalk.server.v1.DeployService service.

type GraphServiceClient

type GraphServiceClient interface {
	// GetFeatureSQL returns the feature SQLs for a given deployment.
	GetFeatureSQL(context.Context, *connect.Request[v1.GetFeatureSQLRequest]) (*connect.Response[v1.GetFeatureSQLResponse], error)
	GetFeaturesMetadata(context.Context, *connect.Request[v1.GetFeaturesMetadataRequest]) (*connect.Response[v1.GetFeaturesMetadataResponse], error)
	GetGraph(context.Context, *connect.Request[v1.GetGraphRequest]) (*connect.Response[v1.GetGraphResponse], error)
	// UpdateGraph uploads the protobuf graph for a given deployment.
	UpdateGraph(context.Context, *connect.Request[v1.UpdateGraphRequest]) (*connect.Response[v1.UpdateGraphResponse], error)
}

GraphServiceClient is a client for the chalk.server.v1.GraphService service.

func NewGraphServiceClient

func NewGraphServiceClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) GraphServiceClient

NewGraphServiceClient constructs a client for the chalk.server.v1.GraphService service. By default, it uses the Connect protocol with the binary Protobuf Codec, asks for gzipped responses, and sends uncompressed requests. To use the gRPC or gRPC-Web protocols, supply the connect.WithGRPC() or connect.WithGRPCWeb() options.

The URL supplied here should be the base URL for the Connect or gRPC server (for example, http://api.acme.com or https://acme.com/grpc).

type GraphServiceHandler

type GraphServiceHandler interface {
	// GetFeatureSQL returns the feature SQLs for a given deployment.
	GetFeatureSQL(context.Context, *connect.Request[v1.GetFeatureSQLRequest]) (*connect.Response[v1.GetFeatureSQLResponse], error)
	GetFeaturesMetadata(context.Context, *connect.Request[v1.GetFeaturesMetadataRequest]) (*connect.Response[v1.GetFeaturesMetadataResponse], error)
	GetGraph(context.Context, *connect.Request[v1.GetGraphRequest]) (*connect.Response[v1.GetGraphResponse], error)
	// UpdateGraph uploads the protobuf graph for a given deployment.
	UpdateGraph(context.Context, *connect.Request[v1.UpdateGraphRequest]) (*connect.Response[v1.UpdateGraphResponse], error)
}

GraphServiceHandler is an implementation of the chalk.server.v1.GraphService service.

type HealthServiceClient

type HealthServiceClient interface {
	CheckHealth(context.Context, *connect.Request[v1.CheckHealthRequest]) (*connect.Response[v1.CheckHealthResponse], error)
}

HealthServiceClient is a client for the chalk.server.v1.HealthService service.

func NewHealthServiceClient

func NewHealthServiceClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) HealthServiceClient

NewHealthServiceClient constructs a client for the chalk.server.v1.HealthService service. By default, it uses the Connect protocol with the binary Protobuf Codec, asks for gzipped responses, and sends uncompressed requests. To use the gRPC or gRPC-Web protocols, supply the connect.WithGRPC() or connect.WithGRPCWeb() options.

The URL supplied here should be the base URL for the Connect or gRPC server (for example, http://api.acme.com or https://acme.com/grpc).

type HealthServiceHandler

type HealthServiceHandler interface {
	CheckHealth(context.Context, *connect.Request[v1.CheckHealthRequest]) (*connect.Response[v1.CheckHealthResponse], error)
}

HealthServiceHandler is an implementation of the chalk.server.v1.HealthService service.

type MonitoringServiceClient added in v0.4.7

MonitoringServiceClient is a client for the chalk.server.v1.MonitoringService service.

func NewMonitoringServiceClient added in v0.4.7

func NewMonitoringServiceClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) MonitoringServiceClient

NewMonitoringServiceClient constructs a client for the chalk.server.v1.MonitoringService service. By default, it uses the Connect protocol with the binary Protobuf Codec, asks for gzipped responses, and sends uncompressed requests. To use the gRPC or gRPC-Web protocols, supply the connect.WithGRPC() or connect.WithGRPCWeb() options.

The URL supplied here should be the base URL for the Connect or gRPC server (for example, http://api.acme.com or https://acme.com/grpc).

type TeamServiceClient

type TeamServiceClient interface {
	GetEnv(context.Context, *connect.Request[v1.GetEnvRequest]) (*connect.Response[v1.GetEnvResponse], error)
	GetEnvironments(context.Context, *connect.Request[v1.GetEnvironmentsRequest]) (*connect.Response[v1.GetEnvironmentsResponse], error)
	GetAgent(context.Context, *connect.Request[v1.GetAgentRequest]) (*connect.Response[v1.GetAgentResponse], error)
	GetDisplayAgent(context.Context, *connect.Request[v1.GetDisplayAgentRequest]) (*connect.Response[v1.GetDisplayAgentResponse], error)
	GetTeam(context.Context, *connect.Request[v1.GetTeamRequest]) (*connect.Response[v1.GetTeamResponse], error)
	CreateTeam(context.Context, *connect.Request[v1.CreateTeamRequest]) (*connect.Response[v1.CreateTeamResponse], error)
	CreateProject(context.Context, *connect.Request[v1.CreateProjectRequest]) (*connect.Response[v1.CreateProjectResponse], error)
	CreateEnvironment(context.Context, *connect.Request[v1.CreateEnvironmentRequest]) (*connect.Response[v1.CreateEnvironmentResponse], error)
	GetAvailablePermissions(context.Context, *connect.Request[v1.GetAvailablePermissionsRequest]) (*connect.Response[v1.GetAvailablePermissionsResponse], error)
	CreateServiceToken(context.Context, *connect.Request[v1.CreateServiceTokenRequest]) (*connect.Response[v1.CreateServiceTokenResponse], error)
	DeleteServiceToken(context.Context, *connect.Request[v1.DeleteServiceTokenRequest]) (*connect.Response[v1.DeleteServiceTokenResponse], error)
	ListServiceTokens(context.Context, *connect.Request[v1.ListServiceTokensRequest]) (*connect.Response[v1.ListServiceTokensResponse], error)
	UpdateServiceToken(context.Context, *connect.Request[v1.UpdateServiceTokenRequest]) (*connect.Response[v1.UpdateServiceTokenResponse], error)
	UpsertFeaturePermissions(context.Context, *connect.Request[v1.UpsertFeaturePermissionsRequest]) (*connect.Response[v1.UpsertFeaturePermissionsResponse], error)
}

TeamServiceClient is a client for the chalk.server.v1.TeamService service.

func NewTeamServiceClient

func NewTeamServiceClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) TeamServiceClient

NewTeamServiceClient constructs a client for the chalk.server.v1.TeamService service. By default, it uses the Connect protocol with the binary Protobuf Codec, asks for gzipped responses, and sends uncompressed requests. To use the gRPC or gRPC-Web protocols, supply the connect.WithGRPC() or connect.WithGRPCWeb() options.

The URL supplied here should be the base URL for the Connect or gRPC server (for example, http://api.acme.com or https://acme.com/grpc).

type TeamServiceHandler

type TeamServiceHandler interface {
	GetEnv(context.Context, *connect.Request[v1.GetEnvRequest]) (*connect.Response[v1.GetEnvResponse], error)
	GetEnvironments(context.Context, *connect.Request[v1.GetEnvironmentsRequest]) (*connect.Response[v1.GetEnvironmentsResponse], error)
	GetAgent(context.Context, *connect.Request[v1.GetAgentRequest]) (*connect.Response[v1.GetAgentResponse], error)
	GetDisplayAgent(context.Context, *connect.Request[v1.GetDisplayAgentRequest]) (*connect.Response[v1.GetDisplayAgentResponse], error)
	GetTeam(context.Context, *connect.Request[v1.GetTeamRequest]) (*connect.Response[v1.GetTeamResponse], error)
	CreateTeam(context.Context, *connect.Request[v1.CreateTeamRequest]) (*connect.Response[v1.CreateTeamResponse], error)
	CreateProject(context.Context, *connect.Request[v1.CreateProjectRequest]) (*connect.Response[v1.CreateProjectResponse], error)
	CreateEnvironment(context.Context, *connect.Request[v1.CreateEnvironmentRequest]) (*connect.Response[v1.CreateEnvironmentResponse], error)
	GetAvailablePermissions(context.Context, *connect.Request[v1.GetAvailablePermissionsRequest]) (*connect.Response[v1.GetAvailablePermissionsResponse], error)
	CreateServiceToken(context.Context, *connect.Request[v1.CreateServiceTokenRequest]) (*connect.Response[v1.CreateServiceTokenResponse], error)
	DeleteServiceToken(context.Context, *connect.Request[v1.DeleteServiceTokenRequest]) (*connect.Response[v1.DeleteServiceTokenResponse], error)
	ListServiceTokens(context.Context, *connect.Request[v1.ListServiceTokensRequest]) (*connect.Response[v1.ListServiceTokensResponse], error)
	UpdateServiceToken(context.Context, *connect.Request[v1.UpdateServiceTokenRequest]) (*connect.Response[v1.UpdateServiceTokenResponse], error)
	UpsertFeaturePermissions(context.Context, *connect.Request[v1.UpsertFeaturePermissionsRequest]) (*connect.Response[v1.UpsertFeaturePermissionsResponse], error)
}

TeamServiceHandler is an implementation of the chalk.server.v1.TeamService service.

type UnimplementedAuthServiceHandler

type UnimplementedAuthServiceHandler struct{}

UnimplementedAuthServiceHandler returns CodeUnimplemented from all methods.

type UnimplementedAuthTestingServiceHandler added in v0.4.7

type UnimplementedAuthTestingServiceHandler struct{}

UnimplementedAuthTestingServiceHandler returns CodeUnimplemented from all methods.

func (UnimplementedAuthTestingServiceHandler) GetAdminTestEndpoint added in v0.4.7

func (UnimplementedAuthTestingServiceHandler) GetAuthedTestEndpoint added in v0.4.7

func (UnimplementedAuthTestingServiceHandler) GetOwnerTestEndpoint added in v0.4.7

func (UnimplementedAuthTestingServiceHandler) GetViewerTestEndpoint added in v0.4.7

type UnimplementedBillingServiceHandler

type UnimplementedBillingServiceHandler struct{}

UnimplementedBillingServiceHandler returns CodeUnimplemented from all methods.

func (UnimplementedBillingServiceHandler) GetUsageChart added in v0.4.7

func (UnimplementedBillingServiceHandler) GetUtilizationRates added in v0.4.7

type UnimplementedCommandLineInterfaceServiceHandler

type UnimplementedCommandLineInterfaceServiceHandler struct{}

UnimplementedCommandLineInterfaceServiceHandler returns CodeUnimplemented from all methods.

type UnimplementedDeployServiceHandler

type UnimplementedDeployServiceHandler struct{}

UnimplementedDeployServiceHandler returns CodeUnimplemented from all methods.

type UnimplementedGraphServiceHandler

type UnimplementedGraphServiceHandler struct{}

UnimplementedGraphServiceHandler returns CodeUnimplemented from all methods.

type UnimplementedHealthServiceHandler

type UnimplementedHealthServiceHandler struct{}

UnimplementedHealthServiceHandler returns CodeUnimplemented from all methods.

type UnimplementedMonitoringServiceHandler added in v0.4.7

type UnimplementedMonitoringServiceHandler struct{}

UnimplementedMonitoringServiceHandler returns CodeUnimplemented from all methods.

type UnimplementedTeamServiceHandler

type UnimplementedTeamServiceHandler struct{}

UnimplementedTeamServiceHandler returns CodeUnimplemented from all methods.

func (UnimplementedTeamServiceHandler) CreateEnvironment added in v0.4.7

func (UnimplementedTeamServiceHandler) CreateProject added in v0.4.7

func (UnimplementedTeamServiceHandler) CreateServiceToken added in v0.4.7

func (UnimplementedTeamServiceHandler) CreateTeam added in v0.4.7

func (UnimplementedTeamServiceHandler) DeleteServiceToken added in v0.4.7

func (UnimplementedTeamServiceHandler) GetTeam added in v0.4.7

func (UnimplementedTeamServiceHandler) ListServiceTokens added in v0.7.2

func (UnimplementedTeamServiceHandler) UpdateServiceToken added in v0.7.2

Jump to

Keyboard shortcuts

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