Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildAppResource ¶
func BuildAppResource(namespace, name string, appSpec sailorv1alpha1.AppSpec) sailorv1alpha1.App
func GetApiVersion ¶
func GetApiVersion() string
Types ¶
type AppInterface ¶
type AppInterface interface { List(ctx context.Context, opts metav1.ListOptions) (*sailorV1alpha1.AppList, error) Get(ctx context.Context, name string, options metav1.GetOptions) (*sailorV1alpha1.App, error) Create(context.Context, *sailorV1alpha1.App) (*sailorV1alpha1.App, error) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error) Delete(ctx context.Context, name string) error Update(ctx context.Context, app *sailorV1alpha1.App) (*sailorV1alpha1.App, error) }
type AppV1Alpha1Client ¶
type AppV1Alpha1Client struct {
// contains filtered or unexported fields
}
func NewForConfig ¶
func NewForConfig(c *rest.Config) (*AppV1Alpha1Client, error)
func (*AppV1Alpha1Client) Apps ¶
func (c *AppV1Alpha1Client) Apps(namespace string) AppInterface
type AppV1Alpha1Interface ¶
type AppV1Alpha1Interface interface {
Apps(namespace string) AppInterface
}
Click to show internal directories.
Click to hide internal directories.