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
- func (m *AgentConfigFile) Validate() error
- func (m *AgentConfigFile) ValidateAll() error
- type AgentConfigFileMultiError
- type AgentConfigFileValidationError
- func (e AgentConfigFileValidationError) Cause() error
- func (e AgentConfigFileValidationError) Error() string
- func (e AgentConfigFileValidationError) ErrorName() string
- func (e AgentConfigFileValidationError) Field() string
- func (e AgentConfigFileValidationError) Key() bool
- func (e AgentConfigFileValidationError) Reason() 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
- func (m *ListAgentConfigFilesRequest) Validate() error
- func (m *ListAgentConfigFilesRequest) ValidateAll() error
- type ListAgentConfigFilesRequestMultiError
- type ListAgentConfigFilesRequestValidationError
- func (e ListAgentConfigFilesRequestValidationError) Cause() error
- func (e ListAgentConfigFilesRequestValidationError) Error() string
- func (e ListAgentConfigFilesRequestValidationError) ErrorName() string
- func (e ListAgentConfigFilesRequestValidationError) Field() string
- func (e ListAgentConfigFilesRequestValidationError) Key() bool
- func (e ListAgentConfigFilesRequestValidationError) Reason() 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
- func (m *ListAgentConfigFilesResponse) Validate() error
- func (m *ListAgentConfigFilesResponse) ValidateAll() error
- type ListAgentConfigFilesResponseMultiError
- type ListAgentConfigFilesResponseValidationError
- func (e ListAgentConfigFilesResponseValidationError) Cause() error
- func (e ListAgentConfigFilesResponseValidationError) Error() string
- func (e ListAgentConfigFilesResponseValidationError) ErrorName() string
- func (e ListAgentConfigFilesResponseValidationError) Field() string
- func (e ListAgentConfigFilesResponseValidationError) Key() bool
- func (e ListAgentConfigFilesResponseValidationError) Reason() 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
func (*AgentConfigFile) Validate ¶
func (m *AgentConfigFile) Validate() error
Validate checks the field values on AgentConfigFile with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*AgentConfigFile) ValidateAll ¶
func (m *AgentConfigFile) ValidateAll() error
ValidateAll checks the field values on AgentConfigFile with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AgentConfigFileMultiError, or nil if none found.
type AgentConfigFileMultiError ¶
type AgentConfigFileMultiError []error
AgentConfigFileMultiError is an error wrapping multiple validation errors returned by AgentConfigFile.ValidateAll() if the designated constraints aren't met.
func (AgentConfigFileMultiError) AllErrors ¶
func (m AgentConfigFileMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AgentConfigFileMultiError) Error ¶
func (m AgentConfigFileMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AgentConfigFileValidationError ¶
type AgentConfigFileValidationError struct {
// contains filtered or unexported fields
}
AgentConfigFileValidationError is the validation error returned by AgentConfigFile.Validate if the designated constraints aren't met.
func (AgentConfigFileValidationError) Cause ¶
func (e AgentConfigFileValidationError) Cause() error
Cause function returns cause value.
func (AgentConfigFileValidationError) Error ¶
func (e AgentConfigFileValidationError) Error() string
Error satisfies the builtin error interface
func (AgentConfigFileValidationError) ErrorName ¶
func (e AgentConfigFileValidationError) ErrorName() string
ErrorName returns error name.
func (AgentConfigFileValidationError) Field ¶
func (e AgentConfigFileValidationError) Field() string
Field function returns field value.
func (AgentConfigFileValidationError) Key ¶
func (e AgentConfigFileValidationError) Key() bool
Key function returns key value.
func (AgentConfigFileValidationError) Reason ¶
func (e AgentConfigFileValidationError) Reason() string
Reason function returns reason value.
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
func (*ListAgentConfigFilesRequest) Validate ¶
func (m *ListAgentConfigFilesRequest) Validate() error
Validate checks the field values on ListAgentConfigFilesRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ListAgentConfigFilesRequest) ValidateAll ¶
func (m *ListAgentConfigFilesRequest) ValidateAll() error
ValidateAll checks the field values on ListAgentConfigFilesRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListAgentConfigFilesRequestMultiError, or nil if none found.
type ListAgentConfigFilesRequestMultiError ¶
type ListAgentConfigFilesRequestMultiError []error
ListAgentConfigFilesRequestMultiError is an error wrapping multiple validation errors returned by ListAgentConfigFilesRequest.ValidateAll() if the designated constraints aren't met.
func (ListAgentConfigFilesRequestMultiError) AllErrors ¶
func (m ListAgentConfigFilesRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListAgentConfigFilesRequestMultiError) Error ¶
func (m ListAgentConfigFilesRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListAgentConfigFilesRequestValidationError ¶
type ListAgentConfigFilesRequestValidationError struct {
// contains filtered or unexported fields
}
ListAgentConfigFilesRequestValidationError is the validation error returned by ListAgentConfigFilesRequest.Validate if the designated constraints aren't met.
func (ListAgentConfigFilesRequestValidationError) Cause ¶
func (e ListAgentConfigFilesRequestValidationError) Cause() error
Cause function returns cause value.
func (ListAgentConfigFilesRequestValidationError) Error ¶
func (e ListAgentConfigFilesRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ListAgentConfigFilesRequestValidationError) ErrorName ¶
func (e ListAgentConfigFilesRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ListAgentConfigFilesRequestValidationError) Field ¶
func (e ListAgentConfigFilesRequestValidationError) Field() string
Field function returns field value.
func (ListAgentConfigFilesRequestValidationError) Key ¶
func (e ListAgentConfigFilesRequestValidationError) Key() bool
Key function returns key value.
func (ListAgentConfigFilesRequestValidationError) Reason ¶
func (e ListAgentConfigFilesRequestValidationError) Reason() string
Reason function returns reason value.
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
func (*ListAgentConfigFilesResponse) Validate ¶
func (m *ListAgentConfigFilesResponse) Validate() error
Validate checks the field values on ListAgentConfigFilesResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ListAgentConfigFilesResponse) ValidateAll ¶
func (m *ListAgentConfigFilesResponse) ValidateAll() error
ValidateAll checks the field values on ListAgentConfigFilesResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListAgentConfigFilesResponseMultiError, or nil if none found.
type ListAgentConfigFilesResponseMultiError ¶
type ListAgentConfigFilesResponseMultiError []error
ListAgentConfigFilesResponseMultiError is an error wrapping multiple validation errors returned by ListAgentConfigFilesResponse.ValidateAll() if the designated constraints aren't met.
func (ListAgentConfigFilesResponseMultiError) AllErrors ¶
func (m ListAgentConfigFilesResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListAgentConfigFilesResponseMultiError) Error ¶
func (m ListAgentConfigFilesResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListAgentConfigFilesResponseValidationError ¶
type ListAgentConfigFilesResponseValidationError struct {
// contains filtered or unexported fields
}
ListAgentConfigFilesResponseValidationError is the validation error returned by ListAgentConfigFilesResponse.Validate if the designated constraints aren't met.
func (ListAgentConfigFilesResponseValidationError) Cause ¶
func (e ListAgentConfigFilesResponseValidationError) Cause() error
Cause function returns cause value.
func (ListAgentConfigFilesResponseValidationError) Error ¶
func (e ListAgentConfigFilesResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ListAgentConfigFilesResponseValidationError) ErrorName ¶
func (e ListAgentConfigFilesResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ListAgentConfigFilesResponseValidationError) Field ¶
func (e ListAgentConfigFilesResponseValidationError) Field() string
Field function returns field value.
func (ListAgentConfigFilesResponseValidationError) Key ¶
func (e ListAgentConfigFilesResponseValidationError) Key() bool
Key function returns key value.
func (ListAgentConfigFilesResponseValidationError) Reason ¶
func (e ListAgentConfigFilesResponseValidationError) Reason() string
Reason function returns reason value.
type UnimplementedConfigurationProjectServer ¶
type UnimplementedConfigurationProjectServer struct { }
UnimplementedConfigurationProjectServer must be embedded to have forward compatible implementations.
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.