Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildCmd ¶
func BuildCmd[ C driverutil.Client[T, R, D, DR, HR], T driverutil.ConfigType[T], R driverutil.ResetRequestType[T], D driverutil.DryRunRequestType[T], DR driverutil.DryRunResponseType[T], HR driverutil.HistoryResponseType[T], ](use string, newClientFunc func(context.Context) (C, bool)) *cobra.Command
Builds a rollback command given a use string and a function that returns a new typed client from a context (this function is usually generated).
rollback.BuildCmd("rollback", NewXClientFromContext)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.