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