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