rpc

package
v14.4.0 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2021 License: MIT Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

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

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, an error is returned.

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

Cause function returns cause value.

func (AgentConfigFileValidationError) Error

Error satisfies the builtin error interface

func (AgentConfigFileValidationError) ErrorName

func (e AgentConfigFileValidationError) ErrorName() string

ErrorName returns error name.

func (AgentConfigFileValidationError) Field

Field function returns field value.

func (AgentConfigFileValidationError) Key

Key function returns key value.

func (AgentConfigFileValidationError) Reason

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.

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    *modserver.Repository    `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
	GitalyAddress *modserver.GitalyAddress `protobuf:"bytes,2,opt,name=gitaly_address,json=gitalyAddress,proto3" json:"gitaly_address,omitempty"`
	// contains filtered or unexported fields
}

func (*ListAgentConfigFilesRequest) Descriptor deprecated

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

Deprecated: Use ListAgentConfigFilesRequest.ProtoReflect.Descriptor instead.

func (*ListAgentConfigFilesRequest) GetGitalyAddress

func (x *ListAgentConfigFilesRequest) GetGitalyAddress() *modserver.GitalyAddress

func (*ListAgentConfigFilesRequest) GetRepository

func (x *ListAgentConfigFilesRequest) GetRepository() *modserver.Repository

func (*ListAgentConfigFilesRequest) ProtoMessage

func (*ListAgentConfigFilesRequest) ProtoMessage()

func (*ListAgentConfigFilesRequest) ProtoReflect

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, an error is returned.

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

Cause function returns cause value.

func (ListAgentConfigFilesRequestValidationError) Error

Error satisfies the builtin error interface

func (ListAgentConfigFilesRequestValidationError) ErrorName

ErrorName returns error name.

func (ListAgentConfigFilesRequestValidationError) Field

Field function returns field value.

func (ListAgentConfigFilesRequestValidationError) Key

Key function returns key value.

func (ListAgentConfigFilesRequestValidationError) Reason

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 (*ListAgentConfigFilesResponse) Reset

func (x *ListAgentConfigFilesResponse) Reset()

func (*ListAgentConfigFilesResponse) 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, an error is returned.

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

Cause function returns cause value.

func (ListAgentConfigFilesResponseValidationError) Error

Error satisfies the builtin error interface

func (ListAgentConfigFilesResponseValidationError) ErrorName

ErrorName returns error name.

func (ListAgentConfigFilesResponseValidationError) Field

Field function returns field value.

func (ListAgentConfigFilesResponseValidationError) Key

Key function returns key value.

func (ListAgentConfigFilesResponseValidationError) Reason

Reason function returns reason value.

type UnimplementedConfigurationProjectServer

type UnimplementedConfigurationProjectServer struct {
}

UnimplementedConfigurationProjectServer must be embedded to have forward compatible implementations.

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