Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FilterObject ¶
func FilterObject(acs *api.ArangoClusterSynchronization, filters ...Filter) bool
Types ¶
type Action ¶
type Action func(acs *api.ArangoClusterSynchronization) error
type Filter ¶
type Filter func(acs *api.ArangoClusterSynchronization) bool
type Inspector ¶
type Inspector interface { gvk.GVK ListSimple() []*api.ArangoClusterSynchronization GetSimple(name string) (*api.ArangoClusterSynchronization, bool) Filter(filters ...Filter) []*api.ArangoClusterSynchronization Iterate(action Action, filters ...Filter) error Read() ReadInterface }
type Interface ¶
type Interface interface { ModInterface ReadInterface }
Interface has methods to work with GetSimple resources.
type ModInterface ¶
type ModInterface interface { Create(ctx context.Context, acs *api.ArangoClusterSynchronization, opts meta.CreateOptions) (*api.ArangoClusterSynchronization, error) Update(ctx context.Context, acs *api.ArangoClusterSynchronization, opts meta.UpdateOptions) (*api.ArangoClusterSynchronization, error) UpdateStatus(ctx context.Context, acs *api.ArangoClusterSynchronization, opts meta.UpdateOptions) (*api.ArangoClusterSynchronization, error) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts meta.PatchOptions, subresources ...string) (result *api.ArangoClusterSynchronization, err error) Delete(ctx context.Context, name string, opts meta.DeleteOptions) error }
ModInterface has methods to work with GetSimple resources only for creation
type ReadInterface ¶
type ReadInterface interface {
Get(ctx context.Context, name string, opts meta.GetOptions) (*api.ArangoClusterSynchronization, error)
}
ReadInterface has methods to work with GetSimple resources with ReadOnly mode.
Click to show internal directories.
Click to hide internal directories.