Documentation ¶
Index ¶
- Constants
- type Impl
- func (i *Impl) ApplySpinApp(ctx context.Context, app *spinv1alpha1.SpinApp) error
- func (i *Impl) DeleteSpinApp(ctx context.Context, name client.ObjectKey) error
- func (i *Impl) GetLogs(ctx context.Context, key client.ObjectKey) ([]byte, error)
- func (i *Impl) GetSpinApp(ctx context.Context, name client.ObjectKey) (spinv1alpha1.SpinApp, error)
- func (i *Impl) ListSpinApps(ctx context.Context, namespace string) (spinv1alpha1.SpinAppList, error)
Constants ¶
View Source
const FieldManager = "spin-plugin-kube"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Impl ¶
type Impl struct {
// contains filtered or unexported fields
}
func New ¶
func New(kubeclient client.Client, configFlags *genericclioptions.ConfigFlags) *Impl
func (*Impl) ApplySpinApp ¶
func (*Impl) DeleteSpinApp ¶
func (*Impl) GetSpinApp ¶
func (*Impl) ListSpinApps ¶
func (i *Impl) ListSpinApps(ctx context.Context, namespace string) (spinv1alpha1.SpinAppList, error)
ListSpinApps returns all resources of type SpinApp in the given namespace. If namespace is the empty string, it returns all SpinApp resources across all namespaces.
Click to show internal directories.
Click to hide internal directories.