Documentation
¶
Index ¶
- Constants
- func NewAuthServiceHandler(svc AuthServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)
- func NewBillingServiceHandler(svc BillingServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)
- func NewCommandLineInterfaceServiceHandler(svc CommandLineInterfaceServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)
- func NewDeployServiceHandler(svc DeployServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)
- func NewGraphServiceHandler(svc GraphServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)
- func NewHealthServiceHandler(svc HealthServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)
- func NewTeamServiceHandler(svc TeamServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)
- type AuthServiceClient
- type AuthServiceHandler
- type BillingServiceClient
- type BillingServiceHandler
- type CommandLineInterfaceServiceClient
- type CommandLineInterfaceServiceHandler
- type DeployServiceClient
- type DeployServiceHandler
- type GraphServiceClient
- type GraphServiceHandler
- type HealthServiceClient
- type HealthServiceHandler
- type TeamServiceClient
- type TeamServiceHandler
- type UnimplementedAuthServiceHandler
- func (UnimplementedAuthServiceHandler) CreateLinkSession(context.Context, *connect.Request[v1.CreateLinkSessionRequest]) (*connect.Response[v1.CreateLinkSessionResponse], error)
- func (UnimplementedAuthServiceHandler) GetLinkSession(context.Context, *connect.Request[v1.GetLinkSessionRequest]) (*connect.Response[v1.GetLinkSessionResponse], error)
- func (UnimplementedAuthServiceHandler) GetToken(context.Context, *connect.Request[v1.GetTokenRequest]) (*connect.Response[v1.GetTokenResponse], error)
- func (UnimplementedAuthServiceHandler) UpdateLinkSession(context.Context, *connect.Request[v1.UpdateLinkSessionRequest]) (*connect.Response[v1.UpdateLinkSessionResponse], error)
- type UnimplementedBillingServiceHandler
- type UnimplementedCommandLineInterfaceServiceHandler
- type UnimplementedDeployServiceHandler
- func (UnimplementedDeployServiceHandler) DeployBranch(context.Context, *connect.Request[v1.DeployBranchRequest]) (*connect.Response[v1.DeployBranchResponse], error)
- func (UnimplementedDeployServiceHandler) GetDeployment(context.Context, *connect.Request[v1.GetDeploymentRequest]) (*connect.Response[v1.GetDeploymentResponse], error)
- type UnimplementedGraphServiceHandler
- func (UnimplementedGraphServiceHandler) GetFeatureSQL(context.Context, *connect.Request[v1.GetFeatureSQLRequest]) (*connect.Response[v1.GetFeatureSQLResponse], error)
- func (UnimplementedGraphServiceHandler) GetFeaturesMetadata(context.Context, *connect.Request[v1.GetFeaturesMetadataRequest]) (*connect.Response[v1.GetFeaturesMetadataResponse], error)
- func (UnimplementedGraphServiceHandler) GetGraph(context.Context, *connect.Request[v1.GetGraphRequest]) (*connect.Response[v1.GetGraphResponse], error)
- func (UnimplementedGraphServiceHandler) UpdateGraph(context.Context, *connect.Request[v1.UpdateGraphRequest]) (*connect.Response[v1.UpdateGraphResponse], error)
- type UnimplementedHealthServiceHandler
- type UnimplementedTeamServiceHandler
- func (UnimplementedTeamServiceHandler) GetAgent(context.Context, *connect.Request[v1.GetAgentRequest]) (*connect.Response[v1.GetAgentResponse], error)
- func (UnimplementedTeamServiceHandler) GetDisplayAgent(context.Context, *connect.Request[v1.GetDisplayAgentRequest]) (*connect.Response[v1.GetDisplayAgentResponse], error)
- func (UnimplementedTeamServiceHandler) GetEnv(context.Context, *connect.Request[v1.GetEnvRequest]) (*connect.Response[v1.GetEnvResponse], error)
- func (UnimplementedTeamServiceHandler) GetEnvironments(context.Context, *connect.Request[v1.GetEnvironmentsRequest]) (*connect.Response[v1.GetEnvironmentsResponse], error)
Constants ¶
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.
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.
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.
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" )
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.
const (
// AuthServiceName is the fully-qualified name of the AuthService service.
AuthServiceName = "chalk.server.v1.AuthService"
)
const (
// BillingServiceGetNodesProcedure is the fully-qualified name of the BillingService's GetNodes RPC.
BillingServiceGetNodesProcedure = "/chalk.server.v1.BillingService/GetNodes"
)
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.
const (
// BillingServiceName is the fully-qualified name of the BillingService service.
BillingServiceName = "chalk.server.v1.BillingService"
)
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.
const ( // CommandLineInterfaceServiceName is the fully-qualified name of the CommandLineInterfaceService // service. CommandLineInterfaceServiceName = "chalk.server.v1.CommandLineInterfaceService" )
const (
// DeployServiceName is the fully-qualified name of the DeployService service.
DeployServiceName = "chalk.server.v1.DeployService"
)
const (
// GraphServiceName is the fully-qualified name of the GraphService service.
GraphServiceName = "chalk.server.v1.GraphService"
)
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.
const (
// HealthServiceName is the fully-qualified name of the HealthService service.
HealthServiceName = "chalk.server.v1.HealthService"
)
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 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 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 ¶
type AuthServiceClient interface { GetToken(context.Context, *connect.Request[v1.GetTokenRequest]) (*connect.Response[v1.GetTokenResponse], error) CreateLinkSession(context.Context, *connect.Request[v1.CreateLinkSessionRequest]) (*connect.Response[v1.CreateLinkSessionResponse], error) GetLinkSession(context.Context, *connect.Request[v1.GetLinkSessionRequest]) (*connect.Response[v1.GetLinkSessionResponse], error) UpdateLinkSession(context.Context, *connect.Request[v1.UpdateLinkSessionRequest]) (*connect.Response[v1.UpdateLinkSessionResponse], error) }
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 ¶
type AuthServiceHandler interface { GetToken(context.Context, *connect.Request[v1.GetTokenRequest]) (*connect.Response[v1.GetTokenResponse], error) CreateLinkSession(context.Context, *connect.Request[v1.CreateLinkSessionRequest]) (*connect.Response[v1.CreateLinkSessionResponse], error) GetLinkSession(context.Context, *connect.Request[v1.GetLinkSessionRequest]) (*connect.Response[v1.GetLinkSessionResponse], error) UpdateLinkSession(context.Context, *connect.Request[v1.UpdateLinkSessionRequest]) (*connect.Response[v1.UpdateLinkSessionResponse], error) }
AuthServiceHandler is an implementation of the chalk.server.v1.AuthService service.
type BillingServiceClient ¶
type BillingServiceClient interface {
GetNodes(context.Context, *connect.Request[v1.GetNodesRequest]) (*connect.Response[v1.GetNodesResponse], error)
}
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 ¶
type BillingServiceHandler interface {
GetNodes(context.Context, *connect.Request[v1.GetNodesRequest]) (*connect.Response[v1.GetNodesResponse], error)
}
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 ¶
type DeployServiceClient interface { DeployBranch(context.Context, *connect.Request[v1.DeployBranchRequest]) (*connect.Response[v1.DeployBranchResponse], error) GetDeployment(context.Context, *connect.Request[v1.GetDeploymentRequest]) (*connect.Response[v1.GetDeploymentResponse], error) }
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 ¶
type DeployServiceHandler interface { DeployBranch(context.Context, *connect.Request[v1.DeployBranchRequest]) (*connect.Response[v1.DeployBranchResponse], error) GetDeployment(context.Context, *connect.Request[v1.GetDeploymentRequest]) (*connect.Response[v1.GetDeploymentResponse], error) }
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 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) }
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) }
TeamServiceHandler is an implementation of the chalk.server.v1.TeamService service.
type UnimplementedAuthServiceHandler ¶
type UnimplementedAuthServiceHandler struct{}
UnimplementedAuthServiceHandler returns CodeUnimplemented from all methods.
func (UnimplementedAuthServiceHandler) CreateLinkSession ¶
func (UnimplementedAuthServiceHandler) CreateLinkSession(context.Context, *connect.Request[v1.CreateLinkSessionRequest]) (*connect.Response[v1.CreateLinkSessionResponse], error)
func (UnimplementedAuthServiceHandler) GetLinkSession ¶
func (UnimplementedAuthServiceHandler) GetLinkSession(context.Context, *connect.Request[v1.GetLinkSessionRequest]) (*connect.Response[v1.GetLinkSessionResponse], error)
func (UnimplementedAuthServiceHandler) GetToken ¶
func (UnimplementedAuthServiceHandler) GetToken(context.Context, *connect.Request[v1.GetTokenRequest]) (*connect.Response[v1.GetTokenResponse], error)
func (UnimplementedAuthServiceHandler) UpdateLinkSession ¶
func (UnimplementedAuthServiceHandler) UpdateLinkSession(context.Context, *connect.Request[v1.UpdateLinkSessionRequest]) (*connect.Response[v1.UpdateLinkSessionResponse], error)
type UnimplementedBillingServiceHandler ¶
type UnimplementedBillingServiceHandler struct{}
UnimplementedBillingServiceHandler returns CodeUnimplemented from all methods.
func (UnimplementedBillingServiceHandler) GetNodes ¶
func (UnimplementedBillingServiceHandler) GetNodes(context.Context, *connect.Request[v1.GetNodesRequest]) (*connect.Response[v1.GetNodesResponse], error)
type UnimplementedCommandLineInterfaceServiceHandler ¶
type UnimplementedCommandLineInterfaceServiceHandler struct{}
UnimplementedCommandLineInterfaceServiceHandler returns CodeUnimplemented from all methods.
func (UnimplementedCommandLineInterfaceServiceHandler) GetVersions ¶
func (UnimplementedCommandLineInterfaceServiceHandler) GetVersions(context.Context, *connect.Request[v1.GetVersionsRequest]) (*connect.Response[v1.GetVersionsResponse], error)
type UnimplementedDeployServiceHandler ¶
type UnimplementedDeployServiceHandler struct{}
UnimplementedDeployServiceHandler returns CodeUnimplemented from all methods.
func (UnimplementedDeployServiceHandler) DeployBranch ¶
func (UnimplementedDeployServiceHandler) DeployBranch(context.Context, *connect.Request[v1.DeployBranchRequest]) (*connect.Response[v1.DeployBranchResponse], error)
func (UnimplementedDeployServiceHandler) GetDeployment ¶
func (UnimplementedDeployServiceHandler) GetDeployment(context.Context, *connect.Request[v1.GetDeploymentRequest]) (*connect.Response[v1.GetDeploymentResponse], error)
type UnimplementedGraphServiceHandler ¶
type UnimplementedGraphServiceHandler struct{}
UnimplementedGraphServiceHandler returns CodeUnimplemented from all methods.
func (UnimplementedGraphServiceHandler) GetFeatureSQL ¶
func (UnimplementedGraphServiceHandler) GetFeatureSQL(context.Context, *connect.Request[v1.GetFeatureSQLRequest]) (*connect.Response[v1.GetFeatureSQLResponse], error)
func (UnimplementedGraphServiceHandler) GetFeaturesMetadata ¶
func (UnimplementedGraphServiceHandler) GetFeaturesMetadata(context.Context, *connect.Request[v1.GetFeaturesMetadataRequest]) (*connect.Response[v1.GetFeaturesMetadataResponse], error)
func (UnimplementedGraphServiceHandler) GetGraph ¶
func (UnimplementedGraphServiceHandler) GetGraph(context.Context, *connect.Request[v1.GetGraphRequest]) (*connect.Response[v1.GetGraphResponse], error)
func (UnimplementedGraphServiceHandler) UpdateGraph ¶
func (UnimplementedGraphServiceHandler) UpdateGraph(context.Context, *connect.Request[v1.UpdateGraphRequest]) (*connect.Response[v1.UpdateGraphResponse], error)
type UnimplementedHealthServiceHandler ¶
type UnimplementedHealthServiceHandler struct{}
UnimplementedHealthServiceHandler returns CodeUnimplemented from all methods.
func (UnimplementedHealthServiceHandler) CheckHealth ¶
func (UnimplementedHealthServiceHandler) CheckHealth(context.Context, *connect.Request[v1.CheckHealthRequest]) (*connect.Response[v1.CheckHealthResponse], error)
type UnimplementedTeamServiceHandler ¶
type UnimplementedTeamServiceHandler struct{}
UnimplementedTeamServiceHandler returns CodeUnimplemented from all methods.
func (UnimplementedTeamServiceHandler) GetAgent ¶
func (UnimplementedTeamServiceHandler) GetAgent(context.Context, *connect.Request[v1.GetAgentRequest]) (*connect.Response[v1.GetAgentResponse], error)
func (UnimplementedTeamServiceHandler) GetDisplayAgent ¶
func (UnimplementedTeamServiceHandler) GetDisplayAgent(context.Context, *connect.Request[v1.GetDisplayAgentRequest]) (*connect.Response[v1.GetDisplayAgentResponse], error)
func (UnimplementedTeamServiceHandler) GetEnv ¶
func (UnimplementedTeamServiceHandler) GetEnv(context.Context, *connect.Request[v1.GetEnvRequest]) (*connect.Response[v1.GetEnvResponse], error)
func (UnimplementedTeamServiceHandler) GetEnvironments ¶
func (UnimplementedTeamServiceHandler) GetEnvironments(context.Context, *connect.Request[v1.GetEnvironmentsRequest]) (*connect.Response[v1.GetEnvironmentsResponse], error)