rpc

package
v17.3.0-rc42 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ConfigurationProject_ListAgentConfigFiles_FullMethodName = "/gitlab.agent.configuration_project.rpc.ConfigurationProject/ListAgentConfigFiles"
)

Variables

View Source
var ConfigurationProject_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "gitlab.agent.configuration_project.rpc.ConfigurationProject",
	HandlerType: (*ConfigurationProjectServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ListAgentConfigFiles",
			Handler:    _ConfigurationProject_ListAgentConfigFiles_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "internal/module/configuration_project/rpc/rpc.proto",
}

ConfigurationProject_ServiceDesc is the grpc.ServiceDesc for ConfigurationProject 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 File_internal_module_configuration_project_rpc_rpc_proto protoreflect.FileDescriptor

Functions

func RegisterConfigurationProjectServer

func RegisterConfigurationProjectServer(s grpc.ServiceRegistrar, srv ConfigurationProjectServer)

Types

type AgentConfigFile

type AgentConfigFile struct {
	Name      string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	AgentName string `protobuf:"bytes,2,opt,name=agent_name,proto3" json:"agent_name,omitempty"`
	// contains filtered or unexported fields
}

func (*AgentConfigFile) Descriptor deprecated

func (*AgentConfigFile) Descriptor() ([]byte, []int)

Deprecated: Use AgentConfigFile.ProtoReflect.Descriptor instead.

func (*AgentConfigFile) GetAgentName

func (x *AgentConfigFile) GetAgentName() string

func (*AgentConfigFile) GetName

func (x *AgentConfigFile) GetName() string

func (*AgentConfigFile) ProtoMessage

func (*AgentConfigFile) ProtoMessage()

func (*AgentConfigFile) ProtoReflect

func (x *AgentConfigFile) ProtoReflect() protoreflect.Message

func (*AgentConfigFile) Reset

func (x *AgentConfigFile) Reset()

func (*AgentConfigFile) String

func (x *AgentConfigFile) String() string

type ConfigurationProjectClient

type ConfigurationProjectClient interface {
	ListAgentConfigFiles(ctx context.Context, in *ListAgentConfigFilesRequest, opts ...grpc.CallOption) (*ListAgentConfigFilesResponse, error)
}

ConfigurationProjectClient is the client API for ConfigurationProject 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.

type ConfigurationProjectServer

type ConfigurationProjectServer interface {
	ListAgentConfigFiles(context.Context, *ListAgentConfigFilesRequest) (*ListAgentConfigFilesResponse, error)
	// contains filtered or unexported methods
}

ConfigurationProjectServer is the server API for ConfigurationProject service. All implementations must embed UnimplementedConfigurationProjectServer for forward compatibility.

type ListAgentConfigFilesRequest

type ListAgentConfigFilesRequest struct {
	Repository    *entity.GitalyRepository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
	GitalyInfo    *entity.GitalyInfo       `protobuf:"bytes,2,opt,name=gitaly_info,json=gitalyInfo,proto3" json:"gitaly_info,omitempty"`
	DefaultBranch string                   `protobuf:"bytes,3,opt,name=default_branch,json=defaultBranch,proto3" json:"default_branch,omitempty"`
	// contains filtered or unexported fields
}

func (*ListAgentConfigFilesRequest) Descriptor deprecated

func (*ListAgentConfigFilesRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListAgentConfigFilesRequest.ProtoReflect.Descriptor instead.

func (*ListAgentConfigFilesRequest) GetDefaultBranch

func (x *ListAgentConfigFilesRequest) GetDefaultBranch() string

func (*ListAgentConfigFilesRequest) GetGitalyInfo

func (x *ListAgentConfigFilesRequest) GetGitalyInfo() *entity.GitalyInfo

func (*ListAgentConfigFilesRequest) GetRepository

func (*ListAgentConfigFilesRequest) ProtoMessage

func (*ListAgentConfigFilesRequest) ProtoMessage()

func (*ListAgentConfigFilesRequest) ProtoReflect

func (*ListAgentConfigFilesRequest) Reset

func (x *ListAgentConfigFilesRequest) Reset()

func (*ListAgentConfigFilesRequest) String

func (x *ListAgentConfigFilesRequest) String() string

type ListAgentConfigFilesResponse

type ListAgentConfigFilesResponse struct {
	ConfigFiles []*AgentConfigFile `protobuf:"bytes,1,rep,name=config_files,proto3" json:"config_files,omitempty"`
	// contains filtered or unexported fields
}

func (*ListAgentConfigFilesResponse) Descriptor deprecated

func (*ListAgentConfigFilesResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListAgentConfigFilesResponse.ProtoReflect.Descriptor instead.

func (*ListAgentConfigFilesResponse) GetConfigFiles

func (x *ListAgentConfigFilesResponse) GetConfigFiles() []*AgentConfigFile

func (*ListAgentConfigFilesResponse) ProtoMessage

func (*ListAgentConfigFilesResponse) ProtoMessage()

func (*ListAgentConfigFilesResponse) ProtoReflect

func (*ListAgentConfigFilesResponse) Reset

func (x *ListAgentConfigFilesResponse) Reset()

func (*ListAgentConfigFilesResponse) String

type UnimplementedConfigurationProjectServer

type UnimplementedConfigurationProjectServer struct{}

UnimplementedConfigurationProjectServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedConfigurationProjectServer) ListAgentConfigFiles

type UnsafeConfigurationProjectServer

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

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

Jump to

Keyboard shortcuts

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