api

package
v1.8.0 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2020 License: Apache-2.0 Imports: 5 Imported by: 26

Documentation

Overview

Package api is a generated protocol buffer package.

It is generated from these files:

registry.proto

It has these top-level messages:

Channel
PackageName
Package
GroupVersionKind
Bundle
ChannelEntry
ListPackageRequest
GetPackageRequest
GetBundleRequest
GetBundleInChannelRequest
GetAllReplacementsRequest
GetReplacementRequest
GetAllProvidersRequest
GetLatestProvidersRequest
GetDefaultProviderRequest

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterRegistryServer

func RegisterRegistryServer(s *grpc.Server, srv RegistryServer)

Types

type Bundle

type Bundle struct {
	CsvName      string              `protobuf:"bytes,1,opt,name=csvName" json:"csvName,omitempty"`
	PackageName  string              `protobuf:"bytes,2,opt,name=packageName" json:"packageName,omitempty"`
	ChannelName  string              `protobuf:"bytes,3,opt,name=channelName" json:"channelName,omitempty"`
	CsvJson      string              `protobuf:"bytes,4,opt,name=csvJson" json:"csvJson,omitempty"`
	Object       []string            `protobuf:"bytes,5,rep,name=object" json:"object,omitempty"`
	BundlePath   string              `protobuf:"bytes,6,opt,name=bundlePath" json:"bundlePath,omitempty"`
	ProvidedApis []*GroupVersionKind `protobuf:"bytes,7,rep,name=providedApis" json:"providedApis,omitempty"`
	RequiredApis []*GroupVersionKind `protobuf:"bytes,8,rep,name=requiredApis" json:"requiredApis,omitempty"`
	Version      string              `protobuf:"bytes,9,opt,name=version" json:"version,omitempty"`
	SkipRange    string              `protobuf:"bytes,10,opt,name=skipRange" json:"skipRange,omitempty"`
}

func (*Bundle) Descriptor

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

func (*Bundle) GetBundlePath

func (m *Bundle) GetBundlePath() string

func (*Bundle) GetChannelName

func (m *Bundle) GetChannelName() string

func (*Bundle) GetCsvJson

func (m *Bundle) GetCsvJson() string

func (*Bundle) GetCsvName

func (m *Bundle) GetCsvName() string

func (*Bundle) GetObject

func (m *Bundle) GetObject() []string

func (*Bundle) GetPackageName

func (m *Bundle) GetPackageName() string

func (*Bundle) GetProvidedApis

func (m *Bundle) GetProvidedApis() []*GroupVersionKind

func (*Bundle) GetRequiredApis

func (m *Bundle) GetRequiredApis() []*GroupVersionKind

func (*Bundle) GetSkipRange

func (m *Bundle) GetSkipRange() string

func (*Bundle) GetVersion

func (m *Bundle) GetVersion() string

func (*Bundle) ProtoMessage

func (*Bundle) ProtoMessage()

func (*Bundle) Reset

func (m *Bundle) Reset()

func (*Bundle) String

func (m *Bundle) String() string

type Channel

type Channel struct {
	Name    string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
	CsvName string `protobuf:"bytes,2,opt,name=csvName" json:"csvName,omitempty"`
}

func (*Channel) Descriptor

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

func (*Channel) GetCsvName

func (m *Channel) GetCsvName() string

func (*Channel) GetName

func (m *Channel) GetName() string

func (*Channel) ProtoMessage

func (*Channel) ProtoMessage()

func (*Channel) Reset

func (m *Channel) Reset()

func (*Channel) String

func (m *Channel) String() string

type ChannelEntry

type ChannelEntry struct {
	PackageName string `protobuf:"bytes,1,opt,name=packageName" json:"packageName,omitempty"`
	ChannelName string `protobuf:"bytes,2,opt,name=channelName" json:"channelName,omitempty"`
	BundleName  string `protobuf:"bytes,3,opt,name=bundleName" json:"bundleName,omitempty"`
	Replaces    string `protobuf:"bytes,4,opt,name=replaces" json:"replaces,omitempty"`
}

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

type GetAllProvidersRequest

type GetAllProvidersRequest struct {
	Group   string `protobuf:"bytes,1,opt,name=group" json:"group,omitempty"`
	Version string `protobuf:"bytes,2,opt,name=version" json:"version,omitempty"`
	Kind    string `protobuf:"bytes,3,opt,name=kind" json:"kind,omitempty"`
	Plural  string `protobuf:"bytes,4,opt,name=plural" json:"plural,omitempty"`
}

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

type GetAllReplacementsRequest

type GetAllReplacementsRequest struct {
	CsvName string `protobuf:"bytes,1,opt,name=csvName" json:"csvName,omitempty"`
}

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

type GetBundleInChannelRequest

type GetBundleInChannelRequest struct {
	PkgName     string `protobuf:"bytes,1,opt,name=pkgName" json:"pkgName,omitempty"`
	ChannelName string `protobuf:"bytes,2,opt,name=channelName" json:"channelName,omitempty"`
}

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

type GetBundleRequest

type GetBundleRequest struct {
	PkgName     string `protobuf:"bytes,1,opt,name=pkgName" json:"pkgName,omitempty"`
	ChannelName string `protobuf:"bytes,2,opt,name=channelName" json:"channelName,omitempty"`
	CsvName     string `protobuf:"bytes,3,opt,name=csvName" json:"csvName,omitempty"`
}

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

type GetDefaultProviderRequest

type GetDefaultProviderRequest struct {
	Group   string `protobuf:"bytes,1,opt,name=group" json:"group,omitempty"`
	Version string `protobuf:"bytes,2,opt,name=version" json:"version,omitempty"`
	Kind    string `protobuf:"bytes,3,opt,name=kind" json:"kind,omitempty"`
	Plural  string `protobuf:"bytes,4,opt,name=plural" json:"plural,omitempty"`
}

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

type GetLatestProvidersRequest

type GetLatestProvidersRequest struct {
	Group   string `protobuf:"bytes,1,opt,name=group" json:"group,omitempty"`
	Version string `protobuf:"bytes,2,opt,name=version" json:"version,omitempty"`
	Kind    string `protobuf:"bytes,3,opt,name=kind" json:"kind,omitempty"`
	Plural  string `protobuf:"bytes,4,opt,name=plural" json:"plural,omitempty"`
}

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

type GetPackageRequest

type GetPackageRequest struct {
	Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
}

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

type GetReplacementRequest

type GetReplacementRequest struct {
	CsvName     string `protobuf:"bytes,1,opt,name=csvName" json:"csvName,omitempty"`
	PkgName     string `protobuf:"bytes,2,opt,name=pkgName" json:"pkgName,omitempty"`
	ChannelName string `protobuf:"bytes,3,opt,name=channelName" json:"channelName,omitempty"`
}

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

type GroupVersionKind

type GroupVersionKind struct {
	Group   string `protobuf:"bytes,1,opt,name=group" json:"group,omitempty"`
	Version string `protobuf:"bytes,2,opt,name=version" json:"version,omitempty"`
	Kind    string `protobuf:"bytes,3,opt,name=kind" json:"kind,omitempty"`
	Plural  string `protobuf:"bytes,4,opt,name=plural" json:"plural,omitempty"`
}

func (*GroupVersionKind) Descriptor

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

func (*GroupVersionKind) GetGroup

func (m *GroupVersionKind) GetGroup() string

func (*GroupVersionKind) GetKind

func (m *GroupVersionKind) GetKind() string

func (*GroupVersionKind) GetPlural

func (m *GroupVersionKind) GetPlural() string

func (*GroupVersionKind) GetVersion

func (m *GroupVersionKind) GetVersion() string

func (*GroupVersionKind) ProtoMessage

func (*GroupVersionKind) ProtoMessage()

func (*GroupVersionKind) Reset

func (m *GroupVersionKind) Reset()

func (*GroupVersionKind) String

func (m *GroupVersionKind) String() string

type ListPackageRequest

type ListPackageRequest struct {
}

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

type Package

type Package struct {
	Name               string     `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
	Channels           []*Channel `protobuf:"bytes,2,rep,name=channels" json:"channels,omitempty"`
	DefaultChannelName string     `protobuf:"bytes,3,opt,name=defaultChannelName" json:"defaultChannelName,omitempty"`
}

func (*Package) Descriptor

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

func (*Package) GetChannels

func (m *Package) GetChannels() []*Channel

func (*Package) GetDefaultChannelName

func (m *Package) GetDefaultChannelName() string

func (*Package) GetName

func (m *Package) GetName() string

func (*Package) ProtoMessage

func (*Package) ProtoMessage()

func (*Package) Reset

func (m *Package) Reset()

func (*Package) String

func (m *Package) String() string

type PackageName

type PackageName struct {
	Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
}

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

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)
}

func NewRegistryClient

func NewRegistryClient(cc *grpc.ClientConn) RegistryClient

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
}

Directories

Path Synopsis
Package grpc_health_v1 is a generated protocol buffer package.
Package grpc_health_v1 is a generated protocol buffer package.

Jump to

Keyboard shortcuts

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