{"modulePath":"github.com/operator-framework/operator-registry","version":"v1.74.0","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package api\n\n## Constants\n\n```go\nconst (\n\tRegistry_ListPackages_FullMethodName                       = \"/api.Registry/ListPackages\"\n\tRegistry_GetPackage_FullMethodName                         = \"/api.Registry/GetPackage\"\n\tRegistry_GetBundle_FullMethodName                          = \"/api.Registry/GetBundle\"\n\tRegistry_GetBundleForChannel_FullMethodName                = \"/api.Registry/GetBundleForChannel\"\n\tRegistry_GetChannelEntriesThatReplace_FullMethodName       = \"/api.Registry/GetChannelEntriesThatReplace\"\n\tRegistry_GetBundleThatReplaces_FullMethodName              = \"/api.Registry/GetBundleThatReplaces\"\n\tRegistry_GetChannelEntriesThatProvide_FullMethodName       = \"/api.Registry/GetChannelEntriesThatProvide\"\n\tRegistry_GetLatestChannelEntriesThatProvide_FullMethodName = \"/api.Registry/GetLatestChannelEntriesThatProvide\"\n\tRegistry_GetDefaultBundleThatProvides_FullMethodName       = \"/api.Registry/GetDefaultBundleThatProvides\"\n\tRegistry_ListBundles_FullMethodName                        = \"/api.Registry/ListBundles\"\n)\n```\n\n```go\nconst (\n\tExperimentalRegistry_ExperimentalListPackageCustomSchemas_FullMethodName = \"/api.ExperimentalRegistry/ExperimentalListPackageCustomSchemas\"\n)\n```\n\n## Variables\n\n```go\nvar ExperimentalRegistry_ServiceDesc = grpc.ServiceDesc{\n\tServiceName: \"api.ExperimentalRegistry\",\n\tHandlerType: (*ExperimentalRegistryServer)(nil),\n\tMethods:     []grpc.MethodDesc{},\n\tStreams: []grpc.StreamDesc{\n\t\t{\n\t\t\tStreamName:    \"ExperimentalListPackageCustomSchemas\",\n\t\t\tHandler:       _ExperimentalRegistry_ExperimentalListPackageCustomSchemas_Handler,\n\t\t\tServerStreams: true,\n\t\t},\n\t},\n\tMetadata: \"registry.proto\",\n}\n```\nExperimentalRegistry\\_ServiceDesc is the grpc.ServiceDesc for ExperimentalRegistry service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)\n\n```go\nvar File_registry_proto protoreflect.FileDescriptor\n```\n\n```go\nvar Registry_ServiceDesc = grpc.ServiceDesc{\n\tServiceName: \"api.Registry\",\n\tHandlerType: (*RegistryServer)(nil),\n\tMethods: []grpc.MethodDesc{\n\t\t{\n\t\t\tMethodName: \"GetPackage\",\n\t\t\tHandler:    _Registry_GetPackage_Handler,\n\t\t},\n\t\t{\n\t\t\tMethodName: \"GetBundle\",\n\t\t\tHandler:    _Registry_GetBundle_Handler,\n\t\t},\n\t\t{\n\t\t\tMethodName: \"GetBundleForChannel\",\n\t\t\tHandler:    _Registry_GetBundleForChannel_Handler,\n\t\t},\n\t\t{\n\t\t\tMethodName: \"GetBundleThatReplaces\",\n\t\t\tHandler:    _Registry_GetBundleThatReplaces_Handler,\n\t\t},\n\t\t{\n\t\t\tMethodName: \"GetDefaultBundleThatProvides\",\n\t\t\tHandler:    _Registry_GetDefaultBundleThatProvides_Handler,\n\t\t},\n\t},\n\tStreams: []grpc.StreamDesc{\n\t\t{\n\t\t\tStreamName:    \"ListPackages\",\n\t\t\tHandler:       _Registry_ListPackages_Handler,\n\t\t\tServerStreams: true,\n\t\t},\n\t\t{\n\t\t\tStreamName:    \"GetChannelEntriesThatReplace\",\n\t\t\tHandler:       _Registry_GetChannelEntriesThatReplace_Handler,\n\t\t\tServerStreams: true,\n\t\t},\n\t\t{\n\t\t\tStreamName:    \"GetChannelEntriesThatProvide\",\n\t\t\tHandler:       _Registry_GetChannelEntriesThatProvide_Handler,\n\t\t\tServerStreams: true,\n\t\t},\n\t\t{\n\t\t\tStreamName:    \"GetLatestChannelEntriesThatProvide\",\n\t\t\tHandler:       _Registry_GetLatestChannelEntriesThatProvide_Handler,\n\t\t\tServerStreams: true,\n\t\t},\n\t\t{\n\t\t\tStreamName:    \"ListBundles\",\n\t\t\tHandler:       _Registry_ListBundles_Handler,\n\t\t\tServerStreams: true,\n\t\t},\n\t},\n\tMetadata: \"registry.proto\",\n}\n```\nRegistry\\_ServiceDesc is the grpc.ServiceDesc for Registry service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)\n\n## Functions\n\n```go\nfunc ConvertAPIBundleToModelBundle(b *Bundle) (*model.Bundle, error)\n```\n\n```go\nfunc RegisterExperimentalRegistryServer(s grpc.ServiceRegistrar, srv ExperimentalRegistryServer)\n```\n\n```go\nfunc RegisterRegistryServer(s grpc.ServiceRegistrar, srv RegistryServer)\n```\n\n## Types\n\n```go\ntype Bundle struct {\n\tCsvName      string              `protobuf:\"bytes,1,opt,name=csvName,proto3\" json:\"csvName,omitempty\"`\n\tPackageName  string              `protobuf:\"bytes,2,opt,name=packageName,proto3\" json:\"packageName,omitempty\"`\n\tChannelName  string              `protobuf:\"bytes,3,opt,name=channelName,proto3\" json:\"channelName,omitempty\"`\n\tCsvJson      string              `protobuf:\"bytes,4,opt,name=csvJson,proto3\" json:\"csvJson,omitempty\"`\n\tObject       []string            `protobuf:\"bytes,5,rep,name=object,proto3\" json:\"object,omitempty\"`\n\tBundlePath   string              `protobuf:\"bytes,6,opt,name=bundlePath,proto3\" json:\"bundlePath,omitempty\"`\n\tProvidedApis []*GroupVersionKind `protobuf:\"bytes,7,rep,name=providedApis,proto3\" json:\"providedApis,omitempty\"`\n\tRequiredApis []*GroupVersionKind `protobuf:\"bytes,8,rep,name=requiredApis,proto3\" json:\"requiredApis,omitempty\"`\n\tVersion      string              `protobuf:\"bytes,9,opt,name=version,proto3\" json:\"version,omitempty\"`\n\tSkipRange    string              `protobuf:\"bytes,10,opt,name=skipRange,proto3\" json:\"skipRange,omitempty\"`\n\tDependencies []*Dependency       `protobuf:\"bytes,11,rep,name=dependencies,proto3\" json:\"dependencies,omitempty\"`\n\tProperties   []*Property         `protobuf:\"bytes,12,rep,name=properties,proto3\" json:\"properties,omitempty\"`\n\tReplaces     string              `protobuf:\"bytes,13,opt,name=replaces,proto3\" json:\"replaces,omitempty\"`\n\tSkips        []string            `protobuf:\"bytes,14,rep,name=skips,proto3\" json:\"skips,omitempty\"`\n\tDeprecation  *Deprecation        `protobuf:\"bytes,15,opt,name=deprecation,proto3\" json:\"deprecation,omitempty\"`\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc ConvertModelBundleToAPIBundle(b model.Bundle) (*Bundle, error)\n```\n\n```go\nfunc (*Bundle) Descriptor() ([]byte, []int)\n```\nDeprecated: Use Bundle.ProtoReflect.Descriptor instead.\n\n```go\nfunc (x *Bundle) GetBundlePath() string\n```\n\n```go\nfunc (x *Bundle) GetChannelName() string\n```\n\n```go\nfunc (x *Bundle) GetCsvJson() string\n```\n\n```go\nfunc (x *Bundle) GetCsvName() string\n```\n\n```go\nfunc (x *Bundle) GetDependencies() []*Dependency\n```\n\n```go\nfunc (x *Bundle) GetDeprecation() *Deprecation\n```\n\n```go\nfunc (x *Bundle) GetObject() []string\n```\n\n```go\nfunc (x *Bundle) GetPackageName() string\n```\n\n```go\nfunc (x *Bundle) GetProperties() []*Property\n```\n\n```go\nfunc (x *Bundle) GetProvidedApis() []*GroupVersionKind\n```\n\n```go\nfunc (x *Bundle) GetReplaces() string\n```\n\n```go\nfunc (x *Bundle) GetRequiredApis() []*GroupVersionKind\n```\n\n```go\nfunc (x *Bundle) GetSkipRange() string\n```\n\n```go\nfunc (x *Bundle) GetSkips() []string\n```\n\n```go\nfunc (x *Bundle) GetVersion() string\n```\n\n```go\nfunc (*Bundle) ProtoMessage()\n```\n\n```go\nfunc (x *Bundle) ProtoReflect() protoreflect.Message\n```\n\n```go\nfunc (x *Bundle) Reset()\n```\n\n```go\nfunc (x *Bundle) String() string\n```\n\n```go\ntype Channel struct {\n\tName        string       `protobuf:\"bytes,1,opt,name=name,proto3\" json:\"name,omitempty\"`\n\tCsvName     string       `protobuf:\"bytes,2,opt,name=csvName,proto3\" json:\"csvName,omitempty\"`\n\tDeprecation *Deprecation `protobuf:\"bytes,3,opt,name=deprecation,proto3\" json:\"deprecation,omitempty\"`\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc (*Channel) Descriptor() ([]byte, []int)\n```\nDeprecated: Use Channel.ProtoReflect.Descriptor instead.\n\n```go\nfunc (x *Channel) GetCsvName() string\n```\n\n```go\nfunc (x *Channel) GetDeprecation() *Deprecation\n```\n\n```go\nfunc (x *Channel) GetName() string\n```\n\n```go\nfunc (*Channel) ProtoMessage()\n```\n\n```go\nfunc (x *Channel) ProtoReflect() protoreflect.Message\n```\n\n```go\nfunc (x *Channel) Reset()\n```\n\n```go\nfunc (x *Channel) String() string\n```\n\n```go\ntype ChannelEntry struct {\n\tPackageName string `protobuf:\"bytes,1,opt,name=packageName,proto3\" json:\"packageName,omitempty\"`\n\tChannelName string `protobuf:\"bytes,2,opt,name=channelName,proto3\" json:\"channelName,omitempty\"`\n\tBundleName  string `protobuf:\"bytes,3,opt,name=bundleName,proto3\" json:\"bundleName,omitempty\"`\n\tReplaces    string `protobuf:\"bytes,4,opt,name=replaces,proto3\" json:\"replaces,omitempty\"`\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc (*ChannelEntry) Descriptor() ([]byte, []int)\n```\nDeprecated: Use ChannelEntry.ProtoReflect.Descriptor instead.\n\n```go\nfunc (x *ChannelEntry) GetBundleName() string\n```\n\n```go\nfunc (x *ChannelEntry) GetChannelName() string\n```\n\n```go\nfunc (x *ChannelEntry) GetPackageName() string\n```\n\n```go\nfunc (x *ChannelEntry) GetReplaces() string\n```\n\n```go\nfunc (*ChannelEntry) ProtoMessage()\n```\n\n```go\nfunc (x *ChannelEntry) ProtoReflect() protoreflect.Message\n```\n\n```go\nfunc (x *ChannelEntry) Reset()\n```\n\n```go\nfunc (x *ChannelEntry) String() string\n```\n\n```go\ntype Dependency struct {\n\tType  string `protobuf:\"bytes,1,opt,name=type,proto3\" json:\"type,omitempty\"`\n\tValue string `protobuf:\"bytes,2,opt,name=value,proto3\" json:\"value,omitempty\"`\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc (*Dependency) Descriptor() ([]byte, []int)\n```\nDeprecated: Use Dependency.ProtoReflect.Descriptor instead.\n\n```go\nfunc (x *Dependency) GetType() string\n```\n\n```go\nfunc (x *Dependency) GetValue() string\n```\n\n```go\nfunc (*Dependency) ProtoMessage()\n```\n\n```go\nfunc (x *Dependency) ProtoReflect() protoreflect.Message\n```\n\n```go\nfunc (x *Dependency) Reset()\n```\n\n```go\nfunc (x *Dependency) String() string\n```\n\n```go\ntype Deprecation struct {\n\tMessage string `protobuf:\"bytes,1,opt,name=message,proto3\" json:\"message,omitempty\"`\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc (*Deprecation) Descriptor() ([]byte, []int)\n```\nDeprecated: Use Deprecation.ProtoReflect.Descriptor instead.\n\n```go\nfunc (x *Deprecation) GetMessage() string\n```\n\n```go\nfunc (*Deprecation) ProtoMessage()\n```\n\n```go\nfunc (x *Deprecation) ProtoReflect() protoreflect.Message\n```\n\n```go\nfunc (x *Deprecation) Reset()\n```\n\n```go\nfunc (x *Deprecation) String() string\n```\n\n```go\ntype ExperimentalListPackageCustomSchemasRequest struct {\n\tSchema      string `protobuf:\"bytes,1,opt,name=schema,proto3\" json:\"schema,omitempty\"`\n\tPackageName string `protobuf:\"bytes,2,opt,name=packageName,proto3\" json:\"packageName,omitempty\"`\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc (*ExperimentalListPackageCustomSchemasRequest) Descriptor() ([]byte, []int)\n```\nDeprecated: Use ExperimentalListPackageCustomSchemasRequest.ProtoReflect.Descriptor instead.\n\n```go\nfunc (x *ExperimentalListPackageCustomSchemasRequest) GetPackageName() string\n```\n\n```go\nfunc (x *ExperimentalListPackageCustomSchemasRequest) GetSchema() string\n```\n\n```go\nfunc (*ExperimentalListPackageCustomSchemasRequest) ProtoMessage()\n```\n\n```go\nfunc (x *ExperimentalListPackageCustomSchemasRequest) ProtoReflect() protoreflect.Message\n```\n\n```go\nfunc (x *ExperimentalListPackageCustomSchemasRequest) Reset()\n```\n\n```go\nfunc (x *ExperimentalListPackageCustomSchemasRequest) String() string\n```\n\n```go\ntype ExperimentalRegistryClient interface {\n\tExperimentalListPackageCustomSchemas(ctx context.Context, in *ExperimentalListPackageCustomSchemasRequest, opts ...grpc.CallOption) (ExperimentalRegistry_ExperimentalListPackageCustomSchemasClient, error)\n}\n```\nExperimentalRegistryClient is the client API for ExperimentalRegistry service.\n\nFor semantics around ctx use and closing/ending streaming RPCs, please refer to [https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream](https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream).\n\n```go\nfunc NewExperimentalRegistryClient(cc grpc.ClientConnInterface) ExperimentalRegistryClient\n```\n\n```go\ntype ExperimentalRegistryServer interface {\n\tExperimentalListPackageCustomSchemas(*ExperimentalListPackageCustomSchemasRequest, ExperimentalRegistry_ExperimentalListPackageCustomSchemasServer) error\n\t// contains filtered or unexported methods\n}\n```\nExperimentalRegistryServer is the server API for ExperimentalRegistry service. All implementations must embed UnimplementedExperimentalRegistryServer for forward compatibility\n\n```go\ntype ExperimentalRegistry_ExperimentalListPackageCustomSchemasClient interface {\n\tRecv() (*structpb.Struct, error)\n\tgrpc.ClientStream\n}\n```\n\n```go\ntype ExperimentalRegistry_ExperimentalListPackageCustomSchemasServer interface {\n\tSend(*structpb.Struct) error\n\tgrpc.ServerStream\n}\n```\n\n```go\ntype GetAllProvidersRequest struct {\n\tGroup   string `protobuf:\"bytes,1,opt,name=group,proto3\" json:\"group,omitempty\"`\n\tVersion string `protobuf:\"bytes,2,opt,name=version,proto3\" json:\"version,omitempty\"`\n\tKind    string `protobuf:\"bytes,3,opt,name=kind,proto3\" json:\"kind,omitempty\"`\n\tPlural  string `protobuf:\"bytes,4,opt,name=plural,proto3\" json:\"plural,omitempty\"`\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc (*GetAllProvidersRequest) Descriptor() ([]byte, []int)\n```\nDeprecated: Use GetAllProvidersRequest.ProtoReflect.Descriptor instead.\n\n```go\nfunc (x *GetAllProvidersRequest) GetGroup() string\n```\n\n```go\nfunc (x *GetAllProvidersRequest) GetKind() string\n```\n\n```go\nfunc (x *GetAllProvidersRequest) GetPlural() string\n```\n\n```go\nfunc (x *GetAllProvidersRequest) GetVersion() string\n```\n\n```go\nfunc (*GetAllProvidersRequest) ProtoMessage()\n```\n\n```go\nfunc (x *GetAllProvidersRequest) ProtoReflect() protoreflect.Message\n```\n\n```go\nfunc (x *GetAllProvidersRequest) Reset()\n```\n\n```go\nfunc (x *GetAllProvidersRequest) String() string\n```\n\n```go\ntype GetAllReplacementsRequest struct {\n\tCsvName string `protobuf:\"bytes,1,opt,name=csvName,proto3\" json:\"csvName,omitempty\"`\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc (*GetAllReplacementsRequest) Descriptor() ([]byte, []int)\n```\nDeprecated: Use GetAllReplacementsRequest.ProtoReflect.Descriptor instead.\n\n```go\nfunc (x *GetAllReplacementsRequest) GetCsvName() string\n```\n\n```go\nfunc (*GetAllReplacementsRequest) ProtoMessage()\n```\n\n```go\nfunc (x *GetAllReplacementsRequest) ProtoReflect() protoreflect.Message\n```\n\n```go\nfunc (x *GetAllReplacementsRequest) Reset()\n```\n\n```go\nfunc (x *GetAllReplacementsRequest) String() string\n```\n\n```go\ntype GetBundleInChannelRequest struct {\n\tPkgName     string `protobuf:\"bytes,1,opt,name=pkgName,proto3\" json:\"pkgName,omitempty\"`\n\tChannelName string `protobuf:\"bytes,2,opt,name=channelName,proto3\" json:\"channelName,omitempty\"`\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc (*GetBundleInChannelRequest) Descriptor() ([]byte, []int)\n```\nDeprecated: Use GetBundleInChannelRequest.ProtoReflect.Descriptor instead.\n\n```go\nfunc (x *GetBundleInChannelRequest) GetChannelName() string\n```\n\n```go\nfunc (x *GetBundleInChannelRequest) GetPkgName() string\n```\n\n```go\nfunc (*GetBundleInChannelRequest) ProtoMessage()\n```\n\n```go\nfunc (x *GetBundleInChannelRequest) ProtoReflect() protoreflect.Message\n```\n\n```go\nfunc (x *GetBundleInChannelRequest) Reset()\n```\n\n```go\nfunc (x *GetBundleInChannelRequest) String() string\n```\n\n```go\ntype GetBundleRequest struct {\n\tPkgName     string `protobuf:\"bytes,1,opt,name=pkgName,proto3\" json:\"pkgName,omitempty\"`\n\tChannelName string `protobuf:\"bytes,2,opt,name=channelName,proto3\" json:\"channelName,omitempty\"`\n\tCsvName     string `protobuf:\"bytes,3,opt,name=csvName,proto3\" json:\"csvName,omitempty\"`\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc (*GetBundleRequest) Descriptor() ([]byte, []int)\n```\nDeprecated: Use GetBundleRequest.ProtoReflect.Descriptor instead.\n\n```go\nfunc (x *GetBundleRequest) GetChannelName() string\n```\n\n```go\nfunc (x *GetBundleRequest) GetCsvName() string\n```\n\n```go\nfunc (x *GetBundleRequest) GetPkgName() string\n```\n\n```go\nfunc (*GetBundleRequest) ProtoMessage()\n```\n\n```go\nfunc (x *GetBundleRequest) ProtoReflect() protoreflect.Message\n```\n\n```go\nfunc (x *GetBundleRequest) Reset()\n```\n\n```go\nfunc (x *GetBundleRequest) String() string\n```\n\n```go\ntype GetDefaultProviderRequest struct {\n\tGroup   string `protobuf:\"bytes,1,opt,name=group,proto3\" json:\"group,omitempty\"`\n\tVersion string `protobuf:\"bytes,2,opt,name=version,proto3\" json:\"version,omitempty\"`\n\tKind    string `protobuf:\"bytes,3,opt,name=kind,proto3\" json:\"kind,omitempty\"`\n\tPlural  string `protobuf:\"bytes,4,opt,name=plural,proto3\" json:\"plural,omitempty\"`\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc (*GetDefaultProviderRequest) Descriptor() ([]byte, []int)\n```\nDeprecated: Use GetDefaultProviderRequest.ProtoReflect.Descriptor instead.\n\n```go\nfunc (x *GetDefaultProviderRequest) GetGroup() string\n```\n\n```go\nfunc (x *GetDefaultProviderRequest) GetKind() string\n```\n\n```go\nfunc (x *GetDefaultProviderRequest) GetPlural() string\n```\n\n```go\nfunc (x *GetDefaultProviderRequest) GetVersion() string\n```\n\n```go\nfunc (*GetDefaultProviderRequest) ProtoMessage()\n```\n\n```go\nfunc (x *GetDefaultProviderRequest) ProtoReflect() protoreflect.Message\n```\n\n```go\nfunc (x *GetDefaultProviderRequest) Reset()\n```\n\n```go\nfunc (x *GetDefaultProviderRequest) String() string\n```\n\n```go\ntype GetLatestProvidersRequest struct {\n\tGroup   string `protobuf:\"bytes,1,opt,name=group,proto3\" json:\"group,omitempty\"`\n\tVersion string `protobuf:\"bytes,2,opt,name=version,proto3\" json:\"version,omitempty\"`\n\tKind    string `protobuf:\"bytes,3,opt,name=kind,proto3\" json:\"kind,omitempty\"`\n\tPlural  string `protobuf:\"bytes,4,opt,name=plural,proto3\" json:\"plural,omitempty\"`\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc (*GetLatestProvidersRequest) Descriptor() ([]byte, []int)\n```\nDeprecated: Use GetLatestProvidersRequest.ProtoReflect.Descriptor instead.\n\n```go\nfunc (x *GetLatestProvidersRequest) GetGroup() string\n```\n\n```go\nfunc (x *GetLatestProvidersRequest) GetKind() string\n```\n\n```go\nfunc (x *GetLatestProvidersRequest) GetPlural() string\n```\n\n```go\nfunc (x *GetLatestProvidersRequest) GetVersion() string\n```\n\n```go\nfunc (*GetLatestProvidersRequest) ProtoMessage()\n```\n\n```go\nfunc (x *GetLatestProvidersRequest) ProtoReflect() protoreflect.Message\n```\n\n```go\nfunc (x *GetLatestProvidersRequest) Reset()\n```\n\n```go\nfunc (x *GetLatestProvidersRequest) String() string\n```\n\n```go\ntype GetPackageRequest struct {\n\tName string `protobuf:\"bytes,1,opt,name=name,proto3\" json:\"name,omitempty\"`\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc (*GetPackageRequest) Descriptor() ([]byte, []int)\n```\nDeprecated: Use GetPackageRequest.ProtoReflect.Descriptor instead.\n\n```go\nfunc (x *GetPackageRequest) GetName() string\n```\n\n```go\nfunc (*GetPackageRequest) ProtoMessage()\n```\n\n```go\nfunc (x *GetPackageRequest) ProtoReflect() protoreflect.Message\n```\n\n```go\nfunc (x *GetPackageRequest) Reset()\n```\n\n```go\nfunc (x *GetPackageRequest) String() string\n```\n\n```go\ntype GetReplacementRequest struct {\n\tCsvName     string `protobuf:\"bytes,1,opt,name=csvName,proto3\" json:\"csvName,omitempty\"`\n\tPkgName     string `protobuf:\"bytes,2,opt,name=pkgName,proto3\" json:\"pkgName,omitempty\"`\n\tChannelName string `protobuf:\"bytes,3,opt,name=channelName,proto3\" json:\"channelName,omitempty\"`\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc (*GetReplacementRequest) Descriptor() ([]byte, []int)\n```\nDeprecated: Use GetReplacementRequest.ProtoReflect.Descriptor instead.\n\n```go\nfunc (x *GetReplacementRequest) GetChannelName() string\n```\n\n```go\nfunc (x *GetReplacementRequest) GetCsvName() string\n```\n\n```go\nfunc (x *GetReplacementRequest) GetPkgName() string\n```\n\n```go\nfunc (*GetReplacementRequest) ProtoMessage()\n```\n\n```go\nfunc (x *GetReplacementRequest) ProtoReflect() protoreflect.Message\n```\n\n```go\nfunc (x *GetReplacementRequest) Reset()\n```\n\n```go\nfunc (x *GetReplacementRequest) String() string\n```\n\n```go\ntype GroupVersionKind struct {\n\tGroup   string `protobuf:\"bytes,1,opt,name=group,proto3\" json:\"group,omitempty\"`\n\tVersion string `protobuf:\"bytes,2,opt,name=version,proto3\" json:\"version,omitempty\"`\n\tKind    string `protobuf:\"bytes,3,opt,name=kind,proto3\" json:\"kind,omitempty\"`\n\tPlural  string `protobuf:\"bytes,4,opt,name=plural,proto3\" json:\"plural,omitempty\"`\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc (*GroupVersionKind) Descriptor() ([]byte, []int)\n```\nDeprecated: Use GroupVersionKind.ProtoReflect.Descriptor instead.\n\n```go\nfunc (x *GroupVersionKind) GetGroup() string\n```\n\n```go\nfunc (x *GroupVersionKind) GetKind() string\n```\n\n```go\nfunc (x *GroupVersionKind) GetPlural() string\n```\n\n```go\nfunc (x *GroupVersionKind) GetVersion() string\n```\n\n```go\nfunc (*GroupVersionKind) ProtoMessage()\n```\n\n```go\nfunc (x *GroupVersionKind) ProtoReflect() protoreflect.Message\n```\n\n```go\nfunc (x *GroupVersionKind) Reset()\n```\n\n```go\nfunc (x *GroupVersionKind) String() string\n```\n\n```go\ntype ListBundlesRequest struct {\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc (*ListBundlesRequest) Descriptor() ([]byte, []int)\n```\nDeprecated: Use ListBundlesRequest.ProtoReflect.Descriptor instead.\n\n```go\nfunc (*ListBundlesRequest) ProtoMessage()\n```\n\n```go\nfunc (x *ListBundlesRequest) ProtoReflect() protoreflect.Message\n```\n\n```go\nfunc (x *ListBundlesRequest) Reset()\n```\n\n```go\nfunc (x *ListBundlesRequest) String() string\n```\n\n```go\ntype ListPackageRequest struct {\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc (*ListPackageRequest) Descriptor() ([]byte, []int)\n```\nDeprecated: Use ListPackageRequest.ProtoReflect.Descriptor instead.\n\n```go\nfunc (*ListPackageRequest) ProtoMessage()\n```\n\n```go\nfunc (x *ListPackageRequest) ProtoReflect() protoreflect.Message\n```\n\n```go\nfunc (x *ListPackageRequest) Reset()\n```\n\n```go\nfunc (x *ListPackageRequest) String() string\n```\n\n```go\ntype Package struct {\n\tName               string       `protobuf:\"bytes,1,opt,name=name,proto3\" json:\"name,omitempty\"`\n\tChannels           []*Channel   `protobuf:\"bytes,2,rep,name=channels,proto3\" json:\"channels,omitempty\"`\n\tDefaultChannelName string       `protobuf:\"bytes,3,opt,name=defaultChannelName,proto3\" json:\"defaultChannelName,omitempty\"`\n\tDeprecation        *Deprecation `protobuf:\"bytes,4,opt,name=deprecation,proto3\" json:\"deprecation,omitempty\"`\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc (*Package) Descriptor() ([]byte, []int)\n```\nDeprecated: Use Package.ProtoReflect.Descriptor instead.\n\n```go\nfunc (x *Package) GetChannels() []*Channel\n```\n\n```go\nfunc (x *Package) GetDefaultChannelName() string\n```\n\n```go\nfunc (x *Package) GetDeprecation() *Deprecation\n```\n\n```go\nfunc (x *Package) GetName() string\n```\n\n```go\nfunc (*Package) ProtoMessage()\n```\n\n```go\nfunc (x *Package) ProtoReflect() protoreflect.Message\n```\n\n```go\nfunc (x *Package) Reset()\n```\n\n```go\nfunc (x *Package) String() string\n```\n\n```go\ntype PackageName struct {\n\tName string `protobuf:\"bytes,1,opt,name=name,proto3\" json:\"name,omitempty\"`\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc (*PackageName) Descriptor() ([]byte, []int)\n```\nDeprecated: Use PackageName.ProtoReflect.Descriptor instead.\n\n```go\nfunc (x *PackageName) GetName() string\n```\n\n```go\nfunc (*PackageName) ProtoMessage()\n```\n\n```go\nfunc (x *PackageName) ProtoReflect() protoreflect.Message\n```\n\n```go\nfunc (x *PackageName) Reset()\n```\n\n```go\nfunc (x *PackageName) String() string\n```\n\n```go\ntype Property struct {\n\tType  string `protobuf:\"bytes,1,opt,name=type,proto3\" json:\"type,omitempty\"`\n\tValue string `protobuf:\"bytes,2,opt,name=value,proto3\" json:\"value,omitempty\"`\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc (*Property) Descriptor() ([]byte, []int)\n```\nDeprecated: Use Property.ProtoReflect.Descriptor instead.\n\n```go\nfunc (x *Property) GetType() string\n```\n\n```go\nfunc (x *Property) GetValue() string\n```\n\n```go\nfunc (*Property) ProtoMessage()\n```\n\n```go\nfunc (x *Property) ProtoReflect() protoreflect.Message\n```\n\n```go\nfunc (x *Property) Reset()\n```\n\n```go\nfunc (x *Property) String() string\n```\n\n```go\ntype RegistryClient interface {\n\tListPackages(ctx context.Context, in *ListPackageRequest, opts ...grpc.CallOption) (Registry_ListPackagesClient, error)\n\tGetPackage(ctx context.Context, in *GetPackageRequest, opts ...grpc.CallOption) (*Package, error)\n\tGetBundle(ctx context.Context, in *GetBundleRequest, opts ...grpc.CallOption) (*Bundle, error)\n\t// Deprecated: Do not use.\n\tGetBundleForChannel(ctx context.Context, in *GetBundleInChannelRequest, opts ...grpc.CallOption) (*Bundle, error)\n\tGetChannelEntriesThatReplace(ctx context.Context, in *GetAllReplacementsRequest, opts ...grpc.CallOption) (Registry_GetChannelEntriesThatReplaceClient, error)\n\tGetBundleThatReplaces(ctx context.Context, in *GetReplacementRequest, opts ...grpc.CallOption) (*Bundle, error)\n\tGetChannelEntriesThatProvide(ctx context.Context, in *GetAllProvidersRequest, opts ...grpc.CallOption) (Registry_GetChannelEntriesThatProvideClient, error)\n\tGetLatestChannelEntriesThatProvide(ctx context.Context, in *GetLatestProvidersRequest, opts ...grpc.CallOption) (Registry_GetLatestChannelEntriesThatProvideClient, error)\n\tGetDefaultBundleThatProvides(ctx context.Context, in *GetDefaultProviderRequest, opts ...grpc.CallOption) (*Bundle, error)\n\tListBundles(ctx context.Context, in *ListBundlesRequest, opts ...grpc.CallOption) (Registry_ListBundlesClient, error)\n}\n```\nRegistryClient is the client API for Registry service.\n\nFor semantics around ctx use and closing/ending streaming RPCs, please refer to [https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream](https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream).\n\n```go\nfunc NewRegistryClient(cc grpc.ClientConnInterface) RegistryClient\n```\n\n```go\ntype RegistryServer interface {\n\tListPackages(*ListPackageRequest, Registry_ListPackagesServer) error\n\tGetPackage(context.Context, *GetPackageRequest) (*Package, error)\n\tGetBundle(context.Context, *GetBundleRequest) (*Bundle, error)\n\t// Deprecated: Do not use.\n\tGetBundleForChannel(context.Context, *GetBundleInChannelRequest) (*Bundle, error)\n\tGetChannelEntriesThatReplace(*GetAllReplacementsRequest, Registry_GetChannelEntriesThatReplaceServer) error\n\tGetBundleThatReplaces(context.Context, *GetReplacementRequest) (*Bundle, error)\n\tGetChannelEntriesThatProvide(*GetAllProvidersRequest, Registry_GetChannelEntriesThatProvideServer) error\n\tGetLatestChannelEntriesThatProvide(*GetLatestProvidersRequest, Registry_GetLatestChannelEntriesThatProvideServer) error\n\tGetDefaultBundleThatProvides(context.Context, *GetDefaultProviderRequest) (*Bundle, error)\n\tListBundles(*ListBundlesRequest, Registry_ListBundlesServer) error\n\t// contains filtered or unexported methods\n}\n```\nRegistryServer is the server API for Registry service. All implementations must embed UnimplementedRegistryServer for forward compatibility\n\n```go\ntype Registry_GetChannelEntriesThatProvideClient interface {\n\tRecv() (*ChannelEntry, error)\n\tgrpc.ClientStream\n}\n```\n\n```go\ntype Registry_GetChannelEntriesThatProvideServer interface {\n\tSend(*ChannelEntry) error\n\tgrpc.ServerStream\n}\n```\n\n```go\ntype Registry_GetChannelEntriesThatReplaceClient interface {\n\tRecv() (*ChannelEntry, error)\n\tgrpc.ClientStream\n}\n```\n\n```go\ntype Registry_GetChannelEntriesThatReplaceServer interface {\n\tSend(*ChannelEntry) error\n\tgrpc.ServerStream\n}\n```\n\n```go\ntype Registry_GetLatestChannelEntriesThatProvideClient interface {\n\tRecv() (*ChannelEntry, error)\n\tgrpc.ClientStream\n}\n```\n\n```go\ntype Registry_GetLatestChannelEntriesThatProvideServer interface {\n\tSend(*ChannelEntry) error\n\tgrpc.ServerStream\n}\n```\n\n```go\ntype Registry_ListBundlesClient interface {\n\tRecv() (*Bundle, error)\n\tgrpc.ClientStream\n}\n```\n\n```go\ntype Registry_ListBundlesServer interface {\n\tSend(*Bundle) error\n\tgrpc.ServerStream\n}\n```\n\n```go\ntype Registry_ListPackagesClient interface {\n\tRecv() (*PackageName, error)\n\tgrpc.ClientStream\n}\n```\n\n```go\ntype Registry_ListPackagesServer interface {\n\tSend(*PackageName) error\n\tgrpc.ServerStream\n}\n```\n\n```go\ntype UnimplementedExperimentalRegistryServer struct {\n}\n```\nUnimplementedExperimentalRegistryServer must be embedded to have forward compatible implementations.\n\n```go\nfunc (UnimplementedExperimentalRegistryServer) ExperimentalListPackageCustomSchemas(*ExperimentalListPackageCustomSchemasRequest, ExperimentalRegistry_ExperimentalListPackageCustomSchemasServer) error\n```\n\n```go\ntype UnimplementedRegistryServer struct {\n}\n```\nUnimplementedRegistryServer must be embedded to have forward compatible implementations.\n\n```go\nfunc (UnimplementedRegistryServer) GetBundle(context.Context, *GetBundleRequest) (*Bundle, error)\n```\n\n```go\nfunc (UnimplementedRegistryServer) GetBundleForChannel(context.Context, *GetBundleInChannelRequest) (*Bundle, error)\n```\n\n```go\nfunc (UnimplementedRegistryServer) GetBundleThatReplaces(context.Context, *GetReplacementRequest) (*Bundle, error)\n```\n\n```go\nfunc (UnimplementedRegistryServer) GetChannelEntriesThatProvide(*GetAllProvidersRequest, Registry_GetChannelEntriesThatProvideServer) error\n```\n\n```go\nfunc (UnimplementedRegistryServer) GetChannelEntriesThatReplace(*GetAllReplacementsRequest, Registry_GetChannelEntriesThatReplaceServer) error\n```\n\n```go\nfunc (UnimplementedRegistryServer) GetDefaultBundleThatProvides(context.Context, *GetDefaultProviderRequest) (*Bundle, error)\n```\n\n```go\nfunc (UnimplementedRegistryServer) GetLatestChannelEntriesThatProvide(*GetLatestProvidersRequest, Registry_GetLatestChannelEntriesThatProvideServer) error\n```\n\n```go\nfunc (UnimplementedRegistryServer) GetPackage(context.Context, *GetPackageRequest) (*Package, error)\n```\n\n```go\nfunc (UnimplementedRegistryServer) ListBundles(*ListBundlesRequest, Registry_ListBundlesServer) error\n```\n\n```go\nfunc (UnimplementedRegistryServer) ListPackages(*ListPackageRequest, Registry_ListPackagesServer) error\n```\n\n```go\ntype UnsafeExperimentalRegistryServer interface {\n\t// contains filtered or unexported methods\n}\n```\nUnsafeExperimentalRegistryServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ExperimentalRegistryServer will result in compilation errors.\n\n```go\ntype UnsafeRegistryServer interface {\n\t// contains filtered or unexported methods\n}\n```\nUnsafeRegistryServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to RegistryServer will result in compilation errors.\n\n","path":"github.com/operator-framework/operator-registry/pkg/api","name":"api","synopsis":"","isRedistributable":true}
