Documentation ¶
Index ¶
- type LogoStorage
- func (s *LogoStorage) Connect(ctx context.Context, name string, options runtime.Object, ...) (http.Handler, error)
- func (s *LogoStorage) ConnectMethods() []string
- func (s *LogoStorage) Destroy()
- func (s *LogoStorage) New() runtime.Object
- func (s *LogoStorage) NewConnectOptions() (runtime.Object, bool, string)
- func (s *LogoStorage) ProducesMIMETypes(verb string) []string
- func (s *LogoStorage) ProducesObject(verb string) interface{}
- type PackageManifestStorage
- func (m *PackageManifestStorage) Destroy()
- func (m *PackageManifestStorage) Get(ctx context.Context, name string, opts *metav1.GetOptions) (runtime.Object, error)
- func (m *PackageManifestStorage) GetSingularName() string
- func (m *PackageManifestStorage) Kind() string
- func (m *PackageManifestStorage) List(ctx context.Context, options *metainternalversion.ListOptions) (runtime.Object, error)
- func (m *PackageManifestStorage) NamespaceScoped() bool
- func (m *PackageManifestStorage) New() runtime.Object
- func (m *PackageManifestStorage) NewList() runtime.Object
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LogoStorage ¶
type LogoStorage struct {
// contains filtered or unexported fields
}
LogoStorage implements Kubernetes methods needed to provide the `packagemanifests/icon` subresource
func NewLogoStorage ¶
func NewLogoStorage(groupResource schema.GroupResource, prov provider.PackageManifestProvider) *LogoStorage
NewLogoStorage returns struct which implements Kubernetes methods needed to provide the `packagemanifests/icon` subresource
func (*LogoStorage) Connect ¶
func (s *LogoStorage) Connect(ctx context.Context, name string, options runtime.Object, responder rest.Responder) (http.Handler, error)
Connect satisfies the Connector interface and returns the image icon file for a given `PackageManifest`
func (*LogoStorage) ConnectMethods ¶
func (s *LogoStorage) ConnectMethods() []string
ConnectMethods satisfies the Connector interface
func (*LogoStorage) Destroy ¶ added in v0.23.0
func (s *LogoStorage) Destroy()
Destroy satisfies the Storage interface Performs a no-op
func (*LogoStorage) New ¶
func (s *LogoStorage) New() runtime.Object
New satisfies the Storage interface
func (*LogoStorage) NewConnectOptions ¶
func (s *LogoStorage) NewConnectOptions() (runtime.Object, bool, string)
NewConnectOptions satisfies the Connector interface
func (*LogoStorage) ProducesMIMETypes ¶
func (s *LogoStorage) ProducesMIMETypes(verb string) []string
ProducesMIMETypes satisfies the StorageMetadata interface and returns the supported icon image file types
func (*LogoStorage) ProducesObject ¶
func (s *LogoStorage) ProducesObject(verb string) interface{}
ProducesObject satisfies the StorageMetadata interface
type PackageManifestStorage ¶
type PackageManifestStorage struct { rest.TableConvertor // contains filtered or unexported fields }
func NewStorage ¶
func NewStorage(groupResource schema.GroupResource, prov provider.PackageManifestProvider, scheme *runtime.Scheme) *PackageManifestStorage
NewStorage returns a struct that implements methods needed for Kubernetes to satisfy API requests for the `PackageManifest` resource
func (*PackageManifestStorage) Destroy ¶ added in v0.23.0
func (m *PackageManifestStorage) Destroy()
Destroy satisfies the Storage interface Performs a no-op
func (*PackageManifestStorage) Get ¶
func (m *PackageManifestStorage) Get(ctx context.Context, name string, opts *metav1.GetOptions) (runtime.Object, error)
Get satisfies the Getter interface
func (*PackageManifestStorage) GetSingularName ¶ added in v0.26.0
func (m *PackageManifestStorage) GetSingularName() string
func (*PackageManifestStorage) Kind ¶
func (m *PackageManifestStorage) Kind() string
Kind satisfies the KindProvider interface
func (*PackageManifestStorage) List ¶
func (m *PackageManifestStorage) List(ctx context.Context, options *metainternalversion.ListOptions) (runtime.Object, error)
List satisfies part of the Lister interface
func (*PackageManifestStorage) NamespaceScoped ¶
func (m *PackageManifestStorage) NamespaceScoped() bool
NamespaceScoped satisfies the Scoper interface
func (*PackageManifestStorage) New ¶
func (m *PackageManifestStorage) New() runtime.Object
New satisfies the Storage interface
func (*PackageManifestStorage) NewList ¶
func (m *PackageManifestStorage) NewList() runtime.Object
NewList satisfies part of the Lister interface