Documentation
¶
Index ¶
- Constants
- func NewFilesystemServiceHandler(svc FilesystemServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)
- func NewHealthServiceHandler(svc HealthServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)
- func NewIPServiceHandler(svc IPServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)
- func NewImageServiceHandler(svc ImageServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)
- func NewMachineServiceHandler(svc MachineServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)
- func NewMethodServiceHandler(svc MethodServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)
- func NewNetworkServiceHandler(svc NetworkServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)
- func NewPartitionServiceHandler(svc PartitionServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)
- func NewProjectServiceHandler(svc ProjectServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)
- func NewSizeServiceHandler(svc SizeServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)
- func NewTenantServiceHandler(svc TenantServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)
- func NewTokenServiceHandler(svc TokenServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)
- func NewUserServiceHandler(svc UserServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)
- func NewVersionServiceHandler(svc VersionServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)
- type FilesystemServiceClient
- type FilesystemServiceHandler
- type HealthServiceClient
- type HealthServiceHandler
- type IPServiceClient
- type IPServiceHandler
- type ImageServiceClient
- type ImageServiceHandler
- type MachineServiceClient
- type MachineServiceHandler
- type MethodServiceClient
- type MethodServiceHandler
- type NetworkServiceClient
- type NetworkServiceHandler
- type PartitionServiceClient
- type PartitionServiceHandler
- type ProjectServiceClient
- type ProjectServiceHandler
- type SizeServiceClient
- type SizeServiceHandler
- type TenantServiceClient
- type TenantServiceHandler
- type TokenServiceClient
- type TokenServiceHandler
- type UnimplementedFilesystemServiceHandler
- func (UnimplementedFilesystemServiceHandler) Get(context.Context, *connect.Request[v2.FilesystemServiceGetRequest]) (*connect.Response[v2.FilesystemServiceGetResponse], error)
- func (UnimplementedFilesystemServiceHandler) List(context.Context, *connect.Request[v2.FilesystemServiceListRequest]) (*connect.Response[v2.FilesystemServiceListResponse], error)
- func (UnimplementedFilesystemServiceHandler) Match(context.Context, *connect.Request[v2.FilesystemServiceMatchRequest]) (*connect.Response[v2.FilesystemServiceMatchResponse], error)
- func (UnimplementedFilesystemServiceHandler) Try(context.Context, *connect.Request[v2.FilesystemServiceTryRequest]) (*connect.Response[v2.FilesystemServiceTryResponse], error)
- type UnimplementedHealthServiceHandler
- type UnimplementedIPServiceHandler
- func (UnimplementedIPServiceHandler) Create(context.Context, *connect.Request[v2.IPServiceCreateRequest]) (*connect.Response[v2.IPServiceCreateResponse], error)
- func (UnimplementedIPServiceHandler) Delete(context.Context, *connect.Request[v2.IPServiceDeleteRequest]) (*connect.Response[v2.IPServiceDeleteResponse], error)
- func (UnimplementedIPServiceHandler) Get(context.Context, *connect.Request[v2.IPServiceGetRequest]) (*connect.Response[v2.IPServiceGetResponse], error)
- func (UnimplementedIPServiceHandler) List(context.Context, *connect.Request[v2.IPServiceListRequest]) (*connect.Response[v2.IPServiceListResponse], error)
- func (UnimplementedIPServiceHandler) Update(context.Context, *connect.Request[v2.IPServiceUpdateRequest]) (*connect.Response[v2.IPServiceUpdateResponse], error)
- type UnimplementedImageServiceHandler
- func (UnimplementedImageServiceHandler) Get(context.Context, *connect.Request[v2.ImageServiceGetRequest]) (*connect.Response[v2.ImageServiceGetResponse], error)
- func (UnimplementedImageServiceHandler) Latest(context.Context, *connect.Request[v2.ImageServiceLatestRequest]) (*connect.Response[v2.ImageServiceLatestResponse], error)
- func (UnimplementedImageServiceHandler) List(context.Context, *connect.Request[v2.ImageServiceListRequest]) (*connect.Response[v2.ImageServiceListResponse], error)
- type UnimplementedMachineServiceHandler
- func (UnimplementedMachineServiceHandler) Create(context.Context, *connect.Request[v2.MachineServiceCreateRequest]) (*connect.Response[v2.MachineServiceCreateResponse], error)
- func (UnimplementedMachineServiceHandler) Delete(context.Context, *connect.Request[v2.MachineServiceDeleteRequest]) (*connect.Response[v2.MachineServiceDeleteResponse], error)
- func (UnimplementedMachineServiceHandler) Get(context.Context, *connect.Request[v2.MachineServiceGetRequest]) (*connect.Response[v2.MachineServiceGetResponse], error)
- func (UnimplementedMachineServiceHandler) List(context.Context, *connect.Request[v2.MachineServiceListRequest]) (*connect.Response[v2.MachineServiceListResponse], error)
- func (UnimplementedMachineServiceHandler) Update(context.Context, *connect.Request[v2.MachineServiceUpdateRequest]) (*connect.Response[v2.MachineServiceUpdateResponse], error)
- type UnimplementedMethodServiceHandler
- func (UnimplementedMethodServiceHandler) List(context.Context, *connect.Request[v2.MethodServiceListRequest]) (*connect.Response[v2.MethodServiceListResponse], error)
- func (UnimplementedMethodServiceHandler) TokenScopedList(context.Context, *connect.Request[v2.MethodServiceTokenScopedListRequest]) (*connect.Response[v2.MethodServiceTokenScopedListResponse], error)
- type UnimplementedNetworkServiceHandler
- func (UnimplementedNetworkServiceHandler) Create(context.Context, *connect.Request[v2.NetworkServiceCreateRequest]) (*connect.Response[v2.NetworkServiceCreateResponse], error)
- func (UnimplementedNetworkServiceHandler) Delete(context.Context, *connect.Request[v2.NetworkServiceDeleteRequest]) (*connect.Response[v2.NetworkServiceDeleteResponse], error)
- func (UnimplementedNetworkServiceHandler) Get(context.Context, *connect.Request[v2.NetworkServiceGetRequest]) (*connect.Response[v2.NetworkServiceGetResponse], error)
- func (UnimplementedNetworkServiceHandler) List(context.Context, *connect.Request[v2.NetworkServiceListRequest]) (*connect.Response[v2.NetworkServiceListResponse], error)
- func (UnimplementedNetworkServiceHandler) ListBaseNetworks(context.Context, *connect.Request[v2.NetworkServiceListBaseNetworksRequest]) (*connect.Response[v2.NetworkServiceListBaseNetworksResponse], error)
- func (UnimplementedNetworkServiceHandler) Update(context.Context, *connect.Request[v2.NetworkServiceUpdateRequest]) (*connect.Response[v2.NetworkServiceUpdateResponse], error)
- type UnimplementedPartitionServiceHandler
- func (UnimplementedPartitionServiceHandler) Get(context.Context, *connect.Request[v2.PartitionServiceGetRequest]) (*connect.Response[v2.PartitionServiceGetResponse], error)
- func (UnimplementedPartitionServiceHandler) List(context.Context, *connect.Request[v2.PartitionServiceListRequest]) (*connect.Response[v2.PartitionServiceListResponse], error)
- type UnimplementedProjectServiceHandler
- func (UnimplementedProjectServiceHandler) Create(context.Context, *connect.Request[v2.ProjectServiceCreateRequest]) (*connect.Response[v2.ProjectServiceCreateResponse], error)
- func (UnimplementedProjectServiceHandler) Delete(context.Context, *connect.Request[v2.ProjectServiceDeleteRequest]) (*connect.Response[v2.ProjectServiceDeleteResponse], error)
- func (UnimplementedProjectServiceHandler) Get(context.Context, *connect.Request[v2.ProjectServiceGetRequest]) (*connect.Response[v2.ProjectServiceGetResponse], error)
- func (UnimplementedProjectServiceHandler) Invite(context.Context, *connect.Request[v2.ProjectServiceInviteRequest]) (*connect.Response[v2.ProjectServiceInviteResponse], error)
- func (UnimplementedProjectServiceHandler) InviteAccept(context.Context, *connect.Request[v2.ProjectServiceInviteAcceptRequest]) (*connect.Response[v2.ProjectServiceInviteAcceptResponse], error)
- func (UnimplementedProjectServiceHandler) InviteDelete(context.Context, *connect.Request[v2.ProjectServiceInviteDeleteRequest]) (*connect.Response[v2.ProjectServiceInviteDeleteResponse], error)
- func (UnimplementedProjectServiceHandler) InviteGet(context.Context, *connect.Request[v2.ProjectServiceInviteGetRequest]) (*connect.Response[v2.ProjectServiceInviteGetResponse], error)
- func (UnimplementedProjectServiceHandler) InvitesList(context.Context, *connect.Request[v2.ProjectServiceInvitesListRequest]) (*connect.Response[v2.ProjectServiceInvitesListResponse], error)
- func (UnimplementedProjectServiceHandler) List(context.Context, *connect.Request[v2.ProjectServiceListRequest]) (*connect.Response[v2.ProjectServiceListResponse], error)
- func (UnimplementedProjectServiceHandler) RemoveMember(context.Context, *connect.Request[v2.ProjectServiceRemoveMemberRequest]) (*connect.Response[v2.ProjectServiceRemoveMemberResponse], error)
- func (UnimplementedProjectServiceHandler) Update(context.Context, *connect.Request[v2.ProjectServiceUpdateRequest]) (*connect.Response[v2.ProjectServiceUpdateResponse], error)
- func (UnimplementedProjectServiceHandler) UpdateMember(context.Context, *connect.Request[v2.ProjectServiceUpdateMemberRequest]) (*connect.Response[v2.ProjectServiceUpdateMemberResponse], error)
- type UnimplementedSizeServiceHandler
- func (UnimplementedSizeServiceHandler) Get(context.Context, *connect.Request[v2.SizeServiceGetRequest]) (*connect.Response[v2.SizeServiceGetResponse], error)
- func (UnimplementedSizeServiceHandler) List(context.Context, *connect.Request[v2.SizeServiceListRequest]) (*connect.Response[v2.SizeServiceListResponse], error)
- type UnimplementedTenantServiceHandler
- func (UnimplementedTenantServiceHandler) Create(context.Context, *connect.Request[v2.TenantServiceCreateRequest]) (*connect.Response[v2.TenantServiceCreateResponse], error)
- func (UnimplementedTenantServiceHandler) Delete(context.Context, *connect.Request[v2.TenantServiceDeleteRequest]) (*connect.Response[v2.TenantServiceDeleteResponse], error)
- func (UnimplementedTenantServiceHandler) Get(context.Context, *connect.Request[v2.TenantServiceGetRequest]) (*connect.Response[v2.TenantServiceGetResponse], error)
- func (UnimplementedTenantServiceHandler) Invite(context.Context, *connect.Request[v2.TenantServiceInviteRequest]) (*connect.Response[v2.TenantServiceInviteResponse], error)
- func (UnimplementedTenantServiceHandler) InviteAccept(context.Context, *connect.Request[v2.TenantServiceInviteAcceptRequest]) (*connect.Response[v2.TenantServiceInviteAcceptResponse], error)
- func (UnimplementedTenantServiceHandler) InviteDelete(context.Context, *connect.Request[v2.TenantServiceInviteDeleteRequest]) (*connect.Response[v2.TenantServiceInviteDeleteResponse], error)
- func (UnimplementedTenantServiceHandler) InviteGet(context.Context, *connect.Request[v2.TenantServiceInviteGetRequest]) (*connect.Response[v2.TenantServiceInviteGetResponse], error)
- func (UnimplementedTenantServiceHandler) InvitesList(context.Context, *connect.Request[v2.TenantServiceInvitesListRequest]) (*connect.Response[v2.TenantServiceInvitesListResponse], error)
- func (UnimplementedTenantServiceHandler) List(context.Context, *connect.Request[v2.TenantServiceListRequest]) (*connect.Response[v2.TenantServiceListResponse], error)
- func (UnimplementedTenantServiceHandler) RemoveMember(context.Context, *connect.Request[v2.TenantServiceRemoveMemberRequest]) (*connect.Response[v2.TenantServiceRemoveMemberResponse], error)
- func (UnimplementedTenantServiceHandler) Update(context.Context, *connect.Request[v2.TenantServiceUpdateRequest]) (*connect.Response[v2.TenantServiceUpdateResponse], error)
- func (UnimplementedTenantServiceHandler) UpdateMember(context.Context, *connect.Request[v2.TenantServiceUpdateMemberRequest]) (*connect.Response[v2.TenantServiceUpdateMemberResponse], error)
- type UnimplementedTokenServiceHandler
- func (UnimplementedTokenServiceHandler) Create(context.Context, *connect.Request[v2.TokenServiceCreateRequest]) (*connect.Response[v2.TokenServiceCreateResponse], error)
- func (UnimplementedTokenServiceHandler) Get(context.Context, *connect.Request[v2.TokenServiceGetRequest]) (*connect.Response[v2.TokenServiceGetResponse], error)
- func (UnimplementedTokenServiceHandler) List(context.Context, *connect.Request[v2.TokenServiceListRequest]) (*connect.Response[v2.TokenServiceListResponse], error)
- func (UnimplementedTokenServiceHandler) Refresh(context.Context, *connect.Request[v2.TokenServiceRefreshRequest]) (*connect.Response[v2.TokenServiceRefreshResponse], error)
- func (UnimplementedTokenServiceHandler) Revoke(context.Context, *connect.Request[v2.TokenServiceRevokeRequest]) (*connect.Response[v2.TokenServiceRevokeResponse], error)
- func (UnimplementedTokenServiceHandler) Update(context.Context, *connect.Request[v2.TokenServiceUpdateRequest]) (*connect.Response[v2.TokenServiceUpdateResponse], error)
- type UnimplementedUserServiceHandler
- type UnimplementedVersionServiceHandler
- type UserServiceClient
- type UserServiceHandler
- type VersionServiceClient
- type VersionServiceHandler
Constants ¶
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
const (
// FilesystemServiceName is the fully-qualified name of the FilesystemService service.
FilesystemServiceName = "metalstack.api.v2.FilesystemService"
)
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.
const (
// HealthServiceName is the fully-qualified name of the HealthService service.
HealthServiceName = "metalstack.api.v2.HealthService"
)
const (
// IPServiceName is the fully-qualified name of the IPService service.
IPServiceName = "metalstack.api.v2.IPService"
)
const (
// ImageServiceName is the fully-qualified name of the ImageService service.
ImageServiceName = "metalstack.api.v2.ImageService"
)
const (
// MachineServiceName is the fully-qualified name of the MachineService service.
MachineServiceName = "metalstack.api.v2.MachineService"
)
const (
// MethodServiceName is the fully-qualified name of the MethodService service.
MethodServiceName = "metalstack.api.v2.MethodService"
)
const (
// NetworkServiceName is the fully-qualified name of the NetworkService service.
NetworkServiceName = "metalstack.api.v2.NetworkService"
)
const (
// PartitionServiceName is the fully-qualified name of the PartitionService service.
PartitionServiceName = "metalstack.api.v2.PartitionService"
)
const (
// ProjectServiceName is the fully-qualified name of the ProjectService service.
ProjectServiceName = "metalstack.api.v2.ProjectService"
)
const (
// SizeServiceName is the fully-qualified name of the SizeService service.
SizeServiceName = "metalstack.api.v2.SizeService"
)
const (
// TenantServiceName is the fully-qualified name of the TenantService service.
TenantServiceName = "metalstack.api.v2.TenantService"
)
const (
// TokenServiceName is the fully-qualified name of the TokenService service.
TokenServiceName = "metalstack.api.v2.TokenService"
)
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.
const (
// UserServiceName is the fully-qualified name of the UserService service.
UserServiceName = "metalstack.api.v2.UserService"
)
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.
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 ¶
type FilesystemServiceClient interface {
// Get a filesystem
Get(context.Context, *connect.Request[v2.FilesystemServiceGetRequest]) (*connect.Response[v2.FilesystemServiceGetResponse], error)
// List all filesystems
List(context.Context, *connect.Request[v2.FilesystemServiceListRequest]) (*connect.Response[v2.FilesystemServiceListResponse], error)
// Try a filesystems
Try(context.Context, *connect.Request[v2.FilesystemServiceTryRequest]) (*connect.Response[v2.FilesystemServiceTryResponse], error)
// Match a filesystems
Match(context.Context, *connect.Request[v2.FilesystemServiceMatchRequest]) (*connect.Response[v2.FilesystemServiceMatchResponse], error)
}
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 ¶
type FilesystemServiceHandler interface {
// Get a filesystem
Get(context.Context, *connect.Request[v2.FilesystemServiceGetRequest]) (*connect.Response[v2.FilesystemServiceGetResponse], error)
// List all filesystems
List(context.Context, *connect.Request[v2.FilesystemServiceListRequest]) (*connect.Response[v2.FilesystemServiceListResponse], error)
// Try a filesystems
Try(context.Context, *connect.Request[v2.FilesystemServiceTryRequest]) (*connect.Response[v2.FilesystemServiceTryResponse], error)
// Match a filesystems
Match(context.Context, *connect.Request[v2.FilesystemServiceMatchRequest]) (*connect.Response[v2.FilesystemServiceMatchResponse], error)
}
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 ¶
type IPServiceClient interface {
// Get a ip
Get(context.Context, *connect.Request[v2.IPServiceGetRequest]) (*connect.Response[v2.IPServiceGetResponse], error)
// Create a ip
Create(context.Context, *connect.Request[v2.IPServiceCreateRequest]) (*connect.Response[v2.IPServiceCreateResponse], error)
// Update a ip
Update(context.Context, *connect.Request[v2.IPServiceUpdateRequest]) (*connect.Response[v2.IPServiceUpdateResponse], error)
// List all ips
List(context.Context, *connect.Request[v2.IPServiceListRequest]) (*connect.Response[v2.IPServiceListResponse], error)
// Delete a ip
Delete(context.Context, *connect.Request[v2.IPServiceDeleteRequest]) (*connect.Response[v2.IPServiceDeleteResponse], error)
}
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 ¶
type IPServiceHandler interface {
// Get a ip
Get(context.Context, *connect.Request[v2.IPServiceGetRequest]) (*connect.Response[v2.IPServiceGetResponse], error)
// Create a ip
Create(context.Context, *connect.Request[v2.IPServiceCreateRequest]) (*connect.Response[v2.IPServiceCreateResponse], error)
// Update a ip
Update(context.Context, *connect.Request[v2.IPServiceUpdateRequest]) (*connect.Response[v2.IPServiceUpdateResponse], error)
// List all ips
List(context.Context, *connect.Request[v2.IPServiceListRequest]) (*connect.Response[v2.IPServiceListResponse], error)
// Delete a ip
Delete(context.Context, *connect.Request[v2.IPServiceDeleteRequest]) (*connect.Response[v2.IPServiceDeleteResponse], error)
}
IPServiceHandler is an implementation of the metalstack.api.v2.IPService service.
type ImageServiceClient ¶
type ImageServiceClient interface {
// Get a image
Get(context.Context, *connect.Request[v2.ImageServiceGetRequest]) (*connect.Response[v2.ImageServiceGetResponse], error)
// List all images
List(context.Context, *connect.Request[v2.ImageServiceListRequest]) (*connect.Response[v2.ImageServiceListResponse], error)
// Latest image for a specific os
Latest(context.Context, *connect.Request[v2.ImageServiceLatestRequest]) (*connect.Response[v2.ImageServiceLatestResponse], error)
}
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 ¶
type ImageServiceHandler interface {
// Get a image
Get(context.Context, *connect.Request[v2.ImageServiceGetRequest]) (*connect.Response[v2.ImageServiceGetResponse], error)
// List all images
List(context.Context, *connect.Request[v2.ImageServiceListRequest]) (*connect.Response[v2.ImageServiceListResponse], error)
// Latest image for a specific os
Latest(context.Context, *connect.Request[v2.ImageServiceLatestRequest]) (*connect.Response[v2.ImageServiceLatestResponse], error)
}
ImageServiceHandler is an implementation of the metalstack.api.v2.ImageService service.
type MachineServiceClient ¶ added in v0.0.9
type MachineServiceClient interface {
// Get a machine
Get(context.Context, *connect.Request[v2.MachineServiceGetRequest]) (*connect.Response[v2.MachineServiceGetResponse], error)
// Create a machine
Create(context.Context, *connect.Request[v2.MachineServiceCreateRequest]) (*connect.Response[v2.MachineServiceCreateResponse], error)
// Update a machine
Update(context.Context, *connect.Request[v2.MachineServiceUpdateRequest]) (*connect.Response[v2.MachineServiceUpdateResponse], error)
// List all machines
List(context.Context, *connect.Request[v2.MachineServiceListRequest]) (*connect.Response[v2.MachineServiceListResponse], error)
// Delete a machine
Delete(context.Context, *connect.Request[v2.MachineServiceDeleteRequest]) (*connect.Response[v2.MachineServiceDeleteResponse], error)
}
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
type MachineServiceHandler interface {
// Get a machine
Get(context.Context, *connect.Request[v2.MachineServiceGetRequest]) (*connect.Response[v2.MachineServiceGetResponse], error)
// Create a machine
Create(context.Context, *connect.Request[v2.MachineServiceCreateRequest]) (*connect.Response[v2.MachineServiceCreateResponse], error)
// Update a machine
Update(context.Context, *connect.Request[v2.MachineServiceUpdateRequest]) (*connect.Response[v2.MachineServiceUpdateResponse], error)
// List all machines
List(context.Context, *connect.Request[v2.MachineServiceListRequest]) (*connect.Response[v2.MachineServiceListResponse], error)
// Delete a machine
Delete(context.Context, *connect.Request[v2.MachineServiceDeleteRequest]) (*connect.Response[v2.MachineServiceDeleteResponse], error)
}
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 ¶
type PartitionServiceClient interface {
// Get a partition
Get(context.Context, *connect.Request[v2.PartitionServiceGetRequest]) (*connect.Response[v2.PartitionServiceGetResponse], error)
// List all partitions
List(context.Context, *connect.Request[v2.PartitionServiceListRequest]) (*connect.Response[v2.PartitionServiceListResponse], error)
}
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 ¶
type PartitionServiceHandler interface {
// Get a partition
Get(context.Context, *connect.Request[v2.PartitionServiceGetRequest]) (*connect.Response[v2.PartitionServiceGetResponse], error)
// List all partitions
List(context.Context, *connect.Request[v2.PartitionServiceListRequest]) (*connect.Response[v2.PartitionServiceListResponse], error)
}
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
type SizeServiceClient interface {
// Get a size
Get(context.Context, *connect.Request[v2.SizeServiceGetRequest]) (*connect.Response[v2.SizeServiceGetResponse], error)
// List all sizes
List(context.Context, *connect.Request[v2.SizeServiceListRequest]) (*connect.Response[v2.SizeServiceListResponse], error)
}
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
type SizeServiceHandler interface {
// Get a size
Get(context.Context, *connect.Request[v2.SizeServiceGetRequest]) (*connect.Response[v2.SizeServiceGetResponse], error)
// List all sizes
List(context.Context, *connect.Request[v2.SizeServiceListRequest]) (*connect.Response[v2.SizeServiceListResponse], error)
}
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.
func (UnimplementedIPServiceHandler) Create ¶
func (UnimplementedIPServiceHandler) Create(context.Context, *connect.Request[v2.IPServiceCreateRequest]) (*connect.Response[v2.IPServiceCreateResponse], error)
func (UnimplementedIPServiceHandler) Delete ¶
func (UnimplementedIPServiceHandler) Delete(context.Context, *connect.Request[v2.IPServiceDeleteRequest]) (*connect.Response[v2.IPServiceDeleteResponse], error)
func (UnimplementedIPServiceHandler) Get ¶
func (UnimplementedIPServiceHandler) Get(context.Context, *connect.Request[v2.IPServiceGetRequest]) (*connect.Response[v2.IPServiceGetResponse], error)
func (UnimplementedIPServiceHandler) List ¶
func (UnimplementedIPServiceHandler) List(context.Context, *connect.Request[v2.IPServiceListRequest]) (*connect.Response[v2.IPServiceListResponse], error)
func (UnimplementedIPServiceHandler) Update ¶
func (UnimplementedIPServiceHandler) Update(context.Context, *connect.Request[v2.IPServiceUpdateRequest]) (*connect.Response[v2.IPServiceUpdateResponse], error)
type UnimplementedImageServiceHandler ¶
type UnimplementedImageServiceHandler struct{}
UnimplementedImageServiceHandler returns CodeUnimplemented from all methods.
func (UnimplementedImageServiceHandler) Latest ¶
func (UnimplementedImageServiceHandler) Latest(context.Context, *connect.Request[v2.ImageServiceLatestRequest]) (*connect.Response[v2.ImageServiceLatestResponse], error)
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.
func (UnimplementedMethodServiceHandler) TokenScopedList ¶
func (UnimplementedMethodServiceHandler) TokenScopedList(context.Context, *connect.Request[v2.MethodServiceTokenScopedListRequest]) (*connect.Response[v2.MethodServiceTokenScopedListResponse], error)
type UnimplementedNetworkServiceHandler ¶
type UnimplementedNetworkServiceHandler struct{}
UnimplementedNetworkServiceHandler returns CodeUnimplemented from all methods.
func (UnimplementedNetworkServiceHandler) ListBaseNetworks ¶
func (UnimplementedNetworkServiceHandler) ListBaseNetworks(context.Context, *connect.Request[v2.NetworkServiceListBaseNetworksRequest]) (*connect.Response[v2.NetworkServiceListBaseNetworksResponse], error)
type UnimplementedPartitionServiceHandler ¶
type UnimplementedPartitionServiceHandler struct{}
UnimplementedPartitionServiceHandler returns CodeUnimplemented from all methods.
type UnimplementedProjectServiceHandler ¶
type UnimplementedProjectServiceHandler struct{}
UnimplementedProjectServiceHandler returns CodeUnimplemented from all methods.
func (UnimplementedProjectServiceHandler) InviteAccept ¶
func (UnimplementedProjectServiceHandler) InviteAccept(context.Context, *connect.Request[v2.ProjectServiceInviteAcceptRequest]) (*connect.Response[v2.ProjectServiceInviteAcceptResponse], error)
func (UnimplementedProjectServiceHandler) InviteDelete ¶
func (UnimplementedProjectServiceHandler) InviteDelete(context.Context, *connect.Request[v2.ProjectServiceInviteDeleteRequest]) (*connect.Response[v2.ProjectServiceInviteDeleteResponse], error)
func (UnimplementedProjectServiceHandler) InviteGet ¶
func (UnimplementedProjectServiceHandler) InviteGet(context.Context, *connect.Request[v2.ProjectServiceInviteGetRequest]) (*connect.Response[v2.ProjectServiceInviteGetResponse], error)
func (UnimplementedProjectServiceHandler) InvitesList ¶
func (UnimplementedProjectServiceHandler) InvitesList(context.Context, *connect.Request[v2.ProjectServiceInvitesListRequest]) (*connect.Response[v2.ProjectServiceInvitesListResponse], error)
func (UnimplementedProjectServiceHandler) RemoveMember ¶
func (UnimplementedProjectServiceHandler) RemoveMember(context.Context, *connect.Request[v2.ProjectServiceRemoveMemberRequest]) (*connect.Response[v2.ProjectServiceRemoveMemberResponse], error)
func (UnimplementedProjectServiceHandler) UpdateMember ¶
func (UnimplementedProjectServiceHandler) UpdateMember(context.Context, *connect.Request[v2.ProjectServiceUpdateMemberRequest]) (*connect.Response[v2.ProjectServiceUpdateMemberResponse], error)
type UnimplementedSizeServiceHandler ¶ added in v0.0.2
type UnimplementedSizeServiceHandler struct{}
UnimplementedSizeServiceHandler returns CodeUnimplemented from all methods.
func (UnimplementedSizeServiceHandler) List ¶ added in v0.0.2
func (UnimplementedSizeServiceHandler) List(context.Context, *connect.Request[v2.SizeServiceListRequest]) (*connect.Response[v2.SizeServiceListResponse], error)
type UnimplementedTenantServiceHandler ¶
type UnimplementedTenantServiceHandler struct{}
UnimplementedTenantServiceHandler returns CodeUnimplemented from all methods.
func (UnimplementedTenantServiceHandler) InviteAccept ¶
func (UnimplementedTenantServiceHandler) InviteAccept(context.Context, *connect.Request[v2.TenantServiceInviteAcceptRequest]) (*connect.Response[v2.TenantServiceInviteAcceptResponse], error)
func (UnimplementedTenantServiceHandler) InviteDelete ¶
func (UnimplementedTenantServiceHandler) InviteDelete(context.Context, *connect.Request[v2.TenantServiceInviteDeleteRequest]) (*connect.Response[v2.TenantServiceInviteDeleteResponse], error)
func (UnimplementedTenantServiceHandler) InviteGet ¶
func (UnimplementedTenantServiceHandler) InviteGet(context.Context, *connect.Request[v2.TenantServiceInviteGetRequest]) (*connect.Response[v2.TenantServiceInviteGetResponse], error)
func (UnimplementedTenantServiceHandler) InvitesList ¶
func (UnimplementedTenantServiceHandler) InvitesList(context.Context, *connect.Request[v2.TenantServiceInvitesListRequest]) (*connect.Response[v2.TenantServiceInvitesListResponse], error)
func (UnimplementedTenantServiceHandler) RemoveMember ¶
func (UnimplementedTenantServiceHandler) RemoveMember(context.Context, *connect.Request[v2.TenantServiceRemoveMemberRequest]) (*connect.Response[v2.TenantServiceRemoveMemberResponse], error)
func (UnimplementedTenantServiceHandler) UpdateMember ¶
func (UnimplementedTenantServiceHandler) UpdateMember(context.Context, *connect.Request[v2.TenantServiceUpdateMemberRequest]) (*connect.Response[v2.TenantServiceUpdateMemberResponse], error)
type UnimplementedTokenServiceHandler ¶
type UnimplementedTokenServiceHandler struct{}
UnimplementedTokenServiceHandler returns CodeUnimplemented from all methods.
func (UnimplementedTokenServiceHandler) Create ¶
func (UnimplementedTokenServiceHandler) Create(context.Context, *connect.Request[v2.TokenServiceCreateRequest]) (*connect.Response[v2.TokenServiceCreateResponse], error)
func (UnimplementedTokenServiceHandler) Refresh ¶ added in v0.0.4
func (UnimplementedTokenServiceHandler) Refresh(context.Context, *connect.Request[v2.TokenServiceRefreshRequest]) (*connect.Response[v2.TokenServiceRefreshResponse], error)
func (UnimplementedTokenServiceHandler) Revoke ¶
func (UnimplementedTokenServiceHandler) Revoke(context.Context, *connect.Request[v2.TokenServiceRevokeRequest]) (*connect.Response[v2.TokenServiceRevokeResponse], error)
func (UnimplementedTokenServiceHandler) Update ¶
func (UnimplementedTokenServiceHandler) Update(context.Context, *connect.Request[v2.TokenServiceUpdateRequest]) (*connect.Response[v2.TokenServiceUpdateResponse], error)
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.