Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildCmd ¶
func BuildCmd[ I server.ClientContextInjector[C], T server.ConfigType[T], G server.GetRequestType, S server.SetRequestType[T], R server.ResetRequestType[T], D server.DryRunRequestType[T], DR server.DryRunResponseType[T], H server.HistoryRequestType, HR server.HistoryResponseType[T], C interface { server.GetClient[T, G] server.SetClient[T, S] server.ResetClient[T, R] server.DryRunClient[T, D, DR] server.HistoryClient[T, H, HR] }, ](use string, cci I) *cobra.Command
Builds a rollback command given a use string and a function that returns a new typed client from a (generated) service context injector.
rollback.BuildCmd("rollback", XContextInjector)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.