porterv1alpha1

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2024 License: Apache-2.0 Imports: 8 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_porter_v1alpha1_porter_proto protoreflect.FileDescriptor
View Source
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.

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.

Jump to

Keyboard shortcuts

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