subscription

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

type Manager struct {
	// contains filtered or unexported fields
}

Manager manages getting and list profile subscriptions

func NewManager

func NewManager(kClient client.Client) *Manager

NewManager returns a SubscriptionManager

func (*Manager) List

func (sm *Manager) List() ([]SubscriptionSummary, error)

List returns a list of subscriptions

type SubscriptionSummary

type SubscriptionSummary struct {
	Name      string
	Namespace string
	Version   string
	Profile   string
	Catalog   string
	Branch    string
	Path      string
	URL       string
}

SubscriptionSummary contains a summary of a subscription

Jump to

Keyboard shortcuts

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