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