Documentation ¶
Index ¶
- func GetDescriptorSet(data []byte) (*descriptor.FileDescriptorSet, error)
- func GetImpactedEnumFieldInsideMessage(oldMessageDesc, newMessageDesc *descriptor.DescriptorProto) []string
- func GetImpactedEnumFields(oldEnumDesc, newEnumDesc *descriptor.EnumDescriptorProto) []string
- func GetImpactedMessageFields(oldMessageDesc, newMessageDesc *descriptor.DescriptorProto) []string
- func IsEnumFieldChanged(field1, field2 *descriptor.EnumValueDescriptorProto) bool
- func IsEnumFieldDeprecated(field1, field2 *descriptor.EnumValueDescriptorProto) bool
- func IsMessageFieldChanged(field1, field2 *descriptor.FieldDescriptorProto) bool
- func IsMessageFieldDeprecated(field1, field2 *descriptor.FieldDescriptorProto) bool
- type ChangeRequest
- type NotificationEvent
- type Service
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetDescriptorSet ¶
func GetDescriptorSet(data []byte) (*descriptor.FileDescriptorSet, error)
func GetImpactedEnumFieldInsideMessage ¶
func GetImpactedEnumFieldInsideMessage(oldMessageDesc, newMessageDesc *descriptor.DescriptorProto) []string
func GetImpactedEnumFields ¶
func GetImpactedEnumFields(oldEnumDesc, newEnumDesc *descriptor.EnumDescriptorProto) []string
func GetImpactedMessageFields ¶
func GetImpactedMessageFields(oldMessageDesc, newMessageDesc *descriptor.DescriptorProto) []string
func IsEnumFieldChanged ¶
func IsEnumFieldChanged(field1, field2 *descriptor.EnumValueDescriptorProto) bool
func IsEnumFieldDeprecated ¶
func IsEnumFieldDeprecated(field1, field2 *descriptor.EnumValueDescriptorProto) bool
func IsMessageFieldChanged ¶
func IsMessageFieldChanged(field1, field2 *descriptor.FieldDescriptorProto) bool
func IsMessageFieldDeprecated ¶
func IsMessageFieldDeprecated(field1, field2 *descriptor.FieldDescriptorProto) bool
Types ¶
type ChangeRequest ¶
type NotificationEvent ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func NewService ¶
func (*Service) IdentifySchemaChange ¶
func (s *Service) IdentifySchemaChange(ctx context.Context, request *ChangeRequest) (*stencilv1beta1.SchemaChangedEvent, error)
Click to show internal directories.
Click to hide internal directories.