Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterIAMServer(s grpc.ServiceRegistrar, srv IAMServer)
- type AddMembershipIn
- func (*AddMembershipIn) Descriptor() ([]byte, []int)deprecated
- func (x *AddMembershipIn) GetFilter() string
- func (x *AddMembershipIn) GetResourceRef() string
- func (x *AddMembershipIn) GetResourceType() string
- func (x *AddMembershipIn) GetRole() string
- func (x *AddMembershipIn) GetUserId() string
- func (*AddMembershipIn) ProtoMessage()
- func (x *AddMembershipIn) ProtoReflect() protoreflect.Message
- func (x *AddMembershipIn) Reset()
- func (x *AddMembershipIn) String() string
- type AddMembershipOut
- type CanIn
- func (*CanIn) Descriptor() ([]byte, []int)deprecated
- func (x *CanIn) GetAction() string
- func (x *CanIn) GetResourceRefs() []string
- func (x *CanIn) GetUserId() string
- func (*CanIn) ProtoMessage()
- func (x *CanIn) ProtoReflect() protoreflect.Message
- func (x *CanIn) Reset()
- func (x *CanIn) String() string
- type CanOut
- type GetMembershipIn
- func (*GetMembershipIn) Descriptor() ([]byte, []int)deprecated
- func (x *GetMembershipIn) GetResourceRef() string
- func (x *GetMembershipIn) GetResourceType() string
- func (x *GetMembershipIn) GetUserId() string
- func (*GetMembershipIn) ProtoMessage()
- func (x *GetMembershipIn) ProtoReflect() protoreflect.Message
- func (x *GetMembershipIn) Reset()
- func (x *GetMembershipIn) String() string
- type GetMembershipOut
- func (*GetMembershipOut) Descriptor() ([]byte, []int)deprecated
- func (x *GetMembershipOut) GetResourceRef() string
- func (x *GetMembershipOut) GetRole() string
- func (x *GetMembershipOut) GetUserId() string
- func (*GetMembershipOut) ProtoMessage()
- func (x *GetMembershipOut) ProtoReflect() protoreflect.Message
- func (x *GetMembershipOut) Reset()
- func (x *GetMembershipOut) String() string
- type IAMClient
- type IAMServer
- type ListMembershipsOut
- func (*ListMembershipsOut) Descriptor() ([]byte, []int)deprecated
- func (x *ListMembershipsOut) GetRoleBindings() []*RoleBinding
- func (*ListMembershipsOut) ProtoMessage()
- func (x *ListMembershipsOut) ProtoReflect() protoreflect.Message
- func (x *ListMembershipsOut) Reset()
- func (x *ListMembershipsOut) String() string
- type MembershipsForResourceIn
- func (*MembershipsForResourceIn) Descriptor() ([]byte, []int)deprecated
- func (x *MembershipsForResourceIn) GetResourceRef() string
- func (x *MembershipsForResourceIn) GetResourceType() string
- func (*MembershipsForResourceIn) ProtoMessage()
- func (x *MembershipsForResourceIn) ProtoReflect() protoreflect.Message
- func (x *MembershipsForResourceIn) Reset()
- func (x *MembershipsForResourceIn) String() string
- type MembershipsForUserIn
- func (*MembershipsForUserIn) Descriptor() ([]byte, []int)deprecated
- func (x *MembershipsForUserIn) GetResourceType() string
- func (x *MembershipsForUserIn) GetUserId() string
- func (*MembershipsForUserIn) ProtoMessage()
- func (x *MembershipsForUserIn) ProtoReflect() protoreflect.Message
- func (x *MembershipsForUserIn) Reset()
- func (x *MembershipsForUserIn) String() string
- type Message
- type RemoveMembershipIn
- func (*RemoveMembershipIn) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveMembershipIn) GetResourceRef() string
- func (x *RemoveMembershipIn) GetUserId() string
- func (*RemoveMembershipIn) ProtoMessage()
- func (x *RemoveMembershipIn) ProtoReflect() protoreflect.Message
- func (x *RemoveMembershipIn) Reset()
- func (x *RemoveMembershipIn) String() string
- type RemoveMembershipOut
- func (*RemoveMembershipOut) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveMembershipOut) GetResult() bool
- func (*RemoveMembershipOut) ProtoMessage()
- func (x *RemoveMembershipOut) ProtoReflect() protoreflect.Message
- func (x *RemoveMembershipOut) Reset()
- func (x *RemoveMembershipOut) String() string
- type RemoveResourceIn
- type RemoveResourceOut
- type ResourceMembershipsOut
- func (*ResourceMembershipsOut) Descriptor() ([]byte, []int)deprecated
- func (x *ResourceMembershipsOut) GetResourceRef() string
- func (x *ResourceMembershipsOut) GetResourceType() string
- func (*ResourceMembershipsOut) ProtoMessage()
- func (x *ResourceMembershipsOut) ProtoReflect() protoreflect.Message
- func (x *ResourceMembershipsOut) Reset()
- func (x *ResourceMembershipsOut) String() string
- type RoleBinding
- func (*RoleBinding) Descriptor() ([]byte, []int)deprecated
- func (x *RoleBinding) GetResourceRef() string
- func (x *RoleBinding) GetResourceType() string
- func (x *RoleBinding) GetRole() string
- func (x *RoleBinding) GetUserId() string
- func (*RoleBinding) ProtoMessage()
- func (x *RoleBinding) ProtoReflect() protoreflect.Message
- func (x *RoleBinding) Reset()
- func (x *RoleBinding) String() string
- type UnimplementedIAMServer
- func (UnimplementedIAMServer) AddMembership(context.Context, *AddMembershipIn) (*AddMembershipOut, error)
- func (UnimplementedIAMServer) Can(context.Context, *CanIn) (*CanOut, error)
- func (UnimplementedIAMServer) GetMembership(context.Context, *GetMembershipIn) (*GetMembershipOut, error)
- func (UnimplementedIAMServer) ListMembershipsForResource(context.Context, *MembershipsForResourceIn) (*ListMembershipsOut, error)
- func (UnimplementedIAMServer) ListMembershipsForUser(context.Context, *MembershipsForUserIn) (*ListMembershipsOut, error)
- func (UnimplementedIAMServer) Ping(context.Context, *Message) (*Message, error)
- func (UnimplementedIAMServer) RemoveMembership(context.Context, *RemoveMembershipIn) (*RemoveMembershipOut, error)
- func (UnimplementedIAMServer) RemoveResource(context.Context, *RemoveResourceIn) (*RemoveResourceOut, error)
- func (UnimplementedIAMServer) UpdateMembership(context.Context, *UpdateMembershipIn) (*UpdateMembershipOut, error)
- type UnsafeIAMServer
- type UpdateMembershipIn
- func (*UpdateMembershipIn) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateMembershipIn) GetResourceRef() string
- func (x *UpdateMembershipIn) GetResourceType() string
- func (x *UpdateMembershipIn) GetRole() string
- func (x *UpdateMembershipIn) GetUserId() string
- func (*UpdateMembershipIn) ProtoMessage()
- func (x *UpdateMembershipIn) ProtoReflect() protoreflect.Message
- func (x *UpdateMembershipIn) Reset()
- func (x *UpdateMembershipIn) String() string
- type UpdateMembershipOut
- func (*UpdateMembershipOut) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateMembershipOut) GetResult() bool
- func (*UpdateMembershipOut) ProtoMessage()
- func (x *UpdateMembershipOut) ProtoReflect() protoreflect.Message
- func (x *UpdateMembershipOut) Reset()
- func (x *UpdateMembershipOut) String() string
Constants ¶
const ( IAM_Ping_FullMethodName = "/IAM/Ping" IAM_Can_FullMethodName = "/IAM/Can" IAM_ListMembershipsForResource_FullMethodName = "/IAM/ListMembershipsForResource" IAM_ListMembershipsForUser_FullMethodName = "/IAM/ListMembershipsForUser" IAM_GetMembership_FullMethodName = "/IAM/GetMembership" IAM_AddMembership_FullMethodName = "/IAM/AddMembership" IAM_UpdateMembership_FullMethodName = "/IAM/UpdateMembership" IAM_RemoveMembership_FullMethodName = "/IAM/RemoveMembership" IAM_RemoveResource_FullMethodName = "/IAM/RemoveResource" )
Variables ¶
var File_iam_proto protoreflect.FileDescriptor
var IAM_ServiceDesc = grpc.ServiceDesc{ ServiceName: "IAM", HandlerType: (*IAMServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Ping", Handler: _IAM_Ping_Handler, }, { MethodName: "Can", Handler: _IAM_Can_Handler, }, { MethodName: "ListMembershipsForResource", Handler: _IAM_ListMembershipsForResource_Handler, }, { MethodName: "ListMembershipsForUser", Handler: _IAM_ListMembershipsForUser_Handler, }, { MethodName: "GetMembership", Handler: _IAM_GetMembership_Handler, }, { MethodName: "AddMembership", Handler: _IAM_AddMembership_Handler, }, { MethodName: "UpdateMembership", Handler: _IAM_UpdateMembership_Handler, }, { MethodName: "RemoveMembership", Handler: _IAM_RemoveMembership_Handler, }, { MethodName: "RemoveResource", Handler: _IAM_RemoveResource_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "iam.proto", }
IAM_ServiceDesc is the grpc.ServiceDesc for IAM service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterIAMServer ¶
func RegisterIAMServer(s grpc.ServiceRegistrar, srv IAMServer)
Types ¶
type AddMembershipIn ¶
type AddMembershipIn struct { UserId string `protobuf:"bytes,1,opt,name=userId,proto3" json:"userId,omitempty"` ResourceType string `protobuf:"bytes,2,opt,name=resourceType,proto3" json:"resourceType,omitempty"` ResourceRef string `protobuf:"bytes,3,opt,name=resourceRef,proto3" json:"resourceRef,omitempty"` Role string `protobuf:"bytes,4,opt,name=role,proto3" json:"role,omitempty"` Filter string `protobuf:"bytes,5,opt,name=filter,proto3" json:"filter,omitempty"` // contains filtered or unexported fields }
func (*AddMembershipIn) Descriptor
deprecated
func (*AddMembershipIn) Descriptor() ([]byte, []int)
Deprecated: Use AddMembershipIn.ProtoReflect.Descriptor instead.
func (*AddMembershipIn) GetFilter ¶
func (x *AddMembershipIn) GetFilter() string
func (*AddMembershipIn) GetResourceRef ¶
func (x *AddMembershipIn) GetResourceRef() string
func (*AddMembershipIn) GetResourceType ¶
func (x *AddMembershipIn) GetResourceType() string
func (*AddMembershipIn) GetRole ¶
func (x *AddMembershipIn) GetRole() string
func (*AddMembershipIn) GetUserId ¶
func (x *AddMembershipIn) GetUserId() string
func (*AddMembershipIn) ProtoMessage ¶
func (*AddMembershipIn) ProtoMessage()
func (*AddMembershipIn) ProtoReflect ¶
func (x *AddMembershipIn) ProtoReflect() protoreflect.Message
func (*AddMembershipIn) Reset ¶
func (x *AddMembershipIn) Reset()
func (*AddMembershipIn) String ¶
func (x *AddMembershipIn) String() string
type AddMembershipOut ¶
type AddMembershipOut struct { Result bool `protobuf:"varint,1,opt,name=result,proto3" json:"result,omitempty"` // contains filtered or unexported fields }
func (*AddMembershipOut) Descriptor
deprecated
func (*AddMembershipOut) Descriptor() ([]byte, []int)
Deprecated: Use AddMembershipOut.ProtoReflect.Descriptor instead.
func (*AddMembershipOut) GetResult ¶
func (x *AddMembershipOut) GetResult() bool
func (*AddMembershipOut) ProtoMessage ¶
func (*AddMembershipOut) ProtoMessage()
func (*AddMembershipOut) ProtoReflect ¶
func (x *AddMembershipOut) ProtoReflect() protoreflect.Message
func (*AddMembershipOut) Reset ¶
func (x *AddMembershipOut) Reset()
func (*AddMembershipOut) String ¶
func (x *AddMembershipOut) String() string
type CanIn ¶
type CanIn struct { UserId string `protobuf:"bytes,1,opt,name=userId,proto3" json:"userId,omitempty"` ResourceRefs []string `protobuf:"bytes,2,rep,name=ResourceRefs,proto3" json:"ResourceRefs,omitempty"` Action string `protobuf:"bytes,3,opt,name=action,proto3" json:"action,omitempty"` // contains filtered or unexported fields }
func (*CanIn) Descriptor
deprecated
func (*CanIn) GetResourceRefs ¶
func (*CanIn) ProtoMessage ¶
func (*CanIn) ProtoMessage()
func (*CanIn) ProtoReflect ¶
func (x *CanIn) ProtoReflect() protoreflect.Message
type CanOut ¶
type CanOut struct { Status bool `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"` // contains filtered or unexported fields }
func (*CanOut) Descriptor
deprecated
func (*CanOut) ProtoMessage ¶
func (*CanOut) ProtoMessage()
func (*CanOut) ProtoReflect ¶
func (x *CanOut) ProtoReflect() protoreflect.Message
type GetMembershipIn ¶
type GetMembershipIn struct { UserId string `protobuf:"bytes,1,opt,name=userId,proto3" json:"userId,omitempty"` ResourceType string `protobuf:"bytes,2,opt,name=resourceType,proto3" json:"resourceType,omitempty"` ResourceRef string `protobuf:"bytes,3,opt,name=ResourceRef,proto3" json:"ResourceRef,omitempty"` // contains filtered or unexported fields }
func (*GetMembershipIn) Descriptor
deprecated
func (*GetMembershipIn) Descriptor() ([]byte, []int)
Deprecated: Use GetMembershipIn.ProtoReflect.Descriptor instead.
func (*GetMembershipIn) GetResourceRef ¶
func (x *GetMembershipIn) GetResourceRef() string
func (*GetMembershipIn) GetResourceType ¶
func (x *GetMembershipIn) GetResourceType() string
func (*GetMembershipIn) GetUserId ¶
func (x *GetMembershipIn) GetUserId() string
func (*GetMembershipIn) ProtoMessage ¶
func (*GetMembershipIn) ProtoMessage()
func (*GetMembershipIn) ProtoReflect ¶
func (x *GetMembershipIn) ProtoReflect() protoreflect.Message
func (*GetMembershipIn) Reset ¶
func (x *GetMembershipIn) Reset()
func (*GetMembershipIn) String ¶
func (x *GetMembershipIn) String() string
type GetMembershipOut ¶
type GetMembershipOut struct { UserId string `protobuf:"bytes,1,opt,name=userId,proto3" json:"userId,omitempty"` ResourceRef string `protobuf:"bytes,2,opt,name=ResourceRef,proto3" json:"ResourceRef,omitempty"` Role string `protobuf:"bytes,3,opt,name=role,proto3" json:"role,omitempty"` // contains filtered or unexported fields }
func (*GetMembershipOut) Descriptor
deprecated
func (*GetMembershipOut) Descriptor() ([]byte, []int)
Deprecated: Use GetMembershipOut.ProtoReflect.Descriptor instead.
func (*GetMembershipOut) GetResourceRef ¶
func (x *GetMembershipOut) GetResourceRef() string
func (*GetMembershipOut) GetRole ¶
func (x *GetMembershipOut) GetRole() string
func (*GetMembershipOut) GetUserId ¶
func (x *GetMembershipOut) GetUserId() string
func (*GetMembershipOut) ProtoMessage ¶
func (*GetMembershipOut) ProtoMessage()
func (*GetMembershipOut) ProtoReflect ¶
func (x *GetMembershipOut) ProtoReflect() protoreflect.Message
func (*GetMembershipOut) Reset ¶
func (x *GetMembershipOut) Reset()
func (*GetMembershipOut) String ¶
func (x *GetMembershipOut) String() string
type IAMClient ¶
type IAMClient interface { // Query Ping(ctx context.Context, in *Message, opts ...grpc.CallOption) (*Message, error) Can(ctx context.Context, in *CanIn, opts ...grpc.CallOption) (*CanOut, error) ListMembershipsForResource(ctx context.Context, in *MembershipsForResourceIn, opts ...grpc.CallOption) (*ListMembershipsOut, error) ListMembershipsForUser(ctx context.Context, in *MembershipsForUserIn, opts ...grpc.CallOption) (*ListMembershipsOut, error) GetMembership(ctx context.Context, in *GetMembershipIn, opts ...grpc.CallOption) (*GetMembershipOut, error) // Mutation AddMembership(ctx context.Context, in *AddMembershipIn, opts ...grpc.CallOption) (*AddMembershipOut, error) UpdateMembership(ctx context.Context, in *UpdateMembershipIn, opts ...grpc.CallOption) (*UpdateMembershipOut, error) RemoveMembership(ctx context.Context, in *RemoveMembershipIn, opts ...grpc.CallOption) (*RemoveMembershipOut, error) RemoveResource(ctx context.Context, in *RemoveResourceIn, opts ...grpc.CallOption) (*RemoveResourceOut, error) }
IAMClient is the client API for IAM 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 NewIAMClient ¶
func NewIAMClient(cc grpc.ClientConnInterface) IAMClient
type IAMServer ¶
type IAMServer interface { // Query Ping(context.Context, *Message) (*Message, error) Can(context.Context, *CanIn) (*CanOut, error) ListMembershipsForResource(context.Context, *MembershipsForResourceIn) (*ListMembershipsOut, error) ListMembershipsForUser(context.Context, *MembershipsForUserIn) (*ListMembershipsOut, error) GetMembership(context.Context, *GetMembershipIn) (*GetMembershipOut, error) // Mutation AddMembership(context.Context, *AddMembershipIn) (*AddMembershipOut, error) UpdateMembership(context.Context, *UpdateMembershipIn) (*UpdateMembershipOut, error) RemoveMembership(context.Context, *RemoveMembershipIn) (*RemoveMembershipOut, error) RemoveResource(context.Context, *RemoveResourceIn) (*RemoveResourceOut, error) // contains filtered or unexported methods }
IAMServer is the server API for IAM service. All implementations must embed UnimplementedIAMServer for forward compatibility
type ListMembershipsOut ¶
type ListMembershipsOut struct { RoleBindings []*RoleBinding `protobuf:"bytes,1,rep,name=roleBindings,proto3" json:"roleBindings,omitempty"` // contains filtered or unexported fields }
func (*ListMembershipsOut) Descriptor
deprecated
func (*ListMembershipsOut) Descriptor() ([]byte, []int)
Deprecated: Use ListMembershipsOut.ProtoReflect.Descriptor instead.
func (*ListMembershipsOut) GetRoleBindings ¶
func (x *ListMembershipsOut) GetRoleBindings() []*RoleBinding
func (*ListMembershipsOut) ProtoMessage ¶
func (*ListMembershipsOut) ProtoMessage()
func (*ListMembershipsOut) ProtoReflect ¶
func (x *ListMembershipsOut) ProtoReflect() protoreflect.Message
func (*ListMembershipsOut) Reset ¶
func (x *ListMembershipsOut) Reset()
func (*ListMembershipsOut) String ¶
func (x *ListMembershipsOut) String() string
type MembershipsForResourceIn ¶
type MembershipsForResourceIn struct { ResourceType string `protobuf:"bytes,1,opt,name=resourceType,proto3" json:"resourceType,omitempty"` ResourceRef string `protobuf:"bytes,2,opt,name=resourceRef,proto3" json:"resourceRef,omitempty"` // contains filtered or unexported fields }
func (*MembershipsForResourceIn) Descriptor
deprecated
func (*MembershipsForResourceIn) Descriptor() ([]byte, []int)
Deprecated: Use MembershipsForResourceIn.ProtoReflect.Descriptor instead.
func (*MembershipsForResourceIn) GetResourceRef ¶
func (x *MembershipsForResourceIn) GetResourceRef() string
func (*MembershipsForResourceIn) GetResourceType ¶
func (x *MembershipsForResourceIn) GetResourceType() string
func (*MembershipsForResourceIn) ProtoMessage ¶
func (*MembershipsForResourceIn) ProtoMessage()
func (*MembershipsForResourceIn) ProtoReflect ¶
func (x *MembershipsForResourceIn) ProtoReflect() protoreflect.Message
func (*MembershipsForResourceIn) Reset ¶
func (x *MembershipsForResourceIn) Reset()
func (*MembershipsForResourceIn) String ¶
func (x *MembershipsForResourceIn) String() string
type MembershipsForUserIn ¶
type MembershipsForUserIn struct { UserId string `protobuf:"bytes,1,opt,name=userId,proto3" json:"userId,omitempty"` ResourceType string `protobuf:"bytes,2,opt,name=resourceType,proto3" json:"resourceType,omitempty"` // contains filtered or unexported fields }
func (*MembershipsForUserIn) Descriptor
deprecated
func (*MembershipsForUserIn) Descriptor() ([]byte, []int)
Deprecated: Use MembershipsForUserIn.ProtoReflect.Descriptor instead.
func (*MembershipsForUserIn) GetResourceType ¶
func (x *MembershipsForUserIn) GetResourceType() string
func (*MembershipsForUserIn) GetUserId ¶
func (x *MembershipsForUserIn) GetUserId() string
func (*MembershipsForUserIn) ProtoMessage ¶
func (*MembershipsForUserIn) ProtoMessage()
func (*MembershipsForUserIn) ProtoReflect ¶
func (x *MembershipsForUserIn) ProtoReflect() protoreflect.Message
func (*MembershipsForUserIn) Reset ¶
func (x *MembershipsForUserIn) Reset()
func (*MembershipsForUserIn) String ¶
func (x *MembershipsForUserIn) String() string
type Message ¶
type Message struct { Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*Message) Descriptor
deprecated
func (*Message) GetMessage ¶
func (*Message) ProtoMessage ¶
func (*Message) ProtoMessage()
func (*Message) ProtoReflect ¶
func (x *Message) ProtoReflect() protoreflect.Message
type RemoveMembershipIn ¶
type RemoveMembershipIn struct { UserId string `protobuf:"bytes,1,opt,name=userId,proto3" json:"userId,omitempty"` ResourceRef string `protobuf:"bytes,2,opt,name=ResourceRef,proto3" json:"ResourceRef,omitempty"` // contains filtered or unexported fields }
func (*RemoveMembershipIn) Descriptor
deprecated
func (*RemoveMembershipIn) Descriptor() ([]byte, []int)
Deprecated: Use RemoveMembershipIn.ProtoReflect.Descriptor instead.
func (*RemoveMembershipIn) GetResourceRef ¶
func (x *RemoveMembershipIn) GetResourceRef() string
func (*RemoveMembershipIn) GetUserId ¶
func (x *RemoveMembershipIn) GetUserId() string
func (*RemoveMembershipIn) ProtoMessage ¶
func (*RemoveMembershipIn) ProtoMessage()
func (*RemoveMembershipIn) ProtoReflect ¶
func (x *RemoveMembershipIn) ProtoReflect() protoreflect.Message
func (*RemoveMembershipIn) Reset ¶
func (x *RemoveMembershipIn) Reset()
func (*RemoveMembershipIn) String ¶
func (x *RemoveMembershipIn) String() string
type RemoveMembershipOut ¶
type RemoveMembershipOut struct { Result bool `protobuf:"varint,1,opt,name=result,proto3" json:"result,omitempty"` // contains filtered or unexported fields }
func (*RemoveMembershipOut) Descriptor
deprecated
func (*RemoveMembershipOut) Descriptor() ([]byte, []int)
Deprecated: Use RemoveMembershipOut.ProtoReflect.Descriptor instead.
func (*RemoveMembershipOut) GetResult ¶
func (x *RemoveMembershipOut) GetResult() bool
func (*RemoveMembershipOut) ProtoMessage ¶
func (*RemoveMembershipOut) ProtoMessage()
func (*RemoveMembershipOut) ProtoReflect ¶
func (x *RemoveMembershipOut) ProtoReflect() protoreflect.Message
func (*RemoveMembershipOut) Reset ¶
func (x *RemoveMembershipOut) Reset()
func (*RemoveMembershipOut) String ¶
func (x *RemoveMembershipOut) String() string
type RemoveResourceIn ¶
type RemoveResourceIn struct { ResourceRef string `protobuf:"bytes,1,opt,name=ResourceRef,proto3" json:"ResourceRef,omitempty"` // contains filtered or unexported fields }
func (*RemoveResourceIn) Descriptor
deprecated
func (*RemoveResourceIn) Descriptor() ([]byte, []int)
Deprecated: Use RemoveResourceIn.ProtoReflect.Descriptor instead.
func (*RemoveResourceIn) GetResourceRef ¶
func (x *RemoveResourceIn) GetResourceRef() string
func (*RemoveResourceIn) ProtoMessage ¶
func (*RemoveResourceIn) ProtoMessage()
func (*RemoveResourceIn) ProtoReflect ¶
func (x *RemoveResourceIn) ProtoReflect() protoreflect.Message
func (*RemoveResourceIn) Reset ¶
func (x *RemoveResourceIn) Reset()
func (*RemoveResourceIn) String ¶
func (x *RemoveResourceIn) String() string
type RemoveResourceOut ¶
type RemoveResourceOut struct { Result bool `protobuf:"varint,1,opt,name=result,proto3" json:"result,omitempty"` // contains filtered or unexported fields }
func (*RemoveResourceOut) Descriptor
deprecated
func (*RemoveResourceOut) Descriptor() ([]byte, []int)
Deprecated: Use RemoveResourceOut.ProtoReflect.Descriptor instead.
func (*RemoveResourceOut) GetResult ¶
func (x *RemoveResourceOut) GetResult() bool
func (*RemoveResourceOut) ProtoMessage ¶
func (*RemoveResourceOut) ProtoMessage()
func (*RemoveResourceOut) ProtoReflect ¶
func (x *RemoveResourceOut) ProtoReflect() protoreflect.Message
func (*RemoveResourceOut) Reset ¶
func (x *RemoveResourceOut) Reset()
func (*RemoveResourceOut) String ¶
func (x *RemoveResourceOut) String() string
type ResourceMembershipsOut ¶
type ResourceMembershipsOut struct { ResourceType string `protobuf:"bytes,1,opt,name=resourceType,proto3" json:"resourceType,omitempty"` ResourceRef string `protobuf:"bytes,2,opt,name=ResourceRef,proto3" json:"ResourceRef,omitempty"` // contains filtered or unexported fields }
func (*ResourceMembershipsOut) Descriptor
deprecated
func (*ResourceMembershipsOut) Descriptor() ([]byte, []int)
Deprecated: Use ResourceMembershipsOut.ProtoReflect.Descriptor instead.
func (*ResourceMembershipsOut) GetResourceRef ¶
func (x *ResourceMembershipsOut) GetResourceRef() string
func (*ResourceMembershipsOut) GetResourceType ¶
func (x *ResourceMembershipsOut) GetResourceType() string
func (*ResourceMembershipsOut) ProtoMessage ¶
func (*ResourceMembershipsOut) ProtoMessage()
func (*ResourceMembershipsOut) ProtoReflect ¶
func (x *ResourceMembershipsOut) ProtoReflect() protoreflect.Message
func (*ResourceMembershipsOut) Reset ¶
func (x *ResourceMembershipsOut) Reset()
func (*ResourceMembershipsOut) String ¶
func (x *ResourceMembershipsOut) String() string
type RoleBinding ¶
type RoleBinding struct { UserId string `protobuf:"bytes,1,opt,name=userId,proto3" json:"userId,omitempty"` ResourceRef string `protobuf:"bytes,2,opt,name=ResourceRef,proto3" json:"ResourceRef,omitempty"` ResourceType string `protobuf:"bytes,3,opt,name=resourceType,proto3" json:"resourceType,omitempty"` Role string `protobuf:"bytes,4,opt,name=role,proto3" json:"role,omitempty"` // contains filtered or unexported fields }
func (*RoleBinding) Descriptor
deprecated
func (*RoleBinding) Descriptor() ([]byte, []int)
Deprecated: Use RoleBinding.ProtoReflect.Descriptor instead.
func (*RoleBinding) GetResourceRef ¶
func (x *RoleBinding) GetResourceRef() string
func (*RoleBinding) GetResourceType ¶
func (x *RoleBinding) GetResourceType() string
func (*RoleBinding) GetRole ¶
func (x *RoleBinding) GetRole() string
func (*RoleBinding) GetUserId ¶
func (x *RoleBinding) GetUserId() string
func (*RoleBinding) ProtoMessage ¶
func (*RoleBinding) ProtoMessage()
func (*RoleBinding) ProtoReflect ¶
func (x *RoleBinding) ProtoReflect() protoreflect.Message
func (*RoleBinding) Reset ¶
func (x *RoleBinding) Reset()
func (*RoleBinding) String ¶
func (x *RoleBinding) String() string
type UnimplementedIAMServer ¶
type UnimplementedIAMServer struct { }
UnimplementedIAMServer must be embedded to have forward compatible implementations.
func (UnimplementedIAMServer) AddMembership ¶
func (UnimplementedIAMServer) AddMembership(context.Context, *AddMembershipIn) (*AddMembershipOut, error)
func (UnimplementedIAMServer) GetMembership ¶
func (UnimplementedIAMServer) GetMembership(context.Context, *GetMembershipIn) (*GetMembershipOut, error)
func (UnimplementedIAMServer) ListMembershipsForResource ¶
func (UnimplementedIAMServer) ListMembershipsForResource(context.Context, *MembershipsForResourceIn) (*ListMembershipsOut, error)
func (UnimplementedIAMServer) ListMembershipsForUser ¶
func (UnimplementedIAMServer) ListMembershipsForUser(context.Context, *MembershipsForUserIn) (*ListMembershipsOut, error)
func (UnimplementedIAMServer) RemoveMembership ¶
func (UnimplementedIAMServer) RemoveMembership(context.Context, *RemoveMembershipIn) (*RemoveMembershipOut, error)
func (UnimplementedIAMServer) RemoveResource ¶
func (UnimplementedIAMServer) RemoveResource(context.Context, *RemoveResourceIn) (*RemoveResourceOut, error)
func (UnimplementedIAMServer) UpdateMembership ¶
func (UnimplementedIAMServer) UpdateMembership(context.Context, *UpdateMembershipIn) (*UpdateMembershipOut, error)
type UnsafeIAMServer ¶
type UnsafeIAMServer interface {
// contains filtered or unexported methods
}
UnsafeIAMServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to IAMServer will result in compilation errors.
type UpdateMembershipIn ¶
type UpdateMembershipIn struct { UserId string `protobuf:"bytes,1,opt,name=userId,proto3" json:"userId,omitempty"` ResourceType string `protobuf:"bytes,2,opt,name=resourceType,proto3" json:"resourceType,omitempty"` ResourceRef string `protobuf:"bytes,3,opt,name=resourceRef,proto3" json:"resourceRef,omitempty"` Role string `protobuf:"bytes,4,opt,name=role,proto3" json:"role,omitempty"` // contains filtered or unexported fields }
func (*UpdateMembershipIn) Descriptor
deprecated
func (*UpdateMembershipIn) Descriptor() ([]byte, []int)
Deprecated: Use UpdateMembershipIn.ProtoReflect.Descriptor instead.
func (*UpdateMembershipIn) GetResourceRef ¶
func (x *UpdateMembershipIn) GetResourceRef() string
func (*UpdateMembershipIn) GetResourceType ¶
func (x *UpdateMembershipIn) GetResourceType() string
func (*UpdateMembershipIn) GetRole ¶
func (x *UpdateMembershipIn) GetRole() string
func (*UpdateMembershipIn) GetUserId ¶
func (x *UpdateMembershipIn) GetUserId() string
func (*UpdateMembershipIn) ProtoMessage ¶
func (*UpdateMembershipIn) ProtoMessage()
func (*UpdateMembershipIn) ProtoReflect ¶
func (x *UpdateMembershipIn) ProtoReflect() protoreflect.Message
func (*UpdateMembershipIn) Reset ¶
func (x *UpdateMembershipIn) Reset()
func (*UpdateMembershipIn) String ¶
func (x *UpdateMembershipIn) String() string
type UpdateMembershipOut ¶
type UpdateMembershipOut struct { Result bool `protobuf:"varint,1,opt,name=result,proto3" json:"result,omitempty"` // contains filtered or unexported fields }
func (*UpdateMembershipOut) Descriptor
deprecated
func (*UpdateMembershipOut) Descriptor() ([]byte, []int)
Deprecated: Use UpdateMembershipOut.ProtoReflect.Descriptor instead.
func (*UpdateMembershipOut) GetResult ¶
func (x *UpdateMembershipOut) GetResult() bool
func (*UpdateMembershipOut) ProtoMessage ¶
func (*UpdateMembershipOut) ProtoMessage()
func (*UpdateMembershipOut) ProtoReflect ¶
func (x *UpdateMembershipOut) ProtoReflect() protoreflect.Message
func (*UpdateMembershipOut) Reset ¶
func (x *UpdateMembershipOut) Reset()
func (*UpdateMembershipOut) String ¶
func (x *UpdateMembershipOut) String() string