apemanager

package
v0.0.0-...-0352b5b Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2024 License: Apache-2.0 Imports: 14 Imported by: 3

Documentation

Index

Constants

View Source
const (
	APEManagerService_AddChain_FullMethodName    = "/frostfs.v2.apemanager.APEManagerService/AddChain"
	APEManagerService_RemoveChain_FullMethodName = "/frostfs.v2.apemanager.APEManagerService/RemoveChain"
	APEManagerService_ListChains_FullMethodName  = "/frostfs.v2.apemanager.APEManagerService/ListChains"
)

Variables

View Source
var APEManagerService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "frostfs.v2.apemanager.APEManagerService",
	HandlerType: (*APEManagerServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "AddChain",
			Handler:    _APEManagerService_AddChain_Handler,
		},
		{
			MethodName: "RemoveChain",
			Handler:    _APEManagerService_RemoveChain_Handler,
		},
		{
			MethodName: "ListChains",
			Handler:    _APEManagerService_ListChains_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "api/apemanager/grpc/service.proto",
}

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

Functions

func RegisterAPEManagerServiceServer

func RegisterAPEManagerServiceServer(s grpc.ServiceRegistrar, srv APEManagerServiceServer)

Types

type APEManagerServiceClient

type APEManagerServiceClient interface {
	// Add a rule chain for a specific target to `Policy` smart contract.
	//
	// Statuses:
	// - **OK** (0, SECTION_SUCCESS): \
	//   the chain has been successfully added;
	// - Common failures (SECTION_FAILURE_COMMON);
	// - **CONTAINER_NOT_FOUND** (3072, SECTION_CONTAINER): \
	//   container (as target) not found;
	// - **APE_MANAGER_ACCESS_DENIED** (5120, SECTION_APE_MANAGER): \
	//   the operation is denied by the service.
	AddChain(ctx context.Context, in *AddChainRequest, opts ...grpc.CallOption) (*AddChainResponse, error)
	// Remove a rule chain for a specific target from `Policy` smart contract.
	// RemoveChain is an idempotent operation: removal of non-existing rule chain
	// also means success.
	//
	// Statuses:
	// - **OK** (0, SECTION_SUCCESS): \
	//   the chain has been successfully removed;
	// - Common failures (SECTION_FAILURE_COMMON);
	// - **CONTAINER_NOT_FOUND** (3072, SECTION_CONTAINER): \
	//   container (as target) not found;
	// - **APE_MANAGER_ACCESS_DENIED** (5120, SECTION_APE_MANAGER): \
	//   the operation is denied by the service.
	RemoveChain(ctx context.Context, in *RemoveChainRequest, opts ...grpc.CallOption) (*RemoveChainResponse, error)
	// List chains defined for a specific target from `Policy` smart contract.
	//
	// Statuses:
	// - **OK** (0, SECTION_SUCCESS): \
	//   chains have been successfully listed;
	// - Common failures (SECTION_FAILURE_COMMON);
	// - **CONTAINER_NOT_FOUND** (3072, SECTION_CONTAINER): \
	//   container (as target) not found;
	// - **APE_MANAGER_ACCESS_DENIED** (5120, SECTION_APE_MANAGER): \
	//   the operation is denied by the service.
	ListChains(ctx context.Context, in *ListChainsRequest, opts ...grpc.CallOption) (*ListChainsResponse, error)
}

APEManagerServiceClient is the client API for APEManagerService 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 APEManagerServiceServer

type APEManagerServiceServer interface {
	// Add a rule chain for a specific target to `Policy` smart contract.
	//
	// Statuses:
	// - **OK** (0, SECTION_SUCCESS): \
	//   the chain has been successfully added;
	// - Common failures (SECTION_FAILURE_COMMON);
	// - **CONTAINER_NOT_FOUND** (3072, SECTION_CONTAINER): \
	//   container (as target) not found;
	// - **APE_MANAGER_ACCESS_DENIED** (5120, SECTION_APE_MANAGER): \
	//   the operation is denied by the service.
	AddChain(context.Context, *AddChainRequest) (*AddChainResponse, error)
	// Remove a rule chain for a specific target from `Policy` smart contract.
	// RemoveChain is an idempotent operation: removal of non-existing rule chain
	// also means success.
	//
	// Statuses:
	// - **OK** (0, SECTION_SUCCESS): \
	//   the chain has been successfully removed;
	// - Common failures (SECTION_FAILURE_COMMON);
	// - **CONTAINER_NOT_FOUND** (3072, SECTION_CONTAINER): \
	//   container (as target) not found;
	// - **APE_MANAGER_ACCESS_DENIED** (5120, SECTION_APE_MANAGER): \
	//   the operation is denied by the service.
	RemoveChain(context.Context, *RemoveChainRequest) (*RemoveChainResponse, error)
	// List chains defined for a specific target from `Policy` smart contract.
	//
	// Statuses:
	// - **OK** (0, SECTION_SUCCESS): \
	//   chains have been successfully listed;
	// - Common failures (SECTION_FAILURE_COMMON);
	// - **CONTAINER_NOT_FOUND** (3072, SECTION_CONTAINER): \
	//   container (as target) not found;
	// - **APE_MANAGER_ACCESS_DENIED** (5120, SECTION_APE_MANAGER): \
	//   the operation is denied by the service.
	ListChains(context.Context, *ListChainsRequest) (*ListChainsResponse, error)
}

APEManagerServiceServer is the server API for APEManagerService service. All implementations should embed UnimplementedAPEManagerServiceServer for forward compatibility

type AddChainRequest

type AddChainRequest struct {
	Body         *AddChainRequest_Body            `json:"body"`
	MetaHeader   *grpc1.RequestMetaHeader         `json:"metaHeader"`
	VerifyHeader *grpc1.RequestVerificationHeader `json:"verifyHeader"`
}

func (*AddChainRequest) EmitProtobuf

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

func (*AddChainRequest) GetBody

func (x *AddChainRequest) GetBody() *AddChainRequest_Body

func (*AddChainRequest) GetMetaHeader

func (x *AddChainRequest) GetMetaHeader() *grpc1.RequestMetaHeader

func (*AddChainRequest) GetVerifyHeader

func (x *AddChainRequest) GetVerifyHeader() *grpc1.RequestVerificationHeader

func (*AddChainRequest) MarshalEasyJSON

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

func (*AddChainRequest) MarshalJSON

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

MarshalJSON implements the json.Marshaler interface.

func (*AddChainRequest) MarshalProtobuf

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

MarshalProtobuf implements the encoding.ProtoMarshaler interface.

func (*AddChainRequest) ReadSignedData

func (x *AddChainRequest) 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 (*AddChainRequest) SetBody

func (x *AddChainRequest) SetBody(v *AddChainRequest_Body)

func (*AddChainRequest) SetMetaHeader

func (x *AddChainRequest) SetMetaHeader(v *grpc1.RequestMetaHeader)

func (*AddChainRequest) SetVerifyHeader

func (x *AddChainRequest) SetVerifyHeader(v *grpc1.RequestVerificationHeader)

func (*AddChainRequest) SignedDataSize

func (x *AddChainRequest) 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 (*AddChainRequest) StableSize

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

StableSize returns the size of x in protobuf format.

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

func (*AddChainRequest) UnmarshalEasyJSON

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

func (*AddChainRequest) UnmarshalJSON

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

UnmarshalJSON implements the json.Unmarshaler interface.

func (*AddChainRequest) UnmarshalProtobuf

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

UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.

type AddChainRequest_Body

type AddChainRequest_Body struct {
	Target *grpc.ChainTarget `json:"target"`
	Chain  *grpc.Chain       `json:"chain"`
}

func (*AddChainRequest_Body) EmitProtobuf

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

func (*AddChainRequest_Body) GetChain

func (x *AddChainRequest_Body) GetChain() *grpc.Chain

func (*AddChainRequest_Body) GetTarget

func (x *AddChainRequest_Body) GetTarget() *grpc.ChainTarget

func (*AddChainRequest_Body) MarshalEasyJSON

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

func (*AddChainRequest_Body) MarshalJSON

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

MarshalJSON implements the json.Marshaler interface.

func (*AddChainRequest_Body) MarshalProtobuf

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

MarshalProtobuf implements the encoding.ProtoMarshaler interface.

func (*AddChainRequest_Body) SetChain

func (x *AddChainRequest_Body) SetChain(v *grpc.Chain)

func (*AddChainRequest_Body) SetTarget

func (x *AddChainRequest_Body) SetTarget(v *grpc.ChainTarget)

func (*AddChainRequest_Body) StableSize

func (x *AddChainRequest_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 (*AddChainRequest_Body) UnmarshalEasyJSON

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

func (*AddChainRequest_Body) UnmarshalJSON

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

UnmarshalJSON implements the json.Unmarshaler interface.

func (*AddChainRequest_Body) UnmarshalProtobuf

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

UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.

type AddChainResponse

type AddChainResponse struct {
	Body         *AddChainResponse_Body            `json:"body"`
	MetaHeader   *grpc1.ResponseMetaHeader         `json:"metaHeader"`
	VerifyHeader *grpc1.ResponseVerificationHeader `json:"verifyHeader"`
}

func (*AddChainResponse) EmitProtobuf

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

func (*AddChainResponse) GetBody

func (*AddChainResponse) GetMetaHeader

func (x *AddChainResponse) GetMetaHeader() *grpc1.ResponseMetaHeader

func (*AddChainResponse) GetVerifyHeader

func (x *AddChainResponse) GetVerifyHeader() *grpc1.ResponseVerificationHeader

func (*AddChainResponse) MarshalEasyJSON

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

func (*AddChainResponse) MarshalJSON

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

MarshalJSON implements the json.Marshaler interface.

func (*AddChainResponse) MarshalProtobuf

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

MarshalProtobuf implements the encoding.ProtoMarshaler interface.

func (*AddChainResponse) ReadSignedData

func (x *AddChainResponse) 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 (*AddChainResponse) SetBody

func (x *AddChainResponse) SetBody(v *AddChainResponse_Body)

func (*AddChainResponse) SetMetaHeader

func (x *AddChainResponse) SetMetaHeader(v *grpc1.ResponseMetaHeader)

func (*AddChainResponse) SetVerifyHeader

func (x *AddChainResponse) SetVerifyHeader(v *grpc1.ResponseVerificationHeader)

func (*AddChainResponse) SignedDataSize

func (x *AddChainResponse) 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 (*AddChainResponse) StableSize

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

StableSize returns the size of x in protobuf format.

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

func (*AddChainResponse) UnmarshalEasyJSON

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

func (*AddChainResponse) UnmarshalJSON

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

UnmarshalJSON implements the json.Unmarshaler interface.

func (*AddChainResponse) UnmarshalProtobuf

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

UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.

type AddChainResponse_Body

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

func (*AddChainResponse_Body) EmitProtobuf

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

func (*AddChainResponse_Body) GetChainId

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

func (*AddChainResponse_Body) MarshalEasyJSON

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

func (*AddChainResponse_Body) MarshalJSON

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

MarshalJSON implements the json.Marshaler interface.

func (*AddChainResponse_Body) MarshalProtobuf

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

MarshalProtobuf implements the encoding.ProtoMarshaler interface.

func (*AddChainResponse_Body) SetChainId

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

func (*AddChainResponse_Body) StableSize

func (x *AddChainResponse_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 (*AddChainResponse_Body) UnmarshalEasyJSON

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

func (*AddChainResponse_Body) UnmarshalJSON

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

UnmarshalJSON implements the json.Unmarshaler interface.

func (*AddChainResponse_Body) UnmarshalProtobuf

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

UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.

type ListChainsRequest

type ListChainsRequest struct {
	Body         *ListChainsRequest_Body          `json:"body"`
	MetaHeader   *grpc1.RequestMetaHeader         `json:"metaHeader"`
	VerifyHeader *grpc1.RequestVerificationHeader `json:"verifyHeader"`
}

func (*ListChainsRequest) EmitProtobuf

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

func (*ListChainsRequest) GetBody

func (*ListChainsRequest) GetMetaHeader

func (x *ListChainsRequest) GetMetaHeader() *grpc1.RequestMetaHeader

func (*ListChainsRequest) GetVerifyHeader

func (x *ListChainsRequest) GetVerifyHeader() *grpc1.RequestVerificationHeader

func (*ListChainsRequest) MarshalEasyJSON

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

func (*ListChainsRequest) MarshalJSON

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

MarshalJSON implements the json.Marshaler interface.

func (*ListChainsRequest) MarshalProtobuf

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

MarshalProtobuf implements the encoding.ProtoMarshaler interface.

func (*ListChainsRequest) ReadSignedData

func (x *ListChainsRequest) 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 (*ListChainsRequest) SetBody

func (*ListChainsRequest) SetMetaHeader

func (x *ListChainsRequest) SetMetaHeader(v *grpc1.RequestMetaHeader)

func (*ListChainsRequest) SetVerifyHeader

func (x *ListChainsRequest) SetVerifyHeader(v *grpc1.RequestVerificationHeader)

func (*ListChainsRequest) SignedDataSize

func (x *ListChainsRequest) 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 (*ListChainsRequest) StableSize

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

StableSize returns the size of x in protobuf format.

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

func (*ListChainsRequest) UnmarshalEasyJSON

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

func (*ListChainsRequest) UnmarshalJSON

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

UnmarshalJSON implements the json.Unmarshaler interface.

func (*ListChainsRequest) UnmarshalProtobuf

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

UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.

type ListChainsRequest_Body

type ListChainsRequest_Body struct {
	Target *grpc.ChainTarget `json:"target"`
}

func (*ListChainsRequest_Body) EmitProtobuf

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

func (*ListChainsRequest_Body) GetTarget

func (x *ListChainsRequest_Body) GetTarget() *grpc.ChainTarget

func (*ListChainsRequest_Body) MarshalEasyJSON

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

func (*ListChainsRequest_Body) MarshalJSON

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

MarshalJSON implements the json.Marshaler interface.

func (*ListChainsRequest_Body) MarshalProtobuf

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

MarshalProtobuf implements the encoding.ProtoMarshaler interface.

func (*ListChainsRequest_Body) SetTarget

func (x *ListChainsRequest_Body) SetTarget(v *grpc.ChainTarget)

func (*ListChainsRequest_Body) StableSize

func (x *ListChainsRequest_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 (*ListChainsRequest_Body) UnmarshalEasyJSON

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

func (*ListChainsRequest_Body) UnmarshalJSON

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

UnmarshalJSON implements the json.Unmarshaler interface.

func (*ListChainsRequest_Body) UnmarshalProtobuf

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

UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.

type ListChainsResponse

type ListChainsResponse struct {
	Body         *ListChainsResponse_Body          `json:"body"`
	MetaHeader   *grpc1.ResponseMetaHeader         `json:"metaHeader"`
	VerifyHeader *grpc1.ResponseVerificationHeader `json:"verifyHeader"`
}

func (*ListChainsResponse) EmitProtobuf

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

func (*ListChainsResponse) GetBody

func (*ListChainsResponse) GetMetaHeader

func (x *ListChainsResponse) GetMetaHeader() *grpc1.ResponseMetaHeader

func (*ListChainsResponse) GetVerifyHeader

func (x *ListChainsResponse) GetVerifyHeader() *grpc1.ResponseVerificationHeader

func (*ListChainsResponse) MarshalEasyJSON

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

func (*ListChainsResponse) MarshalJSON

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

MarshalJSON implements the json.Marshaler interface.

func (*ListChainsResponse) MarshalProtobuf

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

MarshalProtobuf implements the encoding.ProtoMarshaler interface.

func (*ListChainsResponse) ReadSignedData

func (x *ListChainsResponse) 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 (*ListChainsResponse) SetBody

func (*ListChainsResponse) SetMetaHeader

func (x *ListChainsResponse) SetMetaHeader(v *grpc1.ResponseMetaHeader)

func (*ListChainsResponse) SetVerifyHeader

func (x *ListChainsResponse) SetVerifyHeader(v *grpc1.ResponseVerificationHeader)

func (*ListChainsResponse) SignedDataSize

func (x *ListChainsResponse) 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 (*ListChainsResponse) StableSize

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

StableSize returns the size of x in protobuf format.

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

func (*ListChainsResponse) UnmarshalEasyJSON

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

func (*ListChainsResponse) UnmarshalJSON

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

UnmarshalJSON implements the json.Unmarshaler interface.

func (*ListChainsResponse) UnmarshalProtobuf

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

UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.

type ListChainsResponse_Body

type ListChainsResponse_Body struct {
	Chains []grpc.Chain `json:"chains"`
}

func (*ListChainsResponse_Body) EmitProtobuf

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

func (*ListChainsResponse_Body) GetChains

func (x *ListChainsResponse_Body) GetChains() []grpc.Chain

func (*ListChainsResponse_Body) MarshalEasyJSON

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

func (*ListChainsResponse_Body) MarshalJSON

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

MarshalJSON implements the json.Marshaler interface.

func (*ListChainsResponse_Body) MarshalProtobuf

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

MarshalProtobuf implements the encoding.ProtoMarshaler interface.

func (*ListChainsResponse_Body) SetChains

func (x *ListChainsResponse_Body) SetChains(v []grpc.Chain)

func (*ListChainsResponse_Body) StableSize

func (x *ListChainsResponse_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 (*ListChainsResponse_Body) UnmarshalEasyJSON

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

func (*ListChainsResponse_Body) UnmarshalJSON

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

UnmarshalJSON implements the json.Unmarshaler interface.

func (*ListChainsResponse_Body) UnmarshalProtobuf

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

UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.

type RemoveChainRequest

type RemoveChainRequest struct {
	Body         *RemoveChainRequest_Body         `json:"body"`
	MetaHeader   *grpc1.RequestMetaHeader         `json:"metaHeader"`
	VerifyHeader *grpc1.RequestVerificationHeader `json:"verifyHeader"`
}

func (*RemoveChainRequest) EmitProtobuf

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

func (*RemoveChainRequest) GetBody

func (*RemoveChainRequest) GetMetaHeader

func (x *RemoveChainRequest) GetMetaHeader() *grpc1.RequestMetaHeader

func (*RemoveChainRequest) GetVerifyHeader

func (x *RemoveChainRequest) GetVerifyHeader() *grpc1.RequestVerificationHeader

func (*RemoveChainRequest) MarshalEasyJSON

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

func (*RemoveChainRequest) MarshalJSON

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

MarshalJSON implements the json.Marshaler interface.

func (*RemoveChainRequest) MarshalProtobuf

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

MarshalProtobuf implements the encoding.ProtoMarshaler interface.

func (*RemoveChainRequest) ReadSignedData

func (x *RemoveChainRequest) 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 (*RemoveChainRequest) SetBody

func (*RemoveChainRequest) SetMetaHeader

func (x *RemoveChainRequest) SetMetaHeader(v *grpc1.RequestMetaHeader)

func (*RemoveChainRequest) SetVerifyHeader

func (x *RemoveChainRequest) SetVerifyHeader(v *grpc1.RequestVerificationHeader)

func (*RemoveChainRequest) SignedDataSize

func (x *RemoveChainRequest) 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 (*RemoveChainRequest) StableSize

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

StableSize returns the size of x in protobuf format.

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

func (*RemoveChainRequest) UnmarshalEasyJSON

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

func (*RemoveChainRequest) UnmarshalJSON

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

UnmarshalJSON implements the json.Unmarshaler interface.

func (*RemoveChainRequest) UnmarshalProtobuf

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

UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.

type RemoveChainRequest_Body

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

func (*RemoveChainRequest_Body) EmitProtobuf

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

func (*RemoveChainRequest_Body) GetChainId

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

func (*RemoveChainRequest_Body) GetTarget

func (x *RemoveChainRequest_Body) GetTarget() *grpc.ChainTarget

func (*RemoveChainRequest_Body) MarshalEasyJSON

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

func (*RemoveChainRequest_Body) MarshalJSON

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

MarshalJSON implements the json.Marshaler interface.

func (*RemoveChainRequest_Body) MarshalProtobuf

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

MarshalProtobuf implements the encoding.ProtoMarshaler interface.

func (*RemoveChainRequest_Body) SetChainId

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

func (*RemoveChainRequest_Body) SetTarget

func (x *RemoveChainRequest_Body) SetTarget(v *grpc.ChainTarget)

func (*RemoveChainRequest_Body) StableSize

func (x *RemoveChainRequest_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 (*RemoveChainRequest_Body) UnmarshalEasyJSON

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

func (*RemoveChainRequest_Body) UnmarshalJSON

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

UnmarshalJSON implements the json.Unmarshaler interface.

func (*RemoveChainRequest_Body) UnmarshalProtobuf

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

UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.

type RemoveChainResponse

type RemoveChainResponse struct {
	Body         *RemoveChainResponse_Body         `json:"body"`
	MetaHeader   *grpc1.ResponseMetaHeader         `json:"metaHeader"`
	VerifyHeader *grpc1.ResponseVerificationHeader `json:"verifyHeader"`
}

func (*RemoveChainResponse) EmitProtobuf

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

func (*RemoveChainResponse) GetBody

func (*RemoveChainResponse) GetMetaHeader

func (x *RemoveChainResponse) GetMetaHeader() *grpc1.ResponseMetaHeader

func (*RemoveChainResponse) GetVerifyHeader

func (*RemoveChainResponse) MarshalEasyJSON

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

func (*RemoveChainResponse) MarshalJSON

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

MarshalJSON implements the json.Marshaler interface.

func (*RemoveChainResponse) MarshalProtobuf

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

MarshalProtobuf implements the encoding.ProtoMarshaler interface.

func (*RemoveChainResponse) ReadSignedData

func (x *RemoveChainResponse) 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 (*RemoveChainResponse) SetBody

func (*RemoveChainResponse) SetMetaHeader

func (x *RemoveChainResponse) SetMetaHeader(v *grpc1.ResponseMetaHeader)

func (*RemoveChainResponse) SetVerifyHeader

func (x *RemoveChainResponse) SetVerifyHeader(v *grpc1.ResponseVerificationHeader)

func (*RemoveChainResponse) SignedDataSize

func (x *RemoveChainResponse) 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 (*RemoveChainResponse) StableSize

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

StableSize returns the size of x in protobuf format.

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

func (*RemoveChainResponse) UnmarshalEasyJSON

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

func (*RemoveChainResponse) UnmarshalJSON

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

UnmarshalJSON implements the json.Unmarshaler interface.

func (*RemoveChainResponse) UnmarshalProtobuf

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

UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.

type RemoveChainResponse_Body

type RemoveChainResponse_Body struct {
}

func (*RemoveChainResponse_Body) EmitProtobuf

func (*RemoveChainResponse_Body) MarshalEasyJSON

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

func (*RemoveChainResponse_Body) MarshalJSON

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

MarshalJSON implements the json.Marshaler interface.

func (*RemoveChainResponse_Body) MarshalProtobuf

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

MarshalProtobuf implements the encoding.ProtoMarshaler interface.

func (*RemoveChainResponse_Body) StableSize

func (x *RemoveChainResponse_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 (*RemoveChainResponse_Body) UnmarshalEasyJSON

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

func (*RemoveChainResponse_Body) UnmarshalJSON

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

UnmarshalJSON implements the json.Unmarshaler interface.

func (*RemoveChainResponse_Body) UnmarshalProtobuf

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

UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.

type UnimplementedAPEManagerServiceServer

type UnimplementedAPEManagerServiceServer struct {
}

UnimplementedAPEManagerServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedAPEManagerServiceServer) AddChain

func (UnimplementedAPEManagerServiceServer) ListChains

func (UnimplementedAPEManagerServiceServer) RemoveChain

type UnsafeAPEManagerServiceServer

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

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

Jump to

Keyboard shortcuts

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