Documentation ¶
Index ¶
- func BundleStringToObjectStrings(bundleString string) ([]string, error)
- func RegisterRegistryServer(s *grpc.Server, srv RegistryServer)
- type Bundle
- func (*Bundle) Descriptor() ([]byte, []int)
- func (m *Bundle) GetBundlePath() string
- func (m *Bundle) GetChannelName() string
- func (m *Bundle) GetCsvJson() string
- func (m *Bundle) GetCsvName() string
- func (m *Bundle) GetObject() []string
- func (m *Bundle) GetPackageName() string
- func (*Bundle) ProtoMessage()
- func (m *Bundle) Reset()
- func (m *Bundle) String() string
- func (m *Bundle) XXX_DiscardUnknown()
- func (m *Bundle) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Bundle) XXX_Merge(src proto.Message)
- func (m *Bundle) XXX_Size() int
- func (m *Bundle) XXX_Unmarshal(b []byte) error
- type Channel
- func (*Channel) Descriptor() ([]byte, []int)
- func (m *Channel) GetCsvName() string
- func (m *Channel) GetName() string
- func (*Channel) ProtoMessage()
- func (m *Channel) Reset()
- func (m *Channel) String() string
- func (m *Channel) XXX_DiscardUnknown()
- func (m *Channel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Channel) XXX_Merge(src proto.Message)
- func (m *Channel) XXX_Size() int
- func (m *Channel) XXX_Unmarshal(b []byte) error
- type ChannelEntry
- func (*ChannelEntry) Descriptor() ([]byte, []int)
- func (m *ChannelEntry) GetBundleName() string
- func (m *ChannelEntry) GetChannelName() string
- func (m *ChannelEntry) GetPackageName() string
- func (m *ChannelEntry) GetReplaces() string
- func (*ChannelEntry) ProtoMessage()
- func (m *ChannelEntry) Reset()
- func (m *ChannelEntry) String() string
- func (m *ChannelEntry) XXX_DiscardUnknown()
- func (m *ChannelEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ChannelEntry) XXX_Merge(src proto.Message)
- func (m *ChannelEntry) XXX_Size() int
- func (m *ChannelEntry) XXX_Unmarshal(b []byte) error
- type GetAllProvidersRequest
- func (*GetAllProvidersRequest) Descriptor() ([]byte, []int)
- func (m *GetAllProvidersRequest) GetGroup() string
- func (m *GetAllProvidersRequest) GetKind() string
- func (m *GetAllProvidersRequest) GetPlural() string
- func (m *GetAllProvidersRequest) GetVersion() string
- func (*GetAllProvidersRequest) ProtoMessage()
- func (m *GetAllProvidersRequest) Reset()
- func (m *GetAllProvidersRequest) String() string
- func (m *GetAllProvidersRequest) XXX_DiscardUnknown()
- func (m *GetAllProvidersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetAllProvidersRequest) XXX_Merge(src proto.Message)
- func (m *GetAllProvidersRequest) XXX_Size() int
- func (m *GetAllProvidersRequest) XXX_Unmarshal(b []byte) error
- type GetAllReplacementsRequest
- func (*GetAllReplacementsRequest) Descriptor() ([]byte, []int)
- func (m *GetAllReplacementsRequest) GetCsvName() string
- func (*GetAllReplacementsRequest) ProtoMessage()
- func (m *GetAllReplacementsRequest) Reset()
- func (m *GetAllReplacementsRequest) String() string
- func (m *GetAllReplacementsRequest) XXX_DiscardUnknown()
- func (m *GetAllReplacementsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetAllReplacementsRequest) XXX_Merge(src proto.Message)
- func (m *GetAllReplacementsRequest) XXX_Size() int
- func (m *GetAllReplacementsRequest) XXX_Unmarshal(b []byte) error
- type GetBundleInChannelRequest
- func (*GetBundleInChannelRequest) Descriptor() ([]byte, []int)
- func (m *GetBundleInChannelRequest) GetChannelName() string
- func (m *GetBundleInChannelRequest) GetPkgName() string
- func (*GetBundleInChannelRequest) ProtoMessage()
- func (m *GetBundleInChannelRequest) Reset()
- func (m *GetBundleInChannelRequest) String() string
- func (m *GetBundleInChannelRequest) XXX_DiscardUnknown()
- func (m *GetBundleInChannelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetBundleInChannelRequest) XXX_Merge(src proto.Message)
- func (m *GetBundleInChannelRequest) XXX_Size() int
- func (m *GetBundleInChannelRequest) XXX_Unmarshal(b []byte) error
- type GetBundleRequest
- func (*GetBundleRequest) Descriptor() ([]byte, []int)
- func (m *GetBundleRequest) GetChannelName() string
- func (m *GetBundleRequest) GetCsvName() string
- func (m *GetBundleRequest) GetPkgName() string
- func (*GetBundleRequest) ProtoMessage()
- func (m *GetBundleRequest) Reset()
- func (m *GetBundleRequest) String() string
- func (m *GetBundleRequest) XXX_DiscardUnknown()
- func (m *GetBundleRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetBundleRequest) XXX_Merge(src proto.Message)
- func (m *GetBundleRequest) XXX_Size() int
- func (m *GetBundleRequest) XXX_Unmarshal(b []byte) error
- type GetDefaultProviderRequest
- func (*GetDefaultProviderRequest) Descriptor() ([]byte, []int)
- func (m *GetDefaultProviderRequest) GetGroup() string
- func (m *GetDefaultProviderRequest) GetKind() string
- func (m *GetDefaultProviderRequest) GetPlural() string
- func (m *GetDefaultProviderRequest) GetVersion() string
- func (*GetDefaultProviderRequest) ProtoMessage()
- func (m *GetDefaultProviderRequest) Reset()
- func (m *GetDefaultProviderRequest) String() string
- func (m *GetDefaultProviderRequest) XXX_DiscardUnknown()
- func (m *GetDefaultProviderRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetDefaultProviderRequest) XXX_Merge(src proto.Message)
- func (m *GetDefaultProviderRequest) XXX_Size() int
- func (m *GetDefaultProviderRequest) XXX_Unmarshal(b []byte) error
- type GetLatestProvidersRequest
- func (*GetLatestProvidersRequest) Descriptor() ([]byte, []int)
- func (m *GetLatestProvidersRequest) GetGroup() string
- func (m *GetLatestProvidersRequest) GetKind() string
- func (m *GetLatestProvidersRequest) GetPlural() string
- func (m *GetLatestProvidersRequest) GetVersion() string
- func (*GetLatestProvidersRequest) ProtoMessage()
- func (m *GetLatestProvidersRequest) Reset()
- func (m *GetLatestProvidersRequest) String() string
- func (m *GetLatestProvidersRequest) XXX_DiscardUnknown()
- func (m *GetLatestProvidersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetLatestProvidersRequest) XXX_Merge(src proto.Message)
- func (m *GetLatestProvidersRequest) XXX_Size() int
- func (m *GetLatestProvidersRequest) XXX_Unmarshal(b []byte) error
- type GetPackageRequest
- func (*GetPackageRequest) Descriptor() ([]byte, []int)
- func (m *GetPackageRequest) GetName() string
- func (*GetPackageRequest) ProtoMessage()
- func (m *GetPackageRequest) Reset()
- func (m *GetPackageRequest) String() string
- func (m *GetPackageRequest) XXX_DiscardUnknown()
- func (m *GetPackageRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetPackageRequest) XXX_Merge(src proto.Message)
- func (m *GetPackageRequest) XXX_Size() int
- func (m *GetPackageRequest) XXX_Unmarshal(b []byte) error
- type GetReplacementRequest
- func (*GetReplacementRequest) Descriptor() ([]byte, []int)
- func (m *GetReplacementRequest) GetChannelName() string
- func (m *GetReplacementRequest) GetCsvName() string
- func (m *GetReplacementRequest) GetPkgName() string
- func (*GetReplacementRequest) ProtoMessage()
- func (m *GetReplacementRequest) Reset()
- func (m *GetReplacementRequest) String() string
- func (m *GetReplacementRequest) XXX_DiscardUnknown()
- func (m *GetReplacementRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetReplacementRequest) XXX_Merge(src proto.Message)
- func (m *GetReplacementRequest) XXX_Size() int
- func (m *GetReplacementRequest) XXX_Unmarshal(b []byte) error
- type ListPackageRequest
- func (*ListPackageRequest) Descriptor() ([]byte, []int)
- func (*ListPackageRequest) ProtoMessage()
- func (m *ListPackageRequest) Reset()
- func (m *ListPackageRequest) String() string
- func (m *ListPackageRequest) XXX_DiscardUnknown()
- func (m *ListPackageRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListPackageRequest) XXX_Merge(src proto.Message)
- func (m *ListPackageRequest) XXX_Size() int
- func (m *ListPackageRequest) XXX_Unmarshal(b []byte) error
- type Package
- func (*Package) Descriptor() ([]byte, []int)
- func (m *Package) GetChannels() []*Channel
- func (m *Package) GetDefaultChannelName() string
- func (m *Package) GetName() string
- func (*Package) ProtoMessage()
- func (m *Package) Reset()
- func (m *Package) String() string
- func (m *Package) XXX_DiscardUnknown()
- func (m *Package) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Package) XXX_Merge(src proto.Message)
- func (m *Package) XXX_Size() int
- func (m *Package) XXX_Unmarshal(b []byte) error
- type PackageName
- func (*PackageName) Descriptor() ([]byte, []int)
- func (m *PackageName) GetName() string
- func (*PackageName) ProtoMessage()
- func (m *PackageName) Reset()
- func (m *PackageName) String() string
- func (m *PackageName) XXX_DiscardUnknown()
- func (m *PackageName) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PackageName) XXX_Merge(src proto.Message)
- func (m *PackageName) XXX_Size() int
- func (m *PackageName) XXX_Unmarshal(b []byte) error
- type RegistryClient
- type RegistryServer
- type Registry_GetChannelEntriesThatProvideClient
- type Registry_GetChannelEntriesThatProvideServer
- type Registry_GetChannelEntriesThatReplaceClient
- type Registry_GetChannelEntriesThatReplaceServer
- type Registry_GetLatestChannelEntriesThatProvideClient
- type Registry_GetLatestChannelEntriesThatProvideServer
- type Registry_ListPackagesClient
- type Registry_ListPackagesServer
- type UnimplementedRegistryServer
- func (*UnimplementedRegistryServer) GetBundle(ctx context.Context, req *GetBundleRequest) (*Bundle, error)
- func (*UnimplementedRegistryServer) GetBundleForChannel(ctx context.Context, req *GetBundleInChannelRequest) (*Bundle, error)
- func (*UnimplementedRegistryServer) GetBundleThatReplaces(ctx context.Context, req *GetReplacementRequest) (*Bundle, error)
- func (*UnimplementedRegistryServer) GetChannelEntriesThatProvide(req *GetAllProvidersRequest, srv Registry_GetChannelEntriesThatProvideServer) error
- func (*UnimplementedRegistryServer) GetChannelEntriesThatReplace(req *GetAllReplacementsRequest, ...) error
- func (*UnimplementedRegistryServer) GetDefaultBundleThatProvides(ctx context.Context, req *GetDefaultProviderRequest) (*Bundle, error)
- func (*UnimplementedRegistryServer) GetLatestChannelEntriesThatProvide(req *GetLatestProvidersRequest, ...) error
- func (*UnimplementedRegistryServer) GetPackage(ctx context.Context, req *GetPackageRequest) (*Package, error)
- func (*UnimplementedRegistryServer) ListPackages(req *ListPackageRequest, srv Registry_ListPackagesServer) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BundleStringToObjectStrings ¶ added in v1.0.0
Bundle strings are appended json objects, we need to split them apart e.g. {"my":"obj"}{"csv":"data"}{"crd":"too"}
func RegisterRegistryServer ¶
func RegisterRegistryServer(s *grpc.Server, srv RegistryServer)
Types ¶
type Bundle ¶
type Bundle struct { CsvName string `protobuf:"bytes,1,opt,name=csvName,proto3" json:"csvName,omitempty"` PackageName string `protobuf:"bytes,2,opt,name=packageName,proto3" json:"packageName,omitempty"` ChannelName string `protobuf:"bytes,3,opt,name=channelName,proto3" json:"channelName,omitempty"` CsvJson string `protobuf:"bytes,4,opt,name=csvJson,proto3" json:"csvJson,omitempty"` Object []string `protobuf:"bytes,5,rep,name=object,proto3" json:"object,omitempty"` BundlePath string `protobuf:"bytes,6,opt,name=bundlePath,proto3" json:"bundlePath,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func BundleStringToAPIBundle ¶ added in v1.0.3
func (*Bundle) Descriptor ¶
func (*Bundle) GetBundlePath ¶
func (*Bundle) GetChannelName ¶
func (*Bundle) GetCsvJson ¶
func (*Bundle) GetCsvName ¶
func (*Bundle) GetPackageName ¶
func (*Bundle) ProtoMessage ¶
func (*Bundle) ProtoMessage()
func (*Bundle) XXX_DiscardUnknown ¶ added in v1.0.3
func (m *Bundle) XXX_DiscardUnknown()
func (*Bundle) XXX_Marshal ¶ added in v1.0.3
func (*Bundle) XXX_Unmarshal ¶ added in v1.0.3
type Channel ¶
type Channel struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` CsvName string `protobuf:"bytes,2,opt,name=csvName,proto3" json:"csvName,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func PackageChannelToAPIChannel ¶ added in v1.0.3
func PackageChannelToAPIChannel(channel *registry.PackageChannel) *Channel
func (*Channel) Descriptor ¶
func (*Channel) GetCsvName ¶
func (*Channel) ProtoMessage ¶
func (*Channel) ProtoMessage()
func (*Channel) XXX_DiscardUnknown ¶ added in v1.0.3
func (m *Channel) XXX_DiscardUnknown()
func (*Channel) XXX_Marshal ¶ added in v1.0.3
func (*Channel) XXX_Unmarshal ¶ added in v1.0.3
type ChannelEntry ¶
type ChannelEntry struct { PackageName string `protobuf:"bytes,1,opt,name=packageName,proto3" json:"packageName,omitempty"` ChannelName string `protobuf:"bytes,2,opt,name=channelName,proto3" json:"channelName,omitempty"` BundleName string `protobuf:"bytes,3,opt,name=bundleName,proto3" json:"bundleName,omitempty"` Replaces string `protobuf:"bytes,4,opt,name=replaces,proto3" json:"replaces,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func ChannelEntryToAPIChannelEntry ¶ added in v1.0.3
func ChannelEntryToAPIChannelEntry(entry *registry.ChannelEntry) *ChannelEntry
func (*ChannelEntry) Descriptor ¶
func (*ChannelEntry) Descriptor() ([]byte, []int)
func (*ChannelEntry) GetBundleName ¶
func (m *ChannelEntry) GetBundleName() string
func (*ChannelEntry) GetChannelName ¶
func (m *ChannelEntry) GetChannelName() string
func (*ChannelEntry) GetPackageName ¶
func (m *ChannelEntry) GetPackageName() string
func (*ChannelEntry) GetReplaces ¶
func (m *ChannelEntry) GetReplaces() string
func (*ChannelEntry) ProtoMessage ¶
func (*ChannelEntry) ProtoMessage()
func (*ChannelEntry) Reset ¶
func (m *ChannelEntry) Reset()
func (*ChannelEntry) String ¶
func (m *ChannelEntry) String() string
func (*ChannelEntry) XXX_DiscardUnknown ¶ added in v1.0.3
func (m *ChannelEntry) XXX_DiscardUnknown()
func (*ChannelEntry) XXX_Marshal ¶ added in v1.0.3
func (m *ChannelEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ChannelEntry) XXX_Merge ¶ added in v1.0.3
func (m *ChannelEntry) XXX_Merge(src proto.Message)
func (*ChannelEntry) XXX_Size ¶ added in v1.0.3
func (m *ChannelEntry) XXX_Size() int
func (*ChannelEntry) XXX_Unmarshal ¶ added in v1.0.3
func (m *ChannelEntry) XXX_Unmarshal(b []byte) error
type GetAllProvidersRequest ¶
type GetAllProvidersRequest struct { Group string `protobuf:"bytes,1,opt,name=group,proto3" json:"group,omitempty"` Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` Kind string `protobuf:"bytes,3,opt,name=kind,proto3" json:"kind,omitempty"` Plural string `protobuf:"bytes,4,opt,name=plural,proto3" json:"plural,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetAllProvidersRequest) Descriptor ¶
func (*GetAllProvidersRequest) Descriptor() ([]byte, []int)
func (*GetAllProvidersRequest) GetGroup ¶
func (m *GetAllProvidersRequest) GetGroup() string
func (*GetAllProvidersRequest) GetKind ¶
func (m *GetAllProvidersRequest) GetKind() string
func (*GetAllProvidersRequest) GetPlural ¶
func (m *GetAllProvidersRequest) GetPlural() string
func (*GetAllProvidersRequest) GetVersion ¶
func (m *GetAllProvidersRequest) GetVersion() string
func (*GetAllProvidersRequest) ProtoMessage ¶
func (*GetAllProvidersRequest) ProtoMessage()
func (*GetAllProvidersRequest) Reset ¶
func (m *GetAllProvidersRequest) Reset()
func (*GetAllProvidersRequest) String ¶
func (m *GetAllProvidersRequest) String() string
func (*GetAllProvidersRequest) XXX_DiscardUnknown ¶ added in v1.0.3
func (m *GetAllProvidersRequest) XXX_DiscardUnknown()
func (*GetAllProvidersRequest) XXX_Marshal ¶ added in v1.0.3
func (m *GetAllProvidersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetAllProvidersRequest) XXX_Merge ¶ added in v1.0.3
func (m *GetAllProvidersRequest) XXX_Merge(src proto.Message)
func (*GetAllProvidersRequest) XXX_Size ¶ added in v1.0.3
func (m *GetAllProvidersRequest) XXX_Size() int
func (*GetAllProvidersRequest) XXX_Unmarshal ¶ added in v1.0.3
func (m *GetAllProvidersRequest) XXX_Unmarshal(b []byte) error
type GetAllReplacementsRequest ¶
type GetAllReplacementsRequest struct { CsvName string `protobuf:"bytes,1,opt,name=csvName,proto3" json:"csvName,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetAllReplacementsRequest) Descriptor ¶
func (*GetAllReplacementsRequest) Descriptor() ([]byte, []int)
func (*GetAllReplacementsRequest) GetCsvName ¶
func (m *GetAllReplacementsRequest) GetCsvName() string
func (*GetAllReplacementsRequest) ProtoMessage ¶
func (*GetAllReplacementsRequest) ProtoMessage()
func (*GetAllReplacementsRequest) Reset ¶
func (m *GetAllReplacementsRequest) Reset()
func (*GetAllReplacementsRequest) String ¶
func (m *GetAllReplacementsRequest) String() string
func (*GetAllReplacementsRequest) XXX_DiscardUnknown ¶ added in v1.0.3
func (m *GetAllReplacementsRequest) XXX_DiscardUnknown()
func (*GetAllReplacementsRequest) XXX_Marshal ¶ added in v1.0.3
func (m *GetAllReplacementsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetAllReplacementsRequest) XXX_Merge ¶ added in v1.0.3
func (m *GetAllReplacementsRequest) XXX_Merge(src proto.Message)
func (*GetAllReplacementsRequest) XXX_Size ¶ added in v1.0.3
func (m *GetAllReplacementsRequest) XXX_Size() int
func (*GetAllReplacementsRequest) XXX_Unmarshal ¶ added in v1.0.3
func (m *GetAllReplacementsRequest) XXX_Unmarshal(b []byte) error
type GetBundleInChannelRequest ¶
type GetBundleInChannelRequest struct { PkgName string `protobuf:"bytes,1,opt,name=pkgName,proto3" json:"pkgName,omitempty"` ChannelName string `protobuf:"bytes,2,opt,name=channelName,proto3" json:"channelName,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetBundleInChannelRequest) Descriptor ¶
func (*GetBundleInChannelRequest) Descriptor() ([]byte, []int)
func (*GetBundleInChannelRequest) GetChannelName ¶
func (m *GetBundleInChannelRequest) GetChannelName() string
func (*GetBundleInChannelRequest) GetPkgName ¶
func (m *GetBundleInChannelRequest) GetPkgName() string
func (*GetBundleInChannelRequest) ProtoMessage ¶
func (*GetBundleInChannelRequest) ProtoMessage()
func (*GetBundleInChannelRequest) Reset ¶
func (m *GetBundleInChannelRequest) Reset()
func (*GetBundleInChannelRequest) String ¶
func (m *GetBundleInChannelRequest) String() string
func (*GetBundleInChannelRequest) XXX_DiscardUnknown ¶ added in v1.0.3
func (m *GetBundleInChannelRequest) XXX_DiscardUnknown()
func (*GetBundleInChannelRequest) XXX_Marshal ¶ added in v1.0.3
func (m *GetBundleInChannelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetBundleInChannelRequest) XXX_Merge ¶ added in v1.0.3
func (m *GetBundleInChannelRequest) XXX_Merge(src proto.Message)
func (*GetBundleInChannelRequest) XXX_Size ¶ added in v1.0.3
func (m *GetBundleInChannelRequest) XXX_Size() int
func (*GetBundleInChannelRequest) XXX_Unmarshal ¶ added in v1.0.3
func (m *GetBundleInChannelRequest) XXX_Unmarshal(b []byte) error
type GetBundleRequest ¶
type GetBundleRequest struct { PkgName string `protobuf:"bytes,1,opt,name=pkgName,proto3" json:"pkgName,omitempty"` ChannelName string `protobuf:"bytes,2,opt,name=channelName,proto3" json:"channelName,omitempty"` CsvName string `protobuf:"bytes,3,opt,name=csvName,proto3" json:"csvName,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetBundleRequest) Descriptor ¶
func (*GetBundleRequest) Descriptor() ([]byte, []int)
func (*GetBundleRequest) GetChannelName ¶
func (m *GetBundleRequest) GetChannelName() string
func (*GetBundleRequest) GetCsvName ¶
func (m *GetBundleRequest) GetCsvName() string
func (*GetBundleRequest) GetPkgName ¶
func (m *GetBundleRequest) GetPkgName() string
func (*GetBundleRequest) ProtoMessage ¶
func (*GetBundleRequest) ProtoMessage()
func (*GetBundleRequest) Reset ¶
func (m *GetBundleRequest) Reset()
func (*GetBundleRequest) String ¶
func (m *GetBundleRequest) String() string
func (*GetBundleRequest) XXX_DiscardUnknown ¶ added in v1.0.3
func (m *GetBundleRequest) XXX_DiscardUnknown()
func (*GetBundleRequest) XXX_Marshal ¶ added in v1.0.3
func (m *GetBundleRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetBundleRequest) XXX_Merge ¶ added in v1.0.3
func (m *GetBundleRequest) XXX_Merge(src proto.Message)
func (*GetBundleRequest) XXX_Size ¶ added in v1.0.3
func (m *GetBundleRequest) XXX_Size() int
func (*GetBundleRequest) XXX_Unmarshal ¶ added in v1.0.3
func (m *GetBundleRequest) XXX_Unmarshal(b []byte) error
type GetDefaultProviderRequest ¶
type GetDefaultProviderRequest struct { Group string `protobuf:"bytes,1,opt,name=group,proto3" json:"group,omitempty"` Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` Kind string `protobuf:"bytes,3,opt,name=kind,proto3" json:"kind,omitempty"` Plural string `protobuf:"bytes,4,opt,name=plural,proto3" json:"plural,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetDefaultProviderRequest) Descriptor ¶
func (*GetDefaultProviderRequest) Descriptor() ([]byte, []int)
func (*GetDefaultProviderRequest) GetGroup ¶
func (m *GetDefaultProviderRequest) GetGroup() string
func (*GetDefaultProviderRequest) GetKind ¶
func (m *GetDefaultProviderRequest) GetKind() string
func (*GetDefaultProviderRequest) GetPlural ¶
func (m *GetDefaultProviderRequest) GetPlural() string
func (*GetDefaultProviderRequest) GetVersion ¶
func (m *GetDefaultProviderRequest) GetVersion() string
func (*GetDefaultProviderRequest) ProtoMessage ¶
func (*GetDefaultProviderRequest) ProtoMessage()
func (*GetDefaultProviderRequest) Reset ¶
func (m *GetDefaultProviderRequest) Reset()
func (*GetDefaultProviderRequest) String ¶
func (m *GetDefaultProviderRequest) String() string
func (*GetDefaultProviderRequest) XXX_DiscardUnknown ¶ added in v1.0.3
func (m *GetDefaultProviderRequest) XXX_DiscardUnknown()
func (*GetDefaultProviderRequest) XXX_Marshal ¶ added in v1.0.3
func (m *GetDefaultProviderRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetDefaultProviderRequest) XXX_Merge ¶ added in v1.0.3
func (m *GetDefaultProviderRequest) XXX_Merge(src proto.Message)
func (*GetDefaultProviderRequest) XXX_Size ¶ added in v1.0.3
func (m *GetDefaultProviderRequest) XXX_Size() int
func (*GetDefaultProviderRequest) XXX_Unmarshal ¶ added in v1.0.3
func (m *GetDefaultProviderRequest) XXX_Unmarshal(b []byte) error
type GetLatestProvidersRequest ¶
type GetLatestProvidersRequest struct { Group string `protobuf:"bytes,1,opt,name=group,proto3" json:"group,omitempty"` Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` Kind string `protobuf:"bytes,3,opt,name=kind,proto3" json:"kind,omitempty"` Plural string `protobuf:"bytes,4,opt,name=plural,proto3" json:"plural,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetLatestProvidersRequest) Descriptor ¶
func (*GetLatestProvidersRequest) Descriptor() ([]byte, []int)
func (*GetLatestProvidersRequest) GetGroup ¶
func (m *GetLatestProvidersRequest) GetGroup() string
func (*GetLatestProvidersRequest) GetKind ¶
func (m *GetLatestProvidersRequest) GetKind() string
func (*GetLatestProvidersRequest) GetPlural ¶
func (m *GetLatestProvidersRequest) GetPlural() string
func (*GetLatestProvidersRequest) GetVersion ¶
func (m *GetLatestProvidersRequest) GetVersion() string
func (*GetLatestProvidersRequest) ProtoMessage ¶
func (*GetLatestProvidersRequest) ProtoMessage()
func (*GetLatestProvidersRequest) Reset ¶
func (m *GetLatestProvidersRequest) Reset()
func (*GetLatestProvidersRequest) String ¶
func (m *GetLatestProvidersRequest) String() string
func (*GetLatestProvidersRequest) XXX_DiscardUnknown ¶ added in v1.0.3
func (m *GetLatestProvidersRequest) XXX_DiscardUnknown()
func (*GetLatestProvidersRequest) XXX_Marshal ¶ added in v1.0.3
func (m *GetLatestProvidersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetLatestProvidersRequest) XXX_Merge ¶ added in v1.0.3
func (m *GetLatestProvidersRequest) XXX_Merge(src proto.Message)
func (*GetLatestProvidersRequest) XXX_Size ¶ added in v1.0.3
func (m *GetLatestProvidersRequest) XXX_Size() int
func (*GetLatestProvidersRequest) XXX_Unmarshal ¶ added in v1.0.3
func (m *GetLatestProvidersRequest) XXX_Unmarshal(b []byte) error
type GetPackageRequest ¶
type GetPackageRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetPackageRequest) Descriptor ¶
func (*GetPackageRequest) Descriptor() ([]byte, []int)
func (*GetPackageRequest) GetName ¶
func (m *GetPackageRequest) GetName() string
func (*GetPackageRequest) ProtoMessage ¶
func (*GetPackageRequest) ProtoMessage()
func (*GetPackageRequest) Reset ¶
func (m *GetPackageRequest) Reset()
func (*GetPackageRequest) String ¶
func (m *GetPackageRequest) String() string
func (*GetPackageRequest) XXX_DiscardUnknown ¶ added in v1.0.3
func (m *GetPackageRequest) XXX_DiscardUnknown()
func (*GetPackageRequest) XXX_Marshal ¶ added in v1.0.3
func (m *GetPackageRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetPackageRequest) XXX_Merge ¶ added in v1.0.3
func (m *GetPackageRequest) XXX_Merge(src proto.Message)
func (*GetPackageRequest) XXX_Size ¶ added in v1.0.3
func (m *GetPackageRequest) XXX_Size() int
func (*GetPackageRequest) XXX_Unmarshal ¶ added in v1.0.3
func (m *GetPackageRequest) XXX_Unmarshal(b []byte) error
type GetReplacementRequest ¶
type GetReplacementRequest struct { CsvName string `protobuf:"bytes,1,opt,name=csvName,proto3" json:"csvName,omitempty"` PkgName string `protobuf:"bytes,2,opt,name=pkgName,proto3" json:"pkgName,omitempty"` ChannelName string `protobuf:"bytes,3,opt,name=channelName,proto3" json:"channelName,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetReplacementRequest) Descriptor ¶
func (*GetReplacementRequest) Descriptor() ([]byte, []int)
func (*GetReplacementRequest) GetChannelName ¶
func (m *GetReplacementRequest) GetChannelName() string
func (*GetReplacementRequest) GetCsvName ¶
func (m *GetReplacementRequest) GetCsvName() string
func (*GetReplacementRequest) GetPkgName ¶
func (m *GetReplacementRequest) GetPkgName() string
func (*GetReplacementRequest) ProtoMessage ¶
func (*GetReplacementRequest) ProtoMessage()
func (*GetReplacementRequest) Reset ¶
func (m *GetReplacementRequest) Reset()
func (*GetReplacementRequest) String ¶
func (m *GetReplacementRequest) String() string
func (*GetReplacementRequest) XXX_DiscardUnknown ¶ added in v1.0.3
func (m *GetReplacementRequest) XXX_DiscardUnknown()
func (*GetReplacementRequest) XXX_Marshal ¶ added in v1.0.3
func (m *GetReplacementRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetReplacementRequest) XXX_Merge ¶ added in v1.0.3
func (m *GetReplacementRequest) XXX_Merge(src proto.Message)
func (*GetReplacementRequest) XXX_Size ¶ added in v1.0.3
func (m *GetReplacementRequest) XXX_Size() int
func (*GetReplacementRequest) XXX_Unmarshal ¶ added in v1.0.3
func (m *GetReplacementRequest) XXX_Unmarshal(b []byte) error
type ListPackageRequest ¶
type ListPackageRequest struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListPackageRequest) Descriptor ¶
func (*ListPackageRequest) Descriptor() ([]byte, []int)
func (*ListPackageRequest) ProtoMessage ¶
func (*ListPackageRequest) ProtoMessage()
func (*ListPackageRequest) Reset ¶
func (m *ListPackageRequest) Reset()
func (*ListPackageRequest) String ¶
func (m *ListPackageRequest) String() string
func (*ListPackageRequest) XXX_DiscardUnknown ¶ added in v1.0.3
func (m *ListPackageRequest) XXX_DiscardUnknown()
func (*ListPackageRequest) XXX_Marshal ¶ added in v1.0.3
func (m *ListPackageRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListPackageRequest) XXX_Merge ¶ added in v1.0.3
func (m *ListPackageRequest) XXX_Merge(src proto.Message)
func (*ListPackageRequest) XXX_Size ¶ added in v1.0.3
func (m *ListPackageRequest) XXX_Size() int
func (*ListPackageRequest) XXX_Unmarshal ¶ added in v1.0.3
func (m *ListPackageRequest) XXX_Unmarshal(b []byte) error
type Package ¶
type Package struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Channels []*Channel `protobuf:"bytes,2,rep,name=channels,proto3" json:"channels,omitempty"` DefaultChannelName string `protobuf:"bytes,3,opt,name=defaultChannelName,proto3" json:"defaultChannelName,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func PackageManifestToAPIPackage ¶ added in v1.0.3
func PackageManifestToAPIPackage(manifest *registry.PackageManifest) *Package
func (*Package) Descriptor ¶
func (*Package) GetChannels ¶
func (*Package) GetDefaultChannelName ¶
func (*Package) ProtoMessage ¶
func (*Package) ProtoMessage()
func (*Package) XXX_DiscardUnknown ¶ added in v1.0.3
func (m *Package) XXX_DiscardUnknown()
func (*Package) XXX_Marshal ¶ added in v1.0.3
func (*Package) XXX_Unmarshal ¶ added in v1.0.3
type PackageName ¶
type PackageName struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PackageName) Descriptor ¶
func (*PackageName) Descriptor() ([]byte, []int)
func (*PackageName) GetName ¶
func (m *PackageName) GetName() string
func (*PackageName) ProtoMessage ¶
func (*PackageName) ProtoMessage()
func (*PackageName) Reset ¶
func (m *PackageName) Reset()
func (*PackageName) String ¶
func (m *PackageName) String() string
func (*PackageName) XXX_DiscardUnknown ¶ added in v1.0.3
func (m *PackageName) XXX_DiscardUnknown()
func (*PackageName) XXX_Marshal ¶ added in v1.0.3
func (m *PackageName) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PackageName) XXX_Merge ¶ added in v1.0.3
func (m *PackageName) XXX_Merge(src proto.Message)
func (*PackageName) XXX_Size ¶ added in v1.0.3
func (m *PackageName) XXX_Size() int
func (*PackageName) XXX_Unmarshal ¶ added in v1.0.3
func (m *PackageName) XXX_Unmarshal(b []byte) error
type RegistryClient ¶
type RegistryClient interface { ListPackages(ctx context.Context, in *ListPackageRequest, opts ...grpc.CallOption) (Registry_ListPackagesClient, error) GetPackage(ctx context.Context, in *GetPackageRequest, opts ...grpc.CallOption) (*Package, error) GetBundle(ctx context.Context, in *GetBundleRequest, opts ...grpc.CallOption) (*Bundle, error) GetBundleForChannel(ctx context.Context, in *GetBundleInChannelRequest, opts ...grpc.CallOption) (*Bundle, error) GetChannelEntriesThatReplace(ctx context.Context, in *GetAllReplacementsRequest, opts ...grpc.CallOption) (Registry_GetChannelEntriesThatReplaceClient, error) GetBundleThatReplaces(ctx context.Context, in *GetReplacementRequest, opts ...grpc.CallOption) (*Bundle, error) GetChannelEntriesThatProvide(ctx context.Context, in *GetAllProvidersRequest, opts ...grpc.CallOption) (Registry_GetChannelEntriesThatProvideClient, error) GetLatestChannelEntriesThatProvide(ctx context.Context, in *GetLatestProvidersRequest, opts ...grpc.CallOption) (Registry_GetLatestChannelEntriesThatProvideClient, error) GetDefaultBundleThatProvides(ctx context.Context, in *GetDefaultProviderRequest, opts ...grpc.CallOption) (*Bundle, error) }
RegistryClient is the client API for Registry service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewRegistryClient ¶
func NewRegistryClient(cc *grpc.ClientConn) RegistryClient
type RegistryServer ¶
type RegistryServer interface { ListPackages(*ListPackageRequest, Registry_ListPackagesServer) error GetPackage(context.Context, *GetPackageRequest) (*Package, error) GetBundle(context.Context, *GetBundleRequest) (*Bundle, error) GetBundleForChannel(context.Context, *GetBundleInChannelRequest) (*Bundle, error) GetChannelEntriesThatReplace(*GetAllReplacementsRequest, Registry_GetChannelEntriesThatReplaceServer) error GetBundleThatReplaces(context.Context, *GetReplacementRequest) (*Bundle, error) GetChannelEntriesThatProvide(*GetAllProvidersRequest, Registry_GetChannelEntriesThatProvideServer) error GetLatestChannelEntriesThatProvide(*GetLatestProvidersRequest, Registry_GetLatestChannelEntriesThatProvideServer) error GetDefaultBundleThatProvides(context.Context, *GetDefaultProviderRequest) (*Bundle, error) }
RegistryServer is the server API for Registry service.
type Registry_GetChannelEntriesThatProvideClient ¶
type Registry_GetChannelEntriesThatProvideClient interface { Recv() (*ChannelEntry, error) grpc.ClientStream }
type Registry_GetChannelEntriesThatProvideServer ¶
type Registry_GetChannelEntriesThatProvideServer interface { Send(*ChannelEntry) error grpc.ServerStream }
type Registry_GetChannelEntriesThatReplaceClient ¶
type Registry_GetChannelEntriesThatReplaceClient interface { Recv() (*ChannelEntry, error) grpc.ClientStream }
type Registry_GetChannelEntriesThatReplaceServer ¶
type Registry_GetChannelEntriesThatReplaceServer interface { Send(*ChannelEntry) error grpc.ServerStream }
type Registry_GetLatestChannelEntriesThatProvideClient ¶
type Registry_GetLatestChannelEntriesThatProvideClient interface { Recv() (*ChannelEntry, error) grpc.ClientStream }
type Registry_GetLatestChannelEntriesThatProvideServer ¶
type Registry_GetLatestChannelEntriesThatProvideServer interface { Send(*ChannelEntry) error grpc.ServerStream }
type Registry_ListPackagesClient ¶
type Registry_ListPackagesClient interface { Recv() (*PackageName, error) grpc.ClientStream }
type Registry_ListPackagesServer ¶
type Registry_ListPackagesServer interface { Send(*PackageName) error grpc.ServerStream }
type UnimplementedRegistryServer ¶
type UnimplementedRegistryServer struct { }
UnimplementedRegistryServer can be embedded to have forward compatible implementations.
func (*UnimplementedRegistryServer) GetBundle ¶
func (*UnimplementedRegistryServer) GetBundle(ctx context.Context, req *GetBundleRequest) (*Bundle, error)
func (*UnimplementedRegistryServer) GetBundleForChannel ¶
func (*UnimplementedRegistryServer) GetBundleForChannel(ctx context.Context, req *GetBundleInChannelRequest) (*Bundle, error)
func (*UnimplementedRegistryServer) GetBundleThatReplaces ¶
func (*UnimplementedRegistryServer) GetBundleThatReplaces(ctx context.Context, req *GetReplacementRequest) (*Bundle, error)
func (*UnimplementedRegistryServer) GetChannelEntriesThatProvide ¶
func (*UnimplementedRegistryServer) GetChannelEntriesThatProvide(req *GetAllProvidersRequest, srv Registry_GetChannelEntriesThatProvideServer) error
func (*UnimplementedRegistryServer) GetChannelEntriesThatReplace ¶
func (*UnimplementedRegistryServer) GetChannelEntriesThatReplace(req *GetAllReplacementsRequest, srv Registry_GetChannelEntriesThatReplaceServer) error
func (*UnimplementedRegistryServer) GetDefaultBundleThatProvides ¶
func (*UnimplementedRegistryServer) GetDefaultBundleThatProvides(ctx context.Context, req *GetDefaultProviderRequest) (*Bundle, error)
func (*UnimplementedRegistryServer) GetLatestChannelEntriesThatProvide ¶
func (*UnimplementedRegistryServer) GetLatestChannelEntriesThatProvide(req *GetLatestProvidersRequest, srv Registry_GetLatestChannelEntriesThatProvideServer) error
func (*UnimplementedRegistryServer) GetPackage ¶
func (*UnimplementedRegistryServer) GetPackage(ctx context.Context, req *GetPackageRequest) (*Package, error)
func (*UnimplementedRegistryServer) ListPackages ¶
func (*UnimplementedRegistryServer) ListPackages(req *ListPackageRequest, srv Registry_ListPackagesServer) error
Click to show internal directories.
Click to hide internal directories.