deploymentsv1alpha1grpc

package
v1.3.0-20230531113704-... Latest Latest
Warning

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

Go to latest
Published: unknown License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	GitService_Ping_FullMethodName             = "/nuntio.deployments.v1alpha1.GitService/Ping"
	GitService_Search_FullMethodName           = "/nuntio.deployments.v1alpha1.GitService/Search"
	GitService_Repositories_FullMethodName     = "/nuntio.deployments.v1alpha1.GitService/Repositories"
	GitService_Templates_FullMethodName        = "/nuntio.deployments.v1alpha1.GitService/Templates"
	GitService_Organizations_FullMethodName    = "/nuntio.deployments.v1alpha1.GitService/Organizations"
	GitService_CreateRepository_FullMethodName = "/nuntio.deployments.v1alpha1.GitService/CreateRepository"
)
View Source
const (
	DeploymentsService_Ping_FullMethodName   = "/nuntio.deployments.v1alpha1.DeploymentsService/Ping"
	DeploymentsService_Create_FullMethodName = "/nuntio.deployments.v1alpha1.DeploymentsService/Create"
)

Variables

View Source
var DeploymentsService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "nuntio.deployments.v1alpha1.DeploymentsService",
	HandlerType: (*DeploymentsServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Ping",
			Handler:    _DeploymentsService_Ping_Handler,
		},
		{
			MethodName: "Create",
			Handler:    _DeploymentsService_Create_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "nuntio/deployments/v1alpha1/deployments.proto",
}

DeploymentsService_ServiceDesc is the grpc.ServiceDesc for DeploymentsService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var GitService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "nuntio.deployments.v1alpha1.GitService",
	HandlerType: (*GitServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Ping",
			Handler:    _GitService_Ping_Handler,
		},
		{
			MethodName: "Search",
			Handler:    _GitService_Search_Handler,
		},
		{
			MethodName: "Repositories",
			Handler:    _GitService_Repositories_Handler,
		},
		{
			MethodName: "Templates",
			Handler:    _GitService_Templates_Handler,
		},
		{
			MethodName: "Organizations",
			Handler:    _GitService_Organizations_Handler,
		},
		{
			MethodName: "CreateRepository",
			Handler:    _GitService_CreateRepository_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "nuntio/deployments/v1alpha1/deployments_git.proto",
}

GitService_ServiceDesc is the grpc.ServiceDesc for GitService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterDeploymentsServiceServer

func RegisterDeploymentsServiceServer(s grpc.ServiceRegistrar, srv DeploymentsServiceServer)

func RegisterGitServiceServer

func RegisterGitServiceServer(s grpc.ServiceRegistrar, srv GitServiceServer)

Types

type DeploymentsServiceClient

type DeploymentsServiceClient interface {
	// Ping returns an empty response used to check if the server is live
	Ping(ctx context.Context, in *v1alpha1.DeploymentsServicePingRequest, opts ...grpc.CallOption) (*v1alpha1.DeploymentsServicePingResponse, error)
	// Creates a template in Git
	Create(ctx context.Context, in *v1alpha1.DeploymentsServiceCreateRequest, opts ...grpc.CallOption) (*v1alpha1.DeploymentsServiceCreateResponse, error)
}

DeploymentsServiceClient is the client API for DeploymentsService 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 NewDeploymentsServiceClient

func NewDeploymentsServiceClient(cc grpc.ClientConnInterface) DeploymentsServiceClient

type DeploymentsServiceServer

type DeploymentsServiceServer interface {
	// Ping returns an empty response used to check if the server is live
	Ping(context.Context, *v1alpha1.DeploymentsServicePingRequest) (*v1alpha1.DeploymentsServicePingResponse, error)
	// Creates a template in Git
	Create(context.Context, *v1alpha1.DeploymentsServiceCreateRequest) (*v1alpha1.DeploymentsServiceCreateResponse, error)
}

DeploymentsServiceServer is the server API for DeploymentsService service. All implementations should embed UnimplementedDeploymentsServiceServer for forward compatibility

type GitServiceClient

type GitServiceClient interface {
	// Ping returns an empty response used to check if the server is live
	Ping(ctx context.Context, in *v1alpha1.GitServicePingRequest, opts ...grpc.CallOption) (*v1alpha1.GitServicePingResponse, error)
	// Search repositories in Git
	Search(ctx context.Context, in *v1alpha1.GitServiceSearchRequest, opts ...grpc.CallOption) (*v1alpha1.GitServiceSearchResponse, error)
	// Lists repositories in Git
	Repositories(ctx context.Context, in *v1alpha1.GitServiceRepositoriesRequest, opts ...grpc.CallOption) (*v1alpha1.GitServiceRepositoriesResponse, error)
	// Lists templates in Git
	Templates(ctx context.Context, in *v1alpha1.GitServiceTemplatesRequest, opts ...grpc.CallOption) (*v1alpha1.GitServiceTemplatesResponse, error)
	// Lists organizations (user + organizations) in Git
	Organizations(ctx context.Context, in *v1alpha1.GitServiceOrganizationsRequest, opts ...grpc.CallOption) (*v1alpha1.GitServiceOrganizationsResponse, error)
	// Creates a repository in Git
	CreateRepository(ctx context.Context, in *v1alpha1.GitServiceCreateRepositoryRequest, opts ...grpc.CallOption) (*v1alpha1.GitServiceCreateRepositoryResponse, error)
}

GitServiceClient is the client API for GitService 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 NewGitServiceClient

func NewGitServiceClient(cc grpc.ClientConnInterface) GitServiceClient

type GitServiceServer

type GitServiceServer interface {
	// Ping returns an empty response used to check if the server is live
	Ping(context.Context, *v1alpha1.GitServicePingRequest) (*v1alpha1.GitServicePingResponse, error)
	// Search repositories in Git
	Search(context.Context, *v1alpha1.GitServiceSearchRequest) (*v1alpha1.GitServiceSearchResponse, error)
	// Lists repositories in Git
	Repositories(context.Context, *v1alpha1.GitServiceRepositoriesRequest) (*v1alpha1.GitServiceRepositoriesResponse, error)
	// Lists templates in Git
	Templates(context.Context, *v1alpha1.GitServiceTemplatesRequest) (*v1alpha1.GitServiceTemplatesResponse, error)
	// Lists organizations (user + organizations) in Git
	Organizations(context.Context, *v1alpha1.GitServiceOrganizationsRequest) (*v1alpha1.GitServiceOrganizationsResponse, error)
	// Creates a repository in Git
	CreateRepository(context.Context, *v1alpha1.GitServiceCreateRepositoryRequest) (*v1alpha1.GitServiceCreateRepositoryResponse, error)
}

GitServiceServer is the server API for GitService service. All implementations should embed UnimplementedGitServiceServer for forward compatibility

type UnimplementedDeploymentsServiceServer

type UnimplementedDeploymentsServiceServer struct {
}

UnimplementedDeploymentsServiceServer should be embedded to have forward compatible implementations.

type UnimplementedGitServiceServer

type UnimplementedGitServiceServer struct {
}

UnimplementedGitServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedGitServiceServer) CreateRepository

func (UnimplementedGitServiceServer) Organizations

func (UnimplementedGitServiceServer) Repositories

func (UnimplementedGitServiceServer) Templates

type UnsafeDeploymentsServiceServer

type UnsafeDeploymentsServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeDeploymentsServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to DeploymentsServiceServer will result in compilation errors.

type UnsafeGitServiceServer

type UnsafeGitServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeGitServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to GitServiceServer will result in compilation errors.

Jump to

Keyboard shortcuts

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