organization

package
v0.2.19 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2023 License: MIT Imports: 36 Imported by: 4

Documentation

Overview

Package organization is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
const (
	OrganizationManager_GetOrganization_FullMethodName           = "/prodvana.organization.OrganizationManager/GetOrganization"
	OrganizationManager_GetOrganizationMetrics_FullMethodName    = "/prodvana.organization.OrganizationManager/GetOrganizationMetrics"
	OrganizationManager_GetOrganizationInsights_FullMethodName   = "/prodvana.organization.OrganizationManager/GetOrganizationInsights"
	OrganizationManager_SnoozeOrganizationInsight_FullMethodName = "/prodvana.organization.OrganizationManager/SnoozeOrganizationInsight"
	OrganizationManager_GetOrganizationMetadata_FullMethodName   = "/prodvana.organization.OrganizationManager/GetOrganizationMetadata"
	OrganizationManager_SetOrganizationMetadata_FullMethodName   = "/prodvana.organization.OrganizationManager/SetOrganizationMetadata"
	OrganizationManager_GetUser_FullMethodName                   = "/prodvana.organization.OrganizationManager/GetUser"
)

Variables

View Source
var File_prodvana_organization_organization_manager_proto protoreflect.FileDescriptor
View Source
var File_prodvana_organization_user_metadata_proto protoreflect.FileDescriptor
View Source
var OrganizationManager_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "prodvana.organization.OrganizationManager",
	HandlerType: (*OrganizationManagerServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetOrganization",
			Handler:    _OrganizationManager_GetOrganization_Handler,
		},
		{
			MethodName: "GetOrganizationMetrics",
			Handler:    _OrganizationManager_GetOrganizationMetrics_Handler,
		},
		{
			MethodName: "GetOrganizationInsights",
			Handler:    _OrganizationManager_GetOrganizationInsights_Handler,
		},
		{
			MethodName: "SnoozeOrganizationInsight",
			Handler:    _OrganizationManager_SnoozeOrganizationInsight_Handler,
		},
		{
			MethodName: "GetOrganizationMetadata",
			Handler:    _OrganizationManager_GetOrganizationMetadata_Handler,
		},
		{
			MethodName: "SetOrganizationMetadata",
			Handler:    _OrganizationManager_SetOrganizationMetadata_Handler,
		},
		{
			MethodName: "GetUser",
			Handler:    _OrganizationManager_GetUser_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "prodvana/organization/organization_manager.proto",
}

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

Functions

func RegisterOrganizationManagerHandler

func RegisterOrganizationManagerHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterOrganizationManagerHandler registers the http handlers for service OrganizationManager to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterOrganizationManagerHandlerClient

func RegisterOrganizationManagerHandlerClient(ctx context.Context, mux *runtime.ServeMux, client OrganizationManagerClient) error

RegisterOrganizationManagerHandlerClient registers the http handlers for service OrganizationManager to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "OrganizationManagerClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "OrganizationManagerClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "OrganizationManagerClient" to call the correct interceptors.

func RegisterOrganizationManagerHandlerFromEndpoint

func RegisterOrganizationManagerHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterOrganizationManagerHandlerFromEndpoint is same as RegisterOrganizationManagerHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterOrganizationManagerHandlerServer

func RegisterOrganizationManagerHandlerServer(ctx context.Context, mux *runtime.ServeMux, server OrganizationManagerServer) error

RegisterOrganizationManagerHandlerServer registers the http handlers for service OrganizationManager to "mux". UnaryRPC :call OrganizationManagerServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterOrganizationManagerHandlerFromEndpoint instead.

func RegisterOrganizationManagerServer

func RegisterOrganizationManagerServer(s grpc.ServiceRegistrar, srv OrganizationManagerServer)

Types

type GetOrganizationInsightsReq

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

func (*GetOrganizationInsightsReq) Descriptor deprecated

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

Deprecated: Use GetOrganizationInsightsReq.ProtoReflect.Descriptor instead.

func (*GetOrganizationInsightsReq) ProtoMessage

func (*GetOrganizationInsightsReq) ProtoMessage()

func (*GetOrganizationInsightsReq) ProtoReflect

func (*GetOrganizationInsightsReq) Reset

func (x *GetOrganizationInsightsReq) Reset()

func (*GetOrganizationInsightsReq) String

func (x *GetOrganizationInsightsReq) String() string

func (*GetOrganizationInsightsReq) Validate

func (m *GetOrganizationInsightsReq) Validate() error

Validate checks the field values on GetOrganizationInsightsReq 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 (*GetOrganizationInsightsReq) ValidateAll

func (m *GetOrganizationInsightsReq) ValidateAll() error

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

type GetOrganizationInsightsReqMultiError

type GetOrganizationInsightsReqMultiError []error

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

func (GetOrganizationInsightsReqMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (GetOrganizationInsightsReqMultiError) Error

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

type GetOrganizationInsightsReqValidationError

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

GetOrganizationInsightsReqValidationError is the validation error returned by GetOrganizationInsightsReq.Validate if the designated constraints aren't met.

func (GetOrganizationInsightsReqValidationError) Cause

Cause function returns cause value.

func (GetOrganizationInsightsReqValidationError) Error

Error satisfies the builtin error interface

func (GetOrganizationInsightsReqValidationError) ErrorName

ErrorName returns error name.

func (GetOrganizationInsightsReqValidationError) Field

Field function returns field value.

func (GetOrganizationInsightsReqValidationError) Key

Key function returns key value.

func (GetOrganizationInsightsReqValidationError) Reason

Reason function returns reason value.

type GetOrganizationInsightsResp

type GetOrganizationInsightsResp struct {
	Insights []*insights.Insight `protobuf:"bytes,1,rep,name=insights,proto3" json:"insights,omitempty"`
	// contains filtered or unexported fields
}

func (*GetOrganizationInsightsResp) Descriptor deprecated

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

Deprecated: Use GetOrganizationInsightsResp.ProtoReflect.Descriptor instead.

func (*GetOrganizationInsightsResp) GetInsights

func (x *GetOrganizationInsightsResp) GetInsights() []*insights.Insight

func (*GetOrganizationInsightsResp) ProtoMessage

func (*GetOrganizationInsightsResp) ProtoMessage()

func (*GetOrganizationInsightsResp) ProtoReflect

func (*GetOrganizationInsightsResp) Reset

func (x *GetOrganizationInsightsResp) Reset()

func (*GetOrganizationInsightsResp) String

func (x *GetOrganizationInsightsResp) String() string

func (*GetOrganizationInsightsResp) Validate

func (m *GetOrganizationInsightsResp) Validate() error

Validate checks the field values on GetOrganizationInsightsResp 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 (*GetOrganizationInsightsResp) ValidateAll

func (m *GetOrganizationInsightsResp) ValidateAll() error

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

type GetOrganizationInsightsRespMultiError

type GetOrganizationInsightsRespMultiError []error

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

func (GetOrganizationInsightsRespMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (GetOrganizationInsightsRespMultiError) Error

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

type GetOrganizationInsightsRespValidationError

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

GetOrganizationInsightsRespValidationError is the validation error returned by GetOrganizationInsightsResp.Validate if the designated constraints aren't met.

func (GetOrganizationInsightsRespValidationError) Cause

Cause function returns cause value.

func (GetOrganizationInsightsRespValidationError) Error

Error satisfies the builtin error interface

func (GetOrganizationInsightsRespValidationError) ErrorName

ErrorName returns error name.

func (GetOrganizationInsightsRespValidationError) Field

Field function returns field value.

func (GetOrganizationInsightsRespValidationError) Key

Key function returns key value.

func (GetOrganizationInsightsRespValidationError) Reason

Reason function returns reason value.

type GetOrganizationMetadataReq

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

func (*GetOrganizationMetadataReq) Descriptor deprecated

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

Deprecated: Use GetOrganizationMetadataReq.ProtoReflect.Descriptor instead.

func (*GetOrganizationMetadataReq) ProtoMessage

func (*GetOrganizationMetadataReq) ProtoMessage()

func (*GetOrganizationMetadataReq) ProtoReflect

func (*GetOrganizationMetadataReq) Reset

func (x *GetOrganizationMetadataReq) Reset()

func (*GetOrganizationMetadataReq) String

func (x *GetOrganizationMetadataReq) String() string

func (*GetOrganizationMetadataReq) Validate

func (m *GetOrganizationMetadataReq) Validate() error

Validate checks the field values on GetOrganizationMetadataReq 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 (*GetOrganizationMetadataReq) ValidateAll

func (m *GetOrganizationMetadataReq) ValidateAll() error

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

type GetOrganizationMetadataReqMultiError

type GetOrganizationMetadataReqMultiError []error

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

func (GetOrganizationMetadataReqMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (GetOrganizationMetadataReqMultiError) Error

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

type GetOrganizationMetadataReqValidationError

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

GetOrganizationMetadataReqValidationError is the validation error returned by GetOrganizationMetadataReq.Validate if the designated constraints aren't met.

func (GetOrganizationMetadataReqValidationError) Cause

Cause function returns cause value.

func (GetOrganizationMetadataReqValidationError) Error

Error satisfies the builtin error interface

func (GetOrganizationMetadataReqValidationError) ErrorName

ErrorName returns error name.

func (GetOrganizationMetadataReqValidationError) Field

Field function returns field value.

func (GetOrganizationMetadataReqValidationError) Key

Key function returns key value.

func (GetOrganizationMetadataReqValidationError) Reason

Reason function returns reason value.

type GetOrganizationMetadataResp

type GetOrganizationMetadataResp struct {

	// metadata with no variables substitution, no modifications from parents
	Metadata *OrganizationUserMetadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// contains filtered or unexported fields
}

func (*GetOrganizationMetadataResp) Descriptor deprecated

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

Deprecated: Use GetOrganizationMetadataResp.ProtoReflect.Descriptor instead.

func (*GetOrganizationMetadataResp) GetMetadata

func (*GetOrganizationMetadataResp) ProtoMessage

func (*GetOrganizationMetadataResp) ProtoMessage()

func (*GetOrganizationMetadataResp) ProtoReflect

func (*GetOrganizationMetadataResp) Reset

func (x *GetOrganizationMetadataResp) Reset()

func (*GetOrganizationMetadataResp) String

func (x *GetOrganizationMetadataResp) String() string

func (*GetOrganizationMetadataResp) Validate

func (m *GetOrganizationMetadataResp) Validate() error

Validate checks the field values on GetOrganizationMetadataResp 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 (*GetOrganizationMetadataResp) ValidateAll

func (m *GetOrganizationMetadataResp) ValidateAll() error

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

type GetOrganizationMetadataRespMultiError

type GetOrganizationMetadataRespMultiError []error

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

func (GetOrganizationMetadataRespMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (GetOrganizationMetadataRespMultiError) Error

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

type GetOrganizationMetadataRespValidationError

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

GetOrganizationMetadataRespValidationError is the validation error returned by GetOrganizationMetadataResp.Validate if the designated constraints aren't met.

func (GetOrganizationMetadataRespValidationError) Cause

Cause function returns cause value.

func (GetOrganizationMetadataRespValidationError) Error

Error satisfies the builtin error interface

func (GetOrganizationMetadataRespValidationError) ErrorName

ErrorName returns error name.

func (GetOrganizationMetadataRespValidationError) Field

Field function returns field value.

func (GetOrganizationMetadataRespValidationError) Key

Key function returns key value.

func (GetOrganizationMetadataRespValidationError) Reason

Reason function returns reason value.

type GetOrganizationMetricsReq

type GetOrganizationMetricsReq struct {
	StartTimestamp *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=start_timestamp,json=startTimestamp,proto3" json:"start_timestamp,omitempty"`
	EndTimestamp   *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end_timestamp,json=endTimestamp,proto3" json:"end_timestamp,omitempty"`
	// contains filtered or unexported fields
}

func (*GetOrganizationMetricsReq) Descriptor deprecated

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

Deprecated: Use GetOrganizationMetricsReq.ProtoReflect.Descriptor instead.

func (*GetOrganizationMetricsReq) GetEndTimestamp

func (x *GetOrganizationMetricsReq) GetEndTimestamp() *timestamppb.Timestamp

func (*GetOrganizationMetricsReq) GetStartTimestamp

func (x *GetOrganizationMetricsReq) GetStartTimestamp() *timestamppb.Timestamp

func (*GetOrganizationMetricsReq) ProtoMessage

func (*GetOrganizationMetricsReq) ProtoMessage()

func (*GetOrganizationMetricsReq) ProtoReflect

func (*GetOrganizationMetricsReq) Reset

func (x *GetOrganizationMetricsReq) Reset()

func (*GetOrganizationMetricsReq) String

func (x *GetOrganizationMetricsReq) String() string

func (*GetOrganizationMetricsReq) Validate

func (m *GetOrganizationMetricsReq) Validate() error

Validate checks the field values on GetOrganizationMetricsReq 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 (*GetOrganizationMetricsReq) ValidateAll

func (m *GetOrganizationMetricsReq) ValidateAll() error

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

type GetOrganizationMetricsReqMultiError

type GetOrganizationMetricsReqMultiError []error

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

func (GetOrganizationMetricsReqMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (GetOrganizationMetricsReqMultiError) Error

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

type GetOrganizationMetricsReqValidationError

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

GetOrganizationMetricsReqValidationError is the validation error returned by GetOrganizationMetricsReq.Validate if the designated constraints aren't met.

func (GetOrganizationMetricsReqValidationError) Cause

Cause function returns cause value.

func (GetOrganizationMetricsReqValidationError) Error

Error satisfies the builtin error interface

func (GetOrganizationMetricsReqValidationError) ErrorName

ErrorName returns error name.

func (GetOrganizationMetricsReqValidationError) Field

Field function returns field value.

func (GetOrganizationMetricsReqValidationError) Key

Key function returns key value.

func (GetOrganizationMetricsReqValidationError) Reason

Reason function returns reason value.

type GetOrganizationMetricsResp

type GetOrganizationMetricsResp struct {
	DeploymentMetrics *metrics.DeploymentMetrics `protobuf:"bytes,1,opt,name=deployment_metrics,json=deploymentMetrics,proto3" json:"deployment_metrics,omitempty"`
	// contains filtered or unexported fields
}

func (*GetOrganizationMetricsResp) Descriptor deprecated

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

Deprecated: Use GetOrganizationMetricsResp.ProtoReflect.Descriptor instead.

func (*GetOrganizationMetricsResp) GetDeploymentMetrics

func (x *GetOrganizationMetricsResp) GetDeploymentMetrics() *metrics.DeploymentMetrics

func (*GetOrganizationMetricsResp) ProtoMessage

func (*GetOrganizationMetricsResp) ProtoMessage()

func (*GetOrganizationMetricsResp) ProtoReflect

func (*GetOrganizationMetricsResp) Reset

func (x *GetOrganizationMetricsResp) Reset()

func (*GetOrganizationMetricsResp) String

func (x *GetOrganizationMetricsResp) String() string

func (*GetOrganizationMetricsResp) Validate

func (m *GetOrganizationMetricsResp) Validate() error

Validate checks the field values on GetOrganizationMetricsResp 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 (*GetOrganizationMetricsResp) ValidateAll

func (m *GetOrganizationMetricsResp) ValidateAll() error

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

type GetOrganizationMetricsRespMultiError

type GetOrganizationMetricsRespMultiError []error

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

func (GetOrganizationMetricsRespMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (GetOrganizationMetricsRespMultiError) Error

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

type GetOrganizationMetricsRespValidationError

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

GetOrganizationMetricsRespValidationError is the validation error returned by GetOrganizationMetricsResp.Validate if the designated constraints aren't met.

func (GetOrganizationMetricsRespValidationError) Cause

Cause function returns cause value.

func (GetOrganizationMetricsRespValidationError) Error

Error satisfies the builtin error interface

func (GetOrganizationMetricsRespValidationError) ErrorName

ErrorName returns error name.

func (GetOrganizationMetricsRespValidationError) Field

Field function returns field value.

func (GetOrganizationMetricsRespValidationError) Key

Key function returns key value.

func (GetOrganizationMetricsRespValidationError) Reason

Reason function returns reason value.

type GetOrganizationReq

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

func (*GetOrganizationReq) Descriptor deprecated

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

Deprecated: Use GetOrganizationReq.ProtoReflect.Descriptor instead.

func (*GetOrganizationReq) ProtoMessage

func (*GetOrganizationReq) ProtoMessage()

func (*GetOrganizationReq) ProtoReflect

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

func (*GetOrganizationReq) Reset

func (x *GetOrganizationReq) Reset()

func (*GetOrganizationReq) String

func (x *GetOrganizationReq) String() string

func (*GetOrganizationReq) Validate

func (m *GetOrganizationReq) Validate() error

Validate checks the field values on GetOrganizationReq 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 (*GetOrganizationReq) ValidateAll

func (m *GetOrganizationReq) ValidateAll() error

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

type GetOrganizationReqMultiError

type GetOrganizationReqMultiError []error

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

func (GetOrganizationReqMultiError) AllErrors

func (m GetOrganizationReqMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetOrganizationReqMultiError) Error

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

type GetOrganizationReqValidationError

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

GetOrganizationReqValidationError is the validation error returned by GetOrganizationReq.Validate if the designated constraints aren't met.

func (GetOrganizationReqValidationError) Cause

Cause function returns cause value.

func (GetOrganizationReqValidationError) Error

Error satisfies the builtin error interface

func (GetOrganizationReqValidationError) ErrorName

ErrorName returns error name.

func (GetOrganizationReqValidationError) Field

Field function returns field value.

func (GetOrganizationReqValidationError) Key

Key function returns key value.

func (GetOrganizationReqValidationError) Reason

Reason function returns reason value.

type GetOrganizationResp

type GetOrganizationResp struct {
	Organization *OrganizationInfo `protobuf:"bytes,1,opt,name=organization,proto3" json:"organization,omitempty"`
	// contains filtered or unexported fields
}

func (*GetOrganizationResp) Descriptor deprecated

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

Deprecated: Use GetOrganizationResp.ProtoReflect.Descriptor instead.

func (*GetOrganizationResp) GetOrganization

func (x *GetOrganizationResp) GetOrganization() *OrganizationInfo

func (*GetOrganizationResp) ProtoMessage

func (*GetOrganizationResp) ProtoMessage()

func (*GetOrganizationResp) ProtoReflect

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

func (*GetOrganizationResp) Reset

func (x *GetOrganizationResp) Reset()

func (*GetOrganizationResp) String

func (x *GetOrganizationResp) String() string

func (*GetOrganizationResp) Validate

func (m *GetOrganizationResp) Validate() error

Validate checks the field values on GetOrganizationResp 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 (*GetOrganizationResp) ValidateAll

func (m *GetOrganizationResp) ValidateAll() error

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

type GetOrganizationRespMultiError

type GetOrganizationRespMultiError []error

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

func (GetOrganizationRespMultiError) AllErrors

func (m GetOrganizationRespMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetOrganizationRespMultiError) Error

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

type GetOrganizationRespValidationError

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

GetOrganizationRespValidationError is the validation error returned by GetOrganizationResp.Validate if the designated constraints aren't met.

func (GetOrganizationRespValidationError) Cause

Cause function returns cause value.

func (GetOrganizationRespValidationError) Error

Error satisfies the builtin error interface

func (GetOrganizationRespValidationError) ErrorName

ErrorName returns error name.

func (GetOrganizationRespValidationError) Field

Field function returns field value.

func (GetOrganizationRespValidationError) Key

Key function returns key value.

func (GetOrganizationRespValidationError) Reason

Reason function returns reason value.

type GetUserReq

type GetUserReq struct {
	UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetUserReq) Descriptor deprecated

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

Deprecated: Use GetUserReq.ProtoReflect.Descriptor instead.

func (*GetUserReq) GetUserId

func (x *GetUserReq) GetUserId() string

func (*GetUserReq) ProtoMessage

func (*GetUserReq) ProtoMessage()

func (*GetUserReq) ProtoReflect

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

func (*GetUserReq) Reset

func (x *GetUserReq) Reset()

func (*GetUserReq) String

func (x *GetUserReq) String() string

func (*GetUserReq) Validate

func (m *GetUserReq) Validate() error

Validate checks the field values on GetUserReq 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 (*GetUserReq) ValidateAll

func (m *GetUserReq) ValidateAll() error

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

type GetUserReqMultiError

type GetUserReqMultiError []error

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

func (GetUserReqMultiError) AllErrors

func (m GetUserReqMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetUserReqMultiError) Error

func (m GetUserReqMultiError) Error() string

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

type GetUserReqValidationError

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

GetUserReqValidationError is the validation error returned by GetUserReq.Validate if the designated constraints aren't met.

func (GetUserReqValidationError) Cause

func (e GetUserReqValidationError) Cause() error

Cause function returns cause value.

func (GetUserReqValidationError) Error

Error satisfies the builtin error interface

func (GetUserReqValidationError) ErrorName

func (e GetUserReqValidationError) ErrorName() string

ErrorName returns error name.

func (GetUserReqValidationError) Field

Field function returns field value.

func (GetUserReqValidationError) Key

Key function returns key value.

func (GetUserReqValidationError) Reason

func (e GetUserReqValidationError) Reason() string

Reason function returns reason value.

type GetUserResp

type GetUserResp struct {
	User *users.User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
	// contains filtered or unexported fields
}

func (*GetUserResp) Descriptor deprecated

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

Deprecated: Use GetUserResp.ProtoReflect.Descriptor instead.

func (*GetUserResp) GetUser

func (x *GetUserResp) GetUser() *users.User

func (*GetUserResp) ProtoMessage

func (*GetUserResp) ProtoMessage()

func (*GetUserResp) ProtoReflect

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

func (*GetUserResp) Reset

func (x *GetUserResp) Reset()

func (*GetUserResp) String

func (x *GetUserResp) String() string

func (*GetUserResp) Validate

func (m *GetUserResp) Validate() error

Validate checks the field values on GetUserResp 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 (*GetUserResp) ValidateAll

func (m *GetUserResp) ValidateAll() error

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

type GetUserRespMultiError

type GetUserRespMultiError []error

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

func (GetUserRespMultiError) AllErrors

func (m GetUserRespMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetUserRespMultiError) Error

func (m GetUserRespMultiError) Error() string

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

type GetUserRespValidationError

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

GetUserRespValidationError is the validation error returned by GetUserResp.Validate if the designated constraints aren't met.

func (GetUserRespValidationError) Cause

Cause function returns cause value.

func (GetUserRespValidationError) Error

Error satisfies the builtin error interface

func (GetUserRespValidationError) ErrorName

func (e GetUserRespValidationError) ErrorName() string

ErrorName returns error name.

func (GetUserRespValidationError) Field

Field function returns field value.

func (GetUserRespValidationError) Key

Key function returns key value.

func (GetUserRespValidationError) Reason

Reason function returns reason value.

type OrganizationInfo

type OrganizationInfo struct {
	Id              string                                `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	DisplayName     string                                `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	WritebackConfig *config_writeback.ConfigWritebackPath `protobuf:"bytes,3,opt,name=writeback_config,json=writebackConfig,proto3" json:"writeback_config,omitempty"`
	Slug            string                                `protobuf:"bytes,4,opt,name=slug,proto3" json:"slug,omitempty"`
	UserMetadata    *OrganizationUserMetadata             `protobuf:"bytes,5,opt,name=user_metadata,json=userMetadata,proto3" json:"user_metadata,omitempty"`
	// contains filtered or unexported fields
}

func (*OrganizationInfo) Descriptor deprecated

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

Deprecated: Use OrganizationInfo.ProtoReflect.Descriptor instead.

func (*OrganizationInfo) GetDisplayName

func (x *OrganizationInfo) GetDisplayName() string

func (*OrganizationInfo) GetId

func (x *OrganizationInfo) GetId() string

func (*OrganizationInfo) GetSlug

func (x *OrganizationInfo) GetSlug() string

func (*OrganizationInfo) GetUserMetadata

func (x *OrganizationInfo) GetUserMetadata() *OrganizationUserMetadata

func (*OrganizationInfo) GetWritebackConfig

func (x *OrganizationInfo) GetWritebackConfig() *config_writeback.ConfigWritebackPath

func (*OrganizationInfo) ProtoMessage

func (*OrganizationInfo) ProtoMessage()

func (*OrganizationInfo) ProtoReflect

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

func (*OrganizationInfo) Reset

func (x *OrganizationInfo) Reset()

func (*OrganizationInfo) String

func (x *OrganizationInfo) String() string

func (*OrganizationInfo) Validate

func (m *OrganizationInfo) Validate() error

Validate checks the field values on OrganizationInfo 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 (*OrganizationInfo) ValidateAll

func (m *OrganizationInfo) ValidateAll() error

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

type OrganizationInfoMultiError

type OrganizationInfoMultiError []error

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

func (OrganizationInfoMultiError) AllErrors

func (m OrganizationInfoMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (OrganizationInfoMultiError) Error

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

type OrganizationInfoValidationError

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

OrganizationInfoValidationError is the validation error returned by OrganizationInfo.Validate if the designated constraints aren't met.

func (OrganizationInfoValidationError) Cause

Cause function returns cause value.

func (OrganizationInfoValidationError) Error

Error satisfies the builtin error interface

func (OrganizationInfoValidationError) ErrorName

ErrorName returns error name.

func (OrganizationInfoValidationError) Field

Field function returns field value.

func (OrganizationInfoValidationError) Key

Key function returns key value.

func (OrganizationInfoValidationError) Reason

Reason function returns reason value.

type OrganizationManagerClient

type OrganizationManagerClient interface {
	GetOrganization(ctx context.Context, in *GetOrganizationReq, opts ...grpc.CallOption) (*GetOrganizationResp, error)
	GetOrganizationMetrics(ctx context.Context, in *GetOrganizationMetricsReq, opts ...grpc.CallOption) (*GetOrganizationMetricsResp, error)
	GetOrganizationInsights(ctx context.Context, in *GetOrganizationInsightsReq, opts ...grpc.CallOption) (*GetOrganizationInsightsResp, error)
	SnoozeOrganizationInsight(ctx context.Context, in *SnoozeOrganizationInsightReq, opts ...grpc.CallOption) (*SnoozeOrganizationInsightResp, error)
	// Get org metadata, useful for constructing edit workflows for metadata
	GetOrganizationMetadata(ctx context.Context, in *GetOrganizationMetadataReq, opts ...grpc.CallOption) (*GetOrganizationMetadataResp, error)
	SetOrganizationMetadata(ctx context.Context, in *SetOrganizationMetadataReq, opts ...grpc.CallOption) (*SetOrganizationMetadataResp, error)
	// Get a user in an organization, will return NOT_FOUND if the user is eitehr missing or not in an organization
	GetUser(ctx context.Context, in *GetUserReq, opts ...grpc.CallOption) (*GetUserResp, error)
}

OrganizationManagerClient is the client API for OrganizationManager 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 OrganizationManagerServer

type OrganizationManagerServer interface {
	GetOrganization(context.Context, *GetOrganizationReq) (*GetOrganizationResp, error)
	GetOrganizationMetrics(context.Context, *GetOrganizationMetricsReq) (*GetOrganizationMetricsResp, error)
	GetOrganizationInsights(context.Context, *GetOrganizationInsightsReq) (*GetOrganizationInsightsResp, error)
	SnoozeOrganizationInsight(context.Context, *SnoozeOrganizationInsightReq) (*SnoozeOrganizationInsightResp, error)
	// Get org metadata, useful for constructing edit workflows for metadata
	GetOrganizationMetadata(context.Context, *GetOrganizationMetadataReq) (*GetOrganizationMetadataResp, error)
	SetOrganizationMetadata(context.Context, *SetOrganizationMetadataReq) (*SetOrganizationMetadataResp, error)
	// Get a user in an organization, will return NOT_FOUND if the user is eitehr missing or not in an organization
	GetUser(context.Context, *GetUserReq) (*GetUserResp, error)
	// contains filtered or unexported methods
}

OrganizationManagerServer is the server API for OrganizationManager service. All implementations must embed UnimplementedOrganizationManagerServer for forward compatibility

type OrganizationUserMetadata

type OrganizationUserMetadata struct {

	// Links that every app should get automatically
	ApplicationLinks []*common_config.Link `protobuf:"bytes,1,rep,name=application_links,json=applicationLinks,proto3" json:"application_links,omitempty"`
	// Links that every service should get automatically
	ServiceLinks []*common_config.Link `protobuf:"bytes,2,rep,name=service_links,json=serviceLinks,proto3" json:"service_links,omitempty"`
	Links        []*common_config.Link `protobuf:"bytes,3,rep,name=links,proto3" json:"links,omitempty"`
	// contains filtered or unexported fields
}

func (*OrganizationUserMetadata) Descriptor deprecated

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

Deprecated: Use OrganizationUserMetadata.ProtoReflect.Descriptor instead.

func (x *OrganizationUserMetadata) GetApplicationLinks() []*common_config.Link
func (x *OrganizationUserMetadata) GetLinks() []*common_config.Link
func (x *OrganizationUserMetadata) GetServiceLinks() []*common_config.Link

func (*OrganizationUserMetadata) ProtoMessage

func (*OrganizationUserMetadata) ProtoMessage()

func (*OrganizationUserMetadata) ProtoReflect

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

func (*OrganizationUserMetadata) Reset

func (x *OrganizationUserMetadata) Reset()

func (*OrganizationUserMetadata) String

func (x *OrganizationUserMetadata) String() string

func (*OrganizationUserMetadata) Validate

func (m *OrganizationUserMetadata) Validate() error

Validate checks the field values on OrganizationUserMetadata 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 (*OrganizationUserMetadata) ValidateAll

func (m *OrganizationUserMetadata) ValidateAll() error

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

type OrganizationUserMetadataMultiError

type OrganizationUserMetadataMultiError []error

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

func (OrganizationUserMetadataMultiError) AllErrors

func (m OrganizationUserMetadataMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (OrganizationUserMetadataMultiError) Error

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

type OrganizationUserMetadataValidationError

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

OrganizationUserMetadataValidationError is the validation error returned by OrganizationUserMetadata.Validate if the designated constraints aren't met.

func (OrganizationUserMetadataValidationError) Cause

Cause function returns cause value.

func (OrganizationUserMetadataValidationError) Error

Error satisfies the builtin error interface

func (OrganizationUserMetadataValidationError) ErrorName

ErrorName returns error name.

func (OrganizationUserMetadataValidationError) Field

Field function returns field value.

func (OrganizationUserMetadataValidationError) Key

Key function returns key value.

func (OrganizationUserMetadataValidationError) Reason

Reason function returns reason value.

type SetOrganizationMetadataReq

type SetOrganizationMetadataReq struct {
	Metadata *OrganizationUserMetadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// contains filtered or unexported fields
}

func (*SetOrganizationMetadataReq) Descriptor deprecated

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

Deprecated: Use SetOrganizationMetadataReq.ProtoReflect.Descriptor instead.

func (*SetOrganizationMetadataReq) GetMetadata

func (*SetOrganizationMetadataReq) ProtoMessage

func (*SetOrganizationMetadataReq) ProtoMessage()

func (*SetOrganizationMetadataReq) ProtoReflect

func (*SetOrganizationMetadataReq) Reset

func (x *SetOrganizationMetadataReq) Reset()

func (*SetOrganizationMetadataReq) String

func (x *SetOrganizationMetadataReq) String() string

func (*SetOrganizationMetadataReq) Validate

func (m *SetOrganizationMetadataReq) Validate() error

Validate checks the field values on SetOrganizationMetadataReq 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 (*SetOrganizationMetadataReq) ValidateAll

func (m *SetOrganizationMetadataReq) ValidateAll() error

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

type SetOrganizationMetadataReqMultiError

type SetOrganizationMetadataReqMultiError []error

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

func (SetOrganizationMetadataReqMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (SetOrganizationMetadataReqMultiError) Error

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

type SetOrganizationMetadataReqValidationError

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

SetOrganizationMetadataReqValidationError is the validation error returned by SetOrganizationMetadataReq.Validate if the designated constraints aren't met.

func (SetOrganizationMetadataReqValidationError) Cause

Cause function returns cause value.

func (SetOrganizationMetadataReqValidationError) Error

Error satisfies the builtin error interface

func (SetOrganizationMetadataReqValidationError) ErrorName

ErrorName returns error name.

func (SetOrganizationMetadataReqValidationError) Field

Field function returns field value.

func (SetOrganizationMetadataReqValidationError) Key

Key function returns key value.

func (SetOrganizationMetadataReqValidationError) Reason

Reason function returns reason value.

type SetOrganizationMetadataResp

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

func (*SetOrganizationMetadataResp) Descriptor deprecated

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

Deprecated: Use SetOrganizationMetadataResp.ProtoReflect.Descriptor instead.

func (*SetOrganizationMetadataResp) ProtoMessage

func (*SetOrganizationMetadataResp) ProtoMessage()

func (*SetOrganizationMetadataResp) ProtoReflect

func (*SetOrganizationMetadataResp) Reset

func (x *SetOrganizationMetadataResp) Reset()

func (*SetOrganizationMetadataResp) String

func (x *SetOrganizationMetadataResp) String() string

func (*SetOrganizationMetadataResp) Validate

func (m *SetOrganizationMetadataResp) Validate() error

Validate checks the field values on SetOrganizationMetadataResp 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 (*SetOrganizationMetadataResp) ValidateAll

func (m *SetOrganizationMetadataResp) ValidateAll() error

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

type SetOrganizationMetadataRespMultiError

type SetOrganizationMetadataRespMultiError []error

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

func (SetOrganizationMetadataRespMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (SetOrganizationMetadataRespMultiError) Error

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

type SetOrganizationMetadataRespValidationError

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

SetOrganizationMetadataRespValidationError is the validation error returned by SetOrganizationMetadataResp.Validate if the designated constraints aren't met.

func (SetOrganizationMetadataRespValidationError) Cause

Cause function returns cause value.

func (SetOrganizationMetadataRespValidationError) Error

Error satisfies the builtin error interface

func (SetOrganizationMetadataRespValidationError) ErrorName

ErrorName returns error name.

func (SetOrganizationMetadataRespValidationError) Field

Field function returns field value.

func (SetOrganizationMetadataRespValidationError) Key

Key function returns key value.

func (SetOrganizationMetadataRespValidationError) Reason

Reason function returns reason value.

type SnoozeOrganizationInsightReq

type SnoozeOrganizationInsightReq struct {
	Class    insights.Class       `protobuf:"varint,1,opt,name=class,proto3,enum=prodvana.insights.Class" json:"class,omitempty"`
	Duration *durationpb.Duration `protobuf:"bytes,2,opt,name=duration,proto3" json:"duration,omitempty"`
	// contains filtered or unexported fields
}

func (*SnoozeOrganizationInsightReq) Descriptor deprecated

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

Deprecated: Use SnoozeOrganizationInsightReq.ProtoReflect.Descriptor instead.

func (*SnoozeOrganizationInsightReq) GetClass

func (*SnoozeOrganizationInsightReq) GetDuration

func (*SnoozeOrganizationInsightReq) ProtoMessage

func (*SnoozeOrganizationInsightReq) ProtoMessage()

func (*SnoozeOrganizationInsightReq) ProtoReflect

func (*SnoozeOrganizationInsightReq) Reset

func (x *SnoozeOrganizationInsightReq) Reset()

func (*SnoozeOrganizationInsightReq) String

func (*SnoozeOrganizationInsightReq) Validate

func (m *SnoozeOrganizationInsightReq) Validate() error

Validate checks the field values on SnoozeOrganizationInsightReq 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 (*SnoozeOrganizationInsightReq) ValidateAll

func (m *SnoozeOrganizationInsightReq) ValidateAll() error

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

type SnoozeOrganizationInsightReqMultiError

type SnoozeOrganizationInsightReqMultiError []error

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

func (SnoozeOrganizationInsightReqMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (SnoozeOrganizationInsightReqMultiError) Error

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

type SnoozeOrganizationInsightReqValidationError

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

SnoozeOrganizationInsightReqValidationError is the validation error returned by SnoozeOrganizationInsightReq.Validate if the designated constraints aren't met.

func (SnoozeOrganizationInsightReqValidationError) Cause

Cause function returns cause value.

func (SnoozeOrganizationInsightReqValidationError) Error

Error satisfies the builtin error interface

func (SnoozeOrganizationInsightReqValidationError) ErrorName

ErrorName returns error name.

func (SnoozeOrganizationInsightReqValidationError) Field

Field function returns field value.

func (SnoozeOrganizationInsightReqValidationError) Key

Key function returns key value.

func (SnoozeOrganizationInsightReqValidationError) Reason

Reason function returns reason value.

type SnoozeOrganizationInsightResp

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

func (*SnoozeOrganizationInsightResp) Descriptor deprecated

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

Deprecated: Use SnoozeOrganizationInsightResp.ProtoReflect.Descriptor instead.

func (*SnoozeOrganizationInsightResp) ProtoMessage

func (*SnoozeOrganizationInsightResp) ProtoMessage()

func (*SnoozeOrganizationInsightResp) ProtoReflect

func (*SnoozeOrganizationInsightResp) Reset

func (x *SnoozeOrganizationInsightResp) Reset()

func (*SnoozeOrganizationInsightResp) String

func (*SnoozeOrganizationInsightResp) Validate

func (m *SnoozeOrganizationInsightResp) Validate() error

Validate checks the field values on SnoozeOrganizationInsightResp 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 (*SnoozeOrganizationInsightResp) ValidateAll

func (m *SnoozeOrganizationInsightResp) ValidateAll() error

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

type SnoozeOrganizationInsightRespMultiError

type SnoozeOrganizationInsightRespMultiError []error

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

func (SnoozeOrganizationInsightRespMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (SnoozeOrganizationInsightRespMultiError) Error

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

type SnoozeOrganizationInsightRespValidationError

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

SnoozeOrganizationInsightRespValidationError is the validation error returned by SnoozeOrganizationInsightResp.Validate if the designated constraints aren't met.

func (SnoozeOrganizationInsightRespValidationError) Cause

Cause function returns cause value.

func (SnoozeOrganizationInsightRespValidationError) Error

Error satisfies the builtin error interface

func (SnoozeOrganizationInsightRespValidationError) ErrorName

ErrorName returns error name.

func (SnoozeOrganizationInsightRespValidationError) Field

Field function returns field value.

func (SnoozeOrganizationInsightRespValidationError) Key

Key function returns key value.

func (SnoozeOrganizationInsightRespValidationError) Reason

Reason function returns reason value.

type UnimplementedOrganizationManagerServer

type UnimplementedOrganizationManagerServer struct {
}

UnimplementedOrganizationManagerServer must be embedded to have forward compatible implementations.

func (UnimplementedOrganizationManagerServer) GetOrganization

func (UnimplementedOrganizationManagerServer) GetOrganizationInsights

func (UnimplementedOrganizationManagerServer) GetOrganizationMetadata

func (UnimplementedOrganizationManagerServer) GetOrganizationMetrics

func (UnimplementedOrganizationManagerServer) GetUser

func (UnimplementedOrganizationManagerServer) SetOrganizationMetadata

func (UnimplementedOrganizationManagerServer) SnoozeOrganizationInsight

type UnsafeOrganizationManagerServer

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

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

Jump to

Keyboard shortcuts

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