Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Diff ¶
func Diff(plan apply.Plan, bd *fleet.BundleDeployment, ns string, objs ...runtime.Object) (apply.Plan, error)
Diff factors the bundledeployment's bundle diff patches into the plan from DryRun. This way, the status of the bundledeployment can be updated accurately.
Types ¶
type Applied ¶
type Applied struct {
// contains filtered or unexported fields
}
func (*Applied) DryRun ¶
func (a *Applied) DryRun(defaultNS string, setID string, objs ...runtime.Object) (apply.Plan, error)
DryRun does a dry run of the apply to get the difference between the desired and live state. It needs a client. This adds the "objectset.rio.cattle.io/applied" annotation, which is used for tracking changes.
Click to show internal directories.
Click to hide internal directories.