apemanager

package
v0.0.0-...-c3f7378 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2025 License: Apache-2.0 Imports: 9 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)

View Source
var File_api_apemanager_grpc_service_proto protoreflect.FileDescriptor

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.

`APEManagerService` provides API to manage rule chains within sidechain's `Policy` smart contract.

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.

`APEManagerService` provides API to manage rule chains within sidechain's `Policy` smart contract.

type AddChainRequest

type AddChainRequest struct {

	// The request's body.
	Body *AddChainRequest_Body `protobuf:"bytes,1,opt,name=body" json:"body,omitempty"`
	// Carries request meta information. Header data is used only to regulate
	// message transport and does not affect request execution.
	MetaHeader *grpc.RequestMetaHeader `protobuf:"bytes,2,opt,name=meta_header,json=metaHeader" json:"meta_header,omitempty"`
	// Carries request verification information. This header is used to
	// authenticate the nodes of the message route and check the correctness of
	// transmission.
	VerifyHeader *grpc.RequestVerificationHeader `protobuf:"bytes,3,opt,name=verify_header,json=verifyHeader" json:"verify_header,omitempty"`
	// contains filtered or unexported fields
}

func (*AddChainRequest) ClearBody

func (x *AddChainRequest) ClearBody()

func (*AddChainRequest) ClearMetaHeader

func (x *AddChainRequest) ClearMetaHeader()

func (*AddChainRequest) ClearVerifyHeader

func (x *AddChainRequest) ClearVerifyHeader()

func (*AddChainRequest) GetBody

func (x *AddChainRequest) GetBody() *AddChainRequest_Body

func (*AddChainRequest) GetMetaHeader

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

func (*AddChainRequest) GetVerifyHeader

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

func (*AddChainRequest) HasBody

func (x *AddChainRequest) HasBody() bool

func (*AddChainRequest) HasMetaHeader

func (x *AddChainRequest) HasMetaHeader() bool

func (*AddChainRequest) HasVerifyHeader

func (x *AddChainRequest) HasVerifyHeader() bool

func (*AddChainRequest) ProtoMessage

func (*AddChainRequest) ProtoMessage()

func (*AddChainRequest) ProtoReflect

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

func (*AddChainRequest) Reset

func (x *AddChainRequest) Reset()

func (*AddChainRequest) SetBody

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

func (*AddChainRequest) SetMetaHeader

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

func (*AddChainRequest) SetVerifyHeader

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

func (*AddChainRequest) String

func (x *AddChainRequest) String() string

type AddChainRequest_Body

type AddChainRequest_Body struct {

	// A target for which a rule chain is added.
	Target *grpc1.ChainTarget `protobuf:"bytes,1,opt,name=target" json:"target,omitempty"`
	// The chain to set for the target.
	Chain *grpc1.Chain `protobuf:"bytes,2,opt,name=chain" json:"chain,omitempty"`
	// contains filtered or unexported fields
}

func (*AddChainRequest_Body) ClearChain

func (x *AddChainRequest_Body) ClearChain()

func (*AddChainRequest_Body) ClearTarget

func (x *AddChainRequest_Body) ClearTarget()

func (*AddChainRequest_Body) GetChain

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

func (*AddChainRequest_Body) GetTarget

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

func (*AddChainRequest_Body) HasChain

func (x *AddChainRequest_Body) HasChain() bool

func (*AddChainRequest_Body) HasTarget

func (x *AddChainRequest_Body) HasTarget() bool

func (*AddChainRequest_Body) ProtoMessage

func (*AddChainRequest_Body) ProtoMessage()

func (*AddChainRequest_Body) ProtoReflect

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

func (*AddChainRequest_Body) Reset

func (x *AddChainRequest_Body) Reset()

func (*AddChainRequest_Body) SetChain

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

func (*AddChainRequest_Body) SetTarget

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

func (*AddChainRequest_Body) String

func (x *AddChainRequest_Body) String() string

type AddChainRequest_Body_builder

type AddChainRequest_Body_builder struct {

	// A target for which a rule chain is added.
	Target *grpc1.ChainTarget
	// The chain to set for the target.
	Chain *grpc1.Chain
	// contains filtered or unexported fields
}

func (AddChainRequest_Body_builder) Build

type AddChainRequest_builder

type AddChainRequest_builder struct {

	// The request's body.
	Body *AddChainRequest_Body
	// Carries request meta information. Header data is used only to regulate
	// message transport and does not affect request execution.
	MetaHeader *grpc.RequestMetaHeader
	// Carries request verification information. This header is used to
	// authenticate the nodes of the message route and check the correctness of
	// transmission.
	VerifyHeader *grpc.RequestVerificationHeader
	// contains filtered or unexported fields
}

func (AddChainRequest_builder) Build

type AddChainResponse

type AddChainResponse struct {

	// The response's body.
	Body *AddChainResponse_Body `protobuf:"bytes,1,opt,name=body" json:"body,omitempty"`
	// Carries response meta information. Header data is used only to regulate
	// message transport and does not affect request execution.
	MetaHeader *grpc.ResponseMetaHeader `protobuf:"bytes,2,opt,name=meta_header,json=metaHeader" json:"meta_header,omitempty"`
	// Carries response verification information. This header is used to
	// authenticate the nodes of the message route and check the correctness of
	// transmission.
	VerifyHeader *grpc.ResponseVerificationHeader `protobuf:"bytes,3,opt,name=verify_header,json=verifyHeader" json:"verify_header,omitempty"`
	// contains filtered or unexported fields
}

func (*AddChainResponse) ClearBody

func (x *AddChainResponse) ClearBody()

func (*AddChainResponse) ClearMetaHeader

func (x *AddChainResponse) ClearMetaHeader()

func (*AddChainResponse) ClearVerifyHeader

func (x *AddChainResponse) ClearVerifyHeader()

func (*AddChainResponse) GetBody

func (*AddChainResponse) GetMetaHeader

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

func (*AddChainResponse) GetVerifyHeader

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

func (*AddChainResponse) HasBody

func (x *AddChainResponse) HasBody() bool

func (*AddChainResponse) HasMetaHeader

func (x *AddChainResponse) HasMetaHeader() bool

func (*AddChainResponse) HasVerifyHeader

func (x *AddChainResponse) HasVerifyHeader() bool

func (*AddChainResponse) ProtoMessage

func (*AddChainResponse) ProtoMessage()

func (*AddChainResponse) ProtoReflect

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

func (*AddChainResponse) Reset

func (x *AddChainResponse) Reset()

func (*AddChainResponse) SetBody

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

func (*AddChainResponse) SetMetaHeader

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

func (*AddChainResponse) SetVerifyHeader

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

func (*AddChainResponse) String

func (x *AddChainResponse) String() string

type AddChainResponse_Body

type AddChainResponse_Body struct {

	// Chain ID assigned for the added rule chain.
	// If chain ID is left empty in the request, then
	// it will be generated.
	ChainId []byte `protobuf:"bytes,1,opt,name=chain_id,json=chainId" json:"chain_id,omitempty"`
	// contains filtered or unexported fields
}

func (*AddChainResponse_Body) ClearChainId

func (x *AddChainResponse_Body) ClearChainId()

func (*AddChainResponse_Body) GetChainId

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

func (*AddChainResponse_Body) HasChainId

func (x *AddChainResponse_Body) HasChainId() bool

func (*AddChainResponse_Body) ProtoMessage

func (*AddChainResponse_Body) ProtoMessage()

func (*AddChainResponse_Body) ProtoReflect

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

func (*AddChainResponse_Body) Reset

func (x *AddChainResponse_Body) Reset()

func (*AddChainResponse_Body) SetChainId

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

func (*AddChainResponse_Body) String

func (x *AddChainResponse_Body) String() string

type AddChainResponse_Body_builder

type AddChainResponse_Body_builder struct {

	// Chain ID assigned for the added rule chain.
	// If chain ID is left empty in the request, then
	// it will be generated.
	ChainId []byte
	// contains filtered or unexported fields
}

func (AddChainResponse_Body_builder) Build

type AddChainResponse_builder

type AddChainResponse_builder struct {

	// The response's body.
	Body *AddChainResponse_Body
	// Carries response meta information. Header data is used only to regulate
	// message transport and does not affect request execution.
	MetaHeader *grpc.ResponseMetaHeader
	// Carries response verification information. This header is used to
	// authenticate the nodes of the message route and check the correctness of
	// transmission.
	VerifyHeader *grpc.ResponseVerificationHeader
	// contains filtered or unexported fields
}

func (AddChainResponse_builder) Build

type ListChainsRequest

type ListChainsRequest struct {

	// The request's body.
	Body *ListChainsRequest_Body `protobuf:"bytes,1,opt,name=body" json:"body,omitempty"`
	// Carries request meta information. Header data is used only to regulate
	// message transport and does not affect request execution.
	MetaHeader *grpc.RequestMetaHeader `protobuf:"bytes,2,opt,name=meta_header,json=metaHeader" json:"meta_header,omitempty"`
	// Carries request verification information. This header is used to
	// authenticate the nodes of the message route and check the correctness of
	// transmission.
	VerifyHeader *grpc.RequestVerificationHeader `protobuf:"bytes,3,opt,name=verify_header,json=verifyHeader" json:"verify_header,omitempty"`
	// contains filtered or unexported fields
}

func (*ListChainsRequest) ClearBody

func (x *ListChainsRequest) ClearBody()

func (*ListChainsRequest) ClearMetaHeader

func (x *ListChainsRequest) ClearMetaHeader()

func (*ListChainsRequest) ClearVerifyHeader

func (x *ListChainsRequest) ClearVerifyHeader()

func (*ListChainsRequest) GetBody

func (*ListChainsRequest) GetMetaHeader

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

func (*ListChainsRequest) GetVerifyHeader

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

func (*ListChainsRequest) HasBody

func (x *ListChainsRequest) HasBody() bool

func (*ListChainsRequest) HasMetaHeader

func (x *ListChainsRequest) HasMetaHeader() bool

func (*ListChainsRequest) HasVerifyHeader

func (x *ListChainsRequest) HasVerifyHeader() bool

func (*ListChainsRequest) ProtoMessage

func (*ListChainsRequest) ProtoMessage()

func (*ListChainsRequest) ProtoReflect

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

func (*ListChainsRequest) Reset

func (x *ListChainsRequest) Reset()

func (*ListChainsRequest) SetBody

func (*ListChainsRequest) SetMetaHeader

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

func (*ListChainsRequest) SetVerifyHeader

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

func (*ListChainsRequest) String

func (x *ListChainsRequest) String() string

type ListChainsRequest_Body

type ListChainsRequest_Body struct {

	// Target for which rule chains are listed.
	Target *grpc1.ChainTarget `protobuf:"bytes,1,opt,name=target" json:"target,omitempty"`
	// contains filtered or unexported fields
}

func (*ListChainsRequest_Body) ClearTarget

func (x *ListChainsRequest_Body) ClearTarget()

func (*ListChainsRequest_Body) GetTarget

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

func (*ListChainsRequest_Body) HasTarget

func (x *ListChainsRequest_Body) HasTarget() bool

func (*ListChainsRequest_Body) ProtoMessage

func (*ListChainsRequest_Body) ProtoMessage()

func (*ListChainsRequest_Body) ProtoReflect

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

func (*ListChainsRequest_Body) Reset

func (x *ListChainsRequest_Body) Reset()

func (*ListChainsRequest_Body) SetTarget

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

func (*ListChainsRequest_Body) String

func (x *ListChainsRequest_Body) String() string

type ListChainsRequest_Body_builder

type ListChainsRequest_Body_builder struct {

	// Target for which rule chains are listed.
	Target *grpc1.ChainTarget
	// contains filtered or unexported fields
}

func (ListChainsRequest_Body_builder) Build

type ListChainsRequest_builder

type ListChainsRequest_builder struct {

	// The request's body.
	Body *ListChainsRequest_Body
	// Carries request meta information. Header data is used only to regulate
	// message transport and does not affect request execution.
	MetaHeader *grpc.RequestMetaHeader
	// Carries request verification information. This header is used to
	// authenticate the nodes of the message route and check the correctness of
	// transmission.
	VerifyHeader *grpc.RequestVerificationHeader
	// contains filtered or unexported fields
}

func (ListChainsRequest_builder) Build

type ListChainsResponse

type ListChainsResponse struct {

	// The response's body.
	Body *ListChainsResponse_Body `protobuf:"bytes,1,opt,name=body" json:"body,omitempty"`
	// Carries response meta information. Header data is used only to regulate
	// message transport and does not affect request execution.
	MetaHeader *grpc.ResponseMetaHeader `protobuf:"bytes,2,opt,name=meta_header,json=metaHeader" json:"meta_header,omitempty"`
	// Carries response verification information. This header is used to
	// authenticate the nodes of the message route and check the correctness of
	// transmission.
	VerifyHeader *grpc.ResponseVerificationHeader `protobuf:"bytes,3,opt,name=verify_header,json=verifyHeader" json:"verify_header,omitempty"`
	// contains filtered or unexported fields
}

func (*ListChainsResponse) ClearBody

func (x *ListChainsResponse) ClearBody()

func (*ListChainsResponse) ClearMetaHeader

func (x *ListChainsResponse) ClearMetaHeader()

func (*ListChainsResponse) ClearVerifyHeader

func (x *ListChainsResponse) ClearVerifyHeader()

func (*ListChainsResponse) GetBody

func (*ListChainsResponse) GetMetaHeader

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

func (*ListChainsResponse) GetVerifyHeader

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

func (*ListChainsResponse) HasBody

func (x *ListChainsResponse) HasBody() bool

func (*ListChainsResponse) HasMetaHeader

func (x *ListChainsResponse) HasMetaHeader() bool

func (*ListChainsResponse) HasVerifyHeader

func (x *ListChainsResponse) HasVerifyHeader() bool

func (*ListChainsResponse) ProtoMessage

func (*ListChainsResponse) ProtoMessage()

func (*ListChainsResponse) ProtoReflect

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

func (*ListChainsResponse) Reset

func (x *ListChainsResponse) Reset()

func (*ListChainsResponse) SetBody

func (*ListChainsResponse) SetMetaHeader

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

func (*ListChainsResponse) SetVerifyHeader

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

func (*ListChainsResponse) String

func (x *ListChainsResponse) String() string

type ListChainsResponse_Body

type ListChainsResponse_Body struct {

	// The list of chains defined for the reqeusted target.
	Chains []*grpc1.Chain `protobuf:"bytes,1,rep,name=chains" json:"chains,omitempty"`
	// contains filtered or unexported fields
}

func (*ListChainsResponse_Body) GetChains

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

func (*ListChainsResponse_Body) ProtoMessage

func (*ListChainsResponse_Body) ProtoMessage()

func (*ListChainsResponse_Body) ProtoReflect

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

func (*ListChainsResponse_Body) Reset

func (x *ListChainsResponse_Body) Reset()

func (*ListChainsResponse_Body) SetChains

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

func (*ListChainsResponse_Body) String

func (x *ListChainsResponse_Body) String() string

type ListChainsResponse_Body_builder

type ListChainsResponse_Body_builder struct {

	// The list of chains defined for the reqeusted target.
	Chains []*grpc1.Chain
	// contains filtered or unexported fields
}

func (ListChainsResponse_Body_builder) Build

type ListChainsResponse_builder

type ListChainsResponse_builder struct {

	// The response's body.
	Body *ListChainsResponse_Body
	// Carries response meta information. Header data is used only to regulate
	// message transport and does not affect request execution.
	MetaHeader *grpc.ResponseMetaHeader
	// Carries response verification information. This header is used to
	// authenticate the nodes of the message route and check the correctness of
	// transmission.
	VerifyHeader *grpc.ResponseVerificationHeader
	// contains filtered or unexported fields
}

func (ListChainsResponse_builder) Build

type RemoveChainRequest

type RemoveChainRequest struct {

	// The request's body.
	Body *RemoveChainRequest_Body `protobuf:"bytes,1,opt,name=body" json:"body,omitempty"`
	// Carries request meta information. Header data is used only to regulate
	// message transport and does not affect request execution.
	MetaHeader *grpc.RequestMetaHeader `protobuf:"bytes,2,opt,name=meta_header,json=metaHeader" json:"meta_header,omitempty"`
	// Carries request verification information. This header is used to
	// authenticate the nodes of the message route and check the correctness of
	// transmission.
	VerifyHeader *grpc.RequestVerificationHeader `protobuf:"bytes,3,opt,name=verify_header,json=verifyHeader" json:"verify_header,omitempty"`
	// contains filtered or unexported fields
}

func (*RemoveChainRequest) ClearBody

func (x *RemoveChainRequest) ClearBody()

func (*RemoveChainRequest) ClearMetaHeader

func (x *RemoveChainRequest) ClearMetaHeader()

func (*RemoveChainRequest) ClearVerifyHeader

func (x *RemoveChainRequest) ClearVerifyHeader()

func (*RemoveChainRequest) GetBody

func (*RemoveChainRequest) GetMetaHeader

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

func (*RemoveChainRequest) GetVerifyHeader

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

func (*RemoveChainRequest) HasBody

func (x *RemoveChainRequest) HasBody() bool

func (*RemoveChainRequest) HasMetaHeader

func (x *RemoveChainRequest) HasMetaHeader() bool

func (*RemoveChainRequest) HasVerifyHeader

func (x *RemoveChainRequest) HasVerifyHeader() bool

func (*RemoveChainRequest) ProtoMessage

func (*RemoveChainRequest) ProtoMessage()

func (*RemoveChainRequest) ProtoReflect

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

func (*RemoveChainRequest) Reset

func (x *RemoveChainRequest) Reset()

func (*RemoveChainRequest) SetBody

func (*RemoveChainRequest) SetMetaHeader

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

func (*RemoveChainRequest) SetVerifyHeader

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

func (*RemoveChainRequest) String

func (x *RemoveChainRequest) String() string

type RemoveChainRequest_Body

type RemoveChainRequest_Body struct {

	// Target for which a rule chain is removed.
	Target *grpc1.ChainTarget `protobuf:"bytes,1,opt,name=target" json:"target,omitempty"`
	// Chain ID assigned for the rule chain.
	ChainId []byte `protobuf:"bytes,2,opt,name=chain_id,json=chainId" json:"chain_id,omitempty"`
	// contains filtered or unexported fields
}

func (*RemoveChainRequest_Body) ClearChainId

func (x *RemoveChainRequest_Body) ClearChainId()

func (*RemoveChainRequest_Body) ClearTarget

func (x *RemoveChainRequest_Body) ClearTarget()

func (*RemoveChainRequest_Body) GetChainId

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

func (*RemoveChainRequest_Body) GetTarget

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

func (*RemoveChainRequest_Body) HasChainId

func (x *RemoveChainRequest_Body) HasChainId() bool

func (*RemoveChainRequest_Body) HasTarget

func (x *RemoveChainRequest_Body) HasTarget() bool

func (*RemoveChainRequest_Body) ProtoMessage

func (*RemoveChainRequest_Body) ProtoMessage()

func (*RemoveChainRequest_Body) ProtoReflect

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

func (*RemoveChainRequest_Body) Reset

func (x *RemoveChainRequest_Body) Reset()

func (*RemoveChainRequest_Body) SetChainId

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

func (*RemoveChainRequest_Body) SetTarget

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

func (*RemoveChainRequest_Body) String

func (x *RemoveChainRequest_Body) String() string

type RemoveChainRequest_Body_builder

type RemoveChainRequest_Body_builder struct {

	// Target for which a rule chain is removed.
	Target *grpc1.ChainTarget
	// Chain ID assigned for the rule chain.
	ChainId []byte
	// contains filtered or unexported fields
}

func (RemoveChainRequest_Body_builder) Build

type RemoveChainRequest_builder

type RemoveChainRequest_builder struct {

	// The request's body.
	Body *RemoveChainRequest_Body
	// Carries request meta information. Header data is used only to regulate
	// message transport and does not affect request execution.
	MetaHeader *grpc.RequestMetaHeader
	// Carries request verification information. This header is used to
	// authenticate the nodes of the message route and check the correctness of
	// transmission.
	VerifyHeader *grpc.RequestVerificationHeader
	// contains filtered or unexported fields
}

func (RemoveChainRequest_builder) Build

type RemoveChainResponse

type RemoveChainResponse struct {

	// The response's body.
	Body *RemoveChainResponse_Body `protobuf:"bytes,1,opt,name=body" json:"body,omitempty"`
	// Carries response meta information. Header data is used only to regulate
	// message transport and does not affect request execution.
	MetaHeader *grpc.ResponseMetaHeader `protobuf:"bytes,2,opt,name=meta_header,json=metaHeader" json:"meta_header,omitempty"`
	// Carries response verification information. This header is used to
	// authenticate the nodes of the message route and check the correctness of
	// transmission.
	VerifyHeader *grpc.ResponseVerificationHeader `protobuf:"bytes,3,opt,name=verify_header,json=verifyHeader" json:"verify_header,omitempty"`
	// contains filtered or unexported fields
}

func (*RemoveChainResponse) ClearBody

func (x *RemoveChainResponse) ClearBody()

func (*RemoveChainResponse) ClearMetaHeader

func (x *RemoveChainResponse) ClearMetaHeader()

func (*RemoveChainResponse) ClearVerifyHeader

func (x *RemoveChainResponse) ClearVerifyHeader()

func (*RemoveChainResponse) GetBody

func (*RemoveChainResponse) GetMetaHeader

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

func (*RemoveChainResponse) GetVerifyHeader

func (x *RemoveChainResponse) GetVerifyHeader() *grpc.ResponseVerificationHeader

func (*RemoveChainResponse) HasBody

func (x *RemoveChainResponse) HasBody() bool

func (*RemoveChainResponse) HasMetaHeader

func (x *RemoveChainResponse) HasMetaHeader() bool

func (*RemoveChainResponse) HasVerifyHeader

func (x *RemoveChainResponse) HasVerifyHeader() bool

func (*RemoveChainResponse) ProtoMessage

func (*RemoveChainResponse) ProtoMessage()

func (*RemoveChainResponse) ProtoReflect

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

func (*RemoveChainResponse) Reset

func (x *RemoveChainResponse) Reset()

func (*RemoveChainResponse) SetBody

func (*RemoveChainResponse) SetMetaHeader

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

func (*RemoveChainResponse) SetVerifyHeader

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

func (*RemoveChainResponse) String

func (x *RemoveChainResponse) String() string

type RemoveChainResponse_Body

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

Since RemoveChain is an idempotent operation, then the only indicator that operation could not be performed is an error returning to a client.

func (*RemoveChainResponse_Body) ProtoMessage

func (*RemoveChainResponse_Body) ProtoMessage()

func (*RemoveChainResponse_Body) ProtoReflect

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

func (*RemoveChainResponse_Body) Reset

func (x *RemoveChainResponse_Body) Reset()

func (*RemoveChainResponse_Body) String

func (x *RemoveChainResponse_Body) String() string

type RemoveChainResponse_Body_builder

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

func (RemoveChainResponse_Body_builder) Build

type RemoveChainResponse_builder

type RemoveChainResponse_builder struct {

	// The response's body.
	Body *RemoveChainResponse_Body
	// Carries response meta information. Header data is used only to regulate
	// message transport and does not affect request execution.
	MetaHeader *grpc.ResponseMetaHeader
	// Carries response verification information. This header is used to
	// authenticate the nodes of the message route and check the correctness of
	// transmission.
	VerifyHeader *grpc.ResponseVerificationHeader
	// contains filtered or unexported fields
}

func (RemoveChainResponse_builder) Build

type UnimplementedAPEManagerServiceServer

type UnimplementedAPEManagerServiceServer struct{}

UnimplementedAPEManagerServiceServer should be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

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