domain

package
v0.3.6-dev47 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2022 License: Apache-2.0 Imports: 26 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AuditLog_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "domain.AuditLog",
	HandlerType: (*AuditLogServer)(nil),
	Methods:     []grpc.MethodDesc{},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "GetByDateRange",
			Handler:       _AuditLog_GetByDateRange_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "GetUserActions",
			Handler:       _AuditLog_GetUserActions_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "GetUsersOverview",
			Handler:       _AuditLog_GetUsersOverview_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "api/domain/queryhandler_service.proto",
}

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

View Source
var Certificate_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "domain.Certificate",
	HandlerType: (*CertificateServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetCertificate",
			Handler:    _Certificate_GetCertificate_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "api/domain/queryhandler_service.proto",
}

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

View Source
var ClusterAccess_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "domain.ClusterAccess",
	HandlerType: (*ClusterAccessServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetTenantClusterMappingByTenantAndClusterId",
			Handler:    _ClusterAccess_GetTenantClusterMappingByTenantAndClusterId_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "GetClusterAccessByTenantId",
			Handler:       _ClusterAccess_GetClusterAccessByTenantId_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "GetClusterAccessByUserId",
			Handler:       _ClusterAccess_GetClusterAccessByUserId_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "GetTenantClusterMappingsByTenantId",
			Handler:       _ClusterAccess_GetTenantClusterMappingsByTenantId_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "GetTenantClusterMappingsByClusterId",
			Handler:       _ClusterAccess_GetTenantClusterMappingsByClusterId_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "api/domain/queryhandler_service.proto",
}

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

View Source
var Cluster_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "domain.Cluster",
	HandlerType: (*ClusterServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetById",
			Handler:    _Cluster_GetById_Handler,
		},
		{
			MethodName: "GetByName",
			Handler:    _Cluster_GetByName_Handler,
		},
		{
			MethodName: "GetBootstrapToken",
			Handler:    _Cluster_GetBootstrapToken_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "GetAll",
			Handler:       _Cluster_GetAll_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "api/domain/queryhandler_service.proto",
}

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

View Source
var CommandHandlerExtensions_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "domain.CommandHandlerExtensions",
	HandlerType: (*CommandHandlerExtensionsServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetPermissionModel",
			Handler:    _CommandHandlerExtensions_GetPermissionModel_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "api/domain/commandhandler_service.proto",
}

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

View Source
var File_api_domain_commandhandler_service_proto protoreflect.FileDescriptor
View Source
var File_api_domain_queryhandler_service_proto protoreflect.FileDescriptor
View Source
var Tenant_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "domain.Tenant",
	HandlerType: (*TenantServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetById",
			Handler:    _Tenant_GetById_Handler,
		},
		{
			MethodName: "GetByName",
			Handler:    _Tenant_GetByName_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "GetAll",
			Handler:       _Tenant_GetAll_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "GetUsers",
			Handler:       _Tenant_GetUsers_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "api/domain/queryhandler_service.proto",
}

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

View Source
var User_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "domain.User",
	HandlerType: (*UserServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetById",
			Handler:    _User_GetById_Handler,
		},
		{
			MethodName: "GetByEmail",
			Handler:    _User_GetByEmail_Handler,
		},
		{
			MethodName: "GetCount",
			Handler:    _User_GetCount_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "GetAll",
			Handler:       _User_GetAll_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "GetRoleBindingsById",
			Handler:       _User_GetRoleBindingsById_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "api/domain/queryhandler_service.proto",
}

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

Functions

func RegisterAuditLogServer added in v0.3.5

func RegisterAuditLogServer(s grpc.ServiceRegistrar, srv AuditLogServer)

func RegisterCertificateServer

func RegisterCertificateServer(s grpc.ServiceRegistrar, srv CertificateServer)

func RegisterClusterAccessServer added in v0.3.0

func RegisterClusterAccessServer(s grpc.ServiceRegistrar, srv ClusterAccessServer)

func RegisterClusterServer

func RegisterClusterServer(s grpc.ServiceRegistrar, srv ClusterServer)

func RegisterCommandHandlerExtensionsServer

func RegisterCommandHandlerExtensionsServer(s grpc.ServiceRegistrar, srv CommandHandlerExtensionsServer)

func RegisterTenantServer

func RegisterTenantServer(s grpc.ServiceRegistrar, srv TenantServer)

func RegisterUserServer

func RegisterUserServer(s grpc.ServiceRegistrar, srv UserServer)

Types

type AuditLogClient added in v0.3.5

type AuditLogClient interface {
	// GetByDateRange returns human readable events within the specified data range
	GetByDateRange(ctx context.Context, in *GetAuditLogByDateRangeRequest, opts ...grpc.CallOption) (AuditLog_GetByDateRangeClient, error)
	// GetUserActions returns human readable events caused by the given user actions
	GetUserActions(ctx context.Context, in *GetUserActionsRequest, opts ...grpc.CallOption) (AuditLog_GetUserActionsClient, error)
	// GetUsersOverview returns users overview including tenants/clusters they belong to, and their roles
	GetUsersOverview(ctx context.Context, in *GetUsersOverviewRequest, opts ...grpc.CallOption) (AuditLog_GetUsersOverviewClient, error)
}

AuditLogClient is the client API for AuditLog service.

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

func NewAuditLogClient added in v0.3.5

func NewAuditLogClient(cc grpc.ClientConnInterface) AuditLogClient

type AuditLogServer added in v0.3.5

type AuditLogServer interface {
	// GetByDateRange returns human readable events within the specified data range
	GetByDateRange(*GetAuditLogByDateRangeRequest, AuditLog_GetByDateRangeServer) error
	// GetUserActions returns human readable events caused by the given user actions
	GetUserActions(*GetUserActionsRequest, AuditLog_GetUserActionsServer) error
	// GetUsersOverview returns users overview including tenants/clusters they belong to, and their roles
	GetUsersOverview(*GetUsersOverviewRequest, AuditLog_GetUsersOverviewServer) error
	// contains filtered or unexported methods
}

AuditLogServer is the server API for AuditLog service. All implementations must embed UnimplementedAuditLogServer for forward compatibility

type AuditLog_GetByDateRangeClient added in v0.3.5

type AuditLog_GetByDateRangeClient interface {
	Recv() (*audit.HumanReadableEvent, error)
	grpc.ClientStream
}

type AuditLog_GetByDateRangeServer added in v0.3.5

type AuditLog_GetByDateRangeServer interface {
	Send(*audit.HumanReadableEvent) error
	grpc.ServerStream
}

type AuditLog_GetUserActionsClient added in v0.3.6

type AuditLog_GetUserActionsClient interface {
	Recv() (*audit.HumanReadableEvent, error)
	grpc.ClientStream
}

type AuditLog_GetUserActionsServer added in v0.3.6

type AuditLog_GetUserActionsServer interface {
	Send(*audit.HumanReadableEvent) error
	grpc.ServerStream
}

type AuditLog_GetUsersOverviewClient added in v0.3.6

type AuditLog_GetUsersOverviewClient interface {
	Recv() (*audit.UserOverview, error)
	grpc.ClientStream
}

type AuditLog_GetUsersOverviewServer added in v0.3.6

type AuditLog_GetUsersOverviewServer interface {
	Send(*audit.UserOverview) error
	grpc.ServerStream
}

type CertificateClient

type CertificateClient interface {
	GetCertificate(ctx context.Context, in *GetCertificateRequest, opts ...grpc.CallOption) (*projections.Certificate, error)
}

CertificateClient is the client API for Certificate 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 CertificateServer

type CertificateServer interface {
	GetCertificate(context.Context, *GetCertificateRequest) (*projections.Certificate, error)
	// contains filtered or unexported methods
}

CertificateServer is the server API for Certificate service. All implementations must embed UnimplementedCertificateServer for forward compatibility

type ClusterAccessClient added in v0.3.0

type ClusterAccessClient interface {
	// GetClusterAccessByTenantId returns clusters which the given tenant has access to by it's UUID
	GetClusterAccessByTenantId(ctx context.Context, in *wrapperspb.StringValue, opts ...grpc.CallOption) (ClusterAccess_GetClusterAccessByTenantIdClient, error)
	// GetClusterAccessByUserId returns clusters which the given user has access to by it's UUID
	GetClusterAccessByUserId(ctx context.Context, in *wrapperspb.StringValue, opts ...grpc.CallOption) (ClusterAccess_GetClusterAccessByUserIdClient, error)
	// GetTenantClusterMappingsByTenantId returns bindings which belong to the given tenant by it's UUID
	GetTenantClusterMappingsByTenantId(ctx context.Context, in *wrapperspb.StringValue, opts ...grpc.CallOption) (ClusterAccess_GetTenantClusterMappingsByTenantIdClient, error)
	// GetTenantClusterMappingsByClusterId returns bindings which belong to the given cluster by it's UUID
	GetTenantClusterMappingsByClusterId(ctx context.Context, in *wrapperspb.StringValue, opts ...grpc.CallOption) (ClusterAccess_GetTenantClusterMappingsByClusterIdClient, error)
	// GetTenantClusterMappingsByClusterId returns the binding which belongs to the given tenant and cluster by their UUIDs
	GetTenantClusterMappingByTenantAndClusterId(ctx context.Context, in *GetClusterMappingRequest, opts ...grpc.CallOption) (*projections.TenantClusterBinding, error)
}

ClusterAccessClient is the client API for ClusterAccess service.

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

func NewClusterAccessClient added in v0.3.0

func NewClusterAccessClient(cc grpc.ClientConnInterface) ClusterAccessClient

type ClusterAccessServer added in v0.3.0

type ClusterAccessServer interface {
	// GetClusterAccessByTenantId returns clusters which the given tenant has access to by it's UUID
	GetClusterAccessByTenantId(*wrapperspb.StringValue, ClusterAccess_GetClusterAccessByTenantIdServer) error
	// GetClusterAccessByUserId returns clusters which the given user has access to by it's UUID
	GetClusterAccessByUserId(*wrapperspb.StringValue, ClusterAccess_GetClusterAccessByUserIdServer) error
	// GetTenantClusterMappingsByTenantId returns bindings which belong to the given tenant by it's UUID
	GetTenantClusterMappingsByTenantId(*wrapperspb.StringValue, ClusterAccess_GetTenantClusterMappingsByTenantIdServer) error
	// GetTenantClusterMappingsByClusterId returns bindings which belong to the given cluster by it's UUID
	GetTenantClusterMappingsByClusterId(*wrapperspb.StringValue, ClusterAccess_GetTenantClusterMappingsByClusterIdServer) error
	// GetTenantClusterMappingsByClusterId returns the binding which belongs to the given tenant and cluster by their UUIDs
	GetTenantClusterMappingByTenantAndClusterId(context.Context, *GetClusterMappingRequest) (*projections.TenantClusterBinding, error)
	// contains filtered or unexported methods
}

ClusterAccessServer is the server API for ClusterAccess service. All implementations must embed UnimplementedClusterAccessServer for forward compatibility

type ClusterAccess_GetClusterAccessByTenantIdClient added in v0.3.0

type ClusterAccess_GetClusterAccessByTenantIdClient interface {
	Recv() (*projections.Cluster, error)
	grpc.ClientStream
}

type ClusterAccess_GetClusterAccessByTenantIdServer added in v0.3.0

type ClusterAccess_GetClusterAccessByTenantIdServer interface {
	Send(*projections.Cluster) error
	grpc.ServerStream
}

type ClusterAccess_GetClusterAccessByUserIdClient added in v0.3.0

type ClusterAccess_GetClusterAccessByUserIdClient interface {
	Recv() (*projections.Cluster, error)
	grpc.ClientStream
}

type ClusterAccess_GetClusterAccessByUserIdServer added in v0.3.0

type ClusterAccess_GetClusterAccessByUserIdServer interface {
	Send(*projections.Cluster) error
	grpc.ServerStream
}

type ClusterAccess_GetTenantClusterMappingsByClusterIdClient added in v0.3.0

type ClusterAccess_GetTenantClusterMappingsByClusterIdClient interface {
	Recv() (*projections.TenantClusterBinding, error)
	grpc.ClientStream
}

type ClusterAccess_GetTenantClusterMappingsByClusterIdServer added in v0.3.0

type ClusterAccess_GetTenantClusterMappingsByClusterIdServer interface {
	Send(*projections.TenantClusterBinding) error
	grpc.ServerStream
}

type ClusterAccess_GetTenantClusterMappingsByTenantIdClient added in v0.3.0

type ClusterAccess_GetTenantClusterMappingsByTenantIdClient interface {
	Recv() (*projections.TenantClusterBinding, error)
	grpc.ClientStream
}

type ClusterAccess_GetTenantClusterMappingsByTenantIdServer added in v0.3.0

type ClusterAccess_GetTenantClusterMappingsByTenantIdServer interface {
	Send(*projections.TenantClusterBinding) error
	grpc.ServerStream
}

type ClusterClient

type ClusterClient interface {
	// GetAll returns all known clusters
	GetAll(ctx context.Context, in *GetAllRequest, opts ...grpc.CallOption) (Cluster_GetAllClient, error)
	// GetById returns a cluster by its UUID
	GetById(ctx context.Context, in *wrapperspb.StringValue, opts ...grpc.CallOption) (*projections.Cluster, error)
	// GetByName returns a cluster by its name
	GetByName(ctx context.Context, in *wrapperspb.StringValue, opts ...grpc.CallOption) (*projections.Cluster, error)
	// GetBootstrapToken returns the JWT token for cluster authentication for the
	// cluster with the given UUID
	GetBootstrapToken(ctx context.Context, in *wrapperspb.StringValue, opts ...grpc.CallOption) (*wrapperspb.StringValue, error)
}

ClusterClient is the client API for Cluster service.

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

func NewClusterClient

func NewClusterClient(cc grpc.ClientConnInterface) ClusterClient

type ClusterServer

type ClusterServer interface {
	// GetAll returns all known clusters
	GetAll(*GetAllRequest, Cluster_GetAllServer) error
	// GetById returns a cluster by its UUID
	GetById(context.Context, *wrapperspb.StringValue) (*projections.Cluster, error)
	// GetByName returns a cluster by its name
	GetByName(context.Context, *wrapperspb.StringValue) (*projections.Cluster, error)
	// GetBootstrapToken returns the JWT token for cluster authentication for the
	// cluster with the given UUID
	GetBootstrapToken(context.Context, *wrapperspb.StringValue) (*wrapperspb.StringValue, error)
	// contains filtered or unexported methods
}

ClusterServer is the server API for Cluster service. All implementations must embed UnimplementedClusterServer for forward compatibility

type Cluster_GetAllClient

type Cluster_GetAllClient interface {
	Recv() (*projections.Cluster, error)
	grpc.ClientStream
}

type Cluster_GetAllServer

type Cluster_GetAllServer interface {
	Send(*projections.Cluster) error
	grpc.ServerStream
}

type CommandHandlerExtensionsClient

type CommandHandlerExtensionsClient interface {
	// Returns roles and scopes available.
	GetPermissionModel(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*PermissionModel, error)
}

CommandHandlerExtensionsClient is the client API for CommandHandlerExtensions 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 CommandHandlerExtensionsServer

type CommandHandlerExtensionsServer interface {
	// Returns roles and scopes available.
	GetPermissionModel(context.Context, *emptypb.Empty) (*PermissionModel, error)
	// contains filtered or unexported methods
}

CommandHandlerExtensionsServer is the server API for CommandHandlerExtensions service. All implementations must embed UnimplementedCommandHandlerExtensionsServer for forward compatibility

type GetAllRequest

type GetAllRequest struct {
	IncludeDeleted bool `protobuf:"varint,1,opt,name=include_deleted,json=includeDeleted,proto3" json:"include_deleted,omitempty"`
	// contains filtered or unexported fields
}

GetAllRequest is the generic request to query all instances of a certain projection

func (*GetAllRequest) Descriptor deprecated

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

Deprecated: Use GetAllRequest.ProtoReflect.Descriptor instead.

func (*GetAllRequest) GetIncludeDeleted

func (x *GetAllRequest) GetIncludeDeleted() bool

func (*GetAllRequest) ProtoMessage

func (*GetAllRequest) ProtoMessage()

func (*GetAllRequest) ProtoReflect

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

func (*GetAllRequest) Reset

func (x *GetAllRequest) Reset()

func (*GetAllRequest) String

func (x *GetAllRequest) String() string

func (*GetAllRequest) Validate added in v0.3.0

func (m *GetAllRequest) Validate() error

Validate checks the field values on GetAllRequest 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 (*GetAllRequest) ValidateAll added in v0.3.0

func (m *GetAllRequest) ValidateAll() error

ValidateAll checks the field values on GetAllRequest 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 GetAllRequestMultiError, or nil if none found.

type GetAllRequestMultiError added in v0.3.0

type GetAllRequestMultiError []error

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

func (GetAllRequestMultiError) AllErrors added in v0.3.0

func (m GetAllRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetAllRequestMultiError) Error added in v0.3.0

func (m GetAllRequestMultiError) Error() string

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

type GetAllRequestValidationError added in v0.3.0

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

GetAllRequestValidationError is the validation error returned by GetAllRequest.Validate if the designated constraints aren't met.

func (GetAllRequestValidationError) Cause added in v0.3.0

Cause function returns cause value.

func (GetAllRequestValidationError) Error added in v0.3.0

Error satisfies the builtin error interface

func (GetAllRequestValidationError) ErrorName added in v0.3.0

func (e GetAllRequestValidationError) ErrorName() string

ErrorName returns error name.

func (GetAllRequestValidationError) Field added in v0.3.0

Field function returns field value.

func (GetAllRequestValidationError) Key added in v0.3.0

Key function returns key value.

func (GetAllRequestValidationError) Reason added in v0.3.0

Reason function returns reason value.

type GetAuditLogByDateRangeRequest added in v0.3.5

type GetAuditLogByDateRangeRequest struct {
	MinTimestamp *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=min_timestamp,json=minTimestamp,proto3" json:"min_timestamp,omitempty"`
	MaxTimestamp *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=max_timestamp,json=maxTimestamp,proto3" json:"max_timestamp,omitempty"`
	// contains filtered or unexported fields
}

func (*GetAuditLogByDateRangeRequest) Descriptor deprecated added in v0.3.5

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

Deprecated: Use GetAuditLogByDateRangeRequest.ProtoReflect.Descriptor instead.

func (*GetAuditLogByDateRangeRequest) GetMaxTimestamp added in v0.3.5

func (x *GetAuditLogByDateRangeRequest) GetMaxTimestamp() *timestamppb.Timestamp

func (*GetAuditLogByDateRangeRequest) GetMinTimestamp added in v0.3.5

func (x *GetAuditLogByDateRangeRequest) GetMinTimestamp() *timestamppb.Timestamp

func (*GetAuditLogByDateRangeRequest) ProtoMessage added in v0.3.5

func (*GetAuditLogByDateRangeRequest) ProtoMessage()

func (*GetAuditLogByDateRangeRequest) ProtoReflect added in v0.3.5

func (*GetAuditLogByDateRangeRequest) Reset added in v0.3.5

func (x *GetAuditLogByDateRangeRequest) Reset()

func (*GetAuditLogByDateRangeRequest) String added in v0.3.5

func (*GetAuditLogByDateRangeRequest) Validate added in v0.3.5

func (m *GetAuditLogByDateRangeRequest) Validate() error

Validate checks the field values on GetAuditLogByDateRangeRequest 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 (*GetAuditLogByDateRangeRequest) ValidateAll added in v0.3.5

func (m *GetAuditLogByDateRangeRequest) ValidateAll() error

ValidateAll checks the field values on GetAuditLogByDateRangeRequest 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 GetAuditLogByDateRangeRequestMultiError, or nil if none found.

type GetAuditLogByDateRangeRequestMultiError added in v0.3.5

type GetAuditLogByDateRangeRequestMultiError []error

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

func (GetAuditLogByDateRangeRequestMultiError) AllErrors added in v0.3.5

AllErrors returns a list of validation violation errors.

func (GetAuditLogByDateRangeRequestMultiError) Error added in v0.3.5

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

type GetAuditLogByDateRangeRequestValidationError added in v0.3.5

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

GetAuditLogByDateRangeRequestValidationError is the validation error returned by GetAuditLogByDateRangeRequest.Validate if the designated constraints aren't met.

func (GetAuditLogByDateRangeRequestValidationError) Cause added in v0.3.5

Cause function returns cause value.

func (GetAuditLogByDateRangeRequestValidationError) Error added in v0.3.5

Error satisfies the builtin error interface

func (GetAuditLogByDateRangeRequestValidationError) ErrorName added in v0.3.5

ErrorName returns error name.

func (GetAuditLogByDateRangeRequestValidationError) Field added in v0.3.5

Field function returns field value.

func (GetAuditLogByDateRangeRequestValidationError) Key added in v0.3.5

Key function returns key value.

func (GetAuditLogByDateRangeRequestValidationError) Reason added in v0.3.5

Reason function returns reason value.

type GetCertificateRequest

type GetCertificateRequest struct {

	// Unique identifier of the aggregate referenced (UUID 128-bit number)
	AggregateId string `protobuf:"bytes,1,opt,name=aggregate_id,json=aggregateId,proto3" json:"aggregate_id,omitempty"`
	// Type of the aggregate referenced
	AggregateType string `protobuf:"bytes,2,opt,name=aggregate_type,json=aggregateType,proto3" json:"aggregate_type,omitempty"`
	// contains filtered or unexported fields
}

func (*GetCertificateRequest) Descriptor deprecated

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

Deprecated: Use GetCertificateRequest.ProtoReflect.Descriptor instead.

func (*GetCertificateRequest) GetAggregateId

func (x *GetCertificateRequest) GetAggregateId() string

func (*GetCertificateRequest) GetAggregateType

func (x *GetCertificateRequest) GetAggregateType() string

func (*GetCertificateRequest) ProtoMessage

func (*GetCertificateRequest) ProtoMessage()

func (*GetCertificateRequest) ProtoReflect

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

func (*GetCertificateRequest) Reset

func (x *GetCertificateRequest) Reset()

func (*GetCertificateRequest) String

func (x *GetCertificateRequest) String() string

func (*GetCertificateRequest) Validate added in v0.3.0

func (m *GetCertificateRequest) Validate() error

Validate checks the field values on GetCertificateRequest 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 (*GetCertificateRequest) ValidateAll added in v0.3.0

func (m *GetCertificateRequest) ValidateAll() error

ValidateAll checks the field values on GetCertificateRequest 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 GetCertificateRequestMultiError, or nil if none found.

type GetCertificateRequestMultiError added in v0.3.0

type GetCertificateRequestMultiError []error

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

func (GetCertificateRequestMultiError) AllErrors added in v0.3.0

func (m GetCertificateRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetCertificateRequestMultiError) Error added in v0.3.0

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

type GetCertificateRequestValidationError added in v0.3.0

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

GetCertificateRequestValidationError is the validation error returned by GetCertificateRequest.Validate if the designated constraints aren't met.

func (GetCertificateRequestValidationError) Cause added in v0.3.0

Cause function returns cause value.

func (GetCertificateRequestValidationError) Error added in v0.3.0

Error satisfies the builtin error interface

func (GetCertificateRequestValidationError) ErrorName added in v0.3.0

ErrorName returns error name.

func (GetCertificateRequestValidationError) Field added in v0.3.0

Field function returns field value.

func (GetCertificateRequestValidationError) Key added in v0.3.0

Key function returns key value.

func (GetCertificateRequestValidationError) Reason added in v0.3.0

Reason function returns reason value.

type GetClusterMappingRequest added in v0.3.0

type GetClusterMappingRequest struct {
	TenantId  string `protobuf:"bytes,1,opt,name=tenant_id,json=tenantId,proto3" json:"tenant_id,omitempty"`
	ClusterId string `protobuf:"bytes,2,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetClusterMappingRequest) Descriptor deprecated added in v0.3.0

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

Deprecated: Use GetClusterMappingRequest.ProtoReflect.Descriptor instead.

func (*GetClusterMappingRequest) GetClusterId added in v0.3.0

func (x *GetClusterMappingRequest) GetClusterId() string

func (*GetClusterMappingRequest) GetTenantId added in v0.3.0

func (x *GetClusterMappingRequest) GetTenantId() string

func (*GetClusterMappingRequest) ProtoMessage added in v0.3.0

func (*GetClusterMappingRequest) ProtoMessage()

func (*GetClusterMappingRequest) ProtoReflect added in v0.3.0

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

func (*GetClusterMappingRequest) Reset added in v0.3.0

func (x *GetClusterMappingRequest) Reset()

func (*GetClusterMappingRequest) String added in v0.3.0

func (x *GetClusterMappingRequest) String() string

func (*GetClusterMappingRequest) Validate added in v0.3.0

func (m *GetClusterMappingRequest) Validate() error

Validate checks the field values on GetClusterMappingRequest 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 (*GetClusterMappingRequest) ValidateAll added in v0.3.0

func (m *GetClusterMappingRequest) ValidateAll() error

ValidateAll checks the field values on GetClusterMappingRequest 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 GetClusterMappingRequestMultiError, or nil if none found.

type GetClusterMappingRequestMultiError added in v0.3.0

type GetClusterMappingRequestMultiError []error

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

func (GetClusterMappingRequestMultiError) AllErrors added in v0.3.0

func (m GetClusterMappingRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetClusterMappingRequestMultiError) Error added in v0.3.0

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

type GetClusterMappingRequestValidationError added in v0.3.0

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

GetClusterMappingRequestValidationError is the validation error returned by GetClusterMappingRequest.Validate if the designated constraints aren't met.

func (GetClusterMappingRequestValidationError) Cause added in v0.3.0

Cause function returns cause value.

func (GetClusterMappingRequestValidationError) Error added in v0.3.0

Error satisfies the builtin error interface

func (GetClusterMappingRequestValidationError) ErrorName added in v0.3.0

ErrorName returns error name.

func (GetClusterMappingRequestValidationError) Field added in v0.3.0

Field function returns field value.

func (GetClusterMappingRequestValidationError) Key added in v0.3.0

Key function returns key value.

func (GetClusterMappingRequestValidationError) Reason added in v0.3.0

Reason function returns reason value.

type GetCountRequest added in v0.3.0

type GetCountRequest struct {
	IncludeDeleted bool `protobuf:"varint,1,opt,name=include_deleted,json=includeDeleted,proto3" json:"include_deleted,omitempty"`
	// contains filtered or unexported fields
}

func (*GetCountRequest) Descriptor deprecated added in v0.3.0

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

Deprecated: Use GetCountRequest.ProtoReflect.Descriptor instead.

func (*GetCountRequest) GetIncludeDeleted added in v0.3.0

func (x *GetCountRequest) GetIncludeDeleted() bool

func (*GetCountRequest) ProtoMessage added in v0.3.0

func (*GetCountRequest) ProtoMessage()

func (*GetCountRequest) ProtoReflect added in v0.3.0

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

func (*GetCountRequest) Reset added in v0.3.0

func (x *GetCountRequest) Reset()

func (*GetCountRequest) String added in v0.3.0

func (x *GetCountRequest) String() string

func (*GetCountRequest) Validate added in v0.3.0

func (m *GetCountRequest) Validate() error

Validate checks the field values on GetCountRequest 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 (*GetCountRequest) ValidateAll added in v0.3.0

func (m *GetCountRequest) ValidateAll() error

ValidateAll checks the field values on GetCountRequest 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 GetCountRequestMultiError, or nil if none found.

type GetCountRequestMultiError added in v0.3.0

type GetCountRequestMultiError []error

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

func (GetCountRequestMultiError) AllErrors added in v0.3.0

func (m GetCountRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetCountRequestMultiError) Error added in v0.3.0

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

type GetCountRequestValidationError added in v0.3.0

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

GetCountRequestValidationError is the validation error returned by GetCountRequest.Validate if the designated constraints aren't met.

func (GetCountRequestValidationError) Cause added in v0.3.0

Cause function returns cause value.

func (GetCountRequestValidationError) Error added in v0.3.0

Error satisfies the builtin error interface

func (GetCountRequestValidationError) ErrorName added in v0.3.0

func (e GetCountRequestValidationError) ErrorName() string

ErrorName returns error name.

func (GetCountRequestValidationError) Field added in v0.3.0

Field function returns field value.

func (GetCountRequestValidationError) Key added in v0.3.0

Key function returns key value.

func (GetCountRequestValidationError) Reason added in v0.3.0

Reason function returns reason value.

type GetCountResult added in v0.3.0

type GetCountResult struct {
	Count int64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"`
	// contains filtered or unexported fields
}

func (*GetCountResult) Descriptor deprecated added in v0.3.0

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

Deprecated: Use GetCountResult.ProtoReflect.Descriptor instead.

func (*GetCountResult) GetCount added in v0.3.0

func (x *GetCountResult) GetCount() int64

func (*GetCountResult) ProtoMessage added in v0.3.0

func (*GetCountResult) ProtoMessage()

func (*GetCountResult) ProtoReflect added in v0.3.0

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

func (*GetCountResult) Reset added in v0.3.0

func (x *GetCountResult) Reset()

func (*GetCountResult) String added in v0.3.0

func (x *GetCountResult) String() string

func (*GetCountResult) Validate added in v0.3.0

func (m *GetCountResult) Validate() error

Validate checks the field values on GetCountResult 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 (*GetCountResult) ValidateAll added in v0.3.0

func (m *GetCountResult) ValidateAll() error

ValidateAll checks the field values on GetCountResult 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 GetCountResultMultiError, or nil if none found.

type GetCountResultMultiError added in v0.3.0

type GetCountResultMultiError []error

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

func (GetCountResultMultiError) AllErrors added in v0.3.0

func (m GetCountResultMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetCountResultMultiError) Error added in v0.3.0

func (m GetCountResultMultiError) Error() string

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

type GetCountResultValidationError added in v0.3.0

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

GetCountResultValidationError is the validation error returned by GetCountResult.Validate if the designated constraints aren't met.

func (GetCountResultValidationError) Cause added in v0.3.0

Cause function returns cause value.

func (GetCountResultValidationError) Error added in v0.3.0

Error satisfies the builtin error interface

func (GetCountResultValidationError) ErrorName added in v0.3.0

func (e GetCountResultValidationError) ErrorName() string

ErrorName returns error name.

func (GetCountResultValidationError) Field added in v0.3.0

Field function returns field value.

func (GetCountResultValidationError) Key added in v0.3.0

Key function returns key value.

func (GetCountResultValidationError) Reason added in v0.3.0

Reason function returns reason value.

type GetUserActionsRequest added in v0.3.6

type GetUserActionsRequest struct {
	Email     *wrapperspb.StringValue        `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"`
	DateRange *GetAuditLogByDateRangeRequest `protobuf:"bytes,2,opt,name=date_range,json=dateRange,proto3" json:"date_range,omitempty"`
	// contains filtered or unexported fields
}

func (*GetUserActionsRequest) Descriptor deprecated added in v0.3.6

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

Deprecated: Use GetUserActionsRequest.ProtoReflect.Descriptor instead.

func (*GetUserActionsRequest) GetDateRange added in v0.3.6

func (*GetUserActionsRequest) GetEmail added in v0.3.6

func (*GetUserActionsRequest) ProtoMessage added in v0.3.6

func (*GetUserActionsRequest) ProtoMessage()

func (*GetUserActionsRequest) ProtoReflect added in v0.3.6

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

func (*GetUserActionsRequest) Reset added in v0.3.6

func (x *GetUserActionsRequest) Reset()

func (*GetUserActionsRequest) String added in v0.3.6

func (x *GetUserActionsRequest) String() string

func (*GetUserActionsRequest) Validate added in v0.3.6

func (m *GetUserActionsRequest) Validate() error

Validate checks the field values on GetUserActionsRequest 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 (*GetUserActionsRequest) ValidateAll added in v0.3.6

func (m *GetUserActionsRequest) ValidateAll() error

ValidateAll checks the field values on GetUserActionsRequest 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 GetUserActionsRequestMultiError, or nil if none found.

type GetUserActionsRequestMultiError added in v0.3.6

type GetUserActionsRequestMultiError []error

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

func (GetUserActionsRequestMultiError) AllErrors added in v0.3.6

func (m GetUserActionsRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetUserActionsRequestMultiError) Error added in v0.3.6

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

type GetUserActionsRequestValidationError added in v0.3.6

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

GetUserActionsRequestValidationError is the validation error returned by GetUserActionsRequest.Validate if the designated constraints aren't met.

func (GetUserActionsRequestValidationError) Cause added in v0.3.6

Cause function returns cause value.

func (GetUserActionsRequestValidationError) Error added in v0.3.6

Error satisfies the builtin error interface

func (GetUserActionsRequestValidationError) ErrorName added in v0.3.6

ErrorName returns error name.

func (GetUserActionsRequestValidationError) Field added in v0.3.6

Field function returns field value.

func (GetUserActionsRequestValidationError) Key added in v0.3.6

Key function returns key value.

func (GetUserActionsRequestValidationError) Reason added in v0.3.6

Reason function returns reason value.

type GetUsersOverviewRequest added in v0.3.6

type GetUsersOverviewRequest struct {
	Timestamp *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	// contains filtered or unexported fields
}

func (*GetUsersOverviewRequest) Descriptor deprecated added in v0.3.6

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

Deprecated: Use GetUsersOverviewRequest.ProtoReflect.Descriptor instead.

func (*GetUsersOverviewRequest) GetTimestamp added in v0.3.6

func (x *GetUsersOverviewRequest) GetTimestamp() *timestamppb.Timestamp

func (*GetUsersOverviewRequest) ProtoMessage added in v0.3.6

func (*GetUsersOverviewRequest) ProtoMessage()

func (*GetUsersOverviewRequest) ProtoReflect added in v0.3.6

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

func (*GetUsersOverviewRequest) Reset added in v0.3.6

func (x *GetUsersOverviewRequest) Reset()

func (*GetUsersOverviewRequest) String added in v0.3.6

func (x *GetUsersOverviewRequest) String() string

func (*GetUsersOverviewRequest) Validate added in v0.3.6

func (m *GetUsersOverviewRequest) Validate() error

Validate checks the field values on GetUsersOverviewRequest 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 (*GetUsersOverviewRequest) ValidateAll added in v0.3.6

func (m *GetUsersOverviewRequest) ValidateAll() error

ValidateAll checks the field values on GetUsersOverviewRequest 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 GetUsersOverviewRequestMultiError, or nil if none found.

type GetUsersOverviewRequestMultiError added in v0.3.6

type GetUsersOverviewRequestMultiError []error

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

func (GetUsersOverviewRequestMultiError) AllErrors added in v0.3.6

func (m GetUsersOverviewRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetUsersOverviewRequestMultiError) Error added in v0.3.6

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

type GetUsersOverviewRequestValidationError added in v0.3.6

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

GetUsersOverviewRequestValidationError is the validation error returned by GetUsersOverviewRequest.Validate if the designated constraints aren't met.

func (GetUsersOverviewRequestValidationError) Cause added in v0.3.6

Cause function returns cause value.

func (GetUsersOverviewRequestValidationError) Error added in v0.3.6

Error satisfies the builtin error interface

func (GetUsersOverviewRequestValidationError) ErrorName added in v0.3.6

ErrorName returns error name.

func (GetUsersOverviewRequestValidationError) Field added in v0.3.6

Field function returns field value.

func (GetUsersOverviewRequestValidationError) Key added in v0.3.6

Key function returns key value.

func (GetUsersOverviewRequestValidationError) Reason added in v0.3.6

Reason function returns reason value.

type PermissionModel

type PermissionModel struct {
	Roles  []string `protobuf:"bytes,1,rep,name=roles,proto3" json:"roles,omitempty"`
	Scopes []string `protobuf:"bytes,2,rep,name=scopes,proto3" json:"scopes,omitempty"`
	// contains filtered or unexported fields
}

func (*PermissionModel) Descriptor deprecated

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

Deprecated: Use PermissionModel.ProtoReflect.Descriptor instead.

func (*PermissionModel) GetRoles

func (x *PermissionModel) GetRoles() []string

func (*PermissionModel) GetScopes

func (x *PermissionModel) GetScopes() []string

func (*PermissionModel) ProtoMessage

func (*PermissionModel) ProtoMessage()

func (*PermissionModel) ProtoReflect

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

func (*PermissionModel) Reset

func (x *PermissionModel) Reset()

func (*PermissionModel) String

func (x *PermissionModel) String() string

func (*PermissionModel) Validate added in v0.3.0

func (m *PermissionModel) Validate() error

Validate checks the field values on PermissionModel 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 (*PermissionModel) ValidateAll added in v0.3.0

func (m *PermissionModel) ValidateAll() error

ValidateAll checks the field values on PermissionModel 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 PermissionModelMultiError, or nil if none found.

type PermissionModelMultiError added in v0.3.0

type PermissionModelMultiError []error

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

func (PermissionModelMultiError) AllErrors added in v0.3.0

func (m PermissionModelMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PermissionModelMultiError) Error added in v0.3.0

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

type PermissionModelValidationError added in v0.3.0

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

PermissionModelValidationError is the validation error returned by PermissionModel.Validate if the designated constraints aren't met.

func (PermissionModelValidationError) Cause added in v0.3.0

Cause function returns cause value.

func (PermissionModelValidationError) Error added in v0.3.0

Error satisfies the builtin error interface

func (PermissionModelValidationError) ErrorName added in v0.3.0

func (e PermissionModelValidationError) ErrorName() string

ErrorName returns error name.

func (PermissionModelValidationError) Field added in v0.3.0

Field function returns field value.

func (PermissionModelValidationError) Key added in v0.3.0

Key function returns key value.

func (PermissionModelValidationError) Reason added in v0.3.0

Reason function returns reason value.

type Policy

type Policy struct {
	Command string `protobuf:"bytes,1,opt,name=command,proto3" json:"command,omitempty"`
	Role    string `protobuf:"bytes,2,opt,name=role,proto3" json:"role,omitempty"`
	Scope   string `protobuf:"bytes,3,opt,name=scope,proto3" json:"scope,omitempty"`
	// contains filtered or unexported fields
}

func (*Policy) Descriptor deprecated

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

Deprecated: Use Policy.ProtoReflect.Descriptor instead.

func (*Policy) GetCommand

func (x *Policy) GetCommand() string

func (*Policy) GetRole

func (x *Policy) GetRole() string

func (*Policy) GetScope

func (x *Policy) GetScope() string

func (*Policy) ProtoMessage

func (*Policy) ProtoMessage()

func (*Policy) ProtoReflect

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

func (*Policy) Reset

func (x *Policy) Reset()

func (*Policy) String

func (x *Policy) String() string

func (*Policy) Validate added in v0.3.0

func (m *Policy) Validate() error

Validate checks the field values on Policy 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 (*Policy) ValidateAll added in v0.3.0

func (m *Policy) ValidateAll() error

ValidateAll checks the field values on Policy 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 PolicyMultiError, or nil if none found.

type PolicyMultiError added in v0.3.0

type PolicyMultiError []error

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

func (PolicyMultiError) AllErrors added in v0.3.0

func (m PolicyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PolicyMultiError) Error added in v0.3.0

func (m PolicyMultiError) Error() string

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

type PolicyOverview

type PolicyOverview struct {
	Policies []*Policy `protobuf:"bytes,1,rep,name=policies,proto3" json:"policies,omitempty"`
	// contains filtered or unexported fields
}

func (*PolicyOverview) Descriptor deprecated

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

Deprecated: Use PolicyOverview.ProtoReflect.Descriptor instead.

func (*PolicyOverview) GetPolicies

func (x *PolicyOverview) GetPolicies() []*Policy

func (*PolicyOverview) ProtoMessage

func (*PolicyOverview) ProtoMessage()

func (*PolicyOverview) ProtoReflect

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

func (*PolicyOverview) Reset

func (x *PolicyOverview) Reset()

func (*PolicyOverview) String

func (x *PolicyOverview) String() string

func (*PolicyOverview) Validate added in v0.3.0

func (m *PolicyOverview) Validate() error

Validate checks the field values on PolicyOverview 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 (*PolicyOverview) ValidateAll added in v0.3.0

func (m *PolicyOverview) ValidateAll() error

ValidateAll checks the field values on PolicyOverview 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 PolicyOverviewMultiError, or nil if none found.

type PolicyOverviewMultiError added in v0.3.0

type PolicyOverviewMultiError []error

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

func (PolicyOverviewMultiError) AllErrors added in v0.3.0

func (m PolicyOverviewMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PolicyOverviewMultiError) Error added in v0.3.0

func (m PolicyOverviewMultiError) Error() string

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

type PolicyOverviewValidationError added in v0.3.0

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

PolicyOverviewValidationError is the validation error returned by PolicyOverview.Validate if the designated constraints aren't met.

func (PolicyOverviewValidationError) Cause added in v0.3.0

Cause function returns cause value.

func (PolicyOverviewValidationError) Error added in v0.3.0

Error satisfies the builtin error interface

func (PolicyOverviewValidationError) ErrorName added in v0.3.0

func (e PolicyOverviewValidationError) ErrorName() string

ErrorName returns error name.

func (PolicyOverviewValidationError) Field added in v0.3.0

Field function returns field value.

func (PolicyOverviewValidationError) Key added in v0.3.0

Key function returns key value.

func (PolicyOverviewValidationError) Reason added in v0.3.0

Reason function returns reason value.

type PolicyValidationError added in v0.3.0

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

PolicyValidationError is the validation error returned by Policy.Validate if the designated constraints aren't met.

func (PolicyValidationError) Cause added in v0.3.0

func (e PolicyValidationError) Cause() error

Cause function returns cause value.

func (PolicyValidationError) Error added in v0.3.0

func (e PolicyValidationError) Error() string

Error satisfies the builtin error interface

func (PolicyValidationError) ErrorName added in v0.3.0

func (e PolicyValidationError) ErrorName() string

ErrorName returns error name.

func (PolicyValidationError) Field added in v0.3.0

func (e PolicyValidationError) Field() string

Field function returns field value.

func (PolicyValidationError) Key added in v0.3.0

func (e PolicyValidationError) Key() bool

Key function returns key value.

func (PolicyValidationError) Reason added in v0.3.0

func (e PolicyValidationError) Reason() string

Reason function returns reason value.

type TenantClient

type TenantClient interface {
	// GetAll returns all tenants.
	GetAll(ctx context.Context, in *GetAllRequest, opts ...grpc.CallOption) (Tenant_GetAllClient, error)
	// GetById returns the tenant found by the given id.
	GetById(ctx context.Context, in *wrapperspb.StringValue, opts ...grpc.CallOption) (*projections.Tenant, error)
	// GetByName returns the tenant found by the given name
	GetByName(ctx context.Context, in *wrapperspb.StringValue, opts ...grpc.CallOption) (*projections.Tenant, error)
	// GetUsers returns users belonging to the given tenant id.
	GetUsers(ctx context.Context, in *wrapperspb.StringValue, opts ...grpc.CallOption) (Tenant_GetUsersClient, error)
}

TenantClient is the client API for Tenant service.

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

func NewTenantClient

func NewTenantClient(cc grpc.ClientConnInterface) TenantClient

type TenantServer

type TenantServer interface {
	// GetAll returns all tenants.
	GetAll(*GetAllRequest, Tenant_GetAllServer) error
	// GetById returns the tenant found by the given id.
	GetById(context.Context, *wrapperspb.StringValue) (*projections.Tenant, error)
	// GetByName returns the tenant found by the given name
	GetByName(context.Context, *wrapperspb.StringValue) (*projections.Tenant, error)
	// GetUsers returns users belonging to the given tenant id.
	GetUsers(*wrapperspb.StringValue, Tenant_GetUsersServer) error
	// contains filtered or unexported methods
}

TenantServer is the server API for Tenant service. All implementations must embed UnimplementedTenantServer for forward compatibility

type Tenant_GetAllClient

type Tenant_GetAllClient interface {
	Recv() (*projections.Tenant, error)
	grpc.ClientStream
}

type Tenant_GetAllServer

type Tenant_GetAllServer interface {
	Send(*projections.Tenant) error
	grpc.ServerStream
}

type Tenant_GetUsersClient

type Tenant_GetUsersClient interface {
	Recv() (*projections.TenantUser, error)
	grpc.ClientStream
}

type Tenant_GetUsersServer

type Tenant_GetUsersServer interface {
	Send(*projections.TenantUser) error
	grpc.ServerStream
}

type UnimplementedAuditLogServer added in v0.3.5

type UnimplementedAuditLogServer struct {
}

UnimplementedAuditLogServer must be embedded to have forward compatible implementations.

func (UnimplementedAuditLogServer) GetByDateRange added in v0.3.5

func (UnimplementedAuditLogServer) GetUserActions added in v0.3.6

func (UnimplementedAuditLogServer) GetUsersOverview added in v0.3.6

type UnimplementedCertificateServer

type UnimplementedCertificateServer struct {
}

UnimplementedCertificateServer must be embedded to have forward compatible implementations.

func (UnimplementedCertificateServer) GetCertificate

type UnimplementedClusterAccessServer added in v0.3.0

type UnimplementedClusterAccessServer struct {
}

UnimplementedClusterAccessServer must be embedded to have forward compatible implementations.

func (UnimplementedClusterAccessServer) GetClusterAccessByTenantId added in v0.3.0

func (UnimplementedClusterAccessServer) GetClusterAccessByUserId added in v0.3.0

func (UnimplementedClusterAccessServer) GetTenantClusterMappingByTenantAndClusterId added in v0.3.0

func (UnimplementedClusterAccessServer) GetTenantClusterMappingsByClusterId added in v0.3.0

func (UnimplementedClusterAccessServer) GetTenantClusterMappingsByTenantId added in v0.3.0

type UnimplementedClusterServer

type UnimplementedClusterServer struct {
}

UnimplementedClusterServer must be embedded to have forward compatible implementations.

func (UnimplementedClusterServer) GetAll

func (UnimplementedClusterServer) GetBootstrapToken

func (UnimplementedClusterServer) GetById

func (UnimplementedClusterServer) GetByName

type UnimplementedCommandHandlerExtensionsServer

type UnimplementedCommandHandlerExtensionsServer struct {
}

UnimplementedCommandHandlerExtensionsServer must be embedded to have forward compatible implementations.

func (UnimplementedCommandHandlerExtensionsServer) GetPermissionModel

type UnimplementedTenantServer

type UnimplementedTenantServer struct {
}

UnimplementedTenantServer must be embedded to have forward compatible implementations.

func (UnimplementedTenantServer) GetAll

func (UnimplementedTenantServer) GetById

func (UnimplementedTenantServer) GetByName

func (UnimplementedTenantServer) GetUsers

type UnimplementedUserServer

type UnimplementedUserServer struct {
}

UnimplementedUserServer must be embedded to have forward compatible implementations.

func (UnimplementedUserServer) GetAll

func (UnimplementedUserServer) GetByEmail

func (UnimplementedUserServer) GetById

func (UnimplementedUserServer) GetCount added in v0.3.0

func (UnimplementedUserServer) GetRoleBindingsById

type UnsafeAuditLogServer added in v0.3.5

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

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

type UnsafeCertificateServer

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

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

type UnsafeClusterAccessServer added in v0.3.0

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

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

type UnsafeClusterServer

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

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

type UnsafeCommandHandlerExtensionsServer

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

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

type UnsafeTenantServer

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

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

type UnsafeUserServer

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

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

type UserClient

type UserClient interface {
	// GetAll returns all users.
	GetAll(ctx context.Context, in *GetAllRequest, opts ...grpc.CallOption) (User_GetAllClient, error)
	// GetById returns the user found by the given id.
	GetById(ctx context.Context, in *wrapperspb.StringValue, opts ...grpc.CallOption) (*projections.User, error)
	// GetByEmail returns the user found by the given email address.
	GetByEmail(ctx context.Context, in *wrapperspb.StringValue, opts ...grpc.CallOption) (*projections.User, error)
	// GetRoleBindingsById returns all role bindings related to the given user id.
	GetRoleBindingsById(ctx context.Context, in *wrapperspb.StringValue, opts ...grpc.CallOption) (User_GetRoleBindingsByIdClient, error)
	// GetCount returns the count of users
	GetCount(ctx context.Context, in *GetCountRequest, opts ...grpc.CallOption) (*GetCountResult, error)
}

UserClient is the client API for User service.

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

func NewUserClient

func NewUserClient(cc grpc.ClientConnInterface) UserClient

type UserServer

type UserServer interface {
	// GetAll returns all users.
	GetAll(*GetAllRequest, User_GetAllServer) error
	// GetById returns the user found by the given id.
	GetById(context.Context, *wrapperspb.StringValue) (*projections.User, error)
	// GetByEmail returns the user found by the given email address.
	GetByEmail(context.Context, *wrapperspb.StringValue) (*projections.User, error)
	// GetRoleBindingsById returns all role bindings related to the given user id.
	GetRoleBindingsById(*wrapperspb.StringValue, User_GetRoleBindingsByIdServer) error
	// GetCount returns the count of users
	GetCount(context.Context, *GetCountRequest) (*GetCountResult, error)
	// contains filtered or unexported methods
}

UserServer is the server API for User service. All implementations must embed UnimplementedUserServer for forward compatibility

type User_GetAllClient

type User_GetAllClient interface {
	Recv() (*projections.User, error)
	grpc.ClientStream
}

type User_GetAllServer

type User_GetAllServer interface {
	Send(*projections.User) error
	grpc.ServerStream
}

type User_GetRoleBindingsByIdClient

type User_GetRoleBindingsByIdClient interface {
	Recv() (*projections.UserRoleBinding, error)
	grpc.ClientStream
}

type User_GetRoleBindingsByIdServer

type User_GetRoleBindingsByIdServer interface {
	Send(*projections.UserRoleBinding) error
	grpc.ServerStream
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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