Versions in this module Expand all Collapse all v0 v0.9.1 Feb 13, 2026 v0.9.0 Feb 13, 2026 Changes in this version + func GetKubeToken() (string, error) + func NewClient(options ...pkg.HTTPOption) *http.Client + func SetBearerToken(req *http.Request, token string) + func SetKubeAuthToken(req *http.Request) error + type ClientMock struct + DoMock mClientMockDo + func NewClientMock(t minimock.Tester) *ClientMock + func (m *ClientMock) MinimockDoDone() bool + func (m *ClientMock) MinimockDoInspect() + func (m *ClientMock) MinimockFinish() + func (m *ClientMock) MinimockWait(timeout mm_time.Duration) + func (mmDo *ClientMock) Do(req *http.Request) (rp1 *http.Response, err error) + func (mmDo *ClientMock) DoAfterCounter() uint64 + func (mmDo *ClientMock) DoBeforeCounter() uint64 + type ClientMockDoExpectation struct + Counter uint64 + func (e *ClientMockDoExpectation) Then(rp1 *http.Response, err error) *ClientMock + type ClientMockDoParams struct + type ClientMockDoResults struct + type Option func(optionsApplier pkg.HTTPOptionApplier) + func WithAdditionalCACerts(certs [][]byte) Option + func WithInsecureSkipVerify() Option + func WithTLSServerName(name string) Option + func WithTimeout(t time.Duration) Option + func (opt Option) Apply(o pkg.HTTPOptionApplier)