Documentation ¶
Index ¶
- type DiffContext
- func (r *DiffContext) DeleteDir() error
- func (r *DiffContext) DeleteStoreItem(ctx context.Context, pkgName, blockName string, rn *yaml.RNode) error
- func (r *DiffContext) GetStoreItem(ctx context.Context, pkgName, blockName string, rn *yaml.RNode) runtime.Object
- func (r *DiffContext) Path() string
- func (r *DiffContext) Print(fileName string, obj runtime.Object) error
- type Differ
- type Masker
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DiffContext ¶
type DiffContext struct { Store store.Storer[store.Storer[data.BlockData]] // contains filtered or unexported fields }
func NewDiffContext ¶
func (*DiffContext) DeleteDir ¶
func (r *DiffContext) DeleteDir() error
func (*DiffContext) DeleteStoreItem ¶
func (*DiffContext) GetStoreItem ¶
func (*DiffContext) Path ¶
func (r *DiffContext) Path() string
type Differ ¶
type Differ struct { From *DiffContext To *DiffContext }
func (*Differ) GetResourceToPrune ¶
type Masker ¶
type Masker struct {
// contains filtered or unexported fields
}
Masker masks sensitive values in an object while preserving diff-able changes.
All sensitive values in the object will be masked with a fixed-length asterisk mask. If two values are different, an additional suffix will be added so they can be diff-ed.
Click to show internal directories.
Click to hide internal directories.