Documentation ¶
Overview ¶
Package resourcemapping is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func RegisterResourceMappingServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterResourceMappingServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, ...) error
- func RegisterResourceMappingServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterResourceMappingServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, ...) error
- func RegisterResourceMappingServiceServer(s grpc.ServiceRegistrar, srv ResourceMappingServiceServer)
- type CreateResourceMappingGroupRequest
- func (*CreateResourceMappingGroupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateResourceMappingGroupRequest) GetMetadata() *common.MetadataMutable
- func (x *CreateResourceMappingGroupRequest) GetName() string
- func (x *CreateResourceMappingGroupRequest) GetNamespaceId() string
- func (*CreateResourceMappingGroupRequest) ProtoMessage()
- func (x *CreateResourceMappingGroupRequest) ProtoReflect() protoreflect.Message
- func (x *CreateResourceMappingGroupRequest) Reset()
- func (x *CreateResourceMappingGroupRequest) String() string
- type CreateResourceMappingGroupResponse
- func (*CreateResourceMappingGroupResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateResourceMappingGroupResponse) GetResourceMappingGroup() *policy.ResourceMappingGroup
- func (*CreateResourceMappingGroupResponse) ProtoMessage()
- func (x *CreateResourceMappingGroupResponse) ProtoReflect() protoreflect.Message
- func (x *CreateResourceMappingGroupResponse) Reset()
- func (x *CreateResourceMappingGroupResponse) String() string
- type CreateResourceMappingRequest
- func (*CreateResourceMappingRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateResourceMappingRequest) GetAttributeValueId() string
- func (x *CreateResourceMappingRequest) GetGroupId() string
- func (x *CreateResourceMappingRequest) GetMetadata() *common.MetadataMutable
- func (x *CreateResourceMappingRequest) GetTerms() []string
- func (*CreateResourceMappingRequest) ProtoMessage()
- func (x *CreateResourceMappingRequest) ProtoReflect() protoreflect.Message
- func (x *CreateResourceMappingRequest) Reset()
- func (x *CreateResourceMappingRequest) String() string
- type CreateResourceMappingResponse
- func (*CreateResourceMappingResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateResourceMappingResponse) GetResourceMapping() *policy.ResourceMapping
- func (*CreateResourceMappingResponse) ProtoMessage()
- func (x *CreateResourceMappingResponse) ProtoReflect() protoreflect.Message
- func (x *CreateResourceMappingResponse) Reset()
- func (x *CreateResourceMappingResponse) String() string
- type DeleteResourceMappingGroupRequest
- func (*DeleteResourceMappingGroupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteResourceMappingGroupRequest) GetId() string
- func (*DeleteResourceMappingGroupRequest) ProtoMessage()
- func (x *DeleteResourceMappingGroupRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteResourceMappingGroupRequest) Reset()
- func (x *DeleteResourceMappingGroupRequest) String() string
- type DeleteResourceMappingGroupResponse
- func (*DeleteResourceMappingGroupResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteResourceMappingGroupResponse) GetResourceMappingGroup() *policy.ResourceMappingGroup
- func (*DeleteResourceMappingGroupResponse) ProtoMessage()
- func (x *DeleteResourceMappingGroupResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteResourceMappingGroupResponse) Reset()
- func (x *DeleteResourceMappingGroupResponse) String() string
- type DeleteResourceMappingRequest
- func (*DeleteResourceMappingRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteResourceMappingRequest) GetId() string
- func (*DeleteResourceMappingRequest) ProtoMessage()
- func (x *DeleteResourceMappingRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteResourceMappingRequest) Reset()
- func (x *DeleteResourceMappingRequest) String() string
- type DeleteResourceMappingResponse
- func (*DeleteResourceMappingResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteResourceMappingResponse) GetResourceMapping() *policy.ResourceMapping
- func (*DeleteResourceMappingResponse) ProtoMessage()
- func (x *DeleteResourceMappingResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteResourceMappingResponse) Reset()
- func (x *DeleteResourceMappingResponse) String() string
- type GetResourceMappingGroupRequest
- func (*GetResourceMappingGroupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetResourceMappingGroupRequest) GetId() string
- func (*GetResourceMappingGroupRequest) ProtoMessage()
- func (x *GetResourceMappingGroupRequest) ProtoReflect() protoreflect.Message
- func (x *GetResourceMappingGroupRequest) Reset()
- func (x *GetResourceMappingGroupRequest) String() string
- type GetResourceMappingGroupResponse
- func (*GetResourceMappingGroupResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetResourceMappingGroupResponse) GetResourceMappingGroup() *policy.ResourceMappingGroup
- func (*GetResourceMappingGroupResponse) ProtoMessage()
- func (x *GetResourceMappingGroupResponse) ProtoReflect() protoreflect.Message
- func (x *GetResourceMappingGroupResponse) Reset()
- func (x *GetResourceMappingGroupResponse) String() string
- type GetResourceMappingRequest
- func (*GetResourceMappingRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetResourceMappingRequest) GetId() string
- func (*GetResourceMappingRequest) ProtoMessage()
- func (x *GetResourceMappingRequest) ProtoReflect() protoreflect.Message
- func (x *GetResourceMappingRequest) Reset()
- func (x *GetResourceMappingRequest) String() string
- type GetResourceMappingResponse
- func (*GetResourceMappingResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetResourceMappingResponse) GetResourceMapping() *policy.ResourceMapping
- func (*GetResourceMappingResponse) ProtoMessage()
- func (x *GetResourceMappingResponse) ProtoReflect() protoreflect.Message
- func (x *GetResourceMappingResponse) Reset()
- func (x *GetResourceMappingResponse) String() string
- type ListResourceMappingGroupsRequest
- func (*ListResourceMappingGroupsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListResourceMappingGroupsRequest) GetNamespaceId() string
- func (x *ListResourceMappingGroupsRequest) GetPagination() *policy.PageRequest
- func (*ListResourceMappingGroupsRequest) ProtoMessage()
- func (x *ListResourceMappingGroupsRequest) ProtoReflect() protoreflect.Message
- func (x *ListResourceMappingGroupsRequest) Reset()
- func (x *ListResourceMappingGroupsRequest) String() string
- type ListResourceMappingGroupsResponse
- func (*ListResourceMappingGroupsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListResourceMappingGroupsResponse) GetPagination() *policy.PageResponse
- func (x *ListResourceMappingGroupsResponse) GetResourceMappingGroups() []*policy.ResourceMappingGroup
- func (*ListResourceMappingGroupsResponse) ProtoMessage()
- func (x *ListResourceMappingGroupsResponse) ProtoReflect() protoreflect.Message
- func (x *ListResourceMappingGroupsResponse) Reset()
- func (x *ListResourceMappingGroupsResponse) String() string
- type ListResourceMappingsByGroupFqnsRequest
- func (*ListResourceMappingsByGroupFqnsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListResourceMappingsByGroupFqnsRequest) GetFqns() []string
- func (*ListResourceMappingsByGroupFqnsRequest) ProtoMessage()
- func (x *ListResourceMappingsByGroupFqnsRequest) ProtoReflect() protoreflect.Message
- func (x *ListResourceMappingsByGroupFqnsRequest) Reset()
- func (x *ListResourceMappingsByGroupFqnsRequest) String() string
- type ListResourceMappingsByGroupFqnsResponse
- func (*ListResourceMappingsByGroupFqnsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListResourceMappingsByGroupFqnsResponse) GetFqnResourceMappingGroups() map[string]*ResourceMappingsByGroup
- func (*ListResourceMappingsByGroupFqnsResponse) ProtoMessage()
- func (x *ListResourceMappingsByGroupFqnsResponse) ProtoReflect() protoreflect.Message
- func (x *ListResourceMappingsByGroupFqnsResponse) Reset()
- func (x *ListResourceMappingsByGroupFqnsResponse) String() string
- type ListResourceMappingsRequest
- func (*ListResourceMappingsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListResourceMappingsRequest) GetGroupId() string
- func (x *ListResourceMappingsRequest) GetPagination() *policy.PageRequest
- func (*ListResourceMappingsRequest) ProtoMessage()
- func (x *ListResourceMappingsRequest) ProtoReflect() protoreflect.Message
- func (x *ListResourceMappingsRequest) Reset()
- func (x *ListResourceMappingsRequest) String() string
- type ListResourceMappingsResponse
- func (*ListResourceMappingsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListResourceMappingsResponse) GetPagination() *policy.PageResponse
- func (x *ListResourceMappingsResponse) GetResourceMappings() []*policy.ResourceMapping
- func (*ListResourceMappingsResponse) ProtoMessage()
- func (x *ListResourceMappingsResponse) ProtoReflect() protoreflect.Message
- func (x *ListResourceMappingsResponse) Reset()
- func (x *ListResourceMappingsResponse) String() string
- type ResourceMappingServiceClient
- type ResourceMappingServiceServer
- type ResourceMappingsByGroup
- func (*ResourceMappingsByGroup) Descriptor() ([]byte, []int)deprecated
- func (x *ResourceMappingsByGroup) GetGroup() *policy.ResourceMappingGroup
- func (x *ResourceMappingsByGroup) GetMappings() []*policy.ResourceMapping
- func (*ResourceMappingsByGroup) ProtoMessage()
- func (x *ResourceMappingsByGroup) ProtoReflect() protoreflect.Message
- func (x *ResourceMappingsByGroup) Reset()
- func (x *ResourceMappingsByGroup) String() string
- type UnimplementedResourceMappingServiceServer
- func (UnimplementedResourceMappingServiceServer) CreateResourceMapping(context.Context, *CreateResourceMappingRequest) (*CreateResourceMappingResponse, error)
- func (UnimplementedResourceMappingServiceServer) CreateResourceMappingGroup(context.Context, *CreateResourceMappingGroupRequest) (*CreateResourceMappingGroupResponse, error)
- func (UnimplementedResourceMappingServiceServer) DeleteResourceMapping(context.Context, *DeleteResourceMappingRequest) (*DeleteResourceMappingResponse, error)
- func (UnimplementedResourceMappingServiceServer) DeleteResourceMappingGroup(context.Context, *DeleteResourceMappingGroupRequest) (*DeleteResourceMappingGroupResponse, error)
- func (UnimplementedResourceMappingServiceServer) GetResourceMapping(context.Context, *GetResourceMappingRequest) (*GetResourceMappingResponse, error)
- func (UnimplementedResourceMappingServiceServer) GetResourceMappingGroup(context.Context, *GetResourceMappingGroupRequest) (*GetResourceMappingGroupResponse, error)
- func (UnimplementedResourceMappingServiceServer) ListResourceMappingGroups(context.Context, *ListResourceMappingGroupsRequest) (*ListResourceMappingGroupsResponse, error)
- func (UnimplementedResourceMappingServiceServer) ListResourceMappings(context.Context, *ListResourceMappingsRequest) (*ListResourceMappingsResponse, error)
- func (UnimplementedResourceMappingServiceServer) ListResourceMappingsByGroupFqns(context.Context, *ListResourceMappingsByGroupFqnsRequest) (*ListResourceMappingsByGroupFqnsResponse, error)
- func (UnimplementedResourceMappingServiceServer) UpdateResourceMapping(context.Context, *UpdateResourceMappingRequest) (*UpdateResourceMappingResponse, error)
- func (UnimplementedResourceMappingServiceServer) UpdateResourceMappingGroup(context.Context, *UpdateResourceMappingGroupRequest) (*UpdateResourceMappingGroupResponse, error)
- type UnsafeResourceMappingServiceServer
- type UpdateResourceMappingGroupRequest
- func (*UpdateResourceMappingGroupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateResourceMappingGroupRequest) GetId() string
- func (x *UpdateResourceMappingGroupRequest) GetMetadata() *common.MetadataMutable
- func (x *UpdateResourceMappingGroupRequest) GetMetadataUpdateBehavior() common.MetadataUpdateEnum
- func (x *UpdateResourceMappingGroupRequest) GetName() string
- func (x *UpdateResourceMappingGroupRequest) GetNamespaceId() string
- func (*UpdateResourceMappingGroupRequest) ProtoMessage()
- func (x *UpdateResourceMappingGroupRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateResourceMappingGroupRequest) Reset()
- func (x *UpdateResourceMappingGroupRequest) String() string
- type UpdateResourceMappingGroupResponse
- func (*UpdateResourceMappingGroupResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateResourceMappingGroupResponse) GetResourceMappingGroup() *policy.ResourceMappingGroup
- func (*UpdateResourceMappingGroupResponse) ProtoMessage()
- func (x *UpdateResourceMappingGroupResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateResourceMappingGroupResponse) Reset()
- func (x *UpdateResourceMappingGroupResponse) String() string
- type UpdateResourceMappingRequest
- func (*UpdateResourceMappingRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateResourceMappingRequest) GetAttributeValueId() string
- func (x *UpdateResourceMappingRequest) GetGroupId() string
- func (x *UpdateResourceMappingRequest) GetId() string
- func (x *UpdateResourceMappingRequest) GetMetadata() *common.MetadataMutable
- func (x *UpdateResourceMappingRequest) GetMetadataUpdateBehavior() common.MetadataUpdateEnum
- func (x *UpdateResourceMappingRequest) GetTerms() []string
- func (*UpdateResourceMappingRequest) ProtoMessage()
- func (x *UpdateResourceMappingRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateResourceMappingRequest) Reset()
- func (x *UpdateResourceMappingRequest) String() string
- type UpdateResourceMappingResponse
- func (*UpdateResourceMappingResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateResourceMappingResponse) GetResourceMapping() *policy.ResourceMapping
- func (*UpdateResourceMappingResponse) ProtoMessage()
- func (x *UpdateResourceMappingResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateResourceMappingResponse) Reset()
- func (x *UpdateResourceMappingResponse) String() string
Constants ¶
const ( ResourceMappingService_ListResourceMappingGroups_FullMethodName = "/policy.resourcemapping.ResourceMappingService/ListResourceMappingGroups" ResourceMappingService_GetResourceMappingGroup_FullMethodName = "/policy.resourcemapping.ResourceMappingService/GetResourceMappingGroup" ResourceMappingService_CreateResourceMappingGroup_FullMethodName = "/policy.resourcemapping.ResourceMappingService/CreateResourceMappingGroup" ResourceMappingService_UpdateResourceMappingGroup_FullMethodName = "/policy.resourcemapping.ResourceMappingService/UpdateResourceMappingGroup" ResourceMappingService_DeleteResourceMappingGroup_FullMethodName = "/policy.resourcemapping.ResourceMappingService/DeleteResourceMappingGroup" ResourceMappingService_ListResourceMappings_FullMethodName = "/policy.resourcemapping.ResourceMappingService/ListResourceMappings" ResourceMappingService_ListResourceMappingsByGroupFqns_FullMethodName = "/policy.resourcemapping.ResourceMappingService/ListResourceMappingsByGroupFqns" ResourceMappingService_GetResourceMapping_FullMethodName = "/policy.resourcemapping.ResourceMappingService/GetResourceMapping" ResourceMappingService_CreateResourceMapping_FullMethodName = "/policy.resourcemapping.ResourceMappingService/CreateResourceMapping" ResourceMappingService_UpdateResourceMapping_FullMethodName = "/policy.resourcemapping.ResourceMappingService/UpdateResourceMapping" ResourceMappingService_DeleteResourceMapping_FullMethodName = "/policy.resourcemapping.ResourceMappingService/DeleteResourceMapping" )
Variables ¶
var File_policy_resourcemapping_resource_mapping_proto protoreflect.FileDescriptor
var ResourceMappingService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "policy.resourcemapping.ResourceMappingService", HandlerType: (*ResourceMappingServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "ListResourceMappingGroups", Handler: _ResourceMappingService_ListResourceMappingGroups_Handler, }, { MethodName: "GetResourceMappingGroup", Handler: _ResourceMappingService_GetResourceMappingGroup_Handler, }, { MethodName: "CreateResourceMappingGroup", Handler: _ResourceMappingService_CreateResourceMappingGroup_Handler, }, { MethodName: "UpdateResourceMappingGroup", Handler: _ResourceMappingService_UpdateResourceMappingGroup_Handler, }, { MethodName: "DeleteResourceMappingGroup", Handler: _ResourceMappingService_DeleteResourceMappingGroup_Handler, }, { MethodName: "ListResourceMappings", Handler: _ResourceMappingService_ListResourceMappings_Handler, }, { MethodName: "ListResourceMappingsByGroupFqns", Handler: _ResourceMappingService_ListResourceMappingsByGroupFqns_Handler, }, { MethodName: "GetResourceMapping", Handler: _ResourceMappingService_GetResourceMapping_Handler, }, { MethodName: "CreateResourceMapping", Handler: _ResourceMappingService_CreateResourceMapping_Handler, }, { MethodName: "UpdateResourceMapping", Handler: _ResourceMappingService_UpdateResourceMapping_Handler, }, { MethodName: "DeleteResourceMapping", Handler: _ResourceMappingService_DeleteResourceMapping_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "policy/resourcemapping/resource_mapping.proto", }
ResourceMappingService_ServiceDesc is the grpc.ServiceDesc for ResourceMappingService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterResourceMappingServiceHandler ¶
func RegisterResourceMappingServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterResourceMappingServiceHandler registers the http handlers for service ResourceMappingService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterResourceMappingServiceHandlerClient ¶
func RegisterResourceMappingServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ResourceMappingServiceClient) error
RegisterResourceMappingServiceHandlerClient registers the http handlers for service ResourceMappingService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "ResourceMappingServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "ResourceMappingServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "ResourceMappingServiceClient" to call the correct interceptors.
func RegisterResourceMappingServiceHandlerFromEndpoint ¶
func RegisterResourceMappingServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterResourceMappingServiceHandlerFromEndpoint is same as RegisterResourceMappingServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterResourceMappingServiceHandlerServer ¶
func RegisterResourceMappingServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server ResourceMappingServiceServer) error
RegisterResourceMappingServiceHandlerServer registers the http handlers for service ResourceMappingService to "mux". UnaryRPC :call ResourceMappingServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterResourceMappingServiceHandlerFromEndpoint instead.
func RegisterResourceMappingServiceServer ¶
func RegisterResourceMappingServiceServer(s grpc.ServiceRegistrar, srv ResourceMappingServiceServer)
Types ¶
type CreateResourceMappingGroupRequest ¶ added in v0.2.14
type CreateResourceMappingGroupRequest struct { // Required NamespaceId string `protobuf:"bytes,1,opt,name=namespace_id,json=namespaceId,proto3" json:"namespace_id,omitempty"` // Required Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // Common metadata Metadata *common.MetadataMutable `protobuf:"bytes,100,opt,name=metadata,proto3" json:"metadata,omitempty"` // contains filtered or unexported fields }
func (*CreateResourceMappingGroupRequest) Descriptor
deprecated
added in
v0.2.14
func (*CreateResourceMappingGroupRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateResourceMappingGroupRequest.ProtoReflect.Descriptor instead.
func (*CreateResourceMappingGroupRequest) GetMetadata ¶ added in v0.2.15
func (x *CreateResourceMappingGroupRequest) GetMetadata() *common.MetadataMutable
func (*CreateResourceMappingGroupRequest) GetName ¶ added in v0.2.14
func (x *CreateResourceMappingGroupRequest) GetName() string
func (*CreateResourceMappingGroupRequest) GetNamespaceId ¶ added in v0.2.14
func (x *CreateResourceMappingGroupRequest) GetNamespaceId() string
func (*CreateResourceMappingGroupRequest) ProtoMessage ¶ added in v0.2.14
func (*CreateResourceMappingGroupRequest) ProtoMessage()
func (*CreateResourceMappingGroupRequest) ProtoReflect ¶ added in v0.2.14
func (x *CreateResourceMappingGroupRequest) ProtoReflect() protoreflect.Message
func (*CreateResourceMappingGroupRequest) Reset ¶ added in v0.2.14
func (x *CreateResourceMappingGroupRequest) Reset()
func (*CreateResourceMappingGroupRequest) String ¶ added in v0.2.14
func (x *CreateResourceMappingGroupRequest) String() string
type CreateResourceMappingGroupResponse ¶ added in v0.2.14
type CreateResourceMappingGroupResponse struct { ResourceMappingGroup *policy.ResourceMappingGroup `protobuf:"bytes,1,opt,name=resource_mapping_group,json=resourceMappingGroup,proto3" json:"resource_mapping_group,omitempty"` // contains filtered or unexported fields }
func (*CreateResourceMappingGroupResponse) Descriptor
deprecated
added in
v0.2.14
func (*CreateResourceMappingGroupResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateResourceMappingGroupResponse.ProtoReflect.Descriptor instead.
func (*CreateResourceMappingGroupResponse) GetResourceMappingGroup ¶ added in v0.2.14
func (x *CreateResourceMappingGroupResponse) GetResourceMappingGroup() *policy.ResourceMappingGroup
func (*CreateResourceMappingGroupResponse) ProtoMessage ¶ added in v0.2.14
func (*CreateResourceMappingGroupResponse) ProtoMessage()
func (*CreateResourceMappingGroupResponse) ProtoReflect ¶ added in v0.2.14
func (x *CreateResourceMappingGroupResponse) ProtoReflect() protoreflect.Message
func (*CreateResourceMappingGroupResponse) Reset ¶ added in v0.2.14
func (x *CreateResourceMappingGroupResponse) Reset()
func (*CreateResourceMappingGroupResponse) String ¶ added in v0.2.14
func (x *CreateResourceMappingGroupResponse) String() string
type CreateResourceMappingRequest ¶
type CreateResourceMappingRequest struct { // Required AttributeValueId string `protobuf:"bytes,1,opt,name=attribute_value_id,json=attributeValueId,proto3" json:"attribute_value_id,omitempty"` // Required Terms []string `protobuf:"bytes,2,rep,name=terms,proto3" json:"terms,omitempty"` // Optional GroupId string `protobuf:"bytes,3,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` // Optional Metadata *common.MetadataMutable `protobuf:"bytes,100,opt,name=metadata,proto3" json:"metadata,omitempty"` // contains filtered or unexported fields }
func (*CreateResourceMappingRequest) Descriptor
deprecated
func (*CreateResourceMappingRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateResourceMappingRequest.ProtoReflect.Descriptor instead.
func (*CreateResourceMappingRequest) GetAttributeValueId ¶
func (x *CreateResourceMappingRequest) GetAttributeValueId() string
func (*CreateResourceMappingRequest) GetGroupId ¶ added in v0.2.14
func (x *CreateResourceMappingRequest) GetGroupId() string
func (*CreateResourceMappingRequest) GetMetadata ¶
func (x *CreateResourceMappingRequest) GetMetadata() *common.MetadataMutable
func (*CreateResourceMappingRequest) GetTerms ¶
func (x *CreateResourceMappingRequest) GetTerms() []string
func (*CreateResourceMappingRequest) ProtoMessage ¶
func (*CreateResourceMappingRequest) ProtoMessage()
func (*CreateResourceMappingRequest) ProtoReflect ¶
func (x *CreateResourceMappingRequest) ProtoReflect() protoreflect.Message
func (*CreateResourceMappingRequest) Reset ¶
func (x *CreateResourceMappingRequest) Reset()
func (*CreateResourceMappingRequest) String ¶
func (x *CreateResourceMappingRequest) String() string
type CreateResourceMappingResponse ¶
type CreateResourceMappingResponse struct { ResourceMapping *policy.ResourceMapping `protobuf:"bytes,1,opt,name=resource_mapping,json=resourceMapping,proto3" json:"resource_mapping,omitempty"` // contains filtered or unexported fields }
func (*CreateResourceMappingResponse) Descriptor
deprecated
func (*CreateResourceMappingResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateResourceMappingResponse.ProtoReflect.Descriptor instead.
func (*CreateResourceMappingResponse) GetResourceMapping ¶
func (x *CreateResourceMappingResponse) GetResourceMapping() *policy.ResourceMapping
func (*CreateResourceMappingResponse) ProtoMessage ¶
func (*CreateResourceMappingResponse) ProtoMessage()
func (*CreateResourceMappingResponse) ProtoReflect ¶
func (x *CreateResourceMappingResponse) ProtoReflect() protoreflect.Message
func (*CreateResourceMappingResponse) Reset ¶
func (x *CreateResourceMappingResponse) Reset()
func (*CreateResourceMappingResponse) String ¶
func (x *CreateResourceMappingResponse) String() string
type DeleteResourceMappingGroupRequest ¶ added in v0.2.14
type DeleteResourceMappingGroupRequest struct { // Required Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*DeleteResourceMappingGroupRequest) Descriptor
deprecated
added in
v0.2.14
func (*DeleteResourceMappingGroupRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteResourceMappingGroupRequest.ProtoReflect.Descriptor instead.
func (*DeleteResourceMappingGroupRequest) GetId ¶ added in v0.2.14
func (x *DeleteResourceMappingGroupRequest) GetId() string
func (*DeleteResourceMappingGroupRequest) ProtoMessage ¶ added in v0.2.14
func (*DeleteResourceMappingGroupRequest) ProtoMessage()
func (*DeleteResourceMappingGroupRequest) ProtoReflect ¶ added in v0.2.14
func (x *DeleteResourceMappingGroupRequest) ProtoReflect() protoreflect.Message
func (*DeleteResourceMappingGroupRequest) Reset ¶ added in v0.2.14
func (x *DeleteResourceMappingGroupRequest) Reset()
func (*DeleteResourceMappingGroupRequest) String ¶ added in v0.2.14
func (x *DeleteResourceMappingGroupRequest) String() string
type DeleteResourceMappingGroupResponse ¶ added in v0.2.14
type DeleteResourceMappingGroupResponse struct { ResourceMappingGroup *policy.ResourceMappingGroup `protobuf:"bytes,1,opt,name=resource_mapping_group,json=resourceMappingGroup,proto3" json:"resource_mapping_group,omitempty"` // contains filtered or unexported fields }
func (*DeleteResourceMappingGroupResponse) Descriptor
deprecated
added in
v0.2.14
func (*DeleteResourceMappingGroupResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteResourceMappingGroupResponse.ProtoReflect.Descriptor instead.
func (*DeleteResourceMappingGroupResponse) GetResourceMappingGroup ¶ added in v0.2.14
func (x *DeleteResourceMappingGroupResponse) GetResourceMappingGroup() *policy.ResourceMappingGroup
func (*DeleteResourceMappingGroupResponse) ProtoMessage ¶ added in v0.2.14
func (*DeleteResourceMappingGroupResponse) ProtoMessage()
func (*DeleteResourceMappingGroupResponse) ProtoReflect ¶ added in v0.2.14
func (x *DeleteResourceMappingGroupResponse) ProtoReflect() protoreflect.Message
func (*DeleteResourceMappingGroupResponse) Reset ¶ added in v0.2.14
func (x *DeleteResourceMappingGroupResponse) Reset()
func (*DeleteResourceMappingGroupResponse) String ¶ added in v0.2.14
func (x *DeleteResourceMappingGroupResponse) String() string
type DeleteResourceMappingRequest ¶
type DeleteResourceMappingRequest struct { // Required Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*DeleteResourceMappingRequest) Descriptor
deprecated
func (*DeleteResourceMappingRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteResourceMappingRequest.ProtoReflect.Descriptor instead.
func (*DeleteResourceMappingRequest) GetId ¶
func (x *DeleteResourceMappingRequest) GetId() string
func (*DeleteResourceMappingRequest) ProtoMessage ¶
func (*DeleteResourceMappingRequest) ProtoMessage()
func (*DeleteResourceMappingRequest) ProtoReflect ¶
func (x *DeleteResourceMappingRequest) ProtoReflect() protoreflect.Message
func (*DeleteResourceMappingRequest) Reset ¶
func (x *DeleteResourceMappingRequest) Reset()
func (*DeleteResourceMappingRequest) String ¶
func (x *DeleteResourceMappingRequest) String() string
type DeleteResourceMappingResponse ¶
type DeleteResourceMappingResponse struct { ResourceMapping *policy.ResourceMapping `protobuf:"bytes,1,opt,name=resource_mapping,json=resourceMapping,proto3" json:"resource_mapping,omitempty"` // contains filtered or unexported fields }
func (*DeleteResourceMappingResponse) Descriptor
deprecated
func (*DeleteResourceMappingResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteResourceMappingResponse.ProtoReflect.Descriptor instead.
func (*DeleteResourceMappingResponse) GetResourceMapping ¶
func (x *DeleteResourceMappingResponse) GetResourceMapping() *policy.ResourceMapping
func (*DeleteResourceMappingResponse) ProtoMessage ¶
func (*DeleteResourceMappingResponse) ProtoMessage()
func (*DeleteResourceMappingResponse) ProtoReflect ¶
func (x *DeleteResourceMappingResponse) ProtoReflect() protoreflect.Message
func (*DeleteResourceMappingResponse) Reset ¶
func (x *DeleteResourceMappingResponse) Reset()
func (*DeleteResourceMappingResponse) String ¶
func (x *DeleteResourceMappingResponse) String() string
type GetResourceMappingGroupRequest ¶ added in v0.2.14
type GetResourceMappingGroupRequest struct { // Required Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*GetResourceMappingGroupRequest) Descriptor
deprecated
added in
v0.2.14
func (*GetResourceMappingGroupRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetResourceMappingGroupRequest.ProtoReflect.Descriptor instead.
func (*GetResourceMappingGroupRequest) GetId ¶ added in v0.2.14
func (x *GetResourceMappingGroupRequest) GetId() string
func (*GetResourceMappingGroupRequest) ProtoMessage ¶ added in v0.2.14
func (*GetResourceMappingGroupRequest) ProtoMessage()
func (*GetResourceMappingGroupRequest) ProtoReflect ¶ added in v0.2.14
func (x *GetResourceMappingGroupRequest) ProtoReflect() protoreflect.Message
func (*GetResourceMappingGroupRequest) Reset ¶ added in v0.2.14
func (x *GetResourceMappingGroupRequest) Reset()
func (*GetResourceMappingGroupRequest) String ¶ added in v0.2.14
func (x *GetResourceMappingGroupRequest) String() string
type GetResourceMappingGroupResponse ¶ added in v0.2.14
type GetResourceMappingGroupResponse struct { ResourceMappingGroup *policy.ResourceMappingGroup `protobuf:"bytes,1,opt,name=resource_mapping_group,json=resourceMappingGroup,proto3" json:"resource_mapping_group,omitempty"` // contains filtered or unexported fields }
func (*GetResourceMappingGroupResponse) Descriptor
deprecated
added in
v0.2.14
func (*GetResourceMappingGroupResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetResourceMappingGroupResponse.ProtoReflect.Descriptor instead.
func (*GetResourceMappingGroupResponse) GetResourceMappingGroup ¶ added in v0.2.14
func (x *GetResourceMappingGroupResponse) GetResourceMappingGroup() *policy.ResourceMappingGroup
func (*GetResourceMappingGroupResponse) ProtoMessage ¶ added in v0.2.14
func (*GetResourceMappingGroupResponse) ProtoMessage()
func (*GetResourceMappingGroupResponse) ProtoReflect ¶ added in v0.2.14
func (x *GetResourceMappingGroupResponse) ProtoReflect() protoreflect.Message
func (*GetResourceMappingGroupResponse) Reset ¶ added in v0.2.14
func (x *GetResourceMappingGroupResponse) Reset()
func (*GetResourceMappingGroupResponse) String ¶ added in v0.2.14
func (x *GetResourceMappingGroupResponse) String() string
type GetResourceMappingRequest ¶
type GetResourceMappingRequest struct { // Required Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*GetResourceMappingRequest) Descriptor
deprecated
func (*GetResourceMappingRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetResourceMappingRequest.ProtoReflect.Descriptor instead.
func (*GetResourceMappingRequest) GetId ¶
func (x *GetResourceMappingRequest) GetId() string
func (*GetResourceMappingRequest) ProtoMessage ¶
func (*GetResourceMappingRequest) ProtoMessage()
func (*GetResourceMappingRequest) ProtoReflect ¶
func (x *GetResourceMappingRequest) ProtoReflect() protoreflect.Message
func (*GetResourceMappingRequest) Reset ¶
func (x *GetResourceMappingRequest) Reset()
func (*GetResourceMappingRequest) String ¶
func (x *GetResourceMappingRequest) String() string
type GetResourceMappingResponse ¶
type GetResourceMappingResponse struct { ResourceMapping *policy.ResourceMapping `protobuf:"bytes,1,opt,name=resource_mapping,json=resourceMapping,proto3" json:"resource_mapping,omitempty"` // contains filtered or unexported fields }
func (*GetResourceMappingResponse) Descriptor
deprecated
func (*GetResourceMappingResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetResourceMappingResponse.ProtoReflect.Descriptor instead.
func (*GetResourceMappingResponse) GetResourceMapping ¶
func (x *GetResourceMappingResponse) GetResourceMapping() *policy.ResourceMapping
func (*GetResourceMappingResponse) ProtoMessage ¶
func (*GetResourceMappingResponse) ProtoMessage()
func (*GetResourceMappingResponse) ProtoReflect ¶
func (x *GetResourceMappingResponse) ProtoReflect() protoreflect.Message
func (*GetResourceMappingResponse) Reset ¶
func (x *GetResourceMappingResponse) Reset()
func (*GetResourceMappingResponse) String ¶
func (x *GetResourceMappingResponse) String() string
type ListResourceMappingGroupsRequest ¶ added in v0.2.14
type ListResourceMappingGroupsRequest struct { // Optional NamespaceId string `protobuf:"bytes,1,opt,name=namespace_id,json=namespaceId,proto3" json:"namespace_id,omitempty"` // Optional Pagination *policy.PageRequest `protobuf:"bytes,10,opt,name=pagination,proto3" json:"pagination,omitempty"` // contains filtered or unexported fields }
func (*ListResourceMappingGroupsRequest) Descriptor
deprecated
added in
v0.2.14
func (*ListResourceMappingGroupsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListResourceMappingGroupsRequest.ProtoReflect.Descriptor instead.
func (*ListResourceMappingGroupsRequest) GetNamespaceId ¶ added in v0.2.14
func (x *ListResourceMappingGroupsRequest) GetNamespaceId() string
func (*ListResourceMappingGroupsRequest) GetPagination ¶ added in v0.2.19
func (x *ListResourceMappingGroupsRequest) GetPagination() *policy.PageRequest
func (*ListResourceMappingGroupsRequest) ProtoMessage ¶ added in v0.2.14
func (*ListResourceMappingGroupsRequest) ProtoMessage()
func (*ListResourceMappingGroupsRequest) ProtoReflect ¶ added in v0.2.14
func (x *ListResourceMappingGroupsRequest) ProtoReflect() protoreflect.Message
func (*ListResourceMappingGroupsRequest) Reset ¶ added in v0.2.14
func (x *ListResourceMappingGroupsRequest) Reset()
func (*ListResourceMappingGroupsRequest) String ¶ added in v0.2.14
func (x *ListResourceMappingGroupsRequest) String() string
type ListResourceMappingGroupsResponse ¶ added in v0.2.14
type ListResourceMappingGroupsResponse struct { ResourceMappingGroups []*policy.ResourceMappingGroup `` /* 126-byte string literal not displayed */ Pagination *policy.PageResponse `protobuf:"bytes,10,opt,name=pagination,proto3" json:"pagination,omitempty"` // contains filtered or unexported fields }
func (*ListResourceMappingGroupsResponse) Descriptor
deprecated
added in
v0.2.14
func (*ListResourceMappingGroupsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListResourceMappingGroupsResponse.ProtoReflect.Descriptor instead.
func (*ListResourceMappingGroupsResponse) GetPagination ¶ added in v0.2.19
func (x *ListResourceMappingGroupsResponse) GetPagination() *policy.PageResponse
func (*ListResourceMappingGroupsResponse) GetResourceMappingGroups ¶ added in v0.2.14
func (x *ListResourceMappingGroupsResponse) GetResourceMappingGroups() []*policy.ResourceMappingGroup
func (*ListResourceMappingGroupsResponse) ProtoMessage ¶ added in v0.2.14
func (*ListResourceMappingGroupsResponse) ProtoMessage()
func (*ListResourceMappingGroupsResponse) ProtoReflect ¶ added in v0.2.14
func (x *ListResourceMappingGroupsResponse) ProtoReflect() protoreflect.Message
func (*ListResourceMappingGroupsResponse) Reset ¶ added in v0.2.14
func (x *ListResourceMappingGroupsResponse) Reset()
func (*ListResourceMappingGroupsResponse) String ¶ added in v0.2.14
func (x *ListResourceMappingGroupsResponse) String() string
type ListResourceMappingsByGroupFqnsRequest ¶ added in v0.2.14
type ListResourceMappingsByGroupFqnsRequest struct { // Required // Structure of the RM Group FQN is 'https://<namespace>/resm/<group name>' Fqns []string `protobuf:"bytes,1,rep,name=fqns,proto3" json:"fqns,omitempty"` // contains filtered or unexported fields }
func (*ListResourceMappingsByGroupFqnsRequest) Descriptor
deprecated
added in
v0.2.14
func (*ListResourceMappingsByGroupFqnsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListResourceMappingsByGroupFqnsRequest.ProtoReflect.Descriptor instead.
func (*ListResourceMappingsByGroupFqnsRequest) GetFqns ¶ added in v0.2.14
func (x *ListResourceMappingsByGroupFqnsRequest) GetFqns() []string
func (*ListResourceMappingsByGroupFqnsRequest) ProtoMessage ¶ added in v0.2.14
func (*ListResourceMappingsByGroupFqnsRequest) ProtoMessage()
func (*ListResourceMappingsByGroupFqnsRequest) ProtoReflect ¶ added in v0.2.14
func (x *ListResourceMappingsByGroupFqnsRequest) ProtoReflect() protoreflect.Message
func (*ListResourceMappingsByGroupFqnsRequest) Reset ¶ added in v0.2.14
func (x *ListResourceMappingsByGroupFqnsRequest) Reset()
func (*ListResourceMappingsByGroupFqnsRequest) String ¶ added in v0.2.14
func (x *ListResourceMappingsByGroupFqnsRequest) String() string
type ListResourceMappingsByGroupFqnsResponse ¶ added in v0.2.14
type ListResourceMappingsByGroupFqnsResponse struct { FqnResourceMappingGroups map[string]*ResourceMappingsByGroup `` /* 225-byte string literal not displayed */ // contains filtered or unexported fields }
func (*ListResourceMappingsByGroupFqnsResponse) Descriptor
deprecated
added in
v0.2.14
func (*ListResourceMappingsByGroupFqnsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListResourceMappingsByGroupFqnsResponse.ProtoReflect.Descriptor instead.
func (*ListResourceMappingsByGroupFqnsResponse) GetFqnResourceMappingGroups ¶ added in v0.2.14
func (x *ListResourceMappingsByGroupFqnsResponse) GetFqnResourceMappingGroups() map[string]*ResourceMappingsByGroup
func (*ListResourceMappingsByGroupFqnsResponse) ProtoMessage ¶ added in v0.2.14
func (*ListResourceMappingsByGroupFqnsResponse) ProtoMessage()
func (*ListResourceMappingsByGroupFqnsResponse) ProtoReflect ¶ added in v0.2.14
func (x *ListResourceMappingsByGroupFqnsResponse) ProtoReflect() protoreflect.Message
func (*ListResourceMappingsByGroupFqnsResponse) Reset ¶ added in v0.2.14
func (x *ListResourceMappingsByGroupFqnsResponse) Reset()
func (*ListResourceMappingsByGroupFqnsResponse) String ¶ added in v0.2.14
func (x *ListResourceMappingsByGroupFqnsResponse) String() string
type ListResourceMappingsRequest ¶
type ListResourceMappingsRequest struct { // Optional GroupId string `protobuf:"bytes,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` // Optional Pagination *policy.PageRequest `protobuf:"bytes,10,opt,name=pagination,proto3" json:"pagination,omitempty"` // contains filtered or unexported fields }
func (*ListResourceMappingsRequest) Descriptor
deprecated
func (*ListResourceMappingsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListResourceMappingsRequest.ProtoReflect.Descriptor instead.
func (*ListResourceMappingsRequest) GetGroupId ¶ added in v0.2.14
func (x *ListResourceMappingsRequest) GetGroupId() string
func (*ListResourceMappingsRequest) GetPagination ¶ added in v0.2.19
func (x *ListResourceMappingsRequest) GetPagination() *policy.PageRequest
func (*ListResourceMappingsRequest) ProtoMessage ¶
func (*ListResourceMappingsRequest) ProtoMessage()
func (*ListResourceMappingsRequest) ProtoReflect ¶
func (x *ListResourceMappingsRequest) ProtoReflect() protoreflect.Message
func (*ListResourceMappingsRequest) Reset ¶
func (x *ListResourceMappingsRequest) Reset()
func (*ListResourceMappingsRequest) String ¶
func (x *ListResourceMappingsRequest) String() string
type ListResourceMappingsResponse ¶
type ListResourceMappingsResponse struct { ResourceMappings []*policy.ResourceMapping `protobuf:"bytes,1,rep,name=resource_mappings,json=resourceMappings,proto3" json:"resource_mappings,omitempty"` Pagination *policy.PageResponse `protobuf:"bytes,10,opt,name=pagination,proto3" json:"pagination,omitempty"` // contains filtered or unexported fields }
func (*ListResourceMappingsResponse) Descriptor
deprecated
func (*ListResourceMappingsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListResourceMappingsResponse.ProtoReflect.Descriptor instead.
func (*ListResourceMappingsResponse) GetPagination ¶ added in v0.2.19
func (x *ListResourceMappingsResponse) GetPagination() *policy.PageResponse
func (*ListResourceMappingsResponse) GetResourceMappings ¶
func (x *ListResourceMappingsResponse) GetResourceMappings() []*policy.ResourceMapping
func (*ListResourceMappingsResponse) ProtoMessage ¶
func (*ListResourceMappingsResponse) ProtoMessage()
func (*ListResourceMappingsResponse) ProtoReflect ¶
func (x *ListResourceMappingsResponse) ProtoReflect() protoreflect.Message
func (*ListResourceMappingsResponse) Reset ¶
func (x *ListResourceMappingsResponse) Reset()
func (*ListResourceMappingsResponse) String ¶
func (x *ListResourceMappingsResponse) String() string
type ResourceMappingServiceClient ¶
type ResourceMappingServiceClient interface { ListResourceMappingGroups(ctx context.Context, in *ListResourceMappingGroupsRequest, opts ...grpc.CallOption) (*ListResourceMappingGroupsResponse, error) GetResourceMappingGroup(ctx context.Context, in *GetResourceMappingGroupRequest, opts ...grpc.CallOption) (*GetResourceMappingGroupResponse, error) CreateResourceMappingGroup(ctx context.Context, in *CreateResourceMappingGroupRequest, opts ...grpc.CallOption) (*CreateResourceMappingGroupResponse, error) UpdateResourceMappingGroup(ctx context.Context, in *UpdateResourceMappingGroupRequest, opts ...grpc.CallOption) (*UpdateResourceMappingGroupResponse, error) DeleteResourceMappingGroup(ctx context.Context, in *DeleteResourceMappingGroupRequest, opts ...grpc.CallOption) (*DeleteResourceMappingGroupResponse, error) ListResourceMappings(ctx context.Context, in *ListResourceMappingsRequest, opts ...grpc.CallOption) (*ListResourceMappingsResponse, error) ListResourceMappingsByGroupFqns(ctx context.Context, in *ListResourceMappingsByGroupFqnsRequest, opts ...grpc.CallOption) (*ListResourceMappingsByGroupFqnsResponse, error) GetResourceMapping(ctx context.Context, in *GetResourceMappingRequest, opts ...grpc.CallOption) (*GetResourceMappingResponse, error) CreateResourceMapping(ctx context.Context, in *CreateResourceMappingRequest, opts ...grpc.CallOption) (*CreateResourceMappingResponse, error) UpdateResourceMapping(ctx context.Context, in *UpdateResourceMappingRequest, opts ...grpc.CallOption) (*UpdateResourceMappingResponse, error) DeleteResourceMapping(ctx context.Context, in *DeleteResourceMappingRequest, opts ...grpc.CallOption) (*DeleteResourceMappingResponse, error) }
ResourceMappingServiceClient is the client API for ResourceMappingService 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.
func NewResourceMappingServiceClient ¶
func NewResourceMappingServiceClient(cc grpc.ClientConnInterface) ResourceMappingServiceClient
type ResourceMappingServiceServer ¶
type ResourceMappingServiceServer interface { ListResourceMappingGroups(context.Context, *ListResourceMappingGroupsRequest) (*ListResourceMappingGroupsResponse, error) GetResourceMappingGroup(context.Context, *GetResourceMappingGroupRequest) (*GetResourceMappingGroupResponse, error) CreateResourceMappingGroup(context.Context, *CreateResourceMappingGroupRequest) (*CreateResourceMappingGroupResponse, error) UpdateResourceMappingGroup(context.Context, *UpdateResourceMappingGroupRequest) (*UpdateResourceMappingGroupResponse, error) DeleteResourceMappingGroup(context.Context, *DeleteResourceMappingGroupRequest) (*DeleteResourceMappingGroupResponse, error) ListResourceMappings(context.Context, *ListResourceMappingsRequest) (*ListResourceMappingsResponse, error) ListResourceMappingsByGroupFqns(context.Context, *ListResourceMappingsByGroupFqnsRequest) (*ListResourceMappingsByGroupFqnsResponse, error) GetResourceMapping(context.Context, *GetResourceMappingRequest) (*GetResourceMappingResponse, error) CreateResourceMapping(context.Context, *CreateResourceMappingRequest) (*CreateResourceMappingResponse, error) UpdateResourceMapping(context.Context, *UpdateResourceMappingRequest) (*UpdateResourceMappingResponse, error) DeleteResourceMapping(context.Context, *DeleteResourceMappingRequest) (*DeleteResourceMappingResponse, error) // contains filtered or unexported methods }
ResourceMappingServiceServer is the server API for ResourceMappingService service. All implementations must embed UnimplementedResourceMappingServiceServer for forward compatibility
type ResourceMappingsByGroup ¶ added in v0.2.14
type ResourceMappingsByGroup struct { Group *policy.ResourceMappingGroup `protobuf:"bytes,1,opt,name=group,proto3" json:"group,omitempty"` Mappings []*policy.ResourceMapping `protobuf:"bytes,2,rep,name=mappings,proto3" json:"mappings,omitempty"` // contains filtered or unexported fields }
func (*ResourceMappingsByGroup) Descriptor
deprecated
added in
v0.2.14
func (*ResourceMappingsByGroup) Descriptor() ([]byte, []int)
Deprecated: Use ResourceMappingsByGroup.ProtoReflect.Descriptor instead.
func (*ResourceMappingsByGroup) GetGroup ¶ added in v0.2.14
func (x *ResourceMappingsByGroup) GetGroup() *policy.ResourceMappingGroup
func (*ResourceMappingsByGroup) GetMappings ¶ added in v0.2.14
func (x *ResourceMappingsByGroup) GetMappings() []*policy.ResourceMapping
func (*ResourceMappingsByGroup) ProtoMessage ¶ added in v0.2.14
func (*ResourceMappingsByGroup) ProtoMessage()
func (*ResourceMappingsByGroup) ProtoReflect ¶ added in v0.2.14
func (x *ResourceMappingsByGroup) ProtoReflect() protoreflect.Message
func (*ResourceMappingsByGroup) Reset ¶ added in v0.2.14
func (x *ResourceMappingsByGroup) Reset()
func (*ResourceMappingsByGroup) String ¶ added in v0.2.14
func (x *ResourceMappingsByGroup) String() string
type UnimplementedResourceMappingServiceServer ¶
type UnimplementedResourceMappingServiceServer struct { }
UnimplementedResourceMappingServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedResourceMappingServiceServer) CreateResourceMapping ¶
func (UnimplementedResourceMappingServiceServer) CreateResourceMapping(context.Context, *CreateResourceMappingRequest) (*CreateResourceMappingResponse, error)
func (UnimplementedResourceMappingServiceServer) CreateResourceMappingGroup ¶ added in v0.2.14
func (UnimplementedResourceMappingServiceServer) CreateResourceMappingGroup(context.Context, *CreateResourceMappingGroupRequest) (*CreateResourceMappingGroupResponse, error)
func (UnimplementedResourceMappingServiceServer) DeleteResourceMapping ¶
func (UnimplementedResourceMappingServiceServer) DeleteResourceMapping(context.Context, *DeleteResourceMappingRequest) (*DeleteResourceMappingResponse, error)
func (UnimplementedResourceMappingServiceServer) DeleteResourceMappingGroup ¶ added in v0.2.14
func (UnimplementedResourceMappingServiceServer) DeleteResourceMappingGroup(context.Context, *DeleteResourceMappingGroupRequest) (*DeleteResourceMappingGroupResponse, error)
func (UnimplementedResourceMappingServiceServer) GetResourceMapping ¶
func (UnimplementedResourceMappingServiceServer) GetResourceMapping(context.Context, *GetResourceMappingRequest) (*GetResourceMappingResponse, error)
func (UnimplementedResourceMappingServiceServer) GetResourceMappingGroup ¶ added in v0.2.14
func (UnimplementedResourceMappingServiceServer) GetResourceMappingGroup(context.Context, *GetResourceMappingGroupRequest) (*GetResourceMappingGroupResponse, error)
func (UnimplementedResourceMappingServiceServer) ListResourceMappingGroups ¶ added in v0.2.14
func (UnimplementedResourceMappingServiceServer) ListResourceMappingGroups(context.Context, *ListResourceMappingGroupsRequest) (*ListResourceMappingGroupsResponse, error)
func (UnimplementedResourceMappingServiceServer) ListResourceMappings ¶
func (UnimplementedResourceMappingServiceServer) ListResourceMappings(context.Context, *ListResourceMappingsRequest) (*ListResourceMappingsResponse, error)
func (UnimplementedResourceMappingServiceServer) ListResourceMappingsByGroupFqns ¶ added in v0.2.14
func (UnimplementedResourceMappingServiceServer) ListResourceMappingsByGroupFqns(context.Context, *ListResourceMappingsByGroupFqnsRequest) (*ListResourceMappingsByGroupFqnsResponse, error)
func (UnimplementedResourceMappingServiceServer) UpdateResourceMapping ¶
func (UnimplementedResourceMappingServiceServer) UpdateResourceMapping(context.Context, *UpdateResourceMappingRequest) (*UpdateResourceMappingResponse, error)
func (UnimplementedResourceMappingServiceServer) UpdateResourceMappingGroup ¶ added in v0.2.14
func (UnimplementedResourceMappingServiceServer) UpdateResourceMappingGroup(context.Context, *UpdateResourceMappingGroupRequest) (*UpdateResourceMappingGroupResponse, error)
type UnsafeResourceMappingServiceServer ¶
type UnsafeResourceMappingServiceServer interface {
// contains filtered or unexported methods
}
UnsafeResourceMappingServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ResourceMappingServiceServer will result in compilation errors.
type UpdateResourceMappingGroupRequest ¶ added in v0.2.14
type UpdateResourceMappingGroupRequest struct { // Required Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Optional NamespaceId string `protobuf:"bytes,2,opt,name=namespace_id,json=namespaceId,proto3" json:"namespace_id,omitempty"` // Optional Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // Common metadata Metadata *common.MetadataMutable `protobuf:"bytes,100,opt,name=metadata,proto3" json:"metadata,omitempty"` MetadataUpdateBehavior common.MetadataUpdateEnum `` /* 163-byte string literal not displayed */ // contains filtered or unexported fields }
func (*UpdateResourceMappingGroupRequest) Descriptor
deprecated
added in
v0.2.14
func (*UpdateResourceMappingGroupRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateResourceMappingGroupRequest.ProtoReflect.Descriptor instead.
func (*UpdateResourceMappingGroupRequest) GetId ¶ added in v0.2.14
func (x *UpdateResourceMappingGroupRequest) GetId() string
func (*UpdateResourceMappingGroupRequest) GetMetadata ¶ added in v0.2.15
func (x *UpdateResourceMappingGroupRequest) GetMetadata() *common.MetadataMutable
func (*UpdateResourceMappingGroupRequest) GetMetadataUpdateBehavior ¶ added in v0.2.15
func (x *UpdateResourceMappingGroupRequest) GetMetadataUpdateBehavior() common.MetadataUpdateEnum
func (*UpdateResourceMappingGroupRequest) GetName ¶ added in v0.2.14
func (x *UpdateResourceMappingGroupRequest) GetName() string
func (*UpdateResourceMappingGroupRequest) GetNamespaceId ¶ added in v0.2.14
func (x *UpdateResourceMappingGroupRequest) GetNamespaceId() string
func (*UpdateResourceMappingGroupRequest) ProtoMessage ¶ added in v0.2.14
func (*UpdateResourceMappingGroupRequest) ProtoMessage()
func (*UpdateResourceMappingGroupRequest) ProtoReflect ¶ added in v0.2.14
func (x *UpdateResourceMappingGroupRequest) ProtoReflect() protoreflect.Message
func (*UpdateResourceMappingGroupRequest) Reset ¶ added in v0.2.14
func (x *UpdateResourceMappingGroupRequest) Reset()
func (*UpdateResourceMappingGroupRequest) String ¶ added in v0.2.14
func (x *UpdateResourceMappingGroupRequest) String() string
type UpdateResourceMappingGroupResponse ¶ added in v0.2.14
type UpdateResourceMappingGroupResponse struct { ResourceMappingGroup *policy.ResourceMappingGroup `protobuf:"bytes,1,opt,name=resource_mapping_group,json=resourceMappingGroup,proto3" json:"resource_mapping_group,omitempty"` // contains filtered or unexported fields }
func (*UpdateResourceMappingGroupResponse) Descriptor
deprecated
added in
v0.2.14
func (*UpdateResourceMappingGroupResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateResourceMappingGroupResponse.ProtoReflect.Descriptor instead.
func (*UpdateResourceMappingGroupResponse) GetResourceMappingGroup ¶ added in v0.2.14
func (x *UpdateResourceMappingGroupResponse) GetResourceMappingGroup() *policy.ResourceMappingGroup
func (*UpdateResourceMappingGroupResponse) ProtoMessage ¶ added in v0.2.14
func (*UpdateResourceMappingGroupResponse) ProtoMessage()
func (*UpdateResourceMappingGroupResponse) ProtoReflect ¶ added in v0.2.14
func (x *UpdateResourceMappingGroupResponse) ProtoReflect() protoreflect.Message
func (*UpdateResourceMappingGroupResponse) Reset ¶ added in v0.2.14
func (x *UpdateResourceMappingGroupResponse) Reset()
func (*UpdateResourceMappingGroupResponse) String ¶ added in v0.2.14
func (x *UpdateResourceMappingGroupResponse) String() string
type UpdateResourceMappingRequest ¶
type UpdateResourceMappingRequest struct { // Required Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Optional AttributeValueId string `protobuf:"bytes,4,opt,name=attribute_value_id,json=attributeValueId,proto3" json:"attribute_value_id,omitempty"` // Optional Terms []string `protobuf:"bytes,5,rep,name=terms,proto3" json:"terms,omitempty"` // Optional GroupId string `protobuf:"bytes,6,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` // Optional // Common Metadata Metadata *common.MetadataMutable `protobuf:"bytes,100,opt,name=metadata,proto3" json:"metadata,omitempty"` MetadataUpdateBehavior common.MetadataUpdateEnum `` /* 163-byte string literal not displayed */ // contains filtered or unexported fields }
func (*UpdateResourceMappingRequest) Descriptor
deprecated
func (*UpdateResourceMappingRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateResourceMappingRequest.ProtoReflect.Descriptor instead.
func (*UpdateResourceMappingRequest) GetAttributeValueId ¶
func (x *UpdateResourceMappingRequest) GetAttributeValueId() string
func (*UpdateResourceMappingRequest) GetGroupId ¶ added in v0.2.14
func (x *UpdateResourceMappingRequest) GetGroupId() string
func (*UpdateResourceMappingRequest) GetId ¶
func (x *UpdateResourceMappingRequest) GetId() string
func (*UpdateResourceMappingRequest) GetMetadata ¶
func (x *UpdateResourceMappingRequest) GetMetadata() *common.MetadataMutable
func (*UpdateResourceMappingRequest) GetMetadataUpdateBehavior ¶
func (x *UpdateResourceMappingRequest) GetMetadataUpdateBehavior() common.MetadataUpdateEnum
func (*UpdateResourceMappingRequest) GetTerms ¶
func (x *UpdateResourceMappingRequest) GetTerms() []string
func (*UpdateResourceMappingRequest) ProtoMessage ¶
func (*UpdateResourceMappingRequest) ProtoMessage()
func (*UpdateResourceMappingRequest) ProtoReflect ¶
func (x *UpdateResourceMappingRequest) ProtoReflect() protoreflect.Message
func (*UpdateResourceMappingRequest) Reset ¶
func (x *UpdateResourceMappingRequest) Reset()
func (*UpdateResourceMappingRequest) String ¶
func (x *UpdateResourceMappingRequest) String() string
type UpdateResourceMappingResponse ¶
type UpdateResourceMappingResponse struct { ResourceMapping *policy.ResourceMapping `protobuf:"bytes,1,opt,name=resource_mapping,json=resourceMapping,proto3" json:"resource_mapping,omitempty"` // contains filtered or unexported fields }
func (*UpdateResourceMappingResponse) Descriptor
deprecated
func (*UpdateResourceMappingResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateResourceMappingResponse.ProtoReflect.Descriptor instead.
func (*UpdateResourceMappingResponse) GetResourceMapping ¶
func (x *UpdateResourceMappingResponse) GetResourceMapping() *policy.ResourceMapping
func (*UpdateResourceMappingResponse) ProtoMessage ¶
func (*UpdateResourceMappingResponse) ProtoMessage()
func (*UpdateResourceMappingResponse) ProtoReflect ¶
func (x *UpdateResourceMappingResponse) ProtoReflect() protoreflect.Message
func (*UpdateResourceMappingResponse) Reset ¶
func (x *UpdateResourceMappingResponse) Reset()
func (*UpdateResourceMappingResponse) String ¶
func (x *UpdateResourceMappingResponse) String() string