Documentation ¶
Overview ¶
Package appchart collects the structures and functions that deal with epinio's app chart CR
Index ¶
- func Exists(ctx context.Context, cluster *kubernetes.Cluster, name string) (bool, error)
- func Get(ctx context.Context, cluster *kubernetes.Cluster, name string) (*unstructured.Unstructured, error)
- func List(ctx context.Context, cluster *kubernetes.Cluster) (models.AppChartList, error)
- func Lookup(ctx context.Context, cluster *kubernetes.Cluster, name string) (*models.AppChartFull, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Get ¶
func Get(ctx context.Context, cluster *kubernetes.Cluster, name string) (*unstructured.Unstructured, error)
Get returns the app chart resource from the cluster. This should be changed to return a typed application struct, like epinioappv1.AppChartSpec if needed in the future.
func List ¶
func List(ctx context.Context, cluster *kubernetes.Cluster) (models.AppChartList, error)
List returns a slice of all known app chart CRs.
func Lookup ¶
func Lookup(ctx context.Context, cluster *kubernetes.Cluster, name string) (*models.AppChartFull, error)
Lookup returns the named app chart, or nil
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.