Documentation ¶
Index ¶
- func NewDynamicClient(objects ...runtime.Object) dynamic.Interface
- type DynamicResourceClient
- func (f *DynamicResourceClient) Create(obj *unstructured.Unstructured, options v1.CreateOptions, ...) (*unstructured.Unstructured, error)
- func (f *DynamicResourceClient) Delete(name string, options *v1.DeleteOptions, subresources ...string) error
- func (f *DynamicResourceClient) Get(name string, options v1.GetOptions, subresources ...string) (*unstructured.Unstructured, error)
- func (f *DynamicResourceClient) Update(obj *unstructured.Unstructured, options v1.UpdateOptions, ...) (*unstructured.Unstructured, error)
- func (f *DynamicResourceClient) VerifyNoCreate(name string)
- func (f *DynamicResourceClient) VerifyNoDelete(name string)
- func (f *DynamicResourceClient) VerifyNoUpdate(name string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DynamicResourceClient ¶
type DynamicResourceClient struct { dynamic.ResourceInterface FailOnCreate error PersistentFailOnCreate atomic.Value FailOnUpdate error PersistentFailOnUpdate atomic.Value FailOnDelete error PersistentFailOnDelete atomic.Value FailOnGet error PersistentFailOnGet atomic.Value // contains filtered or unexported fields }
func (*DynamicResourceClient) Create ¶
func (f *DynamicResourceClient) Create(obj *unstructured.Unstructured, options v1.CreateOptions, subresources ...string) (*unstructured.Unstructured, error)
func (*DynamicResourceClient) Delete ¶
func (f *DynamicResourceClient) Delete(name string, options *v1.DeleteOptions, subresources ...string) error
func (*DynamicResourceClient) Get ¶
func (f *DynamicResourceClient) Get(name string, options v1.GetOptions, subresources ...string) (*unstructured.Unstructured, error)
func (*DynamicResourceClient) Update ¶
func (f *DynamicResourceClient) Update(obj *unstructured.Unstructured, options v1.UpdateOptions, subresources ...string) (*unstructured.Unstructured, error)
func (*DynamicResourceClient) VerifyNoCreate ¶
func (f *DynamicResourceClient) VerifyNoCreate(name string)
func (*DynamicResourceClient) VerifyNoDelete ¶
func (f *DynamicResourceClient) VerifyNoDelete(name string)
func (*DynamicResourceClient) VerifyNoUpdate ¶
func (f *DynamicResourceClient) VerifyNoUpdate(name string)
Click to show internal directories.
Click to hide internal directories.