Documentation ¶
Index ¶
- Variables
- func RegisterPorterServer(s grpc.ServiceRegistrar, srv PorterServer)
- type PorterClient
- type PorterServer
- type UnimplementedPorterServer
- func (UnimplementedPorterServer) ListInstallationLatestOutputs(context.Context, *v1alpha1.ListInstallationLatestOutputRequest) (*v1alpha1.ListInstallationLatestOutputResponse, error)
- func (UnimplementedPorterServer) ListInstallations(context.Context, *v1alpha1.ListInstallationsRequest) (*v1alpha1.ListInstallationsResponse, error)
- type UnsafePorterServer
Constants ¶
This section is empty.
Variables ¶
var File_porter_v1alpha1_porter_proto protoreflect.FileDescriptor
var Porter_ServiceDesc = grpc.ServiceDesc{ ServiceName: "porter.v1alpha1.Porter", HandlerType: (*PorterServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "ListInstallations", Handler: _Porter_ListInstallations_Handler, }, { MethodName: "ListInstallationLatestOutputs", Handler: _Porter_ListInstallationLatestOutputs_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "porter/v1alpha1/porter.proto", }
Porter_ServiceDesc is the grpc.ServiceDesc for Porter service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterPorterServer ¶
func RegisterPorterServer(s grpc.ServiceRegistrar, srv PorterServer)
Types ¶
type PorterClient ¶
type PorterClient interface { // Returns a list of all installations ListInstallations(ctx context.Context, in *v1alpha1.ListInstallationsRequest, opts ...grpc.CallOption) (*v1alpha1.ListInstallationsResponse, error) // Returns a list of all outputs for the latest installation run ListInstallationLatestOutputs(ctx context.Context, in *v1alpha1.ListInstallationLatestOutputRequest, opts ...grpc.CallOption) (*v1alpha1.ListInstallationLatestOutputResponse, error) }
PorterClient is the client API for Porter service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewPorterClient ¶
func NewPorterClient(cc grpc.ClientConnInterface) PorterClient
type PorterServer ¶
type PorterServer interface { // Returns a list of all installations ListInstallations(context.Context, *v1alpha1.ListInstallationsRequest) (*v1alpha1.ListInstallationsResponse, error) // Returns a list of all outputs for the latest installation run ListInstallationLatestOutputs(context.Context, *v1alpha1.ListInstallationLatestOutputRequest) (*v1alpha1.ListInstallationLatestOutputResponse, error) // contains filtered or unexported methods }
PorterServer is the server API for Porter service. All implementations must embed UnimplementedPorterServer for forward compatibility
type UnimplementedPorterServer ¶
type UnimplementedPorterServer struct { }
UnimplementedPorterServer must be embedded to have forward compatible implementations.
func (UnimplementedPorterServer) ListInstallationLatestOutputs ¶
func (UnimplementedPorterServer) ListInstallationLatestOutputs(context.Context, *v1alpha1.ListInstallationLatestOutputRequest) (*v1alpha1.ListInstallationLatestOutputResponse, error)
func (UnimplementedPorterServer) ListInstallations ¶
func (UnimplementedPorterServer) ListInstallations(context.Context, *v1alpha1.ListInstallationsRequest) (*v1alpha1.ListInstallationsResponse, error)
type UnsafePorterServer ¶
type UnsafePorterServer interface {
// contains filtered or unexported methods
}
UnsafePorterServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to PorterServer will result in compilation errors.