apiv2connect

package
v0.0.13 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2025 License: MIT Imports: 6 Imported by: 15

Documentation

Index

Constants

View Source
const (
	// FilesystemServiceGetProcedure is the fully-qualified name of the FilesystemService's Get RPC.
	FilesystemServiceGetProcedure = "/metalstack.api.v2.FilesystemService/Get"
	// FilesystemServiceListProcedure is the fully-qualified name of the FilesystemService's List RPC.
	FilesystemServiceListProcedure = "/metalstack.api.v2.FilesystemService/List"
	// FilesystemServiceTryProcedure is the fully-qualified name of the FilesystemService's Try RPC.
	FilesystemServiceTryProcedure = "/metalstack.api.v2.FilesystemService/Try"
	// FilesystemServiceMatchProcedure is the fully-qualified name of the FilesystemService's Match RPC.
	FilesystemServiceMatchProcedure = "/metalstack.api.v2.FilesystemService/Match"
)

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 (
	// ImageServiceGetProcedure is the fully-qualified name of the ImageService's Get RPC.
	ImageServiceGetProcedure = "/metalstack.api.v2.ImageService/Get"
	// ImageServiceListProcedure is the fully-qualified name of the ImageService's List RPC.
	ImageServiceListProcedure = "/metalstack.api.v2.ImageService/List"
	// ImageServiceLatestProcedure is the fully-qualified name of the ImageService's Latest RPC.
	ImageServiceLatestProcedure = "/metalstack.api.v2.ImageService/Latest"
)

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 (
	// IPServiceGetProcedure is the fully-qualified name of the IPService's Get RPC.
	IPServiceGetProcedure = "/metalstack.api.v2.IPService/Get"
	// IPServiceCreateProcedure is the fully-qualified name of the IPService's Create RPC.
	IPServiceCreateProcedure = "/metalstack.api.v2.IPService/Create"
	// IPServiceUpdateProcedure is the fully-qualified name of the IPService's Update RPC.
	IPServiceUpdateProcedure = "/metalstack.api.v2.IPService/Update"
	// IPServiceListProcedure is the fully-qualified name of the IPService's List RPC.
	IPServiceListProcedure = "/metalstack.api.v2.IPService/List"
	// IPServiceDeleteProcedure is the fully-qualified name of the IPService's Delete RPC.
	IPServiceDeleteProcedure = "/metalstack.api.v2.IPService/Delete"
)

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 (
	// MachineServiceGetProcedure is the fully-qualified name of the MachineService's Get RPC.
	MachineServiceGetProcedure = "/metalstack.api.v2.MachineService/Get"
	// MachineServiceCreateProcedure is the fully-qualified name of the MachineService's Create RPC.
	MachineServiceCreateProcedure = "/metalstack.api.v2.MachineService/Create"
	// MachineServiceUpdateProcedure is the fully-qualified name of the MachineService's Update RPC.
	MachineServiceUpdateProcedure = "/metalstack.api.v2.MachineService/Update"
	// MachineServiceListProcedure is the fully-qualified name of the MachineService's List RPC.
	MachineServiceListProcedure = "/metalstack.api.v2.MachineService/List"
	// MachineServiceDeleteProcedure is the fully-qualified name of the MachineService's Delete RPC.
	MachineServiceDeleteProcedure = "/metalstack.api.v2.MachineService/Delete"
)

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 (
	// MethodServiceListProcedure is the fully-qualified name of the MethodService's List RPC.
	MethodServiceListProcedure = "/metalstack.api.v2.MethodService/List"
	// MethodServiceTokenScopedListProcedure is the fully-qualified name of the MethodService's
	// TokenScopedList RPC.
	MethodServiceTokenScopedListProcedure = "/metalstack.api.v2.MethodService/TokenScopedList"
)

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 (
	// NetworkServiceGetProcedure is the fully-qualified name of the NetworkService's Get RPC.
	NetworkServiceGetProcedure = "/metalstack.api.v2.NetworkService/Get"
	// NetworkServiceCreateProcedure is the fully-qualified name of the NetworkService's Create RPC.
	NetworkServiceCreateProcedure = "/metalstack.api.v2.NetworkService/Create"
	// NetworkServiceUpdateProcedure is the fully-qualified name of the NetworkService's Update RPC.
	NetworkServiceUpdateProcedure = "/metalstack.api.v2.NetworkService/Update"
	// NetworkServiceListProcedure is the fully-qualified name of the NetworkService's List RPC.
	NetworkServiceListProcedure = "/metalstack.api.v2.NetworkService/List"
	// NetworkServiceListBaseNetworksProcedure is the fully-qualified name of the NetworkService's
	// ListBaseNetworks RPC.
	NetworkServiceListBaseNetworksProcedure = "/metalstack.api.v2.NetworkService/ListBaseNetworks"
	// NetworkServiceDeleteProcedure is the fully-qualified name of the NetworkService's Delete RPC.
	NetworkServiceDeleteProcedure = "/metalstack.api.v2.NetworkService/Delete"
)

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 (
	// PartitionServiceGetProcedure is the fully-qualified name of the PartitionService's Get RPC.
	PartitionServiceGetProcedure = "/metalstack.api.v2.PartitionService/Get"
	// PartitionServiceListProcedure is the fully-qualified name of the PartitionService's List RPC.
	PartitionServiceListProcedure = "/metalstack.api.v2.PartitionService/List"
)

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 (
	// ProjectServiceListProcedure is the fully-qualified name of the ProjectService's List RPC.
	ProjectServiceListProcedure = "/metalstack.api.v2.ProjectService/List"
	// ProjectServiceGetProcedure is the fully-qualified name of the ProjectService's Get RPC.
	ProjectServiceGetProcedure = "/metalstack.api.v2.ProjectService/Get"
	// ProjectServiceCreateProcedure is the fully-qualified name of the ProjectService's Create RPC.
	ProjectServiceCreateProcedure = "/metalstack.api.v2.ProjectService/Create"
	// ProjectServiceDeleteProcedure is the fully-qualified name of the ProjectService's Delete RPC.
	ProjectServiceDeleteProcedure = "/metalstack.api.v2.ProjectService/Delete"
	// ProjectServiceUpdateProcedure is the fully-qualified name of the ProjectService's Update RPC.
	ProjectServiceUpdateProcedure = "/metalstack.api.v2.ProjectService/Update"
	// ProjectServiceRemoveMemberProcedure is the fully-qualified name of the ProjectService's
	// RemoveMember RPC.
	ProjectServiceRemoveMemberProcedure = "/metalstack.api.v2.ProjectService/RemoveMember"
	// ProjectServiceUpdateMemberProcedure is the fully-qualified name of the ProjectService's
	// UpdateMember RPC.
	ProjectServiceUpdateMemberProcedure = "/metalstack.api.v2.ProjectService/UpdateMember"
	// ProjectServiceInviteProcedure is the fully-qualified name of the ProjectService's Invite RPC.
	ProjectServiceInviteProcedure = "/metalstack.api.v2.ProjectService/Invite"
	// ProjectServiceInviteAcceptProcedure is the fully-qualified name of the ProjectService's
	// InviteAccept RPC.
	ProjectServiceInviteAcceptProcedure = "/metalstack.api.v2.ProjectService/InviteAccept"
	// ProjectServiceInviteDeleteProcedure is the fully-qualified name of the ProjectService's
	// InviteDelete RPC.
	ProjectServiceInviteDeleteProcedure = "/metalstack.api.v2.ProjectService/InviteDelete"
	// ProjectServiceInvitesListProcedure is the fully-qualified name of the ProjectService's
	// InvitesList RPC.
	ProjectServiceInvitesListProcedure = "/metalstack.api.v2.ProjectService/InvitesList"
	// ProjectServiceInviteGetProcedure is the fully-qualified name of the ProjectService's InviteGet
	// RPC.
	ProjectServiceInviteGetProcedure = "/metalstack.api.v2.ProjectService/InviteGet"
)

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 (
	// SizeServiceGetProcedure is the fully-qualified name of the SizeService's Get RPC.
	SizeServiceGetProcedure = "/metalstack.api.v2.SizeService/Get"
	// SizeServiceListProcedure is the fully-qualified name of the SizeService's List RPC.
	SizeServiceListProcedure = "/metalstack.api.v2.SizeService/List"
)

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 (
	// TenantServiceCreateProcedure is the fully-qualified name of the TenantService's Create RPC.
	TenantServiceCreateProcedure = "/metalstack.api.v2.TenantService/Create"
	// TenantServiceListProcedure is the fully-qualified name of the TenantService's List RPC.
	TenantServiceListProcedure = "/metalstack.api.v2.TenantService/List"
	// TenantServiceGetProcedure is the fully-qualified name of the TenantService's Get RPC.
	TenantServiceGetProcedure = "/metalstack.api.v2.TenantService/Get"
	// TenantServiceUpdateProcedure is the fully-qualified name of the TenantService's Update RPC.
	TenantServiceUpdateProcedure = "/metalstack.api.v2.TenantService/Update"
	// TenantServiceDeleteProcedure is the fully-qualified name of the TenantService's Delete RPC.
	TenantServiceDeleteProcedure = "/metalstack.api.v2.TenantService/Delete"
	// TenantServiceRemoveMemberProcedure is the fully-qualified name of the TenantService's
	// RemoveMember RPC.
	TenantServiceRemoveMemberProcedure = "/metalstack.api.v2.TenantService/RemoveMember"
	// TenantServiceUpdateMemberProcedure is the fully-qualified name of the TenantService's
	// UpdateMember RPC.
	TenantServiceUpdateMemberProcedure = "/metalstack.api.v2.TenantService/UpdateMember"
	// TenantServiceInviteProcedure is the fully-qualified name of the TenantService's Invite RPC.
	TenantServiceInviteProcedure = "/metalstack.api.v2.TenantService/Invite"
	// TenantServiceInviteAcceptProcedure is the fully-qualified name of the TenantService's
	// InviteAccept RPC.
	TenantServiceInviteAcceptProcedure = "/metalstack.api.v2.TenantService/InviteAccept"
	// TenantServiceInviteDeleteProcedure is the fully-qualified name of the TenantService's
	// InviteDelete RPC.
	TenantServiceInviteDeleteProcedure = "/metalstack.api.v2.TenantService/InviteDelete"
	// TenantServiceInvitesListProcedure is the fully-qualified name of the TenantService's InvitesList
	// RPC.
	TenantServiceInvitesListProcedure = "/metalstack.api.v2.TenantService/InvitesList"
	// TenantServiceInviteGetProcedure is the fully-qualified name of the TenantService's InviteGet RPC.
	TenantServiceInviteGetProcedure = "/metalstack.api.v2.TenantService/InviteGet"
)

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 (
	// TokenServiceGetProcedure is the fully-qualified name of the TokenService's Get RPC.
	TokenServiceGetProcedure = "/metalstack.api.v2.TokenService/Get"
	// TokenServiceCreateProcedure is the fully-qualified name of the TokenService's Create RPC.
	TokenServiceCreateProcedure = "/metalstack.api.v2.TokenService/Create"
	// TokenServiceUpdateProcedure is the fully-qualified name of the TokenService's Update RPC.
	TokenServiceUpdateProcedure = "/metalstack.api.v2.TokenService/Update"
	// TokenServiceListProcedure is the fully-qualified name of the TokenService's List RPC.
	TokenServiceListProcedure = "/metalstack.api.v2.TokenService/List"
	// TokenServiceRevokeProcedure is the fully-qualified name of the TokenService's Revoke RPC.
	TokenServiceRevokeProcedure = "/metalstack.api.v2.TokenService/Revoke"
	// TokenServiceRefreshProcedure is the fully-qualified name of the TokenService's Refresh RPC.
	TokenServiceRefreshProcedure = "/metalstack.api.v2.TokenService/Refresh"
)

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 (
	// FilesystemServiceName is the fully-qualified name of the FilesystemService service.
	FilesystemServiceName = "metalstack.api.v2.FilesystemService"
)
View Source
const (
	// HealthServiceGetProcedure is the fully-qualified name of the HealthService's Get RPC.
	HealthServiceGetProcedure = "/metalstack.api.v2.HealthService/Get"
)

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 = "metalstack.api.v2.HealthService"
)
View Source
const (
	// IPServiceName is the fully-qualified name of the IPService service.
	IPServiceName = "metalstack.api.v2.IPService"
)
View Source
const (
	// ImageServiceName is the fully-qualified name of the ImageService service.
	ImageServiceName = "metalstack.api.v2.ImageService"
)
View Source
const (
	// MachineServiceName is the fully-qualified name of the MachineService service.
	MachineServiceName = "metalstack.api.v2.MachineService"
)
View Source
const (
	// MethodServiceName is the fully-qualified name of the MethodService service.
	MethodServiceName = "metalstack.api.v2.MethodService"
)
View Source
const (
	// NetworkServiceName is the fully-qualified name of the NetworkService service.
	NetworkServiceName = "metalstack.api.v2.NetworkService"
)
View Source
const (
	// PartitionServiceName is the fully-qualified name of the PartitionService service.
	PartitionServiceName = "metalstack.api.v2.PartitionService"
)
View Source
const (
	// ProjectServiceName is the fully-qualified name of the ProjectService service.
	ProjectServiceName = "metalstack.api.v2.ProjectService"
)
View Source
const (
	// SizeServiceName is the fully-qualified name of the SizeService service.
	SizeServiceName = "metalstack.api.v2.SizeService"
)
View Source
const (
	// TenantServiceName is the fully-qualified name of the TenantService service.
	TenantServiceName = "metalstack.api.v2.TenantService"
)
View Source
const (
	// TokenServiceName is the fully-qualified name of the TokenService service.
	TokenServiceName = "metalstack.api.v2.TokenService"
)
View Source
const (
	// UserServiceGetProcedure is the fully-qualified name of the UserService's Get RPC.
	UserServiceGetProcedure = "/metalstack.api.v2.UserService/Get"
)

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 (
	// UserServiceName is the fully-qualified name of the UserService service.
	UserServiceName = "metalstack.api.v2.UserService"
)
View Source
const (
	// VersionServiceGetProcedure is the fully-qualified name of the VersionService's Get RPC.
	VersionServiceGetProcedure = "/metalstack.api.v2.VersionService/Get"
)

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 (
	// VersionServiceName is the fully-qualified name of the VersionService service.
	VersionServiceName = "metalstack.api.v2.VersionService"
)

Variables

This section is empty.

Functions

func NewFilesystemServiceHandler

func NewFilesystemServiceHandler(svc FilesystemServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)

NewFilesystemServiceHandler 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 NewIPServiceHandler

func NewIPServiceHandler(svc IPServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)

NewIPServiceHandler 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 NewImageServiceHandler

func NewImageServiceHandler(svc ImageServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)

NewImageServiceHandler 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 NewMachineServiceHandler added in v0.0.9

func NewMachineServiceHandler(svc MachineServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)

NewMachineServiceHandler 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 NewMethodServiceHandler

func NewMethodServiceHandler(svc MethodServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)

NewMethodServiceHandler 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 NewNetworkServiceHandler

func NewNetworkServiceHandler(svc NetworkServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)

NewNetworkServiceHandler 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 NewPartitionServiceHandler

func NewPartitionServiceHandler(svc PartitionServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)

NewPartitionServiceHandler 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 NewProjectServiceHandler

func NewProjectServiceHandler(svc ProjectServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)

NewProjectServiceHandler 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 NewSizeServiceHandler added in v0.0.2

func NewSizeServiceHandler(svc SizeServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)

NewSizeServiceHandler 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 NewTenantServiceHandler

func NewTenantServiceHandler(svc TenantServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)

NewTenantServiceHandler 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 NewTokenServiceHandler

func NewTokenServiceHandler(svc TokenServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)

NewTokenServiceHandler 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 NewUserServiceHandler

func NewUserServiceHandler(svc UserServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)

NewUserServiceHandler 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 NewVersionServiceHandler

func NewVersionServiceHandler(svc VersionServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)

NewVersionServiceHandler 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 FilesystemServiceClient

FilesystemServiceClient is a client for the metalstack.api.v2.FilesystemService service.

func NewFilesystemServiceClient

func NewFilesystemServiceClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) FilesystemServiceClient

NewFilesystemServiceClient constructs a client for the metalstack.api.v2.FilesystemService 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 FilesystemServiceHandler

FilesystemServiceHandler is an implementation of the metalstack.api.v2.FilesystemService service.

type HealthServiceClient

type HealthServiceClient interface {
	// Get the health of the platform
	Get(context.Context, *connect.Request[v2.HealthServiceGetRequest]) (*connect.Response[v2.HealthServiceGetResponse], error)
}

HealthServiceClient is a client for the metalstack.api.v2.HealthService service.

func NewHealthServiceClient

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

NewHealthServiceClient constructs a client for the metalstack.api.v2.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 {
	// Get the health of the platform
	Get(context.Context, *connect.Request[v2.HealthServiceGetRequest]) (*connect.Response[v2.HealthServiceGetResponse], error)
}

HealthServiceHandler is an implementation of the metalstack.api.v2.HealthService service.

type IPServiceClient

IPServiceClient is a client for the metalstack.api.v2.IPService service.

func NewIPServiceClient

func NewIPServiceClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) IPServiceClient

NewIPServiceClient constructs a client for the metalstack.api.v2.IPService 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 IPServiceHandler

IPServiceHandler is an implementation of the metalstack.api.v2.IPService service.

type ImageServiceClient

ImageServiceClient is a client for the metalstack.api.v2.ImageService service.

func NewImageServiceClient

func NewImageServiceClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) ImageServiceClient

NewImageServiceClient constructs a client for the metalstack.api.v2.ImageService 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 ImageServiceHandler

ImageServiceHandler is an implementation of the metalstack.api.v2.ImageService service.

type MachineServiceClient added in v0.0.9

MachineServiceClient is a client for the metalstack.api.v2.MachineService service.

func NewMachineServiceClient added in v0.0.9

func NewMachineServiceClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) MachineServiceClient

NewMachineServiceClient constructs a client for the metalstack.api.v2.MachineService 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 MachineServiceHandler added in v0.0.9

MachineServiceHandler is an implementation of the metalstack.api.v2.MachineService service.

type MethodServiceClient

type MethodServiceClient interface {
	// List all public visible methods
	List(context.Context, *connect.Request[v2.MethodServiceListRequest]) (*connect.Response[v2.MethodServiceListResponse], error)
	// TokenScopedList all methods callable with the token present in the request
	TokenScopedList(context.Context, *connect.Request[v2.MethodServiceTokenScopedListRequest]) (*connect.Response[v2.MethodServiceTokenScopedListResponse], error)
}

MethodServiceClient is a client for the metalstack.api.v2.MethodService service.

func NewMethodServiceClient

func NewMethodServiceClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) MethodServiceClient

NewMethodServiceClient constructs a client for the metalstack.api.v2.MethodService 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 MethodServiceHandler

type MethodServiceHandler interface {
	// List all public visible methods
	List(context.Context, *connect.Request[v2.MethodServiceListRequest]) (*connect.Response[v2.MethodServiceListResponse], error)
	// TokenScopedList all methods callable with the token present in the request
	TokenScopedList(context.Context, *connect.Request[v2.MethodServiceTokenScopedListRequest]) (*connect.Response[v2.MethodServiceTokenScopedListResponse], error)
}

MethodServiceHandler is an implementation of the metalstack.api.v2.MethodService service.

type NetworkServiceClient

type NetworkServiceClient interface {
	// Get a network
	Get(context.Context, *connect.Request[v2.NetworkServiceGetRequest]) (*connect.Response[v2.NetworkServiceGetResponse], error)
	// Create a child network from a super network.
	Create(context.Context, *connect.Request[v2.NetworkServiceCreateRequest]) (*connect.Response[v2.NetworkServiceCreateResponse], error)
	// Update a network
	Update(context.Context, *connect.Request[v2.NetworkServiceUpdateRequest]) (*connect.Response[v2.NetworkServiceUpdateResponse], error)
	// List all project networks
	List(context.Context, *connect.Request[v2.NetworkServiceListRequest]) (*connect.Response[v2.NetworkServiceListResponse], error)
	// ListBaseNetworks all base networks that can be used for either child network or ip allocation
	ListBaseNetworks(context.Context, *connect.Request[v2.NetworkServiceListBaseNetworksRequest]) (*connect.Response[v2.NetworkServiceListBaseNetworksResponse], error)
	// Delete a network
	Delete(context.Context, *connect.Request[v2.NetworkServiceDeleteRequest]) (*connect.Response[v2.NetworkServiceDeleteResponse], error)
}

NetworkServiceClient is a client for the metalstack.api.v2.NetworkService service.

func NewNetworkServiceClient

func NewNetworkServiceClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) NetworkServiceClient

NewNetworkServiceClient constructs a client for the metalstack.api.v2.NetworkService 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 NetworkServiceHandler

type NetworkServiceHandler interface {
	// Get a network
	Get(context.Context, *connect.Request[v2.NetworkServiceGetRequest]) (*connect.Response[v2.NetworkServiceGetResponse], error)
	// Create a child network from a super network.
	Create(context.Context, *connect.Request[v2.NetworkServiceCreateRequest]) (*connect.Response[v2.NetworkServiceCreateResponse], error)
	// Update a network
	Update(context.Context, *connect.Request[v2.NetworkServiceUpdateRequest]) (*connect.Response[v2.NetworkServiceUpdateResponse], error)
	// List all project networks
	List(context.Context, *connect.Request[v2.NetworkServiceListRequest]) (*connect.Response[v2.NetworkServiceListResponse], error)
	// ListBaseNetworks all base networks that can be used for either child network or ip allocation
	ListBaseNetworks(context.Context, *connect.Request[v2.NetworkServiceListBaseNetworksRequest]) (*connect.Response[v2.NetworkServiceListBaseNetworksResponse], error)
	// Delete a network
	Delete(context.Context, *connect.Request[v2.NetworkServiceDeleteRequest]) (*connect.Response[v2.NetworkServiceDeleteResponse], error)
}

NetworkServiceHandler is an implementation of the metalstack.api.v2.NetworkService service.

type PartitionServiceClient

PartitionServiceClient is a client for the metalstack.api.v2.PartitionService service.

func NewPartitionServiceClient

func NewPartitionServiceClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) PartitionServiceClient

NewPartitionServiceClient constructs a client for the metalstack.api.v2.PartitionService 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 PartitionServiceHandler

PartitionServiceHandler is an implementation of the metalstack.api.v2.PartitionService service.

type ProjectServiceClient

type ProjectServiceClient interface {
	// List all accessible projects
	List(context.Context, *connect.Request[v2.ProjectServiceListRequest]) (*connect.Response[v2.ProjectServiceListResponse], error)
	// Get a project
	Get(context.Context, *connect.Request[v2.ProjectServiceGetRequest]) (*connect.Response[v2.ProjectServiceGetResponse], error)
	// Create a project
	Create(context.Context, *connect.Request[v2.ProjectServiceCreateRequest]) (*connect.Response[v2.ProjectServiceCreateResponse], error)
	// Delete a project
	Delete(context.Context, *connect.Request[v2.ProjectServiceDeleteRequest]) (*connect.Response[v2.ProjectServiceDeleteResponse], error)
	// Update a project
	Update(context.Context, *connect.Request[v2.ProjectServiceUpdateRequest]) (*connect.Response[v2.ProjectServiceUpdateResponse], error)
	// RemoveMember remove a user from a project
	RemoveMember(context.Context, *connect.Request[v2.ProjectServiceRemoveMemberRequest]) (*connect.Response[v2.ProjectServiceRemoveMemberResponse], error)
	// UpdateMember update a user for a project
	UpdateMember(context.Context, *connect.Request[v2.ProjectServiceUpdateMemberRequest]) (*connect.Response[v2.ProjectServiceUpdateMemberResponse], error)
	// Invite a user to a project
	Invite(context.Context, *connect.Request[v2.ProjectServiceInviteRequest]) (*connect.Response[v2.ProjectServiceInviteResponse], error)
	// InviteAccept is called from a user to accept a invitation
	InviteAccept(context.Context, *connect.Request[v2.ProjectServiceInviteAcceptRequest]) (*connect.Response[v2.ProjectServiceInviteAcceptResponse], error)
	// InviteDelete deletes a pending invitation
	InviteDelete(context.Context, *connect.Request[v2.ProjectServiceInviteDeleteRequest]) (*connect.Response[v2.ProjectServiceInviteDeleteResponse], error)
	// InvitesList list all invites to a project
	InvitesList(context.Context, *connect.Request[v2.ProjectServiceInvitesListRequest]) (*connect.Response[v2.ProjectServiceInvitesListResponse], error)
	// InviteGet get an invite
	InviteGet(context.Context, *connect.Request[v2.ProjectServiceInviteGetRequest]) (*connect.Response[v2.ProjectServiceInviteGetResponse], error)
}

ProjectServiceClient is a client for the metalstack.api.v2.ProjectService service.

func NewProjectServiceClient

func NewProjectServiceClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) ProjectServiceClient

NewProjectServiceClient constructs a client for the metalstack.api.v2.ProjectService 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 ProjectServiceHandler

type ProjectServiceHandler interface {
	// List all accessible projects
	List(context.Context, *connect.Request[v2.ProjectServiceListRequest]) (*connect.Response[v2.ProjectServiceListResponse], error)
	// Get a project
	Get(context.Context, *connect.Request[v2.ProjectServiceGetRequest]) (*connect.Response[v2.ProjectServiceGetResponse], error)
	// Create a project
	Create(context.Context, *connect.Request[v2.ProjectServiceCreateRequest]) (*connect.Response[v2.ProjectServiceCreateResponse], error)
	// Delete a project
	Delete(context.Context, *connect.Request[v2.ProjectServiceDeleteRequest]) (*connect.Response[v2.ProjectServiceDeleteResponse], error)
	// Update a project
	Update(context.Context, *connect.Request[v2.ProjectServiceUpdateRequest]) (*connect.Response[v2.ProjectServiceUpdateResponse], error)
	// RemoveMember remove a user from a project
	RemoveMember(context.Context, *connect.Request[v2.ProjectServiceRemoveMemberRequest]) (*connect.Response[v2.ProjectServiceRemoveMemberResponse], error)
	// UpdateMember update a user for a project
	UpdateMember(context.Context, *connect.Request[v2.ProjectServiceUpdateMemberRequest]) (*connect.Response[v2.ProjectServiceUpdateMemberResponse], error)
	// Invite a user to a project
	Invite(context.Context, *connect.Request[v2.ProjectServiceInviteRequest]) (*connect.Response[v2.ProjectServiceInviteResponse], error)
	// InviteAccept is called from a user to accept a invitation
	InviteAccept(context.Context, *connect.Request[v2.ProjectServiceInviteAcceptRequest]) (*connect.Response[v2.ProjectServiceInviteAcceptResponse], error)
	// InviteDelete deletes a pending invitation
	InviteDelete(context.Context, *connect.Request[v2.ProjectServiceInviteDeleteRequest]) (*connect.Response[v2.ProjectServiceInviteDeleteResponse], error)
	// InvitesList list all invites to a project
	InvitesList(context.Context, *connect.Request[v2.ProjectServiceInvitesListRequest]) (*connect.Response[v2.ProjectServiceInvitesListResponse], error)
	// InviteGet get an invite
	InviteGet(context.Context, *connect.Request[v2.ProjectServiceInviteGetRequest]) (*connect.Response[v2.ProjectServiceInviteGetResponse], error)
}

ProjectServiceHandler is an implementation of the metalstack.api.v2.ProjectService service.

type SizeServiceClient added in v0.0.2

SizeServiceClient is a client for the metalstack.api.v2.SizeService service.

func NewSizeServiceClient added in v0.0.2

func NewSizeServiceClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) SizeServiceClient

NewSizeServiceClient constructs a client for the metalstack.api.v2.SizeService 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 SizeServiceHandler added in v0.0.2

SizeServiceHandler is an implementation of the metalstack.api.v2.SizeService service.

type TenantServiceClient

type TenantServiceClient interface {
	// Create a tenant
	Create(context.Context, *connect.Request[v2.TenantServiceCreateRequest]) (*connect.Response[v2.TenantServiceCreateResponse], error)
	// List tenants
	List(context.Context, *connect.Request[v2.TenantServiceListRequest]) (*connect.Response[v2.TenantServiceListResponse], error)
	// Get a tenant
	Get(context.Context, *connect.Request[v2.TenantServiceGetRequest]) (*connect.Response[v2.TenantServiceGetResponse], error)
	// Update a tenant
	Update(context.Context, *connect.Request[v2.TenantServiceUpdateRequest]) (*connect.Response[v2.TenantServiceUpdateResponse], error)
	// Delete a tenant
	Delete(context.Context, *connect.Request[v2.TenantServiceDeleteRequest]) (*connect.Response[v2.TenantServiceDeleteResponse], error)
	// RemoveMember remove a member of a tenant
	RemoveMember(context.Context, *connect.Request[v2.TenantServiceRemoveMemberRequest]) (*connect.Response[v2.TenantServiceRemoveMemberResponse], error)
	// UpdateMember update a member of a tenant
	UpdateMember(context.Context, *connect.Request[v2.TenantServiceUpdateMemberRequest]) (*connect.Response[v2.TenantServiceUpdateMemberResponse], error)
	// Invite a user to a tenant
	Invite(context.Context, *connect.Request[v2.TenantServiceInviteRequest]) (*connect.Response[v2.TenantServiceInviteResponse], error)
	// InviteAccept is called from a user to accept an invitation
	InviteAccept(context.Context, *connect.Request[v2.TenantServiceInviteAcceptRequest]) (*connect.Response[v2.TenantServiceInviteAcceptResponse], error)
	// InviteDelete deletes a pending invitation
	InviteDelete(context.Context, *connect.Request[v2.TenantServiceInviteDeleteRequest]) (*connect.Response[v2.TenantServiceInviteDeleteResponse], error)
	// InvitesList list all invites to a tenant
	InvitesList(context.Context, *connect.Request[v2.TenantServiceInvitesListRequest]) (*connect.Response[v2.TenantServiceInvitesListResponse], error)
	// InviteGet get an invite
	InviteGet(context.Context, *connect.Request[v2.TenantServiceInviteGetRequest]) (*connect.Response[v2.TenantServiceInviteGetResponse], error)
}

TenantServiceClient is a client for the metalstack.api.v2.TenantService service.

func NewTenantServiceClient

func NewTenantServiceClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) TenantServiceClient

NewTenantServiceClient constructs a client for the metalstack.api.v2.TenantService 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 TenantServiceHandler

type TenantServiceHandler interface {
	// Create a tenant
	Create(context.Context, *connect.Request[v2.TenantServiceCreateRequest]) (*connect.Response[v2.TenantServiceCreateResponse], error)
	// List tenants
	List(context.Context, *connect.Request[v2.TenantServiceListRequest]) (*connect.Response[v2.TenantServiceListResponse], error)
	// Get a tenant
	Get(context.Context, *connect.Request[v2.TenantServiceGetRequest]) (*connect.Response[v2.TenantServiceGetResponse], error)
	// Update a tenant
	Update(context.Context, *connect.Request[v2.TenantServiceUpdateRequest]) (*connect.Response[v2.TenantServiceUpdateResponse], error)
	// Delete a tenant
	Delete(context.Context, *connect.Request[v2.TenantServiceDeleteRequest]) (*connect.Response[v2.TenantServiceDeleteResponse], error)
	// RemoveMember remove a member of a tenant
	RemoveMember(context.Context, *connect.Request[v2.TenantServiceRemoveMemberRequest]) (*connect.Response[v2.TenantServiceRemoveMemberResponse], error)
	// UpdateMember update a member of a tenant
	UpdateMember(context.Context, *connect.Request[v2.TenantServiceUpdateMemberRequest]) (*connect.Response[v2.TenantServiceUpdateMemberResponse], error)
	// Invite a user to a tenant
	Invite(context.Context, *connect.Request[v2.TenantServiceInviteRequest]) (*connect.Response[v2.TenantServiceInviteResponse], error)
	// InviteAccept is called from a user to accept an invitation
	InviteAccept(context.Context, *connect.Request[v2.TenantServiceInviteAcceptRequest]) (*connect.Response[v2.TenantServiceInviteAcceptResponse], error)
	// InviteDelete deletes a pending invitation
	InviteDelete(context.Context, *connect.Request[v2.TenantServiceInviteDeleteRequest]) (*connect.Response[v2.TenantServiceInviteDeleteResponse], error)
	// InvitesList list all invites to a tenant
	InvitesList(context.Context, *connect.Request[v2.TenantServiceInvitesListRequest]) (*connect.Response[v2.TenantServiceInvitesListResponse], error)
	// InviteGet get an invite
	InviteGet(context.Context, *connect.Request[v2.TenantServiceInviteGetRequest]) (*connect.Response[v2.TenantServiceInviteGetResponse], error)
}

TenantServiceHandler is an implementation of the metalstack.api.v2.TenantService service.

type TokenServiceClient

type TokenServiceClient interface {
	// Get a token
	Get(context.Context, *connect.Request[v2.TokenServiceGetRequest]) (*connect.Response[v2.TokenServiceGetResponse], error)
	// Create a token to authenticate against the platform, the secret will be only visible in the response
	Create(context.Context, *connect.Request[v2.TokenServiceCreateRequest]) (*connect.Response[v2.TokenServiceCreateResponse], error)
	// Update a token
	Update(context.Context, *connect.Request[v2.TokenServiceUpdateRequest]) (*connect.Response[v2.TokenServiceUpdateResponse], error)
	// List all your tokens
	List(context.Context, *connect.Request[v2.TokenServiceListRequest]) (*connect.Response[v2.TokenServiceListResponse], error)
	// Revoke a token, no further usage is possible afterwards
	Revoke(context.Context, *connect.Request[v2.TokenServiceRevokeRequest]) (*connect.Response[v2.TokenServiceRevokeResponse], error)
	// Refresh a token, this will create a new token with the exact same permissions as the calling token contains
	Refresh(context.Context, *connect.Request[v2.TokenServiceRefreshRequest]) (*connect.Response[v2.TokenServiceRefreshResponse], error)
}

TokenServiceClient is a client for the metalstack.api.v2.TokenService service.

func NewTokenServiceClient

func NewTokenServiceClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) TokenServiceClient

NewTokenServiceClient constructs a client for the metalstack.api.v2.TokenService 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 TokenServiceHandler

type TokenServiceHandler interface {
	// Get a token
	Get(context.Context, *connect.Request[v2.TokenServiceGetRequest]) (*connect.Response[v2.TokenServiceGetResponse], error)
	// Create a token to authenticate against the platform, the secret will be only visible in the response
	Create(context.Context, *connect.Request[v2.TokenServiceCreateRequest]) (*connect.Response[v2.TokenServiceCreateResponse], error)
	// Update a token
	Update(context.Context, *connect.Request[v2.TokenServiceUpdateRequest]) (*connect.Response[v2.TokenServiceUpdateResponse], error)
	// List all your tokens
	List(context.Context, *connect.Request[v2.TokenServiceListRequest]) (*connect.Response[v2.TokenServiceListResponse], error)
	// Revoke a token, no further usage is possible afterwards
	Revoke(context.Context, *connect.Request[v2.TokenServiceRevokeRequest]) (*connect.Response[v2.TokenServiceRevokeResponse], error)
	// Refresh a token, this will create a new token with the exact same permissions as the calling token contains
	Refresh(context.Context, *connect.Request[v2.TokenServiceRefreshRequest]) (*connect.Response[v2.TokenServiceRefreshResponse], error)
}

TokenServiceHandler is an implementation of the metalstack.api.v2.TokenService service.

type UnimplementedFilesystemServiceHandler

type UnimplementedFilesystemServiceHandler struct{}

UnimplementedFilesystemServiceHandler returns CodeUnimplemented from all methods.

type UnimplementedHealthServiceHandler

type UnimplementedHealthServiceHandler struct{}

UnimplementedHealthServiceHandler returns CodeUnimplemented from all methods.

type UnimplementedIPServiceHandler

type UnimplementedIPServiceHandler struct{}

UnimplementedIPServiceHandler returns CodeUnimplemented from all methods.

type UnimplementedImageServiceHandler

type UnimplementedImageServiceHandler struct{}

UnimplementedImageServiceHandler returns CodeUnimplemented from all methods.

type UnimplementedMachineServiceHandler added in v0.0.9

type UnimplementedMachineServiceHandler struct{}

UnimplementedMachineServiceHandler returns CodeUnimplemented from all methods.

type UnimplementedMethodServiceHandler

type UnimplementedMethodServiceHandler struct{}

UnimplementedMethodServiceHandler returns CodeUnimplemented from all methods.

type UnimplementedNetworkServiceHandler

type UnimplementedNetworkServiceHandler struct{}

UnimplementedNetworkServiceHandler returns CodeUnimplemented from all methods.

type UnimplementedPartitionServiceHandler

type UnimplementedPartitionServiceHandler struct{}

UnimplementedPartitionServiceHandler returns CodeUnimplemented from all methods.

type UnimplementedProjectServiceHandler

type UnimplementedProjectServiceHandler struct{}

UnimplementedProjectServiceHandler returns CodeUnimplemented from all methods.

type UnimplementedSizeServiceHandler added in v0.0.2

type UnimplementedSizeServiceHandler struct{}

UnimplementedSizeServiceHandler returns CodeUnimplemented from all methods.

func (UnimplementedSizeServiceHandler) Get added in v0.0.2

func (UnimplementedSizeServiceHandler) List added in v0.0.2

type UnimplementedTenantServiceHandler

type UnimplementedTenantServiceHandler struct{}

UnimplementedTenantServiceHandler returns CodeUnimplemented from all methods.

type UnimplementedTokenServiceHandler

type UnimplementedTokenServiceHandler struct{}

UnimplementedTokenServiceHandler returns CodeUnimplemented from all methods.

type UnimplementedUserServiceHandler

type UnimplementedUserServiceHandler struct{}

UnimplementedUserServiceHandler returns CodeUnimplemented from all methods.

type UnimplementedVersionServiceHandler

type UnimplementedVersionServiceHandler struct{}

UnimplementedVersionServiceHandler returns CodeUnimplemented from all methods.

type UserServiceClient

type UserServiceClient interface {
	// Get a User
	Get(context.Context, *connect.Request[v2.UserServiceGetRequest]) (*connect.Response[v2.UserServiceGetResponse], error)
}

UserServiceClient is a client for the metalstack.api.v2.UserService service.

func NewUserServiceClient

func NewUserServiceClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) UserServiceClient

NewUserServiceClient constructs a client for the metalstack.api.v2.UserService 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 UserServiceHandler

type UserServiceHandler interface {
	// Get a User
	Get(context.Context, *connect.Request[v2.UserServiceGetRequest]) (*connect.Response[v2.UserServiceGetResponse], error)
}

UserServiceHandler is an implementation of the metalstack.api.v2.UserService service.

type VersionServiceClient

type VersionServiceClient interface {
	// Get the version
	Get(context.Context, *connect.Request[v2.VersionServiceGetRequest]) (*connect.Response[v2.VersionServiceGetResponse], error)
}

VersionServiceClient is a client for the metalstack.api.v2.VersionService service.

func NewVersionServiceClient

func NewVersionServiceClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) VersionServiceClient

NewVersionServiceClient constructs a client for the metalstack.api.v2.VersionService 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 VersionServiceHandler

type VersionServiceHandler interface {
	// Get the version
	Get(context.Context, *connect.Request[v2.VersionServiceGetRequest]) (*connect.Response[v2.VersionServiceGetResponse], error)
}

VersionServiceHandler is an implementation of the metalstack.api.v2.VersionService service.

Jump to

Keyboard shortcuts

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