Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GenericResolver ¶
GenericResolver is a generic targetresolver that checks which actual resolver is required and then uses it to resolve the Target.
func New ¶
func New(c client.Client) *GenericResolver
New creates a new GenericResolver. This constructor's argument list is the union of all actual targetresolver's arguments. The given arguments may be nil, if it is known that the specific resolver which requires the argument will not be needed, but this will cause errors if done wrong (which tries to instantiate an actual resolver with nil arguments).
func (GenericResolver) Resolve ¶
func (gr GenericResolver) Resolve(ctx context.Context, target *lsv1alpha1.Target) (*lsv1alpha1.ResolvedTarget, error)
Click to show internal directories.
Click to hide internal directories.