Documentation ¶
Index ¶
- Constants
- Variables
- func ApplyUnstructured(ctx context.Context, dynamicClient dynamic.Interface, ...) (*unstructured.Unstructured, error)
- func Decode(data []byte) ([]unstructured.Unstructured, error)
- func NewApplyOptions(dynamicClient dynamic.Interface, discoveryClient discovery.DiscoveryInterface) *applyOptions
- func ObjectToUnstructured(obj runtime.Object) ([]unstructured.Unstructured, error)
- func Patch(currentUnstr *unstructured.Unstructured, modified []byte, name string, ...) ([]byte, types.PatchType, error)
Constants ¶
View Source
const DefaultDecoderBufferSize = 500
Variables ¶
View Source
var Scheme = runtime.NewScheme()
Functions ¶
func ApplyUnstructured ¶
func ApplyUnstructured(ctx context.Context, dynamicClient dynamic.Interface, restMapper meta.RESTMapper, unstructuredObj unstructured.Unstructured, serverSide bool) (*unstructured.Unstructured, error)
func Decode ¶
func Decode(data []byte) ([]unstructured.Unstructured, error)
func NewApplyOptions ¶
func NewApplyOptions(dynamicClient dynamic.Interface, discoveryClient discovery.DiscoveryInterface) *applyOptions
func ObjectToUnstructured ¶
func ObjectToUnstructured(obj runtime.Object) ([]unstructured.Unstructured, error)
func Patch ¶
func Patch(currentUnstr *unstructured.Unstructured, modified []byte, name string, gvk schema.GroupVersionKind) ([]byte, types.PatchType, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.