type objectWithMeta …
type namedObject …
type Client …
type ClientWithList …
type ClientWithApply …
type ClientWithListAndApply …
type alsoLister …
type alsoApplier …
type Option …
func PrefersProtobuf[T objectWithMeta]() Option[T] { … }
func NewClient[T objectWithMeta](
resource string, client rest.Interface, parameterCodec runtime.ParameterCodec, namespace string, emptyObjectCreator func() T,
options ...Option[T],
) *Client[T] { … }
func NewClientWithList[T objectWithMeta, L runtime.Object](
resource string, client rest.Interface, parameterCodec runtime.ParameterCodec, namespace string, emptyObjectCreator func() T,
emptyListCreator func() L, options ...Option[T],
) *ClientWithList[T, L] { … }
func NewClientWithApply[T objectWithMeta, C namedObject](
resource string, client rest.Interface, parameterCodec runtime.ParameterCodec, namespace string, emptyObjectCreator func() T,
options ...Option[T],
) *ClientWithApply[T, C] { … }
func NewClientWithListAndApply[T objectWithMeta, L runtime.Object, C namedObject](
resource string, client rest.Interface, parameterCodec runtime.ParameterCodec, namespace string, emptyObjectCreator func() T,
emptyListCreator func() L, options ...Option[T],
) *ClientWithListAndApply[T, L, C] { … }
func (c *Client[T]) GetClient() rest.Interface { … }
func (c *Client[T]) GetNamespace() string { … }
func (c *Client[T]) Get(ctx context.Context, name string, options metav1.GetOptions) (T, error) { … }
func (l *alsoLister[T, L]) List(ctx context.Context, opts metav1.ListOptions) (L, error) { … }
func (l *alsoLister[T, L]) list(ctx context.Context, opts metav1.ListOptions) (L, error) { … }
func (l *alsoLister[T, L]) watchList(ctx context.Context, opts metav1.ListOptions) (result L, err error) { … }
func (c *Client[T]) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error) { … }
func (c *Client[T]) Create(ctx context.Context, obj T, opts metav1.CreateOptions) (T, error) { … }
func (c *Client[T]) Update(ctx context.Context, obj T, opts metav1.UpdateOptions) (T, error) { … }
func (c *Client[T]) UpdateStatus(ctx context.Context, obj T, opts metav1.UpdateOptions) (T, error) { … }
func (c *Client[T]) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error { … }
func (l *alsoLister[T, L]) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error { … }
func (c *Client[T]) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (T, error) { … }
func (a *alsoApplier[T, C]) Apply(ctx context.Context, obj C, opts metav1.ApplyOptions) (T, error) { … }
func (a *alsoApplier[T, C]) ApplyStatus(ctx context.Context, obj C, opts metav1.ApplyOptions) (T, error) { … }