services

package
v0.0.0-...-794f3e4 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AuthZService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "api.authz.services.AuthZService",
	HandlerType: (*AuthZServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Authorize",
			Handler:    _AuthZService_Authorize_Handler,
		},
		{
			MethodName: "Check",
			Handler:    _AuthZService_Check_Handler,
		},
		{
			MethodName: "Allocate",
			Handler:    _AuthZService_Allocate_Handler,
		},
		{
			MethodName: "Deallocate",
			Handler:    _AuthZService_Deallocate_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "api/v1/services/authz_service.proto",
}

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

View Source
var File_api_v1_services_authz_service_proto protoreflect.FileDescriptor
View Source
var File_api_v1_services_groups_service_proto protoreflect.FileDescriptor
View Source
var File_api_v1_services_organization_service_proto protoreflect.FileDescriptor
View Source
var File_api_v1_services_permission_service_proto protoreflect.FileDescriptor
View Source
var File_api_v1_services_principal_service_proto protoreflect.FileDescriptor
View Source
var File_api_v1_services_relationship_service_proto protoreflect.FileDescriptor
View Source
var File_api_v1_services_resource_service_proto protoreflect.FileDescriptor
View Source
var File_api_v1_services_role_service_proto protoreflect.FileDescriptor
View Source
var GroupsService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "api.authz.services.GroupsService",
	HandlerType: (*GroupsServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Create",
			Handler:    _GroupsService_Create_Handler,
		},
		{
			MethodName: "Update",
			Handler:    _GroupsService_Update_Handler,
		},
		{
			MethodName: "Delete",
			Handler:    _GroupsService_Delete_Handler,
		},
		{
			MethodName: "AddRoles",
			Handler:    _GroupsService_AddRoles_Handler,
		},
		{
			MethodName: "DeleteRoles",
			Handler:    _GroupsService_DeleteRoles_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "Query",
			Handler:       _GroupsService_Query_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "api/v1/services/groups_service.proto",
}

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

View Source
var OrganizationsService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "api.authz.services.OrganizationsService",
	HandlerType: (*OrganizationsServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Create",
			Handler:    _OrganizationsService_Create_Handler,
		},
		{
			MethodName: "Update",
			Handler:    _OrganizationsService_Update_Handler,
		},
		{
			MethodName: "Get",
			Handler:    _OrganizationsService_Get_Handler,
		},
		{
			MethodName: "Delete",
			Handler:    _OrganizationsService_Delete_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "Query",
			Handler:       _OrganizationsService_Query_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "api/v1/services/organization_service.proto",
}

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

View Source
var PermissionsService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "api.authz.services.PermissionsService",
	HandlerType: (*PermissionsServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Create",
			Handler:    _PermissionsService_Create_Handler,
		},
		{
			MethodName: "Update",
			Handler:    _PermissionsService_Update_Handler,
		},
		{
			MethodName: "Delete",
			Handler:    _PermissionsService_Delete_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "Query",
			Handler:       _PermissionsService_Query_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "api/v1/services/permission_service.proto",
}

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

View Source
var PrincipalsService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "api.authz.services.PrincipalsService",
	HandlerType: (*PrincipalsServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Create",
			Handler:    _PrincipalsService_Create_Handler,
		},
		{
			MethodName: "Update",
			Handler:    _PrincipalsService_Update_Handler,
		},
		{
			MethodName: "Get",
			Handler:    _PrincipalsService_Get_Handler,
		},
		{
			MethodName: "Delete",
			Handler:    _PrincipalsService_Delete_Handler,
		},
		{
			MethodName: "AddGroups",
			Handler:    _PrincipalsService_AddGroups_Handler,
		},
		{
			MethodName: "DeleteGroups",
			Handler:    _PrincipalsService_DeleteGroups_Handler,
		},
		{
			MethodName: "AddRoles",
			Handler:    _PrincipalsService_AddRoles_Handler,
		},
		{
			MethodName: "DeleteRoles",
			Handler:    _PrincipalsService_DeleteRoles_Handler,
		},
		{
			MethodName: "AddPermissions",
			Handler:    _PrincipalsService_AddPermissions_Handler,
		},
		{
			MethodName: "DeletePermissions",
			Handler:    _PrincipalsService_DeletePermissions_Handler,
		},
		{
			MethodName: "AddRelationships",
			Handler:    _PrincipalsService_AddRelationships_Handler,
		},
		{
			MethodName: "DeleteRelationships",
			Handler:    _PrincipalsService_DeleteRelationships_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "Query",
			Handler:       _PrincipalsService_Query_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "api/v1/services/principal_service.proto",
}

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

View Source
var RelationshipsService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "api.authz.services.RelationshipsService",
	HandlerType: (*RelationshipsServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Create",
			Handler:    _RelationshipsService_Create_Handler,
		},
		{
			MethodName: "Update",
			Handler:    _RelationshipsService_Update_Handler,
		},
		{
			MethodName: "Delete",
			Handler:    _RelationshipsService_Delete_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "Query",
			Handler:       _RelationshipsService_Query_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "api/v1/services/relationship_service.proto",
}

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

View Source
var ResourcesService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "api.authz.services.ResourcesService",
	HandlerType: (*ResourcesServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Create",
			Handler:    _ResourcesService_Create_Handler,
		},
		{
			MethodName: "Update",
			Handler:    _ResourcesService_Update_Handler,
		},
		{
			MethodName: "Delete",
			Handler:    _ResourcesService_Delete_Handler,
		},
		{
			MethodName: "CountResourceInstances",
			Handler:    _ResourcesService_CountResourceInstances_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "Query",
			Handler:       _ResourcesService_Query_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "QueryResourceInstances",
			Handler:       _ResourcesService_QueryResourceInstances_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "api/v1/services/resource_service.proto",
}

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

View Source
var RolesService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "api.authz.services.RolesService",
	HandlerType: (*RolesServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Create",
			Handler:    _RolesService_Create_Handler,
		},
		{
			MethodName: "Update",
			Handler:    _RolesService_Update_Handler,
		},
		{
			MethodName: "Delete",
			Handler:    _RolesService_Delete_Handler,
		},
		{
			MethodName: "AddPermissions",
			Handler:    _RolesService_AddPermissions_Handler,
		},
		{
			MethodName: "DeletePermissions",
			Handler:    _RolesService_DeletePermissions_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "Query",
			Handler:       _RolesService_Query_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "api/v1/services/role_service.proto",
}

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

Functions

func RegisterAuthZServiceServer

func RegisterAuthZServiceServer(s grpc.ServiceRegistrar, srv AuthZServiceServer)

func RegisterGroupsServiceServer

func RegisterGroupsServiceServer(s grpc.ServiceRegistrar, srv GroupsServiceServer)

func RegisterOrganizationsServiceServer

func RegisterOrganizationsServiceServer(s grpc.ServiceRegistrar, srv OrganizationsServiceServer)

func RegisterPermissionsServiceServer

func RegisterPermissionsServiceServer(s grpc.ServiceRegistrar, srv PermissionsServiceServer)

func RegisterPrincipalsServiceServer

func RegisterPrincipalsServiceServer(s grpc.ServiceRegistrar, srv PrincipalsServiceServer)

func RegisterRelationshipsServiceServer

func RegisterRelationshipsServiceServer(s grpc.ServiceRegistrar, srv RelationshipsServiceServer)

func RegisterResourcesServiceServer

func RegisterResourcesServiceServer(s grpc.ServiceRegistrar, srv ResourcesServiceServer)

func RegisterRolesServiceServer

func RegisterRolesServiceServer(s grpc.ServiceRegistrar, srv RolesServiceServer)

Types

type AddGroupsToPrincipalRequest

type AddGroupsToPrincipalRequest struct {

	// in: path
	OrganizationId string `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"`
	// in: path
	Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"`
	// in: path
	PrincipalId string `protobuf:"bytes,3,opt,name=principal_id,json=principalId,proto3" json:"principal_id,omitempty"`
	// GroupIds to add
	// in: body
	GroupIds []string `protobuf:"bytes,4,rep,name=group_ids,json=groupIds,proto3" json:"group_ids,omitempty"`
	// contains filtered or unexported fields
}

AddGroupsToPrincipalRequest is request model for adding group to principal.

swagger:parameters addGroupsToPrincipalRequest

func (*AddGroupsToPrincipalRequest) Descriptor deprecated

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

Deprecated: Use AddGroupsToPrincipalRequest.ProtoReflect.Descriptor instead.

func (*AddGroupsToPrincipalRequest) GetGroupIds

func (x *AddGroupsToPrincipalRequest) GetGroupIds() []string

func (*AddGroupsToPrincipalRequest) GetNamespace

func (x *AddGroupsToPrincipalRequest) GetNamespace() string

func (*AddGroupsToPrincipalRequest) GetOrganizationId

func (x *AddGroupsToPrincipalRequest) GetOrganizationId() string

func (*AddGroupsToPrincipalRequest) GetPrincipalId

func (x *AddGroupsToPrincipalRequest) GetPrincipalId() string

func (*AddGroupsToPrincipalRequest) ProtoMessage

func (*AddGroupsToPrincipalRequest) ProtoMessage()

func (*AddGroupsToPrincipalRequest) ProtoReflect

func (*AddGroupsToPrincipalRequest) Reset

func (x *AddGroupsToPrincipalRequest) Reset()

func (*AddGroupsToPrincipalRequest) String

func (x *AddGroupsToPrincipalRequest) String() string

type AddGroupsToPrincipalResponse

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

AddGroupsToPrincipalResponse is response model for adding group to principal.

swagger:parameters addGroupsToPrincipalResponse

func (*AddGroupsToPrincipalResponse) Descriptor deprecated

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

Deprecated: Use AddGroupsToPrincipalResponse.ProtoReflect.Descriptor instead.

func (*AddGroupsToPrincipalResponse) ProtoMessage

func (*AddGroupsToPrincipalResponse) ProtoMessage()

func (*AddGroupsToPrincipalResponse) ProtoReflect

func (*AddGroupsToPrincipalResponse) Reset

func (x *AddGroupsToPrincipalResponse) Reset()

func (*AddGroupsToPrincipalResponse) String

type AddPermissionsToPrincipalRequest

type AddPermissionsToPrincipalRequest struct {

	// in: path
	OrganizationId string `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"`
	// in: path
	Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"`
	// in: path
	PrincipalId string `protobuf:"bytes,3,opt,name=principal_id,json=principalId,proto3" json:"principal_id,omitempty"`
	// PermissionIds to add
	// in: body
	PermissionIds []string `protobuf:"bytes,4,rep,name=permission_ids,json=permissionIds,proto3" json:"permission_ids,omitempty"`
	// contains filtered or unexported fields
}

AddPermissionsToPrincipalRequest is request model for adding permission to principal.

swagger:parameters addPermissionsToPrincipalRequest

func (*AddPermissionsToPrincipalRequest) Descriptor deprecated

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

Deprecated: Use AddPermissionsToPrincipalRequest.ProtoReflect.Descriptor instead.

func (*AddPermissionsToPrincipalRequest) GetNamespace

func (x *AddPermissionsToPrincipalRequest) GetNamespace() string

func (*AddPermissionsToPrincipalRequest) GetOrganizationId

func (x *AddPermissionsToPrincipalRequest) GetOrganizationId() string

func (*AddPermissionsToPrincipalRequest) GetPermissionIds

func (x *AddPermissionsToPrincipalRequest) GetPermissionIds() []string

func (*AddPermissionsToPrincipalRequest) GetPrincipalId

func (x *AddPermissionsToPrincipalRequest) GetPrincipalId() string

func (*AddPermissionsToPrincipalRequest) ProtoMessage

func (*AddPermissionsToPrincipalRequest) ProtoMessage()

func (*AddPermissionsToPrincipalRequest) ProtoReflect

func (*AddPermissionsToPrincipalRequest) Reset

func (*AddPermissionsToPrincipalRequest) String

type AddPermissionsToPrincipalResponse

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

AddPermissionsToPrincipalResponse is response model for adding permission to principal.

swagger:parameters addPermissionsToPrincipalResponse

func (*AddPermissionsToPrincipalResponse) Descriptor deprecated

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

Deprecated: Use AddPermissionsToPrincipalResponse.ProtoReflect.Descriptor instead.

func (*AddPermissionsToPrincipalResponse) ProtoMessage

func (*AddPermissionsToPrincipalResponse) ProtoMessage()

func (*AddPermissionsToPrincipalResponse) ProtoReflect

func (*AddPermissionsToPrincipalResponse) Reset

func (*AddPermissionsToPrincipalResponse) String

type AddPermissionsToRoleRequest

type AddPermissionsToRoleRequest struct {

	// in: path
	OrganizationId string `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"`
	// in: path
	Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"`
	// in: path
	RoleId string `protobuf:"bytes,3,opt,name=role_id,json=roleId,proto3" json:"role_id,omitempty"`
	// PermissionIds to add
	// in: body
	PermissionIds []string `protobuf:"bytes,4,rep,name=permission_ids,json=permissionIds,proto3" json:"permission_ids,omitempty"`
	// contains filtered or unexported fields
}

AddPermissionsToRoleRequest is request model for adding permission to role.

swagger:parameters addPermissionsToRoleRequest

func (*AddPermissionsToRoleRequest) Descriptor deprecated

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

Deprecated: Use AddPermissionsToRoleRequest.ProtoReflect.Descriptor instead.

func (*AddPermissionsToRoleRequest) GetNamespace

func (x *AddPermissionsToRoleRequest) GetNamespace() string

func (*AddPermissionsToRoleRequest) GetOrganizationId

func (x *AddPermissionsToRoleRequest) GetOrganizationId() string

func (*AddPermissionsToRoleRequest) GetPermissionIds

func (x *AddPermissionsToRoleRequest) GetPermissionIds() []string

func (*AddPermissionsToRoleRequest) GetRoleId

func (x *AddPermissionsToRoleRequest) GetRoleId() string

func (*AddPermissionsToRoleRequest) ProtoMessage

func (*AddPermissionsToRoleRequest) ProtoMessage()

func (*AddPermissionsToRoleRequest) ProtoReflect

func (*AddPermissionsToRoleRequest) Reset

func (x *AddPermissionsToRoleRequest) Reset()

func (*AddPermissionsToRoleRequest) String

func (x *AddPermissionsToRoleRequest) String() string

type AddPermissionsToRoleResponse

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

AddPermissionsToRoleResponse is response model for adding permission to role.

swagger:parameters addPermissionsToRoleResponse

func (*AddPermissionsToRoleResponse) Descriptor deprecated

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

Deprecated: Use AddPermissionsToRoleResponse.ProtoReflect.Descriptor instead.

func (*AddPermissionsToRoleResponse) ProtoMessage

func (*AddPermissionsToRoleResponse) ProtoMessage()

func (*AddPermissionsToRoleResponse) ProtoReflect

func (*AddPermissionsToRoleResponse) Reset

func (x *AddPermissionsToRoleResponse) Reset()

func (*AddPermissionsToRoleResponse) String

type AddRelationshipsToPrincipalRequest

type AddRelationshipsToPrincipalRequest struct {

	// in: path
	OrganizationId string `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"`
	// in: path
	Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"`
	// in: path
	PrincipalId string `protobuf:"bytes,3,opt,name=principal_id,json=principalId,proto3" json:"principal_id,omitempty"`
	// RelationshipId to Add
	// in: body
	RelationshipIds []string `protobuf:"bytes,4,rep,name=relationship_ids,json=relationshipIds,proto3" json:"relationship_ids,omitempty"`
	// contains filtered or unexported fields
}

AddRelationshipsToPrincipalRequest is request model for adding relation to principal.

swagger:parameters addRelationshipsToPrincipalRequest

func (*AddRelationshipsToPrincipalRequest) Descriptor deprecated

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

Deprecated: Use AddRelationshipsToPrincipalRequest.ProtoReflect.Descriptor instead.

func (*AddRelationshipsToPrincipalRequest) GetNamespace

func (x *AddRelationshipsToPrincipalRequest) GetNamespace() string

func (*AddRelationshipsToPrincipalRequest) GetOrganizationId

func (x *AddRelationshipsToPrincipalRequest) GetOrganizationId() string

func (*AddRelationshipsToPrincipalRequest) GetPrincipalId

func (x *AddRelationshipsToPrincipalRequest) GetPrincipalId() string

func (*AddRelationshipsToPrincipalRequest) GetRelationshipIds

func (x *AddRelationshipsToPrincipalRequest) GetRelationshipIds() []string

func (*AddRelationshipsToPrincipalRequest) ProtoMessage

func (*AddRelationshipsToPrincipalRequest) ProtoMessage()

func (*AddRelationshipsToPrincipalRequest) ProtoReflect

func (*AddRelationshipsToPrincipalRequest) Reset

func (*AddRelationshipsToPrincipalRequest) String

type AddRelationshipsToPrincipalResponse

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

AddRelationshipsToPrincipalResponse is response model for adding relation to principal.

swagger:parameters addRelationshipsToPrincipalResponse

func (*AddRelationshipsToPrincipalResponse) Descriptor deprecated

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

Deprecated: Use AddRelationshipsToPrincipalResponse.ProtoReflect.Descriptor instead.

func (*AddRelationshipsToPrincipalResponse) ProtoMessage

func (*AddRelationshipsToPrincipalResponse) ProtoMessage()

func (*AddRelationshipsToPrincipalResponse) ProtoReflect

func (*AddRelationshipsToPrincipalResponse) Reset

func (*AddRelationshipsToPrincipalResponse) String

type AddRolesToGroupRequest

type AddRolesToGroupRequest struct {

	// in: path
	OrganizationId string `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"`
	// in: path
	Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"`
	// in: path
	GroupId string `protobuf:"bytes,3,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
	// RoleIds to add
	// in: body
	RoleIds []string `protobuf:"bytes,4,rep,name=role_ids,json=roleIds,proto3" json:"role_ids,omitempty"`
	// contains filtered or unexported fields
}

AddRolesToGroupRequest is request model for adding role to group.

swagger:parameters addRolesToGroupRequest

func (*AddRolesToGroupRequest) Descriptor deprecated

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

Deprecated: Use AddRolesToGroupRequest.ProtoReflect.Descriptor instead.

func (*AddRolesToGroupRequest) GetGroupId

func (x *AddRolesToGroupRequest) GetGroupId() string

func (*AddRolesToGroupRequest) GetNamespace

func (x *AddRolesToGroupRequest) GetNamespace() string

func (*AddRolesToGroupRequest) GetOrganizationId

func (x *AddRolesToGroupRequest) GetOrganizationId() string

func (*AddRolesToGroupRequest) GetRoleIds

func (x *AddRolesToGroupRequest) GetRoleIds() []string

func (*AddRolesToGroupRequest) ProtoMessage

func (*AddRolesToGroupRequest) ProtoMessage()

func (*AddRolesToGroupRequest) ProtoReflect

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

func (*AddRolesToGroupRequest) Reset

func (x *AddRolesToGroupRequest) Reset()

func (*AddRolesToGroupRequest) String

func (x *AddRolesToGroupRequest) String() string

type AddRolesToGroupResponse

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

AddRolesToGroupResponse is response model for adding role to group.

swagger:parameters addRolesToGroupResponse

func (*AddRolesToGroupResponse) Descriptor deprecated

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

Deprecated: Use AddRolesToGroupResponse.ProtoReflect.Descriptor instead.

func (*AddRolesToGroupResponse) ProtoMessage

func (*AddRolesToGroupResponse) ProtoMessage()

func (*AddRolesToGroupResponse) ProtoReflect

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

func (*AddRolesToGroupResponse) Reset

func (x *AddRolesToGroupResponse) Reset()

func (*AddRolesToGroupResponse) String

func (x *AddRolesToGroupResponse) String() string

type AddRolesToPrincipalRequest

type AddRolesToPrincipalRequest struct {

	// in: path
	OrganizationId string `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"`
	// in: path
	Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"`
	// in: path
	PrincipalId string `protobuf:"bytes,3,opt,name=principal_id,json=principalId,proto3" json:"principal_id,omitempty"`
	// RoleIds to add
	// in: body
	RoleIds []string `protobuf:"bytes,4,rep,name=role_ids,json=roleIds,proto3" json:"role_ids,omitempty"`
	// contains filtered or unexported fields
}

AddRolesToPrincipalRequest is request model for adding role to principal.

swagger:parameters addRolesToPrincipalRequest

func (*AddRolesToPrincipalRequest) Descriptor deprecated

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

Deprecated: Use AddRolesToPrincipalRequest.ProtoReflect.Descriptor instead.

func (*AddRolesToPrincipalRequest) GetNamespace

func (x *AddRolesToPrincipalRequest) GetNamespace() string

func (*AddRolesToPrincipalRequest) GetOrganizationId

func (x *AddRolesToPrincipalRequest) GetOrganizationId() string

func (*AddRolesToPrincipalRequest) GetPrincipalId

func (x *AddRolesToPrincipalRequest) GetPrincipalId() string

func (*AddRolesToPrincipalRequest) GetRoleIds

func (x *AddRolesToPrincipalRequest) GetRoleIds() []string

func (*AddRolesToPrincipalRequest) ProtoMessage

func (*AddRolesToPrincipalRequest) ProtoMessage()

func (*AddRolesToPrincipalRequest) ProtoReflect

func (*AddRolesToPrincipalRequest) Reset

func (x *AddRolesToPrincipalRequest) Reset()

func (*AddRolesToPrincipalRequest) String

func (x *AddRolesToPrincipalRequest) String() string

type AddRolesToPrincipalResponse

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

AddRolesToPrincipalResponse is response model for adding role to principal.

swagger:parameters addRolesToPrincipalResponse

func (*AddRolesToPrincipalResponse) Descriptor deprecated

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

Deprecated: Use AddRolesToPrincipalResponse.ProtoReflect.Descriptor instead.

func (*AddRolesToPrincipalResponse) ProtoMessage

func (*AddRolesToPrincipalResponse) ProtoMessage()

func (*AddRolesToPrincipalResponse) ProtoReflect

func (*AddRolesToPrincipalResponse) Reset

func (x *AddRolesToPrincipalResponse) Reset()

func (*AddRolesToPrincipalResponse) String

func (x *AddRolesToPrincipalResponse) String() string

type AllocateResourceRequest

type AllocateResourceRequest struct {

	// in: path
	OrganizationId string `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"`
	// in: path
	Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"`
	// Resource Id.
	// in: path
	ResourceId string `protobuf:"bytes,3,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"`
	// Principal Id.
	// in: path
	PrincipalId string `protobuf:"bytes,4,opt,name=principal_id,json=principalId,proto3" json:"principal_id,omitempty"`
	// Constraints of allocation.
	// in: body
	Constraints string `protobuf:"bytes,5,opt,name=constraints,proto3" json:"constraints,omitempty"`
	// Time duration in milliseconds after which instance will expire.
	// in: body
	Expiry *durationpb.Duration `protobuf:"bytes,6,opt,name=expiry,proto3" json:"expiry,omitempty"`
	// Context parameters.
	// in: body
	Context map[string]string `` /* 155-byte string literal not displayed */
	// contains filtered or unexported fields
}

AllocateResourceRequest is request model for allocating resource.

swagger:parameters allocateResourceRequest

func (*AllocateResourceRequest) Descriptor deprecated

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

Deprecated: Use AllocateResourceRequest.ProtoReflect.Descriptor instead.

func (*AllocateResourceRequest) GetConstraints

func (x *AllocateResourceRequest) GetConstraints() string

func (*AllocateResourceRequest) GetContext

func (x *AllocateResourceRequest) GetContext() map[string]string

func (*AllocateResourceRequest) GetExpiry

func (*AllocateResourceRequest) GetNamespace

func (x *AllocateResourceRequest) GetNamespace() string

func (*AllocateResourceRequest) GetOrganizationId

func (x *AllocateResourceRequest) GetOrganizationId() string

func (*AllocateResourceRequest) GetPrincipalId

func (x *AllocateResourceRequest) GetPrincipalId() string

func (*AllocateResourceRequest) GetResourceId

func (x *AllocateResourceRequest) GetResourceId() string

func (*AllocateResourceRequest) ProtoMessage

func (*AllocateResourceRequest) ProtoMessage()

func (*AllocateResourceRequest) ProtoReflect

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

func (*AllocateResourceRequest) Reset

func (x *AllocateResourceRequest) Reset()

func (*AllocateResourceRequest) String

func (x *AllocateResourceRequest) String() string

type AllocateResourceResponse

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

AllocateResourceResponse is response model for allocating resource.

swagger:parameters allocateResourceResponse

func (*AllocateResourceResponse) Descriptor deprecated

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

Deprecated: Use AllocateResourceResponse.ProtoReflect.Descriptor instead.

func (*AllocateResourceResponse) ProtoMessage

func (*AllocateResourceResponse) ProtoMessage()

func (*AllocateResourceResponse) ProtoReflect

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

func (*AllocateResourceResponse) Reset

func (x *AllocateResourceResponse) Reset()

func (*AllocateResourceResponse) String

func (x *AllocateResourceResponse) String() string

type AuthRequest

type AuthRequest struct {

	// in: path
	OrganizationId string `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"`
	// in: path
	Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"`
	// in: path
	PrincipalId string `protobuf:"bytes,3,opt,name=principal_id,json=principalId,proto3" json:"principal_id,omitempty"`
	// in: body
	Action string `protobuf:"bytes,4,opt,name=action,proto3" json:"action,omitempty"`
	// in: body
	Resource string `protobuf:"bytes,5,opt,name=resource,proto3" json:"resource,omitempty"`
	// in: body
	Scope string `protobuf:"bytes,6,opt,name=scope,proto3" json:"scope,omitempty"`
	// in: body
	Context map[string]string `` /* 155-byte string literal not displayed */
	// contains filtered or unexported fields
}

AuthRequest is request model for authorization access API.

swagger:parameters authRequest

func (*AuthRequest) Descriptor deprecated

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

Deprecated: Use AuthRequest.ProtoReflect.Descriptor instead.

func (*AuthRequest) GetAction

func (x *AuthRequest) GetAction() string

func (*AuthRequest) GetContext

func (x *AuthRequest) GetContext() map[string]string

func (*AuthRequest) GetNamespace

func (x *AuthRequest) GetNamespace() string

func (*AuthRequest) GetOrganizationId

func (x *AuthRequest) GetOrganizationId() string

func (*AuthRequest) GetPrincipalId

func (x *AuthRequest) GetPrincipalId() string

func (*AuthRequest) GetResource

func (x *AuthRequest) GetResource() string

func (*AuthRequest) GetScope

func (x *AuthRequest) GetScope() string

func (*AuthRequest) ProtoMessage

func (*AuthRequest) ProtoMessage()

func (*AuthRequest) ProtoReflect

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

func (*AuthRequest) Reset

func (x *AuthRequest) Reset()

func (*AuthRequest) String

func (x *AuthRequest) String() string

type AuthResponse

type AuthResponse struct {

	// in: body
	Effect types.Effect `protobuf:"varint,1,opt,name=effect,proto3,enum=api.authz.types.Effect" json:"effect,omitempty"`
	// in: body
	Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

AuthResponse is response model for authorization access API.

swagger:parameters authResponse

func (*AuthResponse) Descriptor deprecated

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

Deprecated: Use AuthResponse.ProtoReflect.Descriptor instead.

func (*AuthResponse) GetEffect

func (x *AuthResponse) GetEffect() types.Effect

func (*AuthResponse) GetMessage

func (x *AuthResponse) GetMessage() string

func (*AuthResponse) ProtoMessage

func (*AuthResponse) ProtoMessage()

func (*AuthResponse) ProtoReflect

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

func (*AuthResponse) Reset

func (x *AuthResponse) Reset()

func (*AuthResponse) String

func (x *AuthResponse) String() string

type AuthZServiceClient

type AuthZServiceClient interface {
	// Authorize swagger:route POST /api/v1/{organization_id}/{namespace}/{principal_id}/auth authz authRequest
	//
	// Responses:
	// 200: authResponse
	// 400	Bad Request
	// 401	Not Authorized
	// 500	Internal Error
	Authorize(ctx context.Context, in *AuthRequest, opts ...grpc.CallOption) (*AuthResponse, error)
	// Check swagger:route POST /api/v1/{organization_id}/{namespace}/{principal_id}/auth/constraints authz checkConstraintsRequest
	//
	// Responses:
	// 200: checkConstraintsResponse
	// 400	Bad Request
	// 401	Not Authorized
	// 500	Internal Error
	Check(ctx context.Context, in *CheckConstraintsRequest, opts ...grpc.CallOption) (*CheckConstraintsResponse, error)
	// Allocate Resources swagger:route PUT /api/v1/{organization_id}/{namespace}/resources/{id}/allocate/{principal_id} resources allocateResourceRequest
	//
	// Responses:
	// 200: allocateResourceResponse
	// 400	Bad Request
	// 401	Not Authorized
	// 500	Internal Error
	Allocate(ctx context.Context, in *AllocateResourceRequest, opts ...grpc.CallOption) (*AllocateResourceResponse, error)
	// Deallocate Resources swagger:route PUT /api/v1/{organization_id}/{namespace}/resources/{id}/deallocate/{principal_id} resources deallocateResourceRequest
	//
	// Responses:
	// 200: deallocateResourceResponse
	// 400	Bad Request
	// 401	Not Authorized
	// 500	Internal Error
	Deallocate(ctx context.Context, in *DeallocateResourceRequest, opts ...grpc.CallOption) (*DeallocateResourceResponse, error)
}

AuthZServiceClient is the client API for AuthZService 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 AuthZServiceServer

type AuthZServiceServer interface {
	// Authorize swagger:route POST /api/v1/{organization_id}/{namespace}/{principal_id}/auth authz authRequest
	//
	// Responses:
	// 200: authResponse
	// 400	Bad Request
	// 401	Not Authorized
	// 500	Internal Error
	Authorize(context.Context, *AuthRequest) (*AuthResponse, error)
	// Check swagger:route POST /api/v1/{organization_id}/{namespace}/{principal_id}/auth/constraints authz checkConstraintsRequest
	//
	// Responses:
	// 200: checkConstraintsResponse
	// 400	Bad Request
	// 401	Not Authorized
	// 500	Internal Error
	Check(context.Context, *CheckConstraintsRequest) (*CheckConstraintsResponse, error)
	// Allocate Resources swagger:route PUT /api/v1/{organization_id}/{namespace}/resources/{id}/allocate/{principal_id} resources allocateResourceRequest
	//
	// Responses:
	// 200: allocateResourceResponse
	// 400	Bad Request
	// 401	Not Authorized
	// 500	Internal Error
	Allocate(context.Context, *AllocateResourceRequest) (*AllocateResourceResponse, error)
	// Deallocate Resources swagger:route PUT /api/v1/{organization_id}/{namespace}/resources/{id}/deallocate/{principal_id} resources deallocateResourceRequest
	//
	// Responses:
	// 200: deallocateResourceResponse
	// 400	Bad Request
	// 401	Not Authorized
	// 500	Internal Error
	Deallocate(context.Context, *DeallocateResourceRequest) (*DeallocateResourceResponse, error)
	// contains filtered or unexported methods
}

AuthZServiceServer is the server API for AuthZService service. All implementations must embed UnimplementedAuthZServiceServer for forward compatibility

type CheckConstraintsRequest

type CheckConstraintsRequest struct {

	// in: path
	OrganizationId string `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"`
	// in: path
	Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"`
	// in: path
	PrincipalId string `protobuf:"bytes,3,opt,name=principal_id,json=principalId,proto3" json:"principal_id,omitempty"`
	// in: body
	Constraints string `protobuf:"bytes,4,opt,name=constraints,proto3" json:"constraints,omitempty"`
	// in: body
	Context map[string]string `` /* 155-byte string literal not displayed */
	// contains filtered or unexported fields
}

CheckConstraintsRequest is request model for checking constraints and authorization access API.

swagger:parameters checkConstraintsRequest

func (*CheckConstraintsRequest) Descriptor deprecated

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

Deprecated: Use CheckConstraintsRequest.ProtoReflect.Descriptor instead.

func (*CheckConstraintsRequest) GetConstraints

func (x *CheckConstraintsRequest) GetConstraints() string

func (*CheckConstraintsRequest) GetContext

func (x *CheckConstraintsRequest) GetContext() map[string]string

func (*CheckConstraintsRequest) GetNamespace

func (x *CheckConstraintsRequest) GetNamespace() string

func (*CheckConstraintsRequest) GetOrganizationId

func (x *CheckConstraintsRequest) GetOrganizationId() string

func (*CheckConstraintsRequest) GetPrincipalId

func (x *CheckConstraintsRequest) GetPrincipalId() string

func (*CheckConstraintsRequest) ProtoMessage

func (*CheckConstraintsRequest) ProtoMessage()

func (*CheckConstraintsRequest) ProtoReflect

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

func (*CheckConstraintsRequest) Reset

func (x *CheckConstraintsRequest) Reset()

func (*CheckConstraintsRequest) String

func (x *CheckConstraintsRequest) String() string

type CheckConstraintsResponse

type CheckConstraintsResponse struct {

	// in: body
	Matched bool `protobuf:"varint,1,opt,name=matched,proto3" json:"matched,omitempty"`
	// in: body
	Output string `protobuf:"bytes,2,opt,name=output,proto3" json:"output,omitempty"`
	// contains filtered or unexported fields
}

CheckConstraintsResponse is response model for checking constraints and authorization access API.

swagger:parameters checkConstraintsResponse

func (*CheckConstraintsResponse) Descriptor deprecated

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

Deprecated: Use CheckConstraintsResponse.ProtoReflect.Descriptor instead.

func (*CheckConstraintsResponse) GetMatched

func (x *CheckConstraintsResponse) GetMatched() bool

func (*CheckConstraintsResponse) GetOutput

func (x *CheckConstraintsResponse) GetOutput() string

func (*CheckConstraintsResponse) ProtoMessage

func (*CheckConstraintsResponse) ProtoMessage()

func (*CheckConstraintsResponse) ProtoReflect

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

func (*CheckConstraintsResponse) Reset

func (x *CheckConstraintsResponse) Reset()

func (*CheckConstraintsResponse) String

func (x *CheckConstraintsResponse) String() string

type CountResourceInstancesRequest

type CountResourceInstancesRequest struct {

	// in: path
	OrganizationId string `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"`
	// in: path
	Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"`
	// Resource Id
	// in: path
	ResourceId string `protobuf:"bytes,3,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"`
	// contains filtered or unexported fields
}

CountResourceInstancesRequest is request model for counting resource instances

swagger:parameters countResourceInstancesRequest

func (*CountResourceInstancesRequest) Descriptor deprecated

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

Deprecated: Use CountResourceInstancesRequest.ProtoReflect.Descriptor instead.

func (*CountResourceInstancesRequest) GetNamespace

func (x *CountResourceInstancesRequest) GetNamespace() string

func (*CountResourceInstancesRequest) GetOrganizationId

func (x *CountResourceInstancesRequest) GetOrganizationId() string

func (*CountResourceInstancesRequest) GetResourceId

func (x *CountResourceInstancesRequest) GetResourceId() string

func (*CountResourceInstancesRequest) ProtoMessage

func (*CountResourceInstancesRequest) ProtoMessage()

func (*CountResourceInstancesRequest) ProtoReflect

func (*CountResourceInstancesRequest) Reset

func (x *CountResourceInstancesRequest) Reset()

func (*CountResourceInstancesRequest) String

type CountResourceInstancesResponse

type CountResourceInstancesResponse struct {

	// in: body
	Capacity int32 `protobuf:"varint,1,opt,name=capacity,proto3" json:"capacity,omitempty"`
	// in: body
	Allocated int32 `protobuf:"varint,2,opt,name=allocated,proto3" json:"allocated,omitempty"`
	// contains filtered or unexported fields
}

CountResourceInstancesResponse is response model for counting resource instances.

swagger:parameters countResourceInstancesResponse

func (*CountResourceInstancesResponse) Descriptor deprecated

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

Deprecated: Use CountResourceInstancesResponse.ProtoReflect.Descriptor instead.

func (*CountResourceInstancesResponse) GetAllocated

func (x *CountResourceInstancesResponse) GetAllocated() int32

func (*CountResourceInstancesResponse) GetCapacity

func (x *CountResourceInstancesResponse) GetCapacity() int32

func (*CountResourceInstancesResponse) ProtoMessage

func (*CountResourceInstancesResponse) ProtoMessage()

func (*CountResourceInstancesResponse) ProtoReflect

func (*CountResourceInstancesResponse) Reset

func (x *CountResourceInstancesResponse) Reset()

func (*CountResourceInstancesResponse) String

type CreateGroupRequest

type CreateGroupRequest struct {

	// in: path
	OrganizationId string `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"`
	// in: path
	Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"`
	// Name (unique) of the group.
	// in: body
	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	// Optional parent ids.
	// in: body
	ParentIds []string `protobuf:"bytes,4,rep,name=parent_ids,json=parentIds,proto3" json:"parent_ids,omitempty"` // optional
	// contains filtered or unexported fields
}

CreateGroupRequest is request model for creating a group.

swagger:parameters createGroupRequest

func (*CreateGroupRequest) Descriptor deprecated

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

Deprecated: Use CreateGroupRequest.ProtoReflect.Descriptor instead.

func (*CreateGroupRequest) GetName

func (x *CreateGroupRequest) GetName() string

func (*CreateGroupRequest) GetNamespace

func (x *CreateGroupRequest) GetNamespace() string

func (*CreateGroupRequest) GetOrganizationId

func (x *CreateGroupRequest) GetOrganizationId() string

func (*CreateGroupRequest) GetParentIds

func (x *CreateGroupRequest) GetParentIds() []string

func (*CreateGroupRequest) ProtoMessage

func (*CreateGroupRequest) ProtoMessage()

func (*CreateGroupRequest) ProtoReflect

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

func (*CreateGroupRequest) Reset

func (x *CreateGroupRequest) Reset()

func (*CreateGroupRequest) String

func (x *CreateGroupRequest) String() string

type CreateGroupResponse

type CreateGroupResponse struct {

	// ID unique identifier assigned to this group.
	// in: body
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

CreateGroupResponse is response model for creating group.

swagger:parameters createGroupResponse

func (*CreateGroupResponse) Descriptor deprecated

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

Deprecated: Use CreateGroupResponse.ProtoReflect.Descriptor instead.

func (*CreateGroupResponse) GetId

func (x *CreateGroupResponse) GetId() string

func (*CreateGroupResponse) ProtoMessage

func (*CreateGroupResponse) ProtoMessage()

func (*CreateGroupResponse) ProtoReflect

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

func (*CreateGroupResponse) Reset

func (x *CreateGroupResponse) Reset()

func (*CreateGroupResponse) String

func (x *CreateGroupResponse) String() string

type CreateOrganizationRequest

type CreateOrganizationRequest struct {

	// Name of the organization.
	// in: body
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Allowed Namespaces for organization.
	Namespaces []string `protobuf:"bytes,2,rep,name=namespaces,proto3" json:"namespaces,omitempty"`
	// url for organization.
	// in: body
	Url string `protobuf:"bytes,3,opt,name=url,proto3" json:"url,omitempty"`
	// Optional parent ids.
	// in: body
	ParentIds []string `protobuf:"bytes,4,rep,name=parent_ids,json=parentIds,proto3" json:"parent_ids,omitempty"` // optional
	// contains filtered or unexported fields
}

CreateOrganizationRequest is request model for creating organization.

swagger:parameters createOrganizationRequest

func (*CreateOrganizationRequest) Descriptor deprecated

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

Deprecated: Use CreateOrganizationRequest.ProtoReflect.Descriptor instead.

func (*CreateOrganizationRequest) GetName

func (x *CreateOrganizationRequest) GetName() string

func (*CreateOrganizationRequest) GetNamespaces

func (x *CreateOrganizationRequest) GetNamespaces() []string

func (*CreateOrganizationRequest) GetParentIds

func (x *CreateOrganizationRequest) GetParentIds() []string

func (*CreateOrganizationRequest) GetUrl

func (x *CreateOrganizationRequest) GetUrl() string

func (*CreateOrganizationRequest) ProtoMessage

func (*CreateOrganizationRequest) ProtoMessage()

func (*CreateOrganizationRequest) ProtoReflect

func (*CreateOrganizationRequest) Reset

func (x *CreateOrganizationRequest) Reset()

func (*CreateOrganizationRequest) String

func (x *CreateOrganizationRequest) String() string

type CreateOrganizationResponse

type CreateOrganizationResponse struct {

	// ID unique identifier assigned to this organization.
	// in: body
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

CreateOrganizationResponse is response model for creating organization.

swagger:parameters createOrganizationResponse

func (*CreateOrganizationResponse) Descriptor deprecated

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

Deprecated: Use CreateOrganizationResponse.ProtoReflect.Descriptor instead.

func (*CreateOrganizationResponse) GetId

func (*CreateOrganizationResponse) ProtoMessage

func (*CreateOrganizationResponse) ProtoMessage()

func (*CreateOrganizationResponse) ProtoReflect

func (*CreateOrganizationResponse) Reset

func (x *CreateOrganizationResponse) Reset()

func (*CreateOrganizationResponse) String

func (x *CreateOrganizationResponse) String() string

type CreatePermissionRequest

type CreatePermissionRequest struct {

	// in: path
	OrganizationId string `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"`
	// in: path
	Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"`
	// Scope for permission.
	// in: body
	Scope string `protobuf:"bytes,3,opt,name=scope,proto3" json:"scope,omitempty"`
	// Actions that can be performed.
	// in: body
	Actions []string `protobuf:"bytes,4,rep,name=actions,proto3" json:"actions,omitempty"`
	// Resource for the action.
	// in: body
	ResourceId string `protobuf:"bytes,5,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"`
	// Effect Permitted or Denied
	// in: body
	Effect types.Effect `protobuf:"varint,6,opt,name=effect,proto3,enum=api.authz.types.Effect" json:"effect,omitempty"`
	// Constraints expression with dynamic properties.
	// in: body
	Constraints string `protobuf:"bytes,7,opt,name=constraints,proto3" json:"constraints,omitempty"`
	// contains filtered or unexported fields
}

CreatePermissionRequest is request model for creating permission.

swagger:parameters createPermissionRequest

func (*CreatePermissionRequest) Descriptor deprecated

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

Deprecated: Use CreatePermissionRequest.ProtoReflect.Descriptor instead.

func (*CreatePermissionRequest) GetActions

func (x *CreatePermissionRequest) GetActions() []string

func (*CreatePermissionRequest) GetConstraints

func (x *CreatePermissionRequest) GetConstraints() string

func (*CreatePermissionRequest) GetEffect

func (x *CreatePermissionRequest) GetEffect() types.Effect

func (*CreatePermissionRequest) GetNamespace

func (x *CreatePermissionRequest) GetNamespace() string

func (*CreatePermissionRequest) GetOrganizationId

func (x *CreatePermissionRequest) GetOrganizationId() string

func (*CreatePermissionRequest) GetResourceId

func (x *CreatePermissionRequest) GetResourceId() string

func (*CreatePermissionRequest) GetScope

func (x *CreatePermissionRequest) GetScope() string

func (*CreatePermissionRequest) ProtoMessage

func (*CreatePermissionRequest) ProtoMessage()

func (*CreatePermissionRequest) ProtoReflect

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

func (*CreatePermissionRequest) Reset

func (x *CreatePermissionRequest) Reset()

func (*CreatePermissionRequest) String

func (x *CreatePermissionRequest) String() string

type CreatePermissionResponse

type CreatePermissionResponse struct {

	// ID unique identifier assigned to this permission.
	// in: body
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

CreatePermissionResponse is response model for creating permission.

swagger:parameters createPermissionResponse

func (*CreatePermissionResponse) Descriptor deprecated

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

Deprecated: Use CreatePermissionResponse.ProtoReflect.Descriptor instead.

func (*CreatePermissionResponse) GetId

func (x *CreatePermissionResponse) GetId() string

func (*CreatePermissionResponse) ProtoMessage

func (*CreatePermissionResponse) ProtoMessage()

func (*CreatePermissionResponse) ProtoReflect

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

func (*CreatePermissionResponse) Reset

func (x *CreatePermissionResponse) Reset()

func (*CreatePermissionResponse) String

func (x *CreatePermissionResponse) String() string

type CreatePrincipalRequest

type CreatePrincipalRequest struct {

	// in: path
	OrganizationId string `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"`
	// in: body
	Namespaces []string `protobuf:"bytes,2,rep,name=namespaces,proto3" json:"namespaces,omitempty"`
	// Username (unique) of the principal user.
	// in: body
	Username string `protobuf:"bytes,3,opt,name=username,proto3" json:"username,omitempty"`
	// Name of the principal user.
	// in: body
	Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
	// Attributes of principal
	// in: body
	Attributes map[string]string `` /* 161-byte string literal not displayed */
	// contains filtered or unexported fields
}

CreatePrincipalRequest is request model for creating principal.

swagger:parameters createPrincipalRequest

func (*CreatePrincipalRequest) Descriptor deprecated

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

Deprecated: Use CreatePrincipalRequest.ProtoReflect.Descriptor instead.

func (*CreatePrincipalRequest) GetAttributes

func (x *CreatePrincipalRequest) GetAttributes() map[string]string

func (*CreatePrincipalRequest) GetName

func (x *CreatePrincipalRequest) GetName() string

func (*CreatePrincipalRequest) GetNamespaces

func (x *CreatePrincipalRequest) GetNamespaces() []string

func (*CreatePrincipalRequest) GetOrganizationId

func (x *CreatePrincipalRequest) GetOrganizationId() string

func (*CreatePrincipalRequest) GetUsername

func (x *CreatePrincipalRequest) GetUsername() string

func (*CreatePrincipalRequest) ProtoMessage

func (*CreatePrincipalRequest) ProtoMessage()

func (*CreatePrincipalRequest) ProtoReflect

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

func (*CreatePrincipalRequest) Reset

func (x *CreatePrincipalRequest) Reset()

func (*CreatePrincipalRequest) String

func (x *CreatePrincipalRequest) String() string

type CreatePrincipalResponse

type CreatePrincipalResponse struct {

	// ID unique identifier assigned to this principal.
	// in: body
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

CreatePrincipalResponse is response model for creating principal.

swagger:parameters createPrincipalResponse

func (*CreatePrincipalResponse) Descriptor deprecated

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

Deprecated: Use CreatePrincipalResponse.ProtoReflect.Descriptor instead.

func (*CreatePrincipalResponse) GetId

func (x *CreatePrincipalResponse) GetId() string

func (*CreatePrincipalResponse) ProtoMessage

func (*CreatePrincipalResponse) ProtoMessage()

func (*CreatePrincipalResponse) ProtoReflect

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

func (*CreatePrincipalResponse) Reset

func (x *CreatePrincipalResponse) Reset()

func (*CreatePrincipalResponse) String

func (x *CreatePrincipalResponse) String() string

type CreateRelationshipRequest

type CreateRelationshipRequest struct {

	// in: path
	OrganizationId string `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"`
	// in: path
	Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"`
	// Relation name.
	// in:body
	Relation string `protobuf:"bytes,3,opt,name=relation,proto3" json:"relation,omitempty"`
	// PrincipalID for relationship.
	// in:body
	PrincipalId string `protobuf:"bytes,4,opt,name=principal_id,json=principalId,proto3" json:"principal_id,omitempty"`
	// ResourceID for relationship.
	// in:body
	ResourceId string `protobuf:"bytes,5,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"`
	// Attributes of relationship.
	// in:body
	Attributes map[string]string `` /* 161-byte string literal not displayed */
	// contains filtered or unexported fields
}

CreateRelationshipRequest is request model for creating relationship.

swagger:parameters createRelationshipRequest

func (*CreateRelationshipRequest) Descriptor deprecated

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

Deprecated: Use CreateRelationshipRequest.ProtoReflect.Descriptor instead.

func (*CreateRelationshipRequest) GetAttributes

func (x *CreateRelationshipRequest) GetAttributes() map[string]string

func (*CreateRelationshipRequest) GetNamespace

func (x *CreateRelationshipRequest) GetNamespace() string

func (*CreateRelationshipRequest) GetOrganizationId

func (x *CreateRelationshipRequest) GetOrganizationId() string

func (*CreateRelationshipRequest) GetPrincipalId

func (x *CreateRelationshipRequest) GetPrincipalId() string

func (*CreateRelationshipRequest) GetRelation

func (x *CreateRelationshipRequest) GetRelation() string

func (*CreateRelationshipRequest) GetResourceId

func (x *CreateRelationshipRequest) GetResourceId() string

func (*CreateRelationshipRequest) ProtoMessage

func (*CreateRelationshipRequest) ProtoMessage()

func (*CreateRelationshipRequest) ProtoReflect

func (*CreateRelationshipRequest) Reset

func (x *CreateRelationshipRequest) Reset()

func (*CreateRelationshipRequest) String

func (x *CreateRelationshipRequest) String() string

type CreateRelationshipResponse

type CreateRelationshipResponse struct {

	// ID unique identifier assigned to this relationship.
	// in: body
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

CreateRelationshipResponse is response model for creating relationship.

swagger:parameters createRelationshipResponse

func (*CreateRelationshipResponse) Descriptor deprecated

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

Deprecated: Use CreateRelationshipResponse.ProtoReflect.Descriptor instead.

func (*CreateRelationshipResponse) GetId

func (*CreateRelationshipResponse) ProtoMessage

func (*CreateRelationshipResponse) ProtoMessage()

func (*CreateRelationshipResponse) ProtoReflect

func (*CreateRelationshipResponse) Reset

func (x *CreateRelationshipResponse) Reset()

func (*CreateRelationshipResponse) String

func (x *CreateRelationshipResponse) String() string

type CreateResourceRequest

type CreateResourceRequest struct {

	// in: path
	OrganizationId string `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"`
	// in: path
	Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"`
	// Name of the resource. (Kind+Name should be unique)
	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	// capacity of resource.
	Capacity int32 `protobuf:"varint,4,opt,name=capacity,proto3" json:"capacity,omitempty"`
	// Attributes of resource.
	Attributes map[string]string `` /* 161-byte string literal not displayed */
	// AllowedActions that can be performed.
	AllowedActions []string `protobuf:"bytes,6,rep,name=allowed_actions,json=allowedActions,proto3" json:"allowed_actions,omitempty"`
	// contains filtered or unexported fields
}

CreateResourceRequest is request model for creating resource.

swagger:parameters createResourceRequest

func (*CreateResourceRequest) Descriptor deprecated

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

Deprecated: Use CreateResourceRequest.ProtoReflect.Descriptor instead.

func (*CreateResourceRequest) GetAllowedActions

func (x *CreateResourceRequest) GetAllowedActions() []string

func (*CreateResourceRequest) GetAttributes

func (x *CreateResourceRequest) GetAttributes() map[string]string

func (*CreateResourceRequest) GetCapacity

func (x *CreateResourceRequest) GetCapacity() int32

func (*CreateResourceRequest) GetName

func (x *CreateResourceRequest) GetName() string

func (*CreateResourceRequest) GetNamespace

func (x *CreateResourceRequest) GetNamespace() string

func (*CreateResourceRequest) GetOrganizationId

func (x *CreateResourceRequest) GetOrganizationId() string

func (*CreateResourceRequest) ProtoMessage

func (*CreateResourceRequest) ProtoMessage()

func (*CreateResourceRequest) ProtoReflect

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

func (*CreateResourceRequest) Reset

func (x *CreateResourceRequest) Reset()

func (*CreateResourceRequest) String

func (x *CreateResourceRequest) String() string

type CreateResourceResponse

type CreateResourceResponse struct {

	// ID unique identifier assigned to this resource.
	// in: body
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

CreateResourceResponse is response model for creating resource.

swagger:parameters createResourceResponse

func (*CreateResourceResponse) Descriptor deprecated

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

Deprecated: Use CreateResourceResponse.ProtoReflect.Descriptor instead.

func (*CreateResourceResponse) GetId

func (x *CreateResourceResponse) GetId() string

func (*CreateResourceResponse) ProtoMessage

func (*CreateResourceResponse) ProtoMessage()

func (*CreateResourceResponse) ProtoReflect

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

func (*CreateResourceResponse) Reset

func (x *CreateResourceResponse) Reset()

func (*CreateResourceResponse) String

func (x *CreateResourceResponse) String() string

type CreateRoleRequest

type CreateRoleRequest struct {

	// in: path
	OrganizationId string `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"`
	// in: path
	Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"`
	// Name of the role.
	// in: body
	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	// Optional parent ids
	// in: body
	ParentIds []string `protobuf:"bytes,4,rep,name=parent_ids,json=parentIds,proto3" json:"parent_ids,omitempty"` // optional
	// contains filtered or unexported fields
}

CreateRoleRequest is request model for creating role.

swagger:parameters createRoleRequest

func (*CreateRoleRequest) Descriptor deprecated

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

Deprecated: Use CreateRoleRequest.ProtoReflect.Descriptor instead.

func (*CreateRoleRequest) GetName

func (x *CreateRoleRequest) GetName() string

func (*CreateRoleRequest) GetNamespace

func (x *CreateRoleRequest) GetNamespace() string

func (*CreateRoleRequest) GetOrganizationId

func (x *CreateRoleRequest) GetOrganizationId() string

func (*CreateRoleRequest) GetParentIds

func (x *CreateRoleRequest) GetParentIds() []string

func (*CreateRoleRequest) ProtoMessage

func (*CreateRoleRequest) ProtoMessage()

func (*CreateRoleRequest) ProtoReflect

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

func (*CreateRoleRequest) Reset

func (x *CreateRoleRequest) Reset()

func (*CreateRoleRequest) String

func (x *CreateRoleRequest) String() string

type CreateRoleResponse

type CreateRoleResponse struct {

	// ID unique identifier assigned to this role.
	// in: body
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

CreateRoleResponse is response model for creating role.

swagger:parameters createRoleResponse

func (*CreateRoleResponse) Descriptor deprecated

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

Deprecated: Use CreateRoleResponse.ProtoReflect.Descriptor instead.

func (*CreateRoleResponse) GetId

func (x *CreateRoleResponse) GetId() string

func (*CreateRoleResponse) ProtoMessage

func (*CreateRoleResponse) ProtoMessage()

func (*CreateRoleResponse) ProtoReflect

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

func (*CreateRoleResponse) Reset

func (x *CreateRoleResponse) Reset()

func (*CreateRoleResponse) String

func (x *CreateRoleResponse) String() string

type DeallocateResourceRequest

type DeallocateResourceRequest struct {

	// in: path
	OrganizationId string `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"`
	// in: path
	Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"`
	// Resource Id
	// in: path
	ResourceId string `protobuf:"bytes,3,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"`
	// Principal Id
	// in: path
	PrincipalId string `protobuf:"bytes,4,opt,name=principal_id,json=principalId,proto3" json:"principal_id,omitempty"`
	// contains filtered or unexported fields
}

DeallocateResourceRequest is request model for deallocating resource.

swagger:parameters deallocateResourceRequest

func (*DeallocateResourceRequest) Descriptor deprecated

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

Deprecated: Use DeallocateResourceRequest.ProtoReflect.Descriptor instead.

func (*DeallocateResourceRequest) GetNamespace

func (x *DeallocateResourceRequest) GetNamespace() string

func (*DeallocateResourceRequest) GetOrganizationId

func (x *DeallocateResourceRequest) GetOrganizationId() string

func (*DeallocateResourceRequest) GetPrincipalId

func (x *DeallocateResourceRequest) GetPrincipalId() string

func (*DeallocateResourceRequest) GetResourceId

func (x *DeallocateResourceRequest) GetResourceId() string

func (*DeallocateResourceRequest) ProtoMessage

func (*DeallocateResourceRequest) ProtoMessage()

func (*DeallocateResourceRequest) ProtoReflect

func (*DeallocateResourceRequest) Reset

func (x *DeallocateResourceRequest) Reset()

func (*DeallocateResourceRequest) String

func (x *DeallocateResourceRequest) String() string

type DeallocateResourceResponse

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

DeallocateResourceResponse is response model for deallocating resource.

swagger:parameters deallocateResourceResponse

func (*DeallocateResourceResponse) Descriptor deprecated

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

Deprecated: Use DeallocateResourceResponse.ProtoReflect.Descriptor instead.

func (*DeallocateResourceResponse) ProtoMessage

func (*DeallocateResourceResponse) ProtoMessage()

func (*DeallocateResourceResponse) ProtoReflect

func (*DeallocateResourceResponse) Reset

func (x *DeallocateResourceResponse) Reset()

func (*DeallocateResourceResponse) String

func (x *DeallocateResourceResponse) String() string

type DeleteGroupRequest

type DeleteGroupRequest struct {

	// in: path
	OrganizationId string `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"`
	// in: path
	Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"`
	// in: path
	Id string `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

DeleteGroupRequest is request model for deleting group.

swagger:parameters deleteGroupRequest

func (*DeleteGroupRequest) Descriptor deprecated

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

Deprecated: Use DeleteGroupRequest.ProtoReflect.Descriptor instead.

func (*DeleteGroupRequest) GetId

func (x *DeleteGroupRequest) GetId() string

func (*DeleteGroupRequest) GetNamespace

func (x *DeleteGroupRequest) GetNamespace() string

func (*DeleteGroupRequest) GetOrganizationId

func (x *DeleteGroupRequest) GetOrganizationId() string

func (*DeleteGroupRequest) ProtoMessage

func (*DeleteGroupRequest) ProtoMessage()

func (*DeleteGroupRequest) ProtoReflect

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

func (*DeleteGroupRequest) Reset

func (x *DeleteGroupRequest) Reset()

func (*DeleteGroupRequest) String

func (x *DeleteGroupRequest) String() string

type DeleteGroupResponse

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

DeleteGroupResponse is response model for deleting group by id.

swagger:parameters deleteGroupResponse

func (*DeleteGroupResponse) Descriptor deprecated

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

Deprecated: Use DeleteGroupResponse.ProtoReflect.Descriptor instead.

func (*DeleteGroupResponse) ProtoMessage

func (*DeleteGroupResponse) ProtoMessage()

func (*DeleteGroupResponse) ProtoReflect

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

func (*DeleteGroupResponse) Reset

func (x *DeleteGroupResponse) Reset()

func (*DeleteGroupResponse) String

func (x *DeleteGroupResponse) String() string

type DeleteGroupsToPrincipalRequest

type DeleteGroupsToPrincipalRequest struct {

	// in: path
	OrganizationId string `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"`
	// in: path
	Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"`
	// in: path
	PrincipalId string `protobuf:"bytes,3,opt,name=principal_id,json=principalId,proto3" json:"principal_id,omitempty"`
	// GroupIds to remove
	// in: body
	GroupIds []string `protobuf:"bytes,4,rep,name=group_ids,json=groupIds,proto3" json:"group_ids,omitempty"`
	// contains filtered or unexported fields
}

DeleteGroupsToPrincipalRequest is request model for deleting group to principal.

swagger:parameters deleteGroupsToPrincipalRequest

func (*DeleteGroupsToPrincipalRequest) Descriptor deprecated

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

Deprecated: Use DeleteGroupsToPrincipalRequest.ProtoReflect.Descriptor instead.

func (*DeleteGroupsToPrincipalRequest) GetGroupIds

func (x *DeleteGroupsToPrincipalRequest) GetGroupIds() []string

func (*DeleteGroupsToPrincipalRequest) GetNamespace

func (x *DeleteGroupsToPrincipalRequest) GetNamespace() string

func (*DeleteGroupsToPrincipalRequest) GetOrganizationId

func (x *DeleteGroupsToPrincipalRequest) GetOrganizationId() string

func (*DeleteGroupsToPrincipalRequest) GetPrincipalId

func (x *DeleteGroupsToPrincipalRequest) GetPrincipalId() string

func (*DeleteGroupsToPrincipalRequest) ProtoMessage

func (*DeleteGroupsToPrincipalRequest) ProtoMessage()

func (*DeleteGroupsToPrincipalRequest) ProtoReflect

func (*DeleteGroupsToPrincipalRequest) Reset

func (x *DeleteGroupsToPrincipalRequest) Reset()

func (*DeleteGroupsToPrincipalRequest) String

type DeleteGroupsToPrincipalResponse

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

DeleteGroupsToPrincipalResponse is response model for deleting group to principal.

swagger:parameters deleteGroupsToPrincipalResponse

func (*DeleteGroupsToPrincipalResponse) Descriptor deprecated

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

Deprecated: Use DeleteGroupsToPrincipalResponse.ProtoReflect.Descriptor instead.

func (*DeleteGroupsToPrincipalResponse) ProtoMessage

func (*DeleteGroupsToPrincipalResponse) ProtoMessage()

func (*DeleteGroupsToPrincipalResponse) ProtoReflect

func (*DeleteGroupsToPrincipalResponse) Reset

func (*DeleteGroupsToPrincipalResponse) String

type DeleteOrganizationRequest

type DeleteOrganizationRequest struct {

	// in: path
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

DeleteOrganizationRequest is request model for deleting organization.

swagger:parameters deleteOrganizationRequest

func (*DeleteOrganizationRequest) Descriptor deprecated

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

Deprecated: Use DeleteOrganizationRequest.ProtoReflect.Descriptor instead.

func (*DeleteOrganizationRequest) GetId

func (x *DeleteOrganizationRequest) GetId() string

func (*DeleteOrganizationRequest) ProtoMessage

func (*DeleteOrganizationRequest) ProtoMessage()

func (*DeleteOrganizationRequest) ProtoReflect

func (*DeleteOrganizationRequest) Reset

func (x *DeleteOrganizationRequest) Reset()

func (*DeleteOrganizationRequest) String

func (x *DeleteOrganizationRequest) String() string

type DeleteOrganizationResponse

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

DeleteOrganizationResponse is response model for deleting organization by id.

swagger:parameters deleteOrganizationResponse

func (*DeleteOrganizationResponse) Descriptor deprecated

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

Deprecated: Use DeleteOrganizationResponse.ProtoReflect.Descriptor instead.

func (*DeleteOrganizationResponse) ProtoMessage

func (*DeleteOrganizationResponse) ProtoMessage()

func (*DeleteOrganizationResponse) ProtoReflect

func (*DeleteOrganizationResponse) Reset

func (x *DeleteOrganizationResponse) Reset()

func (*DeleteOrganizationResponse) String

func (x *DeleteOrganizationResponse) String() string

type DeletePermissionRequest

type DeletePermissionRequest struct {

	// in: path
	OrganizationId string `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"`
	// in: path
	Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"`
	// in: path
	Id string `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

DeletePermissionRequest is request model for deleting permission.

swagger:parameters deletePermissionRequest

func (*DeletePermissionRequest) Descriptor deprecated

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

Deprecated: Use DeletePermissionRequest.ProtoReflect.Descriptor instead.

func (*DeletePermissionRequest) GetId

func (x *DeletePermissionRequest) GetId() string

func (*DeletePermissionRequest) GetNamespace

func (x *DeletePermissionRequest) GetNamespace() string

func (*DeletePermissionRequest) GetOrganizationId

func (x *DeletePermissionRequest) GetOrganizationId() string

func (*DeletePermissionRequest) ProtoMessage

func (*DeletePermissionRequest) ProtoMessage()

func (*DeletePermissionRequest) ProtoReflect

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

func (*DeletePermissionRequest) Reset

func (x *DeletePermissionRequest) Reset()

func (*DeletePermissionRequest) String

func (x *DeletePermissionRequest) String() string

type DeletePermissionResponse

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

DeletePermissionResponse is response model for deleting permission by id.

swagger:parameters deletePermissionResponse

func (*DeletePermissionResponse) Descriptor deprecated

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

Deprecated: Use DeletePermissionResponse.ProtoReflect.Descriptor instead.

func (*DeletePermissionResponse) ProtoMessage

func (*DeletePermissionResponse) ProtoMessage()

func (*DeletePermissionResponse) ProtoReflect

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

func (*DeletePermissionResponse) Reset

func (x *DeletePermissionResponse) Reset()

func (*DeletePermissionResponse) String

func (x *DeletePermissionResponse) String() string

type DeletePermissionsToPrincipalRequest

type DeletePermissionsToPrincipalRequest struct {

	// in: path
	OrganizationId string `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"`
	// in: path
	Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"`
	// in: path
	PrincipalId string `protobuf:"bytes,3,opt,name=principal_id,json=principalId,proto3" json:"principal_id,omitempty"`
	// PermissionId to remove
	// in: body
	PermissionIds []string `protobuf:"bytes,4,rep,name=permission_ids,json=permissionIds,proto3" json:"permission_ids,omitempty"`
	// contains filtered or unexported fields
}

DeletePermissionsToPrincipalRequest is request model for deleting permission to principal.

swagger:parameters deletePermissionsToPrincipalRequest

func (*DeletePermissionsToPrincipalRequest) Descriptor deprecated

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

Deprecated: Use DeletePermissionsToPrincipalRequest.ProtoReflect.Descriptor instead.

func (*DeletePermissionsToPrincipalRequest) GetNamespace

func (x *DeletePermissionsToPrincipalRequest) GetNamespace() string

func (*DeletePermissionsToPrincipalRequest) GetOrganizationId

func (x *DeletePermissionsToPrincipalRequest) GetOrganizationId() string

func (*DeletePermissionsToPrincipalRequest) GetPermissionIds

func (x *DeletePermissionsToPrincipalRequest) GetPermissionIds() []string

func (*DeletePermissionsToPrincipalRequest) GetPrincipalId

func (x *DeletePermissionsToPrincipalRequest) GetPrincipalId() string

func (*DeletePermissionsToPrincipalRequest) ProtoMessage

func (*DeletePermissionsToPrincipalRequest) ProtoMessage()

func (*DeletePermissionsToPrincipalRequest) ProtoReflect

func (*DeletePermissionsToPrincipalRequest) Reset

func (*DeletePermissionsToPrincipalRequest) String

type DeletePermissionsToPrincipalResponse

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

DeletePermissionsToPrincipalResponse is response model for deleting permission to principal.

swagger:parameters deletePermissionsToPrincipalResponse

func (*DeletePermissionsToPrincipalResponse) Descriptor deprecated

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

Deprecated: Use DeletePermissionsToPrincipalResponse.ProtoReflect.Descriptor instead.

func (*DeletePermissionsToPrincipalResponse) ProtoMessage

func (*DeletePermissionsToPrincipalResponse) ProtoMessage()

func (*DeletePermissionsToPrincipalResponse) ProtoReflect

func (*DeletePermissionsToPrincipalResponse) Reset

func (*DeletePermissionsToPrincipalResponse) String

type DeletePermissionsToRoleRequest

type DeletePermissionsToRoleRequest struct {

	// in: path
	OrganizationId string `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"`
	// in: path
	Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"`
	// in: path
	RoleId string `protobuf:"bytes,3,opt,name=role_id,json=roleId,proto3" json:"role_id,omitempty"`
	// PermissionIds to remove
	// in: body
	PermissionIds []string `protobuf:"bytes,4,rep,name=permission_ids,json=permissionIds,proto3" json:"permission_ids,omitempty"`
	// contains filtered or unexported fields
}

DeletePermissionsToRoleRequest is request model for deleting permission to role.

swagger:parameters deletePermissionsToRoleRequest

func (*DeletePermissionsToRoleRequest) Descriptor deprecated

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

Deprecated: Use DeletePermissionsToRoleRequest.ProtoReflect.Descriptor instead.

func (*DeletePermissionsToRoleRequest) GetNamespace

func (x *DeletePermissionsToRoleRequest) GetNamespace() string

func (*DeletePermissionsToRoleRequest) GetOrganizationId

func (x *DeletePermissionsToRoleRequest) GetOrganizationId() string

func (*DeletePermissionsToRoleRequest) GetPermissionIds

func (x *DeletePermissionsToRoleRequest) GetPermissionIds() []string

func (*DeletePermissionsToRoleRequest) GetRoleId

func (x *DeletePermissionsToRoleRequest) GetRoleId() string

func (*DeletePermissionsToRoleRequest) ProtoMessage

func (*DeletePermissionsToRoleRequest) ProtoMessage()

func (*DeletePermissionsToRoleRequest) ProtoReflect

func (*DeletePermissionsToRoleRequest) Reset

func (x *DeletePermissionsToRoleRequest) Reset()

func (*DeletePermissionsToRoleRequest) String

type DeletePermissionsToRoleResponse

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

DeletePermissionsToRoleResponse is response model for deleting permission to role.

swagger:parameters deletePermissionsToRoleResponse

func (*DeletePermissionsToRoleResponse) Descriptor deprecated

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

Deprecated: Use DeletePermissionsToRoleResponse.ProtoReflect.Descriptor instead.

func (*DeletePermissionsToRoleResponse) ProtoMessage

func (*DeletePermissionsToRoleResponse) ProtoMessage()

func (*DeletePermissionsToRoleResponse) ProtoReflect

func (*DeletePermissionsToRoleResponse) Reset

func (*DeletePermissionsToRoleResponse) String

type DeletePrincipalRequest

type DeletePrincipalRequest struct {

	// in: path
	OrganizationId string `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"`
	// in: path
	Id string `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

DeletePrincipalRequest is request model for deleting principal.

swagger:parameters deletePrincipalRequest

func (*DeletePrincipalRequest) Descriptor deprecated

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

Deprecated: Use DeletePrincipalRequest.ProtoReflect.Descriptor instead.

func (*DeletePrincipalRequest) GetId

func (x *DeletePrincipalRequest) GetId() string

func (*DeletePrincipalRequest) GetOrganizationId

func (x *DeletePrincipalRequest) GetOrganizationId() string

func (*DeletePrincipalRequest) ProtoMessage

func (*DeletePrincipalRequest) ProtoMessage()

func (*DeletePrincipalRequest) ProtoReflect

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

func (*DeletePrincipalRequest) Reset

func (x *DeletePrincipalRequest) Reset()

func (*DeletePrincipalRequest) String

func (x *DeletePrincipalRequest) String() string

type DeletePrincipalResponse

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

DeletePrincipalResponse is response model for deleting principal by id.

swagger:parameters deletePrincipalResponse

func (*DeletePrincipalResponse) Descriptor deprecated

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

Deprecated: Use DeletePrincipalResponse.ProtoReflect.Descriptor instead.

func (*DeletePrincipalResponse) ProtoMessage

func (*DeletePrincipalResponse) ProtoMessage()

func (*DeletePrincipalResponse) ProtoReflect

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

func (*DeletePrincipalResponse) Reset

func (x *DeletePrincipalResponse) Reset()

func (*DeletePrincipalResponse) String

func (x *DeletePrincipalResponse) String() string

type DeleteRelationshipRequest

type DeleteRelationshipRequest struct {

	// in: path
	OrganizationId string `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"`
	// in: path
	Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"`
	// in: path
	Id string `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

DeleteRelationshipRequest is request model for deleting relationship.

swagger:parameters deleteRelationshipRequest

func (*DeleteRelationshipRequest) Descriptor deprecated

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

Deprecated: Use DeleteRelationshipRequest.ProtoReflect.Descriptor instead.

func (*DeleteRelationshipRequest) GetId

func (x *DeleteRelationshipRequest) GetId() string

func (*DeleteRelationshipRequest) GetNamespace

func (x *DeleteRelationshipRequest) GetNamespace() string

func (*DeleteRelationshipRequest) GetOrganizationId

func (x *DeleteRelationshipRequest) GetOrganizationId() string

func (*DeleteRelationshipRequest) ProtoMessage

func (*DeleteRelationshipRequest) ProtoMessage()

func (*DeleteRelationshipRequest) ProtoReflect

func (*DeleteRelationshipRequest) Reset

func (x *DeleteRelationshipRequest) Reset()

func (*DeleteRelationshipRequest) String

func (x *DeleteRelationshipRequest) String() string

type DeleteRelationshipResponse

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

DeleteRelationshipResponse is response model for deleting relationship by id.

swagger:parameters deleteRelationshipResponse

func (*DeleteRelationshipResponse) Descriptor deprecated

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

Deprecated: Use DeleteRelationshipResponse.ProtoReflect.Descriptor instead.

func (*DeleteRelationshipResponse) ProtoMessage

func (*DeleteRelationshipResponse) ProtoMessage()

func (*DeleteRelationshipResponse) ProtoReflect

func (*DeleteRelationshipResponse) Reset

func (x *DeleteRelationshipResponse) Reset()

func (*DeleteRelationshipResponse) String

func (x *DeleteRelationshipResponse) String() string

type DeleteRelationshipsToPrincipalRequest

type DeleteRelationshipsToPrincipalRequest struct {

	// in: path
	OrganizationId string `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"`
	// in: path
	Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"`
	// in: path
	PrincipalId string `protobuf:"bytes,3,opt,name=principal_id,json=principalId,proto3" json:"principal_id,omitempty"`
	// RelationshipId to remove
	// in: body
	RelationshipIds []string `protobuf:"bytes,4,rep,name=relationship_ids,json=relationshipIds,proto3" json:"relationship_ids,omitempty"`
	// contains filtered or unexported fields
}

DeleteRelationshipsToPrincipalRequest is request model for deleting relation to principal.

swagger:parameters deleteRelationshipsToPrincipalRequest

func (*DeleteRelationshipsToPrincipalRequest) Descriptor deprecated

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

Deprecated: Use DeleteRelationshipsToPrincipalRequest.ProtoReflect.Descriptor instead.

func (*DeleteRelationshipsToPrincipalRequest) GetNamespace

func (*DeleteRelationshipsToPrincipalRequest) GetOrganizationId

func (x *DeleteRelationshipsToPrincipalRequest) GetOrganizationId() string

func (*DeleteRelationshipsToPrincipalRequest) GetPrincipalId

func (x *DeleteRelationshipsToPrincipalRequest) GetPrincipalId() string

func (*DeleteRelationshipsToPrincipalRequest) GetRelationshipIds

func (x *DeleteRelationshipsToPrincipalRequest) GetRelationshipIds() []string

func (*DeleteRelationshipsToPrincipalRequest) ProtoMessage

func (*DeleteRelationshipsToPrincipalRequest) ProtoMessage()

func (*DeleteRelationshipsToPrincipalRequest) ProtoReflect

func (*DeleteRelationshipsToPrincipalRequest) Reset

func (*DeleteRelationshipsToPrincipalRequest) String

type DeleteRelationshipsToPrincipalResponse

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

DeleteRelationshipsToPrincipalResponse is response model for deleting relation to principal.

swagger:parameters deleteRelationshipsToPrincipalResponse

func (*DeleteRelationshipsToPrincipalResponse) Descriptor deprecated

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

Deprecated: Use DeleteRelationshipsToPrincipalResponse.ProtoReflect.Descriptor instead.

func (*DeleteRelationshipsToPrincipalResponse) ProtoMessage

func (*DeleteRelationshipsToPrincipalResponse) ProtoReflect

func (*DeleteRelationshipsToPrincipalResponse) Reset

func (*DeleteRelationshipsToPrincipalResponse) String

type DeleteResourceRequest

type DeleteResourceRequest struct {

	// in: path
	OrganizationId string `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"`
	// in: path
	Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"`
	// in: path
	Id string `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

DeleteResourceRequest is request model for deleting resource.

swagger:parameters deleteResourceRequest

func (*DeleteResourceRequest) Descriptor deprecated

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

Deprecated: Use DeleteResourceRequest.ProtoReflect.Descriptor instead.

func (*DeleteResourceRequest) GetId

func (x *DeleteResourceRequest) GetId() string

func (*DeleteResourceRequest) GetNamespace

func (x *DeleteResourceRequest) GetNamespace() string

func (*DeleteResourceRequest) GetOrganizationId

func (x *DeleteResourceRequest) GetOrganizationId() string

func (*DeleteResourceRequest) ProtoMessage

func (*DeleteResourceRequest) ProtoMessage()

func (*DeleteResourceRequest) ProtoReflect

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

func (*DeleteResourceRequest) Reset

func (x *DeleteResourceRequest) Reset()

func (*DeleteResourceRequest) String

func (x *DeleteResourceRequest) String() string

type DeleteResourceResponse

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

DeleteResourceResponse is response model for deleting resource by id.

swagger:parameters deleteResourceResponse

func (*DeleteResourceResponse) Descriptor deprecated

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

Deprecated: Use DeleteResourceResponse.ProtoReflect.Descriptor instead.

func (*DeleteResourceResponse) ProtoMessage

func (*DeleteResourceResponse) ProtoMessage()

func (*DeleteResourceResponse) ProtoReflect

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

func (*DeleteResourceResponse) Reset

func (x *DeleteResourceResponse) Reset()

func (*DeleteResourceResponse) String

func (x *DeleteResourceResponse) String() string

type DeleteRoleRequest

type DeleteRoleRequest struct {

	// in: path
	OrganizationId string `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"`
	// in: path
	Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"`
	// in: path
	Id string `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

DeleteRoleRequest is request model for deleting role.

swagger:parameters deleteRoleRequest

func (*DeleteRoleRequest) Descriptor deprecated

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

Deprecated: Use DeleteRoleRequest.ProtoReflect.Descriptor instead.

func (*DeleteRoleRequest) GetId

func (x *DeleteRoleRequest) GetId() string

func (*DeleteRoleRequest) GetNamespace

func (x *DeleteRoleRequest) GetNamespace() string

func (*DeleteRoleRequest) GetOrganizationId

func (x *DeleteRoleRequest) GetOrganizationId() string

func (*DeleteRoleRequest) ProtoMessage

func (*DeleteRoleRequest) ProtoMessage()

func (*DeleteRoleRequest) ProtoReflect

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

func (*DeleteRoleRequest) Reset

func (x *DeleteRoleRequest) Reset()

func (*DeleteRoleRequest) String

func (x *DeleteRoleRequest) String() string

type DeleteRoleResponse

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

DeleteRoleResponse is response model for deleting role by id.

swagger:parameters deleteRoleResponse

func (*DeleteRoleResponse) Descriptor deprecated

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

Deprecated: Use DeleteRoleResponse.ProtoReflect.Descriptor instead.

func (*DeleteRoleResponse) ProtoMessage

func (*DeleteRoleResponse) ProtoMessage()

func (*DeleteRoleResponse) ProtoReflect

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

func (*DeleteRoleResponse) Reset

func (x *DeleteRoleResponse) Reset()

func (*DeleteRoleResponse) String

func (x *DeleteRoleResponse) String() string

type DeleteRolesToGroupRequest

type DeleteRolesToGroupRequest struct {

	// in: path
	OrganizationId string `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"`
	// in: path
	Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"`
	// in: path
	GroupId string `protobuf:"bytes,3,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
	// RoleIds to remove
	// in: body
	RoleIds []string `protobuf:"bytes,4,rep,name=role_ids,json=roleIds,proto3" json:"role_ids,omitempty"`
	// contains filtered or unexported fields
}

DeleteRolesToGroupRequest is request model for deleting role to group.

swagger:parameters deleteRolesToGroupRequest

func (*DeleteRolesToGroupRequest) Descriptor deprecated

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

Deprecated: Use DeleteRolesToGroupRequest.ProtoReflect.Descriptor instead.

func (*DeleteRolesToGroupRequest) GetGroupId

func (x *DeleteRolesToGroupRequest) GetGroupId() string

func (*DeleteRolesToGroupRequest) GetNamespace

func (x *DeleteRolesToGroupRequest) GetNamespace() string

func (*DeleteRolesToGroupRequest) GetOrganizationId

func (x *DeleteRolesToGroupRequest) GetOrganizationId() string

func (*DeleteRolesToGroupRequest) GetRoleIds

func (x *DeleteRolesToGroupRequest) GetRoleIds() []string

func (*DeleteRolesToGroupRequest) ProtoMessage

func (*DeleteRolesToGroupRequest) ProtoMessage()

func (*DeleteRolesToGroupRequest) ProtoReflect

func (*DeleteRolesToGroupRequest) Reset

func (x *DeleteRolesToGroupRequest) Reset()

func (*DeleteRolesToGroupRequest) String

func (x *DeleteRolesToGroupRequest) String() string

type DeleteRolesToGroupResponse

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

DeleteRolesToGroupResponse is response model for deleting role to group.

swagger:parameters deleteRolesToGroupResponse

func (*DeleteRolesToGroupResponse) Descriptor deprecated

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

Deprecated: Use DeleteRolesToGroupResponse.ProtoReflect.Descriptor instead.

func (*DeleteRolesToGroupResponse) ProtoMessage

func (*DeleteRolesToGroupResponse) ProtoMessage()

func (*DeleteRolesToGroupResponse) ProtoReflect

func (*DeleteRolesToGroupResponse) Reset

func (x *DeleteRolesToGroupResponse) Reset()

func (*DeleteRolesToGroupResponse) String

func (x *DeleteRolesToGroupResponse) String() string

type DeleteRolesToPrincipalRequest

type DeleteRolesToPrincipalRequest struct {

	// in: path
	OrganizationId string `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"`
	// in: path
	Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"`
	// in: path
	PrincipalId string `protobuf:"bytes,3,opt,name=principal_id,json=principalId,proto3" json:"principal_id,omitempty"`
	// RoleId to remove
	// in: body
	RoleIds []string `protobuf:"bytes,4,rep,name=role_ids,json=roleIds,proto3" json:"role_ids,omitempty"`
	// contains filtered or unexported fields
}

DeleteRolesToPrincipalRequest is request model for deleting role to principal.

swagger:parameters deleteRolesToPrincipalRequest

func (*DeleteRolesToPrincipalRequest) Descriptor deprecated

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

Deprecated: Use DeleteRolesToPrincipalRequest.ProtoReflect.Descriptor instead.

func (*DeleteRolesToPrincipalRequest) GetNamespace

func (x *DeleteRolesToPrincipalRequest) GetNamespace() string

func (*DeleteRolesToPrincipalRequest) GetOrganizationId

func (x *DeleteRolesToPrincipalRequest) GetOrganizationId() string

func (*DeleteRolesToPrincipalRequest) GetPrincipalId

func (x *DeleteRolesToPrincipalRequest) GetPrincipalId() string

func (*DeleteRolesToPrincipalRequest) GetRoleIds

func (x *DeleteRolesToPrincipalRequest) GetRoleIds() []string

func (*DeleteRolesToPrincipalRequest) ProtoMessage

func (*DeleteRolesToPrincipalRequest) ProtoMessage()

func (*DeleteRolesToPrincipalRequest) ProtoReflect

func (*DeleteRolesToPrincipalRequest) Reset

func (x *DeleteRolesToPrincipalRequest) Reset()

func (*DeleteRolesToPrincipalRequest) String

type DeleteRolesToPrincipalResponse

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

DeleteRolesToPrincipalResponse is response model for deleting role to principal.

swagger:parameters deleteRolesToPrincipalResponse

func (*DeleteRolesToPrincipalResponse) Descriptor deprecated

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

Deprecated: Use DeleteRolesToPrincipalResponse.ProtoReflect.Descriptor instead.

func (*DeleteRolesToPrincipalResponse) ProtoMessage

func (*DeleteRolesToPrincipalResponse) ProtoMessage()

func (*DeleteRolesToPrincipalResponse) ProtoReflect

func (*DeleteRolesToPrincipalResponse) Reset

func (x *DeleteRolesToPrincipalResponse) Reset()

func (*DeleteRolesToPrincipalResponse) String

type GetOrganizationRequest

type GetOrganizationRequest struct {

	// in: path
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

GetOrganizationRequest is request model for fetching organization.

swagger:parameters getOrganizationRequest

func (*GetOrganizationRequest) Descriptor deprecated

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

Deprecated: Use GetOrganizationRequest.ProtoReflect.Descriptor instead.

func (*GetOrganizationRequest) GetId

func (x *GetOrganizationRequest) GetId() string

func (*GetOrganizationRequest) ProtoMessage

func (*GetOrganizationRequest) ProtoMessage()

func (*GetOrganizationRequest) ProtoReflect

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

func (*GetOrganizationRequest) Reset

func (x *GetOrganizationRequest) Reset()

func (*GetOrganizationRequest) String

func (x *GetOrganizationRequest) String() string

type GetOrganizationResponse

type GetOrganizationResponse struct {

	// ID unique identifier assigned to this organization.
	// in: body
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Version
	// in: body
	Version int64 `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty"`
	// Name of the organization.
	// in: body
	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	// Allowed Namespaces for organization.
	// in: body
	Namespaces []string `protobuf:"bytes,4,rep,name=namespaces,proto3" json:"namespaces,omitempty"`
	// url for organization.
	// in: body
	Url string `protobuf:"bytes,5,opt,name=url,proto3" json:"url,omitempty"`
	// Optional parent ids.
	// in: body
	ParentIds []string `protobuf:"bytes,6,rep,name=parent_ids,json=parentIds,proto3" json:"parent_ids,omitempty"` // optional
	// Created date
	// in: body
	Created *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=created,proto3" json:"created,omitempty"`
	// Updated date
	// in: body
	Updated *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=updated,proto3" json:"updated,omitempty"`
	// contains filtered or unexported fields
}

GetOrganizationResponse is response model for retrieving organization by id.

swagger:parameters getOrganizationResponse

func (*GetOrganizationResponse) Descriptor deprecated

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

Deprecated: Use GetOrganizationResponse.ProtoReflect.Descriptor instead.

func (*GetOrganizationResponse) GetCreated

func (*GetOrganizationResponse) GetId

func (x *GetOrganizationResponse) GetId() string

func (*GetOrganizationResponse) GetName

func (x *GetOrganizationResponse) GetName() string

func (*GetOrganizationResponse) GetNamespaces

func (x *GetOrganizationResponse) GetNamespaces() []string

func (*GetOrganizationResponse) GetParentIds

func (x *GetOrganizationResponse) GetParentIds() []string

func (*GetOrganizationResponse) GetUpdated

func (*GetOrganizationResponse) GetUrl

func (x *GetOrganizationResponse) GetUrl() string

func (*GetOrganizationResponse) GetVersion

func (x *GetOrganizationResponse) GetVersion() int64

func (*GetOrganizationResponse) ProtoMessage

func (*GetOrganizationResponse) ProtoMessage()

func (*GetOrganizationResponse) ProtoReflect

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

func (*GetOrganizationResponse) Reset

func (x *GetOrganizationResponse) Reset()

func (*GetOrganizationResponse) String

func (x *GetOrganizationResponse) String() string

type GetPrincipalRequest

type GetPrincipalRequest struct {

	// in: path
	OrganizationId string `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"`
	// in: path
	Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"`
	// in: path
	Id string `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

GetPrincipalRequest is request model for geting principals.

swagger:parameters getPrincipalRequest

func (*GetPrincipalRequest) Descriptor deprecated

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

Deprecated: Use GetPrincipalRequest.ProtoReflect.Descriptor instead.

func (*GetPrincipalRequest) GetId

func (x *GetPrincipalRequest) GetId() string

func (*GetPrincipalRequest) GetNamespace

func (x *GetPrincipalRequest) GetNamespace() string

func (*GetPrincipalRequest) GetOrganizationId

func (x *GetPrincipalRequest) GetOrganizationId() string

func (*GetPrincipalRequest) ProtoMessage

func (*GetPrincipalRequest) ProtoMessage()

func (*GetPrincipalRequest) ProtoReflect

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

func (*GetPrincipalRequest) Reset

func (x *GetPrincipalRequest) Reset()

func (*GetPrincipalRequest) String

func (x *GetPrincipalRequest) String() string

type GetPrincipalResponse

type GetPrincipalResponse struct {

	// ID unique identifier assigned to this principal.
	// in: body
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Version
	// in: body
	Version int64 `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty"`
	// OrganizationId of the principal user.
	// in: body
	OrganizationId string `protobuf:"bytes,3,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"`
	// Namespaces for principal
	// in: body
	Namespaces []string `protobuf:"bytes,4,rep,name=namespaces,proto3" json:"namespaces,omitempty"`
	// Username of the principal user.
	// in: body
	Username string `protobuf:"bytes,5,opt,name=username,proto3" json:"username,omitempty"`
	// Email of the principal user.
	// in: body
	Email string `protobuf:"bytes,6,opt,name=email,proto3" json:"email,omitempty"`
	// Name of the principal user.
	// in: body
	Name string `protobuf:"bytes,7,opt,name=name,proto3" json:"name,omitempty"`
	// Attributes of principal
	// in: body
	Attributes map[string]string `` /* 161-byte string literal not displayed */
	// Groups that the principal belongs to including parent groups.
	// in: body
	Groups []*types.Group `protobuf:"bytes,9,rep,name=groups,proto3" json:"groups,omitempty"`
	// Roles that the principal belongs to including parent roles.
	// in: body
	Roles []*types.Role `protobuf:"bytes,10,rep,name=roles,proto3" json:"roles,omitempty"`
	// Resources that the principal belongs to including parent resources.
	// in: body
	Resources []*types.Resource `protobuf:"bytes,11,rep,name=resources,proto3" json:"resources,omitempty"`
	// Permissions that the principal belongs to including parent permissions.
	// in: body
	Permissions []*types.Permission `protobuf:"bytes,12,rep,name=permissions,proto3" json:"permissions,omitempty"`
	// Relationships that the principal belongs to.
	// in: body
	Relations []*types.Relationship `protobuf:"bytes,13,rep,name=relations,proto3" json:"relations,omitempty"`
	// Groups that the principal belongs to (only direct).
	// in: body
	GroupIds []string `protobuf:"bytes,14,rep,name=group_ids,json=groupIds,proto3" json:"group_ids,omitempty"`
	// Roles that the principal belongs to (only direct).
	// in: body
	RoleIds []string `protobuf:"bytes,15,rep,name=role_ids,json=roleIds,proto3" json:"role_ids,omitempty"`
	// Permissions that the principal belongs to (only direct).
	// in: body
	PermissionIds []string `protobuf:"bytes,16,rep,name=permission_ids,json=permissionIds,proto3" json:"permission_ids,omitempty"`
	// Created date
	// in: body
	Created *timestamppb.Timestamp `protobuf:"bytes,17,opt,name=created,proto3" json:"created,omitempty"`
	// Updated date
	// in: body
	Updated *timestamppb.Timestamp `protobuf:"bytes,18,opt,name=updated,proto3" json:"updated,omitempty"`
	// contains filtered or unexported fields
}

GetPrincipalResponse is response model for geting principal.

swagger:parameters getPrincipalResponse

func (*GetPrincipalResponse) Descriptor deprecated

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

Deprecated: Use GetPrincipalResponse.ProtoReflect.Descriptor instead.

func (*GetPrincipalResponse) GetAttributes

func (x *GetPrincipalResponse) GetAttributes() map[string]string

func (*GetPrincipalResponse) GetCreated

func (x *GetPrincipalResponse) GetCreated() *timestamppb.Timestamp

func (*GetPrincipalResponse) GetEmail

func (x *GetPrincipalResponse) GetEmail() string

func (*GetPrincipalResponse) GetGroupIds

func (x *GetPrincipalResponse) GetGroupIds() []string

func (*GetPrincipalResponse) GetGroups

func (x *GetPrincipalResponse) GetGroups() []*types.Group

func (*GetPrincipalResponse) GetId

func (x *GetPrincipalResponse) GetId() string

func (*GetPrincipalResponse) GetName

func (x *GetPrincipalResponse) GetName() string

func (*GetPrincipalResponse) GetNamespaces

func (x *GetPrincipalResponse) GetNamespaces() []string

func (*GetPrincipalResponse) GetOrganizationId

func (x *GetPrincipalResponse) GetOrganizationId() string

func (*GetPrincipalResponse) GetPermissionIds

func (x *GetPrincipalResponse) GetPermissionIds() []string

func (*GetPrincipalResponse) GetPermissions

func (x *GetPrincipalResponse) GetPermissions() []*types.Permission

func (*GetPrincipalResponse) GetRelations

func (x *GetPrincipalResponse) GetRelations() []*types.Relationship

func (*GetPrincipalResponse) GetResources

func (x *GetPrincipalResponse) GetResources() []*types.Resource

func (*GetPrincipalResponse) GetRoleIds

func (x *GetPrincipalResponse) GetRoleIds() []string

func (*GetPrincipalResponse) GetRoles

func (x *GetPrincipalResponse) GetRoles() []*types.Role

func (*GetPrincipalResponse) GetUpdated

func (x *GetPrincipalResponse) GetUpdated() *timestamppb.Timestamp

func (*GetPrincipalResponse) GetUsername

func (x *GetPrincipalResponse) GetUsername() string

func (*GetPrincipalResponse) GetVersion

func (x *GetPrincipalResponse) GetVersion() int64

func (*GetPrincipalResponse) ProtoMessage

func (*GetPrincipalResponse) ProtoMessage()

func (*GetPrincipalResponse) ProtoReflect

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

func (*GetPrincipalResponse) Reset

func (x *GetPrincipalResponse) Reset()

func (*GetPrincipalResponse) String

func (x *GetPrincipalResponse) String() string

type GroupsServiceClient

type GroupsServiceClient interface {
	// Create Groups swagger:route POST /api/v1/{organization_id}/{namespace}/groups groups updateGroupRequest
	//
	// Responses:
	// 200: updateGroupResponse
	// 400	Bad Request
	// 401	Not Authorized
	// 500	Internal Error
	Create(ctx context.Context, in *CreateGroupRequest, opts ...grpc.CallOption) (*CreateGroupResponse, error)
	// Update Groups swagger:route PUT /api/v1/{organization_id}/{namespace}/groups groups/{id} updateGroupRequest
	//
	// Responses:
	// 200: updateGroupResponse
	// 400	Bad Request
	// 401	Not Authorized
	// 500	Internal Error
	Update(ctx context.Context, in *UpdateGroupRequest, opts ...grpc.CallOption) (*UpdateGroupResponse, error)
	// Query Group swagger:route GET /api/v1/{organization_id}/{namespace}/groups groups queryGroupRequest
	//
	// Responses:
	// 200: queryGroupResponse
	// 400	Bad Request
	// 401	Not Authorized
	// 500	Internal Error
	Query(ctx context.Context, in *QueryGroupRequest, opts ...grpc.CallOption) (GroupsService_QueryClient, error)
	// Delete Group swagger:route DELETE /api/v1/{organization_id}/{namespace}/groups/{id} groups deleteGroupRequest
	//
	// Responses:
	// 200: deleteGroupResponse
	// 400	Bad Request
	// 401	Not Authorized
	// 500	Internal Error
	Delete(ctx context.Context, in *DeleteGroupRequest, opts ...grpc.CallOption) (*DeleteGroupResponse, error)
	// AddRoles Group swagger:route PUT /api/v1/{organization_id}/{namespace}/groups/{id}/roles/add groups addRolesToGroupRequest
	//
	// Responses:
	// 200: addRolesToGroupResponse
	// 400	Bad Request
	// 401	Not Authorized
	// 500	Internal Error
	AddRoles(ctx context.Context, in *AddRolesToGroupRequest, opts ...grpc.CallOption) (*AddRolesToGroupResponse, error)
	// DeleteRoles Group swagger:route PUT /api/v1/{organization_id}/{namespace}/groups/{id}/roles/delete groups deleteRolesToGroupRequest
	//
	// Responses:
	// 200: deleteRolesToGroupResponse
	// 400	Bad Request
	// 401	Not Authorized
	// 500	Internal Error
	DeleteRoles(ctx context.Context, in *DeleteRolesToGroupRequest, opts ...grpc.CallOption) (*DeleteRolesToGroupResponse, error)
}

GroupsServiceClient is the client API for GroupsService 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 GroupsServiceServer

type GroupsServiceServer interface {
	// Create Groups swagger:route POST /api/v1/{organization_id}/{namespace}/groups groups updateGroupRequest
	//
	// Responses:
	// 200: updateGroupResponse
	// 400	Bad Request
	// 401	Not Authorized
	// 500	Internal Error
	Create(context.Context, *CreateGroupRequest) (*CreateGroupResponse, error)
	// Update Groups swagger:route PUT /api/v1/{organization_id}/{namespace}/groups groups/{id} updateGroupRequest
	//
	// Responses:
	// 200: updateGroupResponse
	// 400	Bad Request
	// 401	Not Authorized
	// 500	Internal Error
	Update(context.Context, *UpdateGroupRequest) (*UpdateGroupResponse, error)
	// Query Group swagger:route GET /api/v1/{organization_id}/{namespace}/groups groups queryGroupRequest
	//
	// Responses:
	// 200: queryGroupResponse
	// 400	Bad Request
	// 401	Not Authorized
	// 500	Internal Error
	Query(*QueryGroupRequest, GroupsService_QueryServer) error
	// Delete Group swagger:route DELETE /api/v1/{organization_id}/{namespace}/groups/{id} groups deleteGroupRequest
	//
	// Responses:
	// 200: deleteGroupResponse
	// 400	Bad Request
	// 401	Not Authorized
	// 500	Internal Error
	Delete(context.Context, *DeleteGroupRequest) (*DeleteGroupResponse, error)
	// AddRoles Group swagger:route PUT /api/v1/{organization_id}/{namespace}/groups/{id}/roles/add groups addRolesToGroupRequest
	//
	// Responses:
	// 200: addRolesToGroupResponse
	// 400	Bad Request
	// 401	Not Authorized
	// 500	Internal Error
	AddRoles(context.Context, *AddRolesToGroupRequest) (*AddRolesToGroupResponse, error)
	// DeleteRoles Group swagger:route PUT /api/v1/{organization_id}/{namespace}/groups/{id}/roles/delete groups deleteRolesToGroupRequest
	//
	// Responses:
	// 200: deleteRolesToGroupResponse
	// 400	Bad Request
	// 401	Not Authorized
	// 500	Internal Error
	DeleteRoles(context.Context, *DeleteRolesToGroupRequest) (*DeleteRolesToGroupResponse, error)
	// contains filtered or unexported methods
}

GroupsServiceServer is the server API for GroupsService service. All implementations must embed UnimplementedGroupsServiceServer for forward compatibility

type GroupsService_QueryClient

type GroupsService_QueryClient interface {
	Recv() (*QueryGroupResponse, error)
	grpc.ClientStream
}

type GroupsService_QueryServer

type GroupsService_QueryServer interface {
	Send(*QueryGroupResponse) error
	grpc.ServerStream
}

type OrganizationsServiceClient

type OrganizationsServiceClient interface {
	// Create Organizations swagger:route POST /api/v1/organizations organizations createOrganizationRequest
	//
	// Responses:
	// 200: createOrganizationResponse
	// 400	Bad Request
	// 401	Not Authorized
	// 500	Internal Error
	Create(ctx context.Context, in *CreateOrganizationRequest, opts ...grpc.CallOption) (*CreateOrganizationResponse, error)
	// Update Organizations swagger:route PUT /api/v1/organizations/{id} organizations updateOrganizationRequest
	//
	// Responses:
	// 200: updateOrganizationResponse
	// 400	Bad Request
	// 401	Not Authorized
	// 500	Internal Error
	Update(ctx context.Context, in *UpdateOrganizationRequest, opts ...grpc.CallOption) (*UpdateOrganizationResponse, error)
	// Get Organization swagger:route GET /api/v1/organizations/{id} organizations getOrganizationRequest
	//
	// Responses:
	// 200: getOrganizationResponse
	// 400	Bad Request
	// 401	Not Authorized
	// 500	Internal Error
	Get(ctx context.Context, in *GetOrganizationRequest, opts ...grpc.CallOption) (*GetOrganizationResponse, error)
	// Query Organization swagger:route GET /api/v1/organizations organizations queryOrganizationRequest
	//
	// Responses:
	// 200: queryOrganizationResponse
	// 400	Bad Request
	// 401	Not Authorized
	// 500	Internal Error
	Query(ctx context.Context, in *QueryOrganizationRequest, opts ...grpc.CallOption) (OrganizationsService_QueryClient, error)
	// Delete Organization swagger:route DELETE /api/v1/organizations/{id} organizations deleteOrganizationRequest
	//
	// Responses:
	// 200: deleteOrganizationResponse
	// 400	Bad Request
	// 401	Not Authorized
	// 500	Internal Error
	Delete(ctx context.Context, in *DeleteOrganizationRequest, opts ...grpc.CallOption) (*DeleteOrganizationResponse, error)
}

OrganizationsServiceClient is the client API for OrganizationsService 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 OrganizationsServiceServer

type OrganizationsServiceServer interface {
	// Create Organizations swagger:route POST /api/v1/organizations organizations createOrganizationRequest
	//
	// Responses:
	// 200: createOrganizationResponse
	// 400	Bad Request
	// 401	Not Authorized
	// 500	Internal Error
	Create(context.Context, *CreateOrganizationRequest) (*CreateOrganizationResponse, error)
	// Update Organizations swagger:route PUT /api/v1/organizations/{id} organizations updateOrganizationRequest
	//
	// Responses:
	// 200: updateOrganizationResponse
	// 400	Bad Request
	// 401	Not Authorized
	// 500	Internal Error
	Update(context.Context, *UpdateOrganizationRequest) (*UpdateOrganizationResponse, error)
	// Get Organization swagger:route GET /api/v1/organizations/{id} organizations getOrganizationRequest
	//
	// Responses:
	// 200: getOrganizationResponse
	// 400	Bad Request
	// 401	Not Authorized
	// 500	Internal Error
	Get(context.Context, *GetOrganizationRequest) (*GetOrganizationResponse, error)
	// Query Organization swagger:route GET /api/v1/organizations organizations queryOrganizationRequest
	//
	// Responses:
	// 200: queryOrganizationResponse
	// 400	Bad Request
	// 401	Not Authorized
	// 500	Internal Error
	Query(*QueryOrganizationRequest, OrganizationsService_QueryServer) error
	// Delete Organization swagger:route DELETE /api/v1/organizations/{id} organizations deleteOrganizationRequest
	//
	// Responses:
	// 200: deleteOrganizationResponse
	// 400	Bad Request
	// 401	Not Authorized
	// 500	Internal Error
	Delete(context.Context, *DeleteOrganizationRequest) (*DeleteOrganizationResponse, error)
	// contains filtered or unexported methods
}

OrganizationsServiceServer is the server API for OrganizationsService service. All implementations must embed UnimplementedOrganizationsServiceServer for forward compatibility

type OrganizationsService_QueryClient

type OrganizationsService_QueryClient interface {
	Recv() (*QueryOrganizationResponse, error)
	grpc.ClientStream
}

type OrganizationsService_QueryServer

type OrganizationsService_QueryServer interface {
	Send(*QueryOrganizationResponse) error
	grpc.ServerStream
}

type PermissionsServiceClient

type PermissionsServiceClient interface {
	// Create Permissions swagger:route POST /api/v1/{organization_id}/{namespace}/permissions permissions createPermissionRequest
	//
	// Responses:
	// 200: createPermissionResponse
	// 400	Bad Request
	// 401	Not Authorized
	// 500	Internal Error
	Create(ctx context.Context, in *CreatePermissionRequest, opts ...grpc.CallOption) (*CreatePermissionResponse, error)
	// Update Permissions swagger:route PUT /api/v1/{organization_id}/{namespace}/permissions/{id} permissions updatePermissionRequest
	//
	// Responses:
	// 200: updatePermissionResponse
	// 400	Bad Request
	// 401	Not Authorized
	// 500	Internal Error
	Update(ctx context.Context, in *UpdatePermissionRequest, opts ...grpc.CallOption) (*UpdatePermissionResponse, error)
	// Query Permission swagger:route GET /api/v1/{organization_id}/{namespace}/permissions permissions queryPermissionRequest
	//
	// Responses:
	// 200: queryPermissionResponse
	// 400	Bad Request
	// 401	Not Authorized
	// 500	Internal Error
	Query(ctx context.Context, in *QueryPermissionRequest, opts ...grpc.CallOption) (PermissionsService_QueryClient, error)
	// Delete Permission swagger:route DELETE /api/v1/{organization_id}/{namespace}/permissions/{id} permissions deletePermissionRequest
	//
	// Responses:
	// 200: deletePermissionResponse
	// 400	Bad Request
	// 401	Not Authorized
	// 500	Internal Error
	Delete(ctx context.Context, in *DeletePermissionRequest, opts ...grpc.CallOption) (*DeletePermissionResponse, error)
}

PermissionsServiceClient is the client API for PermissionsService 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 PermissionsServiceServer

type PermissionsServiceServer interface {
	// Create Permissions swagger:route POST /api/v1/{organization_id}/{namespace}/permissions permissions createPermissionRequest
	//
	// Responses:
	// 200: createPermissionResponse
	// 400	Bad Request
	// 401	Not Authorized
	// 500	Internal Error
	Create(context.Context, *CreatePermissionRequest) (*CreatePermissionResponse, error)
	// Update Permissions swagger:route PUT /api/v1/{organization_id}/{namespace}/permissions/{id} permissions updatePermissionRequest
	//
	// Responses:
	// 200: updatePermissionResponse
	// 400	Bad Request
	// 401	Not Authorized
	// 500	Internal Error
	Update(context.Context, *UpdatePermissionRequest) (*UpdatePermissionResponse, error)
	// Query Permission swagger:route GET /api/v1/{organization_id}/{namespace}/permissions permissions queryPermissionRequest
	//
	// Responses:
	// 200: queryPermissionResponse
	// 400	Bad Request
	// 401	Not Authorized
	// 500	Internal Error
	Query(*QueryPermissionRequest, PermissionsService_QueryServer) error
	// Delete Permission swagger:route DELETE /api/v1/{organization_id}/{namespace}/permissions/{id} permissions deletePermissionRequest
	//
	// Responses:
	// 200: deletePermissionResponse
	// 400	Bad Request
	// 401	Not Authorized
	// 500	Internal Error
	Delete(context.Context, *DeletePermissionRequest) (*DeletePermissionResponse, error)
	// contains filtered or unexported methods
}

PermissionsServiceServer is the server API for PermissionsService service. All implementations must embed UnimplementedPermissionsServiceServer for forward compatibility

type PermissionsService_QueryClient

type PermissionsService_QueryClient interface {
	Recv() (*QueryPermissionResponse, error)
	grpc.ClientStream
}

type PermissionsService_QueryServer

type PermissionsService_QueryServer interface {
	Send(*QueryPermissionResponse) error
	grpc.ServerStream
}

type PrincipalsServiceClient

type PrincipalsServiceClient interface {
	// Create Principals swagger:route POST /api/v1/{organization_id}/principals principals createPrincipalRequest
	//
	// Responses:
	// 200: createPrincipalResponse
	// 400	Bad Request
	// 401	Not Authorized
	// 500	Internal Error
	Create(ctx context.Context, in *CreatePrincipalRequest, opts ...grpc.CallOption) (*CreatePrincipalResponse, error)
	// Update Principals swagger:route PUT /api/v1/{organization_id}/principals/{id} principals updatePrincipalRequest
	//
	// Responses:
	// 200: updatePrincipalResponse
	// 400	Bad Request
	// 401	Not Authorized
	// 500	Internal Error
	Update(ctx context.Context, in *UpdatePrincipalRequest, opts ...grpc.CallOption) (*UpdatePrincipalResponse, error)
	// Get Principal swagger:route GET /api/v1/{organization_id}/{namespace}/principals/{id} principals getPrincipalRequest
	//
	// Responses:
	// 200: getPrincipalResponse
	// 400	Bad Request
	// 401	Not Authorized
	// 500	Internal Error
	Get(ctx context.Context, in *GetPrincipalRequest, opts ...grpc.CallOption) (*GetPrincipalResponse, error)
	// Query Principal swagger:route GET /api/v1/{organization_id}/principals principals queryPrincipalRequest
	//
	// Responses:
	// 200: queryPrincipalResponse
	// 400	Bad Request
	// 401	Not Authorized
	// 500	Internal Error
	Query(ctx context.Context, in *QueryPrincipalRequest, opts ...grpc.CallOption) (PrincipalsService_QueryClient, error)
	// Delete Principal swagger:route DELETE /api/v1/{organization_id}/principals/{id} principals deletePrincipalRequest
	//
	// Responses:
	// 200: deletePrincipalResponse
	// 400	Bad Request
	// 401	Not Authorized
	// 500	Internal Error
	Delete(ctx context.Context, in *DeletePrincipalRequest, opts ...grpc.CallOption) (*DeletePrincipalResponse, error)
	// AddGroups Principal swagger:route PUT /api/v1/{organization_id}/{namespace}/principals/{id}/groups/add principals addGroupsToPrincipalRequest
	//
	// Responses:
	// 200: addGroupsToPrincipalResponse
	// 400	Bad Request
	// 401	Not Authorized
	// 500	Internal Error
	AddGroups(ctx context.Context, in *AddGroupsToPrincipalRequest, opts ...grpc.CallOption) (*AddGroupsToPrincipalResponse, error)
	// DeleteGroups Principal swagger:route PUT /api/v1/{organization_id}/{namespace}/principals/{id}/groups/delete principals deleteGroupsToPrincipalRequest
	//
	// Responses:
	// 200: deleteGroupsToPrincipalResponse
	// 400	Bad Request
	// 401	Not Authorized
	// 500	Internal Error
	DeleteGroups(ctx context.Context, in *DeleteGroupsToPrincipalRequest, opts ...grpc.CallOption) (*DeleteGroupsToPrincipalResponse, error)
	// AddRoles Principal swagger:route PUT /api/v1/{organization_id}/{namespace}/principals/{id}/roles/add principals addRolesToPrincipalRequest
	//
	// Responses:
	// 200: addRolesToPrincipalResponse
	// 400	Bad Request
	// 401	Not Authorized
	// 500	Internal Error
	AddRoles(ctx context.Context, in *AddRolesToPrincipalRequest, opts ...grpc.CallOption) (*AddRolesToPrincipalResponse, error)
	// DeleteRole Principal swagger:route PUT /api/v1/{organization_id}/{namespace}/principals/{id}/roles/delete principals deleteRolesToPrincipalRequest
	//
	// Responses:
	// 200: deleteRolesToPrincipalResponse
	// 400	Bad Request
	// 401	Not Authorized
	// 500	Internal Error
	DeleteRoles(ctx context.Context, in *DeleteRolesToPrincipalRequest, opts ...grpc.CallOption) (*DeleteRolesToPrincipalResponse, error)
	// AddPermissions Principal swagger:route PUT /api/v1/{organization_id}/{namespace}/principals/{id}/permissions/add principals addPermissionsToPrincipalRequest
	//
	// Responses:
	// 200: addPermissionsToPrincipalResponse
	// 400	Bad Request
	// 401	Not Authorized
	// 500	Internal Error
	AddPermissions(ctx context.Context, in *AddPermissionsToPrincipalRequest, opts ...grpc.CallOption) (*AddPermissionsToPrincipalResponse, error)
	// DeletePermissions Principal swagger:route PUT /api/v1/{organization_id}/{namespace}/principals/{id}/permissions/delete principals deletePermissionsToPrincipalRequest
	//
	// Responses:
	// 200: deletePermissionsToPrincipalResponse
	// 400	Bad Request
	// 401	Not Authorized
	// 500	Internal Error
	DeletePermissions(ctx context.Context, in *DeletePermissionsToPrincipalRequest, opts ...grpc.CallOption) (*DeletePermissionsToPrincipalResponse, error)
	// AddRelationships Principal swagger:route PUT /api/v1/{organization_id}/{namespace}/principals/{id}/relations/add principals addRelationshipsToPrincipalRequest
	//
	// Responses:
	// 200: addRelationshipsToPrincipalResponse
	// 400	Bad Request
	// 401	Not Authorized
	// 500	Internal Error
	AddRelationships(ctx context.Context, in *AddRelationshipsToPrincipalRequest, opts ...grpc.CallOption) (*AddRelationshipsToPrincipalResponse, error)
	// DeleteRelationships Principal swagger:route PUT /api/v1/{organization_id}/{namespace}/principals/{id}/relations/delete principals deleteRelationshipsToPrincipalRequest
	//
	// Responses:
	// 200: deleteRelationshipsToPrincipalResponse
	// 400	Bad Request
	// 401	Not Authorized
	// 500	Internal Error
	DeleteRelationships(ctx context.Context, in *DeleteRelationshipsToPrincipalRequest, opts ...grpc.CallOption) (*DeleteRelationshipsToPrincipalResponse, error)
}

PrincipalsServiceClient is the client API for PrincipalsService 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 PrincipalsServiceServer

type PrincipalsServiceServer interface {
	// Create Principals swagger:route POST /api/v1/{organization_id}/principals principals createPrincipalRequest
	//
	// Responses:
	// 200: createPrincipalResponse
	// 400	Bad Request
	// 401	Not Authorized
	// 500	Internal Error
	Create(context.Context, *CreatePrincipalRequest) (*CreatePrincipalResponse, error)
	// Update Principals swagger:route PUT /api/v1/{organization_id}/principals/{id} principals updatePrincipalRequest
	//
	// Responses:
	// 200: updatePrincipalResponse
	// 400	Bad Request
	// 401	Not Authorized
	// 500	Internal Error
	Update(context.Context, *UpdatePrincipalRequest) (*UpdatePrincipalResponse, error)
	// Get Principal swagger:route GET /api/v1/{organization_id}/{namespace}/principals/{id} principals getPrincipalRequest
	//
	// Responses:
	// 200: getPrincipalResponse
	// 400	Bad Request
	// 401	Not Authorized
	// 500	Internal Error
	Get(context.Context, *GetPrincipalRequest) (*GetPrincipalResponse, error)
	// Query Principal swagger:route GET /api/v1/{organization_id}/principals principals queryPrincipalRequest
	//
	// Responses:
	// 200: queryPrincipalResponse
	// 400	Bad Request
	// 401	Not Authorized
	// 500	Internal Error
	Query(*QueryPrincipalRequest, PrincipalsService_QueryServer) error
	// Delete Principal swagger:route DELETE /api/v1/{organization_id}/principals/{id} principals deletePrincipalRequest
	//
	// Responses:
	// 200: deletePrincipalResponse
	// 400	Bad Request
	// 401	Not Authorized
	// 500	Internal Error
	Delete(context.Context, *DeletePrincipalRequest) (*DeletePrincipalResponse, error)
	// AddGroups Principal swagger:route PUT /api/v1/{organization_id}/{namespace}/principals/{id}/groups/add principals addGroupsToPrincipalRequest
	//
	// Responses:
	// 200: addGroupsToPrincipalResponse
	// 400	Bad Request
	// 401	Not Authorized
	// 500	Internal Error
	AddGroups(context.Context, *AddGroupsToPrincipalRequest) (*AddGroupsToPrincipalResponse, error)
	// DeleteGroups Principal swagger:route PUT /api/v1/{organization_id}/{namespace}/principals/{id}/groups/delete principals deleteGroupsToPrincipalRequest
	//
	// Responses:
	// 200: deleteGroupsToPrincipalResponse
	// 400	Bad Request
	// 401	Not Authorized
	// 500	Internal Error
	DeleteGroups(context.Context, *DeleteGroupsToPrincipalRequest) (*DeleteGroupsToPrincipalResponse, error)
	// AddRoles Principal swagger:route PUT /api/v1/{organization_id}/{namespace}/principals/{id}/roles/add principals addRolesToPrincipalRequest
	//
	// Responses:
	// 200: addRolesToPrincipalResponse
	// 400	Bad Request
	// 401	Not Authorized
	// 500	Internal Error
	AddRoles(context.Context, *AddRolesToPrincipalRequest) (*AddRolesToPrincipalResponse, error)
	// DeleteRole Principal swagger:route PUT /api/v1/{organization_id}/{namespace}/principals/{id}/roles/delete principals deleteRolesToPrincipalRequest
	//
	// Responses:
	// 200: deleteRolesToPrincipalResponse
	// 400	Bad Request
	// 401	Not Authorized
	// 500	Internal Error
	DeleteRoles(context.Context, *DeleteRolesToPrincipalRequest) (*DeleteRolesToPrincipalResponse, error)
	// AddPermissions Principal swagger:route PUT /api/v1/{organization_id}/{namespace}/principals/{id}/permissions/add principals addPermissionsToPrincipalRequest
	//
	// Responses:
	// 200: addPermissionsToPrincipalResponse
	// 400	Bad Request
	// 401	Not Authorized
	// 500	Internal Error
	AddPermissions(context.Context, *AddPermissionsToPrincipalRequest) (*AddPermissionsToPrincipalResponse, error)
	// DeletePermissions Principal swagger:route PUT /api/v1/{organization_id}/{namespace}/principals/{id}/permissions/delete principals deletePermissionsToPrincipalRequest
	//
	// Responses:
	// 200: deletePermissionsToPrincipalResponse
	// 400	Bad Request
	// 401	Not Authorized
	// 500	Internal Error
	DeletePermissions(context.Context, *DeletePermissionsToPrincipalRequest) (*DeletePermissionsToPrincipalResponse, error)
	// AddRelationships Principal swagger:route PUT /api/v1/{organization_id}/{namespace}/principals/{id}/relations/add principals addRelationshipsToPrincipalRequest
	//
	// Responses:
	// 200: addRelationshipsToPrincipalResponse
	// 400	Bad Request
	// 401	Not Authorized
	// 500	Internal Error
	AddRelationships(context.Context, *AddRelationshipsToPrincipalRequest) (*AddRelationshipsToPrincipalResponse, error)
	// DeleteRelationships Principal swagger:route PUT /api/v1/{organization_id}/{namespace}/principals/{id}/relations/delete principals deleteRelationshipsToPrincipalRequest
	//
	// Responses:
	// 200: deleteRelationshipsToPrincipalResponse
	// 400	Bad Request
	// 401	Not Authorized
	// 500	Internal Error
	DeleteRelationships(context.Context, *DeleteRelationshipsToPrincipalRequest) (*DeleteRelationshipsToPrincipalResponse, error)
	// contains filtered or unexported methods
}

PrincipalsServiceServer is the server API for PrincipalsService service. All implementations must embed UnimplementedPrincipalsServiceServer for forward compatibility

type PrincipalsService_QueryClient

type PrincipalsService_QueryClient interface {
	Recv() (*QueryPrincipalResponse, error)
	grpc.ClientStream
}

type PrincipalsService_QueryServer

type PrincipalsService_QueryServer interface {
	Send(*QueryPrincipalResponse) error
	grpc.ServerStream
}

type QueryGroupRequest

type QueryGroupRequest struct {

	// in: path
	OrganizationId string `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"`
	// in: path
	Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"`
	// Name of the group.
	// in:query
	Predicates map[string]string `` /* 161-byte string literal not displayed */
	// in: query
	Offset string `protobuf:"bytes,4,opt,name=offset,proto3" json:"offset,omitempty"`
	// in: query
	Limit int64 `protobuf:"varint,5,opt,name=limit,proto3" json:"limit,omitempty"`
	// contains filtered or unexported fields
}

QueryGroupRequest is request model for querying groups.

swagger:parameters queryGroupRequest

func (*QueryGroupRequest) Descriptor deprecated

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

Deprecated: Use QueryGroupRequest.ProtoReflect.Descriptor instead.

func (*QueryGroupRequest) GetLimit

func (x *QueryGroupRequest) GetLimit() int64

func (*QueryGroupRequest) GetNamespace

func (x *QueryGroupRequest) GetNamespace() string

func (*QueryGroupRequest) GetOffset

func (x *QueryGroupRequest) GetOffset() string

func (*QueryGroupRequest) GetOrganizationId

func (x *QueryGroupRequest) GetOrganizationId() string

func (*QueryGroupRequest) GetPredicates

func (x *QueryGroupRequest) GetPredicates() map[string]string

func (*QueryGroupRequest) ProtoMessage

func (*QueryGroupRequest) ProtoMessage()

func (*QueryGroupRequest) ProtoReflect

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

func (*QueryGroupRequest) Reset

func (x *QueryGroupRequest) Reset()

func (*QueryGroupRequest) String

func (x *QueryGroupRequest) String() string

type QueryGroupResponse

type QueryGroupResponse struct {

	// ID unique identifier assigned to this group.
	// in: body
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Version
	// in: body
	Version int64 `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty"`
	// Namespace of Group.
	// in: Body
	Namespace string `protobuf:"bytes,3,opt,name=namespace,proto3" json:"namespace,omitempty"`
	// Name of the group.
	// in: body
	Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
	// RoleIDs that are associated.
	// in: body
	RoleIds []string `protobuf:"bytes,5,rep,name=role_ids,json=roleIds,proto3" json:"role_ids,omitempty"`
	// Optional parent ids.
	// in: body
	ParentIds []string `protobuf:"bytes,6,rep,name=parent_ids,json=parentIds,proto3" json:"parent_ids,omitempty"` // optional
	// in: body
	NextOffset string `protobuf:"bytes,7,opt,name=next_offset,json=nextOffset,proto3" json:"next_offset,omitempty"`
	// Created date
	// in: body
	Created *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=created,proto3" json:"created,omitempty"`
	// Updated date
	// in: body
	Updated *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=updated,proto3" json:"updated,omitempty"`
	// contains filtered or unexported fields
}

QueryGroupResponse is response model for querying group.

swagger:parameters queryGroupResponse

func (*QueryGroupResponse) Descriptor deprecated

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

Deprecated: Use QueryGroupResponse.ProtoReflect.Descriptor instead.

func (*QueryGroupResponse) GetCreated

func (x *QueryGroupResponse) GetCreated() *timestamppb.Timestamp

func (*QueryGroupResponse) GetId

func (x *QueryGroupResponse) GetId() string

func (*QueryGroupResponse) GetName

func (x *QueryGroupResponse) GetName() string

func (*QueryGroupResponse) GetNamespace

func (x *QueryGroupResponse) GetNamespace() string

func (*QueryGroupResponse) GetNextOffset

func (x *QueryGroupResponse) GetNextOffset() string

func (*QueryGroupResponse) GetParentIds

func (x *QueryGroupResponse) GetParentIds() []string

func (*QueryGroupResponse) GetRoleIds

func (x *QueryGroupResponse) GetRoleIds() []string

func (*QueryGroupResponse) GetUpdated

func (x *QueryGroupResponse) GetUpdated() *timestamppb.Timestamp

func (*QueryGroupResponse) GetVersion

func (x *QueryGroupResponse) GetVersion() int64

func (*QueryGroupResponse) ProtoMessage

func (*QueryGroupResponse) ProtoMessage()

func (*QueryGroupResponse) ProtoReflect

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

func (*QueryGroupResponse) Reset

func (x *QueryGroupResponse) Reset()

func (*QueryGroupResponse) String

func (x *QueryGroupResponse) String() string

type QueryOrganizationRequest

type QueryOrganizationRequest struct {

	// Name of the organization.
	// in:query
	Predicates map[string]string `` /* 161-byte string literal not displayed */
	// in: query
	Offset string `protobuf:"bytes,2,opt,name=offset,proto3" json:"offset,omitempty"`
	// in: query
	Limit int64 `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"`
	// contains filtered or unexported fields
}

QueryOrganizationRequest is request model for querying organizations.

swagger:parameters queryOrganizationRequest

func (*QueryOrganizationRequest) Descriptor deprecated

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

Deprecated: Use QueryOrganizationRequest.ProtoReflect.Descriptor instead.

func (*QueryOrganizationRequest) GetLimit

func (x *QueryOrganizationRequest) GetLimit() int64

func (*QueryOrganizationRequest) GetOffset

func (x *QueryOrganizationRequest) GetOffset() string

func (*QueryOrganizationRequest) GetPredicates

func (x *QueryOrganizationRequest) GetPredicates() map[string]string

func (*QueryOrganizationRequest) ProtoMessage

func (*QueryOrganizationRequest) ProtoMessage()

func (*QueryOrganizationRequest) ProtoReflect

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

func (*QueryOrganizationRequest) Reset

func (x *QueryOrganizationRequest) Reset()

func (*QueryOrganizationRequest) String

func (x *QueryOrganizationRequest) String() string

type QueryOrganizationResponse

type QueryOrganizationResponse struct {

	// ID unique identifier assigned to this organization.
	// in: body
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Version
	// in: body
	Version int64 `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty"`
	// Name of the organization.
	// in: body
	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	// Allowed Namespaces for organization.
	// in: body
	Namespaces []string `protobuf:"bytes,4,rep,name=namespaces,proto3" json:"namespaces,omitempty"`
	// url for organization.
	// in: body
	Url string `protobuf:"bytes,5,opt,name=url,proto3" json:"url,omitempty"`
	// Optional parent ids.
	// in: body
	ParentIds []string `protobuf:"bytes,6,rep,name=parent_ids,json=parentIds,proto3" json:"parent_ids,omitempty"` // optional
	// in: body
	NextOffset string `protobuf:"bytes,7,opt,name=next_offset,json=nextOffset,proto3" json:"next_offset,omitempty"`
	// Created date
	Created *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=created,proto3" json:"created,omitempty"`
	// Updated date
	Updated *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=updated,proto3" json:"updated,omitempty"`
	// contains filtered or unexported fields
}

QueryOrganizationResponse is response model for querying organization.

swagger:parameters queryOrganizationResponse

func (*QueryOrganizationResponse) Descriptor deprecated

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

Deprecated: Use QueryOrganizationResponse.ProtoReflect.Descriptor instead.

func (*QueryOrganizationResponse) GetCreated

func (*QueryOrganizationResponse) GetId

func (x *QueryOrganizationResponse) GetId() string

func (*QueryOrganizationResponse) GetName

func (x *QueryOrganizationResponse) GetName() string

func (*QueryOrganizationResponse) GetNamespaces

func (x *QueryOrganizationResponse) GetNamespaces() []string

func (*QueryOrganizationResponse) GetNextOffset

func (x *QueryOrganizationResponse) GetNextOffset() string

func (*QueryOrganizationResponse) GetParentIds

func (x *QueryOrganizationResponse) GetParentIds() []string

func (*QueryOrganizationResponse) GetUpdated

func (*QueryOrganizationResponse) GetUrl

func (x *QueryOrganizationResponse) GetUrl() string

func (*QueryOrganizationResponse) GetVersion

func (x *QueryOrganizationResponse) GetVersion() int64

func (*QueryOrganizationResponse) ProtoMessage

func (*QueryOrganizationResponse) ProtoMessage()

func (*QueryOrganizationResponse) ProtoReflect

func (*QueryOrganizationResponse) Reset

func (x *QueryOrganizationResponse) Reset()

func (*QueryOrganizationResponse) String

func (x *QueryOrganizationResponse) String() string

type QueryPermissionRequest

type QueryPermissionRequest struct {

	// in: path
	OrganizationId string `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"`
	// in: path
	Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"`
	// Name of the permission.
	// in:query
	Predicates map[string]string `` /* 161-byte string literal not displayed */
	// in: query
	Offset string `protobuf:"bytes,4,opt,name=offset,proto3" json:"offset,omitempty"`
	// in: query
	Limit int64 `protobuf:"varint,5,opt,name=limit,proto3" json:"limit,omitempty"`
	// contains filtered or unexported fields
}

QueryPermissionRequest is request model for querying permissions.

swagger:parameters queryPermissionRequest

func (*QueryPermissionRequest) Descriptor deprecated

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

Deprecated: Use QueryPermissionRequest.ProtoReflect.Descriptor instead.

func (*QueryPermissionRequest) GetLimit

func (x *QueryPermissionRequest) GetLimit() int64

func (*QueryPermissionRequest) GetNamespace

func (x *QueryPermissionRequest) GetNamespace() string

func (*QueryPermissionRequest) GetOffset

func (x *QueryPermissionRequest) GetOffset() string

func (*QueryPermissionRequest) GetOrganizationId

func (x *QueryPermissionRequest) GetOrganizationId() string

func (*QueryPermissionRequest) GetPredicates

func (x *QueryPermissionRequest) GetPredicates() map[string]string

func (*QueryPermissionRequest) ProtoMessage

func (*QueryPermissionRequest) ProtoMessage()

func (*QueryPermissionRequest) ProtoReflect

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

func (*QueryPermissionRequest) Reset

func (x *QueryPermissionRequest) Reset()

func (*QueryPermissionRequest) String

func (x *QueryPermissionRequest) String() string

type QueryPermissionResponse

type QueryPermissionResponse struct {

	// ID unique identifier assigned to this permission.
	// in: body
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Version
	// in: body
	Version int64 `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty"`
	// Namespace of Permission.
	// in: Body
	Namespace string `protobuf:"bytes,3,opt,name=namespace,proto3" json:"namespace,omitempty"`
	// Scope for permission.
	// in: body
	Scope string `protobuf:"bytes,4,opt,name=scope,proto3" json:"scope,omitempty"`
	// Actions that can be performed.
	// in: body
	Actions []string `protobuf:"bytes,5,rep,name=actions,proto3" json:"actions,omitempty"`
	// Resource for the action.
	// in: body
	ResourceId string `protobuf:"bytes,6,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"`
	// Effect Permitted or Denied
	// in: body
	Effect types.Effect `protobuf:"varint,7,opt,name=effect,proto3,enum=api.authz.types.Effect" json:"effect,omitempty"`
	// Constraints expression with dynamic properties.
	// in: body
	Constraints string `protobuf:"bytes,8,opt,name=constraints,proto3" json:"constraints,omitempty"`
	// in: body
	NextOffset string `protobuf:"bytes,9,opt,name=next_offset,json=nextOffset,proto3" json:"next_offset,omitempty"`
	// Created date
	// in: body
	Created *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=created,proto3" json:"created,omitempty"`
	// Updated date
	// in: body
	Updated *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=updated,proto3" json:"updated,omitempty"`
	// contains filtered or unexported fields
}

QueryPermissionResponse is response model for querying permission.

swagger:parameters queryPermissionResponse

func (*QueryPermissionResponse) Descriptor deprecated

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

Deprecated: Use QueryPermissionResponse.ProtoReflect.Descriptor instead.

func (*QueryPermissionResponse) GetActions

func (x *QueryPermissionResponse) GetActions() []string

func (*QueryPermissionResponse) GetConstraints

func (x *QueryPermissionResponse) GetConstraints() string

func (*QueryPermissionResponse) GetCreated

func (*QueryPermissionResponse) GetEffect

func (x *QueryPermissionResponse) GetEffect() types.Effect

func (*QueryPermissionResponse) GetId

func (x *QueryPermissionResponse) GetId() string

func (*QueryPermissionResponse) GetNamespace

func (x *QueryPermissionResponse) GetNamespace() string

func (*QueryPermissionResponse) GetNextOffset

func (x *QueryPermissionResponse) GetNextOffset() string

func (*QueryPermissionResponse) GetResourceId

func (x *QueryPermissionResponse) GetResourceId() string

func (*QueryPermissionResponse) GetScope

func (x *QueryPermissionResponse) GetScope() string

func (*QueryPermissionResponse) GetUpdated

func (*QueryPermissionResponse) GetVersion

func (x *QueryPermissionResponse) GetVersion() int64

func (*QueryPermissionResponse) ProtoMessage

func (*QueryPermissionResponse) ProtoMessage()

func (*QueryPermissionResponse) ProtoReflect

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

func (*QueryPermissionResponse) Reset

func (x *QueryPermissionResponse) Reset()

func (*QueryPermissionResponse) String

func (x *QueryPermissionResponse) String() string

type QueryPrincipalRequest

type QueryPrincipalRequest struct {

	// in: path
	OrganizationId string `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"`
	// Name of the principal.
	// in:query
	Predicates map[string]string `` /* 161-byte string literal not displayed */
	// in: query
	Offset string `protobuf:"bytes,4,opt,name=offset,proto3" json:"offset,omitempty"`
	// in: query
	Limit int64 `protobuf:"varint,5,opt,name=limit,proto3" json:"limit,omitempty"`
	// contains filtered or unexported fields
}

QueryPrincipalRequest is request model for querying principals.

swagger:parameters queryPrincipalRequest

func (*QueryPrincipalRequest) Descriptor deprecated

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

Deprecated: Use QueryPrincipalRequest.ProtoReflect.Descriptor instead.

func (*QueryPrincipalRequest) GetLimit

func (x *QueryPrincipalRequest) GetLimit() int64

func (*QueryPrincipalRequest) GetOffset

func (x *QueryPrincipalRequest) GetOffset() string

func (*QueryPrincipalRequest) GetOrganizationId

func (x *QueryPrincipalRequest) GetOrganizationId() string

func (*QueryPrincipalRequest) GetPredicates

func (x *QueryPrincipalRequest) GetPredicates() map[string]string

func (*QueryPrincipalRequest) ProtoMessage

func (*QueryPrincipalRequest) ProtoMessage()

func (*QueryPrincipalRequest) ProtoReflect

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

func (*QueryPrincipalRequest) Reset

func (x *QueryPrincipalRequest) Reset()

func (*QueryPrincipalRequest) String

func (x *QueryPrincipalRequest) String() string

type QueryPrincipalResponse

type QueryPrincipalResponse struct {

	// ID unique identifier assigned to this principal.
	// in: body
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Version
	// in: body
	Version int64 `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty"`
	// OrganizationId of the principal user.
	// in: body
	OrganizationId string `protobuf:"bytes,3,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"`
	// Namespaces for principal
	// in: body
	Namespaces []string `protobuf:"bytes,4,rep,name=namespaces,proto3" json:"namespaces,omitempty"`
	// Username of the principal user.
	// in: body
	Username string `protobuf:"bytes,5,opt,name=username,proto3" json:"username,omitempty"`
	// Email of the principal user.
	// in: body
	Email string `protobuf:"bytes,6,opt,name=email,proto3" json:"email,omitempty"`
	// Name of the principal user.
	// in: body
	Name string `protobuf:"bytes,7,opt,name=name,proto3" json:"name,omitempty"`
	// Attributes of principal
	// in: body
	Attributes map[string]string `` /* 161-byte string literal not displayed */
	// Groups that the principal belongs to.
	// in: body
	GroupIds []string `protobuf:"bytes,9,rep,name=group_ids,json=groupIds,proto3" json:"group_ids,omitempty"`
	// Roles that the principal belongs to.
	// in: body
	RoleIds []string `protobuf:"bytes,10,rep,name=role_ids,json=roleIds,proto3" json:"role_ids,omitempty"`
	// Permissions that the principal belongs to.
	// in: body
	PermissionIds []string `protobuf:"bytes,11,rep,name=permission_ids,json=permissionIds,proto3" json:"permission_ids,omitempty"`
	// Relationships that the principal belongs to.
	// in: body
	RelationIds []string `protobuf:"bytes,12,rep,name=relation_ids,json=relationIds,proto3" json:"relation_ids,omitempty"`
	// in: body
	NextOffset string `protobuf:"bytes,13,opt,name=next_offset,json=nextOffset,proto3" json:"next_offset,omitempty"`
	// Created date
	// in: body
	Created *timestamppb.Timestamp `protobuf:"bytes,14,opt,name=created,proto3" json:"created,omitempty"`
	// Updated date
	// in: body
	Updated *timestamppb.Timestamp `protobuf:"bytes,15,opt,name=updated,proto3" json:"updated,omitempty"`
	// contains filtered or unexported fields
}

QueryPrincipalResponse is response model for querying principal.

swagger:parameters queryPrincipalResponse

func (*QueryPrincipalResponse) Descriptor deprecated

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

Deprecated: Use QueryPrincipalResponse.ProtoReflect.Descriptor instead.

func (*QueryPrincipalResponse) GetAttributes

func (x *QueryPrincipalResponse) GetAttributes() map[string]string

func (*QueryPrincipalResponse) GetCreated

func (x *QueryPrincipalResponse) GetCreated() *timestamppb.Timestamp

func (*QueryPrincipalResponse) GetEmail

func (x *QueryPrincipalResponse) GetEmail() string

func (*QueryPrincipalResponse) GetGroupIds

func (x *QueryPrincipalResponse) GetGroupIds() []string

func (*QueryPrincipalResponse) GetId

func (x *QueryPrincipalResponse) GetId() string

func (*QueryPrincipalResponse) GetName

func (x *QueryPrincipalResponse) GetName() string

func (*QueryPrincipalResponse) GetNamespaces

func (x *QueryPrincipalResponse) GetNamespaces() []string

func (*QueryPrincipalResponse) GetNextOffset

func (x *QueryPrincipalResponse) GetNextOffset() string

func (*QueryPrincipalResponse) GetOrganizationId

func (x *QueryPrincipalResponse) GetOrganizationId() string

func (*QueryPrincipalResponse) GetPermissionIds

func (x *QueryPrincipalResponse) GetPermissionIds() []string

func (*QueryPrincipalResponse) GetRelationIds

func (x *QueryPrincipalResponse) GetRelationIds() []string

func (*QueryPrincipalResponse) GetRoleIds

func (x *QueryPrincipalResponse) GetRoleIds() []string

func (*QueryPrincipalResponse) GetUpdated

func (x *QueryPrincipalResponse) GetUpdated() *timestamppb.Timestamp

func (*QueryPrincipalResponse) GetUsername

func (x *QueryPrincipalResponse) GetUsername() string

func (*QueryPrincipalResponse) GetVersion

func (x *QueryPrincipalResponse) GetVersion() int64

func (*QueryPrincipalResponse) ProtoMessage

func (*QueryPrincipalResponse) ProtoMessage()

func (*QueryPrincipalResponse) ProtoReflect

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

func (*QueryPrincipalResponse) Reset

func (x *QueryPrincipalResponse) Reset()

func (*QueryPrincipalResponse) String

func (x *QueryPrincipalResponse) String() string

type QueryRelationshipRequest

type QueryRelationshipRequest struct {

	// in: path
	OrganizationId string `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"`
	// in: path
	Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"`
	// Name of the relationship.
	// in:query
	Predicates map[string]string `` /* 161-byte string literal not displayed */
	// in: query
	Offset string `protobuf:"bytes,4,opt,name=offset,proto3" json:"offset,omitempty"`
	// in: query
	Limit int64 `protobuf:"varint,5,opt,name=limit,proto3" json:"limit,omitempty"`
	// contains filtered or unexported fields
}

QueryRelationshipRequest is request model for querying relationships.

swagger:parameters queryRelationshipRequest

func (*QueryRelationshipRequest) Descriptor deprecated

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

Deprecated: Use QueryRelationshipRequest.ProtoReflect.Descriptor instead.

func (*QueryRelationshipRequest) GetLimit

func (x *QueryRelationshipRequest) GetLimit() int64

func (*QueryRelationshipRequest) GetNamespace

func (x *QueryRelationshipRequest) GetNamespace() string

func (*QueryRelationshipRequest) GetOffset

func (x *QueryRelationshipRequest) GetOffset() string

func (*QueryRelationshipRequest) GetOrganizationId

func (x *QueryRelationshipRequest) GetOrganizationId() string

func (*QueryRelationshipRequest) GetPredicates

func (x *QueryRelationshipRequest) GetPredicates() map[string]string

func (*QueryRelationshipRequest) ProtoMessage

func (*QueryRelationshipRequest) ProtoMessage()

func (*QueryRelationshipRequest) ProtoReflect

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

func (*QueryRelationshipRequest) Reset

func (x *QueryRelationshipRequest) Reset()

func (*QueryRelationshipRequest) String

func (x *QueryRelationshipRequest) String() string

type QueryRelationshipResponse

type QueryRelationshipResponse struct {

	// ID unique identifier assigned to this relationship.
	// in: body
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Version
	// in: body
	Version int64 `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty"`
	// Namespace of Relationship.
	// in: Body
	Namespace string `protobuf:"bytes,3,opt,name=namespace,proto3" json:"namespace,omitempty"`
	// Relation name.
	Relation string `protobuf:"bytes,4,opt,name=relation,proto3" json:"relation,omitempty"`
	// PrincipalID for relationship.
	PrincipalId string `protobuf:"bytes,5,opt,name=principal_id,json=principalId,proto3" json:"principal_id,omitempty"`
	// ResourceID for relationship.
	ResourceId string `protobuf:"bytes,6,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"`
	// in: body
	NextOffset string `protobuf:"bytes,7,opt,name=next_offset,json=nextOffset,proto3" json:"next_offset,omitempty"`
	// Attributes of relationship.
	// in:body
	Attributes map[string]string `` /* 161-byte string literal not displayed */
	// Created date
	// in: body
	Created *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=created,proto3" json:"created,omitempty"`
	// Updated date
	// in: body
	Updated *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=updated,proto3" json:"updated,omitempty"`
	// contains filtered or unexported fields
}

QueryRelationshipResponse is response model for querying relationship.

swagger:parameters queryRelationshipResponse

func (*QueryRelationshipResponse) Descriptor deprecated

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

Deprecated: Use QueryRelationshipResponse.ProtoReflect.Descriptor instead.

func (*QueryRelationshipResponse) GetAttributes

func (x *QueryRelationshipResponse) GetAttributes() map[string]string

func (*QueryRelationshipResponse) GetCreated

func (*QueryRelationshipResponse) GetId

func (x *QueryRelationshipResponse) GetId() string

func (*QueryRelationshipResponse) GetNamespace

func (x *QueryRelationshipResponse) GetNamespace() string

func (*QueryRelationshipResponse) GetNextOffset

func (x *QueryRelationshipResponse) GetNextOffset() string

func (*QueryRelationshipResponse) GetPrincipalId

func (x *QueryRelationshipResponse) GetPrincipalId() string

func (*QueryRelationshipResponse) GetRelation

func (x *QueryRelationshipResponse) GetRelation() string

func (*QueryRelationshipResponse) GetResourceId

func (x *QueryRelationshipResponse) GetResourceId() string

func (*QueryRelationshipResponse) GetUpdated

func (*QueryRelationshipResponse) GetVersion

func (x *QueryRelationshipResponse) GetVersion() int64

func (*QueryRelationshipResponse) ProtoMessage

func (*QueryRelationshipResponse) ProtoMessage()

func (*QueryRelationshipResponse) ProtoReflect

func (*QueryRelationshipResponse) Reset

func (x *QueryRelationshipResponse) Reset()

func (*QueryRelationshipResponse) String

func (x *QueryRelationshipResponse) String() string

type QueryResourceInstanceRequest

type QueryResourceInstanceRequest struct {

	// in: path
	OrganizationId string `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"`
	// in: path
	Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"`
	// in: path
	ResourceId string `protobuf:"bytes,3,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"`
	// Name of the resource.
	// in:query
	Predicates map[string]string `` /* 161-byte string literal not displayed */
	// in: query
	Offset string `protobuf:"bytes,5,opt,name=offset,proto3" json:"offset,omitempty"`
	// in: query
	Limit int64 `protobuf:"varint,6,opt,name=limit,proto3" json:"limit,omitempty"`
	// contains filtered or unexported fields
}

QueryResourceInstanceRequest is request model for querying resources-instances.

swagger:parameters queryResourceInstanceRequest

func (*QueryResourceInstanceRequest) Descriptor deprecated

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

Deprecated: Use QueryResourceInstanceRequest.ProtoReflect.Descriptor instead.

func (*QueryResourceInstanceRequest) GetLimit

func (x *QueryResourceInstanceRequest) GetLimit() int64

func (*QueryResourceInstanceRequest) GetNamespace

func (x *QueryResourceInstanceRequest) GetNamespace() string

func (*QueryResourceInstanceRequest) GetOffset

func (x *QueryResourceInstanceRequest) GetOffset() string

func (*QueryResourceInstanceRequest) GetOrganizationId

func (x *QueryResourceInstanceRequest) GetOrganizationId() string

func (*QueryResourceInstanceRequest) GetPredicates

func (x *QueryResourceInstanceRequest) GetPredicates() map[string]string

func (*QueryResourceInstanceRequest) GetResourceId

func (x *QueryResourceInstanceRequest) GetResourceId() string

func (*QueryResourceInstanceRequest) ProtoMessage

func (*QueryResourceInstanceRequest) ProtoMessage()

func (*QueryResourceInstanceRequest) ProtoReflect

func (*QueryResourceInstanceRequest) Reset

func (x *QueryResourceInstanceRequest) Reset()

func (*QueryResourceInstanceRequest) String

type QueryResourceInstanceResponse

type QueryResourceInstanceResponse struct {

	// ID unique identifier assigned to this resource.
	// in: body
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Version
	// in: body
	Version int64 `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty"`
	// Namespace of resource.
	// in: Body
	Namespace string `protobuf:"bytes,3,opt,name=namespace,proto3" json:"namespace,omitempty"`
	// Id of the resource.
	// in: body
	ResourceId string `protobuf:"bytes,4,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"`
	// Principal of the resource.
	// in: body
	PrincipalId string `protobuf:"bytes,5,opt,name=principal_id,json=principalId,proto3" json:"principal_id,omitempty"`
	// state of resource.
	// in: body
	State types.ResourceState `protobuf:"varint,6,opt,name=state,proto3,enum=api.authz.types.ResourceState" json:"state,omitempty"`
	// in: body
	NextOffset string `protobuf:"bytes,7,opt,name=next_offset,json=nextOffset,proto3" json:"next_offset,omitempty"`
	// Created date
	// in: body
	Created *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=created,proto3" json:"created,omitempty"`
	// Updated date
	// in: body
	Updated *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=updated,proto3" json:"updated,omitempty"`
	// contains filtered or unexported fields
}

QueryResourceInstanceResponse is response model for querying resource-instances.

swagger:parameters queryResourceInstanceResponse

func (*QueryResourceInstanceResponse) Descriptor deprecated

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

Deprecated: Use QueryResourceInstanceResponse.ProtoReflect.Descriptor instead.

func (*QueryResourceInstanceResponse) GetCreated

func (*QueryResourceInstanceResponse) GetId

func (*QueryResourceInstanceResponse) GetNamespace

func (x *QueryResourceInstanceResponse) GetNamespace() string

func (*QueryResourceInstanceResponse) GetNextOffset

func (x *QueryResourceInstanceResponse) GetNextOffset() string

func (*QueryResourceInstanceResponse) GetPrincipalId

func (x *QueryResourceInstanceResponse) GetPrincipalId() string

func (*QueryResourceInstanceResponse) GetResourceId

func (x *QueryResourceInstanceResponse) GetResourceId() string

func (*QueryResourceInstanceResponse) GetState

func (*QueryResourceInstanceResponse) GetUpdated

func (*QueryResourceInstanceResponse) GetVersion

func (x *QueryResourceInstanceResponse) GetVersion() int64

func (*QueryResourceInstanceResponse) ProtoMessage

func (*QueryResourceInstanceResponse) ProtoMessage()

func (*QueryResourceInstanceResponse) ProtoReflect

func (*QueryResourceInstanceResponse) Reset

func (x *QueryResourceInstanceResponse) Reset()

func (*QueryResourceInstanceResponse) String

type QueryResourceRequest

type QueryResourceRequest struct {

	// in: path
	OrganizationId string `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"`
	// in: path
	Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"`
	// Name of the resource.
	// in:query
	Predicates map[string]string `` /* 161-byte string literal not displayed */
	// in: query
	Offset string `protobuf:"bytes,4,opt,name=offset,proto3" json:"offset,omitempty"`
	// in: query
	Limit int64 `protobuf:"varint,5,opt,name=limit,proto3" json:"limit,omitempty"`
	// contains filtered or unexported fields
}

QueryResourceRequest is request model for querying resources.

swagger:parameters queryResourceRequest

func (*QueryResourceRequest) Descriptor deprecated

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

Deprecated: Use QueryResourceRequest.ProtoReflect.Descriptor instead.

func (*QueryResourceRequest) GetLimit

func (x *QueryResourceRequest) GetLimit() int64

func (*QueryResourceRequest) GetNamespace

func (x *QueryResourceRequest) GetNamespace() string

func (*QueryResourceRequest) GetOffset

func (x *QueryResourceRequest) GetOffset() string

func (*QueryResourceRequest) GetOrganizationId

func (x *QueryResourceRequest) GetOrganizationId() string

func (*QueryResourceRequest) GetPredicates

func (x *QueryResourceRequest) GetPredicates() map[string]string

func (*QueryResourceRequest) ProtoMessage

func (*QueryResourceRequest) ProtoMessage()

func (*QueryResourceRequest) ProtoReflect

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

func (*QueryResourceRequest) Reset

func (x *QueryResourceRequest) Reset()

func (*QueryResourceRequest) String

func (x *QueryResourceRequest) String() string

type QueryResourceResponse

type QueryResourceResponse struct {

	// ID unique identifier assigned to this resource.
	// in: body
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Version
	// in: body
	Version int64 `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty"`
	// Namespace of resource.
	// in: Body
	Namespace string `protobuf:"bytes,3,opt,name=namespace,proto3" json:"namespace,omitempty"`
	// Name of the resource.
	// in: body
	Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
	// Kind of the resource.
	Kind string `protobuf:"bytes,5,opt,name=kind,proto3" json:"kind,omitempty"`
	// capacity of resource.
	Capacity int32 `protobuf:"varint,6,opt,name=capacity,proto3" json:"capacity,omitempty"`
	// Attributes of resource.
	Attributes map[string]string `` /* 161-byte string literal not displayed */
	// AllowedActions that can be performed.
	AllowedActions []string `protobuf:"bytes,8,rep,name=allowed_actions,json=allowedActions,proto3" json:"allowed_actions,omitempty"`
	// in: body
	NextOffset string `protobuf:"bytes,9,opt,name=next_offset,json=nextOffset,proto3" json:"next_offset,omitempty"`
	// Created date
	// in: body
	Created *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=created,proto3" json:"created,omitempty"`
	// Updated date
	// in: body
	Updated *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=updated,proto3" json:"updated,omitempty"`
	// contains filtered or unexported fields
}

QueryResourceResponse is response model for querying resource.

swagger:parameters queryResourceResponse

func (*QueryResourceResponse) Descriptor deprecated

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

Deprecated: Use QueryResourceResponse.ProtoReflect.Descriptor instead.

func (*QueryResourceResponse) GetAllowedActions

func (x *QueryResourceResponse) GetAllowedActions() []string

func (*QueryResourceResponse) GetAttributes

func (x *QueryResourceResponse) GetAttributes() map[string]string

func (*QueryResourceResponse) GetCapacity

func (x *QueryResourceResponse) GetCapacity() int32

func (*QueryResourceResponse) GetCreated

func (x *QueryResourceResponse) GetCreated() *timestamppb.Timestamp

func (*QueryResourceResponse) GetId

func (x *QueryResourceResponse) GetId() string

func (*QueryResourceResponse) GetKind

func (x *QueryResourceResponse) GetKind() string

func (*QueryResourceResponse) GetName

func (x *QueryResourceResponse) GetName() string

func (*QueryResourceResponse) GetNamespace

func (x *QueryResourceResponse) GetNamespace() string

func (*QueryResourceResponse) GetNextOffset

func (x *QueryResourceResponse) GetNextOffset() string

func (*QueryResourceResponse) GetUpdated

func (x *QueryResourceResponse) GetUpdated() *timestamppb.Timestamp

func (*QueryResourceResponse) GetVersion

func (x *QueryResourceResponse) GetVersion() int64

func (*QueryResourceResponse) ProtoMessage

func (*QueryResourceResponse) ProtoMessage()

func (*QueryResourceResponse) ProtoReflect

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

func (*QueryResourceResponse) Reset

func (x *QueryResourceResponse) Reset()

func (*QueryResourceResponse) String

func (x *QueryResourceResponse) String() string

type QueryRoleRequest

type QueryRoleRequest struct {

	// in: path
	OrganizationId string `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"`
	// in: path
	Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"`
	// Name of the role.
	// in:query
	Predicates map[string]string `` /* 161-byte string literal not displayed */
	// in: query
	Offset string `protobuf:"bytes,4,opt,name=offset,proto3" json:"offset,omitempty"`
	// in: query
	Limit int64 `protobuf:"varint,5,opt,name=limit,proto3" json:"limit,omitempty"`
	// contains filtered or unexported fields
}

QueryRoleRequest is request model for querying roles.

swagger:parameters queryRoleRequest

func (*QueryRoleRequest) Descriptor deprecated

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

Deprecated: Use QueryRoleRequest.ProtoReflect.Descriptor instead.

func (*QueryRoleRequest) GetLimit

func (x *QueryRoleRequest) GetLimit() int64

func (*QueryRoleRequest) GetNamespace

func (x *QueryRoleRequest) GetNamespace() string

func (*QueryRoleRequest) GetOffset

func (x *QueryRoleRequest) GetOffset() string

func (*QueryRoleRequest) GetOrganizationId

func (x *QueryRoleRequest) GetOrganizationId() string

func (*QueryRoleRequest) GetPredicates

func (x *QueryRoleRequest) GetPredicates() map[string]string

func (*QueryRoleRequest) ProtoMessage

func (*QueryRoleRequest) ProtoMessage()

func (*QueryRoleRequest) ProtoReflect

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

func (*QueryRoleRequest) Reset

func (x *QueryRoleRequest) Reset()

func (*QueryRoleRequest) String

func (x *QueryRoleRequest) String() string

type QueryRoleResponse

type QueryRoleResponse struct {

	// ID unique identifier assigned to this role.
	// in: body
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Version
	// in: body
	Version int64 `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty"`
	// Namespace of role.
	// in: Body
	Namespace string `protobuf:"bytes,3,opt,name=namespace,proto3" json:"namespace,omitempty"`
	// Name of the role.
	// in: path
	Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
	// PermissionIDs that can be performed.
	// in: path
	PermissionIds []string `protobuf:"bytes,5,rep,name=permission_ids,json=permissionIds,proto3" json:"permission_ids,omitempty"`
	// Optional parent ids
	// in: path
	ParentIds []string `protobuf:"bytes,6,rep,name=parent_ids,json=parentIds,proto3" json:"parent_ids,omitempty"` // optional
	// in: body
	NextOffset string `protobuf:"bytes,7,opt,name=next_offset,json=nextOffset,proto3" json:"next_offset,omitempty"`
	// Created date
	// in: body
	Created *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=created,proto3" json:"created,omitempty"`
	// Updated date
	// in: body
	Updated *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=updated,proto3" json:"updated,omitempty"`
	// contains filtered or unexported fields
}

QueryRoleResponse is response model for querying role.

swagger:parameters queryRoleResponse

func (*QueryRoleResponse) Descriptor deprecated

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

Deprecated: Use QueryRoleResponse.ProtoReflect.Descriptor instead.

func (*QueryRoleResponse) GetCreated

func (x *QueryRoleResponse) GetCreated() *timestamppb.Timestamp

func (*QueryRoleResponse) GetId

func (x *QueryRoleResponse) GetId() string

func (*QueryRoleResponse) GetName

func (x *QueryRoleResponse) GetName() string

func (*QueryRoleResponse) GetNamespace

func (x *QueryRoleResponse) GetNamespace() string

func (*QueryRoleResponse) GetNextOffset

func (x *QueryRoleResponse) GetNextOffset() string

func (*QueryRoleResponse) GetParentIds

func (x *QueryRoleResponse) GetParentIds() []string

func (*QueryRoleResponse) GetPermissionIds

func (x *QueryRoleResponse) GetPermissionIds() []string

func (*QueryRoleResponse) GetUpdated

func (x *QueryRoleResponse) GetUpdated() *timestamppb.Timestamp

func (*QueryRoleResponse) GetVersion

func (x *QueryRoleResponse) GetVersion() int64

func (*QueryRoleResponse) ProtoMessage

func (*QueryRoleResponse) ProtoMessage()

func (*QueryRoleResponse) ProtoReflect

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

func (*QueryRoleResponse) Reset

func (x *QueryRoleResponse) Reset()

func (*QueryRoleResponse) String

func (x *QueryRoleResponse) String() string

type RelationshipsServiceClient

type RelationshipsServiceClient interface {
	// Create Relationships swagger:route POST /api/v1/{organization_id}/{namespace}/relations relationships createRelationshipRequest
	//
	// Responses:
	// 200: createRelationshipResponse
	// 400	Bad Request
	// 401	Not Authorized
	// 500	Internal Error
	Create(ctx context.Context, in *CreateRelationshipRequest, opts ...grpc.CallOption) (*CreateRelationshipResponse, error)
	// Update Relationships swagger:route PUT /api/v1/{organization_id}/{namespace}/relations/{id} relationships updateRelationshipRequest
	//
	// Responses:
	// 200: updateRelationshipResponse
	// 400	Bad Request
	// 401	Not Authorized
	// 500	Internal Error
	Update(ctx context.Context, in *UpdateRelationshipRequest, opts ...grpc.CallOption) (*UpdateRelationshipResponse, error)
	// Query Relationship swagger:route GET /api/v1/{organization_id}/{namespace}/relations relationships queryRelationshipRequest
	//
	// Responses:
	// 200: queryRelationshipResponse
	// 400	Bad Request
	// 401	Not Authorized
	// 500	Internal Error
	Query(ctx context.Context, in *QueryRelationshipRequest, opts ...grpc.CallOption) (RelationshipsService_QueryClient, error)
	// Delete Relationship swagger:route DELETE /api/v1/{organization_id}/{namespace}/relations/{id} relationships deleteRelationshipRequest
	//
	// Responses:
	// 200: deleteRelationshipResponse
	// 400	Bad Request
	// 401	Not Authorized
	// 500	Internal Error
	Delete(ctx context.Context, in *DeleteRelationshipRequest, opts ...grpc.CallOption) (*DeleteRelationshipResponse, error)
}

RelationshipsServiceClient is the client API for RelationshipsService 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 RelationshipsServiceServer

type RelationshipsServiceServer interface {
	// Create Relationships swagger:route POST /api/v1/{organization_id}/{namespace}/relations relationships createRelationshipRequest
	//
	// Responses:
	// 200: createRelationshipResponse
	// 400	Bad Request
	// 401	Not Authorized
	// 500	Internal Error
	Create(context.Context, *CreateRelationshipRequest) (*CreateRelationshipResponse, error)
	// Update Relationships swagger:route PUT /api/v1/{organization_id}/{namespace}/relations/{id} relationships updateRelationshipRequest
	//
	// Responses:
	// 200: updateRelationshipResponse
	// 400	Bad Request
	// 401	Not Authorized
	// 500	Internal Error
	Update(context.Context, *UpdateRelationshipRequest) (*UpdateRelationshipResponse, error)
	// Query Relationship swagger:route GET /api/v1/{organization_id}/{namespace}/relations relationships queryRelationshipRequest
	//
	// Responses:
	// 200: queryRelationshipResponse
	// 400	Bad Request
	// 401	Not Authorized
	// 500	Internal Error
	Query(*QueryRelationshipRequest, RelationshipsService_QueryServer) error
	// Delete Relationship swagger:route DELETE /api/v1/{organization_id}/{namespace}/relations/{id} relationships deleteRelationshipRequest
	//
	// Responses:
	// 200: deleteRelationshipResponse
	// 400	Bad Request
	// 401	Not Authorized
	// 500	Internal Error
	Delete(context.Context, *DeleteRelationshipRequest) (*DeleteRelationshipResponse, error)
	// contains filtered or unexported methods
}

RelationshipsServiceServer is the server API for RelationshipsService service. All implementations must embed UnimplementedRelationshipsServiceServer for forward compatibility

type RelationshipsService_QueryClient

type RelationshipsService_QueryClient interface {
	Recv() (*QueryRelationshipResponse, error)
	grpc.ClientStream
}

type RelationshipsService_QueryServer

type RelationshipsService_QueryServer interface {
	Send(*QueryRelationshipResponse) error
	grpc.ServerStream
}

type ResourcesServiceClient

type ResourcesServiceClient interface {
	// Create Resources swagger:route POST /api/v1/{organization_id}/{namespace}/resources resources createResourceRequest
	//
	// Responses:
	// 200: createResourceResponse
	// 400	Bad Request
	// 401	Not Authorized
	// 500	Internal Error
	Create(ctx context.Context, in *CreateResourceRequest, opts ...grpc.CallOption) (*CreateResourceResponse, error)
	// Update Resources swagger:route PUT /api/v1/{organization_id}/{namespace}/resources/{id} resources updateResourceRequest
	//
	// Responses:
	// 200: updateResourceResponse
	// 400	Bad Request
	// 401	Not Authorized
	// 500	Internal Error
	Update(ctx context.Context, in *UpdateResourceRequest, opts ...grpc.CallOption) (*UpdateResourceResponse, error)
	// Query Resource swagger:route GET /api/v1/{organization_id}/{namespace}/resources resources queryResourceRequest
	//
	// Responses:
	// 200: queryResourceResponse
	// 400	Bad Request
	// 401	Not Authorized
	// 500	Internal Error
	Query(ctx context.Context, in *QueryResourceRequest, opts ...grpc.CallOption) (ResourcesService_QueryClient, error)
	// Delete Resource swagger:route DELETE /api/v1/{organization_id}/{namespace}/resources/{id} resources deleteResourceRequest
	//
	// Responses:
	// 200: deleteResourceResponse
	// 400	Bad Request
	// 401	Not Authorized
	// 500	Internal Error
	Delete(ctx context.Context, in *DeleteResourceRequest, opts ...grpc.CallOption) (*DeleteResourceResponse, error)
	// CountResourceInstances Resources swagger:route GET /api/v1/{organization_id}/{namespace}/resources/{id}/instance_count resources countResourceInstancesRequest
	//
	// Responses:
	// 200: countResourceInstancesResponse
	// 400	Bad Request
	// 401	Not Authorized
	// 500	Internal Error
	CountResourceInstances(ctx context.Context, in *CountResourceInstancesRequest, opts ...grpc.CallOption) (*CountResourceInstancesResponse, error)
	// QueryResourceInstances Resources swagger:route GET /api/v1/{organization_id}/{namespace}/resources/{id}/instances resources queryResourceInstanceRequest
	//
	// Responses:
	// 200: queryResourceInstanceResponse
	// 400	Bad Request
	// 401	Not Authorized
	// 500	Internal Error
	QueryResourceInstances(ctx context.Context, in *QueryResourceInstanceRequest, opts ...grpc.CallOption) (ResourcesService_QueryResourceInstancesClient, error)
}

ResourcesServiceClient is the client API for ResourcesService 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 ResourcesServiceServer

type ResourcesServiceServer interface {
	// Create Resources swagger:route POST /api/v1/{organization_id}/{namespace}/resources resources createResourceRequest
	//
	// Responses:
	// 200: createResourceResponse
	// 400	Bad Request
	// 401	Not Authorized
	// 500	Internal Error
	Create(context.Context, *CreateResourceRequest) (*CreateResourceResponse, error)
	// Update Resources swagger:route PUT /api/v1/{organization_id}/{namespace}/resources/{id} resources updateResourceRequest
	//
	// Responses:
	// 200: updateResourceResponse
	// 400	Bad Request
	// 401	Not Authorized
	// 500	Internal Error
	Update(context.Context, *UpdateResourceRequest) (*UpdateResourceResponse, error)
	// Query Resource swagger:route GET /api/v1/{organization_id}/{namespace}/resources resources queryResourceRequest
	//
	// Responses:
	// 200: queryResourceResponse
	// 400	Bad Request
	// 401	Not Authorized
	// 500	Internal Error
	Query(*QueryResourceRequest, ResourcesService_QueryServer) error
	// Delete Resource swagger:route DELETE /api/v1/{organization_id}/{namespace}/resources/{id} resources deleteResourceRequest
	//
	// Responses:
	// 200: deleteResourceResponse
	// 400	Bad Request
	// 401	Not Authorized
	// 500	Internal Error
	Delete(context.Context, *DeleteResourceRequest) (*DeleteResourceResponse, error)
	// CountResourceInstances Resources swagger:route GET /api/v1/{organization_id}/{namespace}/resources/{id}/instance_count resources countResourceInstancesRequest
	//
	// Responses:
	// 200: countResourceInstancesResponse
	// 400	Bad Request
	// 401	Not Authorized
	// 500	Internal Error
	CountResourceInstances(context.Context, *CountResourceInstancesRequest) (*CountResourceInstancesResponse, error)
	// QueryResourceInstances Resources swagger:route GET /api/v1/{organization_id}/{namespace}/resources/{id}/instances resources queryResourceInstanceRequest
	//
	// Responses:
	// 200: queryResourceInstanceResponse
	// 400	Bad Request
	// 401	Not Authorized
	// 500	Internal Error
	QueryResourceInstances(*QueryResourceInstanceRequest, ResourcesService_QueryResourceInstancesServer) error
	// contains filtered or unexported methods
}

ResourcesServiceServer is the server API for ResourcesService service. All implementations must embed UnimplementedResourcesServiceServer for forward compatibility

type ResourcesService_QueryClient

type ResourcesService_QueryClient interface {
	Recv() (*QueryResourceResponse, error)
	grpc.ClientStream
}

type ResourcesService_QueryResourceInstancesClient

type ResourcesService_QueryResourceInstancesClient interface {
	Recv() (*QueryResourceInstanceResponse, error)
	grpc.ClientStream
}

type ResourcesService_QueryResourceInstancesServer

type ResourcesService_QueryResourceInstancesServer interface {
	Send(*QueryResourceInstanceResponse) error
	grpc.ServerStream
}

type ResourcesService_QueryServer

type ResourcesService_QueryServer interface {
	Send(*QueryResourceResponse) error
	grpc.ServerStream
}

type RolesServiceClient

type RolesServiceClient interface {
	// Create Roles swagger:route POST /api/v1/{organization_id}/{namespace}/roles roles createRoleRequest
	//
	// Responses:
	// 200: createRoleResponse
	// 400	Bad Request
	// 401	Not Authorized
	// 500	Internal Error
	Create(ctx context.Context, in *CreateRoleRequest, opts ...grpc.CallOption) (*CreateRoleResponse, error)
	// Update Roles swagger:route PUT /api/v1/{organization_id}/{namespace}/roles/{id} roles updateRoleRequest
	//
	// Responses:
	// 200: updateRoleResponse
	// 400	Bad Request
	// 401	Not Authorized
	// 500	Internal Error
	Update(ctx context.Context, in *UpdateRoleRequest, opts ...grpc.CallOption) (*UpdateRoleResponse, error)
	// Query Role swagger:route GET /api/v1/{organization_id}/{namespace}/roles roles queryRoleRequest
	//
	// Responses:
	// 200: queryRoleResponse
	// 400	Bad Request
	// 401	Not Authorized
	// 500	Internal Error
	Query(ctx context.Context, in *QueryRoleRequest, opts ...grpc.CallOption) (RolesService_QueryClient, error)
	// Delete Role swagger:route DELETE /api/v1/{organization_id}/{namespace}/roles/{id} roles deleteRoleRequest
	//
	// Responses:
	// 200: deleteRoleResponse
	// 400	Bad Request
	// 401	Not Authorized
	// 500	Internal Error
	Delete(ctx context.Context, in *DeleteRoleRequest, opts ...grpc.CallOption) (*DeleteRoleResponse, error)
	// AddPermissions Role swagger:route PUT /api/v1/{organization_id}/{namespace}/roles/{id}/permissions/add roles addPermissionsToRoleRequest
	//
	// Responses:
	// 200: addPermissionsToRoleResponse
	// 400	Bad Request
	// 401	Not Authorized
	// 500	Internal Error
	AddPermissions(ctx context.Context, in *AddPermissionsToRoleRequest, opts ...grpc.CallOption) (*AddPermissionsToRoleResponse, error)
	// DeletePermissions Role swagger:route PUT /api/v1/{organization_id}/{namespace}/roles/{id}/permissions/delete roles deletePermissionsToRoleRequest
	//
	// Responses:
	// 200: deletePermissionsToRoleResponse
	// 400	Bad Request
	// 401	Not Authorized
	// 500	Internal Error
	DeletePermissions(ctx context.Context, in *DeletePermissionsToRoleRequest, opts ...grpc.CallOption) (*DeletePermissionsToRoleResponse, error)
}

RolesServiceClient is the client API for RolesService 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 RolesServiceServer

type RolesServiceServer interface {
	// Create Roles swagger:route POST /api/v1/{organization_id}/{namespace}/roles roles createRoleRequest
	//
	// Responses:
	// 200: createRoleResponse
	// 400	Bad Request
	// 401	Not Authorized
	// 500	Internal Error
	Create(context.Context, *CreateRoleRequest) (*CreateRoleResponse, error)
	// Update Roles swagger:route PUT /api/v1/{organization_id}/{namespace}/roles/{id} roles updateRoleRequest
	//
	// Responses:
	// 200: updateRoleResponse
	// 400	Bad Request
	// 401	Not Authorized
	// 500	Internal Error
	Update(context.Context, *UpdateRoleRequest) (*UpdateRoleResponse, error)
	// Query Role swagger:route GET /api/v1/{organization_id}/{namespace}/roles roles queryRoleRequest
	//
	// Responses:
	// 200: queryRoleResponse
	// 400	Bad Request
	// 401	Not Authorized
	// 500	Internal Error
	Query(*QueryRoleRequest, RolesService_QueryServer) error
	// Delete Role swagger:route DELETE /api/v1/{organization_id}/{namespace}/roles/{id} roles deleteRoleRequest
	//
	// Responses:
	// 200: deleteRoleResponse
	// 400	Bad Request
	// 401	Not Authorized
	// 500	Internal Error
	Delete(context.Context, *DeleteRoleRequest) (*DeleteRoleResponse, error)
	// AddPermissions Role swagger:route PUT /api/v1/{organization_id}/{namespace}/roles/{id}/permissions/add roles addPermissionsToRoleRequest
	//
	// Responses:
	// 200: addPermissionsToRoleResponse
	// 400	Bad Request
	// 401	Not Authorized
	// 500	Internal Error
	AddPermissions(context.Context, *AddPermissionsToRoleRequest) (*AddPermissionsToRoleResponse, error)
	// DeletePermissions Role swagger:route PUT /api/v1/{organization_id}/{namespace}/roles/{id}/permissions/delete roles deletePermissionsToRoleRequest
	//
	// Responses:
	// 200: deletePermissionsToRoleResponse
	// 400	Bad Request
	// 401	Not Authorized
	// 500	Internal Error
	DeletePermissions(context.Context, *DeletePermissionsToRoleRequest) (*DeletePermissionsToRoleResponse, error)
	// contains filtered or unexported methods
}

RolesServiceServer is the server API for RolesService service. All implementations must embed UnimplementedRolesServiceServer for forward compatibility

type RolesService_QueryClient

type RolesService_QueryClient interface {
	Recv() (*QueryRoleResponse, error)
	grpc.ClientStream
}

type RolesService_QueryServer

type RolesService_QueryServer interface {
	Send(*QueryRoleResponse) error
	grpc.ServerStream
}

type UnimplementedAuthZServiceServer

type UnimplementedAuthZServiceServer struct {
}

UnimplementedAuthZServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedAuthZServiceServer) Authorize

type UnimplementedGroupsServiceServer

type UnimplementedGroupsServiceServer struct {
}

UnimplementedGroupsServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedGroupsServiceServer) AddRoles

func (UnimplementedGroupsServiceServer) Create

func (UnimplementedGroupsServiceServer) Delete

func (UnimplementedGroupsServiceServer) Query

func (UnimplementedGroupsServiceServer) Update

type UnimplementedOrganizationsServiceServer

type UnimplementedOrganizationsServiceServer struct {
}

UnimplementedOrganizationsServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedOrganizationsServiceServer) Get

type UnimplementedPermissionsServiceServer

type UnimplementedPermissionsServiceServer struct {
}

UnimplementedPermissionsServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedPermissionsServiceServer) Create

func (UnimplementedPermissionsServiceServer) Delete

func (UnimplementedPermissionsServiceServer) Query

func (UnimplementedPermissionsServiceServer) Update

type UnimplementedPrincipalsServiceServer

type UnimplementedPrincipalsServiceServer struct {
}

UnimplementedPrincipalsServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedPrincipalsServiceServer) Create

func (UnimplementedPrincipalsServiceServer) Delete

func (UnimplementedPrincipalsServiceServer) Get

func (UnimplementedPrincipalsServiceServer) Query

func (UnimplementedPrincipalsServiceServer) Update

type UnimplementedRelationshipsServiceServer

type UnimplementedRelationshipsServiceServer struct {
}

UnimplementedRelationshipsServiceServer must be embedded to have forward compatible implementations.

type UnimplementedResourcesServiceServer

type UnimplementedResourcesServiceServer struct {
}

UnimplementedResourcesServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedResourcesServiceServer) Create

func (UnimplementedResourcesServiceServer) Delete

func (UnimplementedResourcesServiceServer) Query

func (UnimplementedResourcesServiceServer) Update

type UnimplementedRolesServiceServer

type UnimplementedRolesServiceServer struct {
}

UnimplementedRolesServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedRolesServiceServer) Create

func (UnimplementedRolesServiceServer) Delete

func (UnimplementedRolesServiceServer) Query

func (UnimplementedRolesServiceServer) Update

type UnsafeAuthZServiceServer

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

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

type UnsafeGroupsServiceServer

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

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

type UnsafeOrganizationsServiceServer

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

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

type UnsafePermissionsServiceServer

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

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

type UnsafePrincipalsServiceServer

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

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

type UnsafeRelationshipsServiceServer

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

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

type UnsafeResourcesServiceServer

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

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

type UnsafeRolesServiceServer

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

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

type UpdateGroupRequest

type UpdateGroupRequest struct {

	// in: path
	OrganizationId string `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"`
	// in: path
	Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"`
	// in: path
	Id string `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"`
	// Version
	// in: body
	Version int64 `protobuf:"varint,4,opt,name=version,proto3" json:"version,omitempty"`
	// Name (unique) of the group.
	// in: body
	Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"`
	// Optional parent ids.
	// in: body
	ParentIds []string `protobuf:"bytes,6,rep,name=parent_ids,json=parentIds,proto3" json:"parent_ids,omitempty"` // optional
	// contains filtered or unexported fields
}

UpdateGroupRequest is request model for updating group.

swagger:parameters updateGroupRequest

func (*UpdateGroupRequest) Descriptor deprecated

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

Deprecated: Use UpdateGroupRequest.ProtoReflect.Descriptor instead.

func (*UpdateGroupRequest) GetId

func (x *UpdateGroupRequest) GetId() string

func (*UpdateGroupRequest) GetName

func (x *UpdateGroupRequest) GetName() string

func (*UpdateGroupRequest) GetNamespace

func (x *UpdateGroupRequest) GetNamespace() string

func (*UpdateGroupRequest) GetOrganizationId

func (x *UpdateGroupRequest) GetOrganizationId() string

func (*UpdateGroupRequest) GetParentIds

func (x *UpdateGroupRequest) GetParentIds() []string

func (*UpdateGroupRequest) GetVersion

func (x *UpdateGroupRequest) GetVersion() int64

func (*UpdateGroupRequest) ProtoMessage

func (*UpdateGroupRequest) ProtoMessage()

func (*UpdateGroupRequest) ProtoReflect

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

func (*UpdateGroupRequest) Reset

func (x *UpdateGroupRequest) Reset()

func (*UpdateGroupRequest) String

func (x *UpdateGroupRequest) String() string

type UpdateGroupResponse

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

UpdateGroupResponse is response model for updating group.

swagger:parameters updateGroupResponse

func (*UpdateGroupResponse) Descriptor deprecated

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

Deprecated: Use UpdateGroupResponse.ProtoReflect.Descriptor instead.

func (*UpdateGroupResponse) ProtoMessage

func (*UpdateGroupResponse) ProtoMessage()

func (*UpdateGroupResponse) ProtoReflect

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

func (*UpdateGroupResponse) Reset

func (x *UpdateGroupResponse) Reset()

func (*UpdateGroupResponse) String

func (x *UpdateGroupResponse) String() string

type UpdateOrganizationRequest

type UpdateOrganizationRequest struct {

	// in: path
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Version
	// in: body
	Version int64 `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty"`
	// Name of the organization.
	// in: body
	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	// Allowed Namespaces for organization.
	Namespaces []string `protobuf:"bytes,4,rep,name=namespaces,proto3" json:"namespaces,omitempty"`
	// url for organization.
	// in: body
	Url string `protobuf:"bytes,5,opt,name=url,proto3" json:"url,omitempty"`
	// Optional parent ids.
	// in: body
	ParentIds []string `protobuf:"bytes,6,rep,name=parent_ids,json=parentIds,proto3" json:"parent_ids,omitempty"` // optional
	// contains filtered or unexported fields
}

UpdateOrganizationRequest is request model for updating organization.

swagger:parameters updateOrganizationRequest

func (*UpdateOrganizationRequest) Descriptor deprecated

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

Deprecated: Use UpdateOrganizationRequest.ProtoReflect.Descriptor instead.

func (*UpdateOrganizationRequest) GetId

func (x *UpdateOrganizationRequest) GetId() string

func (*UpdateOrganizationRequest) GetName

func (x *UpdateOrganizationRequest) GetName() string

func (*UpdateOrganizationRequest) GetNamespaces

func (x *UpdateOrganizationRequest) GetNamespaces() []string

func (*UpdateOrganizationRequest) GetParentIds

func (x *UpdateOrganizationRequest) GetParentIds() []string

func (*UpdateOrganizationRequest) GetUrl

func (x *UpdateOrganizationRequest) GetUrl() string

func (*UpdateOrganizationRequest) GetVersion

func (x *UpdateOrganizationRequest) GetVersion() int64

func (*UpdateOrganizationRequest) ProtoMessage

func (*UpdateOrganizationRequest) ProtoMessage()

func (*UpdateOrganizationRequest) ProtoReflect

func (*UpdateOrganizationRequest) Reset

func (x *UpdateOrganizationRequest) Reset()

func (*UpdateOrganizationRequest) String

func (x *UpdateOrganizationRequest) String() string

type UpdateOrganizationResponse

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

UpdateOrganizationResponse is response model for updating organization.

swagger:parameters updateOrganizationResponse

func (*UpdateOrganizationResponse) Descriptor deprecated

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

Deprecated: Use UpdateOrganizationResponse.ProtoReflect.Descriptor instead.

func (*UpdateOrganizationResponse) ProtoMessage

func (*UpdateOrganizationResponse) ProtoMessage()

func (*UpdateOrganizationResponse) ProtoReflect

func (*UpdateOrganizationResponse) Reset

func (x *UpdateOrganizationResponse) Reset()

func (*UpdateOrganizationResponse) String

func (x *UpdateOrganizationResponse) String() string

type UpdatePermissionRequest

type UpdatePermissionRequest struct {

	// in: path
	OrganizationId string `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"`
	// in: path
	Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"`
	// in: path
	Id string `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"`
	// Version
	// in: body
	Version int64 `protobuf:"varint,4,opt,name=version,proto3" json:"version,omitempty"`
	// Scope for permission.
	// in: body
	Scope string `protobuf:"bytes,5,opt,name=scope,proto3" json:"scope,omitempty"`
	// Actions that can be performed.
	// in: body
	Actions []string `protobuf:"bytes,6,rep,name=actions,proto3" json:"actions,omitempty"`
	// Resource for the action.
	// in: body
	ResourceId string `protobuf:"bytes,7,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"`
	// Effect Permitted or Denied
	// in: body
	Effect types.Effect `protobuf:"varint,8,opt,name=effect,proto3,enum=api.authz.types.Effect" json:"effect,omitempty"`
	// Constraints expression with dynamic properties.
	// in: body
	Constraints string `protobuf:"bytes,9,opt,name=constraints,proto3" json:"constraints,omitempty"`
	// contains filtered or unexported fields
}

UpdatePermissionRequest is request model for updating permission.

swagger:parameters updatePermissionRequest

func (*UpdatePermissionRequest) Descriptor deprecated

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

Deprecated: Use UpdatePermissionRequest.ProtoReflect.Descriptor instead.

func (*UpdatePermissionRequest) GetActions

func (x *UpdatePermissionRequest) GetActions() []string

func (*UpdatePermissionRequest) GetConstraints

func (x *UpdatePermissionRequest) GetConstraints() string

func (*UpdatePermissionRequest) GetEffect

func (x *UpdatePermissionRequest) GetEffect() types.Effect

func (*UpdatePermissionRequest) GetId

func (x *UpdatePermissionRequest) GetId() string

func (*UpdatePermissionRequest) GetNamespace

func (x *UpdatePermissionRequest) GetNamespace() string

func (*UpdatePermissionRequest) GetOrganizationId

func (x *UpdatePermissionRequest) GetOrganizationId() string

func (*UpdatePermissionRequest) GetResourceId

func (x *UpdatePermissionRequest) GetResourceId() string

func (*UpdatePermissionRequest) GetScope

func (x *UpdatePermissionRequest) GetScope() string

func (*UpdatePermissionRequest) GetVersion

func (x *UpdatePermissionRequest) GetVersion() int64

func (*UpdatePermissionRequest) ProtoMessage

func (*UpdatePermissionRequest) ProtoMessage()

func (*UpdatePermissionRequest) ProtoReflect

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

func (*UpdatePermissionRequest) Reset

func (x *UpdatePermissionRequest) Reset()

func (*UpdatePermissionRequest) String

func (x *UpdatePermissionRequest) String() string

type UpdatePermissionResponse

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

UpdatePermissionResponse is response model for updating permission.

swagger:parameters updatePermissionResponse

func (*UpdatePermissionResponse) Descriptor deprecated

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

Deprecated: Use UpdatePermissionResponse.ProtoReflect.Descriptor instead.

func (*UpdatePermissionResponse) ProtoMessage

func (*UpdatePermissionResponse) ProtoMessage()

func (*UpdatePermissionResponse) ProtoReflect

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

func (*UpdatePermissionResponse) Reset

func (x *UpdatePermissionResponse) Reset()

func (*UpdatePermissionResponse) String

func (x *UpdatePermissionResponse) String() string

type UpdatePrincipalRequest

type UpdatePrincipalRequest struct {

	// in: path
	OrganizationId string `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"`
	// in: path
	Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	// Version
	// in: body
	Version int64 `protobuf:"varint,3,opt,name=version,proto3" json:"version,omitempty"`
	// in: body
	Namespaces []string `protobuf:"bytes,4,rep,name=namespaces,proto3" json:"namespaces,omitempty"`
	// Username (unique) of the principal user.
	// in: body
	Username string `protobuf:"bytes,5,opt,name=username,proto3" json:"username,omitempty"`
	// Name of the principal user.
	// in: body
	Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"`
	// Attributes of principal
	// in: body
	Attributes map[string]string `` /* 161-byte string literal not displayed */
	// contains filtered or unexported fields
}

UpdatePrincipalRequest is request model for updating principal.

swagger:parameters updatePrincipalRequest

func (*UpdatePrincipalRequest) Descriptor deprecated

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

Deprecated: Use UpdatePrincipalRequest.ProtoReflect.Descriptor instead.

func (*UpdatePrincipalRequest) GetAttributes

func (x *UpdatePrincipalRequest) GetAttributes() map[string]string

func (*UpdatePrincipalRequest) GetId

func (x *UpdatePrincipalRequest) GetId() string

func (*UpdatePrincipalRequest) GetName

func (x *UpdatePrincipalRequest) GetName() string

func (*UpdatePrincipalRequest) GetNamespaces

func (x *UpdatePrincipalRequest) GetNamespaces() []string

func (*UpdatePrincipalRequest) GetOrganizationId

func (x *UpdatePrincipalRequest) GetOrganizationId() string

func (*UpdatePrincipalRequest) GetUsername

func (x *UpdatePrincipalRequest) GetUsername() string

func (*UpdatePrincipalRequest) GetVersion

func (x *UpdatePrincipalRequest) GetVersion() int64

func (*UpdatePrincipalRequest) ProtoMessage

func (*UpdatePrincipalRequest) ProtoMessage()

func (*UpdatePrincipalRequest) ProtoReflect

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

func (*UpdatePrincipalRequest) Reset

func (x *UpdatePrincipalRequest) Reset()

func (*UpdatePrincipalRequest) String

func (x *UpdatePrincipalRequest) String() string

type UpdatePrincipalResponse

type UpdatePrincipalResponse struct {

	// ID unique identifier assigned to this principal.
	// in: body
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

UpdatePrincipalResponse is response model for updating principal.

swagger:parameters updatePrincipalResponse

func (*UpdatePrincipalResponse) Descriptor deprecated

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

Deprecated: Use UpdatePrincipalResponse.ProtoReflect.Descriptor instead.

func (*UpdatePrincipalResponse) GetId

func (x *UpdatePrincipalResponse) GetId() string

func (*UpdatePrincipalResponse) ProtoMessage

func (*UpdatePrincipalResponse) ProtoMessage()

func (*UpdatePrincipalResponse) ProtoReflect

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

func (*UpdatePrincipalResponse) Reset

func (x *UpdatePrincipalResponse) Reset()

func (*UpdatePrincipalResponse) String

func (x *UpdatePrincipalResponse) String() string

type UpdateRelationshipRequest

type UpdateRelationshipRequest struct {

	// in: path
	OrganizationId string `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"`
	// in: path
	Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"`
	// in: path
	Id string `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"`
	// Version
	// in: body
	Version int64 `protobuf:"varint,4,opt,name=version,proto3" json:"version,omitempty"`
	// Relation name.
	Relation string `protobuf:"bytes,5,opt,name=relation,proto3" json:"relation,omitempty"`
	// PrincipalID for relationship.
	PrincipalId string `protobuf:"bytes,6,opt,name=principal_id,json=principalId,proto3" json:"principal_id,omitempty"`
	// ResourceID for relationship.
	ResourceId string `protobuf:"bytes,7,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"`
	// Attributes of relationship.
	// in:body
	Attributes map[string]string `` /* 161-byte string literal not displayed */
	// contains filtered or unexported fields
}

UpdateRelationshipRequest is request model for updating relationship.

swagger:parameters updateRelationshipRequest

func (*UpdateRelationshipRequest) Descriptor deprecated

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

Deprecated: Use UpdateRelationshipRequest.ProtoReflect.Descriptor instead.

func (*UpdateRelationshipRequest) GetAttributes

func (x *UpdateRelationshipRequest) GetAttributes() map[string]string

func (*UpdateRelationshipRequest) GetId

func (x *UpdateRelationshipRequest) GetId() string

func (*UpdateRelationshipRequest) GetNamespace

func (x *UpdateRelationshipRequest) GetNamespace() string

func (*UpdateRelationshipRequest) GetOrganizationId

func (x *UpdateRelationshipRequest) GetOrganizationId() string

func (*UpdateRelationshipRequest) GetPrincipalId

func (x *UpdateRelationshipRequest) GetPrincipalId() string

func (*UpdateRelationshipRequest) GetRelation

func (x *UpdateRelationshipRequest) GetRelation() string

func (*UpdateRelationshipRequest) GetResourceId

func (x *UpdateRelationshipRequest) GetResourceId() string

func (*UpdateRelationshipRequest) GetVersion

func (x *UpdateRelationshipRequest) GetVersion() int64

func (*UpdateRelationshipRequest) ProtoMessage

func (*UpdateRelationshipRequest) ProtoMessage()

func (*UpdateRelationshipRequest) ProtoReflect

func (*UpdateRelationshipRequest) Reset

func (x *UpdateRelationshipRequest) Reset()

func (*UpdateRelationshipRequest) String

func (x *UpdateRelationshipRequest) String() string

type UpdateRelationshipResponse

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

UpdateRelationshipResponse is response model for updating relationship.

swagger:parameters updateRelationshipResponse

func (*UpdateRelationshipResponse) Descriptor deprecated

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

Deprecated: Use UpdateRelationshipResponse.ProtoReflect.Descriptor instead.

func (*UpdateRelationshipResponse) ProtoMessage

func (*UpdateRelationshipResponse) ProtoMessage()

func (*UpdateRelationshipResponse) ProtoReflect

func (*UpdateRelationshipResponse) Reset

func (x *UpdateRelationshipResponse) Reset()

func (*UpdateRelationshipResponse) String

func (x *UpdateRelationshipResponse) String() string

type UpdateResourceRequest

type UpdateResourceRequest struct {

	// in: path
	OrganizationId string `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"`
	// in: path
	Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"`
	// in: path
	Id string `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"`
	// Version
	// in: body
	Version int64 `protobuf:"varint,4,opt,name=version,proto3" json:"version,omitempty"`
	// Name of the resource. (Kind+Name should be unique)
	Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"`
	// capacity of resource.
	Capacity int32 `protobuf:"varint,6,opt,name=capacity,proto3" json:"capacity,omitempty"`
	// Attributes of resource.
	Attributes map[string]string `` /* 161-byte string literal not displayed */
	// AllowedActions that can be performed.
	AllowedActions []string `protobuf:"bytes,8,rep,name=allowed_actions,json=allowedActions,proto3" json:"allowed_actions,omitempty"`
	// contains filtered or unexported fields
}

UpdateResourceRequest is request model for updating resource.

swagger:parameters updateResourceRequest

func (*UpdateResourceRequest) Descriptor deprecated

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

Deprecated: Use UpdateResourceRequest.ProtoReflect.Descriptor instead.

func (*UpdateResourceRequest) GetAllowedActions

func (x *UpdateResourceRequest) GetAllowedActions() []string

func (*UpdateResourceRequest) GetAttributes

func (x *UpdateResourceRequest) GetAttributes() map[string]string

func (*UpdateResourceRequest) GetCapacity

func (x *UpdateResourceRequest) GetCapacity() int32

func (*UpdateResourceRequest) GetId

func (x *UpdateResourceRequest) GetId() string

func (*UpdateResourceRequest) GetName

func (x *UpdateResourceRequest) GetName() string

func (*UpdateResourceRequest) GetNamespace

func (x *UpdateResourceRequest) GetNamespace() string

func (*UpdateResourceRequest) GetOrganizationId

func (x *UpdateResourceRequest) GetOrganizationId() string

func (*UpdateResourceRequest) GetVersion

func (x *UpdateResourceRequest) GetVersion() int64

func (*UpdateResourceRequest) ProtoMessage

func (*UpdateResourceRequest) ProtoMessage()

func (*UpdateResourceRequest) ProtoReflect

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

func (*UpdateResourceRequest) Reset

func (x *UpdateResourceRequest) Reset()

func (*UpdateResourceRequest) String

func (x *UpdateResourceRequest) String() string

type UpdateResourceResponse

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

UpdateResourceResponse is response model for updating resource.

swagger:parameters updateResourceResponse

func (*UpdateResourceResponse) Descriptor deprecated

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

Deprecated: Use UpdateResourceResponse.ProtoReflect.Descriptor instead.

func (*UpdateResourceResponse) ProtoMessage

func (*UpdateResourceResponse) ProtoMessage()

func (*UpdateResourceResponse) ProtoReflect

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

func (*UpdateResourceResponse) Reset

func (x *UpdateResourceResponse) Reset()

func (*UpdateResourceResponse) String

func (x *UpdateResourceResponse) String() string

type UpdateRoleRequest

type UpdateRoleRequest struct {

	// in: path
	OrganizationId string `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"`
	// in: path
	Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"`
	// in: path
	Id string `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"`
	// Version
	// in: body
	Version int64 `protobuf:"varint,4,opt,name=version,proto3" json:"version,omitempty"`
	// Name of the role.
	// in: body
	Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"`
	// Optional parent ids
	// in: body
	ParentIds []string `protobuf:"bytes,6,rep,name=parent_ids,json=parentIds,proto3" json:"parent_ids,omitempty"` // optional
	// contains filtered or unexported fields
}

UpdateRoleRequest is request model for updating role.

swagger:parameters updateRoleRequest

func (*UpdateRoleRequest) Descriptor deprecated

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

Deprecated: Use UpdateRoleRequest.ProtoReflect.Descriptor instead.

func (*UpdateRoleRequest) GetId

func (x *UpdateRoleRequest) GetId() string

func (*UpdateRoleRequest) GetName

func (x *UpdateRoleRequest) GetName() string

func (*UpdateRoleRequest) GetNamespace

func (x *UpdateRoleRequest) GetNamespace() string

func (*UpdateRoleRequest) GetOrganizationId

func (x *UpdateRoleRequest) GetOrganizationId() string

func (*UpdateRoleRequest) GetParentIds

func (x *UpdateRoleRequest) GetParentIds() []string

func (*UpdateRoleRequest) GetVersion

func (x *UpdateRoleRequest) GetVersion() int64

func (*UpdateRoleRequest) ProtoMessage

func (*UpdateRoleRequest) ProtoMessage()

func (*UpdateRoleRequest) ProtoReflect

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

func (*UpdateRoleRequest) Reset

func (x *UpdateRoleRequest) Reset()

func (*UpdateRoleRequest) String

func (x *UpdateRoleRequest) String() string

type UpdateRoleResponse

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

UpdateRoleResponse is response model for updating role.

swagger:parameters updateRoleResponse

func (*UpdateRoleResponse) Descriptor deprecated

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

Deprecated: Use UpdateRoleResponse.ProtoReflect.Descriptor instead.

func (*UpdateRoleResponse) ProtoMessage

func (*UpdateRoleResponse) ProtoMessage()

func (*UpdateRoleResponse) ProtoReflect

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

func (*UpdateRoleResponse) Reset

func (x *UpdateRoleResponse) Reset()

func (*UpdateRoleResponse) String

func (x *UpdateRoleResponse) String() string

Jump to

Keyboard shortcuts

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