partitionv1

package module
v1.0.27 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2023 License: Apache-2.0 Imports: 27 Imported by: 0

README

service-partition-api

A repository for the partition service api that ants use to group into logical and physical boundaries while investing.

How do I update the definitions?
  • The api definition is defined in the proto file partition.proto

  • To update the proto service you need to run pre-commit command

    pre-commit run --all-files

    with that in place update the api appropriately updates

Documentation

Overview

Package partitionv1 is a generated GoMock package.

Index

Constants

View Source
const (
	PartitionService_GetTenant_FullMethodName           = "/partition.PartitionService/GetTenant"
	PartitionService_ListTenant_FullMethodName          = "/partition.PartitionService/ListTenant"
	PartitionService_CreateTenant_FullMethodName        = "/partition.PartitionService/CreateTenant"
	PartitionService_ListPartition_FullMethodName       = "/partition.PartitionService/ListPartition"
	PartitionService_CreatePartition_FullMethodName     = "/partition.PartitionService/CreatePartition"
	PartitionService_GetPartition_FullMethodName        = "/partition.PartitionService/GetPartition"
	PartitionService_UpdatePartition_FullMethodName     = "/partition.PartitionService/UpdatePartition"
	PartitionService_CreatePartitionRole_FullMethodName = "/partition.PartitionService/CreatePartitionRole"
	PartitionService_ListPartitionRoles_FullMethodName  = "/partition.PartitionService/ListPartitionRoles"
	PartitionService_RemovePartitionRole_FullMethodName = "/partition.PartitionService/RemovePartitionRole"
	PartitionService_CreatePage_FullMethodName          = "/partition.PartitionService/CreatePage"
	PartitionService_GetPage_FullMethodName             = "/partition.PartitionService/GetPage"
	PartitionService_RemovePage_FullMethodName          = "/partition.PartitionService/RemovePage"
	PartitionService_CreateAccess_FullMethodName        = "/partition.PartitionService/CreateAccess"
	PartitionService_GetAccess_FullMethodName           = "/partition.PartitionService/GetAccess"
	PartitionService_RemoveAccess_FullMethodName        = "/partition.PartitionService/RemoveAccess"
	PartitionService_CreateAccessRole_FullMethodName    = "/partition.PartitionService/CreateAccessRole"
	PartitionService_ListAccessRoles_FullMethodName     = "/partition.PartitionService/ListAccessRoles"
	PartitionService_RemoveAccessRole_FullMethodName    = "/partition.PartitionService/RemoveAccessRole"
)

Variables

View Source
var File_partition_proto protoreflect.FileDescriptor
View Source
var PartitionService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "partition.PartitionService",
	HandlerType: (*PartitionServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetTenant",
			Handler:    _PartitionService_GetTenant_Handler,
		},
		{
			MethodName: "CreateTenant",
			Handler:    _PartitionService_CreateTenant_Handler,
		},
		{
			MethodName: "CreatePartition",
			Handler:    _PartitionService_CreatePartition_Handler,
		},
		{
			MethodName: "GetPartition",
			Handler:    _PartitionService_GetPartition_Handler,
		},
		{
			MethodName: "UpdatePartition",
			Handler:    _PartitionService_UpdatePartition_Handler,
		},
		{
			MethodName: "CreatePartitionRole",
			Handler:    _PartitionService_CreatePartitionRole_Handler,
		},
		{
			MethodName: "ListPartitionRoles",
			Handler:    _PartitionService_ListPartitionRoles_Handler,
		},
		{
			MethodName: "RemovePartitionRole",
			Handler:    _PartitionService_RemovePartitionRole_Handler,
		},
		{
			MethodName: "CreatePage",
			Handler:    _PartitionService_CreatePage_Handler,
		},
		{
			MethodName: "GetPage",
			Handler:    _PartitionService_GetPage_Handler,
		},
		{
			MethodName: "RemovePage",
			Handler:    _PartitionService_RemovePage_Handler,
		},
		{
			MethodName: "CreateAccess",
			Handler:    _PartitionService_CreateAccess_Handler,
		},
		{
			MethodName: "GetAccess",
			Handler:    _PartitionService_GetAccess_Handler,
		},
		{
			MethodName: "RemoveAccess",
			Handler:    _PartitionService_RemoveAccess_Handler,
		},
		{
			MethodName: "CreateAccessRole",
			Handler:    _PartitionService_CreateAccessRole_Handler,
		},
		{
			MethodName: "ListAccessRoles",
			Handler:    _PartitionService_ListAccessRoles_Handler,
		},
		{
			MethodName: "RemoveAccessRole",
			Handler:    _PartitionService_RemoveAccessRole_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "ListTenant",
			Handler:       _PartitionService_ListTenant_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "ListPartition",
			Handler:       _PartitionService_ListPartition_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "partition.proto",
}

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

Functions

func RegisterPartitionServiceServer

func RegisterPartitionServiceServer(s grpc.ServiceRegistrar, srv PartitionServiceServer)

func ToContext

func ToContext(ctx context.Context, partitionsClient *PartitionClient) context.Context

Types

type AccessCreateRequest

type AccessCreateRequest struct {
	PartitionId string `protobuf:"bytes,1,opt,name=partition_id,json=partitionId,proto3" json:"partition_id,omitempty"`
	ProfileId   string `protobuf:"bytes,2,opt,name=profile_id,json=profileId,proto3" json:"profile_id,omitempty"`
	// contains filtered or unexported fields
}

func (*AccessCreateRequest) Descriptor deprecated

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

Deprecated: Use AccessCreateRequest.ProtoReflect.Descriptor instead.

func (*AccessCreateRequest) GetPartitionId

func (x *AccessCreateRequest) GetPartitionId() string

func (*AccessCreateRequest) GetProfileId

func (x *AccessCreateRequest) GetProfileId() string

func (*AccessCreateRequest) ProtoMessage

func (*AccessCreateRequest) ProtoMessage()

func (*AccessCreateRequest) ProtoReflect

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

func (*AccessCreateRequest) Reset

func (x *AccessCreateRequest) Reset()

func (*AccessCreateRequest) String

func (x *AccessCreateRequest) String() string

func (*AccessCreateRequest) Validate added in v1.0.1

func (m *AccessCreateRequest) Validate() error

Validate checks the field values on AccessCreateRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*AccessCreateRequest) ValidateAll added in v1.0.23

func (m *AccessCreateRequest) ValidateAll() error

ValidateAll checks the field values on AccessCreateRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AccessCreateRequestMultiError, or nil if none found.

type AccessCreateRequestMultiError added in v1.0.23

type AccessCreateRequestMultiError []error

AccessCreateRequestMultiError is an error wrapping multiple validation errors returned by AccessCreateRequest.ValidateAll() if the designated constraints aren't met.

func (AccessCreateRequestMultiError) AllErrors added in v1.0.23

func (m AccessCreateRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (AccessCreateRequestMultiError) Error added in v1.0.23

Error returns a concatenation of all the error messages it wraps.

type AccessCreateRequestValidationError added in v1.0.1

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

AccessCreateRequestValidationError is the validation error returned by AccessCreateRequest.Validate if the designated constraints aren't met.

func (AccessCreateRequestValidationError) Cause added in v1.0.1

Cause function returns cause value.

func (AccessCreateRequestValidationError) Error added in v1.0.1

Error satisfies the builtin error interface

func (AccessCreateRequestValidationError) ErrorName added in v1.0.1

ErrorName returns error name.

func (AccessCreateRequestValidationError) Field added in v1.0.1

Field function returns field value.

func (AccessCreateRequestValidationError) Key added in v1.0.1

Key function returns key value.

func (AccessCreateRequestValidationError) Reason added in v1.0.1

Reason function returns reason value.

type AccessGetRequest

type AccessGetRequest struct {
	AccessId    string `protobuf:"bytes,1,opt,name=access_id,json=accessId,proto3" json:"access_id,omitempty"`
	PartitionId string `protobuf:"bytes,2,opt,name=partition_id,json=partitionId,proto3" json:"partition_id,omitempty"`
	ProfileId   string `protobuf:"bytes,3,opt,name=profile_id,json=profileId,proto3" json:"profile_id,omitempty"`
	// contains filtered or unexported fields
}

func (*AccessGetRequest) Descriptor deprecated

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

Deprecated: Use AccessGetRequest.ProtoReflect.Descriptor instead.

func (*AccessGetRequest) GetAccessId

func (x *AccessGetRequest) GetAccessId() string

func (*AccessGetRequest) GetPartitionId

func (x *AccessGetRequest) GetPartitionId() string

func (*AccessGetRequest) GetProfileId

func (x *AccessGetRequest) GetProfileId() string

func (*AccessGetRequest) ProtoMessage

func (*AccessGetRequest) ProtoMessage()

func (*AccessGetRequest) ProtoReflect

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

func (*AccessGetRequest) Reset

func (x *AccessGetRequest) Reset()

func (*AccessGetRequest) String

func (x *AccessGetRequest) String() string

func (*AccessGetRequest) Validate added in v1.0.1

func (m *AccessGetRequest) Validate() error

Validate checks the field values on AccessGetRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*AccessGetRequest) ValidateAll added in v1.0.23

func (m *AccessGetRequest) ValidateAll() error

ValidateAll checks the field values on AccessGetRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AccessGetRequestMultiError, or nil if none found.

type AccessGetRequestMultiError added in v1.0.23

type AccessGetRequestMultiError []error

AccessGetRequestMultiError is an error wrapping multiple validation errors returned by AccessGetRequest.ValidateAll() if the designated constraints aren't met.

func (AccessGetRequestMultiError) AllErrors added in v1.0.23

func (m AccessGetRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (AccessGetRequestMultiError) Error added in v1.0.23

Error returns a concatenation of all the error messages it wraps.

type AccessGetRequestValidationError added in v1.0.1

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

AccessGetRequestValidationError is the validation error returned by AccessGetRequest.Validate if the designated constraints aren't met.

func (AccessGetRequestValidationError) Cause added in v1.0.1

Cause function returns cause value.

func (AccessGetRequestValidationError) Error added in v1.0.1

Error satisfies the builtin error interface

func (AccessGetRequestValidationError) ErrorName added in v1.0.1

ErrorName returns error name.

func (AccessGetRequestValidationError) Field added in v1.0.1

Field function returns field value.

func (AccessGetRequestValidationError) Key added in v1.0.1

Key function returns key value.

func (AccessGetRequestValidationError) Reason added in v1.0.1

Reason function returns reason value.

type AccessObject

type AccessObject struct {
	AccessId  string           `protobuf:"bytes,1,opt,name=access_id,json=accessId,proto3" json:"access_id,omitempty"`
	ProfileId string           `protobuf:"bytes,2,opt,name=profile_id,json=profileId,proto3" json:"profile_id,omitempty"`
	Partition *PartitionObject `protobuf:"bytes,3,opt,name=partition,proto3" json:"partition,omitempty"`
	State     common.STATE     `protobuf:"varint,4,opt,name=state,proto3,enum=apis.STATE" json:"state,omitempty"`
	// contains filtered or unexported fields
}

func (*AccessObject) Descriptor deprecated

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

Deprecated: Use AccessObject.ProtoReflect.Descriptor instead.

func (*AccessObject) GetAccessId

func (x *AccessObject) GetAccessId() string

func (*AccessObject) GetPartition added in v1.0.3

func (x *AccessObject) GetPartition() *PartitionObject

func (*AccessObject) GetProfileId

func (x *AccessObject) GetProfileId() string

func (*AccessObject) GetState added in v1.0.3

func (x *AccessObject) GetState() common.STATE

func (*AccessObject) ProtoMessage

func (*AccessObject) ProtoMessage()

func (*AccessObject) ProtoReflect

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

func (*AccessObject) Reset

func (x *AccessObject) Reset()

func (*AccessObject) String

func (x *AccessObject) String() string

func (*AccessObject) Validate added in v1.0.1

func (m *AccessObject) Validate() error

Validate checks the field values on AccessObject with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*AccessObject) ValidateAll added in v1.0.23

func (m *AccessObject) ValidateAll() error

ValidateAll checks the field values on AccessObject with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AccessObjectMultiError, or nil if none found.

type AccessObjectMultiError added in v1.0.23

type AccessObjectMultiError []error

AccessObjectMultiError is an error wrapping multiple validation errors returned by AccessObject.ValidateAll() if the designated constraints aren't met.

func (AccessObjectMultiError) AllErrors added in v1.0.23

func (m AccessObjectMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (AccessObjectMultiError) Error added in v1.0.23

func (m AccessObjectMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type AccessObjectValidationError added in v1.0.1

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

AccessObjectValidationError is the validation error returned by AccessObject.Validate if the designated constraints aren't met.

func (AccessObjectValidationError) Cause added in v1.0.1

Cause function returns cause value.

func (AccessObjectValidationError) Error added in v1.0.1

Error satisfies the builtin error interface

func (AccessObjectValidationError) ErrorName added in v1.0.1

func (e AccessObjectValidationError) ErrorName() string

ErrorName returns error name.

func (AccessObjectValidationError) Field added in v1.0.1

Field function returns field value.

func (AccessObjectValidationError) Key added in v1.0.1

Key function returns key value.

func (AccessObjectValidationError) Reason added in v1.0.1

Reason function returns reason value.

type AccessRemoveRequest

type AccessRemoveRequest struct {
	AccessId string `protobuf:"bytes,1,opt,name=access_id,json=accessId,proto3" json:"access_id,omitempty"`
	// contains filtered or unexported fields
}

func (*AccessRemoveRequest) Descriptor deprecated

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

Deprecated: Use AccessRemoveRequest.ProtoReflect.Descriptor instead.

func (*AccessRemoveRequest) GetAccessId

func (x *AccessRemoveRequest) GetAccessId() string

func (*AccessRemoveRequest) ProtoMessage

func (*AccessRemoveRequest) ProtoMessage()

func (*AccessRemoveRequest) ProtoReflect

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

func (*AccessRemoveRequest) Reset

func (x *AccessRemoveRequest) Reset()

func (*AccessRemoveRequest) String

func (x *AccessRemoveRequest) String() string

func (*AccessRemoveRequest) Validate added in v1.0.1

func (m *AccessRemoveRequest) Validate() error

Validate checks the field values on AccessRemoveRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*AccessRemoveRequest) ValidateAll added in v1.0.23

func (m *AccessRemoveRequest) ValidateAll() error

ValidateAll checks the field values on AccessRemoveRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AccessRemoveRequestMultiError, or nil if none found.

type AccessRemoveRequestMultiError added in v1.0.23

type AccessRemoveRequestMultiError []error

AccessRemoveRequestMultiError is an error wrapping multiple validation errors returned by AccessRemoveRequest.ValidateAll() if the designated constraints aren't met.

func (AccessRemoveRequestMultiError) AllErrors added in v1.0.23

func (m AccessRemoveRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (AccessRemoveRequestMultiError) Error added in v1.0.23

Error returns a concatenation of all the error messages it wraps.

type AccessRemoveRequestValidationError added in v1.0.1

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

AccessRemoveRequestValidationError is the validation error returned by AccessRemoveRequest.Validate if the designated constraints aren't met.

func (AccessRemoveRequestValidationError) Cause added in v1.0.1

Cause function returns cause value.

func (AccessRemoveRequestValidationError) Error added in v1.0.1

Error satisfies the builtin error interface

func (AccessRemoveRequestValidationError) ErrorName added in v1.0.1

ErrorName returns error name.

func (AccessRemoveRequestValidationError) Field added in v1.0.1

Field function returns field value.

func (AccessRemoveRequestValidationError) Key added in v1.0.1

Key function returns key value.

func (AccessRemoveRequestValidationError) Reason added in v1.0.1

Reason function returns reason value.

type AccessRoleCreateRequest

type AccessRoleCreateRequest struct {
	AccessId        string `protobuf:"bytes,1,opt,name=access_id,json=accessId,proto3" json:"access_id,omitempty"`
	PartitionRoleId string `protobuf:"bytes,2,opt,name=partition_role_id,json=partitionRoleId,proto3" json:"partition_role_id,omitempty"`
	// contains filtered or unexported fields
}

Access Roles

func (*AccessRoleCreateRequest) Descriptor deprecated

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

Deprecated: Use AccessRoleCreateRequest.ProtoReflect.Descriptor instead.

func (*AccessRoleCreateRequest) GetAccessId

func (x *AccessRoleCreateRequest) GetAccessId() string

func (*AccessRoleCreateRequest) GetPartitionRoleId

func (x *AccessRoleCreateRequest) GetPartitionRoleId() string

func (*AccessRoleCreateRequest) ProtoMessage

func (*AccessRoleCreateRequest) ProtoMessage()

func (*AccessRoleCreateRequest) ProtoReflect

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

func (*AccessRoleCreateRequest) Reset

func (x *AccessRoleCreateRequest) Reset()

func (*AccessRoleCreateRequest) String

func (x *AccessRoleCreateRequest) String() string

func (*AccessRoleCreateRequest) Validate added in v1.0.1

func (m *AccessRoleCreateRequest) Validate() error

Validate checks the field values on AccessRoleCreateRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*AccessRoleCreateRequest) ValidateAll added in v1.0.23

func (m *AccessRoleCreateRequest) ValidateAll() error

ValidateAll checks the field values on AccessRoleCreateRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AccessRoleCreateRequestMultiError, or nil if none found.

type AccessRoleCreateRequestMultiError added in v1.0.23

type AccessRoleCreateRequestMultiError []error

AccessRoleCreateRequestMultiError is an error wrapping multiple validation errors returned by AccessRoleCreateRequest.ValidateAll() if the designated constraints aren't met.

func (AccessRoleCreateRequestMultiError) AllErrors added in v1.0.23

func (m AccessRoleCreateRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (AccessRoleCreateRequestMultiError) Error added in v1.0.23

Error returns a concatenation of all the error messages it wraps.

type AccessRoleCreateRequestValidationError added in v1.0.1

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

AccessRoleCreateRequestValidationError is the validation error returned by AccessRoleCreateRequest.Validate if the designated constraints aren't met.

func (AccessRoleCreateRequestValidationError) Cause added in v1.0.1

Cause function returns cause value.

func (AccessRoleCreateRequestValidationError) Error added in v1.0.1

Error satisfies the builtin error interface

func (AccessRoleCreateRequestValidationError) ErrorName added in v1.0.1

ErrorName returns error name.

func (AccessRoleCreateRequestValidationError) Field added in v1.0.1

Field function returns field value.

func (AccessRoleCreateRequestValidationError) Key added in v1.0.1

Key function returns key value.

func (AccessRoleCreateRequestValidationError) Reason added in v1.0.1

Reason function returns reason value.

type AccessRoleListRequest

type AccessRoleListRequest struct {
	AccessId string `protobuf:"bytes,1,opt,name=access_id,json=accessId,proto3" json:"access_id,omitempty"`
	// contains filtered or unexported fields
}

func (*AccessRoleListRequest) Descriptor deprecated

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

Deprecated: Use AccessRoleListRequest.ProtoReflect.Descriptor instead.

func (*AccessRoleListRequest) GetAccessId

func (x *AccessRoleListRequest) GetAccessId() string

func (*AccessRoleListRequest) ProtoMessage

func (*AccessRoleListRequest) ProtoMessage()

func (*AccessRoleListRequest) ProtoReflect

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

func (*AccessRoleListRequest) Reset

func (x *AccessRoleListRequest) Reset()

func (*AccessRoleListRequest) String

func (x *AccessRoleListRequest) String() string

func (*AccessRoleListRequest) Validate added in v1.0.1

func (m *AccessRoleListRequest) Validate() error

Validate checks the field values on AccessRoleListRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*AccessRoleListRequest) ValidateAll added in v1.0.23

func (m *AccessRoleListRequest) ValidateAll() error

ValidateAll checks the field values on AccessRoleListRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AccessRoleListRequestMultiError, or nil if none found.

type AccessRoleListRequestMultiError added in v1.0.23

type AccessRoleListRequestMultiError []error

AccessRoleListRequestMultiError is an error wrapping multiple validation errors returned by AccessRoleListRequest.ValidateAll() if the designated constraints aren't met.

func (AccessRoleListRequestMultiError) AllErrors added in v1.0.23

func (m AccessRoleListRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (AccessRoleListRequestMultiError) Error added in v1.0.23

Error returns a concatenation of all the error messages it wraps.

type AccessRoleListRequestValidationError added in v1.0.1

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

AccessRoleListRequestValidationError is the validation error returned by AccessRoleListRequest.Validate if the designated constraints aren't met.

func (AccessRoleListRequestValidationError) Cause added in v1.0.1

Cause function returns cause value.

func (AccessRoleListRequestValidationError) Error added in v1.0.1

Error satisfies the builtin error interface

func (AccessRoleListRequestValidationError) ErrorName added in v1.0.1

ErrorName returns error name.

func (AccessRoleListRequestValidationError) Field added in v1.0.1

Field function returns field value.

func (AccessRoleListRequestValidationError) Key added in v1.0.1

Key function returns key value.

func (AccessRoleListRequestValidationError) Reason added in v1.0.1

Reason function returns reason value.

type AccessRoleListResponse

type AccessRoleListResponse struct {
	Role []*AccessRoleObject `protobuf:"bytes,1,rep,name=role,proto3" json:"role,omitempty"`
	// contains filtered or unexported fields
}

func (*AccessRoleListResponse) Descriptor deprecated

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

Deprecated: Use AccessRoleListResponse.ProtoReflect.Descriptor instead.

func (*AccessRoleListResponse) GetRole

func (x *AccessRoleListResponse) GetRole() []*AccessRoleObject

func (*AccessRoleListResponse) ProtoMessage

func (*AccessRoleListResponse) ProtoMessage()

func (*AccessRoleListResponse) ProtoReflect

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

func (*AccessRoleListResponse) Reset

func (x *AccessRoleListResponse) Reset()

func (*AccessRoleListResponse) String

func (x *AccessRoleListResponse) String() string

func (*AccessRoleListResponse) Validate added in v1.0.1

func (m *AccessRoleListResponse) Validate() error

Validate checks the field values on AccessRoleListResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*AccessRoleListResponse) ValidateAll added in v1.0.23

func (m *AccessRoleListResponse) ValidateAll() error

ValidateAll checks the field values on AccessRoleListResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AccessRoleListResponseMultiError, or nil if none found.

type AccessRoleListResponseMultiError added in v1.0.23

type AccessRoleListResponseMultiError []error

AccessRoleListResponseMultiError is an error wrapping multiple validation errors returned by AccessRoleListResponse.ValidateAll() if the designated constraints aren't met.

func (AccessRoleListResponseMultiError) AllErrors added in v1.0.23

func (m AccessRoleListResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (AccessRoleListResponseMultiError) Error added in v1.0.23

Error returns a concatenation of all the error messages it wraps.

type AccessRoleListResponseValidationError added in v1.0.1

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

AccessRoleListResponseValidationError is the validation error returned by AccessRoleListResponse.Validate if the designated constraints aren't met.

func (AccessRoleListResponseValidationError) Cause added in v1.0.1

Cause function returns cause value.

func (AccessRoleListResponseValidationError) Error added in v1.0.1

Error satisfies the builtin error interface

func (AccessRoleListResponseValidationError) ErrorName added in v1.0.1

ErrorName returns error name.

func (AccessRoleListResponseValidationError) Field added in v1.0.1

Field function returns field value.

func (AccessRoleListResponseValidationError) Key added in v1.0.1

Key function returns key value.

func (AccessRoleListResponseValidationError) Reason added in v1.0.1

Reason function returns reason value.

type AccessRoleObject

type AccessRoleObject struct {
	AccessRoleId string               `protobuf:"bytes,1,opt,name=access_role_id,json=accessRoleId,proto3" json:"access_role_id,omitempty"`
	AccessId     string               `protobuf:"bytes,2,opt,name=access_id,json=accessId,proto3" json:"access_id,omitempty"`
	Role         *PartitionRoleObject `protobuf:"bytes,3,opt,name=role,proto3" json:"role,omitempty"`
	// contains filtered or unexported fields
}

func (*AccessRoleObject) Descriptor deprecated

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

Deprecated: Use AccessRoleObject.ProtoReflect.Descriptor instead.

func (*AccessRoleObject) GetAccessId

func (x *AccessRoleObject) GetAccessId() string

func (*AccessRoleObject) GetAccessRoleId

func (x *AccessRoleObject) GetAccessRoleId() string

func (*AccessRoleObject) GetRole

func (x *AccessRoleObject) GetRole() *PartitionRoleObject

func (*AccessRoleObject) ProtoMessage

func (*AccessRoleObject) ProtoMessage()

func (*AccessRoleObject) ProtoReflect

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

func (*AccessRoleObject) Reset

func (x *AccessRoleObject) Reset()

func (*AccessRoleObject) String

func (x *AccessRoleObject) String() string

func (*AccessRoleObject) Validate added in v1.0.1

func (m *AccessRoleObject) Validate() error

Validate checks the field values on AccessRoleObject with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*AccessRoleObject) ValidateAll added in v1.0.23

func (m *AccessRoleObject) ValidateAll() error

ValidateAll checks the field values on AccessRoleObject with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AccessRoleObjectMultiError, or nil if none found.

type AccessRoleObjectMultiError added in v1.0.23

type AccessRoleObjectMultiError []error

AccessRoleObjectMultiError is an error wrapping multiple validation errors returned by AccessRoleObject.ValidateAll() if the designated constraints aren't met.

func (AccessRoleObjectMultiError) AllErrors added in v1.0.23

func (m AccessRoleObjectMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (AccessRoleObjectMultiError) Error added in v1.0.23

Error returns a concatenation of all the error messages it wraps.

type AccessRoleObjectValidationError added in v1.0.1

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

AccessRoleObjectValidationError is the validation error returned by AccessRoleObject.Validate if the designated constraints aren't met.

func (AccessRoleObjectValidationError) Cause added in v1.0.1

Cause function returns cause value.

func (AccessRoleObjectValidationError) Error added in v1.0.1

Error satisfies the builtin error interface

func (AccessRoleObjectValidationError) ErrorName added in v1.0.1

ErrorName returns error name.

func (AccessRoleObjectValidationError) Field added in v1.0.1

Field function returns field value.

func (AccessRoleObjectValidationError) Key added in v1.0.1

Key function returns key value.

func (AccessRoleObjectValidationError) Reason added in v1.0.1

Reason function returns reason value.

type AccessRoleRemoveRequest

type AccessRoleRemoveRequest struct {
	AccessRoleId string `protobuf:"bytes,1,opt,name=access_role_id,json=accessRoleId,proto3" json:"access_role_id,omitempty"`
	// contains filtered or unexported fields
}

func (*AccessRoleRemoveRequest) Descriptor deprecated

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

Deprecated: Use AccessRoleRemoveRequest.ProtoReflect.Descriptor instead.

func (*AccessRoleRemoveRequest) GetAccessRoleId

func (x *AccessRoleRemoveRequest) GetAccessRoleId() string

func (*AccessRoleRemoveRequest) ProtoMessage

func (*AccessRoleRemoveRequest) ProtoMessage()

func (*AccessRoleRemoveRequest) ProtoReflect

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

func (*AccessRoleRemoveRequest) Reset

func (x *AccessRoleRemoveRequest) Reset()

func (*AccessRoleRemoveRequest) String

func (x *AccessRoleRemoveRequest) String() string

func (*AccessRoleRemoveRequest) Validate added in v1.0.1

func (m *AccessRoleRemoveRequest) Validate() error

Validate checks the field values on AccessRoleRemoveRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*AccessRoleRemoveRequest) ValidateAll added in v1.0.23

func (m *AccessRoleRemoveRequest) ValidateAll() error

ValidateAll checks the field values on AccessRoleRemoveRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AccessRoleRemoveRequestMultiError, or nil if none found.

type AccessRoleRemoveRequestMultiError added in v1.0.23

type AccessRoleRemoveRequestMultiError []error

AccessRoleRemoveRequestMultiError is an error wrapping multiple validation errors returned by AccessRoleRemoveRequest.ValidateAll() if the designated constraints aren't met.

func (AccessRoleRemoveRequestMultiError) AllErrors added in v1.0.23

func (m AccessRoleRemoveRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (AccessRoleRemoveRequestMultiError) Error added in v1.0.23

Error returns a concatenation of all the error messages it wraps.

type AccessRoleRemoveRequestValidationError added in v1.0.1

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

AccessRoleRemoveRequestValidationError is the validation error returned by AccessRoleRemoveRequest.Validate if the designated constraints aren't met.

func (AccessRoleRemoveRequestValidationError) Cause added in v1.0.1

Cause function returns cause value.

func (AccessRoleRemoveRequestValidationError) Error added in v1.0.1

Error satisfies the builtin error interface

func (AccessRoleRemoveRequestValidationError) ErrorName added in v1.0.1

ErrorName returns error name.

func (AccessRoleRemoveRequestValidationError) Field added in v1.0.1

Field function returns field value.

func (AccessRoleRemoveRequestValidationError) Key added in v1.0.1

Key function returns key value.

func (AccessRoleRemoveRequestValidationError) Reason added in v1.0.1

Reason function returns reason value.

type GetRequest added in v1.0.21

type GetRequest struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetRequest) Descriptor deprecated added in v1.0.21

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

Deprecated: Use GetRequest.ProtoReflect.Descriptor instead.

func (*GetRequest) GetId added in v1.0.21

func (x *GetRequest) GetId() string

func (*GetRequest) ProtoMessage added in v1.0.21

func (*GetRequest) ProtoMessage()

func (*GetRequest) ProtoReflect added in v1.0.21

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

func (*GetRequest) Reset added in v1.0.21

func (x *GetRequest) Reset()

func (*GetRequest) String added in v1.0.21

func (x *GetRequest) String() string

func (*GetRequest) Validate added in v1.0.21

func (m *GetRequest) Validate() error

Validate checks the field values on GetRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetRequest) ValidateAll added in v1.0.23

func (m *GetRequest) ValidateAll() error

ValidateAll checks the field values on GetRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetRequestMultiError, or nil if none found.

type GetRequestMultiError added in v1.0.23

type GetRequestMultiError []error

GetRequestMultiError is an error wrapping multiple validation errors returned by GetRequest.ValidateAll() if the designated constraints aren't met.

func (GetRequestMultiError) AllErrors added in v1.0.23

func (m GetRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetRequestMultiError) Error added in v1.0.23

func (m GetRequestMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type GetRequestValidationError added in v1.0.21

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

GetRequestValidationError is the validation error returned by GetRequest.Validate if the designated constraints aren't met.

func (GetRequestValidationError) Cause added in v1.0.21

func (e GetRequestValidationError) Cause() error

Cause function returns cause value.

func (GetRequestValidationError) Error added in v1.0.21

Error satisfies the builtin error interface

func (GetRequestValidationError) ErrorName added in v1.0.21

func (e GetRequestValidationError) ErrorName() string

ErrorName returns error name.

func (GetRequestValidationError) Field added in v1.0.21

Field function returns field value.

func (GetRequestValidationError) Key added in v1.0.21

Key function returns key value.

func (GetRequestValidationError) Reason added in v1.0.21

func (e GetRequestValidationError) Reason() string

Reason function returns reason value.

type MockPartitionServiceClient added in v1.0.7

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

MockPartitionServiceClient is a mock of PartitionServiceClient interface.

func NewMockPartitionServiceClient added in v1.0.7

func NewMockPartitionServiceClient(ctrl *gomock.Controller) *MockPartitionServiceClient

NewMockPartitionServiceClient creates a new mock instance.

func (*MockPartitionServiceClient) CreateAccess added in v1.0.7

CreateAccess mocks base method.

func (*MockPartitionServiceClient) CreateAccessRole added in v1.0.7

CreateAccessRole mocks base method.

func (*MockPartitionServiceClient) CreatePage added in v1.0.7

CreatePage mocks base method.

func (*MockPartitionServiceClient) CreatePartition added in v1.0.7

CreatePartition mocks base method.

func (*MockPartitionServiceClient) CreatePartitionRole added in v1.0.7

CreatePartitionRole mocks base method.

func (*MockPartitionServiceClient) CreateTenant added in v1.0.7

CreateTenant mocks base method.

func (*MockPartitionServiceClient) EXPECT added in v1.0.7

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockPartitionServiceClient) GetAccess added in v1.0.7

GetAccess mocks base method.

func (*MockPartitionServiceClient) GetPage added in v1.0.7

GetPage mocks base method.

func (*MockPartitionServiceClient) GetPartition added in v1.0.7

GetPartition mocks base method.

func (*MockPartitionServiceClient) GetTenant added in v1.0.21

GetTenant mocks base method.

func (*MockPartitionServiceClient) ListAccessRoles added in v1.0.7

ListAccessRoles mocks base method.

func (*MockPartitionServiceClient) ListPartition added in v1.0.10

ListPartition mocks base method.

func (*MockPartitionServiceClient) ListPartitionRoles added in v1.0.7

ListPartitionRoles mocks base method.

func (*MockPartitionServiceClient) ListTenant added in v1.0.10

ListTenant mocks base method.

func (*MockPartitionServiceClient) RemoveAccess added in v1.0.7

RemoveAccess mocks base method.

func (*MockPartitionServiceClient) RemoveAccessRole added in v1.0.7

RemoveAccessRole mocks base method.

func (*MockPartitionServiceClient) RemovePage added in v1.0.7

RemovePage mocks base method.

func (*MockPartitionServiceClient) RemovePartitionRole added in v1.0.7

RemovePartitionRole mocks base method.

func (*MockPartitionServiceClient) UpdatePartition added in v1.0.7

UpdatePartition mocks base method.

type MockPartitionServiceClientMockRecorder added in v1.0.7

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

MockPartitionServiceClientMockRecorder is the mock recorder for MockPartitionServiceClient.

func (*MockPartitionServiceClientMockRecorder) CreateAccess added in v1.0.7

func (mr *MockPartitionServiceClientMockRecorder) CreateAccess(ctx, in interface{}, opts ...interface{}) *gomock.Call

CreateAccess indicates an expected call of CreateAccess.

func (*MockPartitionServiceClientMockRecorder) CreateAccessRole added in v1.0.7

func (mr *MockPartitionServiceClientMockRecorder) CreateAccessRole(ctx, in interface{}, opts ...interface{}) *gomock.Call

CreateAccessRole indicates an expected call of CreateAccessRole.

func (*MockPartitionServiceClientMockRecorder) CreatePage added in v1.0.7

func (mr *MockPartitionServiceClientMockRecorder) CreatePage(ctx, in interface{}, opts ...interface{}) *gomock.Call

CreatePage indicates an expected call of CreatePage.

func (*MockPartitionServiceClientMockRecorder) CreatePartition added in v1.0.7

func (mr *MockPartitionServiceClientMockRecorder) CreatePartition(ctx, in interface{}, opts ...interface{}) *gomock.Call

CreatePartition indicates an expected call of CreatePartition.

func (*MockPartitionServiceClientMockRecorder) CreatePartitionRole added in v1.0.7

func (mr *MockPartitionServiceClientMockRecorder) CreatePartitionRole(ctx, in interface{}, opts ...interface{}) *gomock.Call

CreatePartitionRole indicates an expected call of CreatePartitionRole.

func (*MockPartitionServiceClientMockRecorder) CreateTenant added in v1.0.7

func (mr *MockPartitionServiceClientMockRecorder) CreateTenant(ctx, in interface{}, opts ...interface{}) *gomock.Call

CreateTenant indicates an expected call of CreateTenant.

func (*MockPartitionServiceClientMockRecorder) GetAccess added in v1.0.7

func (mr *MockPartitionServiceClientMockRecorder) GetAccess(ctx, in interface{}, opts ...interface{}) *gomock.Call

GetAccess indicates an expected call of GetAccess.

func (*MockPartitionServiceClientMockRecorder) GetPage added in v1.0.7

func (mr *MockPartitionServiceClientMockRecorder) GetPage(ctx, in interface{}, opts ...interface{}) *gomock.Call

GetPage indicates an expected call of GetPage.

func (*MockPartitionServiceClientMockRecorder) GetPartition added in v1.0.7

func (mr *MockPartitionServiceClientMockRecorder) GetPartition(ctx, in interface{}, opts ...interface{}) *gomock.Call

GetPartition indicates an expected call of GetPartition.

func (*MockPartitionServiceClientMockRecorder) GetTenant added in v1.0.21

func (mr *MockPartitionServiceClientMockRecorder) GetTenant(ctx, in interface{}, opts ...interface{}) *gomock.Call

GetTenant indicates an expected call of GetTenant.

func (*MockPartitionServiceClientMockRecorder) ListAccessRoles added in v1.0.7

func (mr *MockPartitionServiceClientMockRecorder) ListAccessRoles(ctx, in interface{}, opts ...interface{}) *gomock.Call

ListAccessRoles indicates an expected call of ListAccessRoles.

func (*MockPartitionServiceClientMockRecorder) ListPartition added in v1.0.10

func (mr *MockPartitionServiceClientMockRecorder) ListPartition(ctx, in interface{}, opts ...interface{}) *gomock.Call

ListPartition indicates an expected call of ListPartition.

func (*MockPartitionServiceClientMockRecorder) ListPartitionRoles added in v1.0.7

func (mr *MockPartitionServiceClientMockRecorder) ListPartitionRoles(ctx, in interface{}, opts ...interface{}) *gomock.Call

ListPartitionRoles indicates an expected call of ListPartitionRoles.

func (*MockPartitionServiceClientMockRecorder) ListTenant added in v1.0.10

func (mr *MockPartitionServiceClientMockRecorder) ListTenant(ctx, in interface{}, opts ...interface{}) *gomock.Call

ListTenant indicates an expected call of ListTenant.

func (*MockPartitionServiceClientMockRecorder) RemoveAccess added in v1.0.7

func (mr *MockPartitionServiceClientMockRecorder) RemoveAccess(ctx, in interface{}, opts ...interface{}) *gomock.Call

RemoveAccess indicates an expected call of RemoveAccess.

func (*MockPartitionServiceClientMockRecorder) RemoveAccessRole added in v1.0.7

func (mr *MockPartitionServiceClientMockRecorder) RemoveAccessRole(ctx, in interface{}, opts ...interface{}) *gomock.Call

RemoveAccessRole indicates an expected call of RemoveAccessRole.

func (*MockPartitionServiceClientMockRecorder) RemovePage added in v1.0.7

func (mr *MockPartitionServiceClientMockRecorder) RemovePage(ctx, in interface{}, opts ...interface{}) *gomock.Call

RemovePage indicates an expected call of RemovePage.

func (*MockPartitionServiceClientMockRecorder) RemovePartitionRole added in v1.0.7

func (mr *MockPartitionServiceClientMockRecorder) RemovePartitionRole(ctx, in interface{}, opts ...interface{}) *gomock.Call

RemovePartitionRole indicates an expected call of RemovePartitionRole.

func (*MockPartitionServiceClientMockRecorder) UpdatePartition added in v1.0.7

func (mr *MockPartitionServiceClientMockRecorder) UpdatePartition(ctx, in interface{}, opts ...interface{}) *gomock.Call

UpdatePartition indicates an expected call of UpdatePartition.

type MockPartitionServiceServer added in v1.0.7

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

MockPartitionServiceServer is a mock of PartitionServiceServer interface.

func NewMockPartitionServiceServer added in v1.0.7

func NewMockPartitionServiceServer(ctrl *gomock.Controller) *MockPartitionServiceServer

NewMockPartitionServiceServer creates a new mock instance.

func (*MockPartitionServiceServer) CreateAccess added in v1.0.7

CreateAccess mocks base method.

func (*MockPartitionServiceServer) CreateAccessRole added in v1.0.7

CreateAccessRole mocks base method.

func (*MockPartitionServiceServer) CreatePage added in v1.0.7

CreatePage mocks base method.

func (*MockPartitionServiceServer) CreatePartition added in v1.0.7

CreatePartition mocks base method.

func (*MockPartitionServiceServer) CreatePartitionRole added in v1.0.7

CreatePartitionRole mocks base method.

func (*MockPartitionServiceServer) CreateTenant added in v1.0.7

func (m *MockPartitionServiceServer) CreateTenant(arg0 context.Context, arg1 *TenantRequest) (*TenantObject, error)

CreateTenant mocks base method.

func (*MockPartitionServiceServer) EXPECT added in v1.0.7

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockPartitionServiceServer) GetAccess added in v1.0.7

GetAccess mocks base method.

func (*MockPartitionServiceServer) GetPage added in v1.0.7

GetPage mocks base method.

func (*MockPartitionServiceServer) GetPartition added in v1.0.7

func (m *MockPartitionServiceServer) GetPartition(arg0 context.Context, arg1 *GetRequest) (*PartitionObject, error)

GetPartition mocks base method.

func (*MockPartitionServiceServer) GetTenant added in v1.0.21

GetTenant mocks base method.

func (*MockPartitionServiceServer) ListAccessRoles added in v1.0.7

ListAccessRoles mocks base method.

func (*MockPartitionServiceServer) ListPartition added in v1.0.10

ListPartition mocks base method.

func (*MockPartitionServiceServer) ListPartitionRoles added in v1.0.7

ListPartitionRoles mocks base method.

func (*MockPartitionServiceServer) ListTenant added in v1.0.10

ListTenant mocks base method.

func (*MockPartitionServiceServer) RemoveAccess added in v1.0.7

RemoveAccess mocks base method.

func (*MockPartitionServiceServer) RemoveAccessRole added in v1.0.7

RemoveAccessRole mocks base method.

func (*MockPartitionServiceServer) RemovePage added in v1.0.7

RemovePage mocks base method.

func (*MockPartitionServiceServer) RemovePartitionRole added in v1.0.7

RemovePartitionRole mocks base method.

func (*MockPartitionServiceServer) UpdatePartition added in v1.0.7

UpdatePartition mocks base method.

type MockPartitionServiceServerMockRecorder added in v1.0.7

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

MockPartitionServiceServerMockRecorder is the mock recorder for MockPartitionServiceServer.

func (*MockPartitionServiceServerMockRecorder) CreateAccess added in v1.0.7

func (mr *MockPartitionServiceServerMockRecorder) CreateAccess(arg0, arg1 interface{}) *gomock.Call

CreateAccess indicates an expected call of CreateAccess.

func (*MockPartitionServiceServerMockRecorder) CreateAccessRole added in v1.0.7

func (mr *MockPartitionServiceServerMockRecorder) CreateAccessRole(arg0, arg1 interface{}) *gomock.Call

CreateAccessRole indicates an expected call of CreateAccessRole.

func (*MockPartitionServiceServerMockRecorder) CreatePage added in v1.0.7

func (mr *MockPartitionServiceServerMockRecorder) CreatePage(arg0, arg1 interface{}) *gomock.Call

CreatePage indicates an expected call of CreatePage.

func (*MockPartitionServiceServerMockRecorder) CreatePartition added in v1.0.7

func (mr *MockPartitionServiceServerMockRecorder) CreatePartition(arg0, arg1 interface{}) *gomock.Call

CreatePartition indicates an expected call of CreatePartition.

func (*MockPartitionServiceServerMockRecorder) CreatePartitionRole added in v1.0.7

func (mr *MockPartitionServiceServerMockRecorder) CreatePartitionRole(arg0, arg1 interface{}) *gomock.Call

CreatePartitionRole indicates an expected call of CreatePartitionRole.

func (*MockPartitionServiceServerMockRecorder) CreateTenant added in v1.0.7

func (mr *MockPartitionServiceServerMockRecorder) CreateTenant(arg0, arg1 interface{}) *gomock.Call

CreateTenant indicates an expected call of CreateTenant.

func (*MockPartitionServiceServerMockRecorder) GetAccess added in v1.0.7

func (mr *MockPartitionServiceServerMockRecorder) GetAccess(arg0, arg1 interface{}) *gomock.Call

GetAccess indicates an expected call of GetAccess.

func (*MockPartitionServiceServerMockRecorder) GetPage added in v1.0.7

func (mr *MockPartitionServiceServerMockRecorder) GetPage(arg0, arg1 interface{}) *gomock.Call

GetPage indicates an expected call of GetPage.

func (*MockPartitionServiceServerMockRecorder) GetPartition added in v1.0.7

func (mr *MockPartitionServiceServerMockRecorder) GetPartition(arg0, arg1 interface{}) *gomock.Call

GetPartition indicates an expected call of GetPartition.

func (*MockPartitionServiceServerMockRecorder) GetTenant added in v1.0.21

func (mr *MockPartitionServiceServerMockRecorder) GetTenant(arg0, arg1 interface{}) *gomock.Call

GetTenant indicates an expected call of GetTenant.

func (*MockPartitionServiceServerMockRecorder) ListAccessRoles added in v1.0.7

func (mr *MockPartitionServiceServerMockRecorder) ListAccessRoles(arg0, arg1 interface{}) *gomock.Call

ListAccessRoles indicates an expected call of ListAccessRoles.

func (*MockPartitionServiceServerMockRecorder) ListPartition added in v1.0.10

func (mr *MockPartitionServiceServerMockRecorder) ListPartition(arg0, arg1 interface{}) *gomock.Call

ListPartition indicates an expected call of ListPartition.

func (*MockPartitionServiceServerMockRecorder) ListPartitionRoles added in v1.0.7

func (mr *MockPartitionServiceServerMockRecorder) ListPartitionRoles(arg0, arg1 interface{}) *gomock.Call

ListPartitionRoles indicates an expected call of ListPartitionRoles.

func (*MockPartitionServiceServerMockRecorder) ListTenant added in v1.0.10

func (mr *MockPartitionServiceServerMockRecorder) ListTenant(arg0, arg1 interface{}) *gomock.Call

ListTenant indicates an expected call of ListTenant.

func (*MockPartitionServiceServerMockRecorder) RemoveAccess added in v1.0.7

func (mr *MockPartitionServiceServerMockRecorder) RemoveAccess(arg0, arg1 interface{}) *gomock.Call

RemoveAccess indicates an expected call of RemoveAccess.

func (*MockPartitionServiceServerMockRecorder) RemoveAccessRole added in v1.0.7

func (mr *MockPartitionServiceServerMockRecorder) RemoveAccessRole(arg0, arg1 interface{}) *gomock.Call

RemoveAccessRole indicates an expected call of RemoveAccessRole.

func (*MockPartitionServiceServerMockRecorder) RemovePage added in v1.0.7

func (mr *MockPartitionServiceServerMockRecorder) RemovePage(arg0, arg1 interface{}) *gomock.Call

RemovePage indicates an expected call of RemovePage.

func (*MockPartitionServiceServerMockRecorder) RemovePartitionRole added in v1.0.7

func (mr *MockPartitionServiceServerMockRecorder) RemovePartitionRole(arg0, arg1 interface{}) *gomock.Call

RemovePartitionRole indicates an expected call of RemovePartitionRole.

func (*MockPartitionServiceServerMockRecorder) UpdatePartition added in v1.0.7

func (mr *MockPartitionServiceServerMockRecorder) UpdatePartition(arg0, arg1 interface{}) *gomock.Call

UpdatePartition indicates an expected call of UpdatePartition.

type MockPartitionService_ListPartitionClient added in v1.0.10

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

MockPartitionService_ListPartitionClient is a mock of PartitionService_ListPartitionClient interface.

func NewMockPartitionService_ListPartitionClient added in v1.0.10

func NewMockPartitionService_ListPartitionClient(ctrl *gomock.Controller) *MockPartitionService_ListPartitionClient

NewMockPartitionService_ListPartitionClient creates a new mock instance.

func (*MockPartitionService_ListPartitionClient) CloseSend added in v1.0.10

CloseSend mocks base method.

func (*MockPartitionService_ListPartitionClient) Context added in v1.0.10

Context mocks base method.

func (*MockPartitionService_ListPartitionClient) EXPECT added in v1.0.10

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockPartitionService_ListPartitionClient) Header added in v1.0.10

Header mocks base method.

func (*MockPartitionService_ListPartitionClient) Recv added in v1.0.10

Recv mocks base method.

func (*MockPartitionService_ListPartitionClient) RecvMsg added in v1.0.10

func (m_2 *MockPartitionService_ListPartitionClient) RecvMsg(m interface{}) error

RecvMsg mocks base method.

func (*MockPartitionService_ListPartitionClient) SendMsg added in v1.0.10

func (m_2 *MockPartitionService_ListPartitionClient) SendMsg(m interface{}) error

SendMsg mocks base method.

func (*MockPartitionService_ListPartitionClient) Trailer added in v1.0.10

Trailer mocks base method.

type MockPartitionService_ListPartitionClientMockRecorder added in v1.0.10

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

MockPartitionService_ListPartitionClientMockRecorder is the mock recorder for MockPartitionService_ListPartitionClient.

func (*MockPartitionService_ListPartitionClientMockRecorder) CloseSend added in v1.0.10

CloseSend indicates an expected call of CloseSend.

func (*MockPartitionService_ListPartitionClientMockRecorder) Context added in v1.0.10

Context indicates an expected call of Context.

func (*MockPartitionService_ListPartitionClientMockRecorder) Header added in v1.0.10

Header indicates an expected call of Header.

func (*MockPartitionService_ListPartitionClientMockRecorder) Recv added in v1.0.10

Recv indicates an expected call of Recv.

func (*MockPartitionService_ListPartitionClientMockRecorder) RecvMsg added in v1.0.10

RecvMsg indicates an expected call of RecvMsg.

func (*MockPartitionService_ListPartitionClientMockRecorder) SendMsg added in v1.0.10

SendMsg indicates an expected call of SendMsg.

func (*MockPartitionService_ListPartitionClientMockRecorder) Trailer added in v1.0.10

Trailer indicates an expected call of Trailer.

type MockPartitionService_ListPartitionServer added in v1.0.10

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

MockPartitionService_ListPartitionServer is a mock of PartitionService_ListPartitionServer interface.

func NewMockPartitionService_ListPartitionServer added in v1.0.10

func NewMockPartitionService_ListPartitionServer(ctrl *gomock.Controller) *MockPartitionService_ListPartitionServer

NewMockPartitionService_ListPartitionServer creates a new mock instance.

func (*MockPartitionService_ListPartitionServer) Context added in v1.0.10

Context mocks base method.

func (*MockPartitionService_ListPartitionServer) EXPECT added in v1.0.10

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockPartitionService_ListPartitionServer) RecvMsg added in v1.0.10

func (m_2 *MockPartitionService_ListPartitionServer) RecvMsg(m interface{}) error

RecvMsg mocks base method.

func (*MockPartitionService_ListPartitionServer) Send added in v1.0.10

Send mocks base method.

func (*MockPartitionService_ListPartitionServer) SendHeader added in v1.0.10

SendHeader mocks base method.

func (*MockPartitionService_ListPartitionServer) SendMsg added in v1.0.10

func (m_2 *MockPartitionService_ListPartitionServer) SendMsg(m interface{}) error

SendMsg mocks base method.

func (*MockPartitionService_ListPartitionServer) SetHeader added in v1.0.10

SetHeader mocks base method.

func (*MockPartitionService_ListPartitionServer) SetTrailer added in v1.0.10

SetTrailer mocks base method.

type MockPartitionService_ListPartitionServerMockRecorder added in v1.0.10

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

MockPartitionService_ListPartitionServerMockRecorder is the mock recorder for MockPartitionService_ListPartitionServer.

func (*MockPartitionService_ListPartitionServerMockRecorder) Context added in v1.0.10

Context indicates an expected call of Context.

func (*MockPartitionService_ListPartitionServerMockRecorder) RecvMsg added in v1.0.10

RecvMsg indicates an expected call of RecvMsg.

func (*MockPartitionService_ListPartitionServerMockRecorder) Send added in v1.0.10

Send indicates an expected call of Send.

func (*MockPartitionService_ListPartitionServerMockRecorder) SendHeader added in v1.0.10

func (mr *MockPartitionService_ListPartitionServerMockRecorder) SendHeader(arg0 interface{}) *gomock.Call

SendHeader indicates an expected call of SendHeader.

func (*MockPartitionService_ListPartitionServerMockRecorder) SendMsg added in v1.0.10

SendMsg indicates an expected call of SendMsg.

func (*MockPartitionService_ListPartitionServerMockRecorder) SetHeader added in v1.0.10

func (mr *MockPartitionService_ListPartitionServerMockRecorder) SetHeader(arg0 interface{}) *gomock.Call

SetHeader indicates an expected call of SetHeader.

func (*MockPartitionService_ListPartitionServerMockRecorder) SetTrailer added in v1.0.10

func (mr *MockPartitionService_ListPartitionServerMockRecorder) SetTrailer(arg0 interface{}) *gomock.Call

SetTrailer indicates an expected call of SetTrailer.

type MockPartitionService_ListTenantClient added in v1.0.10

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

MockPartitionService_ListTenantClient is a mock of PartitionService_ListTenantClient interface.

func NewMockPartitionService_ListTenantClient added in v1.0.10

func NewMockPartitionService_ListTenantClient(ctrl *gomock.Controller) *MockPartitionService_ListTenantClient

NewMockPartitionService_ListTenantClient creates a new mock instance.

func (*MockPartitionService_ListTenantClient) CloseSend added in v1.0.10

CloseSend mocks base method.

func (*MockPartitionService_ListTenantClient) Context added in v1.0.10

Context mocks base method.

func (*MockPartitionService_ListTenantClient) EXPECT added in v1.0.10

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockPartitionService_ListTenantClient) Header added in v1.0.10

Header mocks base method.

func (*MockPartitionService_ListTenantClient) Recv added in v1.0.10

Recv mocks base method.

func (*MockPartitionService_ListTenantClient) RecvMsg added in v1.0.10

func (m_2 *MockPartitionService_ListTenantClient) RecvMsg(m interface{}) error

RecvMsg mocks base method.

func (*MockPartitionService_ListTenantClient) SendMsg added in v1.0.10

func (m_2 *MockPartitionService_ListTenantClient) SendMsg(m interface{}) error

SendMsg mocks base method.

func (*MockPartitionService_ListTenantClient) Trailer added in v1.0.10

Trailer mocks base method.

type MockPartitionService_ListTenantClientMockRecorder added in v1.0.10

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

MockPartitionService_ListTenantClientMockRecorder is the mock recorder for MockPartitionService_ListTenantClient.

func (*MockPartitionService_ListTenantClientMockRecorder) CloseSend added in v1.0.10

CloseSend indicates an expected call of CloseSend.

func (*MockPartitionService_ListTenantClientMockRecorder) Context added in v1.0.10

Context indicates an expected call of Context.

func (*MockPartitionService_ListTenantClientMockRecorder) Header added in v1.0.10

Header indicates an expected call of Header.

func (*MockPartitionService_ListTenantClientMockRecorder) Recv added in v1.0.10

Recv indicates an expected call of Recv.

func (*MockPartitionService_ListTenantClientMockRecorder) RecvMsg added in v1.0.10

RecvMsg indicates an expected call of RecvMsg.

func (*MockPartitionService_ListTenantClientMockRecorder) SendMsg added in v1.0.10

SendMsg indicates an expected call of SendMsg.

func (*MockPartitionService_ListTenantClientMockRecorder) Trailer added in v1.0.10

Trailer indicates an expected call of Trailer.

type MockPartitionService_ListTenantServer added in v1.0.10

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

MockPartitionService_ListTenantServer is a mock of PartitionService_ListTenantServer interface.

func NewMockPartitionService_ListTenantServer added in v1.0.10

func NewMockPartitionService_ListTenantServer(ctrl *gomock.Controller) *MockPartitionService_ListTenantServer

NewMockPartitionService_ListTenantServer creates a new mock instance.

func (*MockPartitionService_ListTenantServer) Context added in v1.0.10

Context mocks base method.

func (*MockPartitionService_ListTenantServer) EXPECT added in v1.0.10

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockPartitionService_ListTenantServer) RecvMsg added in v1.0.10

func (m_2 *MockPartitionService_ListTenantServer) RecvMsg(m interface{}) error

RecvMsg mocks base method.

func (*MockPartitionService_ListTenantServer) Send added in v1.0.10

Send mocks base method.

func (*MockPartitionService_ListTenantServer) SendHeader added in v1.0.10

SendHeader mocks base method.

func (*MockPartitionService_ListTenantServer) SendMsg added in v1.0.10

func (m_2 *MockPartitionService_ListTenantServer) SendMsg(m interface{}) error

SendMsg mocks base method.

func (*MockPartitionService_ListTenantServer) SetHeader added in v1.0.10

SetHeader mocks base method.

func (*MockPartitionService_ListTenantServer) SetTrailer added in v1.0.10

SetTrailer mocks base method.

type MockPartitionService_ListTenantServerMockRecorder added in v1.0.10

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

MockPartitionService_ListTenantServerMockRecorder is the mock recorder for MockPartitionService_ListTenantServer.

func (*MockPartitionService_ListTenantServerMockRecorder) Context added in v1.0.10

Context indicates an expected call of Context.

func (*MockPartitionService_ListTenantServerMockRecorder) RecvMsg added in v1.0.10

RecvMsg indicates an expected call of RecvMsg.

func (*MockPartitionService_ListTenantServerMockRecorder) Send added in v1.0.10

Send indicates an expected call of Send.

func (*MockPartitionService_ListTenantServerMockRecorder) SendHeader added in v1.0.10

func (mr *MockPartitionService_ListTenantServerMockRecorder) SendHeader(arg0 interface{}) *gomock.Call

SendHeader indicates an expected call of SendHeader.

func (*MockPartitionService_ListTenantServerMockRecorder) SendMsg added in v1.0.10

SendMsg indicates an expected call of SendMsg.

func (*MockPartitionService_ListTenantServerMockRecorder) SetHeader added in v1.0.10

func (mr *MockPartitionService_ListTenantServerMockRecorder) SetHeader(arg0 interface{}) *gomock.Call

SetHeader indicates an expected call of SetHeader.

func (*MockPartitionService_ListTenantServerMockRecorder) SetTrailer added in v1.0.10

func (mr *MockPartitionService_ListTenantServerMockRecorder) SetTrailer(arg0 interface{}) *gomock.Call

SetTrailer indicates an expected call of SetTrailer.

type MockUnsafePartitionServiceServer added in v1.0.7

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

MockUnsafePartitionServiceServer is a mock of UnsafePartitionServiceServer interface.

func NewMockUnsafePartitionServiceServer added in v1.0.7

func NewMockUnsafePartitionServiceServer(ctrl *gomock.Controller) *MockUnsafePartitionServiceServer

NewMockUnsafePartitionServiceServer creates a new mock instance.

func (*MockUnsafePartitionServiceServer) EXPECT added in v1.0.7

EXPECT returns an object that allows the caller to indicate expected use.

type MockUnsafePartitionServiceServerMockRecorder added in v1.0.7

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

MockUnsafePartitionServiceServerMockRecorder is the mock recorder for MockUnsafePartitionServiceServer.

type PageCreateRequest

type PageCreateRequest struct {
	PartitionId string `protobuf:"bytes,1,opt,name=partition_id,json=partitionId,proto3" json:"partition_id,omitempty"`
	Name        string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Html        string `protobuf:"bytes,3,opt,name=html,proto3" json:"html,omitempty"`
	// contains filtered or unexported fields
}

func (*PageCreateRequest) Descriptor deprecated

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

Deprecated: Use PageCreateRequest.ProtoReflect.Descriptor instead.

func (*PageCreateRequest) GetHtml

func (x *PageCreateRequest) GetHtml() string

func (*PageCreateRequest) GetName

func (x *PageCreateRequest) GetName() string

func (*PageCreateRequest) GetPartitionId

func (x *PageCreateRequest) GetPartitionId() string

func (*PageCreateRequest) ProtoMessage

func (*PageCreateRequest) ProtoMessage()

func (*PageCreateRequest) ProtoReflect

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

func (*PageCreateRequest) Reset

func (x *PageCreateRequest) Reset()

func (*PageCreateRequest) String

func (x *PageCreateRequest) String() string

func (*PageCreateRequest) Validate added in v1.0.1

func (m *PageCreateRequest) Validate() error

Validate checks the field values on PageCreateRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*PageCreateRequest) ValidateAll added in v1.0.23

func (m *PageCreateRequest) ValidateAll() error

ValidateAll checks the field values on PageCreateRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PageCreateRequestMultiError, or nil if none found.

type PageCreateRequestMultiError added in v1.0.23

type PageCreateRequestMultiError []error

PageCreateRequestMultiError is an error wrapping multiple validation errors returned by PageCreateRequest.ValidateAll() if the designated constraints aren't met.

func (PageCreateRequestMultiError) AllErrors added in v1.0.23

func (m PageCreateRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PageCreateRequestMultiError) Error added in v1.0.23

Error returns a concatenation of all the error messages it wraps.

type PageCreateRequestValidationError added in v1.0.1

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

PageCreateRequestValidationError is the validation error returned by PageCreateRequest.Validate if the designated constraints aren't met.

func (PageCreateRequestValidationError) Cause added in v1.0.1

Cause function returns cause value.

func (PageCreateRequestValidationError) Error added in v1.0.1

Error satisfies the builtin error interface

func (PageCreateRequestValidationError) ErrorName added in v1.0.1

ErrorName returns error name.

func (PageCreateRequestValidationError) Field added in v1.0.1

Field function returns field value.

func (PageCreateRequestValidationError) Key added in v1.0.1

Key function returns key value.

func (PageCreateRequestValidationError) Reason added in v1.0.1

Reason function returns reason value.

type PageGetRequest

type PageGetRequest struct {
	PageId      string `protobuf:"bytes,1,opt,name=page_id,json=pageId,proto3" json:"page_id,omitempty"`
	PartitionId string `protobuf:"bytes,2,opt,name=partition_id,json=partitionId,proto3" json:"partition_id,omitempty"`
	Name        string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*PageGetRequest) Descriptor deprecated

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

Deprecated: Use PageGetRequest.ProtoReflect.Descriptor instead.

func (*PageGetRequest) GetName

func (x *PageGetRequest) GetName() string

func (*PageGetRequest) GetPageId

func (x *PageGetRequest) GetPageId() string

func (*PageGetRequest) GetPartitionId

func (x *PageGetRequest) GetPartitionId() string

func (*PageGetRequest) ProtoMessage

func (*PageGetRequest) ProtoMessage()

func (*PageGetRequest) ProtoReflect

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

func (*PageGetRequest) Reset

func (x *PageGetRequest) Reset()

func (*PageGetRequest) String

func (x *PageGetRequest) String() string

func (*PageGetRequest) Validate added in v1.0.1

func (m *PageGetRequest) Validate() error

Validate checks the field values on PageGetRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*PageGetRequest) ValidateAll added in v1.0.23

func (m *PageGetRequest) ValidateAll() error

ValidateAll checks the field values on PageGetRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PageGetRequestMultiError, or nil if none found.

type PageGetRequestMultiError added in v1.0.23

type PageGetRequestMultiError []error

PageGetRequestMultiError is an error wrapping multiple validation errors returned by PageGetRequest.ValidateAll() if the designated constraints aren't met.

func (PageGetRequestMultiError) AllErrors added in v1.0.23

func (m PageGetRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PageGetRequestMultiError) Error added in v1.0.23

func (m PageGetRequestMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type PageGetRequestValidationError added in v1.0.1

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

PageGetRequestValidationError is the validation error returned by PageGetRequest.Validate if the designated constraints aren't met.

func (PageGetRequestValidationError) Cause added in v1.0.1

Cause function returns cause value.

func (PageGetRequestValidationError) Error added in v1.0.1

Error satisfies the builtin error interface

func (PageGetRequestValidationError) ErrorName added in v1.0.1

func (e PageGetRequestValidationError) ErrorName() string

ErrorName returns error name.

func (PageGetRequestValidationError) Field added in v1.0.1

Field function returns field value.

func (PageGetRequestValidationError) Key added in v1.0.1

Key function returns key value.

func (PageGetRequestValidationError) Reason added in v1.0.1

Reason function returns reason value.

type PageObject

type PageObject struct {
	PageId string       `protobuf:"bytes,1,opt,name=page_id,json=pageId,proto3" json:"page_id,omitempty"`
	Name   string       `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Html   string       `protobuf:"bytes,3,opt,name=html,proto3" json:"html,omitempty"`
	State  common.STATE `protobuf:"varint,4,opt,name=state,proto3,enum=apis.STATE" json:"state,omitempty"`
	// contains filtered or unexported fields
}

func (*PageObject) Descriptor deprecated

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

Deprecated: Use PageObject.ProtoReflect.Descriptor instead.

func (*PageObject) GetHtml

func (x *PageObject) GetHtml() string

func (*PageObject) GetName

func (x *PageObject) GetName() string

func (*PageObject) GetPageId

func (x *PageObject) GetPageId() string

func (*PageObject) GetState

func (x *PageObject) GetState() common.STATE

func (*PageObject) ProtoMessage

func (*PageObject) ProtoMessage()

func (*PageObject) ProtoReflect

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

func (*PageObject) Reset

func (x *PageObject) Reset()

func (*PageObject) String

func (x *PageObject) String() string

func (*PageObject) Validate added in v1.0.1

func (m *PageObject) Validate() error

Validate checks the field values on PageObject with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*PageObject) ValidateAll added in v1.0.23

func (m *PageObject) ValidateAll() error

ValidateAll checks the field values on PageObject with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PageObjectMultiError, or nil if none found.

type PageObjectMultiError added in v1.0.23

type PageObjectMultiError []error

PageObjectMultiError is an error wrapping multiple validation errors returned by PageObject.ValidateAll() if the designated constraints aren't met.

func (PageObjectMultiError) AllErrors added in v1.0.23

func (m PageObjectMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PageObjectMultiError) Error added in v1.0.23

func (m PageObjectMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type PageObjectValidationError added in v1.0.1

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

PageObjectValidationError is the validation error returned by PageObject.Validate if the designated constraints aren't met.

func (PageObjectValidationError) Cause added in v1.0.1

func (e PageObjectValidationError) Cause() error

Cause function returns cause value.

func (PageObjectValidationError) Error added in v1.0.1

Error satisfies the builtin error interface

func (PageObjectValidationError) ErrorName added in v1.0.1

func (e PageObjectValidationError) ErrorName() string

ErrorName returns error name.

func (PageObjectValidationError) Field added in v1.0.1

Field function returns field value.

func (PageObjectValidationError) Key added in v1.0.1

Key function returns key value.

func (PageObjectValidationError) Reason added in v1.0.1

func (e PageObjectValidationError) Reason() string

Reason function returns reason value.

type PageRemoveRequest

type PageRemoveRequest struct {
	PageId string `protobuf:"bytes,1,opt,name=page_id,json=pageId,proto3" json:"page_id,omitempty"`
	// contains filtered or unexported fields
}

func (*PageRemoveRequest) Descriptor deprecated

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

Deprecated: Use PageRemoveRequest.ProtoReflect.Descriptor instead.

func (*PageRemoveRequest) GetPageId

func (x *PageRemoveRequest) GetPageId() string

func (*PageRemoveRequest) ProtoMessage

func (*PageRemoveRequest) ProtoMessage()

func (*PageRemoveRequest) ProtoReflect

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

func (*PageRemoveRequest) Reset

func (x *PageRemoveRequest) Reset()

func (*PageRemoveRequest) String

func (x *PageRemoveRequest) String() string

func (*PageRemoveRequest) Validate added in v1.0.1

func (m *PageRemoveRequest) Validate() error

Validate checks the field values on PageRemoveRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*PageRemoveRequest) ValidateAll added in v1.0.23

func (m *PageRemoveRequest) ValidateAll() error

ValidateAll checks the field values on PageRemoveRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PageRemoveRequestMultiError, or nil if none found.

type PageRemoveRequestMultiError added in v1.0.23

type PageRemoveRequestMultiError []error

PageRemoveRequestMultiError is an error wrapping multiple validation errors returned by PageRemoveRequest.ValidateAll() if the designated constraints aren't met.

func (PageRemoveRequestMultiError) AllErrors added in v1.0.23

func (m PageRemoveRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PageRemoveRequestMultiError) Error added in v1.0.23

Error returns a concatenation of all the error messages it wraps.

type PageRemoveRequestValidationError added in v1.0.1

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

PageRemoveRequestValidationError is the validation error returned by PageRemoveRequest.Validate if the designated constraints aren't met.

func (PageRemoveRequestValidationError) Cause added in v1.0.1

Cause function returns cause value.

func (PageRemoveRequestValidationError) Error added in v1.0.1

Error satisfies the builtin error interface

func (PageRemoveRequestValidationError) ErrorName added in v1.0.1

ErrorName returns error name.

func (PageRemoveRequestValidationError) Field added in v1.0.1

Field function returns field value.

func (PageRemoveRequestValidationError) Key added in v1.0.1

Key function returns key value.

func (PageRemoveRequestValidationError) Reason added in v1.0.1

Reason function returns reason value.

type PartitionClient

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

PartitionClient is a client for interacting with the partitions service API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.

func FromContext

func FromContext(ctx context.Context) *PartitionClient

func InstantiatePartitionsClient added in v1.0.8

func InstantiatePartitionsClient(
	clientConnection *grpc.ClientConn,
	partitionServiceClient PartitionServiceClient) *PartitionClient

InstantiatePartitionsClient creates a new partitions client based on supplied connection

func NewPartitionsClient

func NewPartitionsClient(ctx context.Context, opts ...apic.ClientOption) (*PartitionClient, error)

NewPartitionsClient creates a new partitions client. / The service that an application uses to access and manipulate partition information

func (*PartitionClient) Close

func (partCl *PartitionClient) Close() error

Close closes the connection to the API service. The user should invoke this when the client is no longer required.

func (*PartitionClient) CreateAccess

func (partCl *PartitionClient) CreateAccess(
	ctx context.Context,
	partitionId string, profileId string) (*AccessObject, error)

func (*PartitionClient) CreateAccessRole

func (partCl *PartitionClient) CreateAccessRole(
	ctx context.Context,
	accessId string,
	partitionRoleId string) (*AccessRoleObject, error)

func (*PartitionClient) CreatePartitionRole

func (partCl *PartitionClient) CreatePartitionRole(ctx context.Context, partitionId string,
	name string, props map[string]string) (*PartitionRoleObject, error)

func (*PartitionClient) GetAccess

func (partCl *PartitionClient) GetAccess(
	ctx context.Context,
	partitionId string,
	profileId string) (*AccessObject, error)

func (*PartitionClient) GetAccessById added in v1.0.5

func (partCl *PartitionClient) GetAccessById(ctx context.Context, accessId string) (*AccessObject, error)

func (*PartitionClient) GetPage

func (partCl *PartitionClient) GetPage(ctx context.Context, partitionId string, name string) (*PageObject, error)

GetPage simple way to quickly pull custom pages accessed by clients of a partition

func (*PartitionClient) GetPartition added in v1.0.2

func (partCl *PartitionClient) GetPartition(ctx context.Context, partitionId string) (*PartitionObject, error)

GetPartition Obtains the partition by the id supplied.

func (*PartitionClient) GetTenant added in v1.0.21

func (partCl *PartitionClient) GetTenant(ctx context.Context, tenantId string) (*TenantObject, error)

GetTenant Obtains the tenant by the id supplied.

func (*PartitionClient) ListAccess

func (partCl *PartitionClient) ListAccess(ctx context.Context, accessId string) (*AccessRoleListResponse, error)

func (*PartitionClient) ListPartitionRoles

func (partCl *PartitionClient) ListPartitionRoles(
	ctx context.Context,
	partitionId string) (*PartitionRoleListResponse, error)

func (*PartitionClient) ListPartitions added in v1.0.10

func (partCl *PartitionClient) ListPartitions(
	ctx context.Context,
	query string,
	count uint,
	page uint) ([]*PartitionObject, error)

ListPartitions obtains partitions tied to the query parameter

func (*PartitionClient) ListTenants added in v1.0.10

func (partCl *PartitionClient) ListTenants(
	ctx context.Context,
	query string,
	count uint,
	page uint) ([]*TenantObject, error)

ListTenants gets a list of all the tenants with query filtering against id and properties

func (*PartitionClient) NewChildPartition

func (partCl *PartitionClient) NewChildPartition(ctx context.Context, tenantId string, parentId string, name string,
	description string, props map[string]string) (*PartitionObject, error)

NewChildPartition partitions can have children, for example a bank can have multiple branches

func (*PartitionClient) NewPage

func (partCl *PartitionClient) NewPage(ctx context.Context, partitionId string, name string, html string) (*PageObject, error)

NewPage a partition has a provision to store custom pages that can be shown to users later. These pages can include signup or customer specified customized pictures

func (*PartitionClient) NewPartition

func (partCl *PartitionClient) NewPartition(ctx context.Context, tenantId string, name string, description string,
	props map[string]string) (*PartitionObject, error)

NewPartition Creates a further logical multitenant environment at a softer level. This separation at the partition level is enforced at the application level that is consuming the api.

func (*PartitionClient) NewTenant

func (partCl *PartitionClient) NewTenant(
	ctx context.Context,
	name string,
	description string,
	props map[string]string) (*TenantObject, error)

NewTenant used to create a new tenant instance. This is a fairly static and infrequently used option that creates an almost physical data separation To allow the use of same databases in a multitentant fashion.

func (*PartitionClient) RemoveAccess

func (partCl *PartitionClient) RemoveAccess(ctx context.Context, accessId string) (*RemoveResponse, error)

func (*PartitionClient) RemoveAccessRole

func (partCl *PartitionClient) RemoveAccessRole(ctx context.Context, accessRoleId string) (*RemoveResponse, error)

func (*PartitionClient) RemovePartitionRole

func (partCl *PartitionClient) RemovePartitionRole(ctx context.Context, partitionRoleId string) (*RemoveResponse, error)

func (*PartitionClient) UpdatePartition

func (partCl *PartitionClient) UpdatePartition(ctx context.Context, partitionId string,
	name string, description string, props map[string]string) (*PartitionObject, error)

type PartitionCreateRequest

type PartitionCreateRequest struct {
	Name        string            `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	TenantId    string            `protobuf:"bytes,2,opt,name=tenant_id,json=tenantId,proto3" json:"tenant_id,omitempty"`
	ParentId    string            `protobuf:"bytes,3,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"`
	Description string            `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
	Properties  map[string]string `` /* 161-byte string literal not displayed */
	// contains filtered or unexported fields
}

Request to create a new partition

func (*PartitionCreateRequest) Descriptor deprecated

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

Deprecated: Use PartitionCreateRequest.ProtoReflect.Descriptor instead.

func (*PartitionCreateRequest) GetDescription

func (x *PartitionCreateRequest) GetDescription() string

func (*PartitionCreateRequest) GetName

func (x *PartitionCreateRequest) GetName() string

func (*PartitionCreateRequest) GetParentId

func (x *PartitionCreateRequest) GetParentId() string

func (*PartitionCreateRequest) GetProperties

func (x *PartitionCreateRequest) GetProperties() map[string]string

func (*PartitionCreateRequest) GetTenantId

func (x *PartitionCreateRequest) GetTenantId() string

func (*PartitionCreateRequest) ProtoMessage

func (*PartitionCreateRequest) ProtoMessage()

func (*PartitionCreateRequest) ProtoReflect

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

func (*PartitionCreateRequest) Reset

func (x *PartitionCreateRequest) Reset()

func (*PartitionCreateRequest) String

func (x *PartitionCreateRequest) String() string

func (*PartitionCreateRequest) Validate added in v1.0.1

func (m *PartitionCreateRequest) Validate() error

Validate checks the field values on PartitionCreateRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*PartitionCreateRequest) ValidateAll added in v1.0.23

func (m *PartitionCreateRequest) ValidateAll() error

ValidateAll checks the field values on PartitionCreateRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PartitionCreateRequestMultiError, or nil if none found.

type PartitionCreateRequestMultiError added in v1.0.23

type PartitionCreateRequestMultiError []error

PartitionCreateRequestMultiError is an error wrapping multiple validation errors returned by PartitionCreateRequest.ValidateAll() if the designated constraints aren't met.

func (PartitionCreateRequestMultiError) AllErrors added in v1.0.23

func (m PartitionCreateRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PartitionCreateRequestMultiError) Error added in v1.0.23

Error returns a concatenation of all the error messages it wraps.

type PartitionCreateRequestValidationError added in v1.0.1

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

PartitionCreateRequestValidationError is the validation error returned by PartitionCreateRequest.Validate if the designated constraints aren't met.

func (PartitionCreateRequestValidationError) Cause added in v1.0.1

Cause function returns cause value.

func (PartitionCreateRequestValidationError) Error added in v1.0.1

Error satisfies the builtin error interface

func (PartitionCreateRequestValidationError) ErrorName added in v1.0.1

ErrorName returns error name.

func (PartitionCreateRequestValidationError) Field added in v1.0.1

Field function returns field value.

func (PartitionCreateRequestValidationError) Key added in v1.0.1

Key function returns key value.

func (PartitionCreateRequestValidationError) Reason added in v1.0.1

Reason function returns reason value.

type PartitionObject

type PartitionObject struct {
	PartitionId string            `protobuf:"bytes,1,opt,name=partition_id,json=partitionId,proto3" json:"partition_id,omitempty"`
	Name        string            `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	TenantId    string            `protobuf:"bytes,3,opt,name=tenant_id,json=tenantId,proto3" json:"tenant_id,omitempty"`
	ParentId    string            `protobuf:"bytes,4,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"`
	Description string            `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
	State       common.STATE      `protobuf:"varint,6,opt,name=state,proto3,enum=apis.STATE" json:"state,omitempty"`
	Properties  map[string]string `` /* 161-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*PartitionObject) Descriptor deprecated

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

Deprecated: Use PartitionObject.ProtoReflect.Descriptor instead.

func (*PartitionObject) GetDescription

func (x *PartitionObject) GetDescription() string

func (*PartitionObject) GetName

func (x *PartitionObject) GetName() string

func (*PartitionObject) GetParentId

func (x *PartitionObject) GetParentId() string

func (*PartitionObject) GetPartitionId

func (x *PartitionObject) GetPartitionId() string

func (*PartitionObject) GetProperties

func (x *PartitionObject) GetProperties() map[string]string

func (*PartitionObject) GetState

func (x *PartitionObject) GetState() common.STATE

func (*PartitionObject) GetTenantId

func (x *PartitionObject) GetTenantId() string

func (*PartitionObject) ProtoMessage

func (*PartitionObject) ProtoMessage()

func (*PartitionObject) ProtoReflect

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

func (*PartitionObject) Reset

func (x *PartitionObject) Reset()

func (*PartitionObject) String

func (x *PartitionObject) String() string

func (*PartitionObject) Validate added in v1.0.1

func (m *PartitionObject) Validate() error

Validate checks the field values on PartitionObject with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*PartitionObject) ValidateAll added in v1.0.23

func (m *PartitionObject) ValidateAll() error

ValidateAll checks the field values on PartitionObject with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PartitionObjectMultiError, or nil if none found.

type PartitionObjectMultiError added in v1.0.23

type PartitionObjectMultiError []error

PartitionObjectMultiError is an error wrapping multiple validation errors returned by PartitionObject.ValidateAll() if the designated constraints aren't met.

func (PartitionObjectMultiError) AllErrors added in v1.0.23

func (m PartitionObjectMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PartitionObjectMultiError) Error added in v1.0.23

Error returns a concatenation of all the error messages it wraps.

type PartitionObjectValidationError added in v1.0.1

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

PartitionObjectValidationError is the validation error returned by PartitionObject.Validate if the designated constraints aren't met.

func (PartitionObjectValidationError) Cause added in v1.0.1

Cause function returns cause value.

func (PartitionObjectValidationError) Error added in v1.0.1

Error satisfies the builtin error interface

func (PartitionObjectValidationError) ErrorName added in v1.0.1

func (e PartitionObjectValidationError) ErrorName() string

ErrorName returns error name.

func (PartitionObjectValidationError) Field added in v1.0.1

Field function returns field value.

func (PartitionObjectValidationError) Key added in v1.0.1

Key function returns key value.

func (PartitionObjectValidationError) Reason added in v1.0.1

Reason function returns reason value.

type PartitionRoleCreateRequest

type PartitionRoleCreateRequest struct {
	PartitionId string            `protobuf:"bytes,1,opt,name=partition_id,json=partitionId,proto3" json:"partition_id,omitempty"`
	Name        string            `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Properties  map[string]string `` /* 161-byte string literal not displayed */
	// contains filtered or unexported fields
}

Partition Roles

func (*PartitionRoleCreateRequest) Descriptor deprecated

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

Deprecated: Use PartitionRoleCreateRequest.ProtoReflect.Descriptor instead.

func (*PartitionRoleCreateRequest) GetName

func (x *PartitionRoleCreateRequest) GetName() string

func (*PartitionRoleCreateRequest) GetPartitionId

func (x *PartitionRoleCreateRequest) GetPartitionId() string

func (*PartitionRoleCreateRequest) GetProperties

func (x *PartitionRoleCreateRequest) GetProperties() map[string]string

func (*PartitionRoleCreateRequest) ProtoMessage

func (*PartitionRoleCreateRequest) ProtoMessage()

func (*PartitionRoleCreateRequest) ProtoReflect

func (*PartitionRoleCreateRequest) Reset

func (x *PartitionRoleCreateRequest) Reset()

func (*PartitionRoleCreateRequest) String

func (x *PartitionRoleCreateRequest) String() string

func (*PartitionRoleCreateRequest) Validate added in v1.0.1

func (m *PartitionRoleCreateRequest) Validate() error

Validate checks the field values on PartitionRoleCreateRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*PartitionRoleCreateRequest) ValidateAll added in v1.0.23

func (m *PartitionRoleCreateRequest) ValidateAll() error

ValidateAll checks the field values on PartitionRoleCreateRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PartitionRoleCreateRequestMultiError, or nil if none found.

type PartitionRoleCreateRequestMultiError added in v1.0.23

type PartitionRoleCreateRequestMultiError []error

PartitionRoleCreateRequestMultiError is an error wrapping multiple validation errors returned by PartitionRoleCreateRequest.ValidateAll() if the designated constraints aren't met.

func (PartitionRoleCreateRequestMultiError) AllErrors added in v1.0.23

AllErrors returns a list of validation violation errors.

func (PartitionRoleCreateRequestMultiError) Error added in v1.0.23

Error returns a concatenation of all the error messages it wraps.

type PartitionRoleCreateRequestValidationError added in v1.0.1

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

PartitionRoleCreateRequestValidationError is the validation error returned by PartitionRoleCreateRequest.Validate if the designated constraints aren't met.

func (PartitionRoleCreateRequestValidationError) Cause added in v1.0.1

Cause function returns cause value.

func (PartitionRoleCreateRequestValidationError) Error added in v1.0.1

Error satisfies the builtin error interface

func (PartitionRoleCreateRequestValidationError) ErrorName added in v1.0.1

ErrorName returns error name.

func (PartitionRoleCreateRequestValidationError) Field added in v1.0.1

Field function returns field value.

func (PartitionRoleCreateRequestValidationError) Key added in v1.0.1

Key function returns key value.

func (PartitionRoleCreateRequestValidationError) Reason added in v1.0.1

Reason function returns reason value.

type PartitionRoleListRequest

type PartitionRoleListRequest struct {
	PartitionId string `protobuf:"bytes,1,opt,name=partition_id,json=partitionId,proto3" json:"partition_id,omitempty"`
	// contains filtered or unexported fields
}

func (*PartitionRoleListRequest) Descriptor deprecated

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

Deprecated: Use PartitionRoleListRequest.ProtoReflect.Descriptor instead.

func (*PartitionRoleListRequest) GetPartitionId

func (x *PartitionRoleListRequest) GetPartitionId() string

func (*PartitionRoleListRequest) ProtoMessage

func (*PartitionRoleListRequest) ProtoMessage()

func (*PartitionRoleListRequest) ProtoReflect

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

func (*PartitionRoleListRequest) Reset

func (x *PartitionRoleListRequest) Reset()

func (*PartitionRoleListRequest) String

func (x *PartitionRoleListRequest) String() string

func (*PartitionRoleListRequest) Validate added in v1.0.1

func (m *PartitionRoleListRequest) Validate() error

Validate checks the field values on PartitionRoleListRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*PartitionRoleListRequest) ValidateAll added in v1.0.23

func (m *PartitionRoleListRequest) ValidateAll() error

ValidateAll checks the field values on PartitionRoleListRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PartitionRoleListRequestMultiError, or nil if none found.

type PartitionRoleListRequestMultiError added in v1.0.23

type PartitionRoleListRequestMultiError []error

PartitionRoleListRequestMultiError is an error wrapping multiple validation errors returned by PartitionRoleListRequest.ValidateAll() if the designated constraints aren't met.

func (PartitionRoleListRequestMultiError) AllErrors added in v1.0.23

func (m PartitionRoleListRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PartitionRoleListRequestMultiError) Error added in v1.0.23

Error returns a concatenation of all the error messages it wraps.

type PartitionRoleListRequestValidationError added in v1.0.1

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

PartitionRoleListRequestValidationError is the validation error returned by PartitionRoleListRequest.Validate if the designated constraints aren't met.

func (PartitionRoleListRequestValidationError) Cause added in v1.0.1

Cause function returns cause value.

func (PartitionRoleListRequestValidationError) Error added in v1.0.1

Error satisfies the builtin error interface

func (PartitionRoleListRequestValidationError) ErrorName added in v1.0.1

ErrorName returns error name.

func (PartitionRoleListRequestValidationError) Field added in v1.0.1

Field function returns field value.

func (PartitionRoleListRequestValidationError) Key added in v1.0.1

Key function returns key value.

func (PartitionRoleListRequestValidationError) Reason added in v1.0.1

Reason function returns reason value.

type PartitionRoleListResponse

type PartitionRoleListResponse struct {
	Role []*PartitionRoleObject `protobuf:"bytes,1,rep,name=role,proto3" json:"role,omitempty"`
	// contains filtered or unexported fields
}

func (*PartitionRoleListResponse) Descriptor deprecated

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

Deprecated: Use PartitionRoleListResponse.ProtoReflect.Descriptor instead.

func (*PartitionRoleListResponse) GetRole

func (*PartitionRoleListResponse) ProtoMessage

func (*PartitionRoleListResponse) ProtoMessage()

func (*PartitionRoleListResponse) ProtoReflect

func (*PartitionRoleListResponse) Reset

func (x *PartitionRoleListResponse) Reset()

func (*PartitionRoleListResponse) String

func (x *PartitionRoleListResponse) String() string

func (*PartitionRoleListResponse) Validate added in v1.0.1

func (m *PartitionRoleListResponse) Validate() error

Validate checks the field values on PartitionRoleListResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*PartitionRoleListResponse) ValidateAll added in v1.0.23

func (m *PartitionRoleListResponse) ValidateAll() error

ValidateAll checks the field values on PartitionRoleListResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PartitionRoleListResponseMultiError, or nil if none found.

type PartitionRoleListResponseMultiError added in v1.0.23

type PartitionRoleListResponseMultiError []error

PartitionRoleListResponseMultiError is an error wrapping multiple validation errors returned by PartitionRoleListResponse.ValidateAll() if the designated constraints aren't met.

func (PartitionRoleListResponseMultiError) AllErrors added in v1.0.23

AllErrors returns a list of validation violation errors.

func (PartitionRoleListResponseMultiError) Error added in v1.0.23

Error returns a concatenation of all the error messages it wraps.

type PartitionRoleListResponseValidationError added in v1.0.1

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

PartitionRoleListResponseValidationError is the validation error returned by PartitionRoleListResponse.Validate if the designated constraints aren't met.

func (PartitionRoleListResponseValidationError) Cause added in v1.0.1

Cause function returns cause value.

func (PartitionRoleListResponseValidationError) Error added in v1.0.1

Error satisfies the builtin error interface

func (PartitionRoleListResponseValidationError) ErrorName added in v1.0.1

ErrorName returns error name.

func (PartitionRoleListResponseValidationError) Field added in v1.0.1

Field function returns field value.

func (PartitionRoleListResponseValidationError) Key added in v1.0.1

Key function returns key value.

func (PartitionRoleListResponseValidationError) Reason added in v1.0.1

Reason function returns reason value.

type PartitionRoleObject

type PartitionRoleObject struct {
	PartitionRoleId string            `protobuf:"bytes,1,opt,name=partition_role_id,json=partitionRoleId,proto3" json:"partition_role_id,omitempty"`
	PartitionId     string            `protobuf:"bytes,2,opt,name=partition_id,json=partitionId,proto3" json:"partition_id,omitempty"`
	Name            string            `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	Properties      map[string]string `` /* 161-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*PartitionRoleObject) Descriptor deprecated

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

Deprecated: Use PartitionRoleObject.ProtoReflect.Descriptor instead.

func (*PartitionRoleObject) GetName

func (x *PartitionRoleObject) GetName() string

func (*PartitionRoleObject) GetPartitionId

func (x *PartitionRoleObject) GetPartitionId() string

func (*PartitionRoleObject) GetPartitionRoleId

func (x *PartitionRoleObject) GetPartitionRoleId() string

func (*PartitionRoleObject) GetProperties

func (x *PartitionRoleObject) GetProperties() map[string]string

func (*PartitionRoleObject) ProtoMessage

func (*PartitionRoleObject) ProtoMessage()

func (*PartitionRoleObject) ProtoReflect

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

func (*PartitionRoleObject) Reset

func (x *PartitionRoleObject) Reset()

func (*PartitionRoleObject) String

func (x *PartitionRoleObject) String() string

func (*PartitionRoleObject) Validate added in v1.0.1

func (m *PartitionRoleObject) Validate() error

Validate checks the field values on PartitionRoleObject with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*PartitionRoleObject) ValidateAll added in v1.0.23

func (m *PartitionRoleObject) ValidateAll() error

ValidateAll checks the field values on PartitionRoleObject with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PartitionRoleObjectMultiError, or nil if none found.

type PartitionRoleObjectMultiError added in v1.0.23

type PartitionRoleObjectMultiError []error

PartitionRoleObjectMultiError is an error wrapping multiple validation errors returned by PartitionRoleObject.ValidateAll() if the designated constraints aren't met.

func (PartitionRoleObjectMultiError) AllErrors added in v1.0.23

func (m PartitionRoleObjectMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PartitionRoleObjectMultiError) Error added in v1.0.23

Error returns a concatenation of all the error messages it wraps.

type PartitionRoleObjectValidationError added in v1.0.1

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

PartitionRoleObjectValidationError is the validation error returned by PartitionRoleObject.Validate if the designated constraints aren't met.

func (PartitionRoleObjectValidationError) Cause added in v1.0.1

Cause function returns cause value.

func (PartitionRoleObjectValidationError) Error added in v1.0.1

Error satisfies the builtin error interface

func (PartitionRoleObjectValidationError) ErrorName added in v1.0.1

ErrorName returns error name.

func (PartitionRoleObjectValidationError) Field added in v1.0.1

Field function returns field value.

func (PartitionRoleObjectValidationError) Key added in v1.0.1

Key function returns key value.

func (PartitionRoleObjectValidationError) Reason added in v1.0.1

Reason function returns reason value.

type PartitionRoleRemoveRequest

type PartitionRoleRemoveRequest struct {
	PartitionRoleId string `protobuf:"bytes,1,opt,name=partition_role_id,json=partitionRoleId,proto3" json:"partition_role_id,omitempty"`
	// contains filtered or unexported fields
}

func (*PartitionRoleRemoveRequest) Descriptor deprecated

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

Deprecated: Use PartitionRoleRemoveRequest.ProtoReflect.Descriptor instead.

func (*PartitionRoleRemoveRequest) GetPartitionRoleId

func (x *PartitionRoleRemoveRequest) GetPartitionRoleId() string

func (*PartitionRoleRemoveRequest) ProtoMessage

func (*PartitionRoleRemoveRequest) ProtoMessage()

func (*PartitionRoleRemoveRequest) ProtoReflect

func (*PartitionRoleRemoveRequest) Reset

func (x *PartitionRoleRemoveRequest) Reset()

func (*PartitionRoleRemoveRequest) String

func (x *PartitionRoleRemoveRequest) String() string

func (*PartitionRoleRemoveRequest) Validate added in v1.0.1

func (m *PartitionRoleRemoveRequest) Validate() error

Validate checks the field values on PartitionRoleRemoveRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*PartitionRoleRemoveRequest) ValidateAll added in v1.0.23

func (m *PartitionRoleRemoveRequest) ValidateAll() error

ValidateAll checks the field values on PartitionRoleRemoveRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PartitionRoleRemoveRequestMultiError, or nil if none found.

type PartitionRoleRemoveRequestMultiError added in v1.0.23

type PartitionRoleRemoveRequestMultiError []error

PartitionRoleRemoveRequestMultiError is an error wrapping multiple validation errors returned by PartitionRoleRemoveRequest.ValidateAll() if the designated constraints aren't met.

func (PartitionRoleRemoveRequestMultiError) AllErrors added in v1.0.23

AllErrors returns a list of validation violation errors.

func (PartitionRoleRemoveRequestMultiError) Error added in v1.0.23

Error returns a concatenation of all the error messages it wraps.

type PartitionRoleRemoveRequestValidationError added in v1.0.1

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

PartitionRoleRemoveRequestValidationError is the validation error returned by PartitionRoleRemoveRequest.Validate if the designated constraints aren't met.

func (PartitionRoleRemoveRequestValidationError) Cause added in v1.0.1

Cause function returns cause value.

func (PartitionRoleRemoveRequestValidationError) Error added in v1.0.1

Error satisfies the builtin error interface

func (PartitionRoleRemoveRequestValidationError) ErrorName added in v1.0.1

ErrorName returns error name.

func (PartitionRoleRemoveRequestValidationError) Field added in v1.0.1

Field function returns field value.

func (PartitionRoleRemoveRequestValidationError) Key added in v1.0.1

Key function returns key value.

func (PartitionRoleRemoveRequestValidationError) Reason added in v1.0.1

Reason function returns reason value.

type PartitionServiceClient

type PartitionServiceClient interface {
	// Get a tenant in the system matching the id
	GetTenant(ctx context.Context, in *GetRequest, opts ...grpc.CallOption) (*TenantObject, error)
	// List all tenants in the system matching the query in some way
	ListTenant(ctx context.Context, in *SearchRequest, opts ...grpc.CallOption) (PartitionService_ListTenantClient, error)
	// Log a new tenant request
	CreateTenant(ctx context.Context, in *TenantRequest, opts ...grpc.CallOption) (*TenantObject, error)
	// List all tenants in the system matching the query in some way
	ListPartition(ctx context.Context, in *SearchRequest, opts ...grpc.CallOption) (PartitionService_ListPartitionClient, error)
	// Log a new partition request
	CreatePartition(ctx context.Context, in *PartitionCreateRequest, opts ...grpc.CallOption) (*PartitionObject, error)
	// Get an existing partition object
	GetPartition(ctx context.Context, in *GetRequest, opts ...grpc.CallOption) (*PartitionObject, error)
	// Update an existing partition object
	UpdatePartition(ctx context.Context, in *PartitionUpdateRequest, opts ...grpc.CallOption) (*PartitionObject, error)
	// Create a partition Role for a particular partition
	CreatePartitionRole(ctx context.Context, in *PartitionRoleCreateRequest, opts ...grpc.CallOption) (*PartitionRoleObject, error)
	// List partition roles available for this particular partition
	ListPartitionRoles(ctx context.Context, in *PartitionRoleListRequest, opts ...grpc.CallOption) (*PartitionRoleListResponse, error)
	// Remove a partition role that is not required
	RemovePartitionRole(ctx context.Context, in *PartitionRoleRemoveRequest, opts ...grpc.CallOption) (*RemoveResponse, error)
	// Creates a new page for access or customization of how a partition looks like
	CreatePage(ctx context.Context, in *PageCreateRequest, opts ...grpc.CallOption) (*PageObject, error)
	// Obtains a new page specific to a partition
	GetPage(ctx context.Context, in *PageGetRequest, opts ...grpc.CallOption) (*PageObject, error)
	// Removes a page from being accessible for a partition
	RemovePage(ctx context.Context, in *PageRemoveRequest, opts ...grpc.CallOption) (*RemoveResponse, error)
	// Creates a users ability to access a partition
	CreateAccess(ctx context.Context, in *AccessCreateRequest, opts ...grpc.CallOption) (*AccessObject, error)
	// Obtains a users access to a partition by access id or partition and profile id
	GetAccess(ctx context.Context, in *AccessGetRequest, opts ...grpc.CallOption) (*AccessObject, error)
	// Removes a user's ability to access a partition
	RemoveAccess(ctx context.Context, in *AccessRemoveRequest, opts ...grpc.CallOption) (*RemoveResponse, error)
	// Create an access Role for a particular access
	CreateAccessRole(ctx context.Context, in *AccessRoleCreateRequest, opts ...grpc.CallOption) (*AccessRoleObject, error)
	// List access roles available for this particular access
	ListAccessRoles(ctx context.Context, in *AccessRoleListRequest, opts ...grpc.CallOption) (*AccessRoleListResponse, error)
	// Remove an access role that is not required
	RemoveAccessRole(ctx context.Context, in *AccessRoleRemoveRequest, opts ...grpc.CallOption) (*RemoveResponse, error)
}

PartitionServiceClient is the client API for PartitionService 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 PartitionServiceServer

type PartitionServiceServer interface {
	// Get a tenant in the system matching the id
	GetTenant(context.Context, *GetRequest) (*TenantObject, error)
	// List all tenants in the system matching the query in some way
	ListTenant(*SearchRequest, PartitionService_ListTenantServer) error
	// Log a new tenant request
	CreateTenant(context.Context, *TenantRequest) (*TenantObject, error)
	// List all tenants in the system matching the query in some way
	ListPartition(*SearchRequest, PartitionService_ListPartitionServer) error
	// Log a new partition request
	CreatePartition(context.Context, *PartitionCreateRequest) (*PartitionObject, error)
	// Get an existing partition object
	GetPartition(context.Context, *GetRequest) (*PartitionObject, error)
	// Update an existing partition object
	UpdatePartition(context.Context, *PartitionUpdateRequest) (*PartitionObject, error)
	// Create a partition Role for a particular partition
	CreatePartitionRole(context.Context, *PartitionRoleCreateRequest) (*PartitionRoleObject, error)
	// List partition roles available for this particular partition
	ListPartitionRoles(context.Context, *PartitionRoleListRequest) (*PartitionRoleListResponse, error)
	// Remove a partition role that is not required
	RemovePartitionRole(context.Context, *PartitionRoleRemoveRequest) (*RemoveResponse, error)
	// Creates a new page for access or customization of how a partition looks like
	CreatePage(context.Context, *PageCreateRequest) (*PageObject, error)
	// Obtains a new page specific to a partition
	GetPage(context.Context, *PageGetRequest) (*PageObject, error)
	// Removes a page from being accessible for a partition
	RemovePage(context.Context, *PageRemoveRequest) (*RemoveResponse, error)
	// Creates a users ability to access a partition
	CreateAccess(context.Context, *AccessCreateRequest) (*AccessObject, error)
	// Obtains a users access to a partition by access id or partition and profile id
	GetAccess(context.Context, *AccessGetRequest) (*AccessObject, error)
	// Removes a user's ability to access a partition
	RemoveAccess(context.Context, *AccessRemoveRequest) (*RemoveResponse, error)
	// Create an access Role for a particular access
	CreateAccessRole(context.Context, *AccessRoleCreateRequest) (*AccessRoleObject, error)
	// List access roles available for this particular access
	ListAccessRoles(context.Context, *AccessRoleListRequest) (*AccessRoleListResponse, error)
	// Remove an access role that is not required
	RemoveAccessRole(context.Context, *AccessRoleRemoveRequest) (*RemoveResponse, error)
	// contains filtered or unexported methods
}

PartitionServiceServer is the server API for PartitionService service. All implementations must embed UnimplementedPartitionServiceServer for forward compatibility

type PartitionService_ListPartitionClient added in v1.0.10

type PartitionService_ListPartitionClient interface {
	Recv() (*PartitionObject, error)
	grpc.ClientStream
}

type PartitionService_ListPartitionServer added in v1.0.10

type PartitionService_ListPartitionServer interface {
	Send(*PartitionObject) error
	grpc.ServerStream
}

type PartitionService_ListTenantClient added in v1.0.10

type PartitionService_ListTenantClient interface {
	Recv() (*TenantObject, error)
	grpc.ClientStream
}

type PartitionService_ListTenantServer added in v1.0.10

type PartitionService_ListTenantServer interface {
	Send(*TenantObject) error
	grpc.ServerStream
}

type PartitionUpdateRequest

type PartitionUpdateRequest struct {
	PartitionId string            `protobuf:"bytes,1,opt,name=partition_id,json=partitionId,proto3" json:"partition_id,omitempty"`
	Name        string            `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Description string            `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	State       common.STATE      `protobuf:"varint,4,opt,name=state,proto3,enum=apis.STATE" json:"state,omitempty"`
	Properties  map[string]string `` /* 161-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*PartitionUpdateRequest) Descriptor deprecated

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

Deprecated: Use PartitionUpdateRequest.ProtoReflect.Descriptor instead.

func (*PartitionUpdateRequest) GetDescription

func (x *PartitionUpdateRequest) GetDescription() string

func (*PartitionUpdateRequest) GetName

func (x *PartitionUpdateRequest) GetName() string

func (*PartitionUpdateRequest) GetPartitionId

func (x *PartitionUpdateRequest) GetPartitionId() string

func (*PartitionUpdateRequest) GetProperties

func (x *PartitionUpdateRequest) GetProperties() map[string]string

func (*PartitionUpdateRequest) GetState

func (x *PartitionUpdateRequest) GetState() common.STATE

func (*PartitionUpdateRequest) ProtoMessage

func (*PartitionUpdateRequest) ProtoMessage()

func (*PartitionUpdateRequest) ProtoReflect

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

func (*PartitionUpdateRequest) Reset

func (x *PartitionUpdateRequest) Reset()

func (*PartitionUpdateRequest) String

func (x *PartitionUpdateRequest) String() string

func (*PartitionUpdateRequest) Validate added in v1.0.1

func (m *PartitionUpdateRequest) Validate() error

Validate checks the field values on PartitionUpdateRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*PartitionUpdateRequest) ValidateAll added in v1.0.23

func (m *PartitionUpdateRequest) ValidateAll() error

ValidateAll checks the field values on PartitionUpdateRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PartitionUpdateRequestMultiError, or nil if none found.

type PartitionUpdateRequestMultiError added in v1.0.23

type PartitionUpdateRequestMultiError []error

PartitionUpdateRequestMultiError is an error wrapping multiple validation errors returned by PartitionUpdateRequest.ValidateAll() if the designated constraints aren't met.

func (PartitionUpdateRequestMultiError) AllErrors added in v1.0.23

func (m PartitionUpdateRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PartitionUpdateRequestMultiError) Error added in v1.0.23

Error returns a concatenation of all the error messages it wraps.

type PartitionUpdateRequestValidationError added in v1.0.1

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

PartitionUpdateRequestValidationError is the validation error returned by PartitionUpdateRequest.Validate if the designated constraints aren't met.

func (PartitionUpdateRequestValidationError) Cause added in v1.0.1

Cause function returns cause value.

func (PartitionUpdateRequestValidationError) Error added in v1.0.1

Error satisfies the builtin error interface

func (PartitionUpdateRequestValidationError) ErrorName added in v1.0.1

ErrorName returns error name.

func (PartitionUpdateRequestValidationError) Field added in v1.0.1

Field function returns field value.

func (PartitionUpdateRequestValidationError) Key added in v1.0.1

Key function returns key value.

func (PartitionUpdateRequestValidationError) Reason added in v1.0.1

Reason function returns reason value.

type RemoveResponse

type RemoveResponse struct {
	Succeeded bool `protobuf:"varint,1,opt,name=succeeded,proto3" json:"succeeded,omitempty"`
	// contains filtered or unexported fields
}

Service wide response to show success on removal Of entry or failure

func (*RemoveResponse) Descriptor deprecated

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

Deprecated: Use RemoveResponse.ProtoReflect.Descriptor instead.

func (*RemoveResponse) GetSucceeded

func (x *RemoveResponse) GetSucceeded() bool

func (*RemoveResponse) ProtoMessage

func (*RemoveResponse) ProtoMessage()

func (*RemoveResponse) ProtoReflect

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

func (*RemoveResponse) Reset

func (x *RemoveResponse) Reset()

func (*RemoveResponse) String

func (x *RemoveResponse) String() string

func (*RemoveResponse) Validate added in v1.0.1

func (m *RemoveResponse) Validate() error

Validate checks the field values on RemoveResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*RemoveResponse) ValidateAll added in v1.0.23

func (m *RemoveResponse) ValidateAll() error

ValidateAll checks the field values on RemoveResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RemoveResponseMultiError, or nil if none found.

type RemoveResponseMultiError added in v1.0.23

type RemoveResponseMultiError []error

RemoveResponseMultiError is an error wrapping multiple validation errors returned by RemoveResponse.ValidateAll() if the designated constraints aren't met.

func (RemoveResponseMultiError) AllErrors added in v1.0.23

func (m RemoveResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (RemoveResponseMultiError) Error added in v1.0.23

func (m RemoveResponseMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type RemoveResponseValidationError added in v1.0.1

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

RemoveResponseValidationError is the validation error returned by RemoveResponse.Validate if the designated constraints aren't met.

func (RemoveResponseValidationError) Cause added in v1.0.1

Cause function returns cause value.

func (RemoveResponseValidationError) Error added in v1.0.1

Error satisfies the builtin error interface

func (RemoveResponseValidationError) ErrorName added in v1.0.1

func (e RemoveResponseValidationError) ErrorName() string

ErrorName returns error name.

func (RemoveResponseValidationError) Field added in v1.0.1

Field function returns field value.

func (RemoveResponseValidationError) Key added in v1.0.1

Key function returns key value.

func (RemoveResponseValidationError) Reason added in v1.0.1

Reason function returns reason value.

type SearchRequest added in v1.0.10

type SearchRequest struct {
	Query string `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"`
	Count uint32 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"`
	Page  uint32 `protobuf:"varint,3,opt,name=page,proto3" json:"page,omitempty"`
	// contains filtered or unexported fields
}

func (*SearchRequest) Descriptor deprecated added in v1.0.10

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

Deprecated: Use SearchRequest.ProtoReflect.Descriptor instead.

func (*SearchRequest) GetCount added in v1.0.10

func (x *SearchRequest) GetCount() uint32

func (*SearchRequest) GetPage added in v1.0.10

func (x *SearchRequest) GetPage() uint32

func (*SearchRequest) GetQuery added in v1.0.10

func (x *SearchRequest) GetQuery() string

func (*SearchRequest) ProtoMessage added in v1.0.10

func (*SearchRequest) ProtoMessage()

func (*SearchRequest) ProtoReflect added in v1.0.10

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

func (*SearchRequest) Reset added in v1.0.10

func (x *SearchRequest) Reset()

func (*SearchRequest) String added in v1.0.10

func (x *SearchRequest) String() string

func (*SearchRequest) Validate added in v1.0.10

func (m *SearchRequest) Validate() error

Validate checks the field values on SearchRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*SearchRequest) ValidateAll added in v1.0.23

func (m *SearchRequest) ValidateAll() error

ValidateAll checks the field values on SearchRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SearchRequestMultiError, or nil if none found.

type SearchRequestMultiError added in v1.0.23

type SearchRequestMultiError []error

SearchRequestMultiError is an error wrapping multiple validation errors returned by SearchRequest.ValidateAll() if the designated constraints aren't met.

func (SearchRequestMultiError) AllErrors added in v1.0.23

func (m SearchRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SearchRequestMultiError) Error added in v1.0.23

func (m SearchRequestMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type SearchRequestValidationError added in v1.0.10

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

SearchRequestValidationError is the validation error returned by SearchRequest.Validate if the designated constraints aren't met.

func (SearchRequestValidationError) Cause added in v1.0.10

Cause function returns cause value.

func (SearchRequestValidationError) Error added in v1.0.10

Error satisfies the builtin error interface

func (SearchRequestValidationError) ErrorName added in v1.0.10

func (e SearchRequestValidationError) ErrorName() string

ErrorName returns error name.

func (SearchRequestValidationError) Field added in v1.0.10

Field function returns field value.

func (SearchRequestValidationError) Key added in v1.0.10

Key function returns key value.

func (SearchRequestValidationError) Reason added in v1.0.10

Reason function returns reason value.

type TenantObject

type TenantObject struct {
	TenantId    string            `protobuf:"bytes,1,opt,name=tenant_id,json=tenantId,proto3" json:"tenant_id,omitempty"`
	Description string            `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	Properties  map[string]string `` /* 161-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*TenantObject) Descriptor deprecated

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

Deprecated: Use TenantObject.ProtoReflect.Descriptor instead.

func (*TenantObject) GetDescription

func (x *TenantObject) GetDescription() string

func (*TenantObject) GetProperties

func (x *TenantObject) GetProperties() map[string]string

func (*TenantObject) GetTenantId

func (x *TenantObject) GetTenantId() string

func (*TenantObject) ProtoMessage

func (*TenantObject) ProtoMessage()

func (*TenantObject) ProtoReflect

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

func (*TenantObject) Reset

func (x *TenantObject) Reset()

func (*TenantObject) String

func (x *TenantObject) String() string

func (*TenantObject) Validate added in v1.0.1

func (m *TenantObject) Validate() error

Validate checks the field values on TenantObject with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*TenantObject) ValidateAll added in v1.0.23

func (m *TenantObject) ValidateAll() error

ValidateAll checks the field values on TenantObject with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in TenantObjectMultiError, or nil if none found.

type TenantObjectMultiError added in v1.0.23

type TenantObjectMultiError []error

TenantObjectMultiError is an error wrapping multiple validation errors returned by TenantObject.ValidateAll() if the designated constraints aren't met.

func (TenantObjectMultiError) AllErrors added in v1.0.23

func (m TenantObjectMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (TenantObjectMultiError) Error added in v1.0.23

func (m TenantObjectMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type TenantObjectValidationError added in v1.0.1

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

TenantObjectValidationError is the validation error returned by TenantObject.Validate if the designated constraints aren't met.

func (TenantObjectValidationError) Cause added in v1.0.1

Cause function returns cause value.

func (TenantObjectValidationError) Error added in v1.0.1

Error satisfies the builtin error interface

func (TenantObjectValidationError) ErrorName added in v1.0.1

func (e TenantObjectValidationError) ErrorName() string

ErrorName returns error name.

func (TenantObjectValidationError) Field added in v1.0.1

Field function returns field value.

func (TenantObjectValidationError) Key added in v1.0.1

Key function returns key value.

func (TenantObjectValidationError) Reason added in v1.0.1

Reason function returns reason value.

type TenantRequest

type TenantRequest struct {
	Name        string            `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Description string            `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	Properties  map[string]string `` /* 161-byte string literal not displayed */
	// contains filtered or unexported fields
}

Request to create new tenancy

func (*TenantRequest) Descriptor deprecated

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

Deprecated: Use TenantRequest.ProtoReflect.Descriptor instead.

func (*TenantRequest) GetDescription

func (x *TenantRequest) GetDescription() string

func (*TenantRequest) GetName

func (x *TenantRequest) GetName() string

func (*TenantRequest) GetProperties

func (x *TenantRequest) GetProperties() map[string]string

func (*TenantRequest) ProtoMessage

func (*TenantRequest) ProtoMessage()

func (*TenantRequest) ProtoReflect

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

func (*TenantRequest) Reset

func (x *TenantRequest) Reset()

func (*TenantRequest) String

func (x *TenantRequest) String() string

func (*TenantRequest) Validate added in v1.0.1

func (m *TenantRequest) Validate() error

Validate checks the field values on TenantRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*TenantRequest) ValidateAll added in v1.0.23

func (m *TenantRequest) ValidateAll() error

ValidateAll checks the field values on TenantRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in TenantRequestMultiError, or nil if none found.

type TenantRequestMultiError added in v1.0.23

type TenantRequestMultiError []error

TenantRequestMultiError is an error wrapping multiple validation errors returned by TenantRequest.ValidateAll() if the designated constraints aren't met.

func (TenantRequestMultiError) AllErrors added in v1.0.23

func (m TenantRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (TenantRequestMultiError) Error added in v1.0.23

func (m TenantRequestMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type TenantRequestValidationError added in v1.0.1

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

TenantRequestValidationError is the validation error returned by TenantRequest.Validate if the designated constraints aren't met.

func (TenantRequestValidationError) Cause added in v1.0.1

Cause function returns cause value.

func (TenantRequestValidationError) Error added in v1.0.1

Error satisfies the builtin error interface

func (TenantRequestValidationError) ErrorName added in v1.0.1

func (e TenantRequestValidationError) ErrorName() string

ErrorName returns error name.

func (TenantRequestValidationError) Field added in v1.0.1

Field function returns field value.

func (TenantRequestValidationError) Key added in v1.0.1

Key function returns key value.

func (TenantRequestValidationError) Reason added in v1.0.1

Reason function returns reason value.

type UnimplementedPartitionServiceServer

type UnimplementedPartitionServiceServer struct {
}

UnimplementedPartitionServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedPartitionServiceServer) CreateAccess

func (UnimplementedPartitionServiceServer) CreateAccessRole

func (UnimplementedPartitionServiceServer) CreatePage

func (UnimplementedPartitionServiceServer) CreatePartition

func (UnimplementedPartitionServiceServer) CreatePartitionRole

func (UnimplementedPartitionServiceServer) CreateTenant

func (UnimplementedPartitionServiceServer) GetAccess

func (UnimplementedPartitionServiceServer) GetPage

func (UnimplementedPartitionServiceServer) GetPartition

func (UnimplementedPartitionServiceServer) GetTenant added in v1.0.21

func (UnimplementedPartitionServiceServer) ListAccessRoles

func (UnimplementedPartitionServiceServer) ListPartition added in v1.0.10

func (UnimplementedPartitionServiceServer) ListPartitionRoles

func (UnimplementedPartitionServiceServer) ListTenant added in v1.0.10

func (UnimplementedPartitionServiceServer) RemoveAccess

func (UnimplementedPartitionServiceServer) RemoveAccessRole

func (UnimplementedPartitionServiceServer) RemovePage

func (UnimplementedPartitionServiceServer) RemovePartitionRole

func (UnimplementedPartitionServiceServer) UpdatePartition

type UnsafePartitionServiceServer

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

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

Jump to

Keyboard shortcuts

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