Documentation ¶
Index ¶
- func WaitUntilConditionSatisfied(ctx context.Context, resCli dynamic.ResourceInterface, ...) error
- type Resource
- func (r *Resource) Create(res interface{}) (string, error)
- func (r *Resource) Delete(name string) error
- func (r *Resource) Get(name string) (*unstructured.Unstructured, error)
- func (r *Resource) List(set map[string]string) (*unstructured.UnstructuredList, error)
- func (r *Resource) Update(res interface{}) (*unstructured.Unstructured, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Resource ¶
type Resource struct { ResCli dynamic.ResourceInterface // contains filtered or unexported fields }
func (*Resource) Get ¶
func (r *Resource) Get(name string) (*unstructured.Unstructured, error)
func (*Resource) List ¶
func (r *Resource) List(set map[string]string) (*unstructured.UnstructuredList, error)
func (*Resource) Update ¶
func (r *Resource) Update(res interface{}) (*unstructured.Unstructured, error)
Click to show internal directories.
Click to hide internal directories.