Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterConfigurationProjectServer(s grpc.ServiceRegistrar, srv ConfigurationProjectServer)
- type AgentConfigFile
- func (*AgentConfigFile) Descriptor() ([]byte, []int)deprecated
- func (x *AgentConfigFile) GetAgentName() string
- func (x *AgentConfigFile) GetName() string
- func (*AgentConfigFile) ProtoMessage()
- func (x *AgentConfigFile) ProtoReflect() protoreflect.Message
- func (x *AgentConfigFile) Reset()
- func (x *AgentConfigFile) String() string
- type ConfigurationProjectClient
- type ConfigurationProjectServer
- type ListAgentConfigFilesRequest
- func (*ListAgentConfigFilesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListAgentConfigFilesRequest) GetDefaultBranch() string
- func (x *ListAgentConfigFilesRequest) GetGitalyInfo() *entity.GitalyInfo
- func (x *ListAgentConfigFilesRequest) GetRepository() *entity.GitalyRepository
- func (*ListAgentConfigFilesRequest) ProtoMessage()
- func (x *ListAgentConfigFilesRequest) ProtoReflect() protoreflect.Message
- func (x *ListAgentConfigFilesRequest) Reset()
- func (x *ListAgentConfigFilesRequest) String() string
- type ListAgentConfigFilesResponse
- func (*ListAgentConfigFilesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListAgentConfigFilesResponse) GetConfigFiles() []*AgentConfigFile
- func (*ListAgentConfigFilesResponse) ProtoMessage()
- func (x *ListAgentConfigFilesResponse) ProtoReflect() protoreflect.Message
- func (x *ListAgentConfigFilesResponse) Reset()
- func (x *ListAgentConfigFilesResponse) String() string
- type UnimplementedConfigurationProjectServer
- type UnsafeConfigurationProjectServer
Constants ¶
const (
ConfigurationProject_ListAgentConfigFiles_FullMethodName = "/gitlab.agent.configuration_project.rpc.ConfigurationProject/ListAgentConfigFiles"
)
Variables ¶
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)
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.
func NewConfigurationProjectClient ¶
func NewConfigurationProjectClient(cc grpc.ClientConnInterface) ConfigurationProjectClient
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 (x *ListAgentConfigFilesRequest) GetRepository() *entity.GitalyRepository
func (*ListAgentConfigFilesRequest) ProtoMessage ¶
func (*ListAgentConfigFilesRequest) ProtoMessage()
func (*ListAgentConfigFilesRequest) ProtoReflect ¶
func (x *ListAgentConfigFilesRequest) ProtoReflect() protoreflect.Message
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 (x *ListAgentConfigFilesResponse) ProtoReflect() protoreflect.Message
func (*ListAgentConfigFilesResponse) Reset ¶
func (x *ListAgentConfigFilesResponse) Reset()
func (*ListAgentConfigFilesResponse) String ¶
func (x *ListAgentConfigFilesResponse) String() 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 ¶
func (UnimplementedConfigurationProjectServer) ListAgentConfigFiles(context.Context, *ListAgentConfigFilesRequest) (*ListAgentConfigFilesResponse, error)
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.