Documentation ¶
Index ¶
- type Client
- func (c Client) Create(obj *unstructured.Unstructured, options ...mf.ApplyOption) error
- func (c Client) Delete(obj *unstructured.Unstructured, options ...mf.DeleteOption) error
- func (c Client) Get(obj *unstructured.Unstructured) (*unstructured.Unstructured, error)
- func (c Client) Update(obj *unstructured.Unstructured, options ...mf.ApplyOption) error
- type Stubs
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
Stubs
}
A convenient way to stub out a Client for test fixtures. Default behavior does nothing and returns a nil error.
func New ¶
New returns a fully-functioning Client, "persisting" resources in a map, optionally initialized with some API objects
func (Client) Create ¶
func (c Client) Create(obj *unstructured.Unstructured, options ...mf.ApplyOption) error
Manifestival.Client.Create
func (Client) Delete ¶
func (c Client) Delete(obj *unstructured.Unstructured, options ...mf.DeleteOption) error
Manifestival.Client.Delete
func (Client) Get ¶
func (c Client) Get(obj *unstructured.Unstructured) (*unstructured.Unstructured, error)
Manifestival.Client.Get
func (Client) Update ¶
func (c Client) Update(obj *unstructured.Unstructured, options ...mf.ApplyOption) error
Manifestival.Client.Update
Click to show internal directories.
Click to hide internal directories.