control

package
v0.44.0-rc.1 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2024 License: GPL-3.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ControlService_HealthCheck_FullMethodName                       = "/control.ControlService/HealthCheck"
	ControlService_SetNetmapStatus_FullMethodName                   = "/control.ControlService/SetNetmapStatus"
	ControlService_GetNetmapStatus_FullMethodName                   = "/control.ControlService/GetNetmapStatus"
	ControlService_DropObjects_FullMethodName                       = "/control.ControlService/DropObjects"
	ControlService_ListShards_FullMethodName                        = "/control.ControlService/ListShards"
	ControlService_SetShardMode_FullMethodName                      = "/control.ControlService/SetShardMode"
	ControlService_SynchronizeTree_FullMethodName                   = "/control.ControlService/SynchronizeTree"
	ControlService_EvacuateShard_FullMethodName                     = "/control.ControlService/EvacuateShard"
	ControlService_StartShardEvacuation_FullMethodName              = "/control.ControlService/StartShardEvacuation"
	ControlService_GetShardEvacuationStatus_FullMethodName          = "/control.ControlService/GetShardEvacuationStatus"
	ControlService_ResetShardEvacuationStatus_FullMethodName        = "/control.ControlService/ResetShardEvacuationStatus"
	ControlService_StopShardEvacuation_FullMethodName               = "/control.ControlService/StopShardEvacuation"
	ControlService_FlushCache_FullMethodName                        = "/control.ControlService/FlushCache"
	ControlService_Doctor_FullMethodName                            = "/control.ControlService/Doctor"
	ControlService_AddChainLocalOverride_FullMethodName             = "/control.ControlService/AddChainLocalOverride"
	ControlService_GetChainLocalOverride_FullMethodName             = "/control.ControlService/GetChainLocalOverride"
	ControlService_ListChainLocalOverrides_FullMethodName           = "/control.ControlService/ListChainLocalOverrides"
	ControlService_RemoveChainLocalOverride_FullMethodName          = "/control.ControlService/RemoveChainLocalOverride"
	ControlService_RemoveChainLocalOverridesByTarget_FullMethodName = "/control.ControlService/RemoveChainLocalOverridesByTarget"
	ControlService_ListTargetsLocalOverrides_FullMethodName         = "/control.ControlService/ListTargetsLocalOverrides"
	ControlService_SealWriteCache_FullMethodName                    = "/control.ControlService/SealWriteCache"
	ControlService_DetachShards_FullMethodName                      = "/control.ControlService/DetachShards"
	ControlService_StartShardRebuild_FullMethodName                 = "/control.ControlService/StartShardRebuild"
)

Variables

View Source
var (
	StartShardEvacuationRequest_Body_Scope_name = map[int32]string{
		0: "NONE",
		1: "OBJECTS",
		2: "TREES",
	}
	StartShardEvacuationRequest_Body_Scope_value = map[string]int32{
		"NONE":    0,
		"OBJECTS": 1,
		"TREES":   2,
	}
)
View Source
var (
	GetShardEvacuationStatusResponse_Body_Status_name = map[int32]string{
		0: "EVACUATE_SHARD_STATUS_UNDEFINED",
		1: "RUNNING",
		2: "COMPLETED",
	}
	GetShardEvacuationStatusResponse_Body_Status_value = map[string]int32{
		"EVACUATE_SHARD_STATUS_UNDEFINED": 0,
		"RUNNING":                         1,
		"COMPLETED":                       2,
	}
)
View Source
var (
	NetmapStatus_name = map[int32]string{
		0: "STATUS_UNDEFINED",
		1: "ONLINE",
		2: "OFFLINE",
		3: "MAINTENANCE",
	}
	NetmapStatus_value = map[string]int32{
		"STATUS_UNDEFINED": 0,
		"ONLINE":           1,
		"OFFLINE":          2,
		"MAINTENANCE":      3,
	}
)
View Source
var (
	HealthStatus_name = map[int32]string{
		0: "HEALTH_STATUS_UNDEFINED",
		1: "STARTING",
		2: "READY",
		3: "SHUTTING_DOWN",
		4: "RECONFIGURING",
	}
	HealthStatus_value = map[string]int32{
		"HEALTH_STATUS_UNDEFINED": 0,
		"STARTING":                1,
		"READY":                   2,
		"SHUTTING_DOWN":           3,
		"RECONFIGURING":           4,
	}
)
View Source
var (
	ShardMode_name = map[int32]string{
		0: "SHARD_MODE_UNDEFINED",
		1: "READ_WRITE",
		2: "READ_ONLY",
		3: "DEGRADED",
		4: "DEGRADED_READ_ONLY",
	}
	ShardMode_value = map[string]int32{
		"SHARD_MODE_UNDEFINED": 0,
		"READ_WRITE":           1,
		"READ_ONLY":            2,
		"DEGRADED":             3,
		"DEGRADED_READ_ONLY":   4,
	}
)
View Source
var (
	ChainTarget_TargetType_name = map[int32]string{
		0: "UNDEFINED",
		1: "NAMESPACE",
		2: "CONTAINER",
		3: "USER",
		4: "GROUP",
	}
	ChainTarget_TargetType_value = map[string]int32{
		"UNDEFINED": 0,
		"NAMESPACE": 1,
		"CONTAINER": 2,
		"USER":      3,
		"GROUP":     4,
	}
)
View Source
var ControlService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "control.ControlService",
	HandlerType: (*ControlServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "HealthCheck",
			Handler:    _ControlService_HealthCheck_Handler,
		},
		{
			MethodName: "SetNetmapStatus",
			Handler:    _ControlService_SetNetmapStatus_Handler,
		},
		{
			MethodName: "GetNetmapStatus",
			Handler:    _ControlService_GetNetmapStatus_Handler,
		},
		{
			MethodName: "DropObjects",
			Handler:    _ControlService_DropObjects_Handler,
		},
		{
			MethodName: "ListShards",
			Handler:    _ControlService_ListShards_Handler,
		},
		{
			MethodName: "SetShardMode",
			Handler:    _ControlService_SetShardMode_Handler,
		},
		{
			MethodName: "SynchronizeTree",
			Handler:    _ControlService_SynchronizeTree_Handler,
		},
		{
			MethodName: "EvacuateShard",
			Handler:    _ControlService_EvacuateShard_Handler,
		},
		{
			MethodName: "StartShardEvacuation",
			Handler:    _ControlService_StartShardEvacuation_Handler,
		},
		{
			MethodName: "GetShardEvacuationStatus",
			Handler:    _ControlService_GetShardEvacuationStatus_Handler,
		},
		{
			MethodName: "ResetShardEvacuationStatus",
			Handler:    _ControlService_ResetShardEvacuationStatus_Handler,
		},
		{
			MethodName: "StopShardEvacuation",
			Handler:    _ControlService_StopShardEvacuation_Handler,
		},
		{
			MethodName: "FlushCache",
			Handler:    _ControlService_FlushCache_Handler,
		},
		{
			MethodName: "Doctor",
			Handler:    _ControlService_Doctor_Handler,
		},
		{
			MethodName: "AddChainLocalOverride",
			Handler:    _ControlService_AddChainLocalOverride_Handler,
		},
		{
			MethodName: "GetChainLocalOverride",
			Handler:    _ControlService_GetChainLocalOverride_Handler,
		},
		{
			MethodName: "ListChainLocalOverrides",
			Handler:    _ControlService_ListChainLocalOverrides_Handler,
		},
		{
			MethodName: "RemoveChainLocalOverride",
			Handler:    _ControlService_RemoveChainLocalOverride_Handler,
		},
		{
			MethodName: "RemoveChainLocalOverridesByTarget",
			Handler:    _ControlService_RemoveChainLocalOverridesByTarget_Handler,
		},
		{
			MethodName: "ListTargetsLocalOverrides",
			Handler:    _ControlService_ListTargetsLocalOverrides_Handler,
		},
		{
			MethodName: "SealWriteCache",
			Handler:    _ControlService_SealWriteCache_Handler,
		},
		{
			MethodName: "DetachShards",
			Handler:    _ControlService_DetachShards_Handler,
		},
		{
			MethodName: "StartShardRebuild",
			Handler:    _ControlService_StartShardRebuild_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "pkg/services/control/service.proto",
}

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

Functions

func RegisterControlServiceServer

func RegisterControlServiceServer(s grpc.ServiceRegistrar, srv ControlServiceServer)

Types

type AddChainLocalOverrideRequest added in v0.38.0

type AddChainLocalOverrideRequest struct {
	Body      *AddChainLocalOverrideRequest_Body `json:"body"`
	Signature *Signature                         `json:"signature"`
}

func (*AddChainLocalOverrideRequest) EmitProtobuf added in v0.43.0

func (*AddChainLocalOverrideRequest) GetBody added in v0.38.0

func (*AddChainLocalOverrideRequest) GetSignature added in v0.38.0

func (x *AddChainLocalOverrideRequest) GetSignature() *Signature

func (*AddChainLocalOverrideRequest) MarshalEasyJSON added in v0.43.0

func (x *AddChainLocalOverrideRequest) MarshalEasyJSON(out *jwriter.Writer)

func (*AddChainLocalOverrideRequest) MarshalJSON added in v0.43.0

func (x *AddChainLocalOverrideRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (*AddChainLocalOverrideRequest) MarshalProtobuf added in v0.43.0

func (x *AddChainLocalOverrideRequest) MarshalProtobuf(dst []byte) []byte

MarshalProtobuf implements the encoding.ProtoMarshaler interface.

func (*AddChainLocalOverrideRequest) ReadSignedData added in v0.38.0

func (x *AddChainLocalOverrideRequest) ReadSignedData(buf []byte) ([]byte, error)

SignedDataSize returns size of the request signed data in bytes.

Structures with the same field values have the same signed data size.

func (*AddChainLocalOverrideRequest) SetBody added in v0.43.0

func (*AddChainLocalOverrideRequest) SetSignature added in v0.38.0

func (x *AddChainLocalOverrideRequest) SetSignature(v *Signature)

func (*AddChainLocalOverrideRequest) SignedDataSize added in v0.38.0

func (x *AddChainLocalOverrideRequest) SignedDataSize() int

ReadSignedData fills buf with signed data of x. If buffer length is less than x.SignedDataSize(), new buffer is allocated.

Returns any error encountered which did not allow writing the data completely. Otherwise, returns the buffer in which the data is written.

Structures with the same field values have the same signed data.

func (*AddChainLocalOverrideRequest) StableSize added in v0.38.0

func (x *AddChainLocalOverrideRequest) StableSize() (size int)

StableSize returns the size of x in protobuf format.

Structures with the same field values have the same binary size.

func (*AddChainLocalOverrideRequest) UnmarshalEasyJSON added in v0.43.0

func (x *AddChainLocalOverrideRequest) UnmarshalEasyJSON(in *jlexer.Lexer)

func (*AddChainLocalOverrideRequest) UnmarshalJSON added in v0.43.0

func (x *AddChainLocalOverrideRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaler interface.

func (*AddChainLocalOverrideRequest) UnmarshalProtobuf added in v0.43.0

func (x *AddChainLocalOverrideRequest) UnmarshalProtobuf(src []byte) (err error)

UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.

type AddChainLocalOverrideRequest_Body added in v0.38.0

type AddChainLocalOverrideRequest_Body struct {
	Target *ChainTarget `json:"target"`
	Chain  []byte       `json:"chain"`
}

func (*AddChainLocalOverrideRequest_Body) EmitProtobuf added in v0.43.0

func (*AddChainLocalOverrideRequest_Body) GetChain added in v0.38.0

func (x *AddChainLocalOverrideRequest_Body) GetChain() []byte

func (*AddChainLocalOverrideRequest_Body) GetTarget added in v0.38.0

func (*AddChainLocalOverrideRequest_Body) MarshalEasyJSON added in v0.43.0

func (x *AddChainLocalOverrideRequest_Body) MarshalEasyJSON(out *jwriter.Writer)

func (*AddChainLocalOverrideRequest_Body) MarshalJSON added in v0.43.0

func (x *AddChainLocalOverrideRequest_Body) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (*AddChainLocalOverrideRequest_Body) MarshalProtobuf added in v0.43.0

func (x *AddChainLocalOverrideRequest_Body) MarshalProtobuf(dst []byte) []byte

MarshalProtobuf implements the encoding.ProtoMarshaler interface.

func (*AddChainLocalOverrideRequest_Body) SetChain added in v0.43.0

func (x *AddChainLocalOverrideRequest_Body) SetChain(v []byte)

func (*AddChainLocalOverrideRequest_Body) SetTarget added in v0.43.0

func (*AddChainLocalOverrideRequest_Body) StableSize added in v0.38.0

func (x *AddChainLocalOverrideRequest_Body) StableSize() (size int)

StableSize returns the size of x in protobuf format.

Structures with the same field values have the same binary size.

func (*AddChainLocalOverrideRequest_Body) UnmarshalEasyJSON added in v0.43.0

func (x *AddChainLocalOverrideRequest_Body) UnmarshalEasyJSON(in *jlexer.Lexer)

func (*AddChainLocalOverrideRequest_Body) UnmarshalJSON added in v0.43.0

func (x *AddChainLocalOverrideRequest_Body) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaler interface.

func (*AddChainLocalOverrideRequest_Body) UnmarshalProtobuf added in v0.43.0

func (x *AddChainLocalOverrideRequest_Body) UnmarshalProtobuf(src []byte) (err error)

UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.

type AddChainLocalOverrideResponse added in v0.38.0

type AddChainLocalOverrideResponse struct {
	Body      *AddChainLocalOverrideResponse_Body `json:"body"`
	Signature *Signature                          `json:"signature"`
}

func AddChainLocalOverride added in v0.38.0

func AddChainLocalOverride(cli *client.Client, req *AddChainLocalOverrideRequest, opts ...client.CallOption) (*AddChainLocalOverrideResponse, error)

AddChainLocalOverride executes ControlService.AddChainLocalOverride RPC.

func (*AddChainLocalOverrideResponse) EmitProtobuf added in v0.43.0

func (*AddChainLocalOverrideResponse) GetBody added in v0.38.0

func (*AddChainLocalOverrideResponse) GetSignature added in v0.38.0

func (x *AddChainLocalOverrideResponse) GetSignature() *Signature

func (*AddChainLocalOverrideResponse) MarshalEasyJSON added in v0.43.0

func (x *AddChainLocalOverrideResponse) MarshalEasyJSON(out *jwriter.Writer)

func (*AddChainLocalOverrideResponse) MarshalJSON added in v0.43.0

func (x *AddChainLocalOverrideResponse) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (*AddChainLocalOverrideResponse) MarshalProtobuf added in v0.43.0

func (x *AddChainLocalOverrideResponse) MarshalProtobuf(dst []byte) []byte

MarshalProtobuf implements the encoding.ProtoMarshaler interface.

func (*AddChainLocalOverrideResponse) ReadSignedData added in v0.38.0

func (x *AddChainLocalOverrideResponse) ReadSignedData(buf []byte) ([]byte, error)

SignedDataSize returns size of the request signed data in bytes.

Structures with the same field values have the same signed data size.

func (*AddChainLocalOverrideResponse) SetBody added in v0.43.0

func (*AddChainLocalOverrideResponse) SetSignature added in v0.38.0

func (x *AddChainLocalOverrideResponse) SetSignature(v *Signature)

func (*AddChainLocalOverrideResponse) SignedDataSize added in v0.38.0

func (x *AddChainLocalOverrideResponse) SignedDataSize() int

ReadSignedData fills buf with signed data of x. If buffer length is less than x.SignedDataSize(), new buffer is allocated.

Returns any error encountered which did not allow writing the data completely. Otherwise, returns the buffer in which the data is written.

Structures with the same field values have the same signed data.

func (*AddChainLocalOverrideResponse) StableSize added in v0.38.0

func (x *AddChainLocalOverrideResponse) StableSize() (size int)

StableSize returns the size of x in protobuf format.

Structures with the same field values have the same binary size.

func (*AddChainLocalOverrideResponse) UnmarshalEasyJSON added in v0.43.0

func (x *AddChainLocalOverrideResponse) UnmarshalEasyJSON(in *jlexer.Lexer)

func (*AddChainLocalOverrideResponse) UnmarshalJSON added in v0.43.0

func (x *AddChainLocalOverrideResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaler interface.

func (*AddChainLocalOverrideResponse) UnmarshalProtobuf added in v0.43.0

func (x *AddChainLocalOverrideResponse) UnmarshalProtobuf(src []byte) (err error)

UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.

type AddChainLocalOverrideResponse_Body added in v0.38.0

type AddChainLocalOverrideResponse_Body struct {
	ChainId []byte `json:"chainId"`
}

func (*AddChainLocalOverrideResponse_Body) EmitProtobuf added in v0.43.0

func (*AddChainLocalOverrideResponse_Body) GetChainId added in v0.38.0

func (x *AddChainLocalOverrideResponse_Body) GetChainId() []byte

func (*AddChainLocalOverrideResponse_Body) MarshalEasyJSON added in v0.43.0

func (x *AddChainLocalOverrideResponse_Body) MarshalEasyJSON(out *jwriter.Writer)

func (*AddChainLocalOverrideResponse_Body) MarshalJSON added in v0.43.0

func (x *AddChainLocalOverrideResponse_Body) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (*AddChainLocalOverrideResponse_Body) MarshalProtobuf added in v0.43.0

func (x *AddChainLocalOverrideResponse_Body) MarshalProtobuf(dst []byte) []byte

MarshalProtobuf implements the encoding.ProtoMarshaler interface.

func (*AddChainLocalOverrideResponse_Body) SetChainId added in v0.43.0

func (x *AddChainLocalOverrideResponse_Body) SetChainId(v []byte)

func (*AddChainLocalOverrideResponse_Body) StableSize added in v0.38.0

func (x *AddChainLocalOverrideResponse_Body) StableSize() (size int)

StableSize returns the size of x in protobuf format.

Structures with the same field values have the same binary size.

func (*AddChainLocalOverrideResponse_Body) UnmarshalEasyJSON added in v0.43.0

func (x *AddChainLocalOverrideResponse_Body) UnmarshalEasyJSON(in *jlexer.Lexer)

func (*AddChainLocalOverrideResponse_Body) UnmarshalJSON added in v0.43.0

func (x *AddChainLocalOverrideResponse_Body) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaler interface.

func (*AddChainLocalOverrideResponse_Body) UnmarshalProtobuf added in v0.43.0

func (x *AddChainLocalOverrideResponse_Body) UnmarshalProtobuf(src []byte) (err error)

UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.

type BlobstorInfo

type BlobstorInfo struct {
	Path string `json:"path"`
	Type string `json:"type"`
}

func (*BlobstorInfo) EmitProtobuf added in v0.43.0

func (x *BlobstorInfo) EmitProtobuf(mm *easyproto.MessageMarshaler)

func (*BlobstorInfo) GetPath

func (x *BlobstorInfo) GetPath() string

func (*BlobstorInfo) GetType

func (x *BlobstorInfo) GetType() string

func (*BlobstorInfo) MarshalEasyJSON added in v0.43.0

func (x *BlobstorInfo) MarshalEasyJSON(out *jwriter.Writer)

func (*BlobstorInfo) MarshalJSON added in v0.43.0

func (x *BlobstorInfo) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (*BlobstorInfo) MarshalProtobuf added in v0.43.0

func (x *BlobstorInfo) MarshalProtobuf(dst []byte) []byte

MarshalProtobuf implements the encoding.ProtoMarshaler interface.

func (*BlobstorInfo) SetPath added in v0.43.0

func (x *BlobstorInfo) SetPath(v string)

func (*BlobstorInfo) SetType added in v0.43.0

func (x *BlobstorInfo) SetType(v string)

func (*BlobstorInfo) StableSize

func (x *BlobstorInfo) StableSize() (size int)

StableSize returns the size of x in protobuf format.

Structures with the same field values have the same binary size.

func (*BlobstorInfo) UnmarshalEasyJSON added in v0.43.0

func (x *BlobstorInfo) UnmarshalEasyJSON(in *jlexer.Lexer)

func (*BlobstorInfo) UnmarshalJSON added in v0.43.0

func (x *BlobstorInfo) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaler interface.

func (*BlobstorInfo) UnmarshalProtobuf added in v0.43.0

func (x *BlobstorInfo) UnmarshalProtobuf(src []byte) (err error)

UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.

type ChainTarget added in v0.38.0

type ChainTarget struct {
	Type ChainTarget_TargetType `json:"type"`
	Name string                 `json:"Name"`
}

func (*ChainTarget) EmitProtobuf added in v0.43.0

func (x *ChainTarget) EmitProtobuf(mm *easyproto.MessageMarshaler)

func (*ChainTarget) GetName added in v0.38.0

func (x *ChainTarget) GetName() string

func (*ChainTarget) GetType added in v0.38.0

func (x *ChainTarget) GetType() ChainTarget_TargetType

func (*ChainTarget) MarshalEasyJSON added in v0.43.0

func (x *ChainTarget) MarshalEasyJSON(out *jwriter.Writer)

func (*ChainTarget) MarshalJSON added in v0.43.0

func (x *ChainTarget) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (*ChainTarget) MarshalProtobuf added in v0.43.0

func (x *ChainTarget) MarshalProtobuf(dst []byte) []byte

MarshalProtobuf implements the encoding.ProtoMarshaler interface.

func (*ChainTarget) SetName added in v0.43.0

func (x *ChainTarget) SetName(v string)

func (*ChainTarget) SetType added in v0.43.0

func (x *ChainTarget) SetType(v ChainTarget_TargetType)

func (*ChainTarget) StableSize added in v0.38.0

func (x *ChainTarget) StableSize() (size int)

StableSize returns the size of x in protobuf format.

Structures with the same field values have the same binary size.

func (*ChainTarget) UnmarshalEasyJSON added in v0.43.0

func (x *ChainTarget) UnmarshalEasyJSON(in *jlexer.Lexer)

func (*ChainTarget) UnmarshalJSON added in v0.43.0

func (x *ChainTarget) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaler interface.

func (*ChainTarget) UnmarshalProtobuf added in v0.43.0

func (x *ChainTarget) UnmarshalProtobuf(src []byte) (err error)

UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.

type ChainTarget_TargetType added in v0.38.0

type ChainTarget_TargetType int32
const (
	ChainTarget_UNDEFINED ChainTarget_TargetType = 0
	ChainTarget_NAMESPACE ChainTarget_TargetType = 1
	ChainTarget_CONTAINER ChainTarget_TargetType = 2
	ChainTarget_USER      ChainTarget_TargetType = 3
	ChainTarget_GROUP     ChainTarget_TargetType = 4
)

func (*ChainTarget_TargetType) FromString added in v0.43.0

func (x *ChainTarget_TargetType) FromString(s string) bool

func (ChainTarget_TargetType) String added in v0.38.0

func (x ChainTarget_TargetType) String() string

type ControlServiceClient

type ControlServiceClient interface {
	// Performs health check of the storage node.
	HealthCheck(ctx context.Context, in *HealthCheckRequest, opts ...grpc.CallOption) (*HealthCheckResponse, error)
	// Sets status of the storage node in FrostFS network map.
	SetNetmapStatus(ctx context.Context, in *SetNetmapStatusRequest, opts ...grpc.CallOption) (*SetNetmapStatusResponse, error)
	// Gets status of the storage node in FrostFS network map.
	GetNetmapStatus(ctx context.Context, in *GetNetmapStatusRequest, opts ...grpc.CallOption) (*GetNetmapStatusResponse, error)
	// Mark objects to be removed from node's local object storage.
	DropObjects(ctx context.Context, in *DropObjectsRequest, opts ...grpc.CallOption) (*DropObjectsResponse, error)
	// Returns list that contains information about all shards of a node.
	ListShards(ctx context.Context, in *ListShardsRequest, opts ...grpc.CallOption) (*ListShardsResponse, error)
	// Sets mode of the shard.
	SetShardMode(ctx context.Context, in *SetShardModeRequest, opts ...grpc.CallOption) (*SetShardModeResponse, error)
	// Synchronizes all log operations for the specified tree.
	SynchronizeTree(ctx context.Context, in *SynchronizeTreeRequest, opts ...grpc.CallOption) (*SynchronizeTreeResponse, error)
	// EvacuateShard moves all data from one shard to the others.
	// Deprecated: Use
	// StartShardEvacuation/GetShardEvacuationStatus/StopShardEvacuation
	EvacuateShard(ctx context.Context, in *EvacuateShardRequest, opts ...grpc.CallOption) (*EvacuateShardResponse, error)
	// StartShardEvacuation starts moving all data from one shard to the others.
	StartShardEvacuation(ctx context.Context, in *StartShardEvacuationRequest, opts ...grpc.CallOption) (*StartShardEvacuationResponse, error)
	// GetShardEvacuationStatus returns evacuation status.
	GetShardEvacuationStatus(ctx context.Context, in *GetShardEvacuationStatusRequest, opts ...grpc.CallOption) (*GetShardEvacuationStatusResponse, error)
	// ResetShardEvacuationStatus resets evacuation status if there is no running
	// evacuation process.
	ResetShardEvacuationStatus(ctx context.Context, in *ResetShardEvacuationStatusRequest, opts ...grpc.CallOption) (*ResetShardEvacuationStatusResponse, error)
	// StopShardEvacuation stops moving all data from one shard to the others.
	StopShardEvacuation(ctx context.Context, in *StopShardEvacuationRequest, opts ...grpc.CallOption) (*StopShardEvacuationResponse, error)
	// FlushCache moves all data from one shard to the others.
	FlushCache(ctx context.Context, in *FlushCacheRequest, opts ...grpc.CallOption) (*FlushCacheResponse, error)
	// Doctor performs storage restructuring operations on engine.
	Doctor(ctx context.Context, in *DoctorRequest, opts ...grpc.CallOption) (*DoctorResponse, error)
	// Add local access policy engine overrides to a node.
	AddChainLocalOverride(ctx context.Context, in *AddChainLocalOverrideRequest, opts ...grpc.CallOption) (*AddChainLocalOverrideResponse, error)
	// Get local access policy engine overrides stored in the node by chain id.
	GetChainLocalOverride(ctx context.Context, in *GetChainLocalOverrideRequest, opts ...grpc.CallOption) (*GetChainLocalOverrideResponse, error)
	// List local access policy engine overrides stored in the node by container
	// id.
	ListChainLocalOverrides(ctx context.Context, in *ListChainLocalOverridesRequest, opts ...grpc.CallOption) (*ListChainLocalOverridesResponse, error)
	// Remove local access policy engine overrides stored in the node by chaind
	// id.
	RemoveChainLocalOverride(ctx context.Context, in *RemoveChainLocalOverrideRequest, opts ...grpc.CallOption) (*RemoveChainLocalOverrideResponse, error)
	// Remove local access policy engine overrides stored in the node by chaind
	// id.
	RemoveChainLocalOverridesByTarget(ctx context.Context, in *RemoveChainLocalOverridesByTargetRequest, opts ...grpc.CallOption) (*RemoveChainLocalOverridesByTargetResponse, error)
	// List targets of the local APE overrides stored in the node.
	ListTargetsLocalOverrides(ctx context.Context, in *ListTargetsLocalOverridesRequest, opts ...grpc.CallOption) (*ListTargetsLocalOverridesResponse, error)
	// Flush objects from write-cache and move it to degraded read only mode.
	SealWriteCache(ctx context.Context, in *SealWriteCacheRequest, opts ...grpc.CallOption) (*SealWriteCacheResponse, error)
	// DetachShards detaches and closes shards.
	DetachShards(ctx context.Context, in *DetachShardsRequest, opts ...grpc.CallOption) (*DetachShardsResponse, error)
	// StartShardRebuild starts shard rebuild process.
	StartShardRebuild(ctx context.Context, in *StartShardRebuildRequest, opts ...grpc.CallOption) (*StartShardRebuildResponse, error)
}

ControlServiceClient is the client API for ControlService 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 ControlServiceServer

type ControlServiceServer interface {
	// Performs health check of the storage node.
	HealthCheck(context.Context, *HealthCheckRequest) (*HealthCheckResponse, error)
	// Sets status of the storage node in FrostFS network map.
	SetNetmapStatus(context.Context, *SetNetmapStatusRequest) (*SetNetmapStatusResponse, error)
	// Gets status of the storage node in FrostFS network map.
	GetNetmapStatus(context.Context, *GetNetmapStatusRequest) (*GetNetmapStatusResponse, error)
	// Mark objects to be removed from node's local object storage.
	DropObjects(context.Context, *DropObjectsRequest) (*DropObjectsResponse, error)
	// Returns list that contains information about all shards of a node.
	ListShards(context.Context, *ListShardsRequest) (*ListShardsResponse, error)
	// Sets mode of the shard.
	SetShardMode(context.Context, *SetShardModeRequest) (*SetShardModeResponse, error)
	// Synchronizes all log operations for the specified tree.
	SynchronizeTree(context.Context, *SynchronizeTreeRequest) (*SynchronizeTreeResponse, error)
	// EvacuateShard moves all data from one shard to the others.
	// Deprecated: Use
	// StartShardEvacuation/GetShardEvacuationStatus/StopShardEvacuation
	EvacuateShard(context.Context, *EvacuateShardRequest) (*EvacuateShardResponse, error)
	// StartShardEvacuation starts moving all data from one shard to the others.
	StartShardEvacuation(context.Context, *StartShardEvacuationRequest) (*StartShardEvacuationResponse, error)
	// GetShardEvacuationStatus returns evacuation status.
	GetShardEvacuationStatus(context.Context, *GetShardEvacuationStatusRequest) (*GetShardEvacuationStatusResponse, error)
	// ResetShardEvacuationStatus resets evacuation status if there is no running
	// evacuation process.
	ResetShardEvacuationStatus(context.Context, *ResetShardEvacuationStatusRequest) (*ResetShardEvacuationStatusResponse, error)
	// StopShardEvacuation stops moving all data from one shard to the others.
	StopShardEvacuation(context.Context, *StopShardEvacuationRequest) (*StopShardEvacuationResponse, error)
	// FlushCache moves all data from one shard to the others.
	FlushCache(context.Context, *FlushCacheRequest) (*FlushCacheResponse, error)
	// Doctor performs storage restructuring operations on engine.
	Doctor(context.Context, *DoctorRequest) (*DoctorResponse, error)
	// Add local access policy engine overrides to a node.
	AddChainLocalOverride(context.Context, *AddChainLocalOverrideRequest) (*AddChainLocalOverrideResponse, error)
	// Get local access policy engine overrides stored in the node by chain id.
	GetChainLocalOverride(context.Context, *GetChainLocalOverrideRequest) (*GetChainLocalOverrideResponse, error)
	// List local access policy engine overrides stored in the node by container
	// id.
	ListChainLocalOverrides(context.Context, *ListChainLocalOverridesRequest) (*ListChainLocalOverridesResponse, error)
	// Remove local access policy engine overrides stored in the node by chaind
	// id.
	RemoveChainLocalOverride(context.Context, *RemoveChainLocalOverrideRequest) (*RemoveChainLocalOverrideResponse, error)
	// Remove local access policy engine overrides stored in the node by chaind
	// id.
	RemoveChainLocalOverridesByTarget(context.Context, *RemoveChainLocalOverridesByTargetRequest) (*RemoveChainLocalOverridesByTargetResponse, error)
	// List targets of the local APE overrides stored in the node.
	ListTargetsLocalOverrides(context.Context, *ListTargetsLocalOverridesRequest) (*ListTargetsLocalOverridesResponse, error)
	// Flush objects from write-cache and move it to degraded read only mode.
	SealWriteCache(context.Context, *SealWriteCacheRequest) (*SealWriteCacheResponse, error)
	// DetachShards detaches and closes shards.
	DetachShards(context.Context, *DetachShardsRequest) (*DetachShardsResponse, error)
	// StartShardRebuild starts shard rebuild process.
	StartShardRebuild(context.Context, *StartShardRebuildRequest) (*StartShardRebuildResponse, error)
}

ControlServiceServer is the server API for ControlService service. All implementations should embed UnimplementedControlServiceServer for forward compatibility

type DetachShardsRequest added in v0.38.0

type DetachShardsRequest struct {
	Body      *DetachShardsRequest_Body `json:"body"`
	Signature *Signature                `json:"signature"`
}

func (*DetachShardsRequest) EmitProtobuf added in v0.43.0

func (x *DetachShardsRequest) EmitProtobuf(mm *easyproto.MessageMarshaler)

func (*DetachShardsRequest) GetBody added in v0.38.0

func (*DetachShardsRequest) GetSignature added in v0.38.0

func (x *DetachShardsRequest) GetSignature() *Signature

func (*DetachShardsRequest) MarshalEasyJSON added in v0.43.0

func (x *DetachShardsRequest) MarshalEasyJSON(out *jwriter.Writer)

func (*DetachShardsRequest) MarshalJSON added in v0.43.0

func (x *DetachShardsRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (*DetachShardsRequest) MarshalProtobuf added in v0.43.0

func (x *DetachShardsRequest) MarshalProtobuf(dst []byte) []byte

MarshalProtobuf implements the encoding.ProtoMarshaler interface.

func (*DetachShardsRequest) ReadSignedData added in v0.38.0

func (x *DetachShardsRequest) ReadSignedData(buf []byte) ([]byte, error)

SignedDataSize returns size of the request signed data in bytes.

Structures with the same field values have the same signed data size.

func (*DetachShardsRequest) SetBody added in v0.43.0

func (*DetachShardsRequest) SetSignature added in v0.38.0

func (x *DetachShardsRequest) SetSignature(v *Signature)

func (*DetachShardsRequest) SignedDataSize added in v0.38.0

func (x *DetachShardsRequest) SignedDataSize() int

ReadSignedData fills buf with signed data of x. If buffer length is less than x.SignedDataSize(), new buffer is allocated.

Returns any error encountered which did not allow writing the data completely. Otherwise, returns the buffer in which the data is written.

Structures with the same field values have the same signed data.

func (*DetachShardsRequest) StableSize added in v0.38.0

func (x *DetachShardsRequest) StableSize() (size int)

StableSize returns the size of x in protobuf format.

Structures with the same field values have the same binary size.

func (*DetachShardsRequest) UnmarshalEasyJSON added in v0.43.0

func (x *DetachShardsRequest) UnmarshalEasyJSON(in *jlexer.Lexer)

func (*DetachShardsRequest) UnmarshalJSON added in v0.43.0

func (x *DetachShardsRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaler interface.

func (*DetachShardsRequest) UnmarshalProtobuf added in v0.43.0

func (x *DetachShardsRequest) UnmarshalProtobuf(src []byte) (err error)

UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.

type DetachShardsRequest_Body added in v0.38.0

type DetachShardsRequest_Body struct {
	Shard_ID [][]byte `json:"shardID"`
}

func (*DetachShardsRequest_Body) EmitProtobuf added in v0.43.0

func (*DetachShardsRequest_Body) GetShard_ID added in v0.38.0

func (x *DetachShardsRequest_Body) GetShard_ID() [][]byte

func (*DetachShardsRequest_Body) MarshalEasyJSON added in v0.43.0

func (x *DetachShardsRequest_Body) MarshalEasyJSON(out *jwriter.Writer)

func (*DetachShardsRequest_Body) MarshalJSON added in v0.43.0

func (x *DetachShardsRequest_Body) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (*DetachShardsRequest_Body) MarshalProtobuf added in v0.43.0

func (x *DetachShardsRequest_Body) MarshalProtobuf(dst []byte) []byte

MarshalProtobuf implements the encoding.ProtoMarshaler interface.

func (*DetachShardsRequest_Body) SetShard_ID added in v0.43.0

func (x *DetachShardsRequest_Body) SetShard_ID(v [][]byte)

func (*DetachShardsRequest_Body) StableSize added in v0.38.0

func (x *DetachShardsRequest_Body) StableSize() (size int)

StableSize returns the size of x in protobuf format.

Structures with the same field values have the same binary size.

func (*DetachShardsRequest_Body) UnmarshalEasyJSON added in v0.43.0

func (x *DetachShardsRequest_Body) UnmarshalEasyJSON(in *jlexer.Lexer)

func (*DetachShardsRequest_Body) UnmarshalJSON added in v0.43.0

func (x *DetachShardsRequest_Body) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaler interface.

func (*DetachShardsRequest_Body) UnmarshalProtobuf added in v0.43.0

func (x *DetachShardsRequest_Body) UnmarshalProtobuf(src []byte) (err error)

UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.

type DetachShardsResponse added in v0.38.0

type DetachShardsResponse struct {
	Body      *DetachShardsResponse_Body `json:"body"`
	Signature *Signature                 `json:"signature"`
}

func DetachShards added in v0.38.0

func DetachShards(
	cli *client.Client,
	req *DetachShardsRequest,
	opts ...client.CallOption,
) (*DetachShardsResponse, error)

DetachShards executes ControlService.DetachShards RPC.

func (*DetachShardsResponse) EmitProtobuf added in v0.43.0

func (x *DetachShardsResponse) EmitProtobuf(mm *easyproto.MessageMarshaler)

func (*DetachShardsResponse) GetBody added in v0.38.0

func (*DetachShardsResponse) GetSignature added in v0.38.0

func (x *DetachShardsResponse) GetSignature() *Signature

func (*DetachShardsResponse) MarshalEasyJSON added in v0.43.0

func (x *DetachShardsResponse) MarshalEasyJSON(out *jwriter.Writer)

func (*DetachShardsResponse) MarshalJSON added in v0.43.0

func (x *DetachShardsResponse) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (*DetachShardsResponse) MarshalProtobuf added in v0.43.0

func (x *DetachShardsResponse) MarshalProtobuf(dst []byte) []byte

MarshalProtobuf implements the encoding.ProtoMarshaler interface.

func (*DetachShardsResponse) ReadSignedData added in v0.38.0

func (x *DetachShardsResponse) ReadSignedData(buf []byte) ([]byte, error)

SignedDataSize returns size of the request signed data in bytes.

Structures with the same field values have the same signed data size.

func (*DetachShardsResponse) SetBody added in v0.43.0

func (*DetachShardsResponse) SetSignature added in v0.38.0

func (x *DetachShardsResponse) SetSignature(v *Signature)

func (*DetachShardsResponse) SignedDataSize added in v0.38.0

func (x *DetachShardsResponse) SignedDataSize() int

ReadSignedData fills buf with signed data of x. If buffer length is less than x.SignedDataSize(), new buffer is allocated.

Returns any error encountered which did not allow writing the data completely. Otherwise, returns the buffer in which the data is written.

Structures with the same field values have the same signed data.

func (*DetachShardsResponse) StableSize added in v0.38.0

func (x *DetachShardsResponse) StableSize() (size int)

StableSize returns the size of x in protobuf format.

Structures with the same field values have the same binary size.

func (*DetachShardsResponse) UnmarshalEasyJSON added in v0.43.0

func (x *DetachShardsResponse) UnmarshalEasyJSON(in *jlexer.Lexer)

func (*DetachShardsResponse) UnmarshalJSON added in v0.43.0

func (x *DetachShardsResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaler interface.

func (*DetachShardsResponse) UnmarshalProtobuf added in v0.43.0

func (x *DetachShardsResponse) UnmarshalProtobuf(src []byte) (err error)

UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.

type DetachShardsResponse_Body added in v0.38.0

type DetachShardsResponse_Body struct {
}

func (*DetachShardsResponse_Body) EmitProtobuf added in v0.43.0

func (*DetachShardsResponse_Body) MarshalEasyJSON added in v0.43.0

func (x *DetachShardsResponse_Body) MarshalEasyJSON(out *jwriter.Writer)

func (*DetachShardsResponse_Body) MarshalJSON added in v0.43.0

func (x *DetachShardsResponse_Body) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (*DetachShardsResponse_Body) MarshalProtobuf added in v0.43.0

func (x *DetachShardsResponse_Body) MarshalProtobuf(dst []byte) []byte

MarshalProtobuf implements the encoding.ProtoMarshaler interface.

func (*DetachShardsResponse_Body) StableSize added in v0.38.0

func (x *DetachShardsResponse_Body) StableSize() (size int)

StableSize returns the size of x in protobuf format.

Structures with the same field values have the same binary size.

func (*DetachShardsResponse_Body) UnmarshalEasyJSON added in v0.43.0

func (x *DetachShardsResponse_Body) UnmarshalEasyJSON(in *jlexer.Lexer)

func (*DetachShardsResponse_Body) UnmarshalJSON added in v0.43.0

func (x *DetachShardsResponse_Body) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaler interface.

func (*DetachShardsResponse_Body) UnmarshalProtobuf added in v0.43.0

func (x *DetachShardsResponse_Body) UnmarshalProtobuf(src []byte) (err error)

UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.

type DoctorRequest

type DoctorRequest struct {
	Body      *DoctorRequest_Body `json:"body"`
	Signature *Signature          `json:"signature"`
}

func (*DoctorRequest) EmitProtobuf added in v0.43.0

func (x *DoctorRequest) EmitProtobuf(mm *easyproto.MessageMarshaler)

func (*DoctorRequest) GetBody

func (x *DoctorRequest) GetBody() *DoctorRequest_Body

func (*DoctorRequest) GetSignature

func (x *DoctorRequest) GetSignature() *Signature

func (*DoctorRequest) MarshalEasyJSON added in v0.43.0

func (x *DoctorRequest) MarshalEasyJSON(out *jwriter.Writer)

func (*DoctorRequest) MarshalJSON added in v0.43.0

func (x *DoctorRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (*DoctorRequest) MarshalProtobuf added in v0.43.0

func (x *DoctorRequest) MarshalProtobuf(dst []byte) []byte

MarshalProtobuf implements the encoding.ProtoMarshaler interface.

func (*DoctorRequest) ReadSignedData

func (x *DoctorRequest) ReadSignedData(buf []byte) ([]byte, error)

SignedDataSize returns size of the request signed data in bytes.

Structures with the same field values have the same signed data size.

func (*DoctorRequest) SetBody added in v0.43.0

func (x *DoctorRequest) SetBody(v *DoctorRequest_Body)

func (*DoctorRequest) SetSignature

func (x *DoctorRequest) SetSignature(v *Signature)

func (*DoctorRequest) SignedDataSize

func (x *DoctorRequest) SignedDataSize() int

ReadSignedData fills buf with signed data of x. If buffer length is less than x.SignedDataSize(), new buffer is allocated.

Returns any error encountered which did not allow writing the data completely. Otherwise, returns the buffer in which the data is written.

Structures with the same field values have the same signed data.

func (*DoctorRequest) StableSize

func (x *DoctorRequest) StableSize() (size int)

StableSize returns the size of x in protobuf format.

Structures with the same field values have the same binary size.

func (*DoctorRequest) UnmarshalEasyJSON added in v0.43.0

func (x *DoctorRequest) UnmarshalEasyJSON(in *jlexer.Lexer)

func (*DoctorRequest) UnmarshalJSON added in v0.43.0

func (x *DoctorRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaler interface.

func (*DoctorRequest) UnmarshalProtobuf added in v0.43.0

func (x *DoctorRequest) UnmarshalProtobuf(src []byte) (err error)

UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.

type DoctorRequest_Body

type DoctorRequest_Body struct {
	Concurrency      uint32 `json:"concurrency"`
	RemoveDuplicates bool   `json:"removeDuplicates"`
}

func (*DoctorRequest_Body) EmitProtobuf added in v0.43.0

func (x *DoctorRequest_Body) EmitProtobuf(mm *easyproto.MessageMarshaler)

func (*DoctorRequest_Body) GetConcurrency

func (x *DoctorRequest_Body) GetConcurrency() uint32

func (*DoctorRequest_Body) GetRemoveDuplicates

func (x *DoctorRequest_Body) GetRemoveDuplicates() bool

func (*DoctorRequest_Body) MarshalEasyJSON added in v0.43.0

func (x *DoctorRequest_Body) MarshalEasyJSON(out *jwriter.Writer)

func (*DoctorRequest_Body) MarshalJSON added in v0.43.0

func (x *DoctorRequest_Body) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (*DoctorRequest_Body) MarshalProtobuf added in v0.43.0

func (x *DoctorRequest_Body) MarshalProtobuf(dst []byte) []byte

MarshalProtobuf implements the encoding.ProtoMarshaler interface.

func (*DoctorRequest_Body) SetConcurrency added in v0.43.0

func (x *DoctorRequest_Body) SetConcurrency(v uint32)

func (*DoctorRequest_Body) SetRemoveDuplicates added in v0.43.0

func (x *DoctorRequest_Body) SetRemoveDuplicates(v bool)

func (*DoctorRequest_Body) StableSize

func (x *DoctorRequest_Body) StableSize() (size int)

StableSize returns the size of x in protobuf format.

Structures with the same field values have the same binary size.

func (*DoctorRequest_Body) UnmarshalEasyJSON added in v0.43.0

func (x *DoctorRequest_Body) UnmarshalEasyJSON(in *jlexer.Lexer)

func (*DoctorRequest_Body) UnmarshalJSON added in v0.43.0

func (x *DoctorRequest_Body) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaler interface.

func (*DoctorRequest_Body) UnmarshalProtobuf added in v0.43.0

func (x *DoctorRequest_Body) UnmarshalProtobuf(src []byte) (err error)

UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.

type DoctorResponse

type DoctorResponse struct {
	Body      *DoctorResponse_Body `json:"body"`
	Signature *Signature           `json:"signature"`
}

func Doctor

func Doctor(cli *client.Client, req *DoctorRequest, opts ...client.CallOption) (*DoctorResponse, error)

Doctor executes ControlService.Doctor RPC.

func (*DoctorResponse) EmitProtobuf added in v0.43.0

func (x *DoctorResponse) EmitProtobuf(mm *easyproto.MessageMarshaler)

func (*DoctorResponse) GetBody

func (x *DoctorResponse) GetBody() *DoctorResponse_Body

func (*DoctorResponse) GetSignature

func (x *DoctorResponse) GetSignature() *Signature

func (*DoctorResponse) MarshalEasyJSON added in v0.43.0

func (x *DoctorResponse) MarshalEasyJSON(out *jwriter.Writer)

func (*DoctorResponse) MarshalJSON added in v0.43.0

func (x *DoctorResponse) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (*DoctorResponse) MarshalProtobuf added in v0.43.0

func (x *DoctorResponse) MarshalProtobuf(dst []byte) []byte

MarshalProtobuf implements the encoding.ProtoMarshaler interface.

func (*DoctorResponse) ReadSignedData

func (x *DoctorResponse) ReadSignedData(buf []byte) ([]byte, error)

SignedDataSize returns size of the request signed data in bytes.

Structures with the same field values have the same signed data size.

func (*DoctorResponse) SetBody added in v0.43.0

func (x *DoctorResponse) SetBody(v *DoctorResponse_Body)

func (*DoctorResponse) SetSignature

func (x *DoctorResponse) SetSignature(v *Signature)

func (*DoctorResponse) SignedDataSize

func (x *DoctorResponse) SignedDataSize() int

ReadSignedData fills buf with signed data of x. If buffer length is less than x.SignedDataSize(), new buffer is allocated.

Returns any error encountered which did not allow writing the data completely. Otherwise, returns the buffer in which the data is written.

Structures with the same field values have the same signed data.

func (*DoctorResponse) StableSize

func (x *DoctorResponse) StableSize() (size int)

StableSize returns the size of x in protobuf format.

Structures with the same field values have the same binary size.

func (*DoctorResponse) UnmarshalEasyJSON added in v0.43.0

func (x *DoctorResponse) UnmarshalEasyJSON(in *jlexer.Lexer)

func (*DoctorResponse) UnmarshalJSON added in v0.43.0

func (x *DoctorResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaler interface.

func (*DoctorResponse) UnmarshalProtobuf added in v0.43.0

func (x *DoctorResponse) UnmarshalProtobuf(src []byte) (err error)

UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.

type DoctorResponse_Body

type DoctorResponse_Body struct {
}

func (*DoctorResponse_Body) EmitProtobuf added in v0.43.0

func (x *DoctorResponse_Body) EmitProtobuf(mm *easyproto.MessageMarshaler)

func (*DoctorResponse_Body) MarshalEasyJSON added in v0.43.0

func (x *DoctorResponse_Body) MarshalEasyJSON(out *jwriter.Writer)

func (*DoctorResponse_Body) MarshalJSON added in v0.43.0

func (x *DoctorResponse_Body) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (*DoctorResponse_Body) MarshalProtobuf added in v0.43.0

func (x *DoctorResponse_Body) MarshalProtobuf(dst []byte) []byte

MarshalProtobuf implements the encoding.ProtoMarshaler interface.

func (*DoctorResponse_Body) StableSize

func (x *DoctorResponse_Body) StableSize() (size int)

StableSize returns the size of x in protobuf format.

Structures with the same field values have the same binary size.

func (*DoctorResponse_Body) UnmarshalEasyJSON added in v0.43.0

func (x *DoctorResponse_Body) UnmarshalEasyJSON(in *jlexer.Lexer)

func (*DoctorResponse_Body) UnmarshalJSON added in v0.43.0

func (x *DoctorResponse_Body) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaler interface.

func (*DoctorResponse_Body) UnmarshalProtobuf added in v0.43.0

func (x *DoctorResponse_Body) UnmarshalProtobuf(src []byte) (err error)

UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.

type DropObjectsRequest

type DropObjectsRequest struct {
	Body      *DropObjectsRequest_Body `json:"body"`
	Signature *Signature               `json:"signature"`
}

func (*DropObjectsRequest) EmitProtobuf added in v0.43.0

func (x *DropObjectsRequest) EmitProtobuf(mm *easyproto.MessageMarshaler)

func (*DropObjectsRequest) GetBody

func (*DropObjectsRequest) GetSignature

func (x *DropObjectsRequest) GetSignature() *Signature

func (*DropObjectsRequest) MarshalEasyJSON added in v0.43.0

func (x *DropObjectsRequest) MarshalEasyJSON(out *jwriter.Writer)

func (*DropObjectsRequest) MarshalJSON added in v0.43.0

func (x *DropObjectsRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (*DropObjectsRequest) MarshalProtobuf added in v0.43.0

func (x *DropObjectsRequest) MarshalProtobuf(dst []byte) []byte

MarshalProtobuf implements the encoding.ProtoMarshaler interface.

func (*DropObjectsRequest) ReadSignedData

func (x *DropObjectsRequest) ReadSignedData(buf []byte) ([]byte, error)

SignedDataSize returns size of the request signed data in bytes.

Structures with the same field values have the same signed data size.

func (*DropObjectsRequest) SetBody

func (*DropObjectsRequest) SetSignature

func (x *DropObjectsRequest) SetSignature(v *Signature)

func (*DropObjectsRequest) SignedDataSize

func (x *DropObjectsRequest) SignedDataSize() int

ReadSignedData fills buf with signed data of x. If buffer length is less than x.SignedDataSize(), new buffer is allocated.

Returns any error encountered which did not allow writing the data completely. Otherwise, returns the buffer in which the data is written.

Structures with the same field values have the same signed data.

func (*DropObjectsRequest) StableSize

func (x *DropObjectsRequest) StableSize() (size int)

StableSize returns the size of x in protobuf format.

Structures with the same field values have the same binary size.

func (*DropObjectsRequest) UnmarshalEasyJSON added in v0.43.0

func (x *DropObjectsRequest) UnmarshalEasyJSON(in *jlexer.Lexer)

func (*DropObjectsRequest) UnmarshalJSON added in v0.43.0

func (x *DropObjectsRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaler interface.

func (*DropObjectsRequest) UnmarshalProtobuf added in v0.43.0

func (x *DropObjectsRequest) UnmarshalProtobuf(src []byte) (err error)

UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.

type DropObjectsRequest_Body

type DropObjectsRequest_Body struct {
	AddressList [][]byte `json:"addressList"`
}

func (*DropObjectsRequest_Body) EmitProtobuf added in v0.43.0

func (x *DropObjectsRequest_Body) EmitProtobuf(mm *easyproto.MessageMarshaler)

func (*DropObjectsRequest_Body) GetAddressList

func (x *DropObjectsRequest_Body) GetAddressList() [][]byte

func (*DropObjectsRequest_Body) MarshalEasyJSON added in v0.43.0

func (x *DropObjectsRequest_Body) MarshalEasyJSON(out *jwriter.Writer)

func (*DropObjectsRequest_Body) MarshalJSON added in v0.43.0

func (x *DropObjectsRequest_Body) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (*DropObjectsRequest_Body) MarshalProtobuf added in v0.43.0

func (x *DropObjectsRequest_Body) MarshalProtobuf(dst []byte) []byte

MarshalProtobuf implements the encoding.ProtoMarshaler interface.

func (*DropObjectsRequest_Body) SetAddressList

func (x *DropObjectsRequest_Body) SetAddressList(v [][]byte)

func (*DropObjectsRequest_Body) StableSize

func (x *DropObjectsRequest_Body) StableSize() (size int)

StableSize returns the size of x in protobuf format.

Structures with the same field values have the same binary size.

func (*DropObjectsRequest_Body) UnmarshalEasyJSON added in v0.43.0

func (x *DropObjectsRequest_Body) UnmarshalEasyJSON(in *jlexer.Lexer)

func (*DropObjectsRequest_Body) UnmarshalJSON added in v0.43.0

func (x *DropObjectsRequest_Body) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaler interface.

func (*DropObjectsRequest_Body) UnmarshalProtobuf added in v0.43.0

func (x *DropObjectsRequest_Body) UnmarshalProtobuf(src []byte) (err error)

UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.

type DropObjectsResponse

type DropObjectsResponse struct {
	Body      *DropObjectsResponse_Body `json:"body"`
	Signature *Signature                `json:"signature"`
}

func DropObjects

func DropObjects(
	cli *client.Client,
	req *DropObjectsRequest,
	opts ...client.CallOption,
) (*DropObjectsResponse, error)

DropObjects executes ControlService.DropObjects RPC.

func (*DropObjectsResponse) EmitProtobuf added in v0.43.0

func (x *DropObjectsResponse) EmitProtobuf(mm *easyproto.MessageMarshaler)

func (*DropObjectsResponse) GetBody

func (*DropObjectsResponse) GetSignature

func (x *DropObjectsResponse) GetSignature() *Signature

func (*DropObjectsResponse) MarshalEasyJSON added in v0.43.0

func (x *DropObjectsResponse) MarshalEasyJSON(out *jwriter.Writer)

func (*DropObjectsResponse) MarshalJSON added in v0.43.0

func (x *DropObjectsResponse) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (*DropObjectsResponse) MarshalProtobuf added in v0.43.0

func (x *DropObjectsResponse) MarshalProtobuf(dst []byte) []byte

MarshalProtobuf implements the encoding.ProtoMarshaler interface.

func (*DropObjectsResponse) ReadSignedData

func (x *DropObjectsResponse) ReadSignedData(buf []byte) ([]byte, error)

SignedDataSize returns size of the request signed data in bytes.

Structures with the same field values have the same signed data size.

func (*DropObjectsResponse) SetBody

func (*DropObjectsResponse) SetSignature

func (x *DropObjectsResponse) SetSignature(v *Signature)

func (*DropObjectsResponse) SignedDataSize

func (x *DropObjectsResponse) SignedDataSize() int

ReadSignedData fills buf with signed data of x. If buffer length is less than x.SignedDataSize(), new buffer is allocated.

Returns any error encountered which did not allow writing the data completely. Otherwise, returns the buffer in which the data is written.

Structures with the same field values have the same signed data.

func (*DropObjectsResponse) StableSize

func (x *DropObjectsResponse) StableSize() (size int)

StableSize returns the size of x in protobuf format.

Structures with the same field values have the same binary size.

func (*DropObjectsResponse) UnmarshalEasyJSON added in v0.43.0

func (x *DropObjectsResponse) UnmarshalEasyJSON(in *jlexer.Lexer)

func (*DropObjectsResponse) UnmarshalJSON added in v0.43.0

func (x *DropObjectsResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaler interface.

func (*DropObjectsResponse) UnmarshalProtobuf added in v0.43.0

func (x *DropObjectsResponse) UnmarshalProtobuf(src []byte) (err error)

UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.

type DropObjectsResponse_Body

type DropObjectsResponse_Body struct {
}

func (*DropObjectsResponse_Body) EmitProtobuf added in v0.43.0

func (*DropObjectsResponse_Body) MarshalEasyJSON added in v0.43.0

func (x *DropObjectsResponse_Body) MarshalEasyJSON(out *jwriter.Writer)

func (*DropObjectsResponse_Body) MarshalJSON added in v0.43.0

func (x *DropObjectsResponse_Body) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (*DropObjectsResponse_Body) MarshalProtobuf added in v0.43.0

func (x *DropObjectsResponse_Body) MarshalProtobuf(dst []byte) []byte

MarshalProtobuf implements the encoding.ProtoMarshaler interface.

func (*DropObjectsResponse_Body) StableSize

func (x *DropObjectsResponse_Body) StableSize() (size int)

StableSize returns the size of x in protobuf format.

Structures with the same field values have the same binary size.

func (*DropObjectsResponse_Body) UnmarshalEasyJSON added in v0.43.0

func (x *DropObjectsResponse_Body) UnmarshalEasyJSON(in *jlexer.Lexer)

func (*DropObjectsResponse_Body) UnmarshalJSON added in v0.43.0

func (x *DropObjectsResponse_Body) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaler interface.

func (*DropObjectsResponse_Body) UnmarshalProtobuf added in v0.43.0

func (x *DropObjectsResponse_Body) UnmarshalProtobuf(src []byte) (err error)

UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.

type EvacuateShardRequest

type EvacuateShardRequest struct {
	Body      *EvacuateShardRequest_Body `json:"body"`
	Signature *Signature                 `json:"signature"`
}

func (*EvacuateShardRequest) EmitProtobuf added in v0.43.0

func (x *EvacuateShardRequest) EmitProtobuf(mm *easyproto.MessageMarshaler)

func (*EvacuateShardRequest) GetBody

func (*EvacuateShardRequest) GetSignature

func (x *EvacuateShardRequest) GetSignature() *Signature

func (*EvacuateShardRequest) MarshalEasyJSON added in v0.43.0

func (x *EvacuateShardRequest) MarshalEasyJSON(out *jwriter.Writer)

func (*EvacuateShardRequest) MarshalJSON added in v0.43.0

func (x *EvacuateShardRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (*EvacuateShardRequest) MarshalProtobuf added in v0.43.0

func (x *EvacuateShardRequest) MarshalProtobuf(dst []byte) []byte

MarshalProtobuf implements the encoding.ProtoMarshaler interface.

func (*EvacuateShardRequest) ReadSignedData

func (x *EvacuateShardRequest) ReadSignedData(buf []byte) ([]byte, error)

SignedDataSize returns size of the request signed data in bytes.

Structures with the same field values have the same signed data size.

func (*EvacuateShardRequest) SetBody added in v0.43.0

func (*EvacuateShardRequest) SetSignature

func (x *EvacuateShardRequest) SetSignature(v *Signature)

func (*EvacuateShardRequest) SignedDataSize

func (x *EvacuateShardRequest) SignedDataSize() int

ReadSignedData fills buf with signed data of x. If buffer length is less than x.SignedDataSize(), new buffer is allocated.

Returns any error encountered which did not allow writing the data completely. Otherwise, returns the buffer in which the data is written.

Structures with the same field values have the same signed data.

func (*EvacuateShardRequest) StableSize

func (x *EvacuateShardRequest) StableSize() (size int)

StableSize returns the size of x in protobuf format.

Structures with the same field values have the same binary size.

func (*EvacuateShardRequest) UnmarshalEasyJSON added in v0.43.0

func (x *EvacuateShardRequest) UnmarshalEasyJSON(in *jlexer.Lexer)

func (*EvacuateShardRequest) UnmarshalJSON added in v0.43.0

func (x *EvacuateShardRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaler interface.

func (*EvacuateShardRequest) UnmarshalProtobuf added in v0.43.0

func (x *EvacuateShardRequest) UnmarshalProtobuf(src []byte) (err error)

UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.

type EvacuateShardRequest_Body

type EvacuateShardRequest_Body struct {
	Shard_ID     [][]byte `json:"shardID"`
	IgnoreErrors bool     `json:"ignoreErrors"`
}

func (*EvacuateShardRequest_Body) EmitProtobuf added in v0.43.0

func (*EvacuateShardRequest_Body) GetIgnoreErrors

func (x *EvacuateShardRequest_Body) GetIgnoreErrors() bool

func (*EvacuateShardRequest_Body) GetShard_ID

func (x *EvacuateShardRequest_Body) GetShard_ID() [][]byte

func (*EvacuateShardRequest_Body) MarshalEasyJSON added in v0.43.0

func (x *EvacuateShardRequest_Body) MarshalEasyJSON(out *jwriter.Writer)

func (*EvacuateShardRequest_Body) MarshalJSON added in v0.43.0

func (x *EvacuateShardRequest_Body) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (*EvacuateShardRequest_Body) MarshalProtobuf added in v0.43.0

func (x *EvacuateShardRequest_Body) MarshalProtobuf(dst []byte) []byte

MarshalProtobuf implements the encoding.ProtoMarshaler interface.

func (*EvacuateShardRequest_Body) SetIgnoreErrors added in v0.43.0

func (x *EvacuateShardRequest_Body) SetIgnoreErrors(v bool)

func (*EvacuateShardRequest_Body) SetShard_ID added in v0.43.0

func (x *EvacuateShardRequest_Body) SetShard_ID(v [][]byte)

func (*EvacuateShardRequest_Body) StableSize

func (x *EvacuateShardRequest_Body) StableSize() (size int)

StableSize returns the size of x in protobuf format.

Structures with the same field values have the same binary size.

func (*EvacuateShardRequest_Body) UnmarshalEasyJSON added in v0.43.0

func (x *EvacuateShardRequest_Body) UnmarshalEasyJSON(in *jlexer.Lexer)

func (*EvacuateShardRequest_Body) UnmarshalJSON added in v0.43.0

func (x *EvacuateShardRequest_Body) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaler interface.

func (*EvacuateShardRequest_Body) UnmarshalProtobuf added in v0.43.0

func (x *EvacuateShardRequest_Body) UnmarshalProtobuf(src []byte) (err error)

UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.

type EvacuateShardResponse

type EvacuateShardResponse struct {
	Body      *EvacuateShardResponse_Body `json:"body"`
	Signature *Signature                  `json:"signature"`
}

func EvacuateShard

func EvacuateShard(cli *client.Client, req *EvacuateShardRequest, opts ...client.CallOption) (*EvacuateShardResponse, error)

EvacuateShard executes ControlService.EvacuateShard RPC.

func (*EvacuateShardResponse) EmitProtobuf added in v0.43.0

func (x *EvacuateShardResponse) EmitProtobuf(mm *easyproto.MessageMarshaler)

func (*EvacuateShardResponse) GetBody

func (*EvacuateShardResponse) GetSignature

func (x *EvacuateShardResponse) GetSignature() *Signature

func (*EvacuateShardResponse) MarshalEasyJSON added in v0.43.0

func (x *EvacuateShardResponse) MarshalEasyJSON(out *jwriter.Writer)

func (*EvacuateShardResponse) MarshalJSON added in v0.43.0

func (x *EvacuateShardResponse) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (*EvacuateShardResponse) MarshalProtobuf added in v0.43.0

func (x *EvacuateShardResponse) MarshalProtobuf(dst []byte) []byte

MarshalProtobuf implements the encoding.ProtoMarshaler interface.

func (*EvacuateShardResponse) ReadSignedData

func (x *EvacuateShardResponse) ReadSignedData(buf []byte) ([]byte, error)

SignedDataSize returns size of the request signed data in bytes.

Structures with the same field values have the same signed data size.

func (*EvacuateShardResponse) SetBody added in v0.43.0

func (*EvacuateShardResponse) SetSignature

func (x *EvacuateShardResponse) SetSignature(v *Signature)

func (*EvacuateShardResponse) SignedDataSize

func (x *EvacuateShardResponse) SignedDataSize() int

ReadSignedData fills buf with signed data of x. If buffer length is less than x.SignedDataSize(), new buffer is allocated.

Returns any error encountered which did not allow writing the data completely. Otherwise, returns the buffer in which the data is written.

Structures with the same field values have the same signed data.

func (*EvacuateShardResponse) StableSize

func (x *EvacuateShardResponse) StableSize() (size int)

StableSize returns the size of x in protobuf format.

Structures with the same field values have the same binary size.

func (*EvacuateShardResponse) UnmarshalEasyJSON added in v0.43.0

func (x *EvacuateShardResponse) UnmarshalEasyJSON(in *jlexer.Lexer)

func (*EvacuateShardResponse) UnmarshalJSON added in v0.43.0

func (x *EvacuateShardResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaler interface.

func (*EvacuateShardResponse) UnmarshalProtobuf added in v0.43.0

func (x *EvacuateShardResponse) UnmarshalProtobuf(src []byte) (err error)

UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.

type EvacuateShardResponse_Body

type EvacuateShardResponse_Body struct {
	Count uint32 `json:"count"`
}

func (*EvacuateShardResponse_Body) EmitProtobuf added in v0.43.0

func (*EvacuateShardResponse_Body) GetCount

func (x *EvacuateShardResponse_Body) GetCount() uint32

func (*EvacuateShardResponse_Body) MarshalEasyJSON added in v0.43.0

func (x *EvacuateShardResponse_Body) MarshalEasyJSON(out *jwriter.Writer)

func (*EvacuateShardResponse_Body) MarshalJSON added in v0.43.0

func (x *EvacuateShardResponse_Body) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (*EvacuateShardResponse_Body) MarshalProtobuf added in v0.43.0

func (x *EvacuateShardResponse_Body) MarshalProtobuf(dst []byte) []byte

MarshalProtobuf implements the encoding.ProtoMarshaler interface.

func (*EvacuateShardResponse_Body) SetCount added in v0.43.0

func (x *EvacuateShardResponse_Body) SetCount(v uint32)

func (*EvacuateShardResponse_Body) StableSize

func (x *EvacuateShardResponse_Body) StableSize() (size int)

StableSize returns the size of x in protobuf format.

Structures with the same field values have the same binary size.

func (*EvacuateShardResponse_Body) UnmarshalEasyJSON added in v0.43.0

func (x *EvacuateShardResponse_Body) UnmarshalEasyJSON(in *jlexer.Lexer)

func (*EvacuateShardResponse_Body) UnmarshalJSON added in v0.43.0

func (x *EvacuateShardResponse_Body) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaler interface.

func (*EvacuateShardResponse_Body) UnmarshalProtobuf added in v0.43.0

func (x *EvacuateShardResponse_Body) UnmarshalProtobuf(src []byte) (err error)

UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.

type FlushCacheRequest

type FlushCacheRequest struct {
	Body      *FlushCacheRequest_Body `json:"body"`
	Signature *Signature              `json:"signature"`
}

func (*FlushCacheRequest) EmitProtobuf added in v0.43.0

func (x *FlushCacheRequest) EmitProtobuf(mm *easyproto.MessageMarshaler)

func (*FlushCacheRequest) GetBody

func (*FlushCacheRequest) GetSignature

func (x *FlushCacheRequest) GetSignature() *Signature

func (*FlushCacheRequest) MarshalEasyJSON added in v0.43.0

func (x *FlushCacheRequest) MarshalEasyJSON(out *jwriter.Writer)

func (*FlushCacheRequest) MarshalJSON added in v0.43.0

func (x *FlushCacheRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (*FlushCacheRequest) MarshalProtobuf added in v0.43.0

func (x *FlushCacheRequest) MarshalProtobuf(dst []byte) []byte

MarshalProtobuf implements the encoding.ProtoMarshaler interface.

func (*FlushCacheRequest) ReadSignedData

func (x *FlushCacheRequest) ReadSignedData(buf []byte) ([]byte, error)

SignedDataSize returns size of the request signed data in bytes.

Structures with the same field values have the same signed data size.

func (*FlushCacheRequest) SetBody added in v0.43.0

func (*FlushCacheRequest) SetSignature

func (x *FlushCacheRequest) SetSignature(v *Signature)

func (*FlushCacheRequest) SignedDataSize

func (x *FlushCacheRequest) SignedDataSize() int

ReadSignedData fills buf with signed data of x. If buffer length is less than x.SignedDataSize(), new buffer is allocated.

Returns any error encountered which did not allow writing the data completely. Otherwise, returns the buffer in which the data is written.

Structures with the same field values have the same signed data.

func (*FlushCacheRequest) StableSize

func (x *FlushCacheRequest) StableSize() (size int)

StableSize returns the size of x in protobuf format.

Structures with the same field values have the same binary size.

func (*FlushCacheRequest) UnmarshalEasyJSON added in v0.43.0

func (x *FlushCacheRequest) UnmarshalEasyJSON(in *jlexer.Lexer)

func (*FlushCacheRequest) UnmarshalJSON added in v0.43.0

func (x *FlushCacheRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaler interface.

func (*FlushCacheRequest) UnmarshalProtobuf added in v0.43.0

func (x *FlushCacheRequest) UnmarshalProtobuf(src []byte) (err error)

UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.

type FlushCacheRequest_Body

type FlushCacheRequest_Body struct {
	Shard_ID [][]byte `json:"shardID"`
	Seal     bool     `json:"seal"`
}

func (*FlushCacheRequest_Body) EmitProtobuf added in v0.43.0

func (x *FlushCacheRequest_Body) EmitProtobuf(mm *easyproto.MessageMarshaler)

func (*FlushCacheRequest_Body) GetSeal added in v0.38.0

func (x *FlushCacheRequest_Body) GetSeal() bool

func (*FlushCacheRequest_Body) GetShard_ID

func (x *FlushCacheRequest_Body) GetShard_ID() [][]byte

func (*FlushCacheRequest_Body) MarshalEasyJSON added in v0.43.0

func (x *FlushCacheRequest_Body) MarshalEasyJSON(out *jwriter.Writer)

func (*FlushCacheRequest_Body) MarshalJSON added in v0.43.0

func (x *FlushCacheRequest_Body) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (*FlushCacheRequest_Body) MarshalProtobuf added in v0.43.0

func (x *FlushCacheRequest_Body) MarshalProtobuf(dst []byte) []byte

MarshalProtobuf implements the encoding.ProtoMarshaler interface.

func (*FlushCacheRequest_Body) SetSeal added in v0.43.0

func (x *FlushCacheRequest_Body) SetSeal(v bool)

func (*FlushCacheRequest_Body) SetShard_ID added in v0.43.0

func (x *FlushCacheRequest_Body) SetShard_ID(v [][]byte)

func (*FlushCacheRequest_Body) StableSize

func (x *FlushCacheRequest_Body) StableSize() (size int)

StableSize returns the size of x in protobuf format.

Structures with the same field values have the same binary size.

func (*FlushCacheRequest_Body) UnmarshalEasyJSON added in v0.43.0

func (x *FlushCacheRequest_Body) UnmarshalEasyJSON(in *jlexer.Lexer)

func (*FlushCacheRequest_Body) UnmarshalJSON added in v0.43.0

func (x *FlushCacheRequest_Body) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaler interface.

func (*FlushCacheRequest_Body) UnmarshalProtobuf added in v0.43.0

func (x *FlushCacheRequest_Body) UnmarshalProtobuf(src []byte) (err error)

UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.

type FlushCacheResponse

type FlushCacheResponse struct {
	Body      *FlushCacheResponse_Body `json:"body"`
	Signature *Signature               `json:"signature"`
}

func FlushCache

func FlushCache(cli *client.Client, req *FlushCacheRequest, opts ...client.CallOption) (*FlushCacheResponse, error)

FlushCache executes ControlService.FlushCache RPC.

func (*FlushCacheResponse) EmitProtobuf added in v0.43.0

func (x *FlushCacheResponse) EmitProtobuf(mm *easyproto.MessageMarshaler)

func (*FlushCacheResponse) GetBody

func (*FlushCacheResponse) GetSignature

func (x *FlushCacheResponse) GetSignature() *Signature

func (*FlushCacheResponse) MarshalEasyJSON added in v0.43.0

func (x *FlushCacheResponse) MarshalEasyJSON(out *jwriter.Writer)

func (*FlushCacheResponse) MarshalJSON added in v0.43.0

func (x *FlushCacheResponse) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (*FlushCacheResponse) MarshalProtobuf added in v0.43.0

func (x *FlushCacheResponse) MarshalProtobuf(dst []byte) []byte

MarshalProtobuf implements the encoding.ProtoMarshaler interface.

func (*FlushCacheResponse) ReadSignedData

func (x *FlushCacheResponse) ReadSignedData(buf []byte) ([]byte, error)

SignedDataSize returns size of the request signed data in bytes.

Structures with the same field values have the same signed data size.

func (*FlushCacheResponse) SetBody added in v0.43.0

func (*FlushCacheResponse) SetSignature

func (x *FlushCacheResponse) SetSignature(v *Signature)

func (*FlushCacheResponse) SignedDataSize

func (x *FlushCacheResponse) SignedDataSize() int

ReadSignedData fills buf with signed data of x. If buffer length is less than x.SignedDataSize(), new buffer is allocated.

Returns any error encountered which did not allow writing the data completely. Otherwise, returns the buffer in which the data is written.

Structures with the same field values have the same signed data.

func (*FlushCacheResponse) StableSize

func (x *FlushCacheResponse) StableSize() (size int)

StableSize returns the size of x in protobuf format.

Structures with the same field values have the same binary size.

func (*FlushCacheResponse) UnmarshalEasyJSON added in v0.43.0

func (x *FlushCacheResponse) UnmarshalEasyJSON(in *jlexer.Lexer)

func (*FlushCacheResponse) UnmarshalJSON added in v0.43.0

func (x *FlushCacheResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaler interface.

func (*FlushCacheResponse) UnmarshalProtobuf added in v0.43.0

func (x *FlushCacheResponse) UnmarshalProtobuf(src []byte) (err error)

UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.

type FlushCacheResponse_Body

type FlushCacheResponse_Body struct {
}

func (*FlushCacheResponse_Body) EmitProtobuf added in v0.43.0

func (x *FlushCacheResponse_Body) EmitProtobuf(mm *easyproto.MessageMarshaler)

func (*FlushCacheResponse_Body) MarshalEasyJSON added in v0.43.0

func (x *FlushCacheResponse_Body) MarshalEasyJSON(out *jwriter.Writer)

func (*FlushCacheResponse_Body) MarshalJSON added in v0.43.0

func (x *FlushCacheResponse_Body) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (*FlushCacheResponse_Body) MarshalProtobuf added in v0.43.0

func (x *FlushCacheResponse_Body) MarshalProtobuf(dst []byte) []byte

MarshalProtobuf implements the encoding.ProtoMarshaler interface.

func (*FlushCacheResponse_Body) StableSize

func (x *FlushCacheResponse_Body) StableSize() (size int)

StableSize returns the size of x in protobuf format.

Structures with the same field values have the same binary size.

func (*FlushCacheResponse_Body) UnmarshalEasyJSON added in v0.43.0

func (x *FlushCacheResponse_Body) UnmarshalEasyJSON(in *jlexer.Lexer)

func (*FlushCacheResponse_Body) UnmarshalJSON added in v0.43.0

func (x *FlushCacheResponse_Body) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaler interface.

func (*FlushCacheResponse_Body) UnmarshalProtobuf added in v0.43.0

func (x *FlushCacheResponse_Body) UnmarshalProtobuf(src []byte) (err error)

UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.

type GetChainLocalOverrideRequest added in v0.38.0

type GetChainLocalOverrideRequest struct {
	Body      *GetChainLocalOverrideRequest_Body `json:"body"`
	Signature *Signature                         `json:"signature"`
}

func (*GetChainLocalOverrideRequest) EmitProtobuf added in v0.43.0

func (*GetChainLocalOverrideRequest) GetBody added in v0.38.0

func (*GetChainLocalOverrideRequest) GetSignature added in v0.38.0

func (x *GetChainLocalOverrideRequest) GetSignature() *Signature

func (*GetChainLocalOverrideRequest) MarshalEasyJSON added in v0.43.0

func (x *GetChainLocalOverrideRequest) MarshalEasyJSON(out *jwriter.Writer)

func (*GetChainLocalOverrideRequest) MarshalJSON added in v0.43.0

func (x *GetChainLocalOverrideRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (*GetChainLocalOverrideRequest) MarshalProtobuf added in v0.43.0

func (x *GetChainLocalOverrideRequest) MarshalProtobuf(dst []byte) []byte

MarshalProtobuf implements the encoding.ProtoMarshaler interface.

func (*GetChainLocalOverrideRequest) ReadSignedData added in v0.38.0

func (x *GetChainLocalOverrideRequest) ReadSignedData(buf []byte) ([]byte, error)

SignedDataSize returns size of the request signed data in bytes.

Structures with the same field values have the same signed data size.

func (*GetChainLocalOverrideRequest) SetBody added in v0.43.0

func (*GetChainLocalOverrideRequest) SetSignature added in v0.38.0

func (x *GetChainLocalOverrideRequest) SetSignature(v *Signature)

func (*GetChainLocalOverrideRequest) SignedDataSize added in v0.38.0

func (x *GetChainLocalOverrideRequest) SignedDataSize() int

ReadSignedData fills buf with signed data of x. If buffer length is less than x.SignedDataSize(), new buffer is allocated.

Returns any error encountered which did not allow writing the data completely. Otherwise, returns the buffer in which the data is written.

Structures with the same field values have the same signed data.

func (*GetChainLocalOverrideRequest) StableSize added in v0.38.0

func (x *GetChainLocalOverrideRequest) StableSize() (size int)

StableSize returns the size of x in protobuf format.

Structures with the same field values have the same binary size.

func (*GetChainLocalOverrideRequest) UnmarshalEasyJSON added in v0.43.0

func (x *GetChainLocalOverrideRequest) UnmarshalEasyJSON(in *jlexer.Lexer)

func (*GetChainLocalOverrideRequest) UnmarshalJSON added in v0.43.0

func (x *GetChainLocalOverrideRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaler interface.

func (*GetChainLocalOverrideRequest) UnmarshalProtobuf added in v0.43.0

func (x *GetChainLocalOverrideRequest) UnmarshalProtobuf(src []byte) (err error)

UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.

type GetChainLocalOverrideRequest_Body added in v0.38.0

type GetChainLocalOverrideRequest_Body struct {
	Target  *ChainTarget `json:"target"`
	ChainId []byte       `json:"chainId"`
}

func (*GetChainLocalOverrideRequest_Body) EmitProtobuf added in v0.43.0

func (*GetChainLocalOverrideRequest_Body) GetChainId added in v0.38.0

func (x *GetChainLocalOverrideRequest_Body) GetChainId() []byte

func (*GetChainLocalOverrideRequest_Body) GetTarget added in v0.38.0

func (*GetChainLocalOverrideRequest_Body) MarshalEasyJSON added in v0.43.0

func (x *GetChainLocalOverrideRequest_Body) MarshalEasyJSON(out *jwriter.Writer)

func (*GetChainLocalOverrideRequest_Body) MarshalJSON added in v0.43.0

func (x *GetChainLocalOverrideRequest_Body) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (*GetChainLocalOverrideRequest_Body) MarshalProtobuf added in v0.43.0

func (x *GetChainLocalOverrideRequest_Body) MarshalProtobuf(dst []byte) []byte

MarshalProtobuf implements the encoding.ProtoMarshaler interface.

func (*GetChainLocalOverrideRequest_Body) SetChainId added in v0.43.0

func (x *GetChainLocalOverrideRequest_Body) SetChainId(v []byte)

func (*GetChainLocalOverrideRequest_Body) SetTarget added in v0.43.0

func (*GetChainLocalOverrideRequest_Body) StableSize added in v0.38.0

func (x *GetChainLocalOverrideRequest_Body) StableSize() (size int)

StableSize returns the size of x in protobuf format.

Structures with the same field values have the same binary size.

func (*GetChainLocalOverrideRequest_Body) UnmarshalEasyJSON added in v0.43.0

func (x *GetChainLocalOverrideRequest_Body) UnmarshalEasyJSON(in *jlexer.Lexer)

func (*GetChainLocalOverrideRequest_Body) UnmarshalJSON added in v0.43.0

func (x *GetChainLocalOverrideRequest_Body) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaler interface.

func (*GetChainLocalOverrideRequest_Body) UnmarshalProtobuf added in v0.43.0

func (x *GetChainLocalOverrideRequest_Body) UnmarshalProtobuf(src []byte) (err error)

UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.

type GetChainLocalOverrideResponse added in v0.38.0

type GetChainLocalOverrideResponse struct {
	Body      *GetChainLocalOverrideResponse_Body `json:"body"`
	Signature *Signature                          `json:"signature"`
}

func GetChainLocalOverride added in v0.38.0

func GetChainLocalOverride(cli *client.Client, req *GetChainLocalOverrideRequest, opts ...client.CallOption) (*GetChainLocalOverrideResponse, error)

RemoveChainLocalOverride executes ControlService.RemoveChainLocalOverride RPC.

func (*GetChainLocalOverrideResponse) EmitProtobuf added in v0.43.0

func (*GetChainLocalOverrideResponse) GetBody added in v0.38.0

func (*GetChainLocalOverrideResponse) GetSignature added in v0.38.0

func (x *GetChainLocalOverrideResponse) GetSignature() *Signature

func (*GetChainLocalOverrideResponse) MarshalEasyJSON added in v0.43.0

func (x *GetChainLocalOverrideResponse) MarshalEasyJSON(out *jwriter.Writer)

func (*GetChainLocalOverrideResponse) MarshalJSON added in v0.43.0

func (x *GetChainLocalOverrideResponse) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (*GetChainLocalOverrideResponse) MarshalProtobuf added in v0.43.0

func (x *GetChainLocalOverrideResponse) MarshalProtobuf(dst []byte) []byte

MarshalProtobuf implements the encoding.ProtoMarshaler interface.

func (*GetChainLocalOverrideResponse) ReadSignedData added in v0.38.0

func (x *GetChainLocalOverrideResponse) ReadSignedData(buf []byte) ([]byte, error)

SignedDataSize returns size of the request signed data in bytes.

Structures with the same field values have the same signed data size.

func (*GetChainLocalOverrideResponse) SetBody added in v0.43.0

func (*GetChainLocalOverrideResponse) SetSignature added in v0.38.0

func (x *GetChainLocalOverrideResponse) SetSignature(v *Signature)

func (*GetChainLocalOverrideResponse) SignedDataSize added in v0.38.0

func (x *GetChainLocalOverrideResponse) SignedDataSize() int

ReadSignedData fills buf with signed data of x. If buffer length is less than x.SignedDataSize(), new buffer is allocated.

Returns any error encountered which did not allow writing the data completely. Otherwise, returns the buffer in which the data is written.

Structures with the same field values have the same signed data.

func (*GetChainLocalOverrideResponse) StableSize added in v0.38.0

func (x *GetChainLocalOverrideResponse) StableSize() (size int)

StableSize returns the size of x in protobuf format.

Structures with the same field values have the same binary size.

func (*GetChainLocalOverrideResponse) UnmarshalEasyJSON added in v0.43.0

func (x *GetChainLocalOverrideResponse) UnmarshalEasyJSON(in *jlexer.Lexer)

func (*GetChainLocalOverrideResponse) UnmarshalJSON added in v0.43.0

func (x *GetChainLocalOverrideResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaler interface.

func (*GetChainLocalOverrideResponse) UnmarshalProtobuf added in v0.43.0

func (x *GetChainLocalOverrideResponse) UnmarshalProtobuf(src []byte) (err error)

UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.

type GetChainLocalOverrideResponse_Body added in v0.38.0

type GetChainLocalOverrideResponse_Body struct {
	Chain []byte `json:"chain"`
}

func (*GetChainLocalOverrideResponse_Body) EmitProtobuf added in v0.43.0

func (*GetChainLocalOverrideResponse_Body) GetChain added in v0.38.0

func (x *GetChainLocalOverrideResponse_Body) GetChain() []byte

func (*GetChainLocalOverrideResponse_Body) MarshalEasyJSON added in v0.43.0

func (x *GetChainLocalOverrideResponse_Body) MarshalEasyJSON(out *jwriter.Writer)

func (*GetChainLocalOverrideResponse_Body) MarshalJSON added in v0.43.0

func (x *GetChainLocalOverrideResponse_Body) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (*GetChainLocalOverrideResponse_Body) MarshalProtobuf added in v0.43.0

func (x *GetChainLocalOverrideResponse_Body) MarshalProtobuf(dst []byte) []byte

MarshalProtobuf implements the encoding.ProtoMarshaler interface.

func (*GetChainLocalOverrideResponse_Body) SetChain added in v0.43.0

func (x *GetChainLocalOverrideResponse_Body) SetChain(v []byte)

func (*GetChainLocalOverrideResponse_Body) StableSize added in v0.38.0

func (x *GetChainLocalOverrideResponse_Body) StableSize() (size int)

StableSize returns the size of x in protobuf format.

Structures with the same field values have the same binary size.

func (*GetChainLocalOverrideResponse_Body) UnmarshalEasyJSON added in v0.43.0

func (x *GetChainLocalOverrideResponse_Body) UnmarshalEasyJSON(in *jlexer.Lexer)

func (*GetChainLocalOverrideResponse_Body) UnmarshalJSON added in v0.43.0

func (x *GetChainLocalOverrideResponse_Body) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaler interface.

func (*GetChainLocalOverrideResponse_Body) UnmarshalProtobuf added in v0.43.0

func (x *GetChainLocalOverrideResponse_Body) UnmarshalProtobuf(src []byte) (err error)

UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.

type GetNetmapStatusRequest added in v0.42.0

type GetNetmapStatusRequest struct {
	Body      *GetNetmapStatusRequest_Body `json:"body"`
	Signature *Signature                   `json:"signature"`
}

func (*GetNetmapStatusRequest) EmitProtobuf added in v0.43.0

func (x *GetNetmapStatusRequest) EmitProtobuf(mm *easyproto.MessageMarshaler)

func (*GetNetmapStatusRequest) GetBody added in v0.42.0

func (*GetNetmapStatusRequest) GetSignature added in v0.42.0

func (x *GetNetmapStatusRequest) GetSignature() *Signature

func (*GetNetmapStatusRequest) MarshalEasyJSON added in v0.43.0

func (x *GetNetmapStatusRequest) MarshalEasyJSON(out *jwriter.Writer)

func (*GetNetmapStatusRequest) MarshalJSON added in v0.43.0

func (x *GetNetmapStatusRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (*GetNetmapStatusRequest) MarshalProtobuf added in v0.43.0

func (x *GetNetmapStatusRequest) MarshalProtobuf(dst []byte) []byte

MarshalProtobuf implements the encoding.ProtoMarshaler interface.

func (*GetNetmapStatusRequest) ReadSignedData added in v0.42.0

func (x *GetNetmapStatusRequest) ReadSignedData(buf []byte) ([]byte, error)

SignedDataSize returns size of the request signed data in bytes.

Structures with the same field values have the same signed data size.

func (*GetNetmapStatusRequest) SetBody added in v0.43.0

func (*GetNetmapStatusRequest) SetSignature added in v0.42.0

func (x *GetNetmapStatusRequest) SetSignature(v *Signature)

func (*GetNetmapStatusRequest) SignedDataSize added in v0.42.0

func (x *GetNetmapStatusRequest) SignedDataSize() int

ReadSignedData fills buf with signed data of x. If buffer length is less than x.SignedDataSize(), new buffer is allocated.

Returns any error encountered which did not allow writing the data completely. Otherwise, returns the buffer in which the data is written.

Structures with the same field values have the same signed data.

func (*GetNetmapStatusRequest) StableSize added in v0.42.0

func (x *GetNetmapStatusRequest) StableSize() (size int)

StableSize returns the size of x in protobuf format.

Structures with the same field values have the same binary size.

func (*GetNetmapStatusRequest) UnmarshalEasyJSON added in v0.43.0

func (x *GetNetmapStatusRequest) UnmarshalEasyJSON(in *jlexer.Lexer)

func (*GetNetmapStatusRequest) UnmarshalJSON added in v0.43.0

func (x *GetNetmapStatusRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaler interface.

func (*GetNetmapStatusRequest) UnmarshalProtobuf added in v0.43.0

func (x *GetNetmapStatusRequest) UnmarshalProtobuf(src []byte) (err error)

UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.

type GetNetmapStatusRequest_Body added in v0.42.0

type GetNetmapStatusRequest_Body struct {
}

func (*GetNetmapStatusRequest_Body) EmitProtobuf added in v0.43.0

func (*GetNetmapStatusRequest_Body) MarshalEasyJSON added in v0.43.0

func (x *GetNetmapStatusRequest_Body) MarshalEasyJSON(out *jwriter.Writer)

func (*GetNetmapStatusRequest_Body) MarshalJSON added in v0.43.0

func (x *GetNetmapStatusRequest_Body) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (*GetNetmapStatusRequest_Body) MarshalProtobuf added in v0.43.0

func (x *GetNetmapStatusRequest_Body) MarshalProtobuf(dst []byte) []byte

MarshalProtobuf implements the encoding.ProtoMarshaler interface.

func (*GetNetmapStatusRequest_Body) StableSize added in v0.42.0

func (x *GetNetmapStatusRequest_Body) StableSize() (size int)

StableSize returns the size of x in protobuf format.

Structures with the same field values have the same binary size.

func (*GetNetmapStatusRequest_Body) UnmarshalEasyJSON added in v0.43.0

func (x *GetNetmapStatusRequest_Body) UnmarshalEasyJSON(in *jlexer.Lexer)

func (*GetNetmapStatusRequest_Body) UnmarshalJSON added in v0.43.0

func (x *GetNetmapStatusRequest_Body) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaler interface.

func (*GetNetmapStatusRequest_Body) UnmarshalProtobuf added in v0.43.0

func (x *GetNetmapStatusRequest_Body) UnmarshalProtobuf(src []byte) (err error)

UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.

type GetNetmapStatusResponse added in v0.42.0

type GetNetmapStatusResponse struct {
	Body      *GetNetmapStatusResponse_Body `json:"body"`
	Signature *Signature                    `json:"signature"`
}

func GetNetmapStatus added in v0.42.0

func GetNetmapStatus(
	cli *client.Client,
	req *GetNetmapStatusRequest,
	opts ...client.CallOption,
) (*GetNetmapStatusResponse, error)

GetNetmapStatus executes ControlService.GetNetmapStatus RPC.

func (*GetNetmapStatusResponse) EmitProtobuf added in v0.43.0

func (x *GetNetmapStatusResponse) EmitProtobuf(mm *easyproto.MessageMarshaler)

func (*GetNetmapStatusResponse) GetBody added in v0.42.0

func (*GetNetmapStatusResponse) GetSignature added in v0.42.0

func (x *GetNetmapStatusResponse) GetSignature() *Signature

func (*GetNetmapStatusResponse) MarshalEasyJSON added in v0.43.0

func (x *GetNetmapStatusResponse) MarshalEasyJSON(out *jwriter.Writer)

func (*GetNetmapStatusResponse) MarshalJSON added in v0.43.0

func (x *GetNetmapStatusResponse) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (*GetNetmapStatusResponse) MarshalProtobuf added in v0.43.0

func (x *GetNetmapStatusResponse) MarshalProtobuf(dst []byte) []byte

MarshalProtobuf implements the encoding.ProtoMarshaler interface.

func (*GetNetmapStatusResponse) ReadSignedData added in v0.42.0

func (x *GetNetmapStatusResponse) ReadSignedData(buf []byte) ([]byte, error)

SignedDataSize returns size of the request signed data in bytes.

Structures with the same field values have the same signed data size.

func (*GetNetmapStatusResponse) SetBody added in v0.43.0

func (*GetNetmapStatusResponse) SetSignature added in v0.42.0

func (x *GetNetmapStatusResponse) SetSignature(v *Signature)

func (*GetNetmapStatusResponse) SignedDataSize added in v0.42.0

func (x *GetNetmapStatusResponse) SignedDataSize() int

ReadSignedData fills buf with signed data of x. If buffer length is less than x.SignedDataSize(), new buffer is allocated.

Returns any error encountered which did not allow writing the data completely. Otherwise, returns the buffer in which the data is written.

Structures with the same field values have the same signed data.

func (*GetNetmapStatusResponse) StableSize added in v0.42.0

func (x *GetNetmapStatusResponse) StableSize() (size int)

StableSize returns the size of x in protobuf format.

Structures with the same field values have the same binary size.

func (*GetNetmapStatusResponse) UnmarshalEasyJSON added in v0.43.0

func (x *GetNetmapStatusResponse) UnmarshalEasyJSON(in *jlexer.Lexer)

func (*GetNetmapStatusResponse) UnmarshalJSON added in v0.43.0

func (x *GetNetmapStatusResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaler interface.

func (*GetNetmapStatusResponse) UnmarshalProtobuf added in v0.43.0

func (x *GetNetmapStatusResponse) UnmarshalProtobuf(src []byte) (err error)

UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.

type GetNetmapStatusResponse_Body added in v0.42.0

type GetNetmapStatusResponse_Body struct {
	Status NetmapStatus `json:"status"`
	Epoch  uint64       `json:"epoch"`
}

func (*GetNetmapStatusResponse_Body) EmitProtobuf added in v0.43.0

func (*GetNetmapStatusResponse_Body) GetEpoch added in v0.42.0

func (x *GetNetmapStatusResponse_Body) GetEpoch() uint64

func (*GetNetmapStatusResponse_Body) GetStatus added in v0.42.0

func (*GetNetmapStatusResponse_Body) MarshalEasyJSON added in v0.43.0

func (x *GetNetmapStatusResponse_Body) MarshalEasyJSON(out *jwriter.Writer)

func (*GetNetmapStatusResponse_Body) MarshalJSON added in v0.43.0

func (x *GetNetmapStatusResponse_Body) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (*GetNetmapStatusResponse_Body) MarshalProtobuf added in v0.43.0

func (x *GetNetmapStatusResponse_Body) MarshalProtobuf(dst []byte) []byte

MarshalProtobuf implements the encoding.ProtoMarshaler interface.

func (*GetNetmapStatusResponse_Body) SetEpoch added in v0.43.0

func (x *GetNetmapStatusResponse_Body) SetEpoch(v uint64)

func (*GetNetmapStatusResponse_Body) SetStatus added in v0.43.0

func (*GetNetmapStatusResponse_Body) StableSize added in v0.42.0

func (x *GetNetmapStatusResponse_Body) StableSize() (size int)

StableSize returns the size of x in protobuf format.

Structures with the same field values have the same binary size.

func (*GetNetmapStatusResponse_Body) UnmarshalEasyJSON added in v0.43.0

func (x *GetNetmapStatusResponse_Body) UnmarshalEasyJSON(in *jlexer.Lexer)

func (*GetNetmapStatusResponse_Body) UnmarshalJSON added in v0.43.0

func (x *GetNetmapStatusResponse_Body) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaler interface.

func (*GetNetmapStatusResponse_Body) UnmarshalProtobuf added in v0.43.0

func (x *GetNetmapStatusResponse_Body) UnmarshalProtobuf(src []byte) (err error)

UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.

type GetShardEvacuationStatusRequest added in v0.37.0

type GetShardEvacuationStatusRequest struct {
	Body      *GetShardEvacuationStatusRequest_Body `json:"body"`
	Signature *Signature                            `json:"signature"`
}

func (*GetShardEvacuationStatusRequest) EmitProtobuf added in v0.43.0

func (*GetShardEvacuationStatusRequest) GetBody added in v0.37.0

func (*GetShardEvacuationStatusRequest) GetSignature added in v0.37.0

func (x *GetShardEvacuationStatusRequest) GetSignature() *Signature

func (*GetShardEvacuationStatusRequest) MarshalEasyJSON added in v0.43.0

func (x *GetShardEvacuationStatusRequest) MarshalEasyJSON(out *jwriter.Writer)

func (*GetShardEvacuationStatusRequest) MarshalJSON added in v0.43.0

func (x *GetShardEvacuationStatusRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (*GetShardEvacuationStatusRequest) MarshalProtobuf added in v0.43.0

func (x *GetShardEvacuationStatusRequest) MarshalProtobuf(dst []byte) []byte

MarshalProtobuf implements the encoding.ProtoMarshaler interface.

func (*GetShardEvacuationStatusRequest) ReadSignedData added in v0.37.0

func (x *GetShardEvacuationStatusRequest) ReadSignedData(buf []byte) ([]byte, error)

SignedDataSize returns size of the request signed data in bytes.

Structures with the same field values have the same signed data size.

func (*GetShardEvacuationStatusRequest) SetBody added in v0.43.0

func (*GetShardEvacuationStatusRequest) SetSignature added in v0.37.0

func (x *GetShardEvacuationStatusRequest) SetSignature(v *Signature)

func (*GetShardEvacuationStatusRequest) SignedDataSize added in v0.37.0

func (x *GetShardEvacuationStatusRequest) SignedDataSize() int

ReadSignedData fills buf with signed data of x. If buffer length is less than x.SignedDataSize(), new buffer is allocated.

Returns any error encountered which did not allow writing the data completely. Otherwise, returns the buffer in which the data is written.

Structures with the same field values have the same signed data.

func (*GetShardEvacuationStatusRequest) StableSize added in v0.37.0

func (x *GetShardEvacuationStatusRequest) StableSize() (size int)

StableSize returns the size of x in protobuf format.

Structures with the same field values have the same binary size.

func (*GetShardEvacuationStatusRequest) UnmarshalEasyJSON added in v0.43.0

func (x *GetShardEvacuationStatusRequest) UnmarshalEasyJSON(in *jlexer.Lexer)

func (*GetShardEvacuationStatusRequest) UnmarshalJSON added in v0.43.0

func (x *GetShardEvacuationStatusRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaler interface.

func (*GetShardEvacuationStatusRequest) UnmarshalProtobuf added in v0.43.0

func (x *GetShardEvacuationStatusRequest) UnmarshalProtobuf(src []byte) (err error)

UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.

type GetShardEvacuationStatusRequest_Body added in v0.37.0

type GetShardEvacuationStatusRequest_Body struct {
}

func (*GetShardEvacuationStatusRequest_Body) EmitProtobuf added in v0.43.0

func (*GetShardEvacuationStatusRequest_Body) MarshalEasyJSON added in v0.43.0

func (x *GetShardEvacuationStatusRequest_Body) MarshalEasyJSON(out *jwriter.Writer)

func (*GetShardEvacuationStatusRequest_Body) MarshalJSON added in v0.43.0

func (x *GetShardEvacuationStatusRequest_Body) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (*GetShardEvacuationStatusRequest_Body) MarshalProtobuf added in v0.43.0

func (x *GetShardEvacuationStatusRequest_Body) MarshalProtobuf(dst []byte) []byte

MarshalProtobuf implements the encoding.ProtoMarshaler interface.

func (*GetShardEvacuationStatusRequest_Body) StableSize added in v0.37.0

func (x *GetShardEvacuationStatusRequest_Body) StableSize() (size int)

StableSize returns the size of x in protobuf format.

Structures with the same field values have the same binary size.

func (*GetShardEvacuationStatusRequest_Body) UnmarshalEasyJSON added in v0.43.0

func (x *GetShardEvacuationStatusRequest_Body) UnmarshalEasyJSON(in *jlexer.Lexer)

func (*GetShardEvacuationStatusRequest_Body) UnmarshalJSON added in v0.43.0

func (x *GetShardEvacuationStatusRequest_Body) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaler interface.

func (*GetShardEvacuationStatusRequest_Body) UnmarshalProtobuf added in v0.43.0

func (x *GetShardEvacuationStatusRequest_Body) UnmarshalProtobuf(src []byte) (err error)

UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.

type GetShardEvacuationStatusResponse added in v0.37.0

type GetShardEvacuationStatusResponse struct {
	Body      *GetShardEvacuationStatusResponse_Body `json:"body"`
	Signature *Signature                             `json:"signature"`
}

func GetShardEvacuationStatus added in v0.37.0

GetShardEvacuationStatus executes ControlService.GetShardEvacuationStatus RPC.

func (*GetShardEvacuationStatusResponse) EmitProtobuf added in v0.43.0

func (*GetShardEvacuationStatusResponse) GetBody added in v0.37.0

func (*GetShardEvacuationStatusResponse) GetSignature added in v0.37.0

func (x *GetShardEvacuationStatusResponse) GetSignature() *Signature

func (*GetShardEvacuationStatusResponse) MarshalEasyJSON added in v0.43.0

func (x *GetShardEvacuationStatusResponse) MarshalEasyJSON(out *jwriter.Writer)

func (*GetShardEvacuationStatusResponse) MarshalJSON added in v0.43.0

func (x *GetShardEvacuationStatusResponse) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (*GetShardEvacuationStatusResponse) MarshalProtobuf added in v0.43.0

func (x *GetShardEvacuationStatusResponse) MarshalProtobuf(dst []byte) []byte

MarshalProtobuf implements the encoding.ProtoMarshaler interface.

func (*GetShardEvacuationStatusResponse) ReadSignedData added in v0.37.0

func (x *GetShardEvacuationStatusResponse) ReadSignedData(buf []byte) ([]byte, error)

SignedDataSize returns size of the request signed data in bytes.

Structures with the same field values have the same signed data size.

func (*GetShardEvacuationStatusResponse) SetBody added in v0.43.0

func (*GetShardEvacuationStatusResponse) SetSignature added in v0.37.0

func (x *GetShardEvacuationStatusResponse) SetSignature(v *Signature)

func (*GetShardEvacuationStatusResponse) SignedDataSize added in v0.37.0

func (x *GetShardEvacuationStatusResponse) SignedDataSize() int

ReadSignedData fills buf with signed data of x. If buffer length is less than x.SignedDataSize(), new buffer is allocated.

Returns any error encountered which did not allow writing the data completely. Otherwise, returns the buffer in which the data is written.

Structures with the same field values have the same signed data.

func (*GetShardEvacuationStatusResponse) StableSize added in v0.37.0

func (x *GetShardEvacuationStatusResponse) StableSize() (size int)

StableSize returns the size of x in protobuf format.

Structures with the same field values have the same binary size.

func (*GetShardEvacuationStatusResponse) UnmarshalEasyJSON added in v0.43.0

func (x *GetShardEvacuationStatusResponse) UnmarshalEasyJSON(in *jlexer.Lexer)

func (*GetShardEvacuationStatusResponse) UnmarshalJSON added in v0.43.0

func (x *GetShardEvacuationStatusResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaler interface.

func (*GetShardEvacuationStatusResponse) UnmarshalProtobuf added in v0.43.0

func (x *GetShardEvacuationStatusResponse) UnmarshalProtobuf(src []byte) (err error)

UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.

type GetShardEvacuationStatusResponse_Body added in v0.37.0

type GetShardEvacuationStatusResponse_Body struct {
	TotalObjects     uint64                                               `json:"totalObjects"`
	EvacuatedObjects uint64                                               `json:"evacuatedObjects"`
	FailedObjects    uint64                                               `json:"failedObjects"`
	Shard_ID         [][]byte                                             `json:"shardID"`
	Status           GetShardEvacuationStatusResponse_Body_Status         `json:"status"`
	Duration         *GetShardEvacuationStatusResponse_Body_Duration      `json:"duration"`
	StartedAt        *GetShardEvacuationStatusResponse_Body_UnixTimestamp `json:"startedAt"`
	ErrorMessage     string                                               `json:"errorMessage"`
	SkippedObjects   uint64                                               `json:"skippedObjects"`
	TotalTrees       uint64                                               `json:"totalTrees"`
	EvacuatedTrees   uint64                                               `json:"evacuatedTrees"`
	FailedTrees      uint64                                               `json:"failedTrees"`
}

func (*GetShardEvacuationStatusResponse_Body) EmitProtobuf added in v0.43.0

func (*GetShardEvacuationStatusResponse_Body) GetDuration added in v0.37.0

func (*GetShardEvacuationStatusResponse_Body) GetErrorMessage added in v0.37.0

func (x *GetShardEvacuationStatusResponse_Body) GetErrorMessage() string

func (*GetShardEvacuationStatusResponse_Body) GetEvacuatedObjects added in v0.38.0

func (x *GetShardEvacuationStatusResponse_Body) GetEvacuatedObjects() uint64

func (*GetShardEvacuationStatusResponse_Body) GetEvacuatedTrees added in v0.38.0

func (x *GetShardEvacuationStatusResponse_Body) GetEvacuatedTrees() uint64

func (*GetShardEvacuationStatusResponse_Body) GetFailedObjects added in v0.38.0

func (x *GetShardEvacuationStatusResponse_Body) GetFailedObjects() uint64

func (*GetShardEvacuationStatusResponse_Body) GetFailedTrees added in v0.38.0

func (x *GetShardEvacuationStatusResponse_Body) GetFailedTrees() uint64

func (*GetShardEvacuationStatusResponse_Body) GetShard_ID added in v0.37.0

func (x *GetShardEvacuationStatusResponse_Body) GetShard_ID() [][]byte

func (*GetShardEvacuationStatusResponse_Body) GetSkippedObjects added in v0.38.0

func (x *GetShardEvacuationStatusResponse_Body) GetSkippedObjects() uint64

func (*GetShardEvacuationStatusResponse_Body) GetStartedAt added in v0.37.0

func (*GetShardEvacuationStatusResponse_Body) GetStatus added in v0.37.0

func (*GetShardEvacuationStatusResponse_Body) GetTotalObjects added in v0.38.0

func (x *GetShardEvacuationStatusResponse_Body) GetTotalObjects() uint64

func (*GetShardEvacuationStatusResponse_Body) GetTotalTrees added in v0.38.0

func (x *GetShardEvacuationStatusResponse_Body) GetTotalTrees() uint64

func (*GetShardEvacuationStatusResponse_Body) MarshalEasyJSON added in v0.43.0

func (x *GetShardEvacuationStatusResponse_Body) MarshalEasyJSON(out *jwriter.Writer)

func (*GetShardEvacuationStatusResponse_Body) MarshalJSON added in v0.43.0

func (x *GetShardEvacuationStatusResponse_Body) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (*GetShardEvacuationStatusResponse_Body) MarshalProtobuf added in v0.43.0

func (x *GetShardEvacuationStatusResponse_Body) MarshalProtobuf(dst []byte) []byte

MarshalProtobuf implements the encoding.ProtoMarshaler interface.

func (*GetShardEvacuationStatusResponse_Body) SetDuration added in v0.43.0

func (*GetShardEvacuationStatusResponse_Body) SetErrorMessage added in v0.43.0

func (x *GetShardEvacuationStatusResponse_Body) SetErrorMessage(v string)

func (*GetShardEvacuationStatusResponse_Body) SetEvacuatedObjects added in v0.43.0

func (x *GetShardEvacuationStatusResponse_Body) SetEvacuatedObjects(v uint64)

func (*GetShardEvacuationStatusResponse_Body) SetEvacuatedTrees added in v0.43.0

func (x *GetShardEvacuationStatusResponse_Body) SetEvacuatedTrees(v uint64)

func (*GetShardEvacuationStatusResponse_Body) SetFailedObjects added in v0.43.0

func (x *GetShardEvacuationStatusResponse_Body) SetFailedObjects(v uint64)

func (*GetShardEvacuationStatusResponse_Body) SetFailedTrees added in v0.43.0

func (x *GetShardEvacuationStatusResponse_Body) SetFailedTrees(v uint64)

func (*GetShardEvacuationStatusResponse_Body) SetShard_ID added in v0.43.0

func (x *GetShardEvacuationStatusResponse_Body) SetShard_ID(v [][]byte)

func (*GetShardEvacuationStatusResponse_Body) SetSkippedObjects added in v0.43.0

func (x *GetShardEvacuationStatusResponse_Body) SetSkippedObjects(v uint64)

func (*GetShardEvacuationStatusResponse_Body) SetStartedAt added in v0.43.0

func (*GetShardEvacuationStatusResponse_Body) SetStatus added in v0.43.0

func (*GetShardEvacuationStatusResponse_Body) SetTotalObjects added in v0.43.0

func (x *GetShardEvacuationStatusResponse_Body) SetTotalObjects(v uint64)

func (*GetShardEvacuationStatusResponse_Body) SetTotalTrees added in v0.43.0

func (x *GetShardEvacuationStatusResponse_Body) SetTotalTrees(v uint64)

func (*GetShardEvacuationStatusResponse_Body) StableSize added in v0.37.0

func (x *GetShardEvacuationStatusResponse_Body) StableSize() (size int)

StableSize returns the size of x in protobuf format.

Structures with the same field values have the same binary size.

func (*GetShardEvacuationStatusResponse_Body) UnmarshalEasyJSON added in v0.43.0

func (x *GetShardEvacuationStatusResponse_Body) UnmarshalEasyJSON(in *jlexer.Lexer)

func (*GetShardEvacuationStatusResponse_Body) UnmarshalJSON added in v0.43.0

func (x *GetShardEvacuationStatusResponse_Body) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaler interface.

func (*GetShardEvacuationStatusResponse_Body) UnmarshalProtobuf added in v0.43.0

func (x *GetShardEvacuationStatusResponse_Body) UnmarshalProtobuf(src []byte) (err error)

UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.

type GetShardEvacuationStatusResponse_Body_Duration added in v0.37.0

type GetShardEvacuationStatusResponse_Body_Duration struct {
	Seconds int64 `json:"seconds"`
}

func (*GetShardEvacuationStatusResponse_Body_Duration) EmitProtobuf added in v0.43.0

func (*GetShardEvacuationStatusResponse_Body_Duration) GetSeconds added in v0.37.0

func (*GetShardEvacuationStatusResponse_Body_Duration) MarshalEasyJSON added in v0.43.0

func (*GetShardEvacuationStatusResponse_Body_Duration) MarshalJSON added in v0.43.0

MarshalJSON implements the json.Marshaler interface.

func (*GetShardEvacuationStatusResponse_Body_Duration) MarshalProtobuf added in v0.43.0

func (x *GetShardEvacuationStatusResponse_Body_Duration) MarshalProtobuf(dst []byte) []byte

MarshalProtobuf implements the encoding.ProtoMarshaler interface.

func (*GetShardEvacuationStatusResponse_Body_Duration) SetSeconds added in v0.43.0

func (*GetShardEvacuationStatusResponse_Body_Duration) StableSize added in v0.37.0

func (x *GetShardEvacuationStatusResponse_Body_Duration) StableSize() (size int)

StableSize returns the size of x in protobuf format.

Structures with the same field values have the same binary size.

func (*GetShardEvacuationStatusResponse_Body_Duration) UnmarshalEasyJSON added in v0.43.0

func (*GetShardEvacuationStatusResponse_Body_Duration) UnmarshalJSON added in v0.43.0

UnmarshalJSON implements the json.Unmarshaler interface.

func (*GetShardEvacuationStatusResponse_Body_Duration) UnmarshalProtobuf added in v0.43.0

func (x *GetShardEvacuationStatusResponse_Body_Duration) UnmarshalProtobuf(src []byte) (err error)

UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.

type GetShardEvacuationStatusResponse_Body_Status added in v0.37.0

type GetShardEvacuationStatusResponse_Body_Status int32
const (
	GetShardEvacuationStatusResponse_Body_EVACUATE_SHARD_STATUS_UNDEFINED GetShardEvacuationStatusResponse_Body_Status = 0
	GetShardEvacuationStatusResponse_Body_RUNNING                         GetShardEvacuationStatusResponse_Body_Status = 1
	GetShardEvacuationStatusResponse_Body_COMPLETED                       GetShardEvacuationStatusResponse_Body_Status = 2
)

func (*GetShardEvacuationStatusResponse_Body_Status) FromString added in v0.43.0

func (GetShardEvacuationStatusResponse_Body_Status) String added in v0.37.0

type GetShardEvacuationStatusResponse_Body_UnixTimestamp added in v0.37.0

type GetShardEvacuationStatusResponse_Body_UnixTimestamp struct {
	Value int64 `json:"value"`
}

func (*GetShardEvacuationStatusResponse_Body_UnixTimestamp) EmitProtobuf added in v0.43.0

func (*GetShardEvacuationStatusResponse_Body_UnixTimestamp) GetValue added in v0.37.0

func (*GetShardEvacuationStatusResponse_Body_UnixTimestamp) MarshalEasyJSON added in v0.43.0

func (*GetShardEvacuationStatusResponse_Body_UnixTimestamp) MarshalJSON added in v0.43.0

MarshalJSON implements the json.Marshaler interface.

func (*GetShardEvacuationStatusResponse_Body_UnixTimestamp) MarshalProtobuf added in v0.43.0

MarshalProtobuf implements the encoding.ProtoMarshaler interface.

func (*GetShardEvacuationStatusResponse_Body_UnixTimestamp) SetValue added in v0.43.0

func (*GetShardEvacuationStatusResponse_Body_UnixTimestamp) StableSize added in v0.37.0

StableSize returns the size of x in protobuf format.

Structures with the same field values have the same binary size.

func (*GetShardEvacuationStatusResponse_Body_UnixTimestamp) UnmarshalEasyJSON added in v0.43.0

func (*GetShardEvacuationStatusResponse_Body_UnixTimestamp) UnmarshalJSON added in v0.43.0

UnmarshalJSON implements the json.Unmarshaler interface.

func (*GetShardEvacuationStatusResponse_Body_UnixTimestamp) UnmarshalProtobuf added in v0.43.0

func (x *GetShardEvacuationStatusResponse_Body_UnixTimestamp) UnmarshalProtobuf(src []byte) (err error)

UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.

type HealthCheckRequest

type HealthCheckRequest struct {
	Body      *HealthCheckRequest_Body `json:"body"`
	Signature *Signature               `json:"signature"`
}

func (*HealthCheckRequest) EmitProtobuf added in v0.43.0

func (x *HealthCheckRequest) EmitProtobuf(mm *easyproto.MessageMarshaler)

func (*HealthCheckRequest) GetBody

func (*HealthCheckRequest) GetSignature

func (x *HealthCheckRequest) GetSignature() *Signature

func (*HealthCheckRequest) MarshalEasyJSON added in v0.43.0

func (x *HealthCheckRequest) MarshalEasyJSON(out *jwriter.Writer)

func (*HealthCheckRequest) MarshalJSON added in v0.43.0

func (x *HealthCheckRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (*HealthCheckRequest) MarshalProtobuf added in v0.43.0

func (x *HealthCheckRequest) MarshalProtobuf(dst []byte) []byte

MarshalProtobuf implements the encoding.ProtoMarshaler interface.

func (*HealthCheckRequest) ReadSignedData

func (x *HealthCheckRequest) ReadSignedData(buf []byte) ([]byte, error)

SignedDataSize returns size of the request signed data in bytes.

Structures with the same field values have the same signed data size.

func (*HealthCheckRequest) SetBody

func (*HealthCheckRequest) SetSignature

func (x *HealthCheckRequest) SetSignature(v *Signature)

func (*HealthCheckRequest) SignedDataSize

func (x *HealthCheckRequest) SignedDataSize() int

ReadSignedData fills buf with signed data of x. If buffer length is less than x.SignedDataSize(), new buffer is allocated.

Returns any error encountered which did not allow writing the data completely. Otherwise, returns the buffer in which the data is written.

Structures with the same field values have the same signed data.

func (*HealthCheckRequest) StableSize

func (x *HealthCheckRequest) StableSize() (size int)

StableSize returns the size of x in protobuf format.

Structures with the same field values have the same binary size.

func (*HealthCheckRequest) UnmarshalEasyJSON added in v0.43.0

func (x *HealthCheckRequest) UnmarshalEasyJSON(in *jlexer.Lexer)

func (*HealthCheckRequest) UnmarshalJSON added in v0.43.0

func (x *HealthCheckRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaler interface.

func (*HealthCheckRequest) UnmarshalProtobuf added in v0.43.0

func (x *HealthCheckRequest) UnmarshalProtobuf(src []byte) (err error)

UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.

type HealthCheckRequest_Body

type HealthCheckRequest_Body struct {
}

func (*HealthCheckRequest_Body) EmitProtobuf added in v0.43.0

func (x *HealthCheckRequest_Body) EmitProtobuf(mm *easyproto.MessageMarshaler)

func (*HealthCheckRequest_Body) MarshalEasyJSON added in v0.43.0

func (x *HealthCheckRequest_Body) MarshalEasyJSON(out *jwriter.Writer)

func (*HealthCheckRequest_Body) MarshalJSON added in v0.43.0

func (x *HealthCheckRequest_Body) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (*HealthCheckRequest_Body) MarshalProtobuf added in v0.43.0

func (x *HealthCheckRequest_Body) MarshalProtobuf(dst []byte) []byte

MarshalProtobuf implements the encoding.ProtoMarshaler interface.

func (*HealthCheckRequest_Body) StableSize

func (x *HealthCheckRequest_Body) StableSize() (size int)

StableSize returns the size of x in protobuf format.

Structures with the same field values have the same binary size.

func (*HealthCheckRequest_Body) UnmarshalEasyJSON added in v0.43.0

func (x *HealthCheckRequest_Body) UnmarshalEasyJSON(in *jlexer.Lexer)

func (*HealthCheckRequest_Body) UnmarshalJSON added in v0.43.0

func (x *HealthCheckRequest_Body) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaler interface.

func (*HealthCheckRequest_Body) UnmarshalProtobuf added in v0.43.0

func (x *HealthCheckRequest_Body) UnmarshalProtobuf(src []byte) (err error)

UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.

type HealthCheckResponse

type HealthCheckResponse struct {
	Body      *HealthCheckResponse_Body `json:"body"`
	Signature *Signature                `json:"signature"`
}

func HealthCheck

func HealthCheck(
	cli *client.Client,
	req *HealthCheckRequest,
	opts ...client.CallOption,
) (*HealthCheckResponse, error)

HealthCheck executes ControlService.HealthCheck RPC.

func (*HealthCheckResponse) EmitProtobuf added in v0.43.0

func (x *HealthCheckResponse) EmitProtobuf(mm *easyproto.MessageMarshaler)

func (*HealthCheckResponse) GetBody

func (*HealthCheckResponse) GetSignature

func (x *HealthCheckResponse) GetSignature() *Signature

func (*HealthCheckResponse) MarshalEasyJSON added in v0.43.0

func (x *HealthCheckResponse) MarshalEasyJSON(out *jwriter.Writer)

func (*HealthCheckResponse) MarshalJSON added in v0.43.0

func (x *HealthCheckResponse) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (*HealthCheckResponse) MarshalProtobuf added in v0.43.0

func (x *HealthCheckResponse) MarshalProtobuf(dst []byte) []byte

MarshalProtobuf implements the encoding.ProtoMarshaler interface.

func (*HealthCheckResponse) ReadSignedData

func (x *HealthCheckResponse) ReadSignedData(buf []byte) ([]byte, error)

SignedDataSize returns size of the request signed data in bytes.

Structures with the same field values have the same signed data size.

func (*HealthCheckResponse) SetBody

func (*HealthCheckResponse) SetSignature

func (x *HealthCheckResponse) SetSignature(v *Signature)

func (*HealthCheckResponse) SignedDataSize

func (x *HealthCheckResponse) SignedDataSize() int

ReadSignedData fills buf with signed data of x. If buffer length is less than x.SignedDataSize(), new buffer is allocated.

Returns any error encountered which did not allow writing the data completely. Otherwise, returns the buffer in which the data is written.

Structures with the same field values have the same signed data.

func (*HealthCheckResponse) StableSize

func (x *HealthCheckResponse) StableSize() (size int)

StableSize returns the size of x in protobuf format.

Structures with the same field values have the same binary size.

func (*HealthCheckResponse) UnmarshalEasyJSON added in v0.43.0

func (x *HealthCheckResponse) UnmarshalEasyJSON(in *jlexer.Lexer)

func (*HealthCheckResponse) UnmarshalJSON added in v0.43.0

func (x *HealthCheckResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaler interface.

func (*HealthCheckResponse) UnmarshalProtobuf added in v0.43.0

func (x *HealthCheckResponse) UnmarshalProtobuf(src []byte) (err error)

UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.

type HealthCheckResponse_Body

type HealthCheckResponse_Body struct {
	NetmapStatus NetmapStatus `json:"netmapStatus"`
	HealthStatus HealthStatus `json:"healthStatus"`
}

func (*HealthCheckResponse_Body) EmitProtobuf added in v0.43.0

func (*HealthCheckResponse_Body) GetHealthStatus

func (x *HealthCheckResponse_Body) GetHealthStatus() HealthStatus

func (*HealthCheckResponse_Body) GetNetmapStatus

func (x *HealthCheckResponse_Body) GetNetmapStatus() NetmapStatus

func (*HealthCheckResponse_Body) MarshalEasyJSON added in v0.43.0

func (x *HealthCheckResponse_Body) MarshalEasyJSON(out *jwriter.Writer)

func (*HealthCheckResponse_Body) MarshalJSON added in v0.43.0

func (x *HealthCheckResponse_Body) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (*HealthCheckResponse_Body) MarshalProtobuf added in v0.43.0

func (x *HealthCheckResponse_Body) MarshalProtobuf(dst []byte) []byte

MarshalProtobuf implements the encoding.ProtoMarshaler interface.

func (*HealthCheckResponse_Body) SetHealthStatus

func (x *HealthCheckResponse_Body) SetHealthStatus(v HealthStatus)

func (*HealthCheckResponse_Body) SetNetmapStatus

func (x *HealthCheckResponse_Body) SetNetmapStatus(v NetmapStatus)

func (*HealthCheckResponse_Body) StableSize

func (x *HealthCheckResponse_Body) StableSize() (size int)

StableSize returns the size of x in protobuf format.

Structures with the same field values have the same binary size.

func (*HealthCheckResponse_Body) UnmarshalEasyJSON added in v0.43.0

func (x *HealthCheckResponse_Body) UnmarshalEasyJSON(in *jlexer.Lexer)

func (*HealthCheckResponse_Body) UnmarshalJSON added in v0.43.0

func (x *HealthCheckResponse_Body) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaler interface.

func (*HealthCheckResponse_Body) UnmarshalProtobuf added in v0.43.0

func (x *HealthCheckResponse_Body) UnmarshalProtobuf(src []byte) (err error)

UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.

type HealthStatus

type HealthStatus int32
const (
	HealthStatus_HEALTH_STATUS_UNDEFINED HealthStatus = 0
	HealthStatus_STARTING                HealthStatus = 1
	HealthStatus_READY                   HealthStatus = 2
	HealthStatus_SHUTTING_DOWN           HealthStatus = 3
	HealthStatus_RECONFIGURING           HealthStatus = 4
)

func (*HealthStatus) FromString added in v0.43.0

func (x *HealthStatus) FromString(s string) bool

func (HealthStatus) String

func (x HealthStatus) String() string

type ListChainLocalOverridesRequest added in v0.38.0

type ListChainLocalOverridesRequest struct {
	Body      *ListChainLocalOverridesRequest_Body `json:"body"`
	Signature *Signature                           `json:"signature"`
}

func (*ListChainLocalOverridesRequest) EmitProtobuf added in v0.43.0

func (*ListChainLocalOverridesRequest) GetBody added in v0.38.0

func (*ListChainLocalOverridesRequest) GetSignature added in v0.38.0

func (x *ListChainLocalOverridesRequest) GetSignature() *Signature

func (*ListChainLocalOverridesRequest) MarshalEasyJSON added in v0.43.0

func (x *ListChainLocalOverridesRequest) MarshalEasyJSON(out *jwriter.Writer)

func (*ListChainLocalOverridesRequest) MarshalJSON added in v0.43.0

func (x *ListChainLocalOverridesRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (*ListChainLocalOverridesRequest) MarshalProtobuf added in v0.43.0

func (x *ListChainLocalOverridesRequest) MarshalProtobuf(dst []byte) []byte

MarshalProtobuf implements the encoding.ProtoMarshaler interface.

func (*ListChainLocalOverridesRequest) ReadSignedData added in v0.38.0

func (x *ListChainLocalOverridesRequest) ReadSignedData(buf []byte) ([]byte, error)

SignedDataSize returns size of the request signed data in bytes.

Structures with the same field values have the same signed data size.

func (*ListChainLocalOverridesRequest) SetBody added in v0.43.0

func (*ListChainLocalOverridesRequest) SetSignature added in v0.38.0

func (x *ListChainLocalOverridesRequest) SetSignature(v *Signature)

func (*ListChainLocalOverridesRequest) SignedDataSize added in v0.38.0

func (x *ListChainLocalOverridesRequest) SignedDataSize() int

ReadSignedData fills buf with signed data of x. If buffer length is less than x.SignedDataSize(), new buffer is allocated.

Returns any error encountered which did not allow writing the data completely. Otherwise, returns the buffer in which the data is written.

Structures with the same field values have the same signed data.

func (*ListChainLocalOverridesRequest) StableSize added in v0.38.0

func (x *ListChainLocalOverridesRequest) StableSize() (size int)

StableSize returns the size of x in protobuf format.

Structures with the same field values have the same binary size.

func (*ListChainLocalOverridesRequest) UnmarshalEasyJSON added in v0.43.0

func (x *ListChainLocalOverridesRequest) UnmarshalEasyJSON(in *jlexer.Lexer)

func (*ListChainLocalOverridesRequest) UnmarshalJSON added in v0.43.0

func (x *ListChainLocalOverridesRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaler interface.

func (*ListChainLocalOverridesRequest) UnmarshalProtobuf added in v0.43.0

func (x *ListChainLocalOverridesRequest) UnmarshalProtobuf(src []byte) (err error)

UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.

type ListChainLocalOverridesRequest_Body added in v0.38.0

type ListChainLocalOverridesRequest_Body struct {
	Target *ChainTarget `json:"target"`
}

func (*ListChainLocalOverridesRequest_Body) EmitProtobuf added in v0.43.0

func (*ListChainLocalOverridesRequest_Body) GetTarget added in v0.38.0

func (*ListChainLocalOverridesRequest_Body) MarshalEasyJSON added in v0.43.0

func (x *ListChainLocalOverridesRequest_Body) MarshalEasyJSON(out *jwriter.Writer)

func (*ListChainLocalOverridesRequest_Body) MarshalJSON added in v0.43.0

func (x *ListChainLocalOverridesRequest_Body) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (*ListChainLocalOverridesRequest_Body) MarshalProtobuf added in v0.43.0

func (x *ListChainLocalOverridesRequest_Body) MarshalProtobuf(dst []byte) []byte

MarshalProtobuf implements the encoding.ProtoMarshaler interface.

func (*ListChainLocalOverridesRequest_Body) SetTarget added in v0.43.0

func (*ListChainLocalOverridesRequest_Body) StableSize added in v0.38.0

func (x *ListChainLocalOverridesRequest_Body) StableSize() (size int)

StableSize returns the size of x in protobuf format.

Structures with the same field values have the same binary size.

func (*ListChainLocalOverridesRequest_Body) UnmarshalEasyJSON added in v0.43.0

func (x *ListChainLocalOverridesRequest_Body) UnmarshalEasyJSON(in *jlexer.Lexer)

func (*ListChainLocalOverridesRequest_Body) UnmarshalJSON added in v0.43.0

func (x *ListChainLocalOverridesRequest_Body) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaler interface.

func (*ListChainLocalOverridesRequest_Body) UnmarshalProtobuf added in v0.43.0

func (x *ListChainLocalOverridesRequest_Body) UnmarshalProtobuf(src []byte) (err error)

UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.

type ListChainLocalOverridesResponse added in v0.38.0

type ListChainLocalOverridesResponse struct {
	Body      *ListChainLocalOverridesResponse_Body `json:"body"`
	Signature *Signature                            `json:"signature"`
}

func ListChainLocalOverrides added in v0.38.0

ListChainLocalOverrides executes ControlService.ListChainLocalOverrides RPC.

func (*ListChainLocalOverridesResponse) EmitProtobuf added in v0.43.0

func (*ListChainLocalOverridesResponse) GetBody added in v0.38.0

func (*ListChainLocalOverridesResponse) GetSignature added in v0.38.0

func (x *ListChainLocalOverridesResponse) GetSignature() *Signature

func (*ListChainLocalOverridesResponse) MarshalEasyJSON added in v0.43.0

func (x *ListChainLocalOverridesResponse) MarshalEasyJSON(out *jwriter.Writer)

func (*ListChainLocalOverridesResponse) MarshalJSON added in v0.43.0

func (x *ListChainLocalOverridesResponse) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (*ListChainLocalOverridesResponse) MarshalProtobuf added in v0.43.0

func (x *ListChainLocalOverridesResponse) MarshalProtobuf(dst []byte) []byte

MarshalProtobuf implements the encoding.ProtoMarshaler interface.

func (*ListChainLocalOverridesResponse) ReadSignedData added in v0.38.0

func (x *ListChainLocalOverridesResponse) ReadSignedData(buf []byte) ([]byte, error)

SignedDataSize returns size of the request signed data in bytes.

Structures with the same field values have the same signed data size.

func (*ListChainLocalOverridesResponse) SetBody added in v0.43.0

func (*ListChainLocalOverridesResponse) SetSignature added in v0.38.0

func (x *ListChainLocalOverridesResponse) SetSignature(v *Signature)

func (*ListChainLocalOverridesResponse) SignedDataSize added in v0.38.0

func (x *ListChainLocalOverridesResponse) SignedDataSize() int

ReadSignedData fills buf with signed data of x. If buffer length is less than x.SignedDataSize(), new buffer is allocated.

Returns any error encountered which did not allow writing the data completely. Otherwise, returns the buffer in which the data is written.

Structures with the same field values have the same signed data.

func (*ListChainLocalOverridesResponse) StableSize added in v0.38.0

func (x *ListChainLocalOverridesResponse) StableSize() (size int)

StableSize returns the size of x in protobuf format.

Structures with the same field values have the same binary size.

func (*ListChainLocalOverridesResponse) UnmarshalEasyJSON added in v0.43.0

func (x *ListChainLocalOverridesResponse) UnmarshalEasyJSON(in *jlexer.Lexer)

func (*ListChainLocalOverridesResponse) UnmarshalJSON added in v0.43.0

func (x *ListChainLocalOverridesResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaler interface.

func (*ListChainLocalOverridesResponse) UnmarshalProtobuf added in v0.43.0

func (x *ListChainLocalOverridesResponse) UnmarshalProtobuf(src []byte) (err error)

UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.

type ListChainLocalOverridesResponse_Body added in v0.38.0

type ListChainLocalOverridesResponse_Body struct {
	Chains [][]byte `json:"chains"`
}

func (*ListChainLocalOverridesResponse_Body) EmitProtobuf added in v0.43.0

func (*ListChainLocalOverridesResponse_Body) GetChains added in v0.38.0

func (x *ListChainLocalOverridesResponse_Body) GetChains() [][]byte

func (*ListChainLocalOverridesResponse_Body) MarshalEasyJSON added in v0.43.0

func (x *ListChainLocalOverridesResponse_Body) MarshalEasyJSON(out *jwriter.Writer)

func (*ListChainLocalOverridesResponse_Body) MarshalJSON added in v0.43.0

func (x *ListChainLocalOverridesResponse_Body) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (*ListChainLocalOverridesResponse_Body) MarshalProtobuf added in v0.43.0

func (x *ListChainLocalOverridesResponse_Body) MarshalProtobuf(dst []byte) []byte

MarshalProtobuf implements the encoding.ProtoMarshaler interface.

func (*ListChainLocalOverridesResponse_Body) SetChains added in v0.43.0

func (x *ListChainLocalOverridesResponse_Body) SetChains(v [][]byte)

func (*ListChainLocalOverridesResponse_Body) StableSize added in v0.38.0

func (x *ListChainLocalOverridesResponse_Body) StableSize() (size int)

StableSize returns the size of x in protobuf format.

Structures with the same field values have the same binary size.

func (*ListChainLocalOverridesResponse_Body) UnmarshalEasyJSON added in v0.43.0

func (x *ListChainLocalOverridesResponse_Body) UnmarshalEasyJSON(in *jlexer.Lexer)

func (*ListChainLocalOverridesResponse_Body) UnmarshalJSON added in v0.43.0

func (x *ListChainLocalOverridesResponse_Body) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaler interface.

func (*ListChainLocalOverridesResponse_Body) UnmarshalProtobuf added in v0.43.0

func (x *ListChainLocalOverridesResponse_Body) UnmarshalProtobuf(src []byte) (err error)

UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.

type ListShardsRequest

type ListShardsRequest struct {
	Body      *ListShardsRequest_Body `json:"body"`
	Signature *Signature              `json:"signature"`
}

func (*ListShardsRequest) EmitProtobuf added in v0.43.0

func (x *ListShardsRequest) EmitProtobuf(mm *easyproto.MessageMarshaler)

func (*ListShardsRequest) GetBody

func (*ListShardsRequest) GetSignature

func (x *ListShardsRequest) GetSignature() *Signature

func (*ListShardsRequest) MarshalEasyJSON added in v0.43.0

func (x *ListShardsRequest) MarshalEasyJSON(out *jwriter.Writer)

func (*ListShardsRequest) MarshalJSON added in v0.43.0

func (x *ListShardsRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (*ListShardsRequest) MarshalProtobuf added in v0.43.0

func (x *ListShardsRequest) MarshalProtobuf(dst []byte) []byte

MarshalProtobuf implements the encoding.ProtoMarshaler interface.

func (*ListShardsRequest) ReadSignedData

func (x *ListShardsRequest) ReadSignedData(buf []byte) ([]byte, error)

SignedDataSize returns size of the request signed data in bytes.

Structures with the same field values have the same signed data size.

func (*ListShardsRequest) SetBody

func (*ListShardsRequest) SetSignature

func (x *ListShardsRequest) SetSignature(v *Signature)

func (*ListShardsRequest) SignedDataSize

func (x *ListShardsRequest) SignedDataSize() int

ReadSignedData fills buf with signed data of x. If buffer length is less than x.SignedDataSize(), new buffer is allocated.

Returns any error encountered which did not allow writing the data completely. Otherwise, returns the buffer in which the data is written.

Structures with the same field values have the same signed data.

func (*ListShardsRequest) StableSize

func (x *ListShardsRequest) StableSize() (size int)

StableSize returns the size of x in protobuf format.

Structures with the same field values have the same binary size.

func (*ListShardsRequest) UnmarshalEasyJSON added in v0.43.0

func (x *ListShardsRequest) UnmarshalEasyJSON(in *jlexer.Lexer)

func (*ListShardsRequest) UnmarshalJSON added in v0.43.0

func (x *ListShardsRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaler interface.

func (*ListShardsRequest) UnmarshalProtobuf added in v0.43.0

func (x *ListShardsRequest) UnmarshalProtobuf(src []byte) (err error)

UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.

type ListShardsRequest_Body

type ListShardsRequest_Body struct {
}

func (*ListShardsRequest_Body) EmitProtobuf added in v0.43.0

func (x *ListShardsRequest_Body) EmitProtobuf(mm *easyproto.MessageMarshaler)

func (*ListShardsRequest_Body) MarshalEasyJSON added in v0.43.0

func (x *ListShardsRequest_Body) MarshalEasyJSON(out *jwriter.Writer)

func (*ListShardsRequest_Body) MarshalJSON added in v0.43.0

func (x *ListShardsRequest_Body) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (*ListShardsRequest_Body) MarshalProtobuf added in v0.43.0

func (x *ListShardsRequest_Body) MarshalProtobuf(dst []byte) []byte

MarshalProtobuf implements the encoding.ProtoMarshaler interface.

func (*ListShardsRequest_Body) StableSize

func (x *ListShardsRequest_Body) StableSize() (size int)

StableSize returns the size of x in protobuf format.

Structures with the same field values have the same binary size.

func (*ListShardsRequest_Body) UnmarshalEasyJSON added in v0.43.0

func (x *ListShardsRequest_Body) UnmarshalEasyJSON(in *jlexer.Lexer)

func (*ListShardsRequest_Body) UnmarshalJSON added in v0.43.0

func (x *ListShardsRequest_Body) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaler interface.

func (*ListShardsRequest_Body) UnmarshalProtobuf added in v0.43.0

func (x *ListShardsRequest_Body) UnmarshalProtobuf(src []byte) (err error)

UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.

type ListShardsResponse

type ListShardsResponse struct {
	Body      *ListShardsResponse_Body `json:"body"`
	Signature *Signature               `json:"signature"`
}

func ListShards

func ListShards(
	cli *client.Client,
	req *ListShardsRequest,
	opts ...client.CallOption,
) (*ListShardsResponse, error)

ListShards executes ControlService.ListShards RPC.

func (*ListShardsResponse) EmitProtobuf added in v0.43.0

func (x *ListShardsResponse) EmitProtobuf(mm *easyproto.MessageMarshaler)

func (*ListShardsResponse) GetBody

func (*ListShardsResponse) GetSignature

func (x *ListShardsResponse) GetSignature() *Signature

func (*ListShardsResponse) MarshalEasyJSON added in v0.43.0

func (x *ListShardsResponse) MarshalEasyJSON(out *jwriter.Writer)

func (*ListShardsResponse) MarshalJSON added in v0.43.0

func (x *ListShardsResponse) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (*ListShardsResponse) MarshalProtobuf added in v0.43.0

func (x *ListShardsResponse) MarshalProtobuf(dst []byte) []byte

MarshalProtobuf implements the encoding.ProtoMarshaler interface.

func (*ListShardsResponse) ReadSignedData

func (x *ListShardsResponse) ReadSignedData(buf []byte) ([]byte, error)

SignedDataSize returns size of the request signed data in bytes.

Structures with the same field values have the same signed data size.

func (*ListShardsResponse) SetBody

func (*ListShardsResponse) SetSignature

func (x *ListShardsResponse) SetSignature(v *Signature)

func (*ListShardsResponse) SignedDataSize

func (x *ListShardsResponse) SignedDataSize() int

ReadSignedData fills buf with signed data of x. If buffer length is less than x.SignedDataSize(), new buffer is allocated.

Returns any error encountered which did not allow writing the data completely. Otherwise, returns the buffer in which the data is written.

Structures with the same field values have the same signed data.

func (*ListShardsResponse) StableSize

func (x *ListShardsResponse) StableSize() (size int)

StableSize returns the size of x in protobuf format.

Structures with the same field values have the same binary size.

func (*ListShardsResponse) UnmarshalEasyJSON added in v0.43.0

func (x *ListShardsResponse) UnmarshalEasyJSON(in *jlexer.Lexer)

func (*ListShardsResponse) UnmarshalJSON added in v0.43.0

func (x *ListShardsResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaler interface.

func (*ListShardsResponse) UnmarshalProtobuf added in v0.43.0

func (x *ListShardsResponse) UnmarshalProtobuf(src []byte) (err error)

UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.

type ListShardsResponse_Body

type ListShardsResponse_Body struct {
	Shards []ShardInfo `json:"shards"`
}

func (*ListShardsResponse_Body) EmitProtobuf added in v0.43.0

func (x *ListShardsResponse_Body) EmitProtobuf(mm *easyproto.MessageMarshaler)

func (*ListShardsResponse_Body) GetShards

func (x *ListShardsResponse_Body) GetShards() []ShardInfo

func (*ListShardsResponse_Body) MarshalEasyJSON added in v0.43.0

func (x *ListShardsResponse_Body) MarshalEasyJSON(out *jwriter.Writer)

func (*ListShardsResponse_Body) MarshalJSON added in v0.43.0

func (x *ListShardsResponse_Body) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (*ListShardsResponse_Body) MarshalProtobuf added in v0.43.0

func (x *ListShardsResponse_Body) MarshalProtobuf(dst []byte) []byte

MarshalProtobuf implements the encoding.ProtoMarshaler interface.

func (*ListShardsResponse_Body) SetShards

func (x *ListShardsResponse_Body) SetShards(v []ShardInfo)

func (*ListShardsResponse_Body) StableSize

func (x *ListShardsResponse_Body) StableSize() (size int)

StableSize returns the size of x in protobuf format.

Structures with the same field values have the same binary size.

func (*ListShardsResponse_Body) UnmarshalEasyJSON added in v0.43.0

func (x *ListShardsResponse_Body) UnmarshalEasyJSON(in *jlexer.Lexer)

func (*ListShardsResponse_Body) UnmarshalJSON added in v0.43.0

func (x *ListShardsResponse_Body) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaler interface.

func (*ListShardsResponse_Body) UnmarshalProtobuf added in v0.43.0

func (x *ListShardsResponse_Body) UnmarshalProtobuf(src []byte) (err error)

UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.

type ListTargetsLocalOverridesRequest added in v0.38.0

type ListTargetsLocalOverridesRequest struct {
	Body      *ListTargetsLocalOverridesRequest_Body `json:"body"`
	Signature *Signature                             `json:"signature"`
}

func (*ListTargetsLocalOverridesRequest) EmitProtobuf added in v0.43.0

func (*ListTargetsLocalOverridesRequest) GetBody added in v0.38.0

func (*ListTargetsLocalOverridesRequest) GetSignature added in v0.38.0

func (x *ListTargetsLocalOverridesRequest) GetSignature() *Signature

func (*ListTargetsLocalOverridesRequest) MarshalEasyJSON added in v0.43.0

func (x *ListTargetsLocalOverridesRequest) MarshalEasyJSON(out *jwriter.Writer)

func (*ListTargetsLocalOverridesRequest) MarshalJSON added in v0.43.0

func (x *ListTargetsLocalOverridesRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (*ListTargetsLocalOverridesRequest) MarshalProtobuf added in v0.43.0

func (x *ListTargetsLocalOverridesRequest) MarshalProtobuf(dst []byte) []byte

MarshalProtobuf implements the encoding.ProtoMarshaler interface.

func (*ListTargetsLocalOverridesRequest) ReadSignedData added in v0.38.0

func (x *ListTargetsLocalOverridesRequest) ReadSignedData(buf []byte) ([]byte, error)

SignedDataSize returns size of the request signed data in bytes.

Structures with the same field values have the same signed data size.

func (*ListTargetsLocalOverridesRequest) SetBody added in v0.43.0

func (*ListTargetsLocalOverridesRequest) SetSignature added in v0.38.0

func (x *ListTargetsLocalOverridesRequest) SetSignature(v *Signature)

func (*ListTargetsLocalOverridesRequest) SignedDataSize added in v0.38.0

func (x *ListTargetsLocalOverridesRequest) SignedDataSize() int

ReadSignedData fills buf with signed data of x. If buffer length is less than x.SignedDataSize(), new buffer is allocated.

Returns any error encountered which did not allow writing the data completely. Otherwise, returns the buffer in which the data is written.

Structures with the same field values have the same signed data.

func (*ListTargetsLocalOverridesRequest) StableSize added in v0.38.0

func (x *ListTargetsLocalOverridesRequest) StableSize() (size int)

StableSize returns the size of x in protobuf format.

Structures with the same field values have the same binary size.

func (*ListTargetsLocalOverridesRequest) UnmarshalEasyJSON added in v0.43.0

func (x *ListTargetsLocalOverridesRequest) UnmarshalEasyJSON(in *jlexer.Lexer)

func (*ListTargetsLocalOverridesRequest) UnmarshalJSON added in v0.43.0

func (x *ListTargetsLocalOverridesRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaler interface.

func (*ListTargetsLocalOverridesRequest) UnmarshalProtobuf added in v0.43.0

func (x *ListTargetsLocalOverridesRequest) UnmarshalProtobuf(src []byte) (err error)

UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.

type ListTargetsLocalOverridesRequest_Body added in v0.38.0

type ListTargetsLocalOverridesRequest_Body struct {
	ChainName string `json:"chainName"`
}

func (*ListTargetsLocalOverridesRequest_Body) EmitProtobuf added in v0.43.0

func (*ListTargetsLocalOverridesRequest_Body) GetChainName added in v0.38.0

func (*ListTargetsLocalOverridesRequest_Body) MarshalEasyJSON added in v0.43.0

func (x *ListTargetsLocalOverridesRequest_Body) MarshalEasyJSON(out *jwriter.Writer)

func (*ListTargetsLocalOverridesRequest_Body) MarshalJSON added in v0.43.0

func (x *ListTargetsLocalOverridesRequest_Body) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (*ListTargetsLocalOverridesRequest_Body) MarshalProtobuf added in v0.43.0

func (x *ListTargetsLocalOverridesRequest_Body) MarshalProtobuf(dst []byte) []byte

MarshalProtobuf implements the encoding.ProtoMarshaler interface.

func (*ListTargetsLocalOverridesRequest_Body) SetChainName added in v0.43.0

func (x *ListTargetsLocalOverridesRequest_Body) SetChainName(v string)

func (*ListTargetsLocalOverridesRequest_Body) StableSize added in v0.38.0

func (x *ListTargetsLocalOverridesRequest_Body) StableSize() (size int)

StableSize returns the size of x in protobuf format.

Structures with the same field values have the same binary size.

func (*ListTargetsLocalOverridesRequest_Body) UnmarshalEasyJSON added in v0.43.0

func (x *ListTargetsLocalOverridesRequest_Body) UnmarshalEasyJSON(in *jlexer.Lexer)

func (*ListTargetsLocalOverridesRequest_Body) UnmarshalJSON added in v0.43.0

func (x *ListTargetsLocalOverridesRequest_Body) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaler interface.

func (*ListTargetsLocalOverridesRequest_Body) UnmarshalProtobuf added in v0.43.0

func (x *ListTargetsLocalOverridesRequest_Body) UnmarshalProtobuf(src []byte) (err error)

UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.

type ListTargetsLocalOverridesResponse added in v0.38.0

type ListTargetsLocalOverridesResponse struct {
	Body      *ListTargetsLocalOverridesResponse_Body `json:"body"`
	Signature *Signature                              `json:"signature"`
}

func ListTargetsLocalOverrides added in v0.38.0

ListTargetsLocalOverrides executes ControlService.ListTargetsLocalOverrides RPC.

func (*ListTargetsLocalOverridesResponse) EmitProtobuf added in v0.43.0

func (*ListTargetsLocalOverridesResponse) GetBody added in v0.38.0

func (*ListTargetsLocalOverridesResponse) GetSignature added in v0.38.0

func (x *ListTargetsLocalOverridesResponse) GetSignature() *Signature

func (*ListTargetsLocalOverridesResponse) MarshalEasyJSON added in v0.43.0

func (x *ListTargetsLocalOverridesResponse) MarshalEasyJSON(out *jwriter.Writer)

func (*ListTargetsLocalOverridesResponse) MarshalJSON added in v0.43.0

func (x *ListTargetsLocalOverridesResponse) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (*ListTargetsLocalOverridesResponse) MarshalProtobuf added in v0.43.0

func (x *ListTargetsLocalOverridesResponse) MarshalProtobuf(dst []byte) []byte

MarshalProtobuf implements the encoding.ProtoMarshaler interface.

func (*ListTargetsLocalOverridesResponse) ReadSignedData added in v0.38.0

func (x *ListTargetsLocalOverridesResponse) ReadSignedData(buf []byte) ([]byte, error)

SignedDataSize returns size of the request signed data in bytes.

Structures with the same field values have the same signed data size.

func (*ListTargetsLocalOverridesResponse) SetBody added in v0.43.0

func (*ListTargetsLocalOverridesResponse) SetSignature added in v0.38.0

func (x *ListTargetsLocalOverridesResponse) SetSignature(v *Signature)

func (*ListTargetsLocalOverridesResponse) SignedDataSize added in v0.38.0

func (x *ListTargetsLocalOverridesResponse) SignedDataSize() int

ReadSignedData fills buf with signed data of x. If buffer length is less than x.SignedDataSize(), new buffer is allocated.

Returns any error encountered which did not allow writing the data completely. Otherwise, returns the buffer in which the data is written.

Structures with the same field values have the same signed data.

func (*ListTargetsLocalOverridesResponse) StableSize added in v0.38.0

func (x *ListTargetsLocalOverridesResponse) StableSize() (size int)

StableSize returns the size of x in protobuf format.

Structures with the same field values have the same binary size.

func (*ListTargetsLocalOverridesResponse) UnmarshalEasyJSON added in v0.43.0

func (x *ListTargetsLocalOverridesResponse) UnmarshalEasyJSON(in *jlexer.Lexer)

func (*ListTargetsLocalOverridesResponse) UnmarshalJSON added in v0.43.0

func (x *ListTargetsLocalOverridesResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaler interface.

func (*ListTargetsLocalOverridesResponse) UnmarshalProtobuf added in v0.43.0

func (x *ListTargetsLocalOverridesResponse) UnmarshalProtobuf(src []byte) (err error)

UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.

type ListTargetsLocalOverridesResponse_Body added in v0.38.0

type ListTargetsLocalOverridesResponse_Body struct {
	Targets []ChainTarget `json:"targets"`
}

func (*ListTargetsLocalOverridesResponse_Body) EmitProtobuf added in v0.43.0

func (*ListTargetsLocalOverridesResponse_Body) GetTargets added in v0.38.0

func (*ListTargetsLocalOverridesResponse_Body) MarshalEasyJSON added in v0.43.0

func (x *ListTargetsLocalOverridesResponse_Body) MarshalEasyJSON(out *jwriter.Writer)

func (*ListTargetsLocalOverridesResponse_Body) MarshalJSON added in v0.43.0

func (x *ListTargetsLocalOverridesResponse_Body) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (*ListTargetsLocalOverridesResponse_Body) MarshalProtobuf added in v0.43.0

func (x *ListTargetsLocalOverridesResponse_Body) MarshalProtobuf(dst []byte) []byte

MarshalProtobuf implements the encoding.ProtoMarshaler interface.

func (*ListTargetsLocalOverridesResponse_Body) SetTargets added in v0.43.0

func (*ListTargetsLocalOverridesResponse_Body) StableSize added in v0.38.0

func (x *ListTargetsLocalOverridesResponse_Body) StableSize() (size int)

StableSize returns the size of x in protobuf format.

Structures with the same field values have the same binary size.

func (*ListTargetsLocalOverridesResponse_Body) UnmarshalEasyJSON added in v0.43.0

func (x *ListTargetsLocalOverridesResponse_Body) UnmarshalEasyJSON(in *jlexer.Lexer)

func (*ListTargetsLocalOverridesResponse_Body) UnmarshalJSON added in v0.43.0

func (x *ListTargetsLocalOverridesResponse_Body) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaler interface.

func (*ListTargetsLocalOverridesResponse_Body) UnmarshalProtobuf added in v0.43.0

func (x *ListTargetsLocalOverridesResponse_Body) UnmarshalProtobuf(src []byte) (err error)

UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.

type Netmap

type Netmap struct {
	Epoch uint64     `json:"epoch"`
	Nodes []NodeInfo `json:"nodes"`
}

func (*Netmap) EmitProtobuf added in v0.43.0

func (x *Netmap) EmitProtobuf(mm *easyproto.MessageMarshaler)

func (*Netmap) GetEpoch

func (x *Netmap) GetEpoch() uint64

func (*Netmap) GetNodes

func (x *Netmap) GetNodes() []NodeInfo

func (*Netmap) MarshalEasyJSON added in v0.43.0

func (x *Netmap) MarshalEasyJSON(out *jwriter.Writer)

func (*Netmap) MarshalJSON

func (x *Netmap) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (*Netmap) MarshalProtobuf added in v0.43.0

func (x *Netmap) MarshalProtobuf(dst []byte) []byte

MarshalProtobuf implements the encoding.ProtoMarshaler interface.

func (*Netmap) SetEpoch

func (x *Netmap) SetEpoch(v uint64)

func (*Netmap) SetNodes

func (x *Netmap) SetNodes(v []NodeInfo)

func (*Netmap) StableSize

func (x *Netmap) StableSize() (size int)

StableSize returns the size of x in protobuf format.

Structures with the same field values have the same binary size.

func (*Netmap) UnmarshalEasyJSON added in v0.43.0

func (x *Netmap) UnmarshalEasyJSON(in *jlexer.Lexer)

func (*Netmap) UnmarshalJSON added in v0.43.0

func (x *Netmap) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaler interface.

func (*Netmap) UnmarshalProtobuf added in v0.43.0

func (x *Netmap) UnmarshalProtobuf(src []byte) (err error)

UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.

type NetmapStatus

type NetmapStatus int32
const (
	NetmapStatus_STATUS_UNDEFINED NetmapStatus = 0
	NetmapStatus_ONLINE           NetmapStatus = 1
	NetmapStatus_OFFLINE          NetmapStatus = 2
	NetmapStatus_MAINTENANCE      NetmapStatus = 3
)

func (*NetmapStatus) FromString added in v0.43.0

func (x *NetmapStatus) FromString(s string) bool

func (NetmapStatus) String

func (x NetmapStatus) String() string

type NodeInfo

type NodeInfo struct {
	PublicKey  []byte               `json:"publicKey"`
	Addresses  []string             `json:"addresses"`
	Attributes []NodeInfo_Attribute `json:"attributes"`
	State      NetmapStatus         `json:"state"`
}

func (*NodeInfo) EmitProtobuf added in v0.43.0

func (x *NodeInfo) EmitProtobuf(mm *easyproto.MessageMarshaler)

func (*NodeInfo) GetAddresses

func (x *NodeInfo) GetAddresses() []string

func (*NodeInfo) GetAttributes

func (x *NodeInfo) GetAttributes() []NodeInfo_Attribute

func (*NodeInfo) GetPublicKey

func (x *NodeInfo) GetPublicKey() []byte

func (*NodeInfo) GetState

func (x *NodeInfo) GetState() NetmapStatus

func (*NodeInfo) MarshalEasyJSON added in v0.43.0

func (x *NodeInfo) MarshalEasyJSON(out *jwriter.Writer)

func (*NodeInfo) MarshalJSON added in v0.43.0

func (x *NodeInfo) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (*NodeInfo) MarshalProtobuf added in v0.43.0

func (x *NodeInfo) MarshalProtobuf(dst []byte) []byte

MarshalProtobuf implements the encoding.ProtoMarshaler interface.

func (*NodeInfo) SetAddresses

func (x *NodeInfo) SetAddresses(v []string)

func (*NodeInfo) SetAttributes

func (x *NodeInfo) SetAttributes(v []NodeInfo_Attribute)

func (*NodeInfo) SetPublicKey

func (x *NodeInfo) SetPublicKey(v []byte)

func (*NodeInfo) SetState

func (x *NodeInfo) SetState(v NetmapStatus)

func (*NodeInfo) StableSize

func (x *NodeInfo) StableSize() (size int)

StableSize returns the size of x in protobuf format.

Structures with the same field values have the same binary size.

func (*NodeInfo) UnmarshalEasyJSON added in v0.43.0

func (x *NodeInfo) UnmarshalEasyJSON(in *jlexer.Lexer)

func (*NodeInfo) UnmarshalJSON added in v0.43.0

func (x *NodeInfo) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaler interface.

func (*NodeInfo) UnmarshalProtobuf added in v0.43.0

func (x *NodeInfo) UnmarshalProtobuf(src []byte) (err error)

UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.

type NodeInfo_Attribute

type NodeInfo_Attribute struct {
	Key     string   `json:"key"`
	Value   string   `json:"value"`
	Parents []string `json:"parents"`
}

func (*NodeInfo_Attribute) EmitProtobuf added in v0.43.0

func (x *NodeInfo_Attribute) EmitProtobuf(mm *easyproto.MessageMarshaler)

func (*NodeInfo_Attribute) GetKey

func (x *NodeInfo_Attribute) GetKey() string

func (*NodeInfo_Attribute) GetParents

func (x *NodeInfo_Attribute) GetParents() []string

func (*NodeInfo_Attribute) GetValue

func (x *NodeInfo_Attribute) GetValue() string

func (*NodeInfo_Attribute) MarshalEasyJSON added in v0.43.0

func (x *NodeInfo_Attribute) MarshalEasyJSON(out *jwriter.Writer)

func (*NodeInfo_Attribute) MarshalJSON added in v0.43.0

func (x *NodeInfo_Attribute) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (*NodeInfo_Attribute) MarshalProtobuf added in v0.43.0

func (x *NodeInfo_Attribute) MarshalProtobuf(dst []byte) []byte

MarshalProtobuf implements the encoding.ProtoMarshaler interface.

func (*NodeInfo_Attribute) SetKey

func (x *NodeInfo_Attribute) SetKey(v string)

func (*NodeInfo_Attribute) SetParents

func (x *NodeInfo_Attribute) SetParents(v []string)

func (*NodeInfo_Attribute) SetValue

func (x *NodeInfo_Attribute) SetValue(v string)

func (*NodeInfo_Attribute) StableSize

func (x *NodeInfo_Attribute) StableSize() (size int)

StableSize returns the size of x in protobuf format.

Structures with the same field values have the same binary size.

func (*NodeInfo_Attribute) UnmarshalEasyJSON added in v0.43.0

func (x *NodeInfo_Attribute) UnmarshalEasyJSON(in *jlexer.Lexer)

func (*NodeInfo_Attribute) UnmarshalJSON added in v0.43.0

func (x *NodeInfo_Attribute) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaler interface.

func (*NodeInfo_Attribute) UnmarshalProtobuf added in v0.43.0

func (x *NodeInfo_Attribute) UnmarshalProtobuf(src []byte) (err error)

UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.

type RemoveChainLocalOverrideRequest added in v0.38.0

type RemoveChainLocalOverrideRequest struct {
	Body      *RemoveChainLocalOverrideRequest_Body `json:"body"`
	Signature *Signature                            `json:"signature"`
}

func (*RemoveChainLocalOverrideRequest) EmitProtobuf added in v0.43.0

func (*RemoveChainLocalOverrideRequest) GetBody added in v0.38.0

func (*RemoveChainLocalOverrideRequest) GetSignature added in v0.38.0

func (x *RemoveChainLocalOverrideRequest) GetSignature() *Signature

func (*RemoveChainLocalOverrideRequest) MarshalEasyJSON added in v0.43.0

func (x *RemoveChainLocalOverrideRequest) MarshalEasyJSON(out *jwriter.Writer)

func (*RemoveChainLocalOverrideRequest) MarshalJSON added in v0.43.0

func (x *RemoveChainLocalOverrideRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (*RemoveChainLocalOverrideRequest) MarshalProtobuf added in v0.43.0

func (x *RemoveChainLocalOverrideRequest) MarshalProtobuf(dst []byte) []byte

MarshalProtobuf implements the encoding.ProtoMarshaler interface.

func (*RemoveChainLocalOverrideRequest) ReadSignedData added in v0.38.0

func (x *RemoveChainLocalOverrideRequest) ReadSignedData(buf []byte) ([]byte, error)

SignedDataSize returns size of the request signed data in bytes.

Structures with the same field values have the same signed data size.

func (*RemoveChainLocalOverrideRequest) SetBody added in v0.43.0

func (*RemoveChainLocalOverrideRequest) SetSignature added in v0.38.0

func (x *RemoveChainLocalOverrideRequest) SetSignature(v *Signature)

func (*RemoveChainLocalOverrideRequest) SignedDataSize added in v0.38.0

func (x *RemoveChainLocalOverrideRequest) SignedDataSize() int

ReadSignedData fills buf with signed data of x. If buffer length is less than x.SignedDataSize(), new buffer is allocated.

Returns any error encountered which did not allow writing the data completely. Otherwise, returns the buffer in which the data is written.

Structures with the same field values have the same signed data.

func (*RemoveChainLocalOverrideRequest) StableSize added in v0.38.0

func (x *RemoveChainLocalOverrideRequest) StableSize() (size int)

StableSize returns the size of x in protobuf format.

Structures with the same field values have the same binary size.

func (*RemoveChainLocalOverrideRequest) UnmarshalEasyJSON added in v0.43.0

func (x *RemoveChainLocalOverrideRequest) UnmarshalEasyJSON(in *jlexer.Lexer)

func (*RemoveChainLocalOverrideRequest) UnmarshalJSON added in v0.43.0

func (x *RemoveChainLocalOverrideRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaler interface.

func (*RemoveChainLocalOverrideRequest) UnmarshalProtobuf added in v0.43.0

func (x *RemoveChainLocalOverrideRequest) UnmarshalProtobuf(src []byte) (err error)

UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.

type RemoveChainLocalOverrideRequest_Body added in v0.38.0

type RemoveChainLocalOverrideRequest_Body struct {
	Target  *ChainTarget `json:"target"`
	ChainId []byte       `json:"chainId"`
}

func (*RemoveChainLocalOverrideRequest_Body) EmitProtobuf added in v0.43.0

func (*RemoveChainLocalOverrideRequest_Body) GetChainId added in v0.38.0

func (x *RemoveChainLocalOverrideRequest_Body) GetChainId() []byte

func (*RemoveChainLocalOverrideRequest_Body) GetTarget added in v0.38.0

func (*RemoveChainLocalOverrideRequest_Body) MarshalEasyJSON added in v0.43.0

func (x *RemoveChainLocalOverrideRequest_Body) MarshalEasyJSON(out *jwriter.Writer)

func (*RemoveChainLocalOverrideRequest_Body) MarshalJSON added in v0.43.0

func (x *RemoveChainLocalOverrideRequest_Body) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (*RemoveChainLocalOverrideRequest_Body) MarshalProtobuf added in v0.43.0

func (x *RemoveChainLocalOverrideRequest_Body) MarshalProtobuf(dst []byte) []byte

MarshalProtobuf implements the encoding.ProtoMarshaler interface.

func (*RemoveChainLocalOverrideRequest_Body) SetChainId added in v0.43.0

func (x *RemoveChainLocalOverrideRequest_Body) SetChainId(v []byte)

func (*RemoveChainLocalOverrideRequest_Body) SetTarget added in v0.43.0

func (*RemoveChainLocalOverrideRequest_Body) StableSize added in v0.38.0

func (x *RemoveChainLocalOverrideRequest_Body) StableSize() (size int)

StableSize returns the size of x in protobuf format.

Structures with the same field values have the same binary size.

func (*RemoveChainLocalOverrideRequest_Body) UnmarshalEasyJSON added in v0.43.0

func (x *RemoveChainLocalOverrideRequest_Body) UnmarshalEasyJSON(in *jlexer.Lexer)

func (*RemoveChainLocalOverrideRequest_Body) UnmarshalJSON added in v0.43.0

func (x *RemoveChainLocalOverrideRequest_Body) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaler interface.

func (*RemoveChainLocalOverrideRequest_Body) UnmarshalProtobuf added in v0.43.0

func (x *RemoveChainLocalOverrideRequest_Body) UnmarshalProtobuf(src []byte) (err error)

UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.

type RemoveChainLocalOverrideResponse added in v0.38.0

type RemoveChainLocalOverrideResponse struct {
	Body      *RemoveChainLocalOverrideResponse_Body `json:"body"`
	Signature *Signature                             `json:"signature"`
}

func RemoveChainLocalOverride added in v0.38.0

RemoveChainLocalOverride executes ControlService.RemoveChainLocalOverride RPC.

func (*RemoveChainLocalOverrideResponse) EmitProtobuf added in v0.43.0

func (*RemoveChainLocalOverrideResponse) GetBody added in v0.38.0

func (*RemoveChainLocalOverrideResponse) GetSignature added in v0.38.0

func (x *RemoveChainLocalOverrideResponse) GetSignature() *Signature

func (*RemoveChainLocalOverrideResponse) MarshalEasyJSON added in v0.43.0

func (x *RemoveChainLocalOverrideResponse) MarshalEasyJSON(out *jwriter.Writer)

func (*RemoveChainLocalOverrideResponse) MarshalJSON added in v0.43.0

func (x *RemoveChainLocalOverrideResponse) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (*RemoveChainLocalOverrideResponse) MarshalProtobuf added in v0.43.0

func (x *RemoveChainLocalOverrideResponse) MarshalProtobuf(dst []byte) []byte

MarshalProtobuf implements the encoding.ProtoMarshaler interface.

func (*RemoveChainLocalOverrideResponse) ReadSignedData added in v0.38.0

func (x *RemoveChainLocalOverrideResponse) ReadSignedData(buf []byte) ([]byte, error)

SignedDataSize returns size of the request signed data in bytes.

Structures with the same field values have the same signed data size.

func (*RemoveChainLocalOverrideResponse) SetBody added in v0.43.0

func (*RemoveChainLocalOverrideResponse) SetSignature added in v0.38.0

func (x *RemoveChainLocalOverrideResponse) SetSignature(v *Signature)

func (*RemoveChainLocalOverrideResponse) SignedDataSize added in v0.38.0

func (x *RemoveChainLocalOverrideResponse) SignedDataSize() int

ReadSignedData fills buf with signed data of x. If buffer length is less than x.SignedDataSize(), new buffer is allocated.

Returns any error encountered which did not allow writing the data completely. Otherwise, returns the buffer in which the data is written.

Structures with the same field values have the same signed data.

func (*RemoveChainLocalOverrideResponse) StableSize added in v0.38.0

func (x *RemoveChainLocalOverrideResponse) StableSize() (size int)

StableSize returns the size of x in protobuf format.

Structures with the same field values have the same binary size.

func (*RemoveChainLocalOverrideResponse) UnmarshalEasyJSON added in v0.43.0

func (x *RemoveChainLocalOverrideResponse) UnmarshalEasyJSON(in *jlexer.Lexer)

func (*RemoveChainLocalOverrideResponse) UnmarshalJSON added in v0.43.0

func (x *RemoveChainLocalOverrideResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaler interface.

func (*RemoveChainLocalOverrideResponse) UnmarshalProtobuf added in v0.43.0

func (x *RemoveChainLocalOverrideResponse) UnmarshalProtobuf(src []byte) (err error)

UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.

type RemoveChainLocalOverrideResponse_Body added in v0.38.0

type RemoveChainLocalOverrideResponse_Body struct {
}

func (*RemoveChainLocalOverrideResponse_Body) EmitProtobuf added in v0.43.0

func (*RemoveChainLocalOverrideResponse_Body) MarshalEasyJSON added in v0.43.0

func (x *RemoveChainLocalOverrideResponse_Body) MarshalEasyJSON(out *jwriter.Writer)

func (*RemoveChainLocalOverrideResponse_Body) MarshalJSON added in v0.43.0

func (x *RemoveChainLocalOverrideResponse_Body) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (*RemoveChainLocalOverrideResponse_Body) MarshalProtobuf added in v0.43.0

func (x *RemoveChainLocalOverrideResponse_Body) MarshalProtobuf(dst []byte) []byte

MarshalProtobuf implements the encoding.ProtoMarshaler interface.

func (*RemoveChainLocalOverrideResponse_Body) StableSize added in v0.38.0

func (x *RemoveChainLocalOverrideResponse_Body) StableSize() (size int)

StableSize returns the size of x in protobuf format.

Structures with the same field values have the same binary size.

func (*RemoveChainLocalOverrideResponse_Body) UnmarshalEasyJSON added in v0.43.0

func (x *RemoveChainLocalOverrideResponse_Body) UnmarshalEasyJSON(in *jlexer.Lexer)

func (*RemoveChainLocalOverrideResponse_Body) UnmarshalJSON added in v0.43.0

func (x *RemoveChainLocalOverrideResponse_Body) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaler interface.

func (*RemoveChainLocalOverrideResponse_Body) UnmarshalProtobuf added in v0.43.0

func (x *RemoveChainLocalOverrideResponse_Body) UnmarshalProtobuf(src []byte) (err error)

UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.

type RemoveChainLocalOverridesByTargetRequest added in v0.38.0

type RemoveChainLocalOverridesByTargetRequest struct {
	Body      *RemoveChainLocalOverridesByTargetRequest_Body `json:"body"`
	Signature *Signature                                     `json:"signature"`
}

func (*RemoveChainLocalOverridesByTargetRequest) EmitProtobuf added in v0.43.0

func (*RemoveChainLocalOverridesByTargetRequest) GetBody added in v0.38.0

func (*RemoveChainLocalOverridesByTargetRequest) GetSignature added in v0.38.0

func (*RemoveChainLocalOverridesByTargetRequest) MarshalEasyJSON added in v0.43.0

func (x *RemoveChainLocalOverridesByTargetRequest) MarshalEasyJSON(out *jwriter.Writer)

func (*RemoveChainLocalOverridesByTargetRequest) MarshalJSON added in v0.43.0

func (x *RemoveChainLocalOverridesByTargetRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (*RemoveChainLocalOverridesByTargetRequest) MarshalProtobuf added in v0.43.0

func (x *RemoveChainLocalOverridesByTargetRequest) MarshalProtobuf(dst []byte) []byte

MarshalProtobuf implements the encoding.ProtoMarshaler interface.

func (*RemoveChainLocalOverridesByTargetRequest) ReadSignedData added in v0.38.0

func (x *RemoveChainLocalOverridesByTargetRequest) ReadSignedData(buf []byte) ([]byte, error)

SignedDataSize returns size of the request signed data in bytes.

Structures with the same field values have the same signed data size.

func (*RemoveChainLocalOverridesByTargetRequest) SetBody added in v0.43.0

func (*RemoveChainLocalOverridesByTargetRequest) SetSignature added in v0.38.0

func (*RemoveChainLocalOverridesByTargetRequest) SignedDataSize added in v0.38.0

func (x *RemoveChainLocalOverridesByTargetRequest) SignedDataSize() int

ReadSignedData fills buf with signed data of x. If buffer length is less than x.SignedDataSize(), new buffer is allocated.

Returns any error encountered which did not allow writing the data completely. Otherwise, returns the buffer in which the data is written.

Structures with the same field values have the same signed data.

func (*RemoveChainLocalOverridesByTargetRequest) StableSize added in v0.38.0

func (x *RemoveChainLocalOverridesByTargetRequest) StableSize() (size int)

StableSize returns the size of x in protobuf format.

Structures with the same field values have the same binary size.

func (*RemoveChainLocalOverridesByTargetRequest) UnmarshalEasyJSON added in v0.43.0

func (x *RemoveChainLocalOverridesByTargetRequest) UnmarshalEasyJSON(in *jlexer.Lexer)

func (*RemoveChainLocalOverridesByTargetRequest) UnmarshalJSON added in v0.43.0

func (x *RemoveChainLocalOverridesByTargetRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaler interface.

func (*RemoveChainLocalOverridesByTargetRequest) UnmarshalProtobuf added in v0.43.0

func (x *RemoveChainLocalOverridesByTargetRequest) UnmarshalProtobuf(src []byte) (err error)

UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.

type RemoveChainLocalOverridesByTargetRequest_Body added in v0.38.0

type RemoveChainLocalOverridesByTargetRequest_Body struct {
	Target *ChainTarget `json:"target"`
}

func (*RemoveChainLocalOverridesByTargetRequest_Body) EmitProtobuf added in v0.43.0

func (*RemoveChainLocalOverridesByTargetRequest_Body) GetTarget added in v0.38.0

func (*RemoveChainLocalOverridesByTargetRequest_Body) MarshalEasyJSON added in v0.43.0

func (*RemoveChainLocalOverridesByTargetRequest_Body) MarshalJSON added in v0.43.0

MarshalJSON implements the json.Marshaler interface.

func (*RemoveChainLocalOverridesByTargetRequest_Body) MarshalProtobuf added in v0.43.0

func (x *RemoveChainLocalOverridesByTargetRequest_Body) MarshalProtobuf(dst []byte) []byte

MarshalProtobuf implements the encoding.ProtoMarshaler interface.

func (*RemoveChainLocalOverridesByTargetRequest_Body) SetTarget added in v0.43.0

func (*RemoveChainLocalOverridesByTargetRequest_Body) StableSize added in v0.38.0

func (x *RemoveChainLocalOverridesByTargetRequest_Body) StableSize() (size int)

StableSize returns the size of x in protobuf format.

Structures with the same field values have the same binary size.

func (*RemoveChainLocalOverridesByTargetRequest_Body) UnmarshalEasyJSON added in v0.43.0

func (*RemoveChainLocalOverridesByTargetRequest_Body) UnmarshalJSON added in v0.43.0

func (x *RemoveChainLocalOverridesByTargetRequest_Body) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaler interface.

func (*RemoveChainLocalOverridesByTargetRequest_Body) UnmarshalProtobuf added in v0.43.0

func (x *RemoveChainLocalOverridesByTargetRequest_Body) UnmarshalProtobuf(src []byte) (err error)

UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.

type RemoveChainLocalOverridesByTargetResponse added in v0.38.0

type RemoveChainLocalOverridesByTargetResponse struct {
	Body      *RemoveChainLocalOverridesByTargetResponse_Body `json:"body"`
	Signature *Signature                                      `json:"signature"`
}

func RemoveChainLocalOverridesByTarget added in v0.38.0

RemoveChainLocalOverridesByTarget executes ControlService.RemoveChainLocalOverridesByTarget RPC.

func (*RemoveChainLocalOverridesByTargetResponse) EmitProtobuf added in v0.43.0

func (*RemoveChainLocalOverridesByTargetResponse) GetBody added in v0.38.0

func (*RemoveChainLocalOverridesByTargetResponse) GetSignature added in v0.38.0

func (*RemoveChainLocalOverridesByTargetResponse) MarshalEasyJSON added in v0.43.0

func (x *RemoveChainLocalOverridesByTargetResponse) MarshalEasyJSON(out *jwriter.Writer)

func (*RemoveChainLocalOverridesByTargetResponse) MarshalJSON added in v0.43.0

MarshalJSON implements the json.Marshaler interface.

func (*RemoveChainLocalOverridesByTargetResponse) MarshalProtobuf added in v0.43.0

func (x *RemoveChainLocalOverridesByTargetResponse) MarshalProtobuf(dst []byte) []byte

MarshalProtobuf implements the encoding.ProtoMarshaler interface.

func (*RemoveChainLocalOverridesByTargetResponse) ReadSignedData added in v0.38.0

func (x *RemoveChainLocalOverridesByTargetResponse) ReadSignedData(buf []byte) ([]byte, error)

SignedDataSize returns size of the request signed data in bytes.

Structures with the same field values have the same signed data size.

func (*RemoveChainLocalOverridesByTargetResponse) SetBody added in v0.43.0

func (*RemoveChainLocalOverridesByTargetResponse) SetSignature added in v0.38.0

func (*RemoveChainLocalOverridesByTargetResponse) SignedDataSize added in v0.38.0

func (x *RemoveChainLocalOverridesByTargetResponse) SignedDataSize() int

ReadSignedData fills buf with signed data of x. If buffer length is less than x.SignedDataSize(), new buffer is allocated.

Returns any error encountered which did not allow writing the data completely. Otherwise, returns the buffer in which the data is written.

Structures with the same field values have the same signed data.

func (*RemoveChainLocalOverridesByTargetResponse) StableSize added in v0.38.0

func (x *RemoveChainLocalOverridesByTargetResponse) StableSize() (size int)

StableSize returns the size of x in protobuf format.

Structures with the same field values have the same binary size.

func (*RemoveChainLocalOverridesByTargetResponse) UnmarshalEasyJSON added in v0.43.0

func (x *RemoveChainLocalOverridesByTargetResponse) UnmarshalEasyJSON(in *jlexer.Lexer)

func (*RemoveChainLocalOverridesByTargetResponse) UnmarshalJSON added in v0.43.0

func (x *RemoveChainLocalOverridesByTargetResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaler interface.

func (*RemoveChainLocalOverridesByTargetResponse) UnmarshalProtobuf added in v0.43.0

func (x *RemoveChainLocalOverridesByTargetResponse) UnmarshalProtobuf(src []byte) (err error)

UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.

type RemoveChainLocalOverridesByTargetResponse_Body added in v0.38.0

type RemoveChainLocalOverridesByTargetResponse_Body struct {
}

func (*RemoveChainLocalOverridesByTargetResponse_Body) EmitProtobuf added in v0.43.0

func (*RemoveChainLocalOverridesByTargetResponse_Body) MarshalEasyJSON added in v0.43.0

func (*RemoveChainLocalOverridesByTargetResponse_Body) MarshalJSON added in v0.43.0

MarshalJSON implements the json.Marshaler interface.

func (*RemoveChainLocalOverridesByTargetResponse_Body) MarshalProtobuf added in v0.43.0

func (x *RemoveChainLocalOverridesByTargetResponse_Body) MarshalProtobuf(dst []byte) []byte

MarshalProtobuf implements the encoding.ProtoMarshaler interface.

func (*RemoveChainLocalOverridesByTargetResponse_Body) StableSize added in v0.38.0

func (x *RemoveChainLocalOverridesByTargetResponse_Body) StableSize() (size int)

StableSize returns the size of x in protobuf format.

Structures with the same field values have the same binary size.

func (*RemoveChainLocalOverridesByTargetResponse_Body) UnmarshalEasyJSON added in v0.43.0

func (*RemoveChainLocalOverridesByTargetResponse_Body) UnmarshalJSON added in v0.43.0

UnmarshalJSON implements the json.Unmarshaler interface.

func (*RemoveChainLocalOverridesByTargetResponse_Body) UnmarshalProtobuf added in v0.43.0

func (x *RemoveChainLocalOverridesByTargetResponse_Body) UnmarshalProtobuf(src []byte) (err error)

UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.

type ResetShardEvacuationStatusRequest added in v0.38.0

type ResetShardEvacuationStatusRequest struct {
	Body      *ResetShardEvacuationStatusRequest_Body `json:"body"`
	Signature *Signature                              `json:"signature"`
}

func (*ResetShardEvacuationStatusRequest) EmitProtobuf added in v0.43.0

func (*ResetShardEvacuationStatusRequest) GetBody added in v0.38.0

func (*ResetShardEvacuationStatusRequest) GetSignature added in v0.38.0

func (x *ResetShardEvacuationStatusRequest) GetSignature() *Signature

func (*ResetShardEvacuationStatusRequest) MarshalEasyJSON added in v0.43.0

func (x *ResetShardEvacuationStatusRequest) MarshalEasyJSON(out *jwriter.Writer)

func (*ResetShardEvacuationStatusRequest) MarshalJSON added in v0.43.0

func (x *ResetShardEvacuationStatusRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (*ResetShardEvacuationStatusRequest) MarshalProtobuf added in v0.43.0

func (x *ResetShardEvacuationStatusRequest) MarshalProtobuf(dst []byte) []byte

MarshalProtobuf implements the encoding.ProtoMarshaler interface.

func (*ResetShardEvacuationStatusRequest) ReadSignedData added in v0.38.0

func (x *ResetShardEvacuationStatusRequest) ReadSignedData(buf []byte) ([]byte, error)

SignedDataSize returns size of the request signed data in bytes.

Structures with the same field values have the same signed data size.

func (*ResetShardEvacuationStatusRequest) SetBody added in v0.43.0

func (*ResetShardEvacuationStatusRequest) SetSignature added in v0.38.0

func (x *ResetShardEvacuationStatusRequest) SetSignature(v *Signature)

func (*ResetShardEvacuationStatusRequest) SignedDataSize added in v0.38.0

func (x *ResetShardEvacuationStatusRequest) SignedDataSize() int

ReadSignedData fills buf with signed data of x. If buffer length is less than x.SignedDataSize(), new buffer is allocated.

Returns any error encountered which did not allow writing the data completely. Otherwise, returns the buffer in which the data is written.

Structures with the same field values have the same signed data.

func (*ResetShardEvacuationStatusRequest) StableSize added in v0.38.0

func (x *ResetShardEvacuationStatusRequest) StableSize() (size int)

StableSize returns the size of x in protobuf format.

Structures with the same field values have the same binary size.

func (*ResetShardEvacuationStatusRequest) UnmarshalEasyJSON added in v0.43.0

func (x *ResetShardEvacuationStatusRequest) UnmarshalEasyJSON(in *jlexer.Lexer)

func (*ResetShardEvacuationStatusRequest) UnmarshalJSON added in v0.43.0

func (x *ResetShardEvacuationStatusRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaler interface.

func (*ResetShardEvacuationStatusRequest) UnmarshalProtobuf added in v0.43.0

func (x *ResetShardEvacuationStatusRequest) UnmarshalProtobuf(src []byte) (err error)

UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.

type ResetShardEvacuationStatusRequest_Body added in v0.38.0

type ResetShardEvacuationStatusRequest_Body struct {
}

func (*ResetShardEvacuationStatusRequest_Body) EmitProtobuf added in v0.43.0

func (*ResetShardEvacuationStatusRequest_Body) MarshalEasyJSON added in v0.43.0

func (x *ResetShardEvacuationStatusRequest_Body) MarshalEasyJSON(out *jwriter.Writer)

func (*ResetShardEvacuationStatusRequest_Body) MarshalJSON added in v0.43.0

func (x *ResetShardEvacuationStatusRequest_Body) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (*ResetShardEvacuationStatusRequest_Body) MarshalProtobuf added in v0.43.0

func (x *ResetShardEvacuationStatusRequest_Body) MarshalProtobuf(dst []byte) []byte

MarshalProtobuf implements the encoding.ProtoMarshaler interface.

func (*ResetShardEvacuationStatusRequest_Body) StableSize added in v0.38.0

func (x *ResetShardEvacuationStatusRequest_Body) StableSize() (size int)

StableSize returns the size of x in protobuf format.

Structures with the same field values have the same binary size.

func (*ResetShardEvacuationStatusRequest_Body) UnmarshalEasyJSON added in v0.43.0

func (x *ResetShardEvacuationStatusRequest_Body) UnmarshalEasyJSON(in *jlexer.Lexer)

func (*ResetShardEvacuationStatusRequest_Body) UnmarshalJSON added in v0.43.0

func (x *ResetShardEvacuationStatusRequest_Body) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaler interface.

func (*ResetShardEvacuationStatusRequest_Body) UnmarshalProtobuf added in v0.43.0

func (x *ResetShardEvacuationStatusRequest_Body) UnmarshalProtobuf(src []byte) (err error)

UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.

type ResetShardEvacuationStatusResponse added in v0.38.0

type ResetShardEvacuationStatusResponse struct {
	Body      *ResetShardEvacuationStatusResponse_Body `json:"body"`
	Signature *Signature                               `json:"signature"`
}

func ResetShardEvacuationStatus added in v0.38.0

ResetShardEvacuationStatus executes ControlService.ResetShardEvacuationStatus RPC.

func (*ResetShardEvacuationStatusResponse) EmitProtobuf added in v0.43.0

func (*ResetShardEvacuationStatusResponse) GetBody added in v0.38.0

func (*ResetShardEvacuationStatusResponse) GetSignature added in v0.38.0

func (x *ResetShardEvacuationStatusResponse) GetSignature() *Signature

func (*ResetShardEvacuationStatusResponse) MarshalEasyJSON added in v0.43.0

func (x *ResetShardEvacuationStatusResponse) MarshalEasyJSON(out *jwriter.Writer)

func (*ResetShardEvacuationStatusResponse) MarshalJSON added in v0.43.0

func (x *ResetShardEvacuationStatusResponse) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (*ResetShardEvacuationStatusResponse) MarshalProtobuf added in v0.43.0

func (x *ResetShardEvacuationStatusResponse) MarshalProtobuf(dst []byte) []byte

MarshalProtobuf implements the encoding.ProtoMarshaler interface.

func (*ResetShardEvacuationStatusResponse) ReadSignedData added in v0.38.0

func (x *ResetShardEvacuationStatusResponse) ReadSignedData(buf []byte) ([]byte, error)

SignedDataSize returns size of the request signed data in bytes.

Structures with the same field values have the same signed data size.

func (*ResetShardEvacuationStatusResponse) SetBody added in v0.43.0

func (*ResetShardEvacuationStatusResponse) SetSignature added in v0.38.0

func (x *ResetShardEvacuationStatusResponse) SetSignature(v *Signature)

func (*ResetShardEvacuationStatusResponse) SignedDataSize added in v0.38.0

func (x *ResetShardEvacuationStatusResponse) SignedDataSize() int

ReadSignedData fills buf with signed data of x. If buffer length is less than x.SignedDataSize(), new buffer is allocated.

Returns any error encountered which did not allow writing the data completely. Otherwise, returns the buffer in which the data is written.

Structures with the same field values have the same signed data.

func (*ResetShardEvacuationStatusResponse) StableSize added in v0.38.0

func (x *ResetShardEvacuationStatusResponse) StableSize() (size int)

StableSize returns the size of x in protobuf format.

Structures with the same field values have the same binary size.

func (*ResetShardEvacuationStatusResponse) UnmarshalEasyJSON added in v0.43.0

func (x *ResetShardEvacuationStatusResponse) UnmarshalEasyJSON(in *jlexer.Lexer)

func (*ResetShardEvacuationStatusResponse) UnmarshalJSON added in v0.43.0

func (x *ResetShardEvacuationStatusResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaler interface.

func (*ResetShardEvacuationStatusResponse) UnmarshalProtobuf added in v0.43.0

func (x *ResetShardEvacuationStatusResponse) UnmarshalProtobuf(src []byte) (err error)

UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.

type ResetShardEvacuationStatusResponse_Body added in v0.38.0

type ResetShardEvacuationStatusResponse_Body struct {
}

func (*ResetShardEvacuationStatusResponse_Body) EmitProtobuf added in v0.43.0

func (*ResetShardEvacuationStatusResponse_Body) MarshalEasyJSON added in v0.43.0

func (x *ResetShardEvacuationStatusResponse_Body) MarshalEasyJSON(out *jwriter.Writer)

func (*ResetShardEvacuationStatusResponse_Body) MarshalJSON added in v0.43.0

func (x *ResetShardEvacuationStatusResponse_Body) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (*ResetShardEvacuationStatusResponse_Body) MarshalProtobuf added in v0.43.0

func (x *ResetShardEvacuationStatusResponse_Body) MarshalProtobuf(dst []byte) []byte

MarshalProtobuf implements the encoding.ProtoMarshaler interface.

func (*ResetShardEvacuationStatusResponse_Body) StableSize added in v0.38.0

func (x *ResetShardEvacuationStatusResponse_Body) StableSize() (size int)

StableSize returns the size of x in protobuf format.

Structures with the same field values have the same binary size.

func (*ResetShardEvacuationStatusResponse_Body) UnmarshalEasyJSON added in v0.43.0

func (x *ResetShardEvacuationStatusResponse_Body) UnmarshalEasyJSON(in *jlexer.Lexer)

func (*ResetShardEvacuationStatusResponse_Body) UnmarshalJSON added in v0.43.0

func (x *ResetShardEvacuationStatusResponse_Body) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaler interface.

func (*ResetShardEvacuationStatusResponse_Body) UnmarshalProtobuf added in v0.43.0

func (x *ResetShardEvacuationStatusResponse_Body) UnmarshalProtobuf(src []byte) (err error)

UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.

type SealWriteCacheRequest added in v0.38.0

type SealWriteCacheRequest struct {
	Body      *SealWriteCacheRequest_Body `json:"body"`
	Signature *Signature                  `json:"signature"`
}

func (*SealWriteCacheRequest) EmitProtobuf added in v0.43.0

func (x *SealWriteCacheRequest) EmitProtobuf(mm *easyproto.MessageMarshaler)

func (*SealWriteCacheRequest) GetBody added in v0.38.0

func (*SealWriteCacheRequest) GetSignature added in v0.38.0

func (x *SealWriteCacheRequest) GetSignature() *Signature

func (*SealWriteCacheRequest) MarshalEasyJSON added in v0.43.0

func (x *SealWriteCacheRequest) MarshalEasyJSON(out *jwriter.Writer)

func (*SealWriteCacheRequest) MarshalJSON added in v0.43.0

func (x *SealWriteCacheRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (*SealWriteCacheRequest) MarshalProtobuf added in v0.43.0

func (x *SealWriteCacheRequest) MarshalProtobuf(dst []byte) []byte

MarshalProtobuf implements the encoding.ProtoMarshaler interface.

func (*SealWriteCacheRequest) ReadSignedData added in v0.38.0

func (x *SealWriteCacheRequest) ReadSignedData(buf []byte) ([]byte, error)

SignedDataSize returns size of the request signed data in bytes.

Structures with the same field values have the same signed data size.

func (*SealWriteCacheRequest) SetBody added in v0.43.0

func (*SealWriteCacheRequest) SetSignature added in v0.38.0

func (x *SealWriteCacheRequest) SetSignature(v *Signature)

func (*SealWriteCacheRequest) SignedDataSize added in v0.38.0

func (x *SealWriteCacheRequest) SignedDataSize() int

ReadSignedData fills buf with signed data of x. If buffer length is less than x.SignedDataSize(), new buffer is allocated.

Returns any error encountered which did not allow writing the data completely. Otherwise, returns the buffer in which the data is written.

Structures with the same field values have the same signed data.

func (*SealWriteCacheRequest) StableSize added in v0.38.0

func (x *SealWriteCacheRequest) StableSize() (size int)

StableSize returns the size of x in protobuf format.

Structures with the same field values have the same binary size.

func (*SealWriteCacheRequest) UnmarshalEasyJSON added in v0.43.0

func (x *SealWriteCacheRequest) UnmarshalEasyJSON(in *jlexer.Lexer)

func (*SealWriteCacheRequest) UnmarshalJSON added in v0.43.0

func (x *SealWriteCacheRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaler interface.

func (*SealWriteCacheRequest) UnmarshalProtobuf added in v0.43.0

func (x *SealWriteCacheRequest) UnmarshalProtobuf(src []byte) (err error)

UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.

type SealWriteCacheRequest_Body added in v0.38.0

type SealWriteCacheRequest_Body struct {
	Shard_ID     [][]byte `json:"shardID"`
	IgnoreErrors bool     `json:"ignoreErrors"`
	Async        bool     `json:"async"`
	RestoreMode  bool     `json:"restoreMode"`
	Shrink       bool     `json:"shrink"`
}

func (*SealWriteCacheRequest_Body) EmitProtobuf added in v0.43.0

func (*SealWriteCacheRequest_Body) GetAsync added in v0.43.0

func (x *SealWriteCacheRequest_Body) GetAsync() bool

func (*SealWriteCacheRequest_Body) GetIgnoreErrors added in v0.38.0

func (x *SealWriteCacheRequest_Body) GetIgnoreErrors() bool

func (*SealWriteCacheRequest_Body) GetRestoreMode added in v0.43.0

func (x *SealWriteCacheRequest_Body) GetRestoreMode() bool

func (*SealWriteCacheRequest_Body) GetShard_ID added in v0.38.0

func (x *SealWriteCacheRequest_Body) GetShard_ID() [][]byte

func (*SealWriteCacheRequest_Body) GetShrink added in v0.43.0

func (x *SealWriteCacheRequest_Body) GetShrink() bool

func (*SealWriteCacheRequest_Body) MarshalEasyJSON added in v0.43.0

func (x *SealWriteCacheRequest_Body) MarshalEasyJSON(out *jwriter.Writer)

func (*SealWriteCacheRequest_Body) MarshalJSON added in v0.43.0

func (x *SealWriteCacheRequest_Body) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (*SealWriteCacheRequest_Body) MarshalProtobuf added in v0.43.0

func (x *SealWriteCacheRequest_Body) MarshalProtobuf(dst []byte) []byte

MarshalProtobuf implements the encoding.ProtoMarshaler interface.

func (*SealWriteCacheRequest_Body) SetAsync added in v0.43.0

func (x *SealWriteCacheRequest_Body) SetAsync(v bool)

func (*SealWriteCacheRequest_Body) SetIgnoreErrors added in v0.43.0

func (x *SealWriteCacheRequest_Body) SetIgnoreErrors(v bool)

func (*SealWriteCacheRequest_Body) SetRestoreMode added in v0.43.0

func (x *SealWriteCacheRequest_Body) SetRestoreMode(v bool)

func (*SealWriteCacheRequest_Body) SetShard_ID added in v0.43.0

func (x *SealWriteCacheRequest_Body) SetShard_ID(v [][]byte)

func (*SealWriteCacheRequest_Body) SetShrink added in v0.43.0

func (x *SealWriteCacheRequest_Body) SetShrink(v bool)

func (*SealWriteCacheRequest_Body) StableSize added in v0.38.0

func (x *SealWriteCacheRequest_Body) StableSize() (size int)

StableSize returns the size of x in protobuf format.

Structures with the same field values have the same binary size.

func (*SealWriteCacheRequest_Body) UnmarshalEasyJSON added in v0.43.0

func (x *SealWriteCacheRequest_Body) UnmarshalEasyJSON(in *jlexer.Lexer)

func (*SealWriteCacheRequest_Body) UnmarshalJSON added in v0.43.0

func (x *SealWriteCacheRequest_Body) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaler interface.

func (*SealWriteCacheRequest_Body) UnmarshalProtobuf added in v0.43.0

func (x *SealWriteCacheRequest_Body) UnmarshalProtobuf(src []byte) (err error)

UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.

type SealWriteCacheResponse added in v0.38.0

type SealWriteCacheResponse struct {
	Body      *SealWriteCacheResponse_Body `json:"body"`
	Signature *Signature                   `json:"signature"`
}

func SealWriteCache added in v0.38.0

func SealWriteCache(cli *client.Client, req *SealWriteCacheRequest, opts ...client.CallOption) (*SealWriteCacheResponse, error)

SealWriteCache executes ControlService.SealWriteCache RPC.

func (*SealWriteCacheResponse) EmitProtobuf added in v0.43.0

func (x *SealWriteCacheResponse) EmitProtobuf(mm *easyproto.MessageMarshaler)

func (*SealWriteCacheResponse) GetBody added in v0.38.0

func (*SealWriteCacheResponse) GetSignature added in v0.38.0

func (x *SealWriteCacheResponse) GetSignature() *Signature

func (*SealWriteCacheResponse) MarshalEasyJSON added in v0.43.0

func (x *SealWriteCacheResponse) MarshalEasyJSON(out *jwriter.Writer)

func (*SealWriteCacheResponse) MarshalJSON added in v0.43.0

func (x *SealWriteCacheResponse) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (*SealWriteCacheResponse) MarshalProtobuf added in v0.43.0

func (x *SealWriteCacheResponse) MarshalProtobuf(dst []byte) []byte

MarshalProtobuf implements the encoding.ProtoMarshaler interface.

func (*SealWriteCacheResponse) ReadSignedData added in v0.38.0

func (x *SealWriteCacheResponse) ReadSignedData(buf []byte) ([]byte, error)

SignedDataSize returns size of the request signed data in bytes.

Structures with the same field values have the same signed data size.

func (*SealWriteCacheResponse) SetBody added in v0.43.0

func (*SealWriteCacheResponse) SetSignature added in v0.38.0

func (x *SealWriteCacheResponse) SetSignature(v *Signature)

func (*SealWriteCacheResponse) SignedDataSize added in v0.38.0

func (x *SealWriteCacheResponse) SignedDataSize() int

ReadSignedData fills buf with signed data of x. If buffer length is less than x.SignedDataSize(), new buffer is allocated.

Returns any error encountered which did not allow writing the data completely. Otherwise, returns the buffer in which the data is written.

Structures with the same field values have the same signed data.

func (*SealWriteCacheResponse) StableSize added in v0.38.0

func (x *SealWriteCacheResponse) StableSize() (size int)

StableSize returns the size of x in protobuf format.

Structures with the same field values have the same binary size.

func (*SealWriteCacheResponse) UnmarshalEasyJSON added in v0.43.0

func (x *SealWriteCacheResponse) UnmarshalEasyJSON(in *jlexer.Lexer)

func (*SealWriteCacheResponse) UnmarshalJSON added in v0.43.0

func (x *SealWriteCacheResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaler interface.

func (*SealWriteCacheResponse) UnmarshalProtobuf added in v0.43.0

func (x *SealWriteCacheResponse) UnmarshalProtobuf(src []byte) (err error)

UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.

type SealWriteCacheResponse_Body added in v0.38.0

type SealWriteCacheResponse_Body struct {
	Results []SealWriteCacheResponse_Body_Status `json:"results"`
}

func (*SealWriteCacheResponse_Body) EmitProtobuf added in v0.43.0

func (*SealWriteCacheResponse_Body) GetResults added in v0.38.0

func (*SealWriteCacheResponse_Body) MarshalEasyJSON added in v0.43.0

func (x *SealWriteCacheResponse_Body) MarshalEasyJSON(out *jwriter.Writer)

func (*SealWriteCacheResponse_Body) MarshalJSON added in v0.43.0

func (x *SealWriteCacheResponse_Body) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (*SealWriteCacheResponse_Body) MarshalProtobuf added in v0.43.0

func (x *SealWriteCacheResponse_Body) MarshalProtobuf(dst []byte) []byte

MarshalProtobuf implements the encoding.ProtoMarshaler interface.

func (*SealWriteCacheResponse_Body) SetResults added in v0.43.0

func (*SealWriteCacheResponse_Body) StableSize added in v0.38.0

func (x *SealWriteCacheResponse_Body) StableSize() (size int)

StableSize returns the size of x in protobuf format.

Structures with the same field values have the same binary size.

func (*SealWriteCacheResponse_Body) UnmarshalEasyJSON added in v0.43.0

func (x *SealWriteCacheResponse_Body) UnmarshalEasyJSON(in *jlexer.Lexer)

func (*SealWriteCacheResponse_Body) UnmarshalJSON added in v0.43.0

func (x *SealWriteCacheResponse_Body) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaler interface.

func (*SealWriteCacheResponse_Body) UnmarshalProtobuf added in v0.43.0

func (x *SealWriteCacheResponse_Body) UnmarshalProtobuf(src []byte) (err error)

UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.

type SealWriteCacheResponse_Body_Status added in v0.38.0

type SealWriteCacheResponse_Body_Status struct {
	Shard_ID []byte `json:"shardID"`
	Success  bool   `json:"success"`
	Error    string `json:"error"`
}

func (*SealWriteCacheResponse_Body_Status) EmitProtobuf added in v0.43.0

func (*SealWriteCacheResponse_Body_Status) GetError added in v0.38.0

func (*SealWriteCacheResponse_Body_Status) GetShard_ID added in v0.38.0

func (x *SealWriteCacheResponse_Body_Status) GetShard_ID() []byte

func (*SealWriteCacheResponse_Body_Status) GetSuccess added in v0.38.0

func (x *SealWriteCacheResponse_Body_Status) GetSuccess() bool

func (*SealWriteCacheResponse_Body_Status) MarshalEasyJSON added in v0.43.0

func (x *SealWriteCacheResponse_Body_Status) MarshalEasyJSON(out *jwriter.Writer)

func (*SealWriteCacheResponse_Body_Status) MarshalJSON added in v0.43.0

func (x *SealWriteCacheResponse_Body_Status) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (*SealWriteCacheResponse_Body_Status) MarshalProtobuf added in v0.43.0

func (x *SealWriteCacheResponse_Body_Status) MarshalProtobuf(dst []byte) []byte

MarshalProtobuf implements the encoding.ProtoMarshaler interface.

func (*SealWriteCacheResponse_Body_Status) SetError added in v0.43.0

func (*SealWriteCacheResponse_Body_Status) SetShard_ID added in v0.43.0

func (x *SealWriteCacheResponse_Body_Status) SetShard_ID(v []byte)

func (*SealWriteCacheResponse_Body_Status) SetSuccess added in v0.43.0

func (x *SealWriteCacheResponse_Body_Status) SetSuccess(v bool)

func (*SealWriteCacheResponse_Body_Status) StableSize added in v0.38.0

func (x *SealWriteCacheResponse_Body_Status) StableSize() (size int)

StableSize returns the size of x in protobuf format.

Structures with the same field values have the same binary size.

func (*SealWriteCacheResponse_Body_Status) UnmarshalEasyJSON added in v0.43.0

func (x *SealWriteCacheResponse_Body_Status) UnmarshalEasyJSON(in *jlexer.Lexer)

func (*SealWriteCacheResponse_Body_Status) UnmarshalJSON added in v0.43.0

func (x *SealWriteCacheResponse_Body_Status) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaler interface.

func (*SealWriteCacheResponse_Body_Status) UnmarshalProtobuf added in v0.43.0

func (x *SealWriteCacheResponse_Body_Status) UnmarshalProtobuf(src []byte) (err error)

UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.

type SetNetmapStatusRequest

type SetNetmapStatusRequest struct {
	Body      *SetNetmapStatusRequest_Body `json:"body"`
	Signature *Signature                   `json:"signature"`
}

func (*SetNetmapStatusRequest) EmitProtobuf added in v0.43.0

func (x *SetNetmapStatusRequest) EmitProtobuf(mm *easyproto.MessageMarshaler)

func (*SetNetmapStatusRequest) GetBody

func (*SetNetmapStatusRequest) GetSignature

func (x *SetNetmapStatusRequest) GetSignature() *Signature

func (*SetNetmapStatusRequest) MarshalEasyJSON added in v0.43.0

func (x *SetNetmapStatusRequest) MarshalEasyJSON(out *jwriter.Writer)

func (*SetNetmapStatusRequest) MarshalJSON added in v0.43.0

func (x *SetNetmapStatusRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (*SetNetmapStatusRequest) MarshalProtobuf added in v0.43.0

func (x *SetNetmapStatusRequest) MarshalProtobuf(dst []byte) []byte

MarshalProtobuf implements the encoding.ProtoMarshaler interface.

func (*SetNetmapStatusRequest) ReadSignedData

func (x *SetNetmapStatusRequest) ReadSignedData(buf []byte) ([]byte, error)

SignedDataSize returns size of the request signed data in bytes.

Structures with the same field values have the same signed data size.

func (*SetNetmapStatusRequest) SetBody

func (*SetNetmapStatusRequest) SetSignature

func (x *SetNetmapStatusRequest) SetSignature(v *Signature)

func (*SetNetmapStatusRequest) SignedDataSize

func (x *SetNetmapStatusRequest) SignedDataSize() int

ReadSignedData fills buf with signed data of x. If buffer length is less than x.SignedDataSize(), new buffer is allocated.

Returns any error encountered which did not allow writing the data completely. Otherwise, returns the buffer in which the data is written.

Structures with the same field values have the same signed data.

func (*SetNetmapStatusRequest) StableSize

func (x *SetNetmapStatusRequest) StableSize() (size int)

StableSize returns the size of x in protobuf format.

Structures with the same field values have the same binary size.

func (*SetNetmapStatusRequest) UnmarshalEasyJSON added in v0.43.0

func (x *SetNetmapStatusRequest) UnmarshalEasyJSON(in *jlexer.Lexer)

func (*SetNetmapStatusRequest) UnmarshalJSON added in v0.43.0

func (x *SetNetmapStatusRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaler interface.

func (*SetNetmapStatusRequest) UnmarshalProtobuf added in v0.43.0

func (x *SetNetmapStatusRequest) UnmarshalProtobuf(src []byte) (err error)

UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.

type SetNetmapStatusRequest_Body

type SetNetmapStatusRequest_Body struct {
	Status           NetmapStatus `json:"status"`
	ForceMaintenance bool         `json:"forceMaintenance"`
}

func (*SetNetmapStatusRequest_Body) EmitProtobuf added in v0.43.0

func (*SetNetmapStatusRequest_Body) GetForceMaintenance

func (x *SetNetmapStatusRequest_Body) GetForceMaintenance() bool

func (*SetNetmapStatusRequest_Body) GetStatus

func (*SetNetmapStatusRequest_Body) MarshalEasyJSON added in v0.43.0

func (x *SetNetmapStatusRequest_Body) MarshalEasyJSON(out *jwriter.Writer)

func (*SetNetmapStatusRequest_Body) MarshalJSON added in v0.43.0

func (x *SetNetmapStatusRequest_Body) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (*SetNetmapStatusRequest_Body) MarshalProtobuf added in v0.43.0

func (x *SetNetmapStatusRequest_Body) MarshalProtobuf(dst []byte) []byte

MarshalProtobuf implements the encoding.ProtoMarshaler interface.

func (*SetNetmapStatusRequest_Body) SetForceMaintenance

func (x *SetNetmapStatusRequest_Body) SetForceMaintenance(v bool)

func (*SetNetmapStatusRequest_Body) SetStatus

func (x *SetNetmapStatusRequest_Body) SetStatus(v NetmapStatus)

func (*SetNetmapStatusRequest_Body) StableSize

func (x *SetNetmapStatusRequest_Body) StableSize() (size int)

StableSize returns the size of x in protobuf format.

Structures with the same field values have the same binary size.

func (*SetNetmapStatusRequest_Body) UnmarshalEasyJSON added in v0.43.0

func (x *SetNetmapStatusRequest_Body) UnmarshalEasyJSON(in *jlexer.Lexer)

func (*SetNetmapStatusRequest_Body) UnmarshalJSON added in v0.43.0

func (x *SetNetmapStatusRequest_Body) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaler interface.

func (*SetNetmapStatusRequest_Body) UnmarshalProtobuf added in v0.43.0

func (x *SetNetmapStatusRequest_Body) UnmarshalProtobuf(src []byte) (err error)

UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.

type SetNetmapStatusResponse

type SetNetmapStatusResponse struct {
	Body      *SetNetmapStatusResponse_Body `json:"body"`
	Signature *Signature                    `json:"signature"`
}

func SetNetmapStatus

func SetNetmapStatus(
	cli *client.Client,
	req *SetNetmapStatusRequest,
	opts ...client.CallOption,
) (*SetNetmapStatusResponse, error)

SetNetmapStatus executes ControlService.SetNetmapStatus RPC.

func (*SetNetmapStatusResponse) EmitProtobuf added in v0.43.0

func (x *SetNetmapStatusResponse) EmitProtobuf(mm *easyproto.MessageMarshaler)

func (*SetNetmapStatusResponse) GetBody

func (*SetNetmapStatusResponse) GetSignature

func (x *SetNetmapStatusResponse) GetSignature() *Signature

func (*SetNetmapStatusResponse) MarshalEasyJSON added in v0.43.0

func (x *SetNetmapStatusResponse) MarshalEasyJSON(out *jwriter.Writer)

func (*SetNetmapStatusResponse) MarshalJSON added in v0.43.0

func (x *SetNetmapStatusResponse) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (*SetNetmapStatusResponse) MarshalProtobuf added in v0.43.0

func (x *SetNetmapStatusResponse) MarshalProtobuf(dst []byte) []byte

MarshalProtobuf implements the encoding.ProtoMarshaler interface.

func (*SetNetmapStatusResponse) ReadSignedData

func (x *SetNetmapStatusResponse) ReadSignedData(buf []byte) ([]byte, error)

SignedDataSize returns size of the request signed data in bytes.

Structures with the same field values have the same signed data size.

func (*SetNetmapStatusResponse) SetBody

func (*SetNetmapStatusResponse) SetSignature

func (x *SetNetmapStatusResponse) SetSignature(v *Signature)

func (*SetNetmapStatusResponse) SignedDataSize

func (x *SetNetmapStatusResponse) SignedDataSize() int

ReadSignedData fills buf with signed data of x. If buffer length is less than x.SignedDataSize(), new buffer is allocated.

Returns any error encountered which did not allow writing the data completely. Otherwise, returns the buffer in which the data is written.

Structures with the same field values have the same signed data.

func (*SetNetmapStatusResponse) StableSize

func (x *SetNetmapStatusResponse) StableSize() (size int)

StableSize returns the size of x in protobuf format.

Structures with the same field values have the same binary size.

func (*SetNetmapStatusResponse) UnmarshalEasyJSON added in v0.43.0

func (x *SetNetmapStatusResponse) UnmarshalEasyJSON(in *jlexer.Lexer)

func (*SetNetmapStatusResponse) UnmarshalJSON added in v0.43.0

func (x *SetNetmapStatusResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaler interface.

func (*SetNetmapStatusResponse) UnmarshalProtobuf added in v0.43.0

func (x *SetNetmapStatusResponse) UnmarshalProtobuf(src []byte) (err error)

UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.

type SetNetmapStatusResponse_Body

type SetNetmapStatusResponse_Body struct {
}

func (*SetNetmapStatusResponse_Body) EmitProtobuf added in v0.43.0

func (*SetNetmapStatusResponse_Body) MarshalEasyJSON added in v0.43.0

func (x *SetNetmapStatusResponse_Body) MarshalEasyJSON(out *jwriter.Writer)

func (*SetNetmapStatusResponse_Body) MarshalJSON added in v0.43.0

func (x *SetNetmapStatusResponse_Body) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (*SetNetmapStatusResponse_Body) MarshalProtobuf added in v0.43.0

func (x *SetNetmapStatusResponse_Body) MarshalProtobuf(dst []byte) []byte

MarshalProtobuf implements the encoding.ProtoMarshaler interface.

func (*SetNetmapStatusResponse_Body) StableSize

func (x *SetNetmapStatusResponse_Body) StableSize() (size int)

StableSize returns the size of x in protobuf format.

Structures with the same field values have the same binary size.

func (*SetNetmapStatusResponse_Body) UnmarshalEasyJSON added in v0.43.0

func (x *SetNetmapStatusResponse_Body) UnmarshalEasyJSON(in *jlexer.Lexer)

func (*SetNetmapStatusResponse_Body) UnmarshalJSON added in v0.43.0

func (x *SetNetmapStatusResponse_Body) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaler interface.

func (*SetNetmapStatusResponse_Body) UnmarshalProtobuf added in v0.43.0

func (x *SetNetmapStatusResponse_Body) UnmarshalProtobuf(src []byte) (err error)

UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.

type SetShardModeRequest

type SetShardModeRequest struct {
	Body      *SetShardModeRequest_Body `json:"body"`
	Signature *Signature                `json:"signature"`
}

func (*SetShardModeRequest) EmitProtobuf added in v0.43.0

func (x *SetShardModeRequest) EmitProtobuf(mm *easyproto.MessageMarshaler)

func (*SetShardModeRequest) GetBody

func (*SetShardModeRequest) GetSignature

func (x *SetShardModeRequest) GetSignature() *Signature

func (*SetShardModeRequest) MarshalEasyJSON added in v0.43.0

func (x *SetShardModeRequest) MarshalEasyJSON(out *jwriter.Writer)

func (*SetShardModeRequest) MarshalJSON added in v0.43.0

func (x *SetShardModeRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (*SetShardModeRequest) MarshalProtobuf added in v0.43.0

func (x *SetShardModeRequest) MarshalProtobuf(dst []byte) []byte

MarshalProtobuf implements the encoding.ProtoMarshaler interface.

func (*SetShardModeRequest) ReadSignedData

func (x *SetShardModeRequest) ReadSignedData(buf []byte) ([]byte, error)

SignedDataSize returns size of the request signed data in bytes.

Structures with the same field values have the same signed data size.

func (*SetShardModeRequest) SetBody

func (*SetShardModeRequest) SetSignature

func (x *SetShardModeRequest) SetSignature(v *Signature)

func (*SetShardModeRequest) SignedDataSize

func (x *SetShardModeRequest) SignedDataSize() int

ReadSignedData fills buf with signed data of x. If buffer length is less than x.SignedDataSize(), new buffer is allocated.

Returns any error encountered which did not allow writing the data completely. Otherwise, returns the buffer in which the data is written.

Structures with the same field values have the same signed data.

func (*SetShardModeRequest) StableSize

func (x *SetShardModeRequest) StableSize() (size int)

StableSize returns the size of x in protobuf format.

Structures with the same field values have the same binary size.

func (*SetShardModeRequest) UnmarshalEasyJSON added in v0.43.0

func (x *SetShardModeRequest) UnmarshalEasyJSON(in *jlexer.Lexer)

func (*SetShardModeRequest) UnmarshalJSON added in v0.43.0

func (x *SetShardModeRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaler interface.

func (*SetShardModeRequest) UnmarshalProtobuf added in v0.43.0

func (x *SetShardModeRequest) UnmarshalProtobuf(src []byte) (err error)

UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.

type SetShardModeRequest_Body

type SetShardModeRequest_Body struct {
	Shard_ID          [][]byte  `json:"shardID"`
	Mode              ShardMode `json:"mode"`
	ResetErrorCounter bool      `json:"resetErrorCounter"`
}

func (*SetShardModeRequest_Body) EmitProtobuf added in v0.43.0

func (*SetShardModeRequest_Body) GetMode

func (x *SetShardModeRequest_Body) GetMode() ShardMode

func (*SetShardModeRequest_Body) GetResetErrorCounter

func (x *SetShardModeRequest_Body) GetResetErrorCounter() bool

func (*SetShardModeRequest_Body) GetShard_ID

func (x *SetShardModeRequest_Body) GetShard_ID() [][]byte

func (*SetShardModeRequest_Body) MarshalEasyJSON added in v0.43.0

func (x *SetShardModeRequest_Body) MarshalEasyJSON(out *jwriter.Writer)

func (*SetShardModeRequest_Body) MarshalJSON added in v0.43.0

func (x *SetShardModeRequest_Body) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (*SetShardModeRequest_Body) MarshalProtobuf added in v0.43.0

func (x *SetShardModeRequest_Body) MarshalProtobuf(dst []byte) []byte

MarshalProtobuf implements the encoding.ProtoMarshaler interface.

func (*SetShardModeRequest_Body) SetMode

func (x *SetShardModeRequest_Body) SetMode(v ShardMode)

func (*SetShardModeRequest_Body) SetResetErrorCounter added in v0.43.0

func (x *SetShardModeRequest_Body) SetResetErrorCounter(v bool)

func (*SetShardModeRequest_Body) SetShard_ID added in v0.43.0

func (x *SetShardModeRequest_Body) SetShard_ID(v [][]byte)

func (*SetShardModeRequest_Body) StableSize

func (x *SetShardModeRequest_Body) StableSize() (size int)

StableSize returns the size of x in protobuf format.

Structures with the same field values have the same binary size.

func (*SetShardModeRequest_Body) UnmarshalEasyJSON added in v0.43.0

func (x *SetShardModeRequest_Body) UnmarshalEasyJSON(in *jlexer.Lexer)

func (*SetShardModeRequest_Body) UnmarshalJSON added in v0.43.0

func (x *SetShardModeRequest_Body) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaler interface.

func (*SetShardModeRequest_Body) UnmarshalProtobuf added in v0.43.0

func (x *SetShardModeRequest_Body) UnmarshalProtobuf(src []byte) (err error)

UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.

type SetShardModeResponse

type SetShardModeResponse struct {
	Body      *SetShardModeResponse_Body `json:"body"`
	Signature *Signature                 `json:"signature"`
}

func SetShardMode

func SetShardMode(
	cli *client.Client,
	req *SetShardModeRequest,
	opts ...client.CallOption,
) (*SetShardModeResponse, error)

SetShardMode executes ControlService.SetShardMode RPC.

func (*SetShardModeResponse) EmitProtobuf added in v0.43.0

func (x *SetShardModeResponse) EmitProtobuf(mm *easyproto.MessageMarshaler)

func (*SetShardModeResponse) GetBody

func (*SetShardModeResponse) GetSignature

func (x *SetShardModeResponse) GetSignature() *Signature

func (*SetShardModeResponse) MarshalEasyJSON added in v0.43.0

func (x *SetShardModeResponse) MarshalEasyJSON(out *jwriter.Writer)

func (*SetShardModeResponse) MarshalJSON added in v0.43.0

func (x *SetShardModeResponse) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (*SetShardModeResponse) MarshalProtobuf added in v0.43.0

func (x *SetShardModeResponse) MarshalProtobuf(dst []byte) []byte

MarshalProtobuf implements the encoding.ProtoMarshaler interface.

func (*SetShardModeResponse) ReadSignedData

func (x *SetShardModeResponse) ReadSignedData(buf []byte) ([]byte, error)

SignedDataSize returns size of the request signed data in bytes.

Structures with the same field values have the same signed data size.

func (*SetShardModeResponse) SetBody

func (*SetShardModeResponse) SetSignature

func (x *SetShardModeResponse) SetSignature(v *Signature)

func (*SetShardModeResponse) SignedDataSize

func (x *SetShardModeResponse) SignedDataSize() int

ReadSignedData fills buf with signed data of x. If buffer length is less than x.SignedDataSize(), new buffer is allocated.

Returns any error encountered which did not allow writing the data completely. Otherwise, returns the buffer in which the data is written.

Structures with the same field values have the same signed data.

func (*SetShardModeResponse) StableSize

func (x *SetShardModeResponse) StableSize() (size int)

StableSize returns the size of x in protobuf format.

Structures with the same field values have the same binary size.

func (*SetShardModeResponse) UnmarshalEasyJSON added in v0.43.0

func (x *SetShardModeResponse) UnmarshalEasyJSON(in *jlexer.Lexer)

func (*SetShardModeResponse) UnmarshalJSON added in v0.43.0

func (x *SetShardModeResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaler interface.

func (*SetShardModeResponse) UnmarshalProtobuf added in v0.43.0

func (x *SetShardModeResponse) UnmarshalProtobuf(src []byte) (err error)

UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.

type SetShardModeResponse_Body

type SetShardModeResponse_Body struct {
}

func (*SetShardModeResponse_Body) EmitProtobuf added in v0.43.0

func (*SetShardModeResponse_Body) MarshalEasyJSON added in v0.43.0

func (x *SetShardModeResponse_Body) MarshalEasyJSON(out *jwriter.Writer)

func (*SetShardModeResponse_Body) MarshalJSON added in v0.43.0

func (x *SetShardModeResponse_Body) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (*SetShardModeResponse_Body) MarshalProtobuf added in v0.43.0

func (x *SetShardModeResponse_Body) MarshalProtobuf(dst []byte) []byte

MarshalProtobuf implements the encoding.ProtoMarshaler interface.

func (*SetShardModeResponse_Body) StableSize

func (x *SetShardModeResponse_Body) StableSize() (size int)

StableSize returns the size of x in protobuf format.

Structures with the same field values have the same binary size.

func (*SetShardModeResponse_Body) UnmarshalEasyJSON added in v0.43.0

func (x *SetShardModeResponse_Body) UnmarshalEasyJSON(in *jlexer.Lexer)

func (*SetShardModeResponse_Body) UnmarshalJSON added in v0.43.0

func (x *SetShardModeResponse_Body) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaler interface.

func (*SetShardModeResponse_Body) UnmarshalProtobuf added in v0.43.0

func (x *SetShardModeResponse_Body) UnmarshalProtobuf(src []byte) (err error)

UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.

type ShardInfo

type ShardInfo struct {
	Shard_ID             []byte         `json:"shardID"`
	MetabasePath         string         `json:"metabasePath"`
	Blobstor             []BlobstorInfo `json:"blobstor"`
	WritecachePath       string         `json:"writecachePath"`
	Mode                 ShardMode      `json:"mode"`
	ErrorCount           uint32         `json:"errorCount"`
	PiloramaPath         string         `json:"piloramaPath"`
	EvacuationInProgress bool           `json:"evacuationInProgress"`
}

func (*ShardInfo) EmitProtobuf added in v0.43.0

func (x *ShardInfo) EmitProtobuf(mm *easyproto.MessageMarshaler)

func (*ShardInfo) GetBlobstor

func (x *ShardInfo) GetBlobstor() []BlobstorInfo

func (*ShardInfo) GetErrorCount

func (x *ShardInfo) GetErrorCount() uint32

func (*ShardInfo) GetEvacuationInProgress added in v0.43.0

func (x *ShardInfo) GetEvacuationInProgress() bool

func (*ShardInfo) GetMetabasePath

func (x *ShardInfo) GetMetabasePath() string

func (*ShardInfo) GetMode

func (x *ShardInfo) GetMode() ShardMode

func (*ShardInfo) GetPiloramaPath

func (x *ShardInfo) GetPiloramaPath() string

func (*ShardInfo) GetShard_ID

func (x *ShardInfo) GetShard_ID() []byte

func (*ShardInfo) GetWritecachePath

func (x *ShardInfo) GetWritecachePath() string

func (*ShardInfo) MarshalEasyJSON added in v0.43.0

func (x *ShardInfo) MarshalEasyJSON(out *jwriter.Writer)

func (*ShardInfo) MarshalJSON added in v0.43.0

func (x *ShardInfo) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (*ShardInfo) MarshalProtobuf added in v0.43.0

func (x *ShardInfo) MarshalProtobuf(dst []byte) []byte

MarshalProtobuf implements the encoding.ProtoMarshaler interface.

func (*ShardInfo) SetBlobstor added in v0.43.0

func (x *ShardInfo) SetBlobstor(v []BlobstorInfo)

func (*ShardInfo) SetErrorCount

func (x *ShardInfo) SetErrorCount(v uint32)

func (*ShardInfo) SetEvacuationInProgress added in v0.43.0

func (x *ShardInfo) SetEvacuationInProgress(v bool)

func (*ShardInfo) SetMetabasePath

func (x *ShardInfo) SetMetabasePath(v string)

func (*ShardInfo) SetMode

func (x *ShardInfo) SetMode(v ShardMode)

func (*ShardInfo) SetPiloramaPath

func (x *ShardInfo) SetPiloramaPath(v string)

func (*ShardInfo) SetShard_ID added in v0.43.0

func (x *ShardInfo) SetShard_ID(v []byte)

func (*ShardInfo) SetWritecachePath added in v0.43.0

func (x *ShardInfo) SetWritecachePath(v string)

func (*ShardInfo) StableSize

func (x *ShardInfo) StableSize() (size int)

StableSize returns the size of x in protobuf format.

Structures with the same field values have the same binary size.

func (*ShardInfo) UnmarshalEasyJSON added in v0.43.0

func (x *ShardInfo) UnmarshalEasyJSON(in *jlexer.Lexer)

func (*ShardInfo) UnmarshalJSON added in v0.43.0

func (x *ShardInfo) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaler interface.

func (*ShardInfo) UnmarshalProtobuf added in v0.43.0

func (x *ShardInfo) UnmarshalProtobuf(src []byte) (err error)

UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.

type ShardMode

type ShardMode int32
const (
	ShardMode_SHARD_MODE_UNDEFINED ShardMode = 0
	ShardMode_READ_WRITE           ShardMode = 1
	ShardMode_READ_ONLY            ShardMode = 2
	ShardMode_DEGRADED             ShardMode = 3
	ShardMode_DEGRADED_READ_ONLY   ShardMode = 4
)

func (*ShardMode) FromString added in v0.43.0

func (x *ShardMode) FromString(s string) bool

func (ShardMode) String

func (x ShardMode) String() string

type Signature

type Signature struct {
	Key  []byte `json:"key"`
	Sign []byte `json:"signature"`
}

func (*Signature) EmitProtobuf added in v0.43.0

func (x *Signature) EmitProtobuf(mm *easyproto.MessageMarshaler)

func (*Signature) GetKey

func (x *Signature) GetKey() []byte

func (*Signature) GetSign

func (x *Signature) GetSign() []byte

func (*Signature) MarshalEasyJSON added in v0.43.0

func (x *Signature) MarshalEasyJSON(out *jwriter.Writer)

func (*Signature) MarshalJSON added in v0.43.0

func (x *Signature) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (*Signature) MarshalProtobuf added in v0.43.0

func (x *Signature) MarshalProtobuf(dst []byte) []byte

MarshalProtobuf implements the encoding.ProtoMarshaler interface.

func (*Signature) SetKey

func (x *Signature) SetKey(v []byte)

func (*Signature) SetSign

func (x *Signature) SetSign(v []byte)

func (*Signature) StableSize

func (x *Signature) StableSize() (size int)

StableSize returns the size of x in protobuf format.

Structures with the same field values have the same binary size.

func (*Signature) UnmarshalEasyJSON added in v0.43.0

func (x *Signature) UnmarshalEasyJSON(in *jlexer.Lexer)

func (*Signature) UnmarshalJSON added in v0.43.0

func (x *Signature) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaler interface.

func (*Signature) UnmarshalProtobuf added in v0.43.0

func (x *Signature) UnmarshalProtobuf(src []byte) (err error)

UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.

type StartShardEvacuationRequest added in v0.37.0

type StartShardEvacuationRequest struct {
	Body      *StartShardEvacuationRequest_Body `json:"body"`
	Signature *Signature                        `json:"signature"`
}

func (*StartShardEvacuationRequest) EmitProtobuf added in v0.43.0

func (*StartShardEvacuationRequest) GetBody added in v0.37.0

func (*StartShardEvacuationRequest) GetSignature added in v0.37.0

func (x *StartShardEvacuationRequest) GetSignature() *Signature

func (*StartShardEvacuationRequest) MarshalEasyJSON added in v0.43.0

func (x *StartShardEvacuationRequest) MarshalEasyJSON(out *jwriter.Writer)

func (*StartShardEvacuationRequest) MarshalJSON added in v0.43.0

func (x *StartShardEvacuationRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (*StartShardEvacuationRequest) MarshalProtobuf added in v0.43.0

func (x *StartShardEvacuationRequest) MarshalProtobuf(dst []byte) []byte

MarshalProtobuf implements the encoding.ProtoMarshaler interface.

func (*StartShardEvacuationRequest) ReadSignedData added in v0.37.0

func (x *StartShardEvacuationRequest) ReadSignedData(buf []byte) ([]byte, error)

SignedDataSize returns size of the request signed data in bytes.

Structures with the same field values have the same signed data size.

func (*StartShardEvacuationRequest) SetBody added in v0.43.0

func (*StartShardEvacuationRequest) SetSignature added in v0.37.0

func (x *StartShardEvacuationRequest) SetSignature(v *Signature)

func (*StartShardEvacuationRequest) SignedDataSize added in v0.37.0

func (x *StartShardEvacuationRequest) SignedDataSize() int

ReadSignedData fills buf with signed data of x. If buffer length is less than x.SignedDataSize(), new buffer is allocated.

Returns any error encountered which did not allow writing the data completely. Otherwise, returns the buffer in which the data is written.

Structures with the same field values have the same signed data.

func (*StartShardEvacuationRequest) StableSize added in v0.37.0

func (x *StartShardEvacuationRequest) StableSize() (size int)

StableSize returns the size of x in protobuf format.

Structures with the same field values have the same binary size.

func (*StartShardEvacuationRequest) UnmarshalEasyJSON added in v0.43.0

func (x *StartShardEvacuationRequest) UnmarshalEasyJSON(in *jlexer.Lexer)

func (*StartShardEvacuationRequest) UnmarshalJSON added in v0.43.0

func (x *StartShardEvacuationRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaler interface.

func (*StartShardEvacuationRequest) UnmarshalProtobuf added in v0.43.0

func (x *StartShardEvacuationRequest) UnmarshalProtobuf(src []byte) (err error)

UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.

type StartShardEvacuationRequest_Body added in v0.37.0

type StartShardEvacuationRequest_Body struct {
	Shard_ID             [][]byte `json:"shardID"`
	IgnoreErrors         bool     `json:"ignoreErrors"`
	Scope                uint32   `json:"scope"`
	ContainerWorkerCount uint32   `json:"containerWorkerCount"`
	ObjectWorkerCount    uint32   `json:"objectWorkerCount"`
	RepOneOnly           bool     `json:"repOneOnly"`
}

func (*StartShardEvacuationRequest_Body) EmitProtobuf added in v0.43.0

func (*StartShardEvacuationRequest_Body) GetContainerWorkerCount added in v0.43.0

func (x *StartShardEvacuationRequest_Body) GetContainerWorkerCount() uint32

func (*StartShardEvacuationRequest_Body) GetIgnoreErrors added in v0.37.0

func (x *StartShardEvacuationRequest_Body) GetIgnoreErrors() bool

func (*StartShardEvacuationRequest_Body) GetObjectWorkerCount added in v0.43.0

func (x *StartShardEvacuationRequest_Body) GetObjectWorkerCount() uint32

func (*StartShardEvacuationRequest_Body) GetRepOneOnly added in v0.43.0

func (x *StartShardEvacuationRequest_Body) GetRepOneOnly() bool

func (*StartShardEvacuationRequest_Body) GetScope added in v0.38.0

func (*StartShardEvacuationRequest_Body) GetShard_ID added in v0.37.0

func (x *StartShardEvacuationRequest_Body) GetShard_ID() [][]byte

func (*StartShardEvacuationRequest_Body) MarshalEasyJSON added in v0.43.0

func (x *StartShardEvacuationRequest_Body) MarshalEasyJSON(out *jwriter.Writer)

func (*StartShardEvacuationRequest_Body) MarshalJSON added in v0.43.0

func (x *StartShardEvacuationRequest_Body) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (*StartShardEvacuationRequest_Body) MarshalProtobuf added in v0.43.0

func (x *StartShardEvacuationRequest_Body) MarshalProtobuf(dst []byte) []byte

MarshalProtobuf implements the encoding.ProtoMarshaler interface.

func (*StartShardEvacuationRequest_Body) SetContainerWorkerCount added in v0.43.0

func (x *StartShardEvacuationRequest_Body) SetContainerWorkerCount(v uint32)

func (*StartShardEvacuationRequest_Body) SetIgnoreErrors added in v0.43.0

func (x *StartShardEvacuationRequest_Body) SetIgnoreErrors(v bool)

func (*StartShardEvacuationRequest_Body) SetObjectWorkerCount added in v0.43.0

func (x *StartShardEvacuationRequest_Body) SetObjectWorkerCount(v uint32)

func (*StartShardEvacuationRequest_Body) SetRepOneOnly added in v0.43.0

func (x *StartShardEvacuationRequest_Body) SetRepOneOnly(v bool)

func (*StartShardEvacuationRequest_Body) SetScope added in v0.43.0

func (*StartShardEvacuationRequest_Body) SetShard_ID added in v0.43.0

func (x *StartShardEvacuationRequest_Body) SetShard_ID(v [][]byte)

func (*StartShardEvacuationRequest_Body) StableSize added in v0.37.0

func (x *StartShardEvacuationRequest_Body) StableSize() (size int)

StableSize returns the size of x in protobuf format.

Structures with the same field values have the same binary size.

func (*StartShardEvacuationRequest_Body) UnmarshalEasyJSON added in v0.43.0

func (x *StartShardEvacuationRequest_Body) UnmarshalEasyJSON(in *jlexer.Lexer)

func (*StartShardEvacuationRequest_Body) UnmarshalJSON added in v0.43.0

func (x *StartShardEvacuationRequest_Body) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaler interface.

func (*StartShardEvacuationRequest_Body) UnmarshalProtobuf added in v0.43.0

func (x *StartShardEvacuationRequest_Body) UnmarshalProtobuf(src []byte) (err error)

UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.

type StartShardEvacuationRequest_Body_Scope added in v0.38.0

type StartShardEvacuationRequest_Body_Scope int32
const (
	StartShardEvacuationRequest_Body_NONE    StartShardEvacuationRequest_Body_Scope = 0
	StartShardEvacuationRequest_Body_OBJECTS StartShardEvacuationRequest_Body_Scope = 1
	StartShardEvacuationRequest_Body_TREES   StartShardEvacuationRequest_Body_Scope = 2
)

func (*StartShardEvacuationRequest_Body_Scope) FromString added in v0.43.0

func (StartShardEvacuationRequest_Body_Scope) String added in v0.38.0

type StartShardEvacuationResponse added in v0.37.0

type StartShardEvacuationResponse struct {
	Body      *StartShardEvacuationResponse_Body `json:"body"`
	Signature *Signature                         `json:"signature"`
}

func StartShardEvacuation added in v0.37.0

func StartShardEvacuation(cli *client.Client, req *StartShardEvacuationRequest, opts ...client.CallOption) (*StartShardEvacuationResponse, error)

StartShardEvacuation executes ControlService.StartShardEvacuation RPC.

func (*StartShardEvacuationResponse) EmitProtobuf added in v0.43.0

func (*StartShardEvacuationResponse) GetBody added in v0.37.0

func (*StartShardEvacuationResponse) GetSignature added in v0.37.0

func (x *StartShardEvacuationResponse) GetSignature() *Signature

func (*StartShardEvacuationResponse) MarshalEasyJSON added in v0.43.0

func (x *StartShardEvacuationResponse) MarshalEasyJSON(out *jwriter.Writer)

func (*StartShardEvacuationResponse) MarshalJSON added in v0.43.0

func (x *StartShardEvacuationResponse) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (*StartShardEvacuationResponse) MarshalProtobuf added in v0.43.0

func (x *StartShardEvacuationResponse) MarshalProtobuf(dst []byte) []byte

MarshalProtobuf implements the encoding.ProtoMarshaler interface.

func (*StartShardEvacuationResponse) ReadSignedData added in v0.37.0

func (x *StartShardEvacuationResponse) ReadSignedData(buf []byte) ([]byte, error)

SignedDataSize returns size of the request signed data in bytes.

Structures with the same field values have the same signed data size.

func (*StartShardEvacuationResponse) SetBody added in v0.43.0

func (*StartShardEvacuationResponse) SetSignature added in v0.37.0

func (x *StartShardEvacuationResponse) SetSignature(v *Signature)

func (*StartShardEvacuationResponse) SignedDataSize added in v0.37.0

func (x *StartShardEvacuationResponse) SignedDataSize() int

ReadSignedData fills buf with signed data of x. If buffer length is less than x.SignedDataSize(), new buffer is allocated.

Returns any error encountered which did not allow writing the data completely. Otherwise, returns the buffer in which the data is written.

Structures with the same field values have the same signed data.

func (*StartShardEvacuationResponse) StableSize added in v0.37.0

func (x *StartShardEvacuationResponse) StableSize() (size int)

StableSize returns the size of x in protobuf format.

Structures with the same field values have the same binary size.

func (*StartShardEvacuationResponse) UnmarshalEasyJSON added in v0.43.0

func (x *StartShardEvacuationResponse) UnmarshalEasyJSON(in *jlexer.Lexer)

func (*StartShardEvacuationResponse) UnmarshalJSON added in v0.43.0

func (x *StartShardEvacuationResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaler interface.

func (*StartShardEvacuationResponse) UnmarshalProtobuf added in v0.43.0

func (x *StartShardEvacuationResponse) UnmarshalProtobuf(src []byte) (err error)

UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.

type StartShardEvacuationResponse_Body added in v0.37.0

type StartShardEvacuationResponse_Body struct {
}

func (*StartShardEvacuationResponse_Body) EmitProtobuf added in v0.43.0

func (*StartShardEvacuationResponse_Body) MarshalEasyJSON added in v0.43.0

func (x *StartShardEvacuationResponse_Body) MarshalEasyJSON(out *jwriter.Writer)

func (*StartShardEvacuationResponse_Body) MarshalJSON added in v0.43.0

func (x *StartShardEvacuationResponse_Body) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (*StartShardEvacuationResponse_Body) MarshalProtobuf added in v0.43.0

func (x *StartShardEvacuationResponse_Body) MarshalProtobuf(dst []byte) []byte

MarshalProtobuf implements the encoding.ProtoMarshaler interface.

func (*StartShardEvacuationResponse_Body) StableSize added in v0.37.0

func (x *StartShardEvacuationResponse_Body) StableSize() (size int)

StableSize returns the size of x in protobuf format.

Structures with the same field values have the same binary size.

func (*StartShardEvacuationResponse_Body) UnmarshalEasyJSON added in v0.43.0

func (x *StartShardEvacuationResponse_Body) UnmarshalEasyJSON(in *jlexer.Lexer)

func (*StartShardEvacuationResponse_Body) UnmarshalJSON added in v0.43.0

func (x *StartShardEvacuationResponse_Body) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaler interface.

func (*StartShardEvacuationResponse_Body) UnmarshalProtobuf added in v0.43.0

func (x *StartShardEvacuationResponse_Body) UnmarshalProtobuf(src []byte) (err error)

UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.

type StartShardRebuildRequest added in v0.43.0

type StartShardRebuildRequest struct {
	Body      *StartShardRebuildRequest_Body `json:"body"`
	Signature *Signature                     `json:"signature"`
}

func (*StartShardRebuildRequest) EmitProtobuf added in v0.43.0

func (*StartShardRebuildRequest) GetBody added in v0.43.0

func (*StartShardRebuildRequest) GetSignature added in v0.43.0

func (x *StartShardRebuildRequest) GetSignature() *Signature

func (*StartShardRebuildRequest) MarshalEasyJSON added in v0.43.0

func (x *StartShardRebuildRequest) MarshalEasyJSON(out *jwriter.Writer)

func (*StartShardRebuildRequest) MarshalJSON added in v0.43.0

func (x *StartShardRebuildRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (*StartShardRebuildRequest) MarshalProtobuf added in v0.43.0

func (x *StartShardRebuildRequest) MarshalProtobuf(dst []byte) []byte

MarshalProtobuf implements the encoding.ProtoMarshaler interface.

func (*StartShardRebuildRequest) ReadSignedData added in v0.43.0

func (x *StartShardRebuildRequest) ReadSignedData(buf []byte) ([]byte, error)

SignedDataSize returns size of the request signed data in bytes.

Structures with the same field values have the same signed data size.

func (*StartShardRebuildRequest) SetBody added in v0.43.0

func (*StartShardRebuildRequest) SetSignature added in v0.43.0

func (x *StartShardRebuildRequest) SetSignature(v *Signature)

func (*StartShardRebuildRequest) SignedDataSize added in v0.43.0

func (x *StartShardRebuildRequest) SignedDataSize() int

ReadSignedData fills buf with signed data of x. If buffer length is less than x.SignedDataSize(), new buffer is allocated.

Returns any error encountered which did not allow writing the data completely. Otherwise, returns the buffer in which the data is written.

Structures with the same field values have the same signed data.

func (*StartShardRebuildRequest) StableSize added in v0.43.0

func (x *StartShardRebuildRequest) StableSize() (size int)

StableSize returns the size of x in protobuf format.

Structures with the same field values have the same binary size.

func (*StartShardRebuildRequest) UnmarshalEasyJSON added in v0.43.0

func (x *StartShardRebuildRequest) UnmarshalEasyJSON(in *jlexer.Lexer)

func (*StartShardRebuildRequest) UnmarshalJSON added in v0.43.0

func (x *StartShardRebuildRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaler interface.

func (*StartShardRebuildRequest) UnmarshalProtobuf added in v0.43.0

func (x *StartShardRebuildRequest) UnmarshalProtobuf(src []byte) (err error)

UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.

type StartShardRebuildRequest_Body added in v0.43.0

type StartShardRebuildRequest_Body struct {
	Shard_ID          [][]byte `json:"shardID"`
	TargetFillPercent uint32   `json:"targetFillPercent"`
	ConcurrencyLimit  uint32   `json:"concurrencyLimit"`
}

func (*StartShardRebuildRequest_Body) EmitProtobuf added in v0.43.0

func (*StartShardRebuildRequest_Body) GetConcurrencyLimit added in v0.43.0

func (x *StartShardRebuildRequest_Body) GetConcurrencyLimit() uint32

func (*StartShardRebuildRequest_Body) GetShard_ID added in v0.43.0

func (x *StartShardRebuildRequest_Body) GetShard_ID() [][]byte

func (*StartShardRebuildRequest_Body) GetTargetFillPercent added in v0.43.0

func (x *StartShardRebuildRequest_Body) GetTargetFillPercent() uint32

func (*StartShardRebuildRequest_Body) MarshalEasyJSON added in v0.43.0

func (x *StartShardRebuildRequest_Body) MarshalEasyJSON(out *jwriter.Writer)

func (*StartShardRebuildRequest_Body) MarshalJSON added in v0.43.0

func (x *StartShardRebuildRequest_Body) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (*StartShardRebuildRequest_Body) MarshalProtobuf added in v0.43.0

func (x *StartShardRebuildRequest_Body) MarshalProtobuf(dst []byte) []byte

MarshalProtobuf implements the encoding.ProtoMarshaler interface.

func (*StartShardRebuildRequest_Body) SetConcurrencyLimit added in v0.43.0

func (x *StartShardRebuildRequest_Body) SetConcurrencyLimit(v uint32)

func (*StartShardRebuildRequest_Body) SetShard_ID added in v0.43.0

func (x *StartShardRebuildRequest_Body) SetShard_ID(v [][]byte)

func (*StartShardRebuildRequest_Body) SetTargetFillPercent added in v0.43.0

func (x *StartShardRebuildRequest_Body) SetTargetFillPercent(v uint32)

func (*StartShardRebuildRequest_Body) StableSize added in v0.43.0

func (x *StartShardRebuildRequest_Body) StableSize() (size int)

StableSize returns the size of x in protobuf format.

Structures with the same field values have the same binary size.

func (*StartShardRebuildRequest_Body) UnmarshalEasyJSON added in v0.43.0

func (x *StartShardRebuildRequest_Body) UnmarshalEasyJSON(in *jlexer.Lexer)

func (*StartShardRebuildRequest_Body) UnmarshalJSON added in v0.43.0

func (x *StartShardRebuildRequest_Body) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaler interface.

func (*StartShardRebuildRequest_Body) UnmarshalProtobuf added in v0.43.0

func (x *StartShardRebuildRequest_Body) UnmarshalProtobuf(src []byte) (err error)

UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.

type StartShardRebuildResponse added in v0.43.0

type StartShardRebuildResponse struct {
	Body      *StartShardRebuildResponse_Body `json:"body"`
	Signature *Signature                      `json:"signature"`
}

func StartShardRebuild added in v0.43.0

func StartShardRebuild(cli *client.Client, req *StartShardRebuildRequest, opts ...client.CallOption) (*StartShardRebuildResponse, error)

StartShardRebuild executes ControlService.StartShardRebuild RPC.

func (*StartShardRebuildResponse) EmitProtobuf added in v0.43.0

func (*StartShardRebuildResponse) GetBody added in v0.43.0

func (*StartShardRebuildResponse) GetSignature added in v0.43.0

func (x *StartShardRebuildResponse) GetSignature() *Signature

func (*StartShardRebuildResponse) MarshalEasyJSON added in v0.43.0

func (x *StartShardRebuildResponse) MarshalEasyJSON(out *jwriter.Writer)

func (*StartShardRebuildResponse) MarshalJSON added in v0.43.0

func (x *StartShardRebuildResponse) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (*StartShardRebuildResponse) MarshalProtobuf added in v0.43.0

func (x *StartShardRebuildResponse) MarshalProtobuf(dst []byte) []byte

MarshalProtobuf implements the encoding.ProtoMarshaler interface.

func (*StartShardRebuildResponse) ReadSignedData added in v0.43.0

func (x *StartShardRebuildResponse) ReadSignedData(buf []byte) ([]byte, error)

SignedDataSize returns size of the request signed data in bytes.

Structures with the same field values have the same signed data size.

func (*StartShardRebuildResponse) SetBody added in v0.43.0

func (*StartShardRebuildResponse) SetSignature added in v0.43.0

func (x *StartShardRebuildResponse) SetSignature(v *Signature)

func (*StartShardRebuildResponse) SignedDataSize added in v0.43.0

func (x *StartShardRebuildResponse) SignedDataSize() int

ReadSignedData fills buf with signed data of x. If buffer length is less than x.SignedDataSize(), new buffer is allocated.

Returns any error encountered which did not allow writing the data completely. Otherwise, returns the buffer in which the data is written.

Structures with the same field values have the same signed data.

func (*StartShardRebuildResponse) StableSize added in v0.43.0

func (x *StartShardRebuildResponse) StableSize() (size int)

StableSize returns the size of x in protobuf format.

Structures with the same field values have the same binary size.

func (*StartShardRebuildResponse) UnmarshalEasyJSON added in v0.43.0

func (x *StartShardRebuildResponse) UnmarshalEasyJSON(in *jlexer.Lexer)

func (*StartShardRebuildResponse) UnmarshalJSON added in v0.43.0

func (x *StartShardRebuildResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaler interface.

func (*StartShardRebuildResponse) UnmarshalProtobuf added in v0.43.0

func (x *StartShardRebuildResponse) UnmarshalProtobuf(src []byte) (err error)

UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.

type StartShardRebuildResponse_Body added in v0.43.0

type StartShardRebuildResponse_Body struct {
	Results []StartShardRebuildResponse_Body_Status `json:"results"`
}

func (*StartShardRebuildResponse_Body) EmitProtobuf added in v0.43.0

func (*StartShardRebuildResponse_Body) GetResults added in v0.43.0

func (*StartShardRebuildResponse_Body) MarshalEasyJSON added in v0.43.0

func (x *StartShardRebuildResponse_Body) MarshalEasyJSON(out *jwriter.Writer)

func (*StartShardRebuildResponse_Body) MarshalJSON added in v0.43.0

func (x *StartShardRebuildResponse_Body) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (*StartShardRebuildResponse_Body) MarshalProtobuf added in v0.43.0

func (x *StartShardRebuildResponse_Body) MarshalProtobuf(dst []byte) []byte

MarshalProtobuf implements the encoding.ProtoMarshaler interface.

func (*StartShardRebuildResponse_Body) SetResults added in v0.43.0

func (*StartShardRebuildResponse_Body) StableSize added in v0.43.0

func (x *StartShardRebuildResponse_Body) StableSize() (size int)

StableSize returns the size of x in protobuf format.

Structures with the same field values have the same binary size.

func (*StartShardRebuildResponse_Body) UnmarshalEasyJSON added in v0.43.0

func (x *StartShardRebuildResponse_Body) UnmarshalEasyJSON(in *jlexer.Lexer)

func (*StartShardRebuildResponse_Body) UnmarshalJSON added in v0.43.0

func (x *StartShardRebuildResponse_Body) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaler interface.

func (*StartShardRebuildResponse_Body) UnmarshalProtobuf added in v0.43.0

func (x *StartShardRebuildResponse_Body) UnmarshalProtobuf(src []byte) (err error)

UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.

type StartShardRebuildResponse_Body_Status added in v0.43.0

type StartShardRebuildResponse_Body_Status struct {
	Shard_ID []byte `json:"shardID"`
	Success  bool   `json:"success"`
	Error    string `json:"error"`
}

func (*StartShardRebuildResponse_Body_Status) EmitProtobuf added in v0.43.0

func (*StartShardRebuildResponse_Body_Status) GetError added in v0.43.0

func (*StartShardRebuildResponse_Body_Status) GetShard_ID added in v0.43.0

func (x *StartShardRebuildResponse_Body_Status) GetShard_ID() []byte

func (*StartShardRebuildResponse_Body_Status) GetSuccess added in v0.43.0

func (*StartShardRebuildResponse_Body_Status) MarshalEasyJSON added in v0.43.0

func (x *StartShardRebuildResponse_Body_Status) MarshalEasyJSON(out *jwriter.Writer)

func (*StartShardRebuildResponse_Body_Status) MarshalJSON added in v0.43.0

func (x *StartShardRebuildResponse_Body_Status) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (*StartShardRebuildResponse_Body_Status) MarshalProtobuf added in v0.43.0

func (x *StartShardRebuildResponse_Body_Status) MarshalProtobuf(dst []byte) []byte

MarshalProtobuf implements the encoding.ProtoMarshaler interface.

func (*StartShardRebuildResponse_Body_Status) SetError added in v0.43.0

func (*StartShardRebuildResponse_Body_Status) SetShard_ID added in v0.43.0

func (x *StartShardRebuildResponse_Body_Status) SetShard_ID(v []byte)

func (*StartShardRebuildResponse_Body_Status) SetSuccess added in v0.43.0

func (*StartShardRebuildResponse_Body_Status) StableSize added in v0.43.0

func (x *StartShardRebuildResponse_Body_Status) StableSize() (size int)

StableSize returns the size of x in protobuf format.

Structures with the same field values have the same binary size.

func (*StartShardRebuildResponse_Body_Status) UnmarshalEasyJSON added in v0.43.0

func (x *StartShardRebuildResponse_Body_Status) UnmarshalEasyJSON(in *jlexer.Lexer)

func (*StartShardRebuildResponse_Body_Status) UnmarshalJSON added in v0.43.0

func (x *StartShardRebuildResponse_Body_Status) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaler interface.

func (*StartShardRebuildResponse_Body_Status) UnmarshalProtobuf added in v0.43.0

func (x *StartShardRebuildResponse_Body_Status) UnmarshalProtobuf(src []byte) (err error)

UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.

type StopShardEvacuationRequest added in v0.37.0

type StopShardEvacuationRequest struct {
	Body      *StopShardEvacuationRequest_Body `json:"body"`
	Signature *Signature                       `json:"signature"`
}

func (*StopShardEvacuationRequest) EmitProtobuf added in v0.43.0

func (*StopShardEvacuationRequest) GetBody added in v0.37.0

func (*StopShardEvacuationRequest) GetSignature added in v0.37.0

func (x *StopShardEvacuationRequest) GetSignature() *Signature

func (*StopShardEvacuationRequest) MarshalEasyJSON added in v0.43.0

func (x *StopShardEvacuationRequest) MarshalEasyJSON(out *jwriter.Writer)

func (*StopShardEvacuationRequest) MarshalJSON added in v0.43.0

func (x *StopShardEvacuationRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (*StopShardEvacuationRequest) MarshalProtobuf added in v0.43.0

func (x *StopShardEvacuationRequest) MarshalProtobuf(dst []byte) []byte

MarshalProtobuf implements the encoding.ProtoMarshaler interface.

func (*StopShardEvacuationRequest) ReadSignedData added in v0.37.0

func (x *StopShardEvacuationRequest) ReadSignedData(buf []byte) ([]byte, error)

SignedDataSize returns size of the request signed data in bytes.

Structures with the same field values have the same signed data size.

func (*StopShardEvacuationRequest) SetBody added in v0.43.0

func (*StopShardEvacuationRequest) SetSignature added in v0.37.0

func (x *StopShardEvacuationRequest) SetSignature(v *Signature)

func (*StopShardEvacuationRequest) SignedDataSize added in v0.37.0

func (x *StopShardEvacuationRequest) SignedDataSize() int

ReadSignedData fills buf with signed data of x. If buffer length is less than x.SignedDataSize(), new buffer is allocated.

Returns any error encountered which did not allow writing the data completely. Otherwise, returns the buffer in which the data is written.

Structures with the same field values have the same signed data.

func (*StopShardEvacuationRequest) StableSize added in v0.37.0

func (x *StopShardEvacuationRequest) StableSize() (size int)

StableSize returns the size of x in protobuf format.

Structures with the same field values have the same binary size.

func (*StopShardEvacuationRequest) UnmarshalEasyJSON added in v0.43.0

func (x *StopShardEvacuationRequest) UnmarshalEasyJSON(in *jlexer.Lexer)

func (*StopShardEvacuationRequest) UnmarshalJSON added in v0.43.0

func (x *StopShardEvacuationRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaler interface.

func (*StopShardEvacuationRequest) UnmarshalProtobuf added in v0.43.0

func (x *StopShardEvacuationRequest) UnmarshalProtobuf(src []byte) (err error)

UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.

type StopShardEvacuationRequest_Body added in v0.37.0

type StopShardEvacuationRequest_Body struct {
}

func (*StopShardEvacuationRequest_Body) EmitProtobuf added in v0.43.0

func (*StopShardEvacuationRequest_Body) MarshalEasyJSON added in v0.43.0

func (x *StopShardEvacuationRequest_Body) MarshalEasyJSON(out *jwriter.Writer)

func (*StopShardEvacuationRequest_Body) MarshalJSON added in v0.43.0

func (x *StopShardEvacuationRequest_Body) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (*StopShardEvacuationRequest_Body) MarshalProtobuf added in v0.43.0

func (x *StopShardEvacuationRequest_Body) MarshalProtobuf(dst []byte) []byte

MarshalProtobuf implements the encoding.ProtoMarshaler interface.

func (*StopShardEvacuationRequest_Body) StableSize added in v0.37.0

func (x *StopShardEvacuationRequest_Body) StableSize() (size int)

StableSize returns the size of x in protobuf format.

Structures with the same field values have the same binary size.

func (*StopShardEvacuationRequest_Body) UnmarshalEasyJSON added in v0.43.0

func (x *StopShardEvacuationRequest_Body) UnmarshalEasyJSON(in *jlexer.Lexer)

func (*StopShardEvacuationRequest_Body) UnmarshalJSON added in v0.43.0

func (x *StopShardEvacuationRequest_Body) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaler interface.

func (*StopShardEvacuationRequest_Body) UnmarshalProtobuf added in v0.43.0

func (x *StopShardEvacuationRequest_Body) UnmarshalProtobuf(src []byte) (err error)

UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.

type StopShardEvacuationResponse added in v0.37.0

type StopShardEvacuationResponse struct {
	Body      *StopShardEvacuationResponse_Body `json:"body"`
	Signature *Signature                        `json:"signature"`
}

func StopShardEvacuation added in v0.37.0

func StopShardEvacuation(cli *client.Client, req *StopShardEvacuationRequest, opts ...client.CallOption) (*StopShardEvacuationResponse, error)

StopShardEvacuation executes ControlService.StopShardEvacuation RPC.

func (*StopShardEvacuationResponse) EmitProtobuf added in v0.43.0

func (*StopShardEvacuationResponse) GetBody added in v0.37.0

func (*StopShardEvacuationResponse) GetSignature added in v0.37.0

func (x *StopShardEvacuationResponse) GetSignature() *Signature

func (*StopShardEvacuationResponse) MarshalEasyJSON added in v0.43.0

func (x *StopShardEvacuationResponse) MarshalEasyJSON(out *jwriter.Writer)

func (*StopShardEvacuationResponse) MarshalJSON added in v0.43.0

func (x *StopShardEvacuationResponse) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (*StopShardEvacuationResponse) MarshalProtobuf added in v0.43.0

func (x *StopShardEvacuationResponse) MarshalProtobuf(dst []byte) []byte

MarshalProtobuf implements the encoding.ProtoMarshaler interface.

func (*StopShardEvacuationResponse) ReadSignedData added in v0.37.0

func (x *StopShardEvacuationResponse) ReadSignedData(buf []byte) ([]byte, error)

SignedDataSize returns size of the request signed data in bytes.

Structures with the same field values have the same signed data size.

func (*StopShardEvacuationResponse) SetBody added in v0.43.0

func (*StopShardEvacuationResponse) SetSignature added in v0.37.0

func (x *StopShardEvacuationResponse) SetSignature(v *Signature)

func (*StopShardEvacuationResponse) SignedDataSize added in v0.37.0

func (x *StopShardEvacuationResponse) SignedDataSize() int

ReadSignedData fills buf with signed data of x. If buffer length is less than x.SignedDataSize(), new buffer is allocated.

Returns any error encountered which did not allow writing the data completely. Otherwise, returns the buffer in which the data is written.

Structures with the same field values have the same signed data.

func (*StopShardEvacuationResponse) StableSize added in v0.37.0

func (x *StopShardEvacuationResponse) StableSize() (size int)

StableSize returns the size of x in protobuf format.

Structures with the same field values have the same binary size.

func (*StopShardEvacuationResponse) UnmarshalEasyJSON added in v0.43.0

func (x *StopShardEvacuationResponse) UnmarshalEasyJSON(in *jlexer.Lexer)

func (*StopShardEvacuationResponse) UnmarshalJSON added in v0.43.0

func (x *StopShardEvacuationResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaler interface.

func (*StopShardEvacuationResponse) UnmarshalProtobuf added in v0.43.0

func (x *StopShardEvacuationResponse) UnmarshalProtobuf(src []byte) (err error)

UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.

type StopShardEvacuationResponse_Body added in v0.37.0

type StopShardEvacuationResponse_Body struct {
}

func (*StopShardEvacuationResponse_Body) EmitProtobuf added in v0.43.0

func (*StopShardEvacuationResponse_Body) MarshalEasyJSON added in v0.43.0

func (x *StopShardEvacuationResponse_Body) MarshalEasyJSON(out *jwriter.Writer)

func (*StopShardEvacuationResponse_Body) MarshalJSON added in v0.43.0

func (x *StopShardEvacuationResponse_Body) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (*StopShardEvacuationResponse_Body) MarshalProtobuf added in v0.43.0

func (x *StopShardEvacuationResponse_Body) MarshalProtobuf(dst []byte) []byte

MarshalProtobuf implements the encoding.ProtoMarshaler interface.

func (*StopShardEvacuationResponse_Body) StableSize added in v0.37.0

func (x *StopShardEvacuationResponse_Body) StableSize() (size int)

StableSize returns the size of x in protobuf format.

Structures with the same field values have the same binary size.

func (*StopShardEvacuationResponse_Body) UnmarshalEasyJSON added in v0.43.0

func (x *StopShardEvacuationResponse_Body) UnmarshalEasyJSON(in *jlexer.Lexer)

func (*StopShardEvacuationResponse_Body) UnmarshalJSON added in v0.43.0

func (x *StopShardEvacuationResponse_Body) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaler interface.

func (*StopShardEvacuationResponse_Body) UnmarshalProtobuf added in v0.43.0

func (x *StopShardEvacuationResponse_Body) UnmarshalProtobuf(src []byte) (err error)

UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.

type SynchronizeTreeRequest

type SynchronizeTreeRequest struct {
	Body      *SynchronizeTreeRequest_Body `json:"body"`
	Signature *Signature                   `json:"signature"`
}

func (*SynchronizeTreeRequest) EmitProtobuf added in v0.43.0

func (x *SynchronizeTreeRequest) EmitProtobuf(mm *easyproto.MessageMarshaler)

func (*SynchronizeTreeRequest) GetBody

func (*SynchronizeTreeRequest) GetSignature

func (x *SynchronizeTreeRequest) GetSignature() *Signature

func (*SynchronizeTreeRequest) MarshalEasyJSON added in v0.43.0

func (x *SynchronizeTreeRequest) MarshalEasyJSON(out *jwriter.Writer)

func (*SynchronizeTreeRequest) MarshalJSON added in v0.43.0

func (x *SynchronizeTreeRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (*SynchronizeTreeRequest) MarshalProtobuf added in v0.43.0

func (x *SynchronizeTreeRequest) MarshalProtobuf(dst []byte) []byte

MarshalProtobuf implements the encoding.ProtoMarshaler interface.

func (*SynchronizeTreeRequest) ReadSignedData

func (x *SynchronizeTreeRequest) ReadSignedData(buf []byte) ([]byte, error)

SignedDataSize returns size of the request signed data in bytes.

Structures with the same field values have the same signed data size.

func (*SynchronizeTreeRequest) SetBody

func (*SynchronizeTreeRequest) SetSignature

func (x *SynchronizeTreeRequest) SetSignature(v *Signature)

func (*SynchronizeTreeRequest) SignedDataSize

func (x *SynchronizeTreeRequest) SignedDataSize() int

ReadSignedData fills buf with signed data of x. If buffer length is less than x.SignedDataSize(), new buffer is allocated.

Returns any error encountered which did not allow writing the data completely. Otherwise, returns the buffer in which the data is written.

Structures with the same field values have the same signed data.

func (*SynchronizeTreeRequest) StableSize

func (x *SynchronizeTreeRequest) StableSize() (size int)

StableSize returns the size of x in protobuf format.

Structures with the same field values have the same binary size.

func (*SynchronizeTreeRequest) UnmarshalEasyJSON added in v0.43.0

func (x *SynchronizeTreeRequest) UnmarshalEasyJSON(in *jlexer.Lexer)

func (*SynchronizeTreeRequest) UnmarshalJSON added in v0.43.0

func (x *SynchronizeTreeRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaler interface.

func (*SynchronizeTreeRequest) UnmarshalProtobuf added in v0.43.0

func (x *SynchronizeTreeRequest) UnmarshalProtobuf(src []byte) (err error)

UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.

type SynchronizeTreeRequest_Body

type SynchronizeTreeRequest_Body struct {
	ContainerId []byte `json:"containerId"`
	TreeId      string `json:"treeId"`
	Height      uint64 `json:"height"`
}

func (*SynchronizeTreeRequest_Body) EmitProtobuf added in v0.43.0

func (*SynchronizeTreeRequest_Body) GetContainerId

func (x *SynchronizeTreeRequest_Body) GetContainerId() []byte

func (*SynchronizeTreeRequest_Body) GetHeight

func (x *SynchronizeTreeRequest_Body) GetHeight() uint64

func (*SynchronizeTreeRequest_Body) GetTreeId

func (x *SynchronizeTreeRequest_Body) GetTreeId() string

func (*SynchronizeTreeRequest_Body) MarshalEasyJSON added in v0.43.0

func (x *SynchronizeTreeRequest_Body) MarshalEasyJSON(out *jwriter.Writer)

func (*SynchronizeTreeRequest_Body) MarshalJSON added in v0.43.0

func (x *SynchronizeTreeRequest_Body) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (*SynchronizeTreeRequest_Body) MarshalProtobuf added in v0.43.0

func (x *SynchronizeTreeRequest_Body) MarshalProtobuf(dst []byte) []byte

MarshalProtobuf implements the encoding.ProtoMarshaler interface.

func (*SynchronizeTreeRequest_Body) SetContainerId added in v0.43.0

func (x *SynchronizeTreeRequest_Body) SetContainerId(v []byte)

func (*SynchronizeTreeRequest_Body) SetHeight added in v0.43.0

func (x *SynchronizeTreeRequest_Body) SetHeight(v uint64)

func (*SynchronizeTreeRequest_Body) SetTreeId added in v0.43.0

func (x *SynchronizeTreeRequest_Body) SetTreeId(v string)

func (*SynchronizeTreeRequest_Body) StableSize

func (x *SynchronizeTreeRequest_Body) StableSize() (size int)

StableSize returns the size of x in protobuf format.

Structures with the same field values have the same binary size.

func (*SynchronizeTreeRequest_Body) UnmarshalEasyJSON added in v0.43.0

func (x *SynchronizeTreeRequest_Body) UnmarshalEasyJSON(in *jlexer.Lexer)

func (*SynchronizeTreeRequest_Body) UnmarshalJSON added in v0.43.0

func (x *SynchronizeTreeRequest_Body) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaler interface.

func (*SynchronizeTreeRequest_Body) UnmarshalProtobuf added in v0.43.0

func (x *SynchronizeTreeRequest_Body) UnmarshalProtobuf(src []byte) (err error)

UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.

type SynchronizeTreeResponse

type SynchronizeTreeResponse struct {
	Body      *SynchronizeTreeResponse_Body `json:"body"`
	Signature *Signature                    `json:"signature"`
}

func SynchronizeTree

func SynchronizeTree(cli *client.Client, req *SynchronizeTreeRequest, opts ...client.CallOption) (*SynchronizeTreeResponse, error)

SynchronizeTree executes ControlService.SynchronizeTree RPC.

func (*SynchronizeTreeResponse) EmitProtobuf added in v0.43.0

func (x *SynchronizeTreeResponse) EmitProtobuf(mm *easyproto.MessageMarshaler)

func (*SynchronizeTreeResponse) GetBody

func (*SynchronizeTreeResponse) GetSignature

func (x *SynchronizeTreeResponse) GetSignature() *Signature

func (*SynchronizeTreeResponse) MarshalEasyJSON added in v0.43.0

func (x *SynchronizeTreeResponse) MarshalEasyJSON(out *jwriter.Writer)

func (*SynchronizeTreeResponse) MarshalJSON added in v0.43.0

func (x *SynchronizeTreeResponse) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (*SynchronizeTreeResponse) MarshalProtobuf added in v0.43.0

func (x *SynchronizeTreeResponse) MarshalProtobuf(dst []byte) []byte

MarshalProtobuf implements the encoding.ProtoMarshaler interface.

func (*SynchronizeTreeResponse) ReadSignedData

func (x *SynchronizeTreeResponse) ReadSignedData(buf []byte) ([]byte, error)

SignedDataSize returns size of the request signed data in bytes.

Structures with the same field values have the same signed data size.

func (*SynchronizeTreeResponse) SetBody

func (*SynchronizeTreeResponse) SetSignature

func (x *SynchronizeTreeResponse) SetSignature(v *Signature)

func (*SynchronizeTreeResponse) SignedDataSize

func (x *SynchronizeTreeResponse) SignedDataSize() int

ReadSignedData fills buf with signed data of x. If buffer length is less than x.SignedDataSize(), new buffer is allocated.

Returns any error encountered which did not allow writing the data completely. Otherwise, returns the buffer in which the data is written.

Structures with the same field values have the same signed data.

func (*SynchronizeTreeResponse) StableSize

func (x *SynchronizeTreeResponse) StableSize() (size int)

StableSize returns the size of x in protobuf format.

Structures with the same field values have the same binary size.

func (*SynchronizeTreeResponse) UnmarshalEasyJSON added in v0.43.0

func (x *SynchronizeTreeResponse) UnmarshalEasyJSON(in *jlexer.Lexer)

func (*SynchronizeTreeResponse) UnmarshalJSON added in v0.43.0

func (x *SynchronizeTreeResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaler interface.

func (*SynchronizeTreeResponse) UnmarshalProtobuf added in v0.43.0

func (x *SynchronizeTreeResponse) UnmarshalProtobuf(src []byte) (err error)

UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.

type SynchronizeTreeResponse_Body

type SynchronizeTreeResponse_Body struct {
}

func (*SynchronizeTreeResponse_Body) EmitProtobuf added in v0.43.0

func (*SynchronizeTreeResponse_Body) MarshalEasyJSON added in v0.43.0

func (x *SynchronizeTreeResponse_Body) MarshalEasyJSON(out *jwriter.Writer)

func (*SynchronizeTreeResponse_Body) MarshalJSON added in v0.43.0

func (x *SynchronizeTreeResponse_Body) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (*SynchronizeTreeResponse_Body) MarshalProtobuf added in v0.43.0

func (x *SynchronizeTreeResponse_Body) MarshalProtobuf(dst []byte) []byte

MarshalProtobuf implements the encoding.ProtoMarshaler interface.

func (*SynchronizeTreeResponse_Body) StableSize

func (x *SynchronizeTreeResponse_Body) StableSize() (size int)

StableSize returns the size of x in protobuf format.

Structures with the same field values have the same binary size.

func (*SynchronizeTreeResponse_Body) UnmarshalEasyJSON added in v0.43.0

func (x *SynchronizeTreeResponse_Body) UnmarshalEasyJSON(in *jlexer.Lexer)

func (*SynchronizeTreeResponse_Body) UnmarshalJSON added in v0.43.0

func (x *SynchronizeTreeResponse_Body) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaler interface.

func (*SynchronizeTreeResponse_Body) UnmarshalProtobuf added in v0.43.0

func (x *SynchronizeTreeResponse_Body) UnmarshalProtobuf(src []byte) (err error)

UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.

type UnimplementedControlServiceServer

type UnimplementedControlServiceServer struct {
}

UnimplementedControlServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedControlServiceServer) AddChainLocalOverride added in v0.38.0

func (UnimplementedControlServiceServer) DetachShards added in v0.38.0

func (UnimplementedControlServiceServer) Doctor

func (UnimplementedControlServiceServer) DropObjects

func (UnimplementedControlServiceServer) EvacuateShard

func (UnimplementedControlServiceServer) FlushCache

func (UnimplementedControlServiceServer) GetChainLocalOverride added in v0.38.0

func (UnimplementedControlServiceServer) GetNetmapStatus added in v0.42.0

func (UnimplementedControlServiceServer) GetShardEvacuationStatus added in v0.37.0

func (UnimplementedControlServiceServer) HealthCheck

func (UnimplementedControlServiceServer) ListChainLocalOverrides added in v0.38.0

func (UnimplementedControlServiceServer) ListShards

func (UnimplementedControlServiceServer) ListTargetsLocalOverrides added in v0.38.0

func (UnimplementedControlServiceServer) RemoveChainLocalOverride added in v0.38.0

func (UnimplementedControlServiceServer) RemoveChainLocalOverridesByTarget added in v0.38.0

func (UnimplementedControlServiceServer) ResetShardEvacuationStatus added in v0.38.0

func (UnimplementedControlServiceServer) SealWriteCache added in v0.38.0

func (UnimplementedControlServiceServer) SetNetmapStatus

func (UnimplementedControlServiceServer) SetShardMode

func (UnimplementedControlServiceServer) StartShardEvacuation added in v0.37.0

func (UnimplementedControlServiceServer) StartShardRebuild added in v0.43.0

func (UnimplementedControlServiceServer) StopShardEvacuation added in v0.37.0

func (UnimplementedControlServiceServer) SynchronizeTree

type UnsafeControlServiceServer

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

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

Directories

Path Synopsis
ir
ape

Jump to

Keyboard shortcuts

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