sgroupsv1connect

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// SGroupsNamespaceAPIName is the fully-qualified name of the SGroupsNamespaceAPI service.
	SGroupsNamespaceAPIName = "sgroups.v1.SGroupsNamespaceAPI"
	// SGroupsAddressGroupsAPIName is the fully-qualified name of the SGroupsAddressGroupsAPI service.
	SGroupsAddressGroupsAPIName = "sgroups.v1.SGroupsAddressGroupsAPI"
	// SGroupsNetworksAPIName is the fully-qualified name of the SGroupsNetworksAPI service.
	SGroupsNetworksAPIName = "sgroups.v1.SGroupsNetworksAPI"
	// SGroupsHostsAPIName is the fully-qualified name of the SGroupsHostsAPI service.
	SGroupsHostsAPIName = "sgroups.v1.SGroupsHostsAPI"
	// SGroupsHostBindingAPIName is the fully-qualified name of the SGroupsHostBindingAPI service.
	SGroupsHostBindingAPIName = "sgroups.v1.SGroupsHostBindingAPI"
	// SGroupsNetworkBindingAPIName is the fully-qualified name of the SGroupsNetworkBindingAPI service.
	SGroupsNetworkBindingAPIName = "sgroups.v1.SGroupsNetworkBindingAPI"
	// SGroupsServicesAPIName is the fully-qualified name of the SGroupsServicesAPI service.
	SGroupsServicesAPIName = "sgroups.v1.SGroupsServicesAPI"
	// SGroupsServiceBindingAPIName is the fully-qualified name of the SGroupsServiceBindingAPI service.
	SGroupsServiceBindingAPIName = "sgroups.v1.SGroupsServiceBindingAPI"
	// SGroupsRulesAPIName is the fully-qualified name of the SGroupsRulesAPI service.
	SGroupsRulesAPIName = "sgroups.v1.SGroupsRulesAPI"
	// SGroupsStatusAPIName is the fully-qualified name of the SGroupsStatusAPI service.
	SGroupsStatusAPIName = "sgroups.v1.SGroupsStatusAPI"
)
View Source
const (
	// SGroupsNamespaceAPIUpsertProcedure is the fully-qualified name of the SGroupsNamespaceAPI's
	// Upsert RPC.
	SGroupsNamespaceAPIUpsertProcedure = "/sgroups.v1.SGroupsNamespaceAPI/Upsert"
	// SGroupsNamespaceAPIDeleteProcedure is the fully-qualified name of the SGroupsNamespaceAPI's
	// Delete RPC.
	SGroupsNamespaceAPIDeleteProcedure = "/sgroups.v1.SGroupsNamespaceAPI/Delete"
	// SGroupsNamespaceAPIListProcedure is the fully-qualified name of the SGroupsNamespaceAPI's List
	// RPC.
	SGroupsNamespaceAPIListProcedure = "/sgroups.v1.SGroupsNamespaceAPI/List"
	// SGroupsNamespaceAPIWatchProcedure is the fully-qualified name of the SGroupsNamespaceAPI's Watch
	// RPC.
	SGroupsNamespaceAPIWatchProcedure = "/sgroups.v1.SGroupsNamespaceAPI/Watch"
	// SGroupsAddressGroupsAPIUpsertProcedure is the fully-qualified name of the
	// SGroupsAddressGroupsAPI's Upsert RPC.
	SGroupsAddressGroupsAPIUpsertProcedure = "/sgroups.v1.SGroupsAddressGroupsAPI/Upsert"
	// SGroupsAddressGroupsAPIDeleteProcedure is the fully-qualified name of the
	// SGroupsAddressGroupsAPI's Delete RPC.
	SGroupsAddressGroupsAPIDeleteProcedure = "/sgroups.v1.SGroupsAddressGroupsAPI/Delete"
	// SGroupsAddressGroupsAPIListProcedure is the fully-qualified name of the SGroupsAddressGroupsAPI's
	// List RPC.
	SGroupsAddressGroupsAPIListProcedure = "/sgroups.v1.SGroupsAddressGroupsAPI/List"
	// SGroupsAddressGroupsAPIWatchProcedure is the fully-qualified name of the
	// SGroupsAddressGroupsAPI's Watch RPC.
	SGroupsAddressGroupsAPIWatchProcedure = "/sgroups.v1.SGroupsAddressGroupsAPI/Watch"
	// SGroupsNetworksAPIUpsertProcedure is the fully-qualified name of the SGroupsNetworksAPI's Upsert
	// RPC.
	SGroupsNetworksAPIUpsertProcedure = "/sgroups.v1.SGroupsNetworksAPI/Upsert"
	// SGroupsNetworksAPIDeleteProcedure is the fully-qualified name of the SGroupsNetworksAPI's Delete
	// RPC.
	SGroupsNetworksAPIDeleteProcedure = "/sgroups.v1.SGroupsNetworksAPI/Delete"
	// SGroupsNetworksAPIListProcedure is the fully-qualified name of the SGroupsNetworksAPI's List RPC.
	SGroupsNetworksAPIListProcedure = "/sgroups.v1.SGroupsNetworksAPI/List"
	// SGroupsNetworksAPIWatchProcedure is the fully-qualified name of the SGroupsNetworksAPI's Watch
	// RPC.
	SGroupsNetworksAPIWatchProcedure = "/sgroups.v1.SGroupsNetworksAPI/Watch"
	// SGroupsHostsAPIUpsertProcedure is the fully-qualified name of the SGroupsHostsAPI's Upsert RPC.
	SGroupsHostsAPIUpsertProcedure = "/sgroups.v1.SGroupsHostsAPI/Upsert"
	// SGroupsHostsAPIDeleteProcedure is the fully-qualified name of the SGroupsHostsAPI's Delete RPC.
	SGroupsHostsAPIDeleteProcedure = "/sgroups.v1.SGroupsHostsAPI/Delete"
	// SGroupsHostsAPIListProcedure is the fully-qualified name of the SGroupsHostsAPI's List RPC.
	SGroupsHostsAPIListProcedure = "/sgroups.v1.SGroupsHostsAPI/List"
	// SGroupsHostsAPIWatchProcedure is the fully-qualified name of the SGroupsHostsAPI's Watch RPC.
	SGroupsHostsAPIWatchProcedure = "/sgroups.v1.SGroupsHostsAPI/Watch"
	// SGroupsHostsAPIUpdIPsProcedure is the fully-qualified name of the SGroupsHostsAPI's UpdIPs RPC.
	SGroupsHostsAPIUpdIPsProcedure = "/sgroups.v1.SGroupsHostsAPI/UpdIPs"
	// SGroupsHostsAPIUpdMetaInfoProcedure is the fully-qualified name of the SGroupsHostsAPI's
	// UpdMetaInfo RPC.
	SGroupsHostsAPIUpdMetaInfoProcedure = "/sgroups.v1.SGroupsHostsAPI/UpdMetaInfo"
	// SGroupsHostsAPIListSocketStatisticsProcedure is the fully-qualified name of the SGroupsHostsAPI's
	// ListSocketStatistics RPC.
	SGroupsHostsAPIListSocketStatisticsProcedure = "/sgroups.v1.SGroupsHostsAPI/ListSocketStatistics"
	// SGroupsHostsAPIWatchSocketStatisticsProcedure is the fully-qualified name of the
	// SGroupsHostsAPI's WatchSocketStatistics RPC.
	SGroupsHostsAPIWatchSocketStatisticsProcedure = "/sgroups.v1.SGroupsHostsAPI/WatchSocketStatistics"
	// SGroupsHostsAPIListNftProcedure is the fully-qualified name of the SGroupsHostsAPI's ListNft RPC.
	SGroupsHostsAPIListNftProcedure = "/sgroups.v1.SGroupsHostsAPI/ListNft"
	// SGroupsHostsAPIWatchNftProcedure is the fully-qualified name of the SGroupsHostsAPI's WatchNft
	// RPC.
	SGroupsHostsAPIWatchNftProcedure = "/sgroups.v1.SGroupsHostsAPI/WatchNft"
	// SGroupsHostBindingAPIUpsertProcedure is the fully-qualified name of the SGroupsHostBindingAPI's
	// Upsert RPC.
	SGroupsHostBindingAPIUpsertProcedure = "/sgroups.v1.SGroupsHostBindingAPI/Upsert"
	// SGroupsHostBindingAPIDeleteProcedure is the fully-qualified name of the SGroupsHostBindingAPI's
	// Delete RPC.
	SGroupsHostBindingAPIDeleteProcedure = "/sgroups.v1.SGroupsHostBindingAPI/Delete"
	// SGroupsHostBindingAPIListProcedure is the fully-qualified name of the SGroupsHostBindingAPI's
	// List RPC.
	SGroupsHostBindingAPIListProcedure = "/sgroups.v1.SGroupsHostBindingAPI/List"
	// SGroupsHostBindingAPIWatchProcedure is the fully-qualified name of the SGroupsHostBindingAPI's
	// Watch RPC.
	SGroupsHostBindingAPIWatchProcedure = "/sgroups.v1.SGroupsHostBindingAPI/Watch"
	// SGroupsNetworkBindingAPIUpsertProcedure is the fully-qualified name of the
	// SGroupsNetworkBindingAPI's Upsert RPC.
	SGroupsNetworkBindingAPIUpsertProcedure = "/sgroups.v1.SGroupsNetworkBindingAPI/Upsert"
	// SGroupsNetworkBindingAPIDeleteProcedure is the fully-qualified name of the
	// SGroupsNetworkBindingAPI's Delete RPC.
	SGroupsNetworkBindingAPIDeleteProcedure = "/sgroups.v1.SGroupsNetworkBindingAPI/Delete"
	// SGroupsNetworkBindingAPIListProcedure is the fully-qualified name of the
	// SGroupsNetworkBindingAPI's List RPC.
	SGroupsNetworkBindingAPIListProcedure = "/sgroups.v1.SGroupsNetworkBindingAPI/List"
	// SGroupsNetworkBindingAPIWatchProcedure is the fully-qualified name of the
	// SGroupsNetworkBindingAPI's Watch RPC.
	SGroupsNetworkBindingAPIWatchProcedure = "/sgroups.v1.SGroupsNetworkBindingAPI/Watch"
	// SGroupsServicesAPIUpsertProcedure is the fully-qualified name of the SGroupsServicesAPI's Upsert
	// RPC.
	SGroupsServicesAPIUpsertProcedure = "/sgroups.v1.SGroupsServicesAPI/Upsert"
	// SGroupsServicesAPIDeleteProcedure is the fully-qualified name of the SGroupsServicesAPI's Delete
	// RPC.
	SGroupsServicesAPIDeleteProcedure = "/sgroups.v1.SGroupsServicesAPI/Delete"
	// SGroupsServicesAPIListProcedure is the fully-qualified name of the SGroupsServicesAPI's List RPC.
	SGroupsServicesAPIListProcedure = "/sgroups.v1.SGroupsServicesAPI/List"
	// SGroupsServicesAPIWatchProcedure is the fully-qualified name of the SGroupsServicesAPI's Watch
	// RPC.
	SGroupsServicesAPIWatchProcedure = "/sgroups.v1.SGroupsServicesAPI/Watch"
	// SGroupsServiceBindingAPIUpsertProcedure is the fully-qualified name of the
	// SGroupsServiceBindingAPI's Upsert RPC.
	SGroupsServiceBindingAPIUpsertProcedure = "/sgroups.v1.SGroupsServiceBindingAPI/Upsert"
	// SGroupsServiceBindingAPIDeleteProcedure is the fully-qualified name of the
	// SGroupsServiceBindingAPI's Delete RPC.
	SGroupsServiceBindingAPIDeleteProcedure = "/sgroups.v1.SGroupsServiceBindingAPI/Delete"
	// SGroupsServiceBindingAPIListProcedure is the fully-qualified name of the
	// SGroupsServiceBindingAPI's List RPC.
	SGroupsServiceBindingAPIListProcedure = "/sgroups.v1.SGroupsServiceBindingAPI/List"
	// SGroupsServiceBindingAPIWatchProcedure is the fully-qualified name of the
	// SGroupsServiceBindingAPI's Watch RPC.
	SGroupsServiceBindingAPIWatchProcedure = "/sgroups.v1.SGroupsServiceBindingAPI/Watch"
	// SGroupsRulesAPIUpsertProcedure is the fully-qualified name of the SGroupsRulesAPI's Upsert RPC.
	SGroupsRulesAPIUpsertProcedure = "/sgroups.v1.SGroupsRulesAPI/Upsert"
	// SGroupsRulesAPIDeleteProcedure is the fully-qualified name of the SGroupsRulesAPI's Delete RPC.
	SGroupsRulesAPIDeleteProcedure = "/sgroups.v1.SGroupsRulesAPI/Delete"
	// SGroupsRulesAPIListProcedure is the fully-qualified name of the SGroupsRulesAPI's List RPC.
	SGroupsRulesAPIListProcedure = "/sgroups.v1.SGroupsRulesAPI/List"
	// SGroupsRulesAPIWatchProcedure is the fully-qualified name of the SGroupsRulesAPI's Watch RPC.
	SGroupsRulesAPIWatchProcedure = "/sgroups.v1.SGroupsRulesAPI/Watch"
	// SGroupsStatusAPIListProcedure is the fully-qualified name of the SGroupsStatusAPI's List RPC.
	SGroupsStatusAPIListProcedure = "/sgroups.v1.SGroupsStatusAPI/List"
	// SGroupsStatusAPIWatchProcedure is the fully-qualified name of the SGroupsStatusAPI's Watch RPC.
	SGroupsStatusAPIWatchProcedure = "/sgroups.v1.SGroupsStatusAPI/Watch"
)

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.

Variables

This section is empty.

Functions

func NewSGroupsAddressGroupsAPIHandler

func NewSGroupsAddressGroupsAPIHandler(svc SGroupsAddressGroupsAPIHandler, opts ...connect.HandlerOption) (string, http.Handler)

NewSGroupsAddressGroupsAPIHandler 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 NewSGroupsHostBindingAPIHandler

func NewSGroupsHostBindingAPIHandler(svc SGroupsHostBindingAPIHandler, opts ...connect.HandlerOption) (string, http.Handler)

NewSGroupsHostBindingAPIHandler 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 NewSGroupsHostsAPIHandler

func NewSGroupsHostsAPIHandler(svc SGroupsHostsAPIHandler, opts ...connect.HandlerOption) (string, http.Handler)

NewSGroupsHostsAPIHandler 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 NewSGroupsNamespaceAPIHandler

func NewSGroupsNamespaceAPIHandler(svc SGroupsNamespaceAPIHandler, opts ...connect.HandlerOption) (string, http.Handler)

NewSGroupsNamespaceAPIHandler 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 NewSGroupsNetworkBindingAPIHandler

func NewSGroupsNetworkBindingAPIHandler(svc SGroupsNetworkBindingAPIHandler, opts ...connect.HandlerOption) (string, http.Handler)

NewSGroupsNetworkBindingAPIHandler 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 NewSGroupsNetworksAPIHandler

func NewSGroupsNetworksAPIHandler(svc SGroupsNetworksAPIHandler, opts ...connect.HandlerOption) (string, http.Handler)

NewSGroupsNetworksAPIHandler 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 NewSGroupsRulesAPIHandler

func NewSGroupsRulesAPIHandler(svc SGroupsRulesAPIHandler, opts ...connect.HandlerOption) (string, http.Handler)

NewSGroupsRulesAPIHandler 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 NewSGroupsServiceBindingAPIHandler

func NewSGroupsServiceBindingAPIHandler(svc SGroupsServiceBindingAPIHandler, opts ...connect.HandlerOption) (string, http.Handler)

NewSGroupsServiceBindingAPIHandler 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 NewSGroupsServicesAPIHandler

func NewSGroupsServicesAPIHandler(svc SGroupsServicesAPIHandler, opts ...connect.HandlerOption) (string, http.Handler)

NewSGroupsServicesAPIHandler 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 NewSGroupsStatusAPIHandler

func NewSGroupsStatusAPIHandler(svc SGroupsStatusAPIHandler, opts ...connect.HandlerOption) (string, http.Handler)

NewSGroupsStatusAPIHandler 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 SGroupsAddressGroupsAPIClient

type SGroupsAddressGroupsAPIClient interface {
	// Upsert: Create or update address group(s)
	Upsert(context.Context, *connect.Request[v1.AddressGroupReq_Upsert]) (*connect.Response[v1.AddressGroupResp_Upsert], error)
	// Delete: Delete address group(s)
	Delete(context.Context, *connect.Request[v1.AddressGroupReq_Delete]) (*connect.Response[emptypb.Empty], error)
	// List: List address group(s)
	List(context.Context, *connect.Request[v1.AddressGroupReq_List]) (*connect.Response[v1.AddressGroupResp_List], error)
	// Watch: Watch address group(s)
	Watch(context.Context, *connect.Request[v1.AddressGroupReq_Watch]) (*connect.ServerStreamForClient[v1.AddressGroupResp_Watch], error)
}

SGroupsAddressGroupsAPIClient is a client for the sgroups.v1.SGroupsAddressGroupsAPI service.

func NewSGroupsAddressGroupsAPIClient

func NewSGroupsAddressGroupsAPIClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) SGroupsAddressGroupsAPIClient

NewSGroupsAddressGroupsAPIClient constructs a client for the sgroups.v1.SGroupsAddressGroupsAPI 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 SGroupsAddressGroupsAPIHandler

type SGroupsAddressGroupsAPIHandler interface {
	// Upsert: Create or update address group(s)
	Upsert(context.Context, *connect.Request[v1.AddressGroupReq_Upsert]) (*connect.Response[v1.AddressGroupResp_Upsert], error)
	// Delete: Delete address group(s)
	Delete(context.Context, *connect.Request[v1.AddressGroupReq_Delete]) (*connect.Response[emptypb.Empty], error)
	// List: List address group(s)
	List(context.Context, *connect.Request[v1.AddressGroupReq_List]) (*connect.Response[v1.AddressGroupResp_List], error)
	// Watch: Watch address group(s)
	Watch(context.Context, *connect.Request[v1.AddressGroupReq_Watch], *connect.ServerStream[v1.AddressGroupResp_Watch]) error
}

SGroupsAddressGroupsAPIHandler is an implementation of the sgroups.v1.SGroupsAddressGroupsAPI service.

type SGroupsHostBindingAPIClient

type SGroupsHostBindingAPIClient interface {
	// Upsert: Create or update host binding(s)
	Upsert(context.Context, *connect.Request[v1.HostBindingReq_Upsert]) (*connect.Response[v1.HostBindingResp_Upsert], error)
	// Delete: Delete host binding(s)
	Delete(context.Context, *connect.Request[v1.HostBindingReq_Delete]) (*connect.Response[emptypb.Empty], error)
	// List: List host binding(s)
	List(context.Context, *connect.Request[v1.HostBindingReq_List]) (*connect.Response[v1.HostBindingResp_List], error)
	// Watch: Watch host binding(s)
	Watch(context.Context, *connect.Request[v1.HostBindingReq_Watch]) (*connect.ServerStreamForClient[v1.HostBindingResp_Watch], error)
}

SGroupsHostBindingAPIClient is a client for the sgroups.v1.SGroupsHostBindingAPI service.

func NewSGroupsHostBindingAPIClient

func NewSGroupsHostBindingAPIClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) SGroupsHostBindingAPIClient

NewSGroupsHostBindingAPIClient constructs a client for the sgroups.v1.SGroupsHostBindingAPI 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 SGroupsHostBindingAPIHandler

type SGroupsHostBindingAPIHandler interface {
	// Upsert: Create or update host binding(s)
	Upsert(context.Context, *connect.Request[v1.HostBindingReq_Upsert]) (*connect.Response[v1.HostBindingResp_Upsert], error)
	// Delete: Delete host binding(s)
	Delete(context.Context, *connect.Request[v1.HostBindingReq_Delete]) (*connect.Response[emptypb.Empty], error)
	// List: List host binding(s)
	List(context.Context, *connect.Request[v1.HostBindingReq_List]) (*connect.Response[v1.HostBindingResp_List], error)
	// Watch: Watch host binding(s)
	Watch(context.Context, *connect.Request[v1.HostBindingReq_Watch], *connect.ServerStream[v1.HostBindingResp_Watch]) error
}

SGroupsHostBindingAPIHandler is an implementation of the sgroups.v1.SGroupsHostBindingAPI service.

type SGroupsHostsAPIClient

type SGroupsHostsAPIClient interface {
	// Upsert: Create or update host(s)
	Upsert(context.Context, *connect.Request[v1.HostReq_Upsert]) (*connect.Response[v1.HostResp_Upsert], error)
	// Delete: Delete host(s)
	Delete(context.Context, *connect.Request[v1.HostReq_Delete]) (*connect.Response[emptypb.Empty], error)
	// List: List host(s)
	List(context.Context, *connect.Request[v1.HostReq_List]) (*connect.Response[v1.HostResp_List], error)
	// Watch: Watch host(s)
	Watch(context.Context, *connect.Request[v1.HostReq_Watch]) (*connect.ServerStreamForClient[v1.HostResp_Watch], error)
	// UpdIPs: Update host(s) IPs
	UpdIPs(context.Context, *connect.Request[v1.HostReq_UpdIPs]) (*connect.Response[v1.HostResp_UpdIPs], error)
	// UpdMetaInfo: Update host(s) meta information
	UpdMetaInfo(context.Context, *connect.Request[v1.HostReq_UpdMetaInfo]) (*connect.Response[v1.HostResp_UpdMetaInfo], error)
	// ListSocketStatistics: list socket statistics
	ListSocketStatistics(context.Context, *connect.Request[v1.HostReq_SocketStatistics_List]) (*connect.Response[v1.HostResp_SocketStatistics_List], error)
	// WatchSocketStatistics: watch socket statistics
	WatchSocketStatistics(context.Context, *connect.Request[v1.HostReq_SocketStatistics_Watch]) (*connect.ServerStreamForClient[v1.HostResp_SocketStatistics_Watch], error)
	// ListNft: list nftables information
	ListNft(context.Context, *connect.Request[v1.HostReq_Nft_List]) (*connect.Response[v1.HostResp_Nft_List], error)
	// WatchNft: watch nftables information
	WatchNft(context.Context, *connect.Request[v1.HostReq_Nft_Watch]) (*connect.ServerStreamForClient[v1.HostResp_Nft_Watch], error)
}

SGroupsHostsAPIClient is a client for the sgroups.v1.SGroupsHostsAPI service.

func NewSGroupsHostsAPIClient

func NewSGroupsHostsAPIClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) SGroupsHostsAPIClient

NewSGroupsHostsAPIClient constructs a client for the sgroups.v1.SGroupsHostsAPI 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 SGroupsHostsAPIHandler

type SGroupsHostsAPIHandler interface {
	// Upsert: Create or update host(s)
	Upsert(context.Context, *connect.Request[v1.HostReq_Upsert]) (*connect.Response[v1.HostResp_Upsert], error)
	// Delete: Delete host(s)
	Delete(context.Context, *connect.Request[v1.HostReq_Delete]) (*connect.Response[emptypb.Empty], error)
	// List: List host(s)
	List(context.Context, *connect.Request[v1.HostReq_List]) (*connect.Response[v1.HostResp_List], error)
	// Watch: Watch host(s)
	Watch(context.Context, *connect.Request[v1.HostReq_Watch], *connect.ServerStream[v1.HostResp_Watch]) error
	// UpdIPs: Update host(s) IPs
	UpdIPs(context.Context, *connect.Request[v1.HostReq_UpdIPs]) (*connect.Response[v1.HostResp_UpdIPs], error)
	// UpdMetaInfo: Update host(s) meta information
	UpdMetaInfo(context.Context, *connect.Request[v1.HostReq_UpdMetaInfo]) (*connect.Response[v1.HostResp_UpdMetaInfo], error)
	// ListSocketStatistics: list socket statistics
	ListSocketStatistics(context.Context, *connect.Request[v1.HostReq_SocketStatistics_List]) (*connect.Response[v1.HostResp_SocketStatistics_List], error)
	// WatchSocketStatistics: watch socket statistics
	WatchSocketStatistics(context.Context, *connect.Request[v1.HostReq_SocketStatistics_Watch], *connect.ServerStream[v1.HostResp_SocketStatistics_Watch]) error
	// ListNft: list nftables information
	ListNft(context.Context, *connect.Request[v1.HostReq_Nft_List]) (*connect.Response[v1.HostResp_Nft_List], error)
	// WatchNft: watch nftables information
	WatchNft(context.Context, *connect.Request[v1.HostReq_Nft_Watch], *connect.ServerStream[v1.HostResp_Nft_Watch]) error
}

SGroupsHostsAPIHandler is an implementation of the sgroups.v1.SGroupsHostsAPI service.

type SGroupsNamespaceAPIClient

type SGroupsNamespaceAPIClient interface {
	// Upsert: Create or update namespace(es)
	Upsert(context.Context, *connect.Request[v1.NamespaceReq_Upsert]) (*connect.Response[v1.NamespaceResp_Upsert], error)
	// Delete: Delete namespace(es)
	Delete(context.Context, *connect.Request[v1.NamespaceReq_Delete]) (*connect.Response[emptypb.Empty], error)
	// List: List namespace(es)
	List(context.Context, *connect.Request[v1.NamespaceReq_List]) (*connect.Response[v1.NamespaceResp_List], error)
	// Watch: Watch namespace(es)
	Watch(context.Context, *connect.Request[v1.NamespaceReq_Watch]) (*connect.ServerStreamForClient[v1.NamespaceResp_Watch], error)
}

SGroupsNamespaceAPIClient is a client for the sgroups.v1.SGroupsNamespaceAPI service.

func NewSGroupsNamespaceAPIClient

func NewSGroupsNamespaceAPIClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) SGroupsNamespaceAPIClient

NewSGroupsNamespaceAPIClient constructs a client for the sgroups.v1.SGroupsNamespaceAPI 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 SGroupsNamespaceAPIHandler

type SGroupsNamespaceAPIHandler interface {
	// Upsert: Create or update namespace(es)
	Upsert(context.Context, *connect.Request[v1.NamespaceReq_Upsert]) (*connect.Response[v1.NamespaceResp_Upsert], error)
	// Delete: Delete namespace(es)
	Delete(context.Context, *connect.Request[v1.NamespaceReq_Delete]) (*connect.Response[emptypb.Empty], error)
	// List: List namespace(es)
	List(context.Context, *connect.Request[v1.NamespaceReq_List]) (*connect.Response[v1.NamespaceResp_List], error)
	// Watch: Watch namespace(es)
	Watch(context.Context, *connect.Request[v1.NamespaceReq_Watch], *connect.ServerStream[v1.NamespaceResp_Watch]) error
}

SGroupsNamespaceAPIHandler is an implementation of the sgroups.v1.SGroupsNamespaceAPI service.

type SGroupsNetworkBindingAPIClient

type SGroupsNetworkBindingAPIClient interface {
	// Upsert: Create or update network binding(s)
	Upsert(context.Context, *connect.Request[v1.NetworkBindingReq_Upsert]) (*connect.Response[v1.NetworkBindingResp_Upsert], error)
	// Delete: Delete network binding(s)
	Delete(context.Context, *connect.Request[v1.NetworkBindingReq_Delete]) (*connect.Response[emptypb.Empty], error)
	// List: List network binding(s)
	List(context.Context, *connect.Request[v1.NetworkBindingReq_List]) (*connect.Response[v1.NetworkBindingResp_List], error)
	// Watch: Watch network binding(s)
	Watch(context.Context, *connect.Request[v1.NetworkBindingReq_Watch]) (*connect.ServerStreamForClient[v1.NetworkBindingResp_Watch], error)
}

SGroupsNetworkBindingAPIClient is a client for the sgroups.v1.SGroupsNetworkBindingAPI service.

func NewSGroupsNetworkBindingAPIClient

func NewSGroupsNetworkBindingAPIClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) SGroupsNetworkBindingAPIClient

NewSGroupsNetworkBindingAPIClient constructs a client for the sgroups.v1.SGroupsNetworkBindingAPI 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 SGroupsNetworkBindingAPIHandler

type SGroupsNetworkBindingAPIHandler interface {
	// Upsert: Create or update network binding(s)
	Upsert(context.Context, *connect.Request[v1.NetworkBindingReq_Upsert]) (*connect.Response[v1.NetworkBindingResp_Upsert], error)
	// Delete: Delete network binding(s)
	Delete(context.Context, *connect.Request[v1.NetworkBindingReq_Delete]) (*connect.Response[emptypb.Empty], error)
	// List: List network binding(s)
	List(context.Context, *connect.Request[v1.NetworkBindingReq_List]) (*connect.Response[v1.NetworkBindingResp_List], error)
	// Watch: Watch network binding(s)
	Watch(context.Context, *connect.Request[v1.NetworkBindingReq_Watch], *connect.ServerStream[v1.NetworkBindingResp_Watch]) error
}

SGroupsNetworkBindingAPIHandler is an implementation of the sgroups.v1.SGroupsNetworkBindingAPI service.

type SGroupsNetworksAPIClient

type SGroupsNetworksAPIClient interface {
	// Upsert: Create or update network(s)
	Upsert(context.Context, *connect.Request[v1.NetworkReq_Upsert]) (*connect.Response[v1.NetworkResp_Upsert], error)
	// Delete: Delete network(s)
	Delete(context.Context, *connect.Request[v1.NetworkReq_Delete]) (*connect.Response[emptypb.Empty], error)
	// List: List network(s)
	List(context.Context, *connect.Request[v1.NetworkReq_List]) (*connect.Response[v1.NetworkResp_List], error)
	// Watch: Watch network(s)
	Watch(context.Context, *connect.Request[v1.NetworkReq_Watch]) (*connect.ServerStreamForClient[v1.NetworkResp_Watch], error)
}

SGroupsNetworksAPIClient is a client for the sgroups.v1.SGroupsNetworksAPI service.

func NewSGroupsNetworksAPIClient

func NewSGroupsNetworksAPIClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) SGroupsNetworksAPIClient

NewSGroupsNetworksAPIClient constructs a client for the sgroups.v1.SGroupsNetworksAPI 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 SGroupsNetworksAPIHandler

type SGroupsNetworksAPIHandler interface {
	// Upsert: Create or update network(s)
	Upsert(context.Context, *connect.Request[v1.NetworkReq_Upsert]) (*connect.Response[v1.NetworkResp_Upsert], error)
	// Delete: Delete network(s)
	Delete(context.Context, *connect.Request[v1.NetworkReq_Delete]) (*connect.Response[emptypb.Empty], error)
	// List: List network(s)
	List(context.Context, *connect.Request[v1.NetworkReq_List]) (*connect.Response[v1.NetworkResp_List], error)
	// Watch: Watch network(s)
	Watch(context.Context, *connect.Request[v1.NetworkReq_Watch], *connect.ServerStream[v1.NetworkResp_Watch]) error
}

SGroupsNetworksAPIHandler is an implementation of the sgroups.v1.SGroupsNetworksAPI service.

type SGroupsRulesAPIClient

type SGroupsRulesAPIClient interface {
	// Upsert: Create or update rules
	Upsert(context.Context, *connect.Request[v1.RuleReq_Upsert]) (*connect.Response[v1.RuleResp_Upsert], error)
	// Delete: Delete rules
	Delete(context.Context, *connect.Request[v1.RuleReq_Delete]) (*connect.Response[emptypb.Empty], error)
	// List: List rules
	List(context.Context, *connect.Request[v1.RuleReq_List]) (*connect.Response[v1.RuleResp_List], error)
	// Watch: Watch rules
	Watch(context.Context, *connect.Request[v1.RuleReq_Watch]) (*connect.ServerStreamForClient[v1.RuleResp_Watch], error)
}

SGroupsRulesAPIClient is a client for the sgroups.v1.SGroupsRulesAPI service.

func NewSGroupsRulesAPIClient

func NewSGroupsRulesAPIClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) SGroupsRulesAPIClient

NewSGroupsRulesAPIClient constructs a client for the sgroups.v1.SGroupsRulesAPI 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 SGroupsRulesAPIHandler

type SGroupsRulesAPIHandler interface {
	// Upsert: Create or update rules
	Upsert(context.Context, *connect.Request[v1.RuleReq_Upsert]) (*connect.Response[v1.RuleResp_Upsert], error)
	// Delete: Delete rules
	Delete(context.Context, *connect.Request[v1.RuleReq_Delete]) (*connect.Response[emptypb.Empty], error)
	// List: List rules
	List(context.Context, *connect.Request[v1.RuleReq_List]) (*connect.Response[v1.RuleResp_List], error)
	// Watch: Watch rules
	Watch(context.Context, *connect.Request[v1.RuleReq_Watch], *connect.ServerStream[v1.RuleResp_Watch]) error
}

SGroupsRulesAPIHandler is an implementation of the sgroups.v1.SGroupsRulesAPI service.

type SGroupsServiceBindingAPIClient

type SGroupsServiceBindingAPIClient interface {
	// Upsert: Create or update service binding(s)
	Upsert(context.Context, *connect.Request[v1.ServiceBindingReq_Upsert]) (*connect.Response[v1.ServiceBindingResp_Upsert], error)
	// Delete: Delete service binding(s)
	Delete(context.Context, *connect.Request[v1.ServiceBindingReq_Delete]) (*connect.Response[emptypb.Empty], error)
	// List: List service binding(s)
	List(context.Context, *connect.Request[v1.ServiceBindingReq_List]) (*connect.Response[v1.ServiceBindingResp_List], error)
	// Watch: Watch service binding(s)
	Watch(context.Context, *connect.Request[v1.ServiceBindingReq_Watch]) (*connect.ServerStreamForClient[v1.ServiceBindingResp_Watch], error)
}

SGroupsServiceBindingAPIClient is a client for the sgroups.v1.SGroupsServiceBindingAPI service.

func NewSGroupsServiceBindingAPIClient

func NewSGroupsServiceBindingAPIClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) SGroupsServiceBindingAPIClient

NewSGroupsServiceBindingAPIClient constructs a client for the sgroups.v1.SGroupsServiceBindingAPI 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 SGroupsServiceBindingAPIHandler

type SGroupsServiceBindingAPIHandler interface {
	// Upsert: Create or update service binding(s)
	Upsert(context.Context, *connect.Request[v1.ServiceBindingReq_Upsert]) (*connect.Response[v1.ServiceBindingResp_Upsert], error)
	// Delete: Delete service binding(s)
	Delete(context.Context, *connect.Request[v1.ServiceBindingReq_Delete]) (*connect.Response[emptypb.Empty], error)
	// List: List service binding(s)
	List(context.Context, *connect.Request[v1.ServiceBindingReq_List]) (*connect.Response[v1.ServiceBindingResp_List], error)
	// Watch: Watch service binding(s)
	Watch(context.Context, *connect.Request[v1.ServiceBindingReq_Watch], *connect.ServerStream[v1.ServiceBindingResp_Watch]) error
}

SGroupsServiceBindingAPIHandler is an implementation of the sgroups.v1.SGroupsServiceBindingAPI service.

type SGroupsServicesAPIClient

type SGroupsServicesAPIClient interface {
	// Upsert: Create or update service(s)
	Upsert(context.Context, *connect.Request[v1.ServiceReq_Upsert]) (*connect.Response[v1.ServiceResp_Upsert], error)
	// Delete: Delete service(s)
	Delete(context.Context, *connect.Request[v1.ServiceReq_Delete]) (*connect.Response[emptypb.Empty], error)
	// List: List service(s)
	List(context.Context, *connect.Request[v1.ServiceReq_List]) (*connect.Response[v1.ServiceResp_List], error)
	// Watch: Watch service(s)
	Watch(context.Context, *connect.Request[v1.ServiceReq_Watch]) (*connect.ServerStreamForClient[v1.ServiceResp_Watch], error)
}

SGroupsServicesAPIClient is a client for the sgroups.v1.SGroupsServicesAPI service.

func NewSGroupsServicesAPIClient

func NewSGroupsServicesAPIClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) SGroupsServicesAPIClient

NewSGroupsServicesAPIClient constructs a client for the sgroups.v1.SGroupsServicesAPI 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 SGroupsServicesAPIHandler

type SGroupsServicesAPIHandler interface {
	// Upsert: Create or update service(s)
	Upsert(context.Context, *connect.Request[v1.ServiceReq_Upsert]) (*connect.Response[v1.ServiceResp_Upsert], error)
	// Delete: Delete service(s)
	Delete(context.Context, *connect.Request[v1.ServiceReq_Delete]) (*connect.Response[emptypb.Empty], error)
	// List: List service(s)
	List(context.Context, *connect.Request[v1.ServiceReq_List]) (*connect.Response[v1.ServiceResp_List], error)
	// Watch: Watch service(s)
	Watch(context.Context, *connect.Request[v1.ServiceReq_Watch], *connect.ServerStream[v1.ServiceResp_Watch]) error
}

SGroupsServicesAPIHandler is an implementation of the sgroups.v1.SGroupsServicesAPI service.

type SGroupsStatusAPIClient

type SGroupsStatusAPIClient interface {
	// List: gets last succeeded update DB status
	List(context.Context, *connect.Request[emptypb.Empty]) (*connect.Response[v1.SyncStatusResp], error)
	// Watch: gets stream of update DB statuses
	Watch(context.Context, *connect.Request[emptypb.Empty]) (*connect.ServerStreamForClient[v1.SyncStatusResp], error)
}

SGroupsStatusAPIClient is a client for the sgroups.v1.SGroupsStatusAPI service.

func NewSGroupsStatusAPIClient

func NewSGroupsStatusAPIClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) SGroupsStatusAPIClient

NewSGroupsStatusAPIClient constructs a client for the sgroups.v1.SGroupsStatusAPI 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 SGroupsStatusAPIHandler

type SGroupsStatusAPIHandler interface {
	// List: gets last succeeded update DB status
	List(context.Context, *connect.Request[emptypb.Empty]) (*connect.Response[v1.SyncStatusResp], error)
	// Watch: gets stream of update DB statuses
	Watch(context.Context, *connect.Request[emptypb.Empty], *connect.ServerStream[v1.SyncStatusResp]) error
}

SGroupsStatusAPIHandler is an implementation of the sgroups.v1.SGroupsStatusAPI service.

type UnimplementedSGroupsAddressGroupsAPIHandler

type UnimplementedSGroupsAddressGroupsAPIHandler struct{}

UnimplementedSGroupsAddressGroupsAPIHandler returns CodeUnimplemented from all methods.

type UnimplementedSGroupsHostBindingAPIHandler

type UnimplementedSGroupsHostBindingAPIHandler struct{}

UnimplementedSGroupsHostBindingAPIHandler returns CodeUnimplemented from all methods.

type UnimplementedSGroupsHostsAPIHandler

type UnimplementedSGroupsHostsAPIHandler struct{}

UnimplementedSGroupsHostsAPIHandler returns CodeUnimplemented from all methods.

func (UnimplementedSGroupsHostsAPIHandler) Delete

func (UnimplementedSGroupsHostsAPIHandler) List

func (UnimplementedSGroupsHostsAPIHandler) ListNft added in v0.2.0

func (UnimplementedSGroupsHostsAPIHandler) WatchNft added in v0.2.0

type UnimplementedSGroupsNamespaceAPIHandler

type UnimplementedSGroupsNamespaceAPIHandler struct{}

UnimplementedSGroupsNamespaceAPIHandler returns CodeUnimplemented from all methods.

type UnimplementedSGroupsNetworkBindingAPIHandler

type UnimplementedSGroupsNetworkBindingAPIHandler struct{}

UnimplementedSGroupsNetworkBindingAPIHandler returns CodeUnimplemented from all methods.

type UnimplementedSGroupsNetworksAPIHandler

type UnimplementedSGroupsNetworksAPIHandler struct{}

UnimplementedSGroupsNetworksAPIHandler returns CodeUnimplemented from all methods.

func (UnimplementedSGroupsNetworksAPIHandler) Delete

type UnimplementedSGroupsRulesAPIHandler

type UnimplementedSGroupsRulesAPIHandler struct{}

UnimplementedSGroupsRulesAPIHandler returns CodeUnimplemented from all methods.

func (UnimplementedSGroupsRulesAPIHandler) Delete

func (UnimplementedSGroupsRulesAPIHandler) List

type UnimplementedSGroupsServiceBindingAPIHandler

type UnimplementedSGroupsServiceBindingAPIHandler struct{}

UnimplementedSGroupsServiceBindingAPIHandler returns CodeUnimplemented from all methods.

type UnimplementedSGroupsServicesAPIHandler

type UnimplementedSGroupsServicesAPIHandler struct{}

UnimplementedSGroupsServicesAPIHandler returns CodeUnimplemented from all methods.

func (UnimplementedSGroupsServicesAPIHandler) Delete

type UnimplementedSGroupsStatusAPIHandler

type UnimplementedSGroupsStatusAPIHandler struct{}

UnimplementedSGroupsStatusAPIHandler returns CodeUnimplemented from all methods.

func (UnimplementedSGroupsStatusAPIHandler) List

Jump to

Keyboard shortcuts

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