exploits

package
v2.4.2 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_exploits_api_proto protoreflect.FileDescriptor
View Source
var Service_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "exploits.Service",
	HandlerType: (*ServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Ping",
			Handler:    _Service_Ping_Handler,
		},
		{
			MethodName: "Exploit",
			Handler:    _Service_Exploit_Handler,
		},
		{
			MethodName: "UpdateExploit",
			Handler:    _Service_UpdateExploit_Handler,
		},
		{
			MethodName: "BroadcastCommand",
			Handler:    _Service_BroadcastCommand_Handler,
		},
		{
			MethodName: "SingleRun",
			Handler:    _Service_SingleRun_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "BroadcastSubscribe",
			Handler:       _Service_BroadcastSubscribe_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "SingleRunSubscribe",
			Handler:       _Service_SingleRunSubscribe_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "exploits/api.proto",
}

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

Functions

func RegisterServiceServer

func RegisterServiceServer(s grpc.ServiceRegistrar, srv ServiceServer)

Types

type BroadcastRequest

type BroadcastRequest struct {
	Command string `protobuf:"bytes,1,opt,name=command,proto3" json:"command,omitempty"`
	// contains filtered or unexported fields
}

func (*BroadcastRequest) Descriptor deprecated

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

Deprecated: Use BroadcastRequest.ProtoReflect.Descriptor instead.

func (*BroadcastRequest) GetCommand

func (x *BroadcastRequest) GetCommand() string

func (*BroadcastRequest) ProtoMessage

func (*BroadcastRequest) ProtoMessage()

func (*BroadcastRequest) ProtoReflect

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

func (*BroadcastRequest) Reset

func (x *BroadcastRequest) Reset()

func (*BroadcastRequest) String

func (x *BroadcastRequest) String() string

type BroadcastResponse

type BroadcastResponse struct {
	// contains filtered or unexported fields
}

func (*BroadcastResponse) Descriptor deprecated

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

Deprecated: Use BroadcastResponse.ProtoReflect.Descriptor instead.

func (*BroadcastResponse) ProtoMessage

func (*BroadcastResponse) ProtoMessage()

func (*BroadcastResponse) ProtoReflect

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

func (*BroadcastResponse) Reset

func (x *BroadcastResponse) Reset()

func (*BroadcastResponse) String

func (x *BroadcastResponse) String() string

type BroadcastSubscribeRequest

type BroadcastSubscribeRequest struct {
	// contains filtered or unexported fields
}

func (*BroadcastSubscribeRequest) Descriptor deprecated

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

Deprecated: Use BroadcastSubscribeRequest.ProtoReflect.Descriptor instead.

func (*BroadcastSubscribeRequest) ProtoMessage

func (*BroadcastSubscribeRequest) ProtoMessage()

func (*BroadcastSubscribeRequest) ProtoReflect

func (*BroadcastSubscribeRequest) Reset

func (x *BroadcastSubscribeRequest) Reset()

func (*BroadcastSubscribeRequest) String

func (x *BroadcastSubscribeRequest) String() string

type BroadcastSubscribeResponse

type BroadcastSubscribeResponse struct {
	Command string `protobuf:"bytes,1,opt,name=command,proto3" json:"command,omitempty"`
	// contains filtered or unexported fields
}

func (*BroadcastSubscribeResponse) Descriptor deprecated

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

Deprecated: Use BroadcastSubscribeResponse.ProtoReflect.Descriptor instead.

func (*BroadcastSubscribeResponse) GetCommand

func (x *BroadcastSubscribeResponse) GetCommand() string

func (*BroadcastSubscribeResponse) ProtoMessage

func (*BroadcastSubscribeResponse) ProtoMessage()

func (*BroadcastSubscribeResponse) ProtoReflect

func (*BroadcastSubscribeResponse) Reset

func (x *BroadcastSubscribeResponse) Reset()

func (*BroadcastSubscribeResponse) String

func (x *BroadcastSubscribeResponse) String() string

type Config

type Config struct {
	FarmUrl      string               `protobuf:"bytes,1,opt,name=farm_url,json=farmUrl,proto3" json:"farm_url,omitempty"`
	FarmPassword string               `protobuf:"bytes,2,opt,name=farm_password,json=farmPassword,proto3" json:"farm_password,omitempty"`
	FlagRegexp   string               `protobuf:"bytes,3,opt,name=flag_regexp,json=flagRegexp,proto3" json:"flag_regexp,omitempty"`
	PingEvery    *durationpb.Duration `protobuf:"bytes,4,opt,name=ping_every,json=pingEvery,proto3" json:"ping_every,omitempty"`
	SubmitEvery  *durationpb.Duration `protobuf:"bytes,5,opt,name=submit_every,json=submitEvery,proto3" json:"submit_every,omitempty"`
	Environ      []string             `protobuf:"bytes,6,rep,name=environ,proto3" json:"environ,omitempty"`
	// contains filtered or unexported fields
}

func (*Config) Descriptor deprecated

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

Deprecated: Use Config.ProtoReflect.Descriptor instead.

func (*Config) GetEnviron

func (x *Config) GetEnviron() []string

func (*Config) GetFarmPassword

func (x *Config) GetFarmPassword() string

func (*Config) GetFarmUrl

func (x *Config) GetFarmUrl() string

func (*Config) GetFlagRegexp

func (x *Config) GetFlagRegexp() string

func (*Config) GetPingEvery

func (x *Config) GetPingEvery() *durationpb.Duration

func (*Config) GetSubmitEvery

func (x *Config) GetSubmitEvery() *durationpb.Duration

func (*Config) ProtoMessage

func (*Config) ProtoMessage()

func (*Config) ProtoReflect

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

func (*Config) Reset

func (x *Config) Reset()

func (*Config) String

func (x *Config) String() string

type ExploitConfiguration

type ExploitConfiguration struct {
	Entrypoint string               `protobuf:"bytes,1,opt,name=entrypoint,proto3" json:"entrypoint,omitempty"`
	IsArchive  bool                 `protobuf:"varint,2,opt,name=is_archive,json=isArchive,proto3" json:"is_archive,omitempty"`
	RunEvery   *durationpb.Duration `protobuf:"bytes,3,opt,name=run_every,json=runEvery,proto3" json:"run_every,omitempty"`
	Timeout    *durationpb.Duration `protobuf:"bytes,4,opt,name=timeout,proto3" json:"timeout,omitempty"`
	Disabled   bool                 `protobuf:"varint,5,opt,name=disabled,proto3" json:"disabled,omitempty"`
	Endless    bool                 `protobuf:"varint,6,opt,name=endless,proto3" json:"endless,omitempty"`
	// contains filtered or unexported fields
}

func (*ExploitConfiguration) Descriptor deprecated

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

Deprecated: Use ExploitConfiguration.ProtoReflect.Descriptor instead.

func (*ExploitConfiguration) GetDisabled

func (x *ExploitConfiguration) GetDisabled() bool

func (*ExploitConfiguration) GetEndless

func (x *ExploitConfiguration) GetEndless() bool

func (*ExploitConfiguration) GetEntrypoint

func (x *ExploitConfiguration) GetEntrypoint() string

func (*ExploitConfiguration) GetIsArchive

func (x *ExploitConfiguration) GetIsArchive() bool

func (*ExploitConfiguration) GetRunEvery

func (x *ExploitConfiguration) GetRunEvery() *durationpb.Duration

func (*ExploitConfiguration) GetTimeout

func (x *ExploitConfiguration) GetTimeout() *durationpb.Duration

func (*ExploitConfiguration) ProtoMessage

func (*ExploitConfiguration) ProtoMessage()

func (*ExploitConfiguration) ProtoReflect

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

func (*ExploitConfiguration) Reset

func (x *ExploitConfiguration) Reset()

func (*ExploitConfiguration) String

func (x *ExploitConfiguration) String() string

type ExploitRequest

type ExploitRequest struct {
	ExploitId string `protobuf:"bytes,1,opt,name=exploit_id,json=exploitId,proto3" json:"exploit_id,omitempty"`
	// contains filtered or unexported fields
}

func (*ExploitRequest) Descriptor deprecated

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

Deprecated: Use ExploitRequest.ProtoReflect.Descriptor instead.

func (*ExploitRequest) GetExploitId

func (x *ExploitRequest) GetExploitId() string

func (*ExploitRequest) ProtoMessage

func (*ExploitRequest) ProtoMessage()

func (*ExploitRequest) ProtoReflect

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

func (*ExploitRequest) Reset

func (x *ExploitRequest) Reset()

func (*ExploitRequest) String

func (x *ExploitRequest) String() string

type ExploitResponse

type ExploitResponse struct {
	State *ExploitState `protobuf:"bytes,1,opt,name=state,proto3" json:"state,omitempty"`
	// contains filtered or unexported fields
}

func (*ExploitResponse) Descriptor deprecated

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

Deprecated: Use ExploitResponse.ProtoReflect.Descriptor instead.

func (*ExploitResponse) GetState

func (x *ExploitResponse) GetState() *ExploitState

func (*ExploitResponse) ProtoMessage

func (*ExploitResponse) ProtoMessage()

func (*ExploitResponse) ProtoReflect

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

func (*ExploitResponse) Reset

func (x *ExploitResponse) Reset()

func (*ExploitResponse) String

func (x *ExploitResponse) String() string

type ExploitState

type ExploitState struct {
	ExploitId string                `protobuf:"bytes,1,opt,name=exploit_id,json=exploitId,proto3" json:"exploit_id,omitempty"`
	Version   int64                 `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty"`
	File      *fileserver.FileInfo  `protobuf:"bytes,3,opt,name=file,proto3" json:"file,omitempty"`
	Config    *ExploitConfiguration `protobuf:"bytes,6,opt,name=config,proto3" json:"config,omitempty"`
	// contains filtered or unexported fields
}

func (*ExploitState) Descriptor deprecated

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

Deprecated: Use ExploitState.ProtoReflect.Descriptor instead.

func (*ExploitState) GetConfig

func (x *ExploitState) GetConfig() *ExploitConfiguration

func (*ExploitState) GetExploitId

func (x *ExploitState) GetExploitId() string

func (*ExploitState) GetFile

func (x *ExploitState) GetFile() *fileserver.FileInfo

func (*ExploitState) GetVersion

func (x *ExploitState) GetVersion() int64

func (*ExploitState) ProtoMessage

func (*ExploitState) ProtoMessage()

func (*ExploitState) ProtoReflect

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

func (*ExploitState) Reset

func (x *ExploitState) Reset()

func (*ExploitState) String

func (x *ExploitState) String() string

type PingRequest

type PingRequest struct {
	ClientId string `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
	// Types that are assignable to Payload:
	//
	//	*PingRequest_ServerInfoRequest
	//	*PingRequest_HeartbeatRequest
	//	*PingRequest_LeaveRequest
	Payload isPingRequest_Payload `protobuf_oneof:"payload"`
	// contains filtered or unexported fields
}

func (*PingRequest) Descriptor deprecated

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

Deprecated: Use PingRequest.ProtoReflect.Descriptor instead.

func (*PingRequest) GetClientId

func (x *PingRequest) GetClientId() string

func (*PingRequest) GetHeartbeatRequest

func (x *PingRequest) GetHeartbeatRequest() *PingRequest_Heartbeat

func (*PingRequest) GetLeaveRequest

func (x *PingRequest) GetLeaveRequest() *PingRequest_Leave

func (*PingRequest) GetPayload

func (m *PingRequest) GetPayload() isPingRequest_Payload

func (*PingRequest) GetServerInfoRequest

func (x *PingRequest) GetServerInfoRequest() *PingRequest_ServerInfo

func (*PingRequest) ProtoMessage

func (*PingRequest) ProtoMessage()

func (*PingRequest) ProtoReflect

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

func (*PingRequest) Reset

func (x *PingRequest) Reset()

func (*PingRequest) String

func (x *PingRequest) String() string

type PingRequest_Heartbeat

type PingRequest_Heartbeat struct {
	Weight int32 `protobuf:"varint,1,opt,name=weight,proto3" json:"weight,omitempty"`
	// contains filtered or unexported fields
}

func (*PingRequest_Heartbeat) Descriptor deprecated

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

Deprecated: Use PingRequest_Heartbeat.ProtoReflect.Descriptor instead.

func (*PingRequest_Heartbeat) GetWeight

func (x *PingRequest_Heartbeat) GetWeight() int32

func (*PingRequest_Heartbeat) ProtoMessage

func (*PingRequest_Heartbeat) ProtoMessage()

func (*PingRequest_Heartbeat) ProtoReflect

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

func (*PingRequest_Heartbeat) Reset

func (x *PingRequest_Heartbeat) Reset()

func (*PingRequest_Heartbeat) String

func (x *PingRequest_Heartbeat) String() string

type PingRequest_HeartbeatRequest

type PingRequest_HeartbeatRequest struct {
	HeartbeatRequest *PingRequest_Heartbeat `protobuf:"bytes,3,opt,name=heartbeat_request,json=heartbeatRequest,proto3,oneof"`
}

type PingRequest_Leave

type PingRequest_Leave struct {
	// contains filtered or unexported fields
}

func (*PingRequest_Leave) Descriptor deprecated

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

Deprecated: Use PingRequest_Leave.ProtoReflect.Descriptor instead.

func (*PingRequest_Leave) ProtoMessage

func (*PingRequest_Leave) ProtoMessage()

func (*PingRequest_Leave) ProtoReflect

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

func (*PingRequest_Leave) Reset

func (x *PingRequest_Leave) Reset()

func (*PingRequest_Leave) String

func (x *PingRequest_Leave) String() string

type PingRequest_LeaveRequest

type PingRequest_LeaveRequest struct {
	LeaveRequest *PingRequest_Leave `protobuf:"bytes,4,opt,name=leave_request,json=leaveRequest,proto3,oneof"`
}

type PingRequest_ServerInfo

type PingRequest_ServerInfo struct {
	// contains filtered or unexported fields
}

func (*PingRequest_ServerInfo) Descriptor deprecated

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

Deprecated: Use PingRequest_ServerInfo.ProtoReflect.Descriptor instead.

func (*PingRequest_ServerInfo) ProtoMessage

func (*PingRequest_ServerInfo) ProtoMessage()

func (*PingRequest_ServerInfo) ProtoReflect

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

func (*PingRequest_ServerInfo) Reset

func (x *PingRequest_ServerInfo) Reset()

func (*PingRequest_ServerInfo) String

func (x *PingRequest_ServerInfo) String() string

type PingRequest_ServerInfoRequest

type PingRequest_ServerInfoRequest struct {
	ServerInfoRequest *PingRequest_ServerInfo `protobuf:"bytes,2,opt,name=server_info_request,json=serverInfoRequest,proto3,oneof"`
}

type PingResponse

type PingResponse struct {
	State *ServerState `protobuf:"bytes,1,opt,name=state,proto3" json:"state,omitempty"`
	// contains filtered or unexported fields
}

func (*PingResponse) Descriptor deprecated

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

Deprecated: Use PingResponse.ProtoReflect.Descriptor instead.

func (*PingResponse) GetState

func (x *PingResponse) GetState() *ServerState

func (*PingResponse) ProtoMessage

func (*PingResponse) ProtoMessage()

func (*PingResponse) ProtoReflect

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

func (*PingResponse) Reset

func (x *PingResponse) Reset()

func (*PingResponse) String

func (x *PingResponse) String() string

type ServerState

type ServerState struct {

	// Ping distribution by client
	ClientTeamMap map[string]*TeamBucket `` /* 190-byte string literal not displayed */
	Exploits      []*ExploitState        `protobuf:"bytes,2,rep,name=exploits,proto3" json:"exploits,omitempty"`
	Config        *Config                `protobuf:"bytes,3,opt,name=config,proto3" json:"config,omitempty"`
	// contains filtered or unexported fields
}

func (*ServerState) Descriptor deprecated

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

Deprecated: Use ServerState.ProtoReflect.Descriptor instead.

func (*ServerState) GetClientTeamMap

func (x *ServerState) GetClientTeamMap() map[string]*TeamBucket

func (*ServerState) GetConfig

func (x *ServerState) GetConfig() *Config

func (*ServerState) GetExploits

func (x *ServerState) GetExploits() []*ExploitState

func (*ServerState) ProtoMessage

func (*ServerState) ProtoMessage()

func (*ServerState) ProtoReflect

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

func (*ServerState) Reset

func (x *ServerState) Reset()

func (*ServerState) String

func (x *ServerState) String() string

type ServiceClient

ServiceClient is the client API for Service service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.golang.ir/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewServiceClient

func NewServiceClient(cc grpc.ClientConnInterface) ServiceClient

type ServiceServer

ServiceServer is the server API for Service service. All implementations must embed UnimplementedServiceServer for forward compatibility

type Service_BroadcastSubscribeClient

type Service_BroadcastSubscribeClient interface {
	Recv() (*BroadcastSubscribeResponse, error)
	grpc.ClientStream
}

type Service_BroadcastSubscribeServer

type Service_BroadcastSubscribeServer interface {
	Send(*BroadcastSubscribeResponse) error
	grpc.ServerStream
}

type Service_SingleRunSubscribeClient

type Service_SingleRunSubscribeClient interface {
	Recv() (*SingleRunSubscribeResponse, error)
	grpc.ClientStream
}

type Service_SingleRunSubscribeServer

type Service_SingleRunSubscribeServer interface {
	Send(*SingleRunSubscribeResponse) error
	grpc.ServerStream
}

type SingleRunRequest

type SingleRunRequest struct {
	ExploitId string `protobuf:"bytes,1,opt,name=exploit_id,json=exploitId,proto3" json:"exploit_id,omitempty"`
	// contains filtered or unexported fields
}

func (*SingleRunRequest) Descriptor deprecated

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

Deprecated: Use SingleRunRequest.ProtoReflect.Descriptor instead.

func (*SingleRunRequest) GetExploitId

func (x *SingleRunRequest) GetExploitId() string

func (*SingleRunRequest) ProtoMessage

func (*SingleRunRequest) ProtoMessage()

func (*SingleRunRequest) ProtoReflect

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

func (*SingleRunRequest) Reset

func (x *SingleRunRequest) Reset()

func (*SingleRunRequest) String

func (x *SingleRunRequest) String() string

type SingleRunResponse

type SingleRunResponse struct {
	// contains filtered or unexported fields
}

func (*SingleRunResponse) Descriptor deprecated

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

Deprecated: Use SingleRunResponse.ProtoReflect.Descriptor instead.

func (*SingleRunResponse) ProtoMessage

func (*SingleRunResponse) ProtoMessage()

func (*SingleRunResponse) ProtoReflect

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

func (*SingleRunResponse) Reset

func (x *SingleRunResponse) Reset()

func (*SingleRunResponse) String

func (x *SingleRunResponse) String() string

type SingleRunSubscribeRequest

type SingleRunSubscribeRequest struct {
	// contains filtered or unexported fields
}

func (*SingleRunSubscribeRequest) Descriptor deprecated

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

Deprecated: Use SingleRunSubscribeRequest.ProtoReflect.Descriptor instead.

func (*SingleRunSubscribeRequest) ProtoMessage

func (*SingleRunSubscribeRequest) ProtoMessage()

func (*SingleRunSubscribeRequest) ProtoReflect

func (*SingleRunSubscribeRequest) Reset

func (x *SingleRunSubscribeRequest) Reset()

func (*SingleRunSubscribeRequest) String

func (x *SingleRunSubscribeRequest) String() string

type SingleRunSubscribeResponse

type SingleRunSubscribeResponse struct {
	ExploitId string `protobuf:"bytes,1,opt,name=exploit_id,json=exploitId,proto3" json:"exploit_id,omitempty"`
	// contains filtered or unexported fields
}

func (*SingleRunSubscribeResponse) Descriptor deprecated

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

Deprecated: Use SingleRunSubscribeResponse.ProtoReflect.Descriptor instead.

func (*SingleRunSubscribeResponse) GetExploitId

func (x *SingleRunSubscribeResponse) GetExploitId() string

func (*SingleRunSubscribeResponse) ProtoMessage

func (*SingleRunSubscribeResponse) ProtoMessage()

func (*SingleRunSubscribeResponse) ProtoReflect

func (*SingleRunSubscribeResponse) Reset

func (x *SingleRunSubscribeResponse) Reset()

func (*SingleRunSubscribeResponse) String

func (x *SingleRunSubscribeResponse) String() string

type TeamBucket

type TeamBucket struct {
	Teams map[string]string `` /* 151-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*TeamBucket) Descriptor deprecated

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

Deprecated: Use TeamBucket.ProtoReflect.Descriptor instead.

func (*TeamBucket) GetTeams

func (x *TeamBucket) GetTeams() map[string]string

func (*TeamBucket) ProtoMessage

func (*TeamBucket) ProtoMessage()

func (*TeamBucket) ProtoReflect

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

func (*TeamBucket) Reset

func (x *TeamBucket) Reset()

func (*TeamBucket) String

func (x *TeamBucket) String() string

type UnimplementedServiceServer

type UnimplementedServiceServer struct {
}

UnimplementedServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedServiceServer) BroadcastCommand

func (UnimplementedServiceServer) Exploit

func (UnimplementedServiceServer) Ping

func (UnimplementedServiceServer) SingleRun

func (UnimplementedServiceServer) UpdateExploit

type UnsafeServiceServer

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

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

type UpdateExploitRequest

type UpdateExploitRequest struct {
	State *ExploitState `protobuf:"bytes,1,opt,name=state,proto3" json:"state,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateExploitRequest) Descriptor deprecated

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

Deprecated: Use UpdateExploitRequest.ProtoReflect.Descriptor instead.

func (*UpdateExploitRequest) GetState

func (x *UpdateExploitRequest) GetState() *ExploitState

func (*UpdateExploitRequest) ProtoMessage

func (*UpdateExploitRequest) ProtoMessage()

func (*UpdateExploitRequest) ProtoReflect

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

func (*UpdateExploitRequest) Reset

func (x *UpdateExploitRequest) Reset()

func (*UpdateExploitRequest) String

func (x *UpdateExploitRequest) String() string

type UpdateExploitResponse

type UpdateExploitResponse struct {
	State *ExploitState `protobuf:"bytes,1,opt,name=state,proto3" json:"state,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateExploitResponse) Descriptor deprecated

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

Deprecated: Use UpdateExploitResponse.ProtoReflect.Descriptor instead.

func (*UpdateExploitResponse) GetState

func (x *UpdateExploitResponse) GetState() *ExploitState

func (*UpdateExploitResponse) ProtoMessage

func (*UpdateExploitResponse) ProtoMessage()

func (*UpdateExploitResponse) ProtoReflect

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

func (*UpdateExploitResponse) Reset

func (x *UpdateExploitResponse) Reset()

func (*UpdateExploitResponse) String

func (x *UpdateExploitResponse) String() string

Jump to

Keyboard shortcuts

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