Documentation ¶
Index ¶
- type Set
- func (p *Set) ForMap(path string, currValues, desiredValues map[string]*string, addSupported bool)
- func (p *Set) ForSlice(path string, currValues, desiredValues []*string)
- func (p *Set) GetPatchOperations() []*apigateway.PatchOperation
- func (p *Set) Remove(path string)
- func (p *Set) Replace(path string, desiredVal *string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Set ¶
type Set struct {
// contains filtered or unexported fields
}
A Set allows creating a set of patch operations that can be applied to a resource.
func (*Set) ForMap ¶
ForMap adds patch operations to this set at the specified path for replacing existing keys with new values and removing keys that no longer exist.
func (*Set) ForSlice ¶
ForSlice adds patch operations to this set at the specified path for adding new values and removing old values.
func (*Set) GetPatchOperations ¶
func (p *Set) GetPatchOperations() []*apigateway.PatchOperation
GetPatchOperations returns the patch operations applied to this set.
Click to show internal directories.
Click to hide internal directories.