Versions in this module Expand all Collapse all v0 v0.0.1 Sep 30, 2026 Changes in this version + const BaseURLEnvName + const TokenEnvName + const TokenFileEnvName + func IgnoreUnexported() cmp.Option + type Apimvmv1 interface + Location func() mvmv1connect.LocationServiceClient + MVM func() mvmv1connect.MVMServiceClient + OS func() mvmv1connect.OSServiceClient + VLAN func() mvmv1connect.VLANServiceClient + type Apiv1 interface + Health func() apiv1connect.HealthServiceClient + IP func() apiv1connect.IPServiceClient + Method func() apiv1connect.MethodServiceClient + Project func() apiv1connect.ProjectServiceClient + Tenant func() apiv1connect.TenantServiceClient + Token func() apiv1connect.TokenServiceClient + Version func() apiv1connect.VersionServiceClient + type Client interface + Apimvmv1 func() Apimvmv1 + Apiv1 func() Apiv1 + func New(config *DialConfig) (Client, error) + type ClientCall struct + WantError *connect.Error + WantRequest proto.Message + WantResponse func() connect.AnyResponse + type DialConfig struct + BaseURL string + Interceptors []connect.Interceptor + Log *slog.Logger + Token string + TokenFile string + TokenFileRereadDuration time.Duration + TokenRenewal *TokenRenewal + Transport http.RoundTripper + UserAgent string + func (d *DialConfig) HttpClient() *http.Client + type PersistTokenFn func(token string) error + func NewFilesystemTokenPersister(tokenFile string) (PersistTokenFn, error) + type TestClientInterceptor struct + func NewTestInterceptor(t *testing.T, calls []ClientCall) *TestClientInterceptor + func (t *TestClientInterceptor) WrapStreamingClient(connect.StreamingClientFunc) connect.StreamingClientFunc + func (t *TestClientInterceptor) WrapStreamingHandler(connect.StreamingHandlerFunc) connect.StreamingHandlerFunc + func (t *TestClientInterceptor) WrapUnary(next connect.UnaryFunc) connect.UnaryFunc + type TokenRenewal struct + PersistTokenFn PersistTokenFn