Documentation ¶
Index ¶
- type Builder
- type StubBuilder
- func (stubBuilder StubBuilder) Build() (dtclient.Client, error)
- func (stubBuilder StubBuilder) BuildWithTokenVerification(*dynatracev1beta1.DynaKubeStatus) (dtclient.Client, error)
- func (stubBuilder StubBuilder) LastApiProbeTimestamp() *metav1.Time
- func (stubBuilder StubBuilder) SetContext(context.Context) Builder
- func (stubBuilder StubBuilder) SetDynakube(dynatracev1beta1.DynaKube) Builder
- func (stubBuilder StubBuilder) SetTokens(token.Tokens) Builder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Builder ¶
type Builder interface { SetContext(ctx context.Context) Builder SetDynakube(dynakube dynatracev1beta1.DynaKube) Builder SetTokens(tokens token.Tokens) Builder Build() (dtclient.Client, error) BuildWithTokenVerification(dynaKubeStatus *dynatracev1beta1.DynaKubeStatus) (dtclient.Client, error) }
func NewBuilder ¶
type StubBuilder ¶
StubBuilder can be used for unit tests where a full builder implementation is not needed
func (StubBuilder) BuildWithTokenVerification ¶
func (stubBuilder StubBuilder) BuildWithTokenVerification(*dynatracev1beta1.DynaKubeStatus) (dtclient.Client, error)
func (StubBuilder) LastApiProbeTimestamp ¶
func (stubBuilder StubBuilder) LastApiProbeTimestamp() *metav1.Time
func (StubBuilder) SetContext ¶
func (stubBuilder StubBuilder) SetContext(context.Context) Builder
func (StubBuilder) SetDynakube ¶
func (stubBuilder StubBuilder) SetDynakube(dynatracev1beta1.DynaKube) Builder
Click to show internal directories.
Click to hide internal directories.