Documentation ¶
Index ¶
- Constants
- type App
- type Client
- type Fake
- func (f Fake) Create(ctx context.Context, obj client.Object, opts ...client.CreateOption) error
- func (f Fake) Delete(ctx context.Context, obj client.Object, opts ...client.DeleteOption) error
- func (f Fake) DeleteAllOf(ctx context.Context, obj client.Object, opts ...client.DeleteAllOfOption) error
- func (f Fake) Get(ctx context.Context, key client.ObjectKey, obj client.Object, ...) error
- func (f Fake) List(ctx context.Context, list client.ObjectList, opts ...client.ListOption) error
- func (f Fake) Patch(ctx context.Context, obj client.Object, patch client.Patch, ...) error
- func (f Fake) RESTMapper() meta.RESTMapper
- func (f Fake) Scheme() *runtime.Scheme
- func (f Fake) Update(ctx context.Context, obj client.Object, opts ...client.UpdateOption) error
- type ListTemplateResponse
- type Template
- type TemplateOption
Constants ¶
View Source
const (
AnnotationKeyDescription = v1beta1.GroupName + "/description"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type App ¶
type App struct {
// contains filtered or unexported fields
}
func (*App) ListTemplates ¶
ListTemplates responds will all the template resources that exist in a namespace.
type Fake ¶
type Fake struct { GetFunc func(ctx context.Context, key client.ObjectKey, obj client.Object, opts ...client.GetOption) error ListFunc func(ctx context.Context, list client.ObjectList, opts ...client.ListOption) error CreateFunc func(ctx context.Context, obj client.Object, opts ...client.CreateOption) error DeleteFunc func(ctx context.Context, obj client.Object, opts ...client.DeleteOption) error UpdateFunc func(ctx context.Context, obj client.Object, opts ...client.UpdateOption) error PatchFunc func(ctx context.Context, obj client.Object, patch client.Patch, opts ...client.PatchOption) error DeleteAllOfFunc func(ctx context.Context, obj client.Object, opts ...client.DeleteAllOfOption) error // contains filtered or unexported fields }
func (Fake) DeleteAllOf ¶
func (Fake) List ¶
func (f Fake) List(ctx context.Context, list client.ObjectList, opts ...client.ListOption) error
func (Fake) RESTMapper ¶
func (f Fake) RESTMapper() meta.RESTMapper
type ListTemplateResponse ¶
type ListTemplateResponse struct {
Templates []Template `json:"templates"`
}
type Template ¶
type Template struct { Name string `json:"name"` Description string `json:"description"` Options []TemplateOption `json:"options"` Image string `json:"image"` }
type TemplateOption ¶
Click to show internal directories.
Click to hide internal directories.