Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Interface ¶
type Interface interface { ModInterface ReadInterface }
Interface has methods to work with Service resources.
type ModInterface ¶
type ModInterface interface { Create(ctx context.Context, service *core.Service, opts meta.CreateOptions) (*core.Service, error) Update(ctx context.Context, service *core.Service, opts meta.UpdateOptions) (*core.Service, error) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts meta.PatchOptions, subresources ...string) (result *core.Service, err error) Delete(ctx context.Context, name string, opts meta.DeleteOptions) error }
ModInterface has methods to work with Service resources only for creation
type ReadInterface ¶
type ReadInterface interface {
Get(ctx context.Context, name string, opts meta.GetOptions) (*core.Service, error)
}
ReadInterface has methods to work with Secret resources with ReadOnly mode.
Click to show internal directories.
Click to hide internal directories.