identity

package
v0.0.0-...-3b69245 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2024 License: AGPL-3.0 Imports: 9 Imported by: 11

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_identity_proto protoreflect.FileDescriptor
View Source
var IAMIdentityService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "native_iam_identity.IAMIdentityService",
	HandlerType: (*IAMIdentityServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Create",
			Handler:    _IAMIdentityService_Create_Handler,
		},
		{
			MethodName: "Get",
			Handler:    _IAMIdentityService_Get_Handler,
		},
		{
			MethodName: "Delete",
			Handler:    _IAMIdentityService_Delete_Handler,
		},
		{
			MethodName: "Exists",
			Handler:    _IAMIdentityService_Exists_Handler,
		},
		{
			MethodName: "Count",
			Handler:    _IAMIdentityService_Count_Handler,
		},
		{
			MethodName: "GetServiceManagedIdentity",
			Handler:    _IAMIdentityService_GetServiceManagedIdentity_Handler,
		},
		{
			MethodName: "Update",
			Handler:    _IAMIdentityService_Update_Handler,
		},
		{
			MethodName: "AddPolicy",
			Handler:    _IAMIdentityService_AddPolicy_Handler,
		},
		{
			MethodName: "RemovePolicy",
			Handler:    _IAMIdentityService_RemovePolicy_Handler,
		},
		{
			MethodName: "AddRole",
			Handler:    _IAMIdentityService_AddRole_Handler,
		},
		{
			MethodName: "RemoveRole",
			Handler:    _IAMIdentityService_RemoveRole_Handler,
		},
		{
			MethodName: "SetActive",
			Handler:    _IAMIdentityService_SetActive_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "List",
			Handler:       _IAMIdentityService_List_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "identity.proto",
}

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

Functions

func RegisterIAMIdentityServiceServer

func RegisterIAMIdentityServiceServer(s grpc.ServiceRegistrar, srv IAMIdentityServiceServer)

Types

type AddPolicyRequest

type AddPolicyRequest struct {

	// Identity namespace
	IdentityNamespace string `protobuf:"bytes,1,opt,name=identityNamespace,proto3" json:"identityNamespace,omitempty"`
	// Identity identifier inside identity namespace
	IdentityUUID string `protobuf:"bytes,2,opt,name=identityUUID,proto3" json:"identityUUID,omitempty"`
	// Policy namespace
	PolicyNamespace string `protobuf:"bytes,3,opt,name=policyNamespace,proto3" json:"policyNamespace,omitempty"`
	// Policy UUID inside policy namespace
	PolicyUUID string `protobuf:"bytes,4,opt,name=policyUUID,proto3" json:"policyUUID,omitempty"`
	// contains filtered or unexported fields
}

func (*AddPolicyRequest) Descriptor deprecated

func (*AddPolicyRequest) Descriptor() ([]byte, []int)

Deprecated: Use AddPolicyRequest.ProtoReflect.Descriptor instead.

func (*AddPolicyRequest) GetIdentityNamespace

func (x *AddPolicyRequest) GetIdentityNamespace() string

func (*AddPolicyRequest) GetIdentityUUID

func (x *AddPolicyRequest) GetIdentityUUID() string

func (*AddPolicyRequest) GetPolicyNamespace

func (x *AddPolicyRequest) GetPolicyNamespace() string

func (*AddPolicyRequest) GetPolicyUUID

func (x *AddPolicyRequest) GetPolicyUUID() string

func (*AddPolicyRequest) ProtoMessage

func (*AddPolicyRequest) ProtoMessage()

func (*AddPolicyRequest) ProtoReflect

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

func (*AddPolicyRequest) Reset

func (x *AddPolicyRequest) Reset()

func (*AddPolicyRequest) String

func (x *AddPolicyRequest) String() string

type AddPolicyResponse

type AddPolicyResponse struct {

	// Updated identity (after adding policy)
	Identity *Identity `protobuf:"bytes,1,opt,name=identity,proto3" json:"identity,omitempty"`
	// contains filtered or unexported fields
}

func (*AddPolicyResponse) Descriptor deprecated

func (*AddPolicyResponse) Descriptor() ([]byte, []int)

Deprecated: Use AddPolicyResponse.ProtoReflect.Descriptor instead.

func (*AddPolicyResponse) GetIdentity

func (x *AddPolicyResponse) GetIdentity() *Identity

func (*AddPolicyResponse) ProtoMessage

func (*AddPolicyResponse) ProtoMessage()

func (*AddPolicyResponse) ProtoReflect

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

func (*AddPolicyResponse) Reset

func (x *AddPolicyResponse) Reset()

func (*AddPolicyResponse) String

func (x *AddPolicyResponse) String() string

type AddRoleRequest

type AddRoleRequest struct {

	// Identity namespace
	IdentityNamespace string `protobuf:"bytes,1,opt,name=identityNamespace,proto3" json:"identityNamespace,omitempty"`
	// Identity identifier inside identity namespace
	IdentityUUID string `protobuf:"bytes,2,opt,name=identityUUID,proto3" json:"identityUUID,omitempty"`
	// Role namespace
	RoleNamespace string `protobuf:"bytes,3,opt,name=roleNamespace,proto3" json:"roleNamespace,omitempty"`
	// Role UUID inside role namespace
	RoleUUID string `protobuf:"bytes,4,opt,name=roleUUID,proto3" json:"roleUUID,omitempty"`
	// contains filtered or unexported fields
}

func (*AddRoleRequest) Descriptor deprecated

func (*AddRoleRequest) Descriptor() ([]byte, []int)

Deprecated: Use AddRoleRequest.ProtoReflect.Descriptor instead.

func (*AddRoleRequest) GetIdentityNamespace

func (x *AddRoleRequest) GetIdentityNamespace() string

func (*AddRoleRequest) GetIdentityUUID

func (x *AddRoleRequest) GetIdentityUUID() string

func (*AddRoleRequest) GetRoleNamespace

func (x *AddRoleRequest) GetRoleNamespace() string

func (*AddRoleRequest) GetRoleUUID

func (x *AddRoleRequest) GetRoleUUID() string

func (*AddRoleRequest) ProtoMessage

func (*AddRoleRequest) ProtoMessage()

func (*AddRoleRequest) ProtoReflect

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

func (*AddRoleRequest) Reset

func (x *AddRoleRequest) Reset()

func (*AddRoleRequest) String

func (x *AddRoleRequest) String() string

type AddRoleResponse

type AddRoleResponse struct {

	// Updated identity (after adding role)
	Identity *Identity `protobuf:"bytes,1,opt,name=identity,proto3" json:"identity,omitempty"`
	// contains filtered or unexported fields
}

func (*AddRoleResponse) Descriptor deprecated

func (*AddRoleResponse) Descriptor() ([]byte, []int)

Deprecated: Use AddRoleResponse.ProtoReflect.Descriptor instead.

func (*AddRoleResponse) GetIdentity

func (x *AddRoleResponse) GetIdentity() *Identity

func (*AddRoleResponse) ProtoMessage

func (*AddRoleResponse) ProtoMessage()

func (*AddRoleResponse) ProtoReflect

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

func (*AddRoleResponse) Reset

func (x *AddRoleResponse) Reset()

func (*AddRoleResponse) String

func (x *AddRoleResponse) String() string

type CountIdentityRequest

type CountIdentityRequest struct {

	// Namespace where to count identities
	Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
	// Use cache or not. Cache may not be valid under very rare conditions (simultaniour read and writes). Cache automatically clears after short period of time (30 seconds by default).
	UseCache bool `protobuf:"varint,2,opt,name=useCache,proto3" json:"useCache,omitempty"`
	// contains filtered or unexported fields
}

func (*CountIdentityRequest) Descriptor deprecated

func (*CountIdentityRequest) Descriptor() ([]byte, []int)

Deprecated: Use CountIdentityRequest.ProtoReflect.Descriptor instead.

func (*CountIdentityRequest) GetNamespace

func (x *CountIdentityRequest) GetNamespace() string

func (*CountIdentityRequest) GetUseCache

func (x *CountIdentityRequest) GetUseCache() bool

func (*CountIdentityRequest) ProtoMessage

func (*CountIdentityRequest) ProtoMessage()

func (*CountIdentityRequest) ProtoReflect

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

func (*CountIdentityRequest) Reset

func (x *CountIdentityRequest) Reset()

func (*CountIdentityRequest) String

func (x *CountIdentityRequest) String() string

type CountIdentityResponse

type CountIdentityResponse struct {

	// Number of the identities in the provided namespace
	Count uint64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"`
	// contains filtered or unexported fields
}

func (*CountIdentityResponse) Descriptor deprecated

func (*CountIdentityResponse) Descriptor() ([]byte, []int)

Deprecated: Use CountIdentityResponse.ProtoReflect.Descriptor instead.

func (*CountIdentityResponse) GetCount

func (x *CountIdentityResponse) GetCount() uint64

func (*CountIdentityResponse) ProtoMessage

func (*CountIdentityResponse) ProtoMessage()

func (*CountIdentityResponse) ProtoReflect

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

func (*CountIdentityResponse) Reset

func (x *CountIdentityResponse) Reset()

func (*CountIdentityResponse) String

func (x *CountIdentityResponse) String() string

type CreateIdentityRequest

type CreateIdentityRequest struct {

	// Namespace where to create identity
	Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
	// Public name for newly created identity. It may not be unique - this is just human-readable name.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// Should the identity be active on the start or not
	InitiallyActive bool `protobuf:"varint,3,opt,name=initiallyActive,proto3" json:"initiallyActive,omitempty"`
	//
	//Indicates if this identity is managed by someone else.
	//
	//This is only a flag to inform everyone that it is managed by third party actor and
	//manual interaction with this identity may result in big problems. In order to interact with the identity,
	//you should ask someone who manages this identity to do something for you.
	//
	//There are several possible managements:
	//NotManaged* - there is no clear actor responsible for this identity
	//Identity* - this identity was created by other identity. This other identity is responsible for it
	//Service* - this identity was create by one of the services. This services now manages this identity.
	//
	// Types that are assignable to Managed:
	//	*CreateIdentityRequest_No
	//	*CreateIdentityRequest_Identity
	//	*CreateIdentityRequest_Service
	Managed isCreateIdentityRequest_Managed `protobuf_oneof:"managed"`
	// contains filtered or unexported fields
}

func (*CreateIdentityRequest) Descriptor deprecated

func (*CreateIdentityRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateIdentityRequest.ProtoReflect.Descriptor instead.

func (*CreateIdentityRequest) GetIdentity

func (x *CreateIdentityRequest) GetIdentity() *IdentityManagedData

func (*CreateIdentityRequest) GetInitiallyActive

func (x *CreateIdentityRequest) GetInitiallyActive() bool

func (*CreateIdentityRequest) GetManaged

func (m *CreateIdentityRequest) GetManaged() isCreateIdentityRequest_Managed

func (*CreateIdentityRequest) GetName

func (x *CreateIdentityRequest) GetName() string

func (*CreateIdentityRequest) GetNamespace

func (x *CreateIdentityRequest) GetNamespace() string

func (*CreateIdentityRequest) GetNo

func (*CreateIdentityRequest) GetService

func (x *CreateIdentityRequest) GetService() *ServiceManagedData

func (*CreateIdentityRequest) ProtoMessage

func (*CreateIdentityRequest) ProtoMessage()

func (*CreateIdentityRequest) ProtoReflect

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

func (*CreateIdentityRequest) Reset

func (x *CreateIdentityRequest) Reset()

func (*CreateIdentityRequest) String

func (x *CreateIdentityRequest) String() string

type CreateIdentityRequest_Identity

type CreateIdentityRequest_Identity struct {
	// Identity is managed by other identity
	Identity *IdentityManagedData `protobuf:"bytes,21,opt,name=identity,proto3,oneof"`
}

type CreateIdentityRequest_No

type CreateIdentityRequest_No struct {
	// Identity is not managed
	No *NotManagedData `protobuf:"bytes,20,opt,name=no,proto3,oneof"`
}

type CreateIdentityRequest_Service

type CreateIdentityRequest_Service struct {
	// Identity is managed by service
	Service *ServiceManagedData `protobuf:"bytes,22,opt,name=service,proto3,oneof"`
}

type CreateIdentityResponse

type CreateIdentityResponse struct {

	// Created identity
	Identity *Identity `protobuf:"bytes,1,opt,name=identity,proto3" json:"identity,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateIdentityResponse) Descriptor deprecated

func (*CreateIdentityResponse) Descriptor() ([]byte, []int)

Deprecated: Use CreateIdentityResponse.ProtoReflect.Descriptor instead.

func (*CreateIdentityResponse) GetIdentity

func (x *CreateIdentityResponse) GetIdentity() *Identity

func (*CreateIdentityResponse) ProtoMessage

func (*CreateIdentityResponse) ProtoMessage()

func (*CreateIdentityResponse) ProtoReflect

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

func (*CreateIdentityResponse) Reset

func (x *CreateIdentityResponse) Reset()

func (*CreateIdentityResponse) String

func (x *CreateIdentityResponse) String() string

type DeleteIdentityRequest

type DeleteIdentityRequest struct {

	// Identity namespace
	Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
	// Identity unique identifier inside namespace
	Uuid string `protobuf:"bytes,2,opt,name=uuid,proto3" json:"uuid,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteIdentityRequest) Descriptor deprecated

func (*DeleteIdentityRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteIdentityRequest.ProtoReflect.Descriptor instead.

func (*DeleteIdentityRequest) GetNamespace

func (x *DeleteIdentityRequest) GetNamespace() string

func (*DeleteIdentityRequest) GetUuid

func (x *DeleteIdentityRequest) GetUuid() string

func (*DeleteIdentityRequest) ProtoMessage

func (*DeleteIdentityRequest) ProtoMessage()

func (*DeleteIdentityRequest) ProtoReflect

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

func (*DeleteIdentityRequest) Reset

func (x *DeleteIdentityRequest) Reset()

func (*DeleteIdentityRequest) String

func (x *DeleteIdentityRequest) String() string

type DeleteIdentityResponse

type DeleteIdentityResponse struct {

	// Indicates if identity existed before request or it was already deleted earlier
	Existed bool `protobuf:"varint,1,opt,name=existed,proto3" json:"existed,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteIdentityResponse) Descriptor deprecated

func (*DeleteIdentityResponse) Descriptor() ([]byte, []int)

Deprecated: Use DeleteIdentityResponse.ProtoReflect.Descriptor instead.

func (*DeleteIdentityResponse) GetExisted

func (x *DeleteIdentityResponse) GetExisted() bool

func (*DeleteIdentityResponse) ProtoMessage

func (*DeleteIdentityResponse) ProtoMessage()

func (*DeleteIdentityResponse) ProtoReflect

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

func (*DeleteIdentityResponse) Reset

func (x *DeleteIdentityResponse) Reset()

func (*DeleteIdentityResponse) String

func (x *DeleteIdentityResponse) String() string

type ExistsIdentityRequest

type ExistsIdentityRequest struct {

	// Identity namespace
	Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
	// Identity unique identifier inside namespace
	Uuid string `protobuf:"bytes,2,opt,name=uuid,proto3" json:"uuid,omitempty"`
	// Use cache or not. Cache may not be valid under very rare conditions (simultaniour read and writes). Cache automatically clears after short period of time (30 seconds by default).
	UseCache bool `protobuf:"varint,3,opt,name=useCache,proto3" json:"useCache,omitempty"`
	// contains filtered or unexported fields
}

func (*ExistsIdentityRequest) Descriptor deprecated

func (*ExistsIdentityRequest) Descriptor() ([]byte, []int)

Deprecated: Use ExistsIdentityRequest.ProtoReflect.Descriptor instead.

func (*ExistsIdentityRequest) GetNamespace

func (x *ExistsIdentityRequest) GetNamespace() string

func (*ExistsIdentityRequest) GetUseCache

func (x *ExistsIdentityRequest) GetUseCache() bool

func (*ExistsIdentityRequest) GetUuid

func (x *ExistsIdentityRequest) GetUuid() string

func (*ExistsIdentityRequest) ProtoMessage

func (*ExistsIdentityRequest) ProtoMessage()

func (*ExistsIdentityRequest) ProtoReflect

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

func (*ExistsIdentityRequest) Reset

func (x *ExistsIdentityRequest) Reset()

func (*ExistsIdentityRequest) String

func (x *ExistsIdentityRequest) String() string

type ExistsIdentityResponse

type ExistsIdentityResponse struct {

	// True if identity exists, false if not
	Exists bool `protobuf:"varint,1,opt,name=exists,proto3" json:"exists,omitempty"`
	// contains filtered or unexported fields
}

func (*ExistsIdentityResponse) Descriptor deprecated

func (*ExistsIdentityResponse) Descriptor() ([]byte, []int)

Deprecated: Use ExistsIdentityResponse.ProtoReflect.Descriptor instead.

func (*ExistsIdentityResponse) GetExists

func (x *ExistsIdentityResponse) GetExists() bool

func (*ExistsIdentityResponse) ProtoMessage

func (*ExistsIdentityResponse) ProtoMessage()

func (*ExistsIdentityResponse) ProtoReflect

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

func (*ExistsIdentityResponse) Reset

func (x *ExistsIdentityResponse) Reset()

func (*ExistsIdentityResponse) String

func (x *ExistsIdentityResponse) String() string

type GetIdentityRequest

type GetIdentityRequest struct {

	// Identity namespace
	Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
	// Identity unique identifier inside namespace
	Uuid string `protobuf:"bytes,2,opt,name=uuid,proto3" json:"uuid,omitempty"`
	// Use cache or not. Cache may not be valid under very rare conditions (simultaniour read and writes). Cache automatically clears after short period of time (30 seconds by default).
	UseCache bool `protobuf:"varint,3,opt,name=useCache,proto3" json:"useCache,omitempty"`
	// contains filtered or unexported fields
}

func (*GetIdentityRequest) Descriptor deprecated

func (*GetIdentityRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetIdentityRequest.ProtoReflect.Descriptor instead.

func (*GetIdentityRequest) GetNamespace

func (x *GetIdentityRequest) GetNamespace() string

func (*GetIdentityRequest) GetUseCache

func (x *GetIdentityRequest) GetUseCache() bool

func (*GetIdentityRequest) GetUuid

func (x *GetIdentityRequest) GetUuid() string

func (*GetIdentityRequest) ProtoMessage

func (*GetIdentityRequest) ProtoMessage()

func (*GetIdentityRequest) ProtoReflect

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

func (*GetIdentityRequest) Reset

func (x *GetIdentityRequest) Reset()

func (*GetIdentityRequest) String

func (x *GetIdentityRequest) String() string

type GetIdentityResponse

type GetIdentityResponse struct {

	// Identity information
	Identity *Identity `protobuf:"bytes,1,opt,name=identity,proto3" json:"identity,omitempty"`
	// contains filtered or unexported fields
}

func (*GetIdentityResponse) Descriptor deprecated

func (*GetIdentityResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetIdentityResponse.ProtoReflect.Descriptor instead.

func (*GetIdentityResponse) GetIdentity

func (x *GetIdentityResponse) GetIdentity() *Identity

func (*GetIdentityResponse) ProtoMessage

func (*GetIdentityResponse) ProtoMessage()

func (*GetIdentityResponse) ProtoReflect

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

func (*GetIdentityResponse) Reset

func (x *GetIdentityResponse) Reset()

func (*GetIdentityResponse) String

func (x *GetIdentityResponse) String() string

type GetServiceManagedIdentityRequest

type GetServiceManagedIdentityRequest struct {

	// Namespace where to search for identity
	Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
	// Service which manages this identity
	Service string `protobuf:"bytes,2,opt,name=service,proto3" json:"service,omitempty"`
	// Special ID for this identity defined by this service
	ManagedId string `protobuf:"bytes,3,opt,name=managedId,proto3" json:"managedId,omitempty"`
	// Use cache or not. Cache may not be valid under very rare conditions (simultaniour read and writes). Cache automatically clears after short period of time (30 seconds by default).
	UseCache bool `protobuf:"varint,4,opt,name=useCache,proto3" json:"useCache,omitempty"`
	// contains filtered or unexported fields
}

func (*GetServiceManagedIdentityRequest) Descriptor deprecated

func (*GetServiceManagedIdentityRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetServiceManagedIdentityRequest.ProtoReflect.Descriptor instead.

func (*GetServiceManagedIdentityRequest) GetManagedId

func (x *GetServiceManagedIdentityRequest) GetManagedId() string

func (*GetServiceManagedIdentityRequest) GetNamespace

func (x *GetServiceManagedIdentityRequest) GetNamespace() string

func (*GetServiceManagedIdentityRequest) GetService

func (x *GetServiceManagedIdentityRequest) GetService() string

func (*GetServiceManagedIdentityRequest) GetUseCache

func (x *GetServiceManagedIdentityRequest) GetUseCache() bool

func (*GetServiceManagedIdentityRequest) ProtoMessage

func (*GetServiceManagedIdentityRequest) ProtoMessage()

func (*GetServiceManagedIdentityRequest) ProtoReflect

func (*GetServiceManagedIdentityRequest) Reset

func (*GetServiceManagedIdentityRequest) String

type GetServiceManagedIdentityResponse

type GetServiceManagedIdentityResponse struct {

	// Founded identity
	Identity *Identity `protobuf:"bytes,1,opt,name=identity,proto3" json:"identity,omitempty"`
	// contains filtered or unexported fields
}

func (*GetServiceManagedIdentityResponse) Descriptor deprecated

func (*GetServiceManagedIdentityResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetServiceManagedIdentityResponse.ProtoReflect.Descriptor instead.

func (*GetServiceManagedIdentityResponse) GetIdentity

func (x *GetServiceManagedIdentityResponse) GetIdentity() *Identity

func (*GetServiceManagedIdentityResponse) ProtoMessage

func (*GetServiceManagedIdentityResponse) ProtoMessage()

func (*GetServiceManagedIdentityResponse) ProtoReflect

func (*GetServiceManagedIdentityResponse) Reset

func (*GetServiceManagedIdentityResponse) String

type IAMIdentityServiceClient

type IAMIdentityServiceClient interface {
	// Create new identity
	Create(ctx context.Context, in *CreateIdentityRequest, opts ...grpc.CallOption) (*CreateIdentityResponse, error)
	// Get identity
	Get(ctx context.Context, in *GetIdentityRequest, opts ...grpc.CallOption) (*GetIdentityResponse, error)
	// Delete identity
	Delete(ctx context.Context, in *DeleteIdentityRequest, opts ...grpc.CallOption) (*DeleteIdentityResponse, error)
	// Check if identity exists
	Exists(ctx context.Context, in *ExistsIdentityRequest, opts ...grpc.CallOption) (*ExistsIdentityResponse, error)
	// Get list of the identities
	List(ctx context.Context, in *ListIdentityRequest, opts ...grpc.CallOption) (IAMIdentityService_ListClient, error)
	// Get number of the identities in the namespace
	Count(ctx context.Context, in *CountIdentityRequest, opts ...grpc.CallOption) (*CountIdentityResponse, error)
	// Get policy that is managed by service
	GetServiceManagedIdentity(ctx context.Context, in *GetServiceManagedIdentityRequest, opts ...grpc.CallOption) (*GetServiceManagedIdentityResponse, error)
	// Update identity information
	Update(ctx context.Context, in *UpdateIdentityRequest, opts ...grpc.CallOption) (*UpdateIdentityResponse, error)
	// Add policy to the identity. If policy was already added - does nothing.
	AddPolicy(ctx context.Context, in *AddPolicyRequest, opts ...grpc.CallOption) (*AddPolicyResponse, error)
	// Remove policy from the identity. If policy was already removed - does nothing.
	RemovePolicy(ctx context.Context, in *RemovePolicyRequest, opts ...grpc.CallOption) (*RemovePolicyResponse, error)
	// Add role to the identity. If role was already added = does nothing
	AddRole(ctx context.Context, in *AddRoleRequest, opts ...grpc.CallOption) (*AddRoleResponse, error)
	// Remove role from the identity. If role was already removed - does nothing.
	RemoveRole(ctx context.Context, in *RemoveRoleRequest, opts ...grpc.CallOption) (*RemoveRoleResponse, error)
	// Set identity active or not.
	SetActive(ctx context.Context, in *SetIdentityActiveRequest, opts ...grpc.CallOption) (*SetIdentityActiveResponse, error)
}

IAMIdentityServiceClient is the client API for IAMIdentityService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type IAMIdentityServiceServer

type IAMIdentityServiceServer interface {
	// Create new identity
	Create(context.Context, *CreateIdentityRequest) (*CreateIdentityResponse, error)
	// Get identity
	Get(context.Context, *GetIdentityRequest) (*GetIdentityResponse, error)
	// Delete identity
	Delete(context.Context, *DeleteIdentityRequest) (*DeleteIdentityResponse, error)
	// Check if identity exists
	Exists(context.Context, *ExistsIdentityRequest) (*ExistsIdentityResponse, error)
	// Get list of the identities
	List(*ListIdentityRequest, IAMIdentityService_ListServer) error
	// Get number of the identities in the namespace
	Count(context.Context, *CountIdentityRequest) (*CountIdentityResponse, error)
	// Get policy that is managed by service
	GetServiceManagedIdentity(context.Context, *GetServiceManagedIdentityRequest) (*GetServiceManagedIdentityResponse, error)
	// Update identity information
	Update(context.Context, *UpdateIdentityRequest) (*UpdateIdentityResponse, error)
	// Add policy to the identity. If policy was already added - does nothing.
	AddPolicy(context.Context, *AddPolicyRequest) (*AddPolicyResponse, error)
	// Remove policy from the identity. If policy was already removed - does nothing.
	RemovePolicy(context.Context, *RemovePolicyRequest) (*RemovePolicyResponse, error)
	// Add role to the identity. If role was already added = does nothing
	AddRole(context.Context, *AddRoleRequest) (*AddRoleResponse, error)
	// Remove role from the identity. If role was already removed - does nothing.
	RemoveRole(context.Context, *RemoveRoleRequest) (*RemoveRoleResponse, error)
	// Set identity active or not.
	SetActive(context.Context, *SetIdentityActiveRequest) (*SetIdentityActiveResponse, error)
	// contains filtered or unexported methods
}

IAMIdentityServiceServer is the server API for IAMIdentityService service. All implementations must embed UnimplementedIAMIdentityServiceServer for forward compatibility

type IAMIdentityService_ListClient

type IAMIdentityService_ListClient interface {
	Recv() (*ListIdentityResponse, error)
	grpc.ClientStream
}

type IAMIdentityService_ListServer

type IAMIdentityService_ListServer interface {
	Send(*ListIdentityResponse) error
	grpc.ServerStream
}

type Identity

type Identity struct {

	// Namespaces of the identity. Can be empty for global identities.
	Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
	// Unique identity identifier
	Uuid string `protobuf:"bytes,2,opt,name=uuid,proto3" json:"uuid,omitempty"`
	// Public identity name
	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	// If identity is not active, it will not be able to login and perform any actions.
	Active bool `protobuf:"varint,4,opt,name=active,proto3" json:"active,omitempty"`
	//
	//Indicates if this identity is managed by someone else.
	//
	//This is only a flag to inform everyone that it is managed by third party actor and
	//manual interaction with this identity may result in big problems. In order to interact with the identity,
	//you should ask someone who manages this identity to do something for you.
	//
	//There are several possible managements:
	//NotManaged* - there is no clear actor responsible for this identity
	//Identity* - this identity was created by other identity. This other identity is responsible for it
	//Service* - this identity was create by one of the services. This services now manages this identity.
	//
	// Types that are assignable to Managed:
	//	*Identity_No
	//	*Identity_Identity
	//	*Identity_Service
	Managed isIdentity_Managed `protobuf_oneof:"managed"`
	// Security policies assigned to the identity
	Policies []*Identity_PolicyReference `protobuf:"bytes,5,rep,name=policies,proto3" json:"policies,omitempty"`
	// Security roles assigned to the identity
	Roles []*Identity_RoleReference `protobuf:"bytes,6,rep,name=roles,proto3" json:"roles,omitempty"`
	// When the policy was created
	Created *timestamp.Timestamp `protobuf:"bytes,9,opt,name=created,proto3" json:"created,omitempty"`
	// Last time when the policy information was updated.
	Updated *timestamp.Timestamp `protobuf:"bytes,10,opt,name=updated,proto3" json:"updated,omitempty"`
	// Counter that increases after every update of the policy
	Version uint64 `protobuf:"varint,11,opt,name=version,proto3" json:"version,omitempty"`
	// contains filtered or unexported fields
}

func (*Identity) Descriptor deprecated

func (*Identity) Descriptor() ([]byte, []int)

Deprecated: Use Identity.ProtoReflect.Descriptor instead.

func (*Identity) GetActive

func (x *Identity) GetActive() bool

func (*Identity) GetCreated

func (x *Identity) GetCreated() *timestamp.Timestamp

func (*Identity) GetIdentity

func (x *Identity) GetIdentity() *IdentityManagedData

func (*Identity) GetManaged

func (m *Identity) GetManaged() isIdentity_Managed

func (*Identity) GetName

func (x *Identity) GetName() string

func (*Identity) GetNamespace

func (x *Identity) GetNamespace() string

func (*Identity) GetNo

func (x *Identity) GetNo() *NotManagedData

func (*Identity) GetPolicies

func (x *Identity) GetPolicies() []*Identity_PolicyReference

func (*Identity) GetRoles

func (x *Identity) GetRoles() []*Identity_RoleReference

func (*Identity) GetService

func (x *Identity) GetService() *ServiceManagedData

func (*Identity) GetUpdated

func (x *Identity) GetUpdated() *timestamp.Timestamp

func (*Identity) GetUuid

func (x *Identity) GetUuid() string

func (*Identity) GetVersion

func (x *Identity) GetVersion() uint64

func (*Identity) ProtoMessage

func (*Identity) ProtoMessage()

func (*Identity) ProtoReflect

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

func (*Identity) Reset

func (x *Identity) Reset()

func (*Identity) String

func (x *Identity) String() string

type IdentityManagedData

type IdentityManagedData struct {

	// Namespace where identity is located
	IdentityNamespace string `protobuf:"bytes,1,opt,name=identityNamespace,proto3" json:"identityNamespace,omitempty"`
	// Identity UUID inside this namespace
	IdentityUUID string `protobuf:"bytes,2,opt,name=identityUUID,proto3" json:"identityUUID,omitempty"`
	// contains filtered or unexported fields
}

Information about other identity that manages this identity

func (*IdentityManagedData) Descriptor deprecated

func (*IdentityManagedData) Descriptor() ([]byte, []int)

Deprecated: Use IdentityManagedData.ProtoReflect.Descriptor instead.

func (*IdentityManagedData) GetIdentityNamespace

func (x *IdentityManagedData) GetIdentityNamespace() string

func (*IdentityManagedData) GetIdentityUUID

func (x *IdentityManagedData) GetIdentityUUID() string

func (*IdentityManagedData) ProtoMessage

func (*IdentityManagedData) ProtoMessage()

func (*IdentityManagedData) ProtoReflect

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

func (*IdentityManagedData) Reset

func (x *IdentityManagedData) Reset()

func (*IdentityManagedData) String

func (x *IdentityManagedData) String() string

type Identity_Identity

type Identity_Identity struct {
	// Identity is managed by other identity
	Identity *IdentityManagedData `protobuf:"bytes,21,opt,name=identity,proto3,oneof"`
}

type Identity_No

type Identity_No struct {
	// Identity is not managed
	No *NotManagedData `protobuf:"bytes,20,opt,name=no,proto3,oneof"`
}

type Identity_PolicyReference

type Identity_PolicyReference struct {

	// Policy namespace. Empty for global policy
	Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
	// Policy uuid (unique identifier) inside namespace
	Uuid string `protobuf:"bytes,2,opt,name=uuid,proto3" json:"uuid,omitempty"`
	// contains filtered or unexported fields
}

Holds information about specific policy assigned to the identity

func (*Identity_PolicyReference) Descriptor deprecated

func (*Identity_PolicyReference) Descriptor() ([]byte, []int)

Deprecated: Use Identity_PolicyReference.ProtoReflect.Descriptor instead.

func (*Identity_PolicyReference) GetNamespace

func (x *Identity_PolicyReference) GetNamespace() string

func (*Identity_PolicyReference) GetUuid

func (x *Identity_PolicyReference) GetUuid() string

func (*Identity_PolicyReference) ProtoMessage

func (*Identity_PolicyReference) ProtoMessage()

func (*Identity_PolicyReference) ProtoReflect

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

func (*Identity_PolicyReference) Reset

func (x *Identity_PolicyReference) Reset()

func (*Identity_PolicyReference) String

func (x *Identity_PolicyReference) String() string

type Identity_RoleReference

type Identity_RoleReference struct {

	// Role namespace. Empty for global role
	Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
	// Role uuid
	Uuid string `protobuf:"bytes,2,opt,name=uuid,proto3" json:"uuid,omitempty"`
	// contains filtered or unexported fields
}

Holds information about specific role assigned to the indentity

func (*Identity_RoleReference) Descriptor deprecated

func (*Identity_RoleReference) Descriptor() ([]byte, []int)

Deprecated: Use Identity_RoleReference.ProtoReflect.Descriptor instead.

func (*Identity_RoleReference) GetNamespace

func (x *Identity_RoleReference) GetNamespace() string

func (*Identity_RoleReference) GetUuid

func (x *Identity_RoleReference) GetUuid() string

func (*Identity_RoleReference) ProtoMessage

func (*Identity_RoleReference) ProtoMessage()

func (*Identity_RoleReference) ProtoReflect

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

func (*Identity_RoleReference) Reset

func (x *Identity_RoleReference) Reset()

func (*Identity_RoleReference) String

func (x *Identity_RoleReference) String() string

type Identity_Service

type Identity_Service struct {
	// Identity is managed by service
	Service *ServiceManagedData `protobuf:"bytes,22,opt,name=service,proto3,oneof"`
}

type ListIdentityRequest

type ListIdentityRequest struct {

	// Namespace where to get identitites
	Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
	// The returned identities will always be sorted. So you can load them with pagination. Service will not return first "skip" identities. Use "0" if you want to ignore pagination,
	Skip uint64 `protobuf:"varint,2,opt,name=skip,proto3" json:"skip,omitempty"`
	// Limit the number of returned entries. Use "0" to ignore limit.
	Limit uint64 `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"`
	// contains filtered or unexported fields
}

func (*ListIdentityRequest) Descriptor deprecated

func (*ListIdentityRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListIdentityRequest.ProtoReflect.Descriptor instead.

func (*ListIdentityRequest) GetLimit

func (x *ListIdentityRequest) GetLimit() uint64

func (*ListIdentityRequest) GetNamespace

func (x *ListIdentityRequest) GetNamespace() string

func (*ListIdentityRequest) GetSkip

func (x *ListIdentityRequest) GetSkip() uint64

func (*ListIdentityRequest) ProtoMessage

func (*ListIdentityRequest) ProtoMessage()

func (*ListIdentityRequest) ProtoReflect

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

func (*ListIdentityRequest) Reset

func (x *ListIdentityRequest) Reset()

func (*ListIdentityRequest) String

func (x *ListIdentityRequest) String() string

type ListIdentityResponse

type ListIdentityResponse struct {

	// One of the founded identities
	Identity *Identity `protobuf:"bytes,1,opt,name=identity,proto3" json:"identity,omitempty"`
	// contains filtered or unexported fields
}

func (*ListIdentityResponse) Descriptor deprecated

func (*ListIdentityResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListIdentityResponse.ProtoReflect.Descriptor instead.

func (*ListIdentityResponse) GetIdentity

func (x *ListIdentityResponse) GetIdentity() *Identity

func (*ListIdentityResponse) ProtoMessage

func (*ListIdentityResponse) ProtoMessage()

func (*ListIdentityResponse) ProtoReflect

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

func (*ListIdentityResponse) Reset

func (x *ListIdentityResponse) Reset()

func (*ListIdentityResponse) String

func (x *ListIdentityResponse) String() string

type NotManagedData

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

Empty information to indicate that management for this identity is not defined.

func (*NotManagedData) Descriptor deprecated

func (*NotManagedData) Descriptor() ([]byte, []int)

Deprecated: Use NotManagedData.ProtoReflect.Descriptor instead.

func (*NotManagedData) ProtoMessage

func (*NotManagedData) ProtoMessage()

func (*NotManagedData) ProtoReflect

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

func (*NotManagedData) Reset

func (x *NotManagedData) Reset()

func (*NotManagedData) String

func (x *NotManagedData) String() string

type RemovePolicyRequest

type RemovePolicyRequest struct {

	// Identity namespace
	IdentityNamespace string `protobuf:"bytes,1,opt,name=identityNamespace,proto3" json:"identityNamespace,omitempty"`
	// Identity unique identifier inside identity namespace
	IdentityUUID string `protobuf:"bytes,2,opt,name=identityUUID,proto3" json:"identityUUID,omitempty"`
	// Policy namespace
	PolicyNamespace string `protobuf:"bytes,3,opt,name=policyNamespace,proto3" json:"policyNamespace,omitempty"`
	// Policy UUID inside policy namespace
	PolicyUUID string `protobuf:"bytes,4,opt,name=policyUUID,proto3" json:"policyUUID,omitempty"`
	// contains filtered or unexported fields
}

func (*RemovePolicyRequest) Descriptor deprecated

func (*RemovePolicyRequest) Descriptor() ([]byte, []int)

Deprecated: Use RemovePolicyRequest.ProtoReflect.Descriptor instead.

func (*RemovePolicyRequest) GetIdentityNamespace

func (x *RemovePolicyRequest) GetIdentityNamespace() string

func (*RemovePolicyRequest) GetIdentityUUID

func (x *RemovePolicyRequest) GetIdentityUUID() string

func (*RemovePolicyRequest) GetPolicyNamespace

func (x *RemovePolicyRequest) GetPolicyNamespace() string

func (*RemovePolicyRequest) GetPolicyUUID

func (x *RemovePolicyRequest) GetPolicyUUID() string

func (*RemovePolicyRequest) ProtoMessage

func (*RemovePolicyRequest) ProtoMessage()

func (*RemovePolicyRequest) ProtoReflect

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

func (*RemovePolicyRequest) Reset

func (x *RemovePolicyRequest) Reset()

func (*RemovePolicyRequest) String

func (x *RemovePolicyRequest) String() string

type RemovePolicyResponse

type RemovePolicyResponse struct {

	// Updated identity (after removing policy)
	Identity *Identity `protobuf:"bytes,1,opt,name=identity,proto3" json:"identity,omitempty"`
	// contains filtered or unexported fields
}

func (*RemovePolicyResponse) Descriptor deprecated

func (*RemovePolicyResponse) Descriptor() ([]byte, []int)

Deprecated: Use RemovePolicyResponse.ProtoReflect.Descriptor instead.

func (*RemovePolicyResponse) GetIdentity

func (x *RemovePolicyResponse) GetIdentity() *Identity

func (*RemovePolicyResponse) ProtoMessage

func (*RemovePolicyResponse) ProtoMessage()

func (*RemovePolicyResponse) ProtoReflect

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

func (*RemovePolicyResponse) Reset

func (x *RemovePolicyResponse) Reset()

func (*RemovePolicyResponse) String

func (x *RemovePolicyResponse) String() string

type RemoveRoleRequest

type RemoveRoleRequest struct {

	// Identity namespace
	IdentityNamespace string `protobuf:"bytes,1,opt,name=identityNamespace,proto3" json:"identityNamespace,omitempty"`
	// Identity unique identifier inside identity namespace
	IdentityUUID string `protobuf:"bytes,2,opt,name=identityUUID,proto3" json:"identityUUID,omitempty"`
	// Role namespace
	RoleNamespace string `protobuf:"bytes,3,opt,name=roleNamespace,proto3" json:"roleNamespace,omitempty"`
	// Role UUID inside role namespace
	RoleUUID string `protobuf:"bytes,4,opt,name=roleUUID,proto3" json:"roleUUID,omitempty"`
	// contains filtered or unexported fields
}

func (*RemoveRoleRequest) Descriptor deprecated

func (*RemoveRoleRequest) Descriptor() ([]byte, []int)

Deprecated: Use RemoveRoleRequest.ProtoReflect.Descriptor instead.

func (*RemoveRoleRequest) GetIdentityNamespace

func (x *RemoveRoleRequest) GetIdentityNamespace() string

func (*RemoveRoleRequest) GetIdentityUUID

func (x *RemoveRoleRequest) GetIdentityUUID() string

func (*RemoveRoleRequest) GetRoleNamespace

func (x *RemoveRoleRequest) GetRoleNamespace() string

func (*RemoveRoleRequest) GetRoleUUID

func (x *RemoveRoleRequest) GetRoleUUID() string

func (*RemoveRoleRequest) ProtoMessage

func (*RemoveRoleRequest) ProtoMessage()

func (*RemoveRoleRequest) ProtoReflect

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

func (*RemoveRoleRequest) Reset

func (x *RemoveRoleRequest) Reset()

func (*RemoveRoleRequest) String

func (x *RemoveRoleRequest) String() string

type RemoveRoleResponse

type RemoveRoleResponse struct {

	// Updated identity (after removing role)
	Identity *Identity `protobuf:"bytes,1,opt,name=identity,proto3" json:"identity,omitempty"`
	// contains filtered or unexported fields
}

func (*RemoveRoleResponse) Descriptor deprecated

func (*RemoveRoleResponse) Descriptor() ([]byte, []int)

Deprecated: Use RemoveRoleResponse.ProtoReflect.Descriptor instead.

func (*RemoveRoleResponse) GetIdentity

func (x *RemoveRoleResponse) GetIdentity() *Identity

func (*RemoveRoleResponse) ProtoMessage

func (*RemoveRoleResponse) ProtoMessage()

func (*RemoveRoleResponse) ProtoReflect

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

func (*RemoveRoleResponse) Reset

func (x *RemoveRoleResponse) Reset()

func (*RemoveRoleResponse) String

func (x *RemoveRoleResponse) String() string

type ServiceManagedData

type ServiceManagedData struct {

	// Name of the service
	Service string `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"`
	// Reason why this service created this identity
	Reason string `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"`
	// This is an ID that can be defined by managed service to find this identity. Set to empty string if you dont need this. If this is not empty Service+ID combination is unique.
	ManagementId string `protobuf:"bytes,3,opt,name=managementId,proto3" json:"managementId,omitempty"`
	// contains filtered or unexported fields
}

Handles information about the service that manages this identity

func (*ServiceManagedData) Descriptor deprecated

func (*ServiceManagedData) Descriptor() ([]byte, []int)

Deprecated: Use ServiceManagedData.ProtoReflect.Descriptor instead.

func (*ServiceManagedData) GetManagementId

func (x *ServiceManagedData) GetManagementId() string

func (*ServiceManagedData) GetReason

func (x *ServiceManagedData) GetReason() string

func (*ServiceManagedData) GetService

func (x *ServiceManagedData) GetService() string

func (*ServiceManagedData) ProtoMessage

func (*ServiceManagedData) ProtoMessage()

func (*ServiceManagedData) ProtoReflect

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

func (*ServiceManagedData) Reset

func (x *ServiceManagedData) Reset()

func (*ServiceManagedData) String

func (x *ServiceManagedData) String() string

type SetIdentityActiveRequest

type SetIdentityActiveRequest struct {

	// Namespace of the identity
	Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
	// Identity unique identifier inside namespace
	Uuid string `protobuf:"bytes,2,opt,name=uuid,proto3" json:"uuid,omitempty"`
	// Set active or not
	Active bool `protobuf:"varint,3,opt,name=active,proto3" json:"active,omitempty"`
	// contains filtered or unexported fields
}

func (*SetIdentityActiveRequest) Descriptor deprecated

func (*SetIdentityActiveRequest) Descriptor() ([]byte, []int)

Deprecated: Use SetIdentityActiveRequest.ProtoReflect.Descriptor instead.

func (*SetIdentityActiveRequest) GetActive

func (x *SetIdentityActiveRequest) GetActive() bool

func (*SetIdentityActiveRequest) GetNamespace

func (x *SetIdentityActiveRequest) GetNamespace() string

func (*SetIdentityActiveRequest) GetUuid

func (x *SetIdentityActiveRequest) GetUuid() string

func (*SetIdentityActiveRequest) ProtoMessage

func (*SetIdentityActiveRequest) ProtoMessage()

func (*SetIdentityActiveRequest) ProtoReflect

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

func (*SetIdentityActiveRequest) Reset

func (x *SetIdentityActiveRequest) Reset()

func (*SetIdentityActiveRequest) String

func (x *SetIdentityActiveRequest) String() string

type SetIdentityActiveResponse

type SetIdentityActiveResponse struct {

	// Identity after update
	Identity *Identity `protobuf:"bytes,1,opt,name=identity,proto3" json:"identity,omitempty"`
	// contains filtered or unexported fields
}

func (*SetIdentityActiveResponse) Descriptor deprecated

func (*SetIdentityActiveResponse) Descriptor() ([]byte, []int)

Deprecated: Use SetIdentityActiveResponse.ProtoReflect.Descriptor instead.

func (*SetIdentityActiveResponse) GetIdentity

func (x *SetIdentityActiveResponse) GetIdentity() *Identity

func (*SetIdentityActiveResponse) ProtoMessage

func (*SetIdentityActiveResponse) ProtoMessage()

func (*SetIdentityActiveResponse) ProtoReflect

func (*SetIdentityActiveResponse) Reset

func (x *SetIdentityActiveResponse) Reset()

func (*SetIdentityActiveResponse) String

func (x *SetIdentityActiveResponse) String() string

type UnimplementedIAMIdentityServiceServer

type UnimplementedIAMIdentityServiceServer struct {
}

UnimplementedIAMIdentityServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedIAMIdentityServiceServer) AddPolicy

func (UnimplementedIAMIdentityServiceServer) AddRole

func (UnimplementedIAMIdentityServiceServer) Count

func (UnimplementedIAMIdentityServiceServer) Create

func (UnimplementedIAMIdentityServiceServer) Delete

func (UnimplementedIAMIdentityServiceServer) Exists

func (UnimplementedIAMIdentityServiceServer) Get

func (UnimplementedIAMIdentityServiceServer) List

func (UnimplementedIAMIdentityServiceServer) RemovePolicy

func (UnimplementedIAMIdentityServiceServer) RemoveRole

func (UnimplementedIAMIdentityServiceServer) SetActive

func (UnimplementedIAMIdentityServiceServer) Update

type UnsafeIAMIdentityServiceServer

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

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

type UpdateIdentityRequest

type UpdateIdentityRequest struct {

	// Namespace where identity is located
	Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
	// Unique identifier of the identity
	Uuid string `protobuf:"bytes,2,opt,name=uuid,proto3" json:"uuid,omitempty"`
	// New name
	NewName string `protobuf:"bytes,3,opt,name=newName,proto3" json:"newName,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateIdentityRequest) Descriptor deprecated

func (*UpdateIdentityRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateIdentityRequest.ProtoReflect.Descriptor instead.

func (*UpdateIdentityRequest) GetNamespace

func (x *UpdateIdentityRequest) GetNamespace() string

func (*UpdateIdentityRequest) GetNewName

func (x *UpdateIdentityRequest) GetNewName() string

func (*UpdateIdentityRequest) GetUuid

func (x *UpdateIdentityRequest) GetUuid() string

func (*UpdateIdentityRequest) ProtoMessage

func (*UpdateIdentityRequest) ProtoMessage()

func (*UpdateIdentityRequest) ProtoReflect

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

func (*UpdateIdentityRequest) Reset

func (x *UpdateIdentityRequest) Reset()

func (*UpdateIdentityRequest) String

func (x *UpdateIdentityRequest) String() string

type UpdateIdentityResponse

type UpdateIdentityResponse struct {

	// Identity information after update
	Identity *Identity `protobuf:"bytes,1,opt,name=identity,proto3" json:"identity,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateIdentityResponse) Descriptor deprecated

func (*UpdateIdentityResponse) Descriptor() ([]byte, []int)

Deprecated: Use UpdateIdentityResponse.ProtoReflect.Descriptor instead.

func (*UpdateIdentityResponse) GetIdentity

func (x *UpdateIdentityResponse) GetIdentity() *Identity

func (*UpdateIdentityResponse) ProtoMessage

func (*UpdateIdentityResponse) ProtoMessage()

func (*UpdateIdentityResponse) ProtoReflect

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

func (*UpdateIdentityResponse) Reset

func (x *UpdateIdentityResponse) Reset()

func (*UpdateIdentityResponse) String

func (x *UpdateIdentityResponse) String() string

Jump to

Keyboard shortcuts

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