Documentation
¶
Index ¶
- Constants
- Variables
- func AfterGracePeriod(d *DeviceIssue) bool
- func RegisterAPIServerServer(s grpc.ServiceRegistrar, srv APIServerServer)
- func RegisterDeviceAgentServer(s grpc.ServiceRegistrar, srv DeviceAgentServer)
- func RegisterDeviceHelperServer(s grpc.ServiceRegistrar, srv DeviceHelperServer)
- type APIServerClient
- type APIServerLoginRequest
- func (*APIServerLoginRequest) Descriptor() ([]byte, []int)deprecated
- func (x *APIServerLoginRequest) GetPlatform() string
- func (x *APIServerLoginRequest) GetSerial() string
- func (x *APIServerLoginRequest) GetToken() string
- func (x *APIServerLoginRequest) GetVersion() string
- func (*APIServerLoginRequest) ProtoMessage()
- func (x *APIServerLoginRequest) ProtoReflect() protoreflect.Message
- func (x *APIServerLoginRequest) Reset()
- func (x *APIServerLoginRequest) String() string
- type APIServerLoginResponse
- func (*APIServerLoginResponse) Descriptor() ([]byte, []int)deprecated
- func (x *APIServerLoginResponse) GetSession() *Session
- func (*APIServerLoginResponse) ProtoMessage()
- func (x *APIServerLoginResponse) ProtoReflect() protoreflect.Message
- func (x *APIServerLoginResponse) Reset()
- func (x *APIServerLoginResponse) String() string
- type APIServerServer
- type APIServer_GetDeviceConfigurationClient
- type APIServer_GetDeviceConfigurationServer
- type APIServer_GetGatewayConfigurationClient
- type APIServer_GetGatewayConfigurationServer
- type APIServer_ListGatewaysClient
- type APIServer_ListGatewaysServer
- type AgentConfiguration
- func (*AgentConfiguration) Descriptor() ([]byte, []int)deprecated
- func (x *AgentConfiguration) GetAutoConnect() bool
- func (x *AgentConfiguration) GetILoveNinetiesBoybands() bool
- func (*AgentConfiguration) ProtoMessage()
- func (x *AgentConfiguration) ProtoReflect() protoreflect.Message
- func (x *AgentConfiguration) Reset()
- func (x *AgentConfiguration) String() string
- type AgentState
- type AgentStatus
- func (x *AgentStatus) ConnectionStateString() string
- func (*AgentStatus) Descriptor() ([]byte, []int)deprecated
- func (x *AgentStatus) GetConnectedSince() *timestamppb.Timestamp
- func (x *AgentStatus) GetConnectionState() AgentState
- func (x *AgentStatus) GetGateways() []*Gateway
- func (x *AgentStatus) GetIssues() []*DeviceIssue
- func (x *AgentStatus) GetNewVersionAvailable() bool
- func (x *AgentStatus) GetTenants() []*Tenant
- func (*AgentStatus) ProtoMessage()
- func (x *AgentStatus) ProtoReflect() protoreflect.Message
- func (x *AgentStatus) Reset()
- func (x *AgentStatus) String() string
- type AgentStatusRequest
- func (*AgentStatusRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AgentStatusRequest) GetKeepConnectionOnComplete() bool
- func (*AgentStatusRequest) ProtoMessage()
- func (x *AgentStatusRequest) ProtoReflect() protoreflect.Message
- func (x *AgentStatusRequest) Reset()
- func (x *AgentStatusRequest) String() string
- type AuthProvider
- func (AuthProvider) Descriptor() protoreflect.EnumDescriptor
- func (x AuthProvider) Enum() *AuthProvider
- func (AuthProvider) EnumDescriptor() ([]byte, []int)deprecated
- func (x AuthProvider) Number() protoreflect.EnumNumber
- func (x AuthProvider) String() string
- func (AuthProvider) Type() protoreflect.EnumType
- type Configuration
- func (*Configuration) Descriptor() ([]byte, []int)deprecated
- func (x *Configuration) GetDeviceIPv4() string
- func (x *Configuration) GetDeviceIPv6() string
- func (x *Configuration) GetGateways() []*Gateway
- func (x *Configuration) GetPrivateKey() string
- func (*Configuration) ProtoMessage()
- func (x *Configuration) ProtoReflect() protoreflect.Message
- func (x *Configuration) Reset()
- func (x *Configuration) String() string
- type ConfigureJITARequest
- func (*ConfigureJITARequest) Descriptor() ([]byte, []int)deprecated
- func (x *ConfigureJITARequest) GetGateway() *Gateway
- func (*ConfigureJITARequest) ProtoMessage()
- func (x *ConfigureJITARequest) ProtoReflect() protoreflect.Message
- func (x *ConfigureJITARequest) Reset()
- func (x *ConfigureJITARequest) String() string
- type ConfigureJITAResponse
- type ConfigureResponse
- type ConnectionNotifier
- func (h *ConnectionNotifier) Connect() <-chan any
- func (h *ConnectionNotifier) Disconnect() <-chan any
- func (h *ConnectionNotifier) HandleConn(ctx context.Context, s stats.ConnStats)
- func (h *ConnectionNotifier) HandleRPC(ctx context.Context, s stats.RPCStats)
- func (h *ConnectionNotifier) TagConn(ctx context.Context, info *stats.ConnTagInfo) context.Context
- func (h *ConnectionNotifier) TagRPC(ctx context.Context, info *stats.RPCTagInfo) context.Context
- type Device
- func (*Device) Descriptor() ([]byte, []int)deprecated
- func (x *Device) GetAllowedIPs() []string
- func (x *Device) GetEndpoint() string
- func (x *Device) GetExternalID() string
- func (x *Device) GetId() int64
- func (x *Device) GetIpv4() string
- func (x *Device) GetIpv6() string
- func (x *Device) GetIssues() []*DeviceIssue
- func (x *Device) GetLastSeen() *timestamppb.Timestamp
- func (x *Device) GetLastUpdated() *timestamppb.Timestamp
- func (x *Device) GetName() string
- func (x *Device) GetPlatform() string
- func (x *Device) GetPublicKey() string
- func (x *Device) GetSerial() string
- func (x *Device) GetUsername() string
- func (x *Device) Healthy() bool
- func (*Device) ProtoMessage()
- func (x *Device) ProtoReflect() protoreflect.Message
- func (x *Device) Reset()
- func (x *Device) String() string
- type DeviceAgentClient
- type DeviceAgentServer
- type DeviceAgent_StatusClient
- type DeviceAgent_StatusServer
- type DeviceConfigurationStatus
- func (DeviceConfigurationStatus) Descriptor() protoreflect.EnumDescriptor
- func (x DeviceConfigurationStatus) Enum() *DeviceConfigurationStatus
- func (DeviceConfigurationStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x DeviceConfigurationStatus) Number() protoreflect.EnumNumber
- func (x DeviceConfigurationStatus) String() string
- func (DeviceConfigurationStatus) Type() protoreflect.EnumType
- type DeviceHelperClient
- type DeviceHelperServer
- type DeviceIssue
- func (*DeviceIssue) Descriptor() ([]byte, []int)deprecated
- func (d *DeviceIssue) Equal(other *DeviceIssue) bool
- func (x *DeviceIssue) GetDetectedAt() *timestamppb.Timestamp
- func (x *DeviceIssue) GetLastUpdated() *timestamppb.Timestamp
- func (x *DeviceIssue) GetMessage() string
- func (x *DeviceIssue) GetResolveBefore() *timestamppb.Timestamp
- func (x *DeviceIssue) GetSeverity() Severity
- func (x *DeviceIssue) GetTitle() string
- func (*DeviceIssue) ProtoMessage()
- func (x *DeviceIssue) ProtoReflect() protoreflect.Message
- func (x *DeviceIssue) Reset()
- func (x *DeviceIssue) String() string
- type Error
- type Gateway
- func (*Gateway) Descriptor() ([]byte, []int)deprecated
- func (x *Gateway) Equal(other *Gateway) bool
- func (x *Gateway) GetAccessGroupIDs() []string
- func (x *Gateway) GetAllowedIPs() []string
- func (x *Gateway) GetEndpoint() string
- func (x *Gateway) GetHealthy() bool
- func (x *Gateway) GetIpv4() string
- func (x *Gateway) GetIpv6() string
- func (x *Gateway) GetName() string
- func (x *Gateway) GetPasswordHash() string
- func (x *Gateway) GetPublicKey() string
- func (x *Gateway) GetRequiresPrivilegedAccess() bool
- func (x *Gateway) GetRoutesIPv4() []string
- func (x *Gateway) GetRoutesIPv6() []string
- func (x *Gateway) MergeHealth(y *Gateway)
- func (*Gateway) ProtoMessage()
- func (x *Gateway) ProtoReflect() protoreflect.Message
- func (x *Gateway) Reset()
- func (x *Gateway) String() string
- type GatewayJitaGrant
- func (*GatewayJitaGrant) Descriptor() ([]byte, []int)deprecated
- func (x *GatewayJitaGrant) GetCreated() *timestamppb.Timestamp
- func (x *GatewayJitaGrant) GetExpires() *timestamppb.Timestamp
- func (x *GatewayJitaGrant) GetGateway() string
- func (x *GatewayJitaGrant) GetId() int64
- func (x *GatewayJitaGrant) GetReason() string
- func (x *GatewayJitaGrant) GetRevoked() *timestamppb.Timestamp
- func (*GatewayJitaGrant) ProtoMessage()
- func (x *GatewayJitaGrant) ProtoReflect() protoreflect.Message
- func (x *GatewayJitaGrant) Reset()
- func (x *GatewayJitaGrant) String() string
- type GetAcceptableUseAcceptedAtRequest
- func (*GetAcceptableUseAcceptedAtRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetAcceptableUseAcceptedAtRequest) GetSessionKey() string
- func (*GetAcceptableUseAcceptedAtRequest) ProtoMessage()
- func (x *GetAcceptableUseAcceptedAtRequest) ProtoReflect() protoreflect.Message
- func (x *GetAcceptableUseAcceptedAtRequest) Reset()
- func (x *GetAcceptableUseAcceptedAtRequest) String() string
- type GetAcceptableUseAcceptedAtResponse
- func (*GetAcceptableUseAcceptedAtResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetAcceptableUseAcceptedAtResponse) GetAcceptedAt() *timestamppb.Timestamp
- func (*GetAcceptableUseAcceptedAtResponse) ProtoMessage()
- func (x *GetAcceptableUseAcceptedAtResponse) ProtoReflect() protoreflect.Message
- func (x *GetAcceptableUseAcceptedAtResponse) Reset()
- func (x *GetAcceptableUseAcceptedAtResponse) String() string
- type GetAgentConfigurationRequest
- func (*GetAgentConfigurationRequest) Descriptor() ([]byte, []int)deprecated
- func (*GetAgentConfigurationRequest) ProtoMessage()
- func (x *GetAgentConfigurationRequest) ProtoReflect() protoreflect.Message
- func (x *GetAgentConfigurationRequest) Reset()
- func (x *GetAgentConfigurationRequest) String() string
- type GetAgentConfigurationResponse
- func (*GetAgentConfigurationResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetAgentConfigurationResponse) GetConfig() *AgentConfiguration
- func (*GetAgentConfigurationResponse) ProtoMessage()
- func (x *GetAgentConfigurationResponse) ProtoReflect() protoreflect.Message
- func (x *GetAgentConfigurationResponse) Reset()
- func (x *GetAgentConfigurationResponse) String() string
- type GetDeviceConfigurationRequest
- func (*GetDeviceConfigurationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetDeviceConfigurationRequest) GetSessionKey() string
- func (*GetDeviceConfigurationRequest) ProtoMessage()
- func (x *GetDeviceConfigurationRequest) ProtoReflect() protoreflect.Message
- func (x *GetDeviceConfigurationRequest) Reset()
- func (x *GetDeviceConfigurationRequest) String() string
- type GetDeviceConfigurationResponse
- func (*GetDeviceConfigurationResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetDeviceConfigurationResponse) GetGateways() []*Gateway
- func (x *GetDeviceConfigurationResponse) GetIssues() []*DeviceIssue
- func (x *GetDeviceConfigurationResponse) GetStatus() DeviceConfigurationStatus
- func (*GetDeviceConfigurationResponse) ProtoMessage()
- func (x *GetDeviceConfigurationResponse) ProtoReflect() protoreflect.Message
- func (x *GetDeviceConfigurationResponse) Reset()
- func (x *GetDeviceConfigurationResponse) String() string
- type GetGatewayConfigurationRequest
- func (*GetGatewayConfigurationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetGatewayConfigurationRequest) GetGateway() string
- func (x *GetGatewayConfigurationRequest) GetPassword() string
- func (*GetGatewayConfigurationRequest) ProtoMessage()
- func (x *GetGatewayConfigurationRequest) ProtoReflect() protoreflect.Message
- func (x *GetGatewayConfigurationRequest) Reset()
- func (x *GetGatewayConfigurationRequest) String() string
- type GetGatewayConfigurationResponse
- func (*GetGatewayConfigurationResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetGatewayConfigurationResponse) GetDevices() []*Device
- func (x *GetGatewayConfigurationResponse) GetRoutesIPv4() []string
- func (x *GetGatewayConfigurationResponse) GetRoutesIPv6() []string
- func (*GetGatewayConfigurationResponse) ProtoMessage()
- func (x *GetGatewayConfigurationResponse) ProtoReflect() protoreflect.Message
- func (x *GetGatewayConfigurationResponse) Reset()
- func (x *GetGatewayConfigurationResponse) String() string
- type GetGatewayJitaGrantsForUserRequest
- func (*GetGatewayJitaGrantsForUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetGatewayJitaGrantsForUserRequest) GetSessionKey() string
- func (*GetGatewayJitaGrantsForUserRequest) ProtoMessage()
- func (x *GetGatewayJitaGrantsForUserRequest) ProtoReflect() protoreflect.Message
- func (x *GetGatewayJitaGrantsForUserRequest) Reset()
- func (x *GetGatewayJitaGrantsForUserRequest) String() string
- type GetGatewayJitaGrantsForUserResponse
- func (*GetGatewayJitaGrantsForUserResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetGatewayJitaGrantsForUserResponse) GetGatewayJitaGrants() []*GatewayJitaGrant
- func (*GetGatewayJitaGrantsForUserResponse) ProtoMessage()
- func (x *GetGatewayJitaGrantsForUserResponse) ProtoReflect() protoreflect.Message
- func (x *GetGatewayJitaGrantsForUserResponse) Reset()
- func (x *GetGatewayJitaGrantsForUserResponse) String() string
- type GetKolideCacheRequest
- func (*GetKolideCacheRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetKolideCacheRequest) GetPassword() string
- func (x *GetKolideCacheRequest) GetUsername() string
- func (*GetKolideCacheRequest) ProtoMessage()
- func (x *GetKolideCacheRequest) ProtoReflect() protoreflect.Message
- func (x *GetKolideCacheRequest) Reset()
- func (x *GetKolideCacheRequest) String() string
- type GetKolideCacheResponse
- func (*GetKolideCacheResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetKolideCacheResponse) GetRawChecks() []byte
- func (*GetKolideCacheResponse) ProtoMessage()
- func (x *GetKolideCacheResponse) ProtoReflect() protoreflect.Message
- func (x *GetKolideCacheResponse) Reset()
- func (x *GetKolideCacheResponse) String() string
- type GetSerialRequest
- type GetSerialResponse
- type GetSessionsRequest
- func (*GetSessionsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetSessionsRequest) GetPassword() string
- func (x *GetSessionsRequest) GetUsername() string
- func (*GetSessionsRequest) ProtoMessage()
- func (x *GetSessionsRequest) ProtoReflect() protoreflect.Message
- func (x *GetSessionsRequest) Reset()
- func (x *GetSessionsRequest) String() string
- type GetSessionsResponse
- func (*GetSessionsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetSessionsResponse) GetSessions() []*Session
- func (*GetSessionsResponse) ProtoMessage()
- func (x *GetSessionsResponse) ProtoReflect() protoreflect.Message
- func (x *GetSessionsResponse) Reset()
- func (x *GetSessionsResponse) String() string
- type GrantPrivilegedGatewayAccessRequest
- func (*GrantPrivilegedGatewayAccessRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GrantPrivilegedGatewayAccessRequest) GetNewPrivilegedGatewayAccess() *NewPrivilegedGatewayAccess
- func (x *GrantPrivilegedGatewayAccessRequest) GetSessionKey() string
- func (x *GrantPrivilegedGatewayAccessRequest) GetToken() string
- func (*GrantPrivilegedGatewayAccessRequest) ProtoMessage()
- func (x *GrantPrivilegedGatewayAccessRequest) ProtoReflect() protoreflect.Message
- func (x *GrantPrivilegedGatewayAccessRequest) Reset()
- func (x *GrantPrivilegedGatewayAccessRequest) String() string
- type GrantPrivilegedGatewayAccessResponse
- func (*GrantPrivilegedGatewayAccessResponse) Descriptor() ([]byte, []int)deprecated
- func (*GrantPrivilegedGatewayAccessResponse) ProtoMessage()
- func (x *GrantPrivilegedGatewayAccessResponse) ProtoReflect() protoreflect.Message
- func (x *GrantPrivilegedGatewayAccessResponse) Reset()
- func (x *GrantPrivilegedGatewayAccessResponse) String() string
- type ListGatewayRequest
- func (*ListGatewayRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListGatewayRequest) GetPassword() string
- func (x *ListGatewayRequest) GetUsername() string
- func (*ListGatewayRequest) ProtoMessage()
- func (x *ListGatewayRequest) ProtoReflect() protoreflect.Message
- func (x *ListGatewayRequest) Reset()
- func (x *ListGatewayRequest) String() string
- type LoginRequest
- type LoginResponse
- type LogoutRequest
- type LogoutResponse
- type MockAPIServerClient
- func (_m *MockAPIServerClient) EXPECT() *MockAPIServerClient_Expecter
- func (_mock *MockAPIServerClient) EnrollGateway(ctx context.Context, in *ModifyGatewayRequest, opts ...grpc.CallOption) (*ModifyGatewayResponse, error)
- func (_mock *MockAPIServerClient) GetAcceptableUseAcceptedAt(ctx context.Context, in *GetAcceptableUseAcceptedAtRequest, ...) (*GetAcceptableUseAcceptedAtResponse, error)
- func (_mock *MockAPIServerClient) GetDeviceConfiguration(ctx context.Context, in *GetDeviceConfigurationRequest, ...) (grpc.ServerStreamingClient[GetDeviceConfigurationResponse], error)
- func (_mock *MockAPIServerClient) GetGateway(ctx context.Context, in *ModifyGatewayRequest, opts ...grpc.CallOption) (*Gateway, error)
- func (_mock *MockAPIServerClient) GetGatewayConfiguration(ctx context.Context, in *GetGatewayConfigurationRequest, ...) (grpc.ServerStreamingClient[GetGatewayConfigurationResponse], error)
- func (_mock *MockAPIServerClient) GetGatewayJitaGrantsForUser(ctx context.Context, in *GetGatewayJitaGrantsForUserRequest, ...) (*GetGatewayJitaGrantsForUserResponse, error)
- func (_mock *MockAPIServerClient) GetKolideCache(ctx context.Context, in *GetKolideCacheRequest, opts ...grpc.CallOption) (*GetKolideCacheResponse, error)
- func (_mock *MockAPIServerClient) GetSessions(ctx context.Context, in *GetSessionsRequest, opts ...grpc.CallOption) (*GetSessionsResponse, error)
- func (_mock *MockAPIServerClient) GrantPrivilegedGatewayAccess(ctx context.Context, in *GrantPrivilegedGatewayAccessRequest, ...) (*GrantPrivilegedGatewayAccessResponse, error)
- func (_mock *MockAPIServerClient) ListGateways(ctx context.Context, in *ListGatewayRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[Gateway], error)
- func (_mock *MockAPIServerClient) Login(ctx context.Context, in *APIServerLoginRequest, opts ...grpc.CallOption) (*APIServerLoginResponse, error)
- func (_mock *MockAPIServerClient) RevokePrivilegedGatewayAccess(ctx context.Context, in *RevokePrivilegedGatewayAccessRequest, ...) (*RevokePrivilegedGatewayAccessResponse, error)
- func (_mock *MockAPIServerClient) SetAcceptableUseAccepted(ctx context.Context, in *SetAcceptableUseAcceptedRequest, ...) (*SetAcceptableUseAcceptedResponse, error)
- func (_mock *MockAPIServerClient) UpdateGateway(ctx context.Context, in *ModifyGatewayRequest, opts ...grpc.CallOption) (*ModifyGatewayResponse, error)
- func (_mock *MockAPIServerClient) UserHasAccessToPrivilegedGateway(ctx context.Context, in *UserHasAccessToPrivilegedGatewayRequest, ...) (*UserHasAccessToPrivilegedGatewayResponse, error)
- type MockAPIServerClient_EnrollGateway_Call
- func (_c *MockAPIServerClient_EnrollGateway_Call) Return(modifyGatewayResponse *ModifyGatewayResponse, err error) *MockAPIServerClient_EnrollGateway_Call
- func (_c *MockAPIServerClient_EnrollGateway_Call) Run(...) *MockAPIServerClient_EnrollGateway_Call
- func (_c *MockAPIServerClient_EnrollGateway_Call) RunAndReturn(...) *MockAPIServerClient_EnrollGateway_Call
- type MockAPIServerClient_Expecter
- func (_e *MockAPIServerClient_Expecter) EnrollGateway(ctx interface{}, in interface{}, opts ...interface{}) *MockAPIServerClient_EnrollGateway_Call
- func (_e *MockAPIServerClient_Expecter) GetAcceptableUseAcceptedAt(ctx interface{}, in interface{}, opts ...interface{}) *MockAPIServerClient_GetAcceptableUseAcceptedAt_Call
- func (_e *MockAPIServerClient_Expecter) GetDeviceConfiguration(ctx interface{}, in interface{}, opts ...interface{}) *MockAPIServerClient_GetDeviceConfiguration_Call
- func (_e *MockAPIServerClient_Expecter) GetGateway(ctx interface{}, in interface{}, opts ...interface{}) *MockAPIServerClient_GetGateway_Call
- func (_e *MockAPIServerClient_Expecter) GetGatewayConfiguration(ctx interface{}, in interface{}, opts ...interface{}) *MockAPIServerClient_GetGatewayConfiguration_Call
- func (_e *MockAPIServerClient_Expecter) GetGatewayJitaGrantsForUser(ctx interface{}, in interface{}, opts ...interface{}) *MockAPIServerClient_GetGatewayJitaGrantsForUser_Call
- func (_e *MockAPIServerClient_Expecter) GetKolideCache(ctx interface{}, in interface{}, opts ...interface{}) *MockAPIServerClient_GetKolideCache_Call
- func (_e *MockAPIServerClient_Expecter) GetSessions(ctx interface{}, in interface{}, opts ...interface{}) *MockAPIServerClient_GetSessions_Call
- func (_e *MockAPIServerClient_Expecter) GrantPrivilegedGatewayAccess(ctx interface{}, in interface{}, opts ...interface{}) *MockAPIServerClient_GrantPrivilegedGatewayAccess_Call
- func (_e *MockAPIServerClient_Expecter) ListGateways(ctx interface{}, in interface{}, opts ...interface{}) *MockAPIServerClient_ListGateways_Call
- func (_e *MockAPIServerClient_Expecter) Login(ctx interface{}, in interface{}, opts ...interface{}) *MockAPIServerClient_Login_Call
- func (_e *MockAPIServerClient_Expecter) RevokePrivilegedGatewayAccess(ctx interface{}, in interface{}, opts ...interface{}) *MockAPIServerClient_RevokePrivilegedGatewayAccess_Call
- func (_e *MockAPIServerClient_Expecter) SetAcceptableUseAccepted(ctx interface{}, in interface{}, opts ...interface{}) *MockAPIServerClient_SetAcceptableUseAccepted_Call
- func (_e *MockAPIServerClient_Expecter) UpdateGateway(ctx interface{}, in interface{}, opts ...interface{}) *MockAPIServerClient_UpdateGateway_Call
- func (_e *MockAPIServerClient_Expecter) UserHasAccessToPrivilegedGateway(ctx interface{}, in interface{}, opts ...interface{}) *MockAPIServerClient_UserHasAccessToPrivilegedGateway_Call
- type MockAPIServerClient_GetAcceptableUseAcceptedAt_Call
- func (_c *MockAPIServerClient_GetAcceptableUseAcceptedAt_Call) Return(getAcceptableUseAcceptedAtResponse *GetAcceptableUseAcceptedAtResponse, ...) *MockAPIServerClient_GetAcceptableUseAcceptedAt_Call
- func (_c *MockAPIServerClient_GetAcceptableUseAcceptedAt_Call) Run(run func(ctx context.Context, in *GetAcceptableUseAcceptedAtRequest, ...)) *MockAPIServerClient_GetAcceptableUseAcceptedAt_Call
- func (_c *MockAPIServerClient_GetAcceptableUseAcceptedAt_Call) RunAndReturn(...) *MockAPIServerClient_GetAcceptableUseAcceptedAt_Call
- type MockAPIServerClient_GetDeviceConfiguration_Call
- func (_c *MockAPIServerClient_GetDeviceConfiguration_Call) Return(...) *MockAPIServerClient_GetDeviceConfiguration_Call
- func (_c *MockAPIServerClient_GetDeviceConfiguration_Call) Run(run func(ctx context.Context, in *GetDeviceConfigurationRequest, ...)) *MockAPIServerClient_GetDeviceConfiguration_Call
- func (_c *MockAPIServerClient_GetDeviceConfiguration_Call) RunAndReturn(...) *MockAPIServerClient_GetDeviceConfiguration_Call
- type MockAPIServerClient_GetGatewayConfiguration_Call
- func (_c *MockAPIServerClient_GetGatewayConfiguration_Call) Return(...) *MockAPIServerClient_GetGatewayConfiguration_Call
- func (_c *MockAPIServerClient_GetGatewayConfiguration_Call) Run(run func(ctx context.Context, in *GetGatewayConfigurationRequest, ...)) *MockAPIServerClient_GetGatewayConfiguration_Call
- func (_c *MockAPIServerClient_GetGatewayConfiguration_Call) RunAndReturn(...) *MockAPIServerClient_GetGatewayConfiguration_Call
- type MockAPIServerClient_GetGatewayJitaGrantsForUser_Call
- func (_c *MockAPIServerClient_GetGatewayJitaGrantsForUser_Call) Return(getGatewayJitaGrantsForUserResponse *GetGatewayJitaGrantsForUserResponse, ...) *MockAPIServerClient_GetGatewayJitaGrantsForUser_Call
- func (_c *MockAPIServerClient_GetGatewayJitaGrantsForUser_Call) Run(run func(ctx context.Context, in *GetGatewayJitaGrantsForUserRequest, ...)) *MockAPIServerClient_GetGatewayJitaGrantsForUser_Call
- func (_c *MockAPIServerClient_GetGatewayJitaGrantsForUser_Call) RunAndReturn(...) *MockAPIServerClient_GetGatewayJitaGrantsForUser_Call
- type MockAPIServerClient_GetGateway_Call
- func (_c *MockAPIServerClient_GetGateway_Call) Return(gateway *Gateway, err error) *MockAPIServerClient_GetGateway_Call
- func (_c *MockAPIServerClient_GetGateway_Call) Run(...) *MockAPIServerClient_GetGateway_Call
- func (_c *MockAPIServerClient_GetGateway_Call) RunAndReturn(...) *MockAPIServerClient_GetGateway_Call
- type MockAPIServerClient_GetKolideCache_Call
- func (_c *MockAPIServerClient_GetKolideCache_Call) Return(getKolideCacheResponse *GetKolideCacheResponse, err error) *MockAPIServerClient_GetKolideCache_Call
- func (_c *MockAPIServerClient_GetKolideCache_Call) Run(...) *MockAPIServerClient_GetKolideCache_Call
- func (_c *MockAPIServerClient_GetKolideCache_Call) RunAndReturn(...) *MockAPIServerClient_GetKolideCache_Call
- type MockAPIServerClient_GetSessions_Call
- func (_c *MockAPIServerClient_GetSessions_Call) Return(getSessionsResponse *GetSessionsResponse, err error) *MockAPIServerClient_GetSessions_Call
- func (_c *MockAPIServerClient_GetSessions_Call) Run(run func(ctx context.Context, in *GetSessionsRequest, opts ...grpc.CallOption)) *MockAPIServerClient_GetSessions_Call
- func (_c *MockAPIServerClient_GetSessions_Call) RunAndReturn(...) *MockAPIServerClient_GetSessions_Call
- type MockAPIServerClient_GrantPrivilegedGatewayAccess_Call
- func (_c *MockAPIServerClient_GrantPrivilegedGatewayAccess_Call) Return(grantPrivilegedGatewayAccessResponse *GrantPrivilegedGatewayAccessResponse, ...) *MockAPIServerClient_GrantPrivilegedGatewayAccess_Call
- func (_c *MockAPIServerClient_GrantPrivilegedGatewayAccess_Call) Run(run func(ctx context.Context, in *GrantPrivilegedGatewayAccessRequest, ...)) *MockAPIServerClient_GrantPrivilegedGatewayAccess_Call
- func (_c *MockAPIServerClient_GrantPrivilegedGatewayAccess_Call) RunAndReturn(...) *MockAPIServerClient_GrantPrivilegedGatewayAccess_Call
- type MockAPIServerClient_ListGateways_Call
- func (_c *MockAPIServerClient_ListGateways_Call) Return(serverStreamingClient grpc.ServerStreamingClient[Gateway], err error) *MockAPIServerClient_ListGateways_Call
- func (_c *MockAPIServerClient_ListGateways_Call) Run(run func(ctx context.Context, in *ListGatewayRequest, opts ...grpc.CallOption)) *MockAPIServerClient_ListGateways_Call
- func (_c *MockAPIServerClient_ListGateways_Call) RunAndReturn(...) *MockAPIServerClient_ListGateways_Call
- type MockAPIServerClient_Login_Call
- func (_c *MockAPIServerClient_Login_Call) Return(aPIServerLoginResponse *APIServerLoginResponse, err error) *MockAPIServerClient_Login_Call
- func (_c *MockAPIServerClient_Login_Call) Run(...) *MockAPIServerClient_Login_Call
- func (_c *MockAPIServerClient_Login_Call) RunAndReturn(...) *MockAPIServerClient_Login_Call
- type MockAPIServerClient_RevokePrivilegedGatewayAccess_Call
- func (_c *MockAPIServerClient_RevokePrivilegedGatewayAccess_Call) Return(revokePrivilegedGatewayAccessResponse *RevokePrivilegedGatewayAccessResponse, ...) *MockAPIServerClient_RevokePrivilegedGatewayAccess_Call
- func (_c *MockAPIServerClient_RevokePrivilegedGatewayAccess_Call) Run(run func(ctx context.Context, in *RevokePrivilegedGatewayAccessRequest, ...)) *MockAPIServerClient_RevokePrivilegedGatewayAccess_Call
- func (_c *MockAPIServerClient_RevokePrivilegedGatewayAccess_Call) RunAndReturn(...) *MockAPIServerClient_RevokePrivilegedGatewayAccess_Call
- type MockAPIServerClient_SetAcceptableUseAccepted_Call
- func (_c *MockAPIServerClient_SetAcceptableUseAccepted_Call) Return(setAcceptableUseAcceptedResponse *SetAcceptableUseAcceptedResponse, err error) *MockAPIServerClient_SetAcceptableUseAccepted_Call
- func (_c *MockAPIServerClient_SetAcceptableUseAccepted_Call) Run(run func(ctx context.Context, in *SetAcceptableUseAcceptedRequest, ...)) *MockAPIServerClient_SetAcceptableUseAccepted_Call
- func (_c *MockAPIServerClient_SetAcceptableUseAccepted_Call) RunAndReturn(...) *MockAPIServerClient_SetAcceptableUseAccepted_Call
- type MockAPIServerClient_UpdateGateway_Call
- func (_c *MockAPIServerClient_UpdateGateway_Call) Return(modifyGatewayResponse *ModifyGatewayResponse, err error) *MockAPIServerClient_UpdateGateway_Call
- func (_c *MockAPIServerClient_UpdateGateway_Call) Run(...) *MockAPIServerClient_UpdateGateway_Call
- func (_c *MockAPIServerClient_UpdateGateway_Call) RunAndReturn(...) *MockAPIServerClient_UpdateGateway_Call
- type MockAPIServerClient_UserHasAccessToPrivilegedGateway_Call
- func (_c *MockAPIServerClient_UserHasAccessToPrivilegedGateway_Call) Return(...) *MockAPIServerClient_UserHasAccessToPrivilegedGateway_Call
- func (_c *MockAPIServerClient_UserHasAccessToPrivilegedGateway_Call) Run(...) *MockAPIServerClient_UserHasAccessToPrivilegedGateway_Call
- func (_c *MockAPIServerClient_UserHasAccessToPrivilegedGateway_Call) RunAndReturn(...) *MockAPIServerClient_UserHasAccessToPrivilegedGateway_Call
- type MockAPIServer_GetDeviceConfigurationClient
- func (_mock *MockAPIServer_GetDeviceConfigurationClient) CloseSend() error
- func (_mock *MockAPIServer_GetDeviceConfigurationClient) Context() context.Context
- func (_m *MockAPIServer_GetDeviceConfigurationClient) EXPECT() *MockAPIServer_GetDeviceConfigurationClient_Expecter
- func (_mock *MockAPIServer_GetDeviceConfigurationClient) Header() (metadata.MD, error)
- func (_mock *MockAPIServer_GetDeviceConfigurationClient) Recv() (*GetDeviceConfigurationResponse, error)
- func (_mock *MockAPIServer_GetDeviceConfigurationClient) RecvMsg(m any) error
- func (_mock *MockAPIServer_GetDeviceConfigurationClient) SendMsg(m any) error
- func (_mock *MockAPIServer_GetDeviceConfigurationClient) Trailer() metadata.MD
- type MockAPIServer_GetDeviceConfigurationClient_CloseSend_Call
- func (_c *MockAPIServer_GetDeviceConfigurationClient_CloseSend_Call) Return(err error) *MockAPIServer_GetDeviceConfigurationClient_CloseSend_Call
- func (_c *MockAPIServer_GetDeviceConfigurationClient_CloseSend_Call) Run(run func()) *MockAPIServer_GetDeviceConfigurationClient_CloseSend_Call
- func (_c *MockAPIServer_GetDeviceConfigurationClient_CloseSend_Call) RunAndReturn(run func() error) *MockAPIServer_GetDeviceConfigurationClient_CloseSend_Call
- type MockAPIServer_GetDeviceConfigurationClient_Context_Call
- func (_c *MockAPIServer_GetDeviceConfigurationClient_Context_Call) Return(context1 context.Context) *MockAPIServer_GetDeviceConfigurationClient_Context_Call
- func (_c *MockAPIServer_GetDeviceConfigurationClient_Context_Call) Run(run func()) *MockAPIServer_GetDeviceConfigurationClient_Context_Call
- func (_c *MockAPIServer_GetDeviceConfigurationClient_Context_Call) RunAndReturn(run func() context.Context) *MockAPIServer_GetDeviceConfigurationClient_Context_Call
- type MockAPIServer_GetDeviceConfigurationClient_Expecter
- func (_e *MockAPIServer_GetDeviceConfigurationClient_Expecter) CloseSend() *MockAPIServer_GetDeviceConfigurationClient_CloseSend_Call
- func (_e *MockAPIServer_GetDeviceConfigurationClient_Expecter) Context() *MockAPIServer_GetDeviceConfigurationClient_Context_Call
- func (_e *MockAPIServer_GetDeviceConfigurationClient_Expecter) Header() *MockAPIServer_GetDeviceConfigurationClient_Header_Call
- func (_e *MockAPIServer_GetDeviceConfigurationClient_Expecter) Recv() *MockAPIServer_GetDeviceConfigurationClient_Recv_Call
- func (_e *MockAPIServer_GetDeviceConfigurationClient_Expecter) RecvMsg(m interface{}) *MockAPIServer_GetDeviceConfigurationClient_RecvMsg_Call
- func (_e *MockAPIServer_GetDeviceConfigurationClient_Expecter) SendMsg(m interface{}) *MockAPIServer_GetDeviceConfigurationClient_SendMsg_Call
- func (_e *MockAPIServer_GetDeviceConfigurationClient_Expecter) Trailer() *MockAPIServer_GetDeviceConfigurationClient_Trailer_Call
- type MockAPIServer_GetDeviceConfigurationClient_Header_Call
- func (_c *MockAPIServer_GetDeviceConfigurationClient_Header_Call) Return(mD metadata.MD, err error) *MockAPIServer_GetDeviceConfigurationClient_Header_Call
- func (_c *MockAPIServer_GetDeviceConfigurationClient_Header_Call) Run(run func()) *MockAPIServer_GetDeviceConfigurationClient_Header_Call
- func (_c *MockAPIServer_GetDeviceConfigurationClient_Header_Call) RunAndReturn(run func() (metadata.MD, error)) *MockAPIServer_GetDeviceConfigurationClient_Header_Call
- type MockAPIServer_GetDeviceConfigurationClient_RecvMsg_Call
- func (_c *MockAPIServer_GetDeviceConfigurationClient_RecvMsg_Call) Return(err error) *MockAPIServer_GetDeviceConfigurationClient_RecvMsg_Call
- func (_c *MockAPIServer_GetDeviceConfigurationClient_RecvMsg_Call) Run(run func(m any)) *MockAPIServer_GetDeviceConfigurationClient_RecvMsg_Call
- func (_c *MockAPIServer_GetDeviceConfigurationClient_RecvMsg_Call) RunAndReturn(run func(m any) error) *MockAPIServer_GetDeviceConfigurationClient_RecvMsg_Call
- type MockAPIServer_GetDeviceConfigurationClient_Recv_Call
- func (_c *MockAPIServer_GetDeviceConfigurationClient_Recv_Call) Return(getDeviceConfigurationResponse *GetDeviceConfigurationResponse, err error) *MockAPIServer_GetDeviceConfigurationClient_Recv_Call
- func (_c *MockAPIServer_GetDeviceConfigurationClient_Recv_Call) Run(run func()) *MockAPIServer_GetDeviceConfigurationClient_Recv_Call
- func (_c *MockAPIServer_GetDeviceConfigurationClient_Recv_Call) RunAndReturn(run func() (*GetDeviceConfigurationResponse, error)) *MockAPIServer_GetDeviceConfigurationClient_Recv_Call
- type MockAPIServer_GetDeviceConfigurationClient_SendMsg_Call
- func (_c *MockAPIServer_GetDeviceConfigurationClient_SendMsg_Call) Return(err error) *MockAPIServer_GetDeviceConfigurationClient_SendMsg_Call
- func (_c *MockAPIServer_GetDeviceConfigurationClient_SendMsg_Call) Run(run func(m any)) *MockAPIServer_GetDeviceConfigurationClient_SendMsg_Call
- func (_c *MockAPIServer_GetDeviceConfigurationClient_SendMsg_Call) RunAndReturn(run func(m any) error) *MockAPIServer_GetDeviceConfigurationClient_SendMsg_Call
- type MockAPIServer_GetDeviceConfigurationClient_Trailer_Call
- func (_c *MockAPIServer_GetDeviceConfigurationClient_Trailer_Call) Return(mD metadata.MD) *MockAPIServer_GetDeviceConfigurationClient_Trailer_Call
- func (_c *MockAPIServer_GetDeviceConfigurationClient_Trailer_Call) Run(run func()) *MockAPIServer_GetDeviceConfigurationClient_Trailer_Call
- func (_c *MockAPIServer_GetDeviceConfigurationClient_Trailer_Call) RunAndReturn(run func() metadata.MD) *MockAPIServer_GetDeviceConfigurationClient_Trailer_Call
- type MockAPIServer_GetGatewayConfigurationClient
- func (_mock *MockAPIServer_GetGatewayConfigurationClient) CloseSend() error
- func (_mock *MockAPIServer_GetGatewayConfigurationClient) Context() context.Context
- func (_m *MockAPIServer_GetGatewayConfigurationClient) EXPECT() *MockAPIServer_GetGatewayConfigurationClient_Expecter
- func (_mock *MockAPIServer_GetGatewayConfigurationClient) Header() (metadata.MD, error)
- func (_mock *MockAPIServer_GetGatewayConfigurationClient) Recv() (*GetGatewayConfigurationResponse, error)
- func (_mock *MockAPIServer_GetGatewayConfigurationClient) RecvMsg(m any) error
- func (_mock *MockAPIServer_GetGatewayConfigurationClient) SendMsg(m any) error
- func (_mock *MockAPIServer_GetGatewayConfigurationClient) Trailer() metadata.MD
- type MockAPIServer_GetGatewayConfigurationClient_CloseSend_Call
- func (_c *MockAPIServer_GetGatewayConfigurationClient_CloseSend_Call) Return(err error) *MockAPIServer_GetGatewayConfigurationClient_CloseSend_Call
- func (_c *MockAPIServer_GetGatewayConfigurationClient_CloseSend_Call) Run(run func()) *MockAPIServer_GetGatewayConfigurationClient_CloseSend_Call
- func (_c *MockAPIServer_GetGatewayConfigurationClient_CloseSend_Call) RunAndReturn(run func() error) *MockAPIServer_GetGatewayConfigurationClient_CloseSend_Call
- type MockAPIServer_GetGatewayConfigurationClient_Context_Call
- func (_c *MockAPIServer_GetGatewayConfigurationClient_Context_Call) Return(context1 context.Context) *MockAPIServer_GetGatewayConfigurationClient_Context_Call
- func (_c *MockAPIServer_GetGatewayConfigurationClient_Context_Call) Run(run func()) *MockAPIServer_GetGatewayConfigurationClient_Context_Call
- func (_c *MockAPIServer_GetGatewayConfigurationClient_Context_Call) RunAndReturn(run func() context.Context) *MockAPIServer_GetGatewayConfigurationClient_Context_Call
- type MockAPIServer_GetGatewayConfigurationClient_Expecter
- func (_e *MockAPIServer_GetGatewayConfigurationClient_Expecter) CloseSend() *MockAPIServer_GetGatewayConfigurationClient_CloseSend_Call
- func (_e *MockAPIServer_GetGatewayConfigurationClient_Expecter) Context() *MockAPIServer_GetGatewayConfigurationClient_Context_Call
- func (_e *MockAPIServer_GetGatewayConfigurationClient_Expecter) Header() *MockAPIServer_GetGatewayConfigurationClient_Header_Call
- func (_e *MockAPIServer_GetGatewayConfigurationClient_Expecter) Recv() *MockAPIServer_GetGatewayConfigurationClient_Recv_Call
- func (_e *MockAPIServer_GetGatewayConfigurationClient_Expecter) RecvMsg(m interface{}) *MockAPIServer_GetGatewayConfigurationClient_RecvMsg_Call
- func (_e *MockAPIServer_GetGatewayConfigurationClient_Expecter) SendMsg(m interface{}) *MockAPIServer_GetGatewayConfigurationClient_SendMsg_Call
- func (_e *MockAPIServer_GetGatewayConfigurationClient_Expecter) Trailer() *MockAPIServer_GetGatewayConfigurationClient_Trailer_Call
- type MockAPIServer_GetGatewayConfigurationClient_Header_Call
- func (_c *MockAPIServer_GetGatewayConfigurationClient_Header_Call) Return(mD metadata.MD, err error) *MockAPIServer_GetGatewayConfigurationClient_Header_Call
- func (_c *MockAPIServer_GetGatewayConfigurationClient_Header_Call) Run(run func()) *MockAPIServer_GetGatewayConfigurationClient_Header_Call
- func (_c *MockAPIServer_GetGatewayConfigurationClient_Header_Call) RunAndReturn(run func() (metadata.MD, error)) *MockAPIServer_GetGatewayConfigurationClient_Header_Call
- type MockAPIServer_GetGatewayConfigurationClient_RecvMsg_Call
- func (_c *MockAPIServer_GetGatewayConfigurationClient_RecvMsg_Call) Return(err error) *MockAPIServer_GetGatewayConfigurationClient_RecvMsg_Call
- func (_c *MockAPIServer_GetGatewayConfigurationClient_RecvMsg_Call) Run(run func(m any)) *MockAPIServer_GetGatewayConfigurationClient_RecvMsg_Call
- func (_c *MockAPIServer_GetGatewayConfigurationClient_RecvMsg_Call) RunAndReturn(run func(m any) error) *MockAPIServer_GetGatewayConfigurationClient_RecvMsg_Call
- type MockAPIServer_GetGatewayConfigurationClient_Recv_Call
- func (_c *MockAPIServer_GetGatewayConfigurationClient_Recv_Call) Return(getGatewayConfigurationResponse *GetGatewayConfigurationResponse, err error) *MockAPIServer_GetGatewayConfigurationClient_Recv_Call
- func (_c *MockAPIServer_GetGatewayConfigurationClient_Recv_Call) Run(run func()) *MockAPIServer_GetGatewayConfigurationClient_Recv_Call
- func (_c *MockAPIServer_GetGatewayConfigurationClient_Recv_Call) RunAndReturn(run func() (*GetGatewayConfigurationResponse, error)) *MockAPIServer_GetGatewayConfigurationClient_Recv_Call
- type MockAPIServer_GetGatewayConfigurationClient_SendMsg_Call
- func (_c *MockAPIServer_GetGatewayConfigurationClient_SendMsg_Call) Return(err error) *MockAPIServer_GetGatewayConfigurationClient_SendMsg_Call
- func (_c *MockAPIServer_GetGatewayConfigurationClient_SendMsg_Call) Run(run func(m any)) *MockAPIServer_GetGatewayConfigurationClient_SendMsg_Call
- func (_c *MockAPIServer_GetGatewayConfigurationClient_SendMsg_Call) RunAndReturn(run func(m any) error) *MockAPIServer_GetGatewayConfigurationClient_SendMsg_Call
- type MockAPIServer_GetGatewayConfigurationClient_Trailer_Call
- func (_c *MockAPIServer_GetGatewayConfigurationClient_Trailer_Call) Return(mD metadata.MD) *MockAPIServer_GetGatewayConfigurationClient_Trailer_Call
- func (_c *MockAPIServer_GetGatewayConfigurationClient_Trailer_Call) Run(run func()) *MockAPIServer_GetGatewayConfigurationClient_Trailer_Call
- func (_c *MockAPIServer_GetGatewayConfigurationClient_Trailer_Call) RunAndReturn(run func() metadata.MD) *MockAPIServer_GetGatewayConfigurationClient_Trailer_Call
- type MockDeviceHelperClient
- func (_mock *MockDeviceHelperClient) Configure(ctx context.Context, in *Configuration, opts ...grpc.CallOption) (*ConfigureResponse, error)
- func (_m *MockDeviceHelperClient) EXPECT() *MockDeviceHelperClient_Expecter
- func (_mock *MockDeviceHelperClient) GetSerial(ctx context.Context, in *GetSerialRequest, opts ...grpc.CallOption) (*GetSerialResponse, error)
- func (_mock *MockDeviceHelperClient) Ping(ctx context.Context, in *PingRequest, opts ...grpc.CallOption) (*PingResponse, error)
- func (_mock *MockDeviceHelperClient) Teardown(ctx context.Context, in *TeardownRequest, opts ...grpc.CallOption) (*TeardownResponse, error)
- func (_mock *MockDeviceHelperClient) Upgrade(ctx context.Context, in *UpgradeRequest, opts ...grpc.CallOption) (*UpgradeResponse, error)
- type MockDeviceHelperClient_Configure_Call
- func (_c *MockDeviceHelperClient_Configure_Call) Return(configureResponse *ConfigureResponse, err error) *MockDeviceHelperClient_Configure_Call
- func (_c *MockDeviceHelperClient_Configure_Call) Run(run func(ctx context.Context, in *Configuration, opts ...grpc.CallOption)) *MockDeviceHelperClient_Configure_Call
- func (_c *MockDeviceHelperClient_Configure_Call) RunAndReturn(...) *MockDeviceHelperClient_Configure_Call
- type MockDeviceHelperClient_Expecter
- func (_e *MockDeviceHelperClient_Expecter) Configure(ctx interface{}, in interface{}, opts ...interface{}) *MockDeviceHelperClient_Configure_Call
- func (_e *MockDeviceHelperClient_Expecter) GetSerial(ctx interface{}, in interface{}, opts ...interface{}) *MockDeviceHelperClient_GetSerial_Call
- func (_e *MockDeviceHelperClient_Expecter) Ping(ctx interface{}, in interface{}, opts ...interface{}) *MockDeviceHelperClient_Ping_Call
- func (_e *MockDeviceHelperClient_Expecter) Teardown(ctx interface{}, in interface{}, opts ...interface{}) *MockDeviceHelperClient_Teardown_Call
- func (_e *MockDeviceHelperClient_Expecter) Upgrade(ctx interface{}, in interface{}, opts ...interface{}) *MockDeviceHelperClient_Upgrade_Call
- type MockDeviceHelperClient_GetSerial_Call
- func (_c *MockDeviceHelperClient_GetSerial_Call) Return(getSerialResponse *GetSerialResponse, err error) *MockDeviceHelperClient_GetSerial_Call
- func (_c *MockDeviceHelperClient_GetSerial_Call) Run(run func(ctx context.Context, in *GetSerialRequest, opts ...grpc.CallOption)) *MockDeviceHelperClient_GetSerial_Call
- func (_c *MockDeviceHelperClient_GetSerial_Call) RunAndReturn(...) *MockDeviceHelperClient_GetSerial_Call
- type MockDeviceHelperClient_Ping_Call
- func (_c *MockDeviceHelperClient_Ping_Call) Return(pingResponse *PingResponse, err error) *MockDeviceHelperClient_Ping_Call
- func (_c *MockDeviceHelperClient_Ping_Call) Run(run func(ctx context.Context, in *PingRequest, opts ...grpc.CallOption)) *MockDeviceHelperClient_Ping_Call
- func (_c *MockDeviceHelperClient_Ping_Call) RunAndReturn(...) *MockDeviceHelperClient_Ping_Call
- type MockDeviceHelperClient_Teardown_Call
- func (_c *MockDeviceHelperClient_Teardown_Call) Return(teardownResponse *TeardownResponse, err error) *MockDeviceHelperClient_Teardown_Call
- func (_c *MockDeviceHelperClient_Teardown_Call) Run(run func(ctx context.Context, in *TeardownRequest, opts ...grpc.CallOption)) *MockDeviceHelperClient_Teardown_Call
- func (_c *MockDeviceHelperClient_Teardown_Call) RunAndReturn(...) *MockDeviceHelperClient_Teardown_Call
- type MockDeviceHelperClient_Upgrade_Call
- func (_c *MockDeviceHelperClient_Upgrade_Call) Return(upgradeResponse *UpgradeResponse, err error) *MockDeviceHelperClient_Upgrade_Call
- func (_c *MockDeviceHelperClient_Upgrade_Call) Run(run func(ctx context.Context, in *UpgradeRequest, opts ...grpc.CallOption)) *MockDeviceHelperClient_Upgrade_Call
- func (_c *MockDeviceHelperClient_Upgrade_Call) RunAndReturn(...) *MockDeviceHelperClient_Upgrade_Call
- type ModifyGatewayRequest
- func (*ModifyGatewayRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ModifyGatewayRequest) GetGateway() *Gateway
- func (x *ModifyGatewayRequest) GetPassword() string
- func (x *ModifyGatewayRequest) GetUsername() string
- func (*ModifyGatewayRequest) ProtoMessage()
- func (x *ModifyGatewayRequest) ProtoReflect() protoreflect.Message
- func (x *ModifyGatewayRequest) Reset()
- func (x *ModifyGatewayRequest) String() string
- type ModifyGatewayResponse
- func (*ModifyGatewayResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ModifyGatewayResponse) GetGateway() *Gateway
- func (*ModifyGatewayResponse) ProtoMessage()
- func (x *ModifyGatewayResponse) ProtoReflect() protoreflect.Message
- func (x *ModifyGatewayResponse) Reset()
- func (x *ModifyGatewayResponse) String() string
- type NewPrivilegedGatewayAccess
- func (*NewPrivilegedGatewayAccess) Descriptor() ([]byte, []int)deprecated
- func (x *NewPrivilegedGatewayAccess) GetExpires() *timestamppb.Timestamp
- func (x *NewPrivilegedGatewayAccess) GetGateway() string
- func (x *NewPrivilegedGatewayAccess) GetReason() string
- func (*NewPrivilegedGatewayAccess) ProtoMessage()
- func (x *NewPrivilegedGatewayAccess) ProtoReflect() protoreflect.Message
- func (x *NewPrivilegedGatewayAccess) Reset()
- func (x *NewPrivilegedGatewayAccess) String() string
- type PingRequest
- type PingResponse
- type RevokePrivilegedGatewayAccessRequest
- func (*RevokePrivilegedGatewayAccessRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RevokePrivilegedGatewayAccessRequest) GetGateway() string
- func (x *RevokePrivilegedGatewayAccessRequest) GetSessionKey() string
- func (*RevokePrivilegedGatewayAccessRequest) ProtoMessage()
- func (x *RevokePrivilegedGatewayAccessRequest) ProtoReflect() protoreflect.Message
- func (x *RevokePrivilegedGatewayAccessRequest) Reset()
- func (x *RevokePrivilegedGatewayAccessRequest) String() string
- type RevokePrivilegedGatewayAccessResponse
- func (*RevokePrivilegedGatewayAccessResponse) Descriptor() ([]byte, []int)deprecated
- func (*RevokePrivilegedGatewayAccessResponse) ProtoMessage()
- func (x *RevokePrivilegedGatewayAccessResponse) ProtoReflect() protoreflect.Message
- func (x *RevokePrivilegedGatewayAccessResponse) Reset()
- func (x *RevokePrivilegedGatewayAccessResponse) String() string
- type Session
- func (*Session) Descriptor() ([]byte, []int)deprecated
- func (x *Session) Expired() bool
- func (x *Session) GetDevice() *Device
- func (x *Session) GetExpiry() *timestamppb.Timestamp
- func (x *Session) GetGroups() []string
- func (x *Session) GetKey() string
- func (x *Session) GetObjectID() string
- func (*Session) ProtoMessage()
- func (x *Session) ProtoReflect() protoreflect.Message
- func (x *Session) Reset()
- func (x *Session) String() string
- type SetAcceptableUseAcceptedRequest
- func (*SetAcceptableUseAcceptedRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SetAcceptableUseAcceptedRequest) GetAccepted() bool
- func (x *SetAcceptableUseAcceptedRequest) GetSessionKey() string
- func (*SetAcceptableUseAcceptedRequest) ProtoMessage()
- func (x *SetAcceptableUseAcceptedRequest) ProtoReflect() protoreflect.Message
- func (x *SetAcceptableUseAcceptedRequest) Reset()
- func (x *SetAcceptableUseAcceptedRequest) String() string
- type SetAcceptableUseAcceptedResponse
- func (*SetAcceptableUseAcceptedResponse) Descriptor() ([]byte, []int)deprecated
- func (*SetAcceptableUseAcceptedResponse) ProtoMessage()
- func (x *SetAcceptableUseAcceptedResponse) ProtoReflect() protoreflect.Message
- func (x *SetAcceptableUseAcceptedResponse) Reset()
- func (x *SetAcceptableUseAcceptedResponse) String() string
- type SetActiveTenantRequest
- func (*SetActiveTenantRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SetActiveTenantRequest) GetName() string
- func (*SetActiveTenantRequest) ProtoMessage()
- func (x *SetActiveTenantRequest) ProtoReflect() protoreflect.Message
- func (x *SetActiveTenantRequest) Reset()
- func (x *SetActiveTenantRequest) String() string
- type SetActiveTenantResponse
- type SetAgentConfigurationRequest
- func (*SetAgentConfigurationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SetAgentConfigurationRequest) GetConfig() *AgentConfiguration
- func (*SetAgentConfigurationRequest) ProtoMessage()
- func (x *SetAgentConfigurationRequest) ProtoReflect() protoreflect.Message
- func (x *SetAgentConfigurationRequest) Reset()
- func (x *SetAgentConfigurationRequest) String() string
- type SetAgentConfigurationResponse
- func (*SetAgentConfigurationResponse) Descriptor() ([]byte, []int)deprecated
- func (*SetAgentConfigurationResponse) ProtoMessage()
- func (x *SetAgentConfigurationResponse) ProtoReflect() protoreflect.Message
- func (x *SetAgentConfigurationResponse) Reset()
- func (x *SetAgentConfigurationResponse) String() string
- type Severity
- type ShowAcceptableUseRequest
- type ShowAcceptableUseResponse
- type ShowJitaRequest
- type ShowJitaResponse
- type TeardownRequest
- type TeardownResponse
- type Tenant
- func (*Tenant) Descriptor() ([]byte, []int)deprecated
- func (x *Tenant) GetActive() bool
- func (x *Tenant) GetAuthProvider() AuthProvider
- func (x *Tenant) GetDomain() string
- func (x *Tenant) GetName() string
- func (x *Tenant) GetSession() *Session
- func (*Tenant) ProtoMessage()
- func (x *Tenant) ProtoReflect() protoreflect.Message
- func (x *Tenant) Reset()
- func (x *Tenant) String() string
- type UnimplementedAPIServerServer
- func (UnimplementedAPIServerServer) EnrollGateway(context.Context, *ModifyGatewayRequest) (*ModifyGatewayResponse, error)
- func (UnimplementedAPIServerServer) GetAcceptableUseAcceptedAt(context.Context, *GetAcceptableUseAcceptedAtRequest) (*GetAcceptableUseAcceptedAtResponse, error)
- func (UnimplementedAPIServerServer) GetDeviceConfiguration(*GetDeviceConfigurationRequest, ...) error
- func (UnimplementedAPIServerServer) GetGateway(context.Context, *ModifyGatewayRequest) (*Gateway, error)
- func (UnimplementedAPIServerServer) GetGatewayConfiguration(*GetGatewayConfigurationRequest, ...) error
- func (UnimplementedAPIServerServer) GetGatewayJitaGrantsForUser(context.Context, *GetGatewayJitaGrantsForUserRequest) (*GetGatewayJitaGrantsForUserResponse, error)
- func (UnimplementedAPIServerServer) GetKolideCache(context.Context, *GetKolideCacheRequest) (*GetKolideCacheResponse, error)
- func (UnimplementedAPIServerServer) GetSessions(context.Context, *GetSessionsRequest) (*GetSessionsResponse, error)
- func (UnimplementedAPIServerServer) GrantPrivilegedGatewayAccess(context.Context, *GrantPrivilegedGatewayAccessRequest) (*GrantPrivilegedGatewayAccessResponse, error)
- func (UnimplementedAPIServerServer) ListGateways(*ListGatewayRequest, grpc.ServerStreamingServer[Gateway]) error
- func (UnimplementedAPIServerServer) Login(context.Context, *APIServerLoginRequest) (*APIServerLoginResponse, error)
- func (UnimplementedAPIServerServer) RevokePrivilegedGatewayAccess(context.Context, *RevokePrivilegedGatewayAccessRequest) (*RevokePrivilegedGatewayAccessResponse, error)
- func (UnimplementedAPIServerServer) SetAcceptableUseAccepted(context.Context, *SetAcceptableUseAcceptedRequest) (*SetAcceptableUseAcceptedResponse, error)
- func (UnimplementedAPIServerServer) UpdateGateway(context.Context, *ModifyGatewayRequest) (*ModifyGatewayResponse, error)
- func (UnimplementedAPIServerServer) UserHasAccessToPrivilegedGateway(context.Context, *UserHasAccessToPrivilegedGatewayRequest) (*UserHasAccessToPrivilegedGatewayResponse, error)
- type UnimplementedDeviceAgentServer
- func (UnimplementedDeviceAgentServer) ConfigureJITA(context.Context, *ConfigureJITARequest) (*ConfigureJITAResponse, error)
- func (UnimplementedDeviceAgentServer) GetAgentConfiguration(context.Context, *GetAgentConfigurationRequest) (*GetAgentConfigurationResponse, error)
- func (UnimplementedDeviceAgentServer) Login(context.Context, *LoginRequest) (*LoginResponse, error)
- func (UnimplementedDeviceAgentServer) Logout(context.Context, *LogoutRequest) (*LogoutResponse, error)
- func (UnimplementedDeviceAgentServer) SetActiveTenant(context.Context, *SetActiveTenantRequest) (*SetActiveTenantResponse, error)
- func (UnimplementedDeviceAgentServer) SetAgentConfiguration(context.Context, *SetAgentConfigurationRequest) (*SetAgentConfigurationResponse, error)
- func (UnimplementedDeviceAgentServer) ShowAcceptableUse(context.Context, *ShowAcceptableUseRequest) (*ShowAcceptableUseResponse, error)
- func (UnimplementedDeviceAgentServer) ShowJita(context.Context, *ShowJitaRequest) (*ShowJitaResponse, error)
- func (UnimplementedDeviceAgentServer) Status(*AgentStatusRequest, grpc.ServerStreamingServer[AgentStatus]) error
- type UnimplementedDeviceHelperServer
- func (UnimplementedDeviceHelperServer) Configure(context.Context, *Configuration) (*ConfigureResponse, error)
- func (UnimplementedDeviceHelperServer) GetSerial(context.Context, *GetSerialRequest) (*GetSerialResponse, error)
- func (UnimplementedDeviceHelperServer) Ping(context.Context, *PingRequest) (*PingResponse, error)
- func (UnimplementedDeviceHelperServer) Teardown(context.Context, *TeardownRequest) (*TeardownResponse, error)
- func (UnimplementedDeviceHelperServer) Upgrade(context.Context, *UpgradeRequest) (*UpgradeResponse, error)
- type UnsafeAPIServerServer
- type UnsafeDeviceAgentServer
- type UnsafeDeviceHelperServer
- type UpgradeRequest
- type UpgradeResponse
- type UserHasAccessToPrivilegedGatewayRequest
- func (*UserHasAccessToPrivilegedGatewayRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UserHasAccessToPrivilegedGatewayRequest) GetGateway() string
- func (x *UserHasAccessToPrivilegedGatewayRequest) GetSessionKey() string
- func (*UserHasAccessToPrivilegedGatewayRequest) ProtoMessage()
- func (x *UserHasAccessToPrivilegedGatewayRequest) ProtoReflect() protoreflect.Message
- func (x *UserHasAccessToPrivilegedGatewayRequest) Reset()
- func (x *UserHasAccessToPrivilegedGatewayRequest) String() string
- type UserHasAccessToPrivilegedGatewayResponse
- func (*UserHasAccessToPrivilegedGatewayResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UserHasAccessToPrivilegedGatewayResponse) GetHasAccess() bool
- func (*UserHasAccessToPrivilegedGatewayResponse) ProtoMessage()
- func (x *UserHasAccessToPrivilegedGatewayResponse) ProtoReflect() protoreflect.Message
- func (x *UserHasAccessToPrivilegedGatewayResponse) Reset()
- func (x *UserHasAccessToPrivilegedGatewayResponse) String() string
Constants ¶
const ( DeviceHelper_Configure_FullMethodName = "/naisdevice.DeviceHelper/Configure" DeviceHelper_Teardown_FullMethodName = "/naisdevice.DeviceHelper/Teardown" DeviceHelper_Upgrade_FullMethodName = "/naisdevice.DeviceHelper/Upgrade" DeviceHelper_GetSerial_FullMethodName = "/naisdevice.DeviceHelper/GetSerial" DeviceHelper_Ping_FullMethodName = "/naisdevice.DeviceHelper/Ping" )
const ( DeviceAgent_Status_FullMethodName = "/naisdevice.DeviceAgent/Status" DeviceAgent_ConfigureJITA_FullMethodName = "/naisdevice.DeviceAgent/ConfigureJITA" DeviceAgent_Login_FullMethodName = "/naisdevice.DeviceAgent/Login" DeviceAgent_Logout_FullMethodName = "/naisdevice.DeviceAgent/Logout" DeviceAgent_SetActiveTenant_FullMethodName = "/naisdevice.DeviceAgent/SetActiveTenant" DeviceAgent_SetAgentConfiguration_FullMethodName = "/naisdevice.DeviceAgent/SetAgentConfiguration" DeviceAgent_GetAgentConfiguration_FullMethodName = "/naisdevice.DeviceAgent/GetAgentConfiguration" DeviceAgent_ShowAcceptableUse_FullMethodName = "/naisdevice.DeviceAgent/ShowAcceptableUse" DeviceAgent_ShowJita_FullMethodName = "/naisdevice.DeviceAgent/ShowJita" )
const ( APIServer_Login_FullMethodName = "/naisdevice.APIServer/Login" APIServer_GetDeviceConfiguration_FullMethodName = "/naisdevice.APIServer/GetDeviceConfiguration" APIServer_GetGatewayConfiguration_FullMethodName = "/naisdevice.APIServer/GetGatewayConfiguration" APIServer_GetGateway_FullMethodName = "/naisdevice.APIServer/GetGateway" APIServer_ListGateways_FullMethodName = "/naisdevice.APIServer/ListGateways" APIServer_EnrollGateway_FullMethodName = "/naisdevice.APIServer/EnrollGateway" APIServer_UpdateGateway_FullMethodName = "/naisdevice.APIServer/UpdateGateway" APIServer_GetSessions_FullMethodName = "/naisdevice.APIServer/GetSessions" APIServer_GetKolideCache_FullMethodName = "/naisdevice.APIServer/GetKolideCache" APIServer_GetAcceptableUseAcceptedAt_FullMethodName = "/naisdevice.APIServer/GetAcceptableUseAcceptedAt" APIServer_SetAcceptableUseAccepted_FullMethodName = "/naisdevice.APIServer/SetAcceptableUseAccepted" APIServer_GetGatewayJitaGrantsForUser_FullMethodName = "/naisdevice.APIServer/GetGatewayJitaGrantsForUser" APIServer_UserHasAccessToPrivilegedGateway_FullMethodName = "/naisdevice.APIServer/UserHasAccessToPrivilegedGateway" APIServer_GrantPrivilegedGatewayAccess_FullMethodName = "/naisdevice.APIServer/GrantPrivilegedGatewayAccess" APIServer_RevokePrivilegedGatewayAccess_FullMethodName = "/naisdevice.APIServer/RevokePrivilegedGatewayAccess" )
Variables ¶
var ( AgentState_name = map[int32]string{ 0: "Disconnected", 1: "Bootstrapping", 2: "Connected", 3: "Disconnecting", 4: "Unhealthy", 5: "Quitting", 6: "Authenticating", 9: "AuthenticateBackoff", 10: "AgentConfigurationChanged", } AgentState_value = map[string]int32{ "Disconnected": 0, "Bootstrapping": 1, "Connected": 2, "Disconnecting": 3, "Unhealthy": 4, "Quitting": 5, "Authenticating": 6, "AuthenticateBackoff": 9, "AgentConfigurationChanged": 10, } )
Enum value maps for AgentState.
var ( DeviceConfigurationStatus_name = map[int32]string{ 0: "DeviceHealthy", 1: "DeviceUnhealthy", 2: "InvalidSession", } DeviceConfigurationStatus_value = map[string]int32{ "DeviceHealthy": 0, "DeviceUnhealthy": 1, "InvalidSession": 2, } )
Enum value maps for DeviceConfigurationStatus.
var ( AuthProvider_name = map[int32]string{ 0: "Azure", 1: "Google", } AuthProvider_value = map[string]int32{ "Azure": 0, "Google": 1, } )
Enum value maps for AuthProvider.
var ( Severity_name = map[int32]string{ 0: "Info", 1: "Notice", 2: "Warning", 3: "Danger", 4: "Critical", 5: "Attention", } Severity_value = map[string]int32{ "Info": 0, "Notice": 1, "Warning": 2, "Danger": 3, "Critical": 4, "Attention": 5, } )
Enum value maps for Severity.
var APIServer_ServiceDesc = grpc.ServiceDesc{ ServiceName: "naisdevice.APIServer", HandlerType: (*APIServerServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Login", Handler: _APIServer_Login_Handler, }, { MethodName: "GetGateway", Handler: _APIServer_GetGateway_Handler, }, { MethodName: "EnrollGateway", Handler: _APIServer_EnrollGateway_Handler, }, { MethodName: "UpdateGateway", Handler: _APIServer_UpdateGateway_Handler, }, { MethodName: "GetSessions", Handler: _APIServer_GetSessions_Handler, }, { MethodName: "GetKolideCache", Handler: _APIServer_GetKolideCache_Handler, }, { MethodName: "GetAcceptableUseAcceptedAt", Handler: _APIServer_GetAcceptableUseAcceptedAt_Handler, }, { MethodName: "SetAcceptableUseAccepted", Handler: _APIServer_SetAcceptableUseAccepted_Handler, }, { MethodName: "GetGatewayJitaGrantsForUser", Handler: _APIServer_GetGatewayJitaGrantsForUser_Handler, }, { MethodName: "UserHasAccessToPrivilegedGateway", Handler: _APIServer_UserHasAccessToPrivilegedGateway_Handler, }, { MethodName: "GrantPrivilegedGatewayAccess", Handler: _APIServer_GrantPrivilegedGatewayAccess_Handler, }, { MethodName: "RevokePrivilegedGatewayAccess", Handler: _APIServer_RevokePrivilegedGatewayAccess_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "GetDeviceConfiguration", Handler: _APIServer_GetDeviceConfiguration_Handler, ServerStreams: true, }, { StreamName: "GetGatewayConfiguration", Handler: _APIServer_GetGatewayConfiguration_Handler, ServerStreams: true, }, { StreamName: "ListGateways", Handler: _APIServer_ListGateways_Handler, ServerStreams: true, }, }, Metadata: "pkg/pb/protobuf-api.proto", }
APIServer_ServiceDesc is the grpc.ServiceDesc for APIServer service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var DeviceAgent_ServiceDesc = grpc.ServiceDesc{ ServiceName: "naisdevice.DeviceAgent", HandlerType: (*DeviceAgentServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "ConfigureJITA", Handler: _DeviceAgent_ConfigureJITA_Handler, }, { MethodName: "Login", Handler: _DeviceAgent_Login_Handler, }, { MethodName: "Logout", Handler: _DeviceAgent_Logout_Handler, }, { MethodName: "SetActiveTenant", Handler: _DeviceAgent_SetActiveTenant_Handler, }, { MethodName: "SetAgentConfiguration", Handler: _DeviceAgent_SetAgentConfiguration_Handler, }, { MethodName: "GetAgentConfiguration", Handler: _DeviceAgent_GetAgentConfiguration_Handler, }, { MethodName: "ShowAcceptableUse", Handler: _DeviceAgent_ShowAcceptableUse_Handler, }, { MethodName: "ShowJita", Handler: _DeviceAgent_ShowJita_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "Status", Handler: _DeviceAgent_Status_Handler, ServerStreams: true, }, }, Metadata: "pkg/pb/protobuf-api.proto", }
DeviceAgent_ServiceDesc is the grpc.ServiceDesc for DeviceAgent service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var DeviceHelper_ServiceDesc = grpc.ServiceDesc{ ServiceName: "naisdevice.DeviceHelper", HandlerType: (*DeviceHelperServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Configure", Handler: _DeviceHelper_Configure_Handler, }, { MethodName: "Teardown", Handler: _DeviceHelper_Teardown_Handler, }, { MethodName: "Upgrade", Handler: _DeviceHelper_Upgrade_Handler, }, { MethodName: "GetSerial", Handler: _DeviceHelper_GetSerial_Handler, }, { MethodName: "Ping", Handler: _DeviceHelper_Ping_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "pkg/pb/protobuf-api.proto", }
DeviceHelper_ServiceDesc is the grpc.ServiceDesc for DeviceHelper service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_pkg_pb_protobuf_api_proto protoreflect.FileDescriptor
Functions ¶
func AfterGracePeriod ¶
func AfterGracePeriod(d *DeviceIssue) bool
func RegisterAPIServerServer ¶
func RegisterAPIServerServer(s grpc.ServiceRegistrar, srv APIServerServer)
func RegisterDeviceAgentServer ¶
func RegisterDeviceAgentServer(s grpc.ServiceRegistrar, srv DeviceAgentServer)
func RegisterDeviceHelperServer ¶
func RegisterDeviceHelperServer(s grpc.ServiceRegistrar, srv DeviceHelperServer)
Types ¶
type APIServerClient ¶
type APIServerClient interface {
// Exchange an access token for a session
Login(ctx context.Context, in *APIServerLoginRequest, opts ...grpc.CallOption) (*APIServerLoginResponse, error)
// Set up a client->server request for continuous streaming of new configuration
GetDeviceConfiguration(ctx context.Context, in *GetDeviceConfigurationRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[GetDeviceConfigurationResponse], error)
// Set up continuous streaming of new gateway configuration
GetGatewayConfiguration(ctx context.Context, in *GetGatewayConfigurationRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[GetGatewayConfigurationResponse], error)
// Admin endpoint for retrieving a single gateway
GetGateway(ctx context.Context, in *ModifyGatewayRequest, opts ...grpc.CallOption) (*Gateway, error)
// Admin endpoint for listing out gateways registered in database
ListGateways(ctx context.Context, in *ListGatewayRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[Gateway], error)
// Admin endpoint for adding gateway credentials to the database
EnrollGateway(ctx context.Context, in *ModifyGatewayRequest, opts ...grpc.CallOption) (*ModifyGatewayResponse, error)
// Admin endpoint for adding gateway credentials to the database
UpdateGateway(ctx context.Context, in *ModifyGatewayRequest, opts ...grpc.CallOption) (*ModifyGatewayResponse, error)
// Admin endpoint for reading sessions from the cache
GetSessions(ctx context.Context, in *GetSessionsRequest, opts ...grpc.CallOption) (*GetSessionsResponse, error)
// Admin endpoint for reading kolide cache
GetKolideCache(ctx context.Context, in *GetKolideCacheRequest, opts ...grpc.CallOption) (*GetKolideCacheResponse, error)
GetAcceptableUseAcceptedAt(ctx context.Context, in *GetAcceptableUseAcceptedAtRequest, opts ...grpc.CallOption) (*GetAcceptableUseAcceptedAtResponse, error)
SetAcceptableUseAccepted(ctx context.Context, in *SetAcceptableUseAcceptedRequest, opts ...grpc.CallOption) (*SetAcceptableUseAcceptedResponse, error)
GetGatewayJitaGrantsForUser(ctx context.Context, in *GetGatewayJitaGrantsForUserRequest, opts ...grpc.CallOption) (*GetGatewayJitaGrantsForUserResponse, error)
UserHasAccessToPrivilegedGateway(ctx context.Context, in *UserHasAccessToPrivilegedGatewayRequest, opts ...grpc.CallOption) (*UserHasAccessToPrivilegedGatewayResponse, error)
GrantPrivilegedGatewayAccess(ctx context.Context, in *GrantPrivilegedGatewayAccessRequest, opts ...grpc.CallOption) (*GrantPrivilegedGatewayAccessResponse, error)
RevokePrivilegedGatewayAccess(ctx context.Context, in *RevokePrivilegedGatewayAccessRequest, opts ...grpc.CallOption) (*RevokePrivilegedGatewayAccessResponse, error)
}
APIServerClient is the client API for APIServer service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewAPIServerClient ¶
func NewAPIServerClient(cc grpc.ClientConnInterface) APIServerClient
type APIServerLoginRequest ¶
type APIServerLoginRequest struct {
Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
Platform string `protobuf:"bytes,2,opt,name=platform,proto3" json:"platform,omitempty"`
Serial string `protobuf:"bytes,3,opt,name=serial,proto3" json:"serial,omitempty"`
Version string `protobuf:"bytes,4,opt,name=version,proto3" json:"version,omitempty"`
// contains filtered or unexported fields
}
func (*APIServerLoginRequest) Descriptor
deprecated
func (*APIServerLoginRequest) Descriptor() ([]byte, []int)
Deprecated: Use APIServerLoginRequest.ProtoReflect.Descriptor instead.
func (*APIServerLoginRequest) GetPlatform ¶
func (x *APIServerLoginRequest) GetPlatform() string
func (*APIServerLoginRequest) GetSerial ¶
func (x *APIServerLoginRequest) GetSerial() string
func (*APIServerLoginRequest) GetToken ¶
func (x *APIServerLoginRequest) GetToken() string
func (*APIServerLoginRequest) GetVersion ¶
func (x *APIServerLoginRequest) GetVersion() string
func (*APIServerLoginRequest) ProtoMessage ¶
func (*APIServerLoginRequest) ProtoMessage()
func (*APIServerLoginRequest) ProtoReflect ¶
func (x *APIServerLoginRequest) ProtoReflect() protoreflect.Message
func (*APIServerLoginRequest) Reset ¶
func (x *APIServerLoginRequest) Reset()
func (*APIServerLoginRequest) String ¶
func (x *APIServerLoginRequest) String() string
type APIServerLoginResponse ¶
type APIServerLoginResponse struct {
Session *Session `protobuf:"bytes,1,opt,name=session,proto3" json:"session,omitempty"`
// contains filtered or unexported fields
}
func (*APIServerLoginResponse) Descriptor
deprecated
func (*APIServerLoginResponse) Descriptor() ([]byte, []int)
Deprecated: Use APIServerLoginResponse.ProtoReflect.Descriptor instead.
func (*APIServerLoginResponse) GetSession ¶
func (x *APIServerLoginResponse) GetSession() *Session
func (*APIServerLoginResponse) ProtoMessage ¶
func (*APIServerLoginResponse) ProtoMessage()
func (*APIServerLoginResponse) ProtoReflect ¶
func (x *APIServerLoginResponse) ProtoReflect() protoreflect.Message
func (*APIServerLoginResponse) Reset ¶
func (x *APIServerLoginResponse) Reset()
func (*APIServerLoginResponse) String ¶
func (x *APIServerLoginResponse) String() string
type APIServerServer ¶
type APIServerServer interface {
// Exchange an access token for a session
Login(context.Context, *APIServerLoginRequest) (*APIServerLoginResponse, error)
// Set up a client->server request for continuous streaming of new configuration
GetDeviceConfiguration(*GetDeviceConfigurationRequest, grpc.ServerStreamingServer[GetDeviceConfigurationResponse]) error
// Set up continuous streaming of new gateway configuration
GetGatewayConfiguration(*GetGatewayConfigurationRequest, grpc.ServerStreamingServer[GetGatewayConfigurationResponse]) error
// Admin endpoint for retrieving a single gateway
GetGateway(context.Context, *ModifyGatewayRequest) (*Gateway, error)
// Admin endpoint for listing out gateways registered in database
ListGateways(*ListGatewayRequest, grpc.ServerStreamingServer[Gateway]) error
// Admin endpoint for adding gateway credentials to the database
EnrollGateway(context.Context, *ModifyGatewayRequest) (*ModifyGatewayResponse, error)
// Admin endpoint for adding gateway credentials to the database
UpdateGateway(context.Context, *ModifyGatewayRequest) (*ModifyGatewayResponse, error)
// Admin endpoint for reading sessions from the cache
GetSessions(context.Context, *GetSessionsRequest) (*GetSessionsResponse, error)
// Admin endpoint for reading kolide cache
GetKolideCache(context.Context, *GetKolideCacheRequest) (*GetKolideCacheResponse, error)
GetAcceptableUseAcceptedAt(context.Context, *GetAcceptableUseAcceptedAtRequest) (*GetAcceptableUseAcceptedAtResponse, error)
SetAcceptableUseAccepted(context.Context, *SetAcceptableUseAcceptedRequest) (*SetAcceptableUseAcceptedResponse, error)
GetGatewayJitaGrantsForUser(context.Context, *GetGatewayJitaGrantsForUserRequest) (*GetGatewayJitaGrantsForUserResponse, error)
UserHasAccessToPrivilegedGateway(context.Context, *UserHasAccessToPrivilegedGatewayRequest) (*UserHasAccessToPrivilegedGatewayResponse, error)
GrantPrivilegedGatewayAccess(context.Context, *GrantPrivilegedGatewayAccessRequest) (*GrantPrivilegedGatewayAccessResponse, error)
RevokePrivilegedGatewayAccess(context.Context, *RevokePrivilegedGatewayAccessRequest) (*RevokePrivilegedGatewayAccessResponse, error)
// contains filtered or unexported methods
}
APIServerServer is the server API for APIServer service. All implementations must embed UnimplementedAPIServerServer for forward compatibility.
type APIServer_GetDeviceConfigurationClient ¶
type APIServer_GetDeviceConfigurationClient = grpc.ServerStreamingClient[GetDeviceConfigurationResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type APIServer_GetDeviceConfigurationServer ¶
type APIServer_GetDeviceConfigurationServer = grpc.ServerStreamingServer[GetDeviceConfigurationResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type APIServer_GetGatewayConfigurationClient ¶
type APIServer_GetGatewayConfigurationClient = grpc.ServerStreamingClient[GetGatewayConfigurationResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type APIServer_GetGatewayConfigurationServer ¶
type APIServer_GetGatewayConfigurationServer = grpc.ServerStreamingServer[GetGatewayConfigurationResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type APIServer_ListGatewaysClient ¶
type APIServer_ListGatewaysClient = grpc.ServerStreamingClient[Gateway]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type APIServer_ListGatewaysServer ¶
type APIServer_ListGatewaysServer = grpc.ServerStreamingServer[Gateway]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type AgentConfiguration ¶
type AgentConfiguration struct {
AutoConnect bool `protobuf:"varint,2,opt,name=AutoConnect,proto3" json:"AutoConnect,omitempty"`
ILoveNinetiesBoybands bool `protobuf:"varint,3,opt,name=ILoveNinetiesBoybands,proto3" json:"ILoveNinetiesBoybands,omitempty"`
// contains filtered or unexported fields
}
func (*AgentConfiguration) Descriptor
deprecated
func (*AgentConfiguration) Descriptor() ([]byte, []int)
Deprecated: Use AgentConfiguration.ProtoReflect.Descriptor instead.
func (*AgentConfiguration) GetAutoConnect ¶
func (x *AgentConfiguration) GetAutoConnect() bool
func (*AgentConfiguration) GetILoveNinetiesBoybands ¶
func (x *AgentConfiguration) GetILoveNinetiesBoybands() bool
func (*AgentConfiguration) ProtoMessage ¶
func (*AgentConfiguration) ProtoMessage()
func (*AgentConfiguration) ProtoReflect ¶
func (x *AgentConfiguration) ProtoReflect() protoreflect.Message
func (*AgentConfiguration) Reset ¶
func (x *AgentConfiguration) Reset()
func (*AgentConfiguration) String ¶
func (x *AgentConfiguration) String() string
type AgentState ¶
type AgentState int32
const ( AgentState_Disconnected AgentState = 0 AgentState_Bootstrapping AgentState = 1 AgentState_Connected AgentState = 2 AgentState_Disconnecting AgentState = 3 AgentState_Unhealthy AgentState = 4 AgentState_Quitting AgentState = 5 AgentState_Authenticating AgentState = 6 AgentState_AuthenticateBackoff AgentState = 9 AgentState_AgentConfigurationChanged AgentState = 10 )
func (AgentState) Descriptor ¶
func (AgentState) Descriptor() protoreflect.EnumDescriptor
func (AgentState) Enum ¶
func (x AgentState) Enum() *AgentState
func (AgentState) EnumDescriptor
deprecated
func (AgentState) EnumDescriptor() ([]byte, []int)
Deprecated: Use AgentState.Descriptor instead.
func (AgentState) Number ¶
func (x AgentState) Number() protoreflect.EnumNumber
func (AgentState) String ¶
func (x AgentState) String() string
func (AgentState) Type ¶
func (AgentState) Type() protoreflect.EnumType
type AgentStatus ¶
type AgentStatus struct {
ConnectionState AgentState `protobuf:"varint,1,opt,name=connectionState,proto3,enum=naisdevice.AgentState" json:"connectionState,omitempty"`
ConnectedSince *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=connectedSince,proto3" json:"connectedSince,omitempty"`
NewVersionAvailable bool `protobuf:"varint,3,opt,name=newVersionAvailable,proto3" json:"newVersionAvailable,omitempty"`
Gateways []*Gateway `protobuf:"bytes,4,rep,name=Gateways,proto3" json:"Gateways,omitempty"`
Tenants []*Tenant `protobuf:"bytes,5,rep,name=Tenants,proto3" json:"Tenants,omitempty"`
Issues []*DeviceIssue `protobuf:"bytes,6,rep,name=Issues,proto3" json:"Issues,omitempty"`
// contains filtered or unexported fields
}
func (*AgentStatus) ConnectionStateString ¶
func (x *AgentStatus) ConnectionStateString() string
ConnectionStateString returns a human-friendly connection status
func (*AgentStatus) Descriptor
deprecated
func (*AgentStatus) Descriptor() ([]byte, []int)
Deprecated: Use AgentStatus.ProtoReflect.Descriptor instead.
func (*AgentStatus) GetConnectedSince ¶
func (x *AgentStatus) GetConnectedSince() *timestamppb.Timestamp
func (*AgentStatus) GetConnectionState ¶
func (x *AgentStatus) GetConnectionState() AgentState
func (*AgentStatus) GetGateways ¶
func (x *AgentStatus) GetGateways() []*Gateway
func (*AgentStatus) GetIssues ¶
func (x *AgentStatus) GetIssues() []*DeviceIssue
func (*AgentStatus) GetNewVersionAvailable ¶
func (x *AgentStatus) GetNewVersionAvailable() bool
func (*AgentStatus) GetTenants ¶
func (x *AgentStatus) GetTenants() []*Tenant
func (*AgentStatus) ProtoMessage ¶
func (*AgentStatus) ProtoMessage()
func (*AgentStatus) ProtoReflect ¶
func (x *AgentStatus) ProtoReflect() protoreflect.Message
func (*AgentStatus) Reset ¶
func (x *AgentStatus) Reset()
func (*AgentStatus) String ¶
func (x *AgentStatus) String() string
type AgentStatusRequest ¶
type AgentStatusRequest struct {
KeepConnectionOnComplete bool `protobuf:"varint,1,opt,name=keepConnectionOnComplete,proto3" json:"keepConnectionOnComplete,omitempty"`
// contains filtered or unexported fields
}
func (*AgentStatusRequest) Descriptor
deprecated
func (*AgentStatusRequest) Descriptor() ([]byte, []int)
Deprecated: Use AgentStatusRequest.ProtoReflect.Descriptor instead.
func (*AgentStatusRequest) GetKeepConnectionOnComplete ¶
func (x *AgentStatusRequest) GetKeepConnectionOnComplete() bool
func (*AgentStatusRequest) ProtoMessage ¶
func (*AgentStatusRequest) ProtoMessage()
func (*AgentStatusRequest) ProtoReflect ¶
func (x *AgentStatusRequest) ProtoReflect() protoreflect.Message
func (*AgentStatusRequest) Reset ¶
func (x *AgentStatusRequest) Reset()
func (*AgentStatusRequest) String ¶
func (x *AgentStatusRequest) String() string
type AuthProvider ¶
type AuthProvider int32
const ( AuthProvider_Azure AuthProvider = 0 AuthProvider_Google AuthProvider = 1 )
func (AuthProvider) Descriptor ¶
func (AuthProvider) Descriptor() protoreflect.EnumDescriptor
func (AuthProvider) Enum ¶
func (x AuthProvider) Enum() *AuthProvider
func (AuthProvider) EnumDescriptor
deprecated
func (AuthProvider) EnumDescriptor() ([]byte, []int)
Deprecated: Use AuthProvider.Descriptor instead.
func (AuthProvider) Number ¶
func (x AuthProvider) Number() protoreflect.EnumNumber
func (AuthProvider) String ¶
func (x AuthProvider) String() string
func (AuthProvider) Type ¶
func (AuthProvider) Type() protoreflect.EnumType
type Configuration ¶
type Configuration struct {
PrivateKey string `protobuf:"bytes,1,opt,name=privateKey,proto3" json:"privateKey,omitempty"`
DeviceIPv4 string `protobuf:"bytes,2,opt,name=deviceIPv4,proto3" json:"deviceIPv4,omitempty"`
Gateways []*Gateway `protobuf:"bytes,3,rep,name=Gateways,proto3" json:"Gateways,omitempty"`
DeviceIPv6 string `protobuf:"bytes,4,opt,name=deviceIPv6,proto3" json:"deviceIPv6,omitempty"`
// contains filtered or unexported fields
}
func (*Configuration) Descriptor
deprecated
func (*Configuration) Descriptor() ([]byte, []int)
Deprecated: Use Configuration.ProtoReflect.Descriptor instead.
func (*Configuration) GetDeviceIPv4 ¶
func (x *Configuration) GetDeviceIPv4() string
func (*Configuration) GetDeviceIPv6 ¶
func (x *Configuration) GetDeviceIPv6() string
func (*Configuration) GetGateways ¶
func (x *Configuration) GetGateways() []*Gateway
func (*Configuration) GetPrivateKey ¶
func (x *Configuration) GetPrivateKey() string
func (*Configuration) ProtoMessage ¶
func (*Configuration) ProtoMessage()
func (*Configuration) ProtoReflect ¶
func (x *Configuration) ProtoReflect() protoreflect.Message
func (*Configuration) Reset ¶
func (x *Configuration) Reset()
func (*Configuration) String ¶
func (x *Configuration) String() string
type ConfigureJITARequest ¶
type ConfigureJITARequest struct {
Gateway *Gateway `protobuf:"bytes,1,opt,name=gateway,proto3" json:"gateway,omitempty"`
// contains filtered or unexported fields
}
func (*ConfigureJITARequest) Descriptor
deprecated
func (*ConfigureJITARequest) Descriptor() ([]byte, []int)
Deprecated: Use ConfigureJITARequest.ProtoReflect.Descriptor instead.
func (*ConfigureJITARequest) GetGateway ¶
func (x *ConfigureJITARequest) GetGateway() *Gateway
func (*ConfigureJITARequest) ProtoMessage ¶
func (*ConfigureJITARequest) ProtoMessage()
func (*ConfigureJITARequest) ProtoReflect ¶
func (x *ConfigureJITARequest) ProtoReflect() protoreflect.Message
func (*ConfigureJITARequest) Reset ¶
func (x *ConfigureJITARequest) Reset()
func (*ConfigureJITARequest) String ¶
func (x *ConfigureJITARequest) String() string
type ConfigureJITAResponse ¶
type ConfigureJITAResponse struct {
// contains filtered or unexported fields
}
func (*ConfigureJITAResponse) Descriptor
deprecated
func (*ConfigureJITAResponse) Descriptor() ([]byte, []int)
Deprecated: Use ConfigureJITAResponse.ProtoReflect.Descriptor instead.
func (*ConfigureJITAResponse) ProtoMessage ¶
func (*ConfigureJITAResponse) ProtoMessage()
func (*ConfigureJITAResponse) ProtoReflect ¶
func (x *ConfigureJITAResponse) ProtoReflect() protoreflect.Message
func (*ConfigureJITAResponse) Reset ¶
func (x *ConfigureJITAResponse) Reset()
func (*ConfigureJITAResponse) String ¶
func (x *ConfigureJITAResponse) String() string
type ConfigureResponse ¶
type ConfigureResponse struct {
// contains filtered or unexported fields
}
func (*ConfigureResponse) Descriptor
deprecated
func (*ConfigureResponse) Descriptor() ([]byte, []int)
Deprecated: Use ConfigureResponse.ProtoReflect.Descriptor instead.
func (*ConfigureResponse) ProtoMessage ¶
func (*ConfigureResponse) ProtoMessage()
func (*ConfigureResponse) ProtoReflect ¶
func (x *ConfigureResponse) ProtoReflect() protoreflect.Message
func (*ConfigureResponse) Reset ¶
func (x *ConfigureResponse) Reset()
func (*ConfigureResponse) String ¶
func (x *ConfigureResponse) String() string
type ConnectionNotifier ¶
type ConnectionNotifier struct {
// contains filtered or unexported fields
}
ConnectionNotifier implements gRPC stats.Handler and provides the two channels Connect() and Disconnect() to notify when gRPC connections are set up and torn down.
Add to gRPC server with:
notifier := NewConnectionNotifier() grpc.NewServer(grpc.StatsHandler(notifier))
Listen for events with:
<- notifier.Connect() <- notifier.Disconnect()
func NewConnectionNotifier ¶
func NewConnectionNotifier() *ConnectionNotifier
func (*ConnectionNotifier) Connect ¶
func (h *ConnectionNotifier) Connect() <-chan any
func (*ConnectionNotifier) Disconnect ¶
func (h *ConnectionNotifier) Disconnect() <-chan any
func (*ConnectionNotifier) HandleConn ¶
func (h *ConnectionNotifier) HandleConn(ctx context.Context, s stats.ConnStats)
func (*ConnectionNotifier) HandleRPC ¶
func (h *ConnectionNotifier) HandleRPC(ctx context.Context, s stats.RPCStats)
func (*ConnectionNotifier) TagConn ¶
func (h *ConnectionNotifier) TagConn(ctx context.Context, info *stats.ConnTagInfo) context.Context
func (*ConnectionNotifier) TagRPC ¶
func (h *ConnectionNotifier) TagRPC(ctx context.Context, info *stats.RPCTagInfo) context.Context
type Device ¶
type Device struct {
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
Serial string `protobuf:"bytes,2,opt,name=serial,proto3" json:"serial,omitempty"`
LastUpdated *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=lastUpdated,proto3" json:"lastUpdated,omitempty"`
PublicKey string `protobuf:"bytes,7,opt,name=publicKey,proto3" json:"publicKey,omitempty"`
Ipv4 string `protobuf:"bytes,8,opt,name=ipv4,proto3" json:"ipv4,omitempty"`
Username string `protobuf:"bytes,9,opt,name=username,proto3" json:"username,omitempty"`
Platform string `protobuf:"bytes,10,opt,name=platform,proto3" json:"platform,omitempty"`
Ipv6 string `protobuf:"bytes,11,opt,name=ipv6,proto3" json:"ipv6,omitempty"`
Issues []*DeviceIssue `protobuf:"bytes,12,rep,name=issues,proto3" json:"issues,omitempty"`
LastSeen *timestamppb.Timestamp `protobuf:"bytes,13,opt,name=lastSeen,proto3" json:"lastSeen,omitempty"`
ExternalID string `protobuf:"bytes,14,opt,name=externalID,proto3" json:"externalID,omitempty"`
// contains filtered or unexported fields
}
func (*Device) Descriptor
deprecated
func (*Device) GetAllowedIPs ¶
GetAllowedIPs returns the private IP addresses of a device.
func (*Device) GetEndpoint ¶
GetEndpoint does not return anything for devices, as they have no known endpoints.
func (*Device) GetExternalID ¶
func (*Device) GetIssues ¶
func (x *Device) GetIssues() []*DeviceIssue
func (*Device) GetLastSeen ¶
func (x *Device) GetLastSeen() *timestamppb.Timestamp
func (*Device) GetLastUpdated ¶
func (x *Device) GetLastUpdated() *timestamppb.Timestamp
func (*Device) GetName ¶
GetName is written to the config file as a comment, so we put in the serial of the device in order to identify it.
func (*Device) GetPlatform ¶
func (*Device) GetPublicKey ¶
func (*Device) GetUsername ¶
func (*Device) ProtoMessage ¶
func (*Device) ProtoMessage()
func (*Device) ProtoReflect ¶
func (x *Device) ProtoReflect() protoreflect.Message
type DeviceAgentClient ¶
type DeviceAgentClient interface {
// DeviceAgent will stream all state changes on this endpoint.
// Use Status() to continuously monitor the current Agent status.
Status(ctx context.Context, in *AgentStatusRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[AgentStatus], error)
// Open the JITA form in a web browser.
ConfigureJITA(ctx context.Context, in *ConfigureJITARequest, opts ...grpc.CallOption) (*ConfigureJITAResponse, error)
// Log in to API server, enabling access to protected resources.
Login(ctx context.Context, in *LoginRequest, opts ...grpc.CallOption) (*LoginResponse, error)
// Log out of API server, shutting down all VPN connections.
Logout(ctx context.Context, in *LogoutRequest, opts ...grpc.CallOption) (*LogoutResponse, error)
// Set active tenant
SetActiveTenant(ctx context.Context, in *SetActiveTenantRequest, opts ...grpc.CallOption) (*SetActiveTenantResponse, error)
// Set device agent configuration
SetAgentConfiguration(ctx context.Context, in *SetAgentConfigurationRequest, opts ...grpc.CallOption) (*SetAgentConfigurationResponse, error)
// Get the current configuration for the device agent
GetAgentConfiguration(ctx context.Context, in *GetAgentConfigurationRequest, opts ...grpc.CallOption) (*GetAgentConfigurationResponse, error)
// Show the acceptable use policy
ShowAcceptableUse(ctx context.Context, in *ShowAcceptableUseRequest, opts ...grpc.CallOption) (*ShowAcceptableUseResponse, error)
// Show the jita page
ShowJita(ctx context.Context, in *ShowJitaRequest, opts ...grpc.CallOption) (*ShowJitaResponse, error)
}
DeviceAgentClient is the client API for DeviceAgent service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewDeviceAgentClient ¶
func NewDeviceAgentClient(cc grpc.ClientConnInterface) DeviceAgentClient
type DeviceAgentServer ¶
type DeviceAgentServer interface {
// DeviceAgent will stream all state changes on this endpoint.
// Use Status() to continuously monitor the current Agent status.
Status(*AgentStatusRequest, grpc.ServerStreamingServer[AgentStatus]) error
// Open the JITA form in a web browser.
ConfigureJITA(context.Context, *ConfigureJITARequest) (*ConfigureJITAResponse, error)
// Log in to API server, enabling access to protected resources.
Login(context.Context, *LoginRequest) (*LoginResponse, error)
// Log out of API server, shutting down all VPN connections.
Logout(context.Context, *LogoutRequest) (*LogoutResponse, error)
// Set active tenant
SetActiveTenant(context.Context, *SetActiveTenantRequest) (*SetActiveTenantResponse, error)
// Set device agent configuration
SetAgentConfiguration(context.Context, *SetAgentConfigurationRequest) (*SetAgentConfigurationResponse, error)
// Get the current configuration for the device agent
GetAgentConfiguration(context.Context, *GetAgentConfigurationRequest) (*GetAgentConfigurationResponse, error)
// Show the acceptable use policy
ShowAcceptableUse(context.Context, *ShowAcceptableUseRequest) (*ShowAcceptableUseResponse, error)
// Show the jita page
ShowJita(context.Context, *ShowJitaRequest) (*ShowJitaResponse, error)
// contains filtered or unexported methods
}
DeviceAgentServer is the server API for DeviceAgent service. All implementations must embed UnimplementedDeviceAgentServer for forward compatibility.
type DeviceAgent_StatusClient ¶
type DeviceAgent_StatusClient = grpc.ServerStreamingClient[AgentStatus]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type DeviceAgent_StatusServer ¶
type DeviceAgent_StatusServer = grpc.ServerStreamingServer[AgentStatus]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type DeviceConfigurationStatus ¶
type DeviceConfigurationStatus int32
const ( DeviceConfigurationStatus_DeviceHealthy DeviceConfigurationStatus = 0 DeviceConfigurationStatus_DeviceUnhealthy DeviceConfigurationStatus = 1 DeviceConfigurationStatus_InvalidSession DeviceConfigurationStatus = 2 )
func (DeviceConfigurationStatus) Descriptor ¶
func (DeviceConfigurationStatus) Descriptor() protoreflect.EnumDescriptor
func (DeviceConfigurationStatus) Enum ¶
func (x DeviceConfigurationStatus) Enum() *DeviceConfigurationStatus
func (DeviceConfigurationStatus) EnumDescriptor
deprecated
func (DeviceConfigurationStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use DeviceConfigurationStatus.Descriptor instead.
func (DeviceConfigurationStatus) Number ¶
func (x DeviceConfigurationStatus) Number() protoreflect.EnumNumber
func (DeviceConfigurationStatus) String ¶
func (x DeviceConfigurationStatus) String() string
func (DeviceConfigurationStatus) Type ¶
func (DeviceConfigurationStatus) Type() protoreflect.EnumType
type DeviceHelperClient ¶
type DeviceHelperClient interface {
// Push and apply new VPN configuration.
Configure(ctx context.Context, in *Configuration, opts ...grpc.CallOption) (*ConfigureResponse, error)
// Delete VPN configuration and shut down connections.
Teardown(ctx context.Context, in *TeardownRequest, opts ...grpc.CallOption) (*TeardownResponse, error)
// Install the newest version of naisdevice.
Upgrade(ctx context.Context, in *UpgradeRequest, opts ...grpc.CallOption) (*UpgradeResponse, error)
GetSerial(ctx context.Context, in *GetSerialRequest, opts ...grpc.CallOption) (*GetSerialResponse, error)
Ping(ctx context.Context, in *PingRequest, opts ...grpc.CallOption) (*PingResponse, error)
}
DeviceHelperClient is the client API for DeviceHelper service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewDeviceHelperClient ¶
func NewDeviceHelperClient(cc grpc.ClientConnInterface) DeviceHelperClient
func NewMockHelperClient ¶
func NewMockHelperClient(log logrus.FieldLogger) DeviceHelperClient
type DeviceHelperServer ¶
type DeviceHelperServer interface {
// Push and apply new VPN configuration.
Configure(context.Context, *Configuration) (*ConfigureResponse, error)
// Delete VPN configuration and shut down connections.
Teardown(context.Context, *TeardownRequest) (*TeardownResponse, error)
// Install the newest version of naisdevice.
Upgrade(context.Context, *UpgradeRequest) (*UpgradeResponse, error)
GetSerial(context.Context, *GetSerialRequest) (*GetSerialResponse, error)
Ping(context.Context, *PingRequest) (*PingResponse, error)
// contains filtered or unexported methods
}
DeviceHelperServer is the server API for DeviceHelper service. All implementations must embed UnimplementedDeviceHelperServer for forward compatibility.
type DeviceIssue ¶
type DeviceIssue struct {
Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
Severity Severity `protobuf:"varint,3,opt,name=severity,proto3,enum=naisdevice.Severity" json:"severity,omitempty"`
DetectedAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=detectedAt,proto3" json:"detectedAt,omitempty"`
LastUpdated *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=lastUpdated,proto3" json:"lastUpdated,omitempty"`
ResolveBefore *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=resolveBefore,proto3" json:"resolveBefore,omitempty"`
// contains filtered or unexported fields
}
func (*DeviceIssue) Descriptor
deprecated
func (*DeviceIssue) Descriptor() ([]byte, []int)
Deprecated: Use DeviceIssue.ProtoReflect.Descriptor instead.
func (*DeviceIssue) Equal ¶
func (d *DeviceIssue) Equal(other *DeviceIssue) bool
func (*DeviceIssue) GetDetectedAt ¶
func (x *DeviceIssue) GetDetectedAt() *timestamppb.Timestamp
func (*DeviceIssue) GetLastUpdated ¶
func (x *DeviceIssue) GetLastUpdated() *timestamppb.Timestamp
func (*DeviceIssue) GetMessage ¶
func (x *DeviceIssue) GetMessage() string
func (*DeviceIssue) GetResolveBefore ¶
func (x *DeviceIssue) GetResolveBefore() *timestamppb.Timestamp
func (*DeviceIssue) GetSeverity ¶
func (x *DeviceIssue) GetSeverity() Severity
func (*DeviceIssue) GetTitle ¶
func (x *DeviceIssue) GetTitle() string
func (*DeviceIssue) ProtoMessage ¶
func (*DeviceIssue) ProtoMessage()
func (*DeviceIssue) ProtoReflect ¶
func (x *DeviceIssue) ProtoReflect() protoreflect.Message
func (*DeviceIssue) Reset ¶
func (x *DeviceIssue) Reset()
func (*DeviceIssue) String ¶
func (x *DeviceIssue) String() string
type Error ¶
type Error struct {
Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
// contains filtered or unexported fields
}
func (*Error) Descriptor
deprecated
func (*Error) GetMessage ¶
func (*Error) ProtoMessage ¶
func (*Error) ProtoMessage()
func (*Error) ProtoReflect ¶
func (x *Error) ProtoReflect() protoreflect.Message
type Gateway ¶
type Gateway struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Healthy bool `protobuf:"varint,2,opt,name=healthy,proto3" json:"healthy,omitempty"`
PublicKey string `protobuf:"bytes,3,opt,name=publicKey,proto3" json:"publicKey,omitempty"`
Endpoint string `protobuf:"bytes,4,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
Ipv4 string `protobuf:"bytes,5,opt,name=ipv4,proto3" json:"ipv4,omitempty"`
RoutesIPv4 []string `protobuf:"bytes,6,rep,name=routesIPv4,proto3" json:"routesIPv4,omitempty"`
RoutesIPv6 []string `protobuf:"bytes,11,rep,name=routesIPv6,proto3" json:"routesIPv6,omitempty"`
RequiresPrivilegedAccess bool `` /* 134-byte string literal not displayed */
AccessGroupIDs []string `protobuf:"bytes,8,rep,name=accessGroupIDs,proto3" json:"accessGroupIDs,omitempty"`
PasswordHash string `protobuf:"bytes,9,opt,name=passwordHash,proto3" json:"passwordHash,omitempty"`
Ipv6 string `protobuf:"bytes,10,opt,name=ipv6,proto3" json:"ipv6,omitempty"`
// contains filtered or unexported fields
}
func MergeGatewayHealth ¶
MergeGatewayHealth copies the `Healthy` member from the existingGateways slice (if available), and returns updated new gateways.
func (*Gateway) Descriptor
deprecated
func (*Gateway) GetAccessGroupIDs ¶
func (*Gateway) GetAllowedIPs ¶
GetAllowedIPs returns the IP addresses routed by a gateway, including configured routes plus the gateway itself.
func (*Gateway) GetEndpoint ¶
func (*Gateway) GetHealthy ¶
func (*Gateway) GetPasswordHash ¶
func (*Gateway) GetPublicKey ¶
func (*Gateway) GetRequiresPrivilegedAccess ¶
func (*Gateway) GetRoutesIPv4 ¶
func (*Gateway) GetRoutesIPv6 ¶
func (*Gateway) MergeHealth ¶
func (*Gateway) ProtoMessage ¶
func (*Gateway) ProtoMessage()
func (*Gateway) ProtoReflect ¶
func (x *Gateway) ProtoReflect() protoreflect.Message
type GatewayJitaGrant ¶ added in v1.6.0
type GatewayJitaGrant struct {
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
Gateway string `protobuf:"bytes,2,opt,name=gateway,proto3" json:"gateway,omitempty"`
Created *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=created,proto3" json:"created,omitempty"`
Expires *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=expires,proto3" json:"expires,omitempty"`
Revoked *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=revoked,proto3" json:"revoked,omitempty"`
Reason string `protobuf:"bytes,6,opt,name=reason,proto3" json:"reason,omitempty"`
// contains filtered or unexported fields
}
func (*GatewayJitaGrant) Descriptor
deprecated
added in
v1.6.0
func (*GatewayJitaGrant) Descriptor() ([]byte, []int)
Deprecated: Use GatewayJitaGrant.ProtoReflect.Descriptor instead.
func (*GatewayJitaGrant) GetCreated ¶ added in v1.6.0
func (x *GatewayJitaGrant) GetCreated() *timestamppb.Timestamp
func (*GatewayJitaGrant) GetExpires ¶ added in v1.6.0
func (x *GatewayJitaGrant) GetExpires() *timestamppb.Timestamp
func (*GatewayJitaGrant) GetGateway ¶ added in v1.6.0
func (x *GatewayJitaGrant) GetGateway() string
func (*GatewayJitaGrant) GetId ¶ added in v1.6.0
func (x *GatewayJitaGrant) GetId() int64
func (*GatewayJitaGrant) GetReason ¶ added in v1.6.0
func (x *GatewayJitaGrant) GetReason() string
func (*GatewayJitaGrant) GetRevoked ¶ added in v1.6.0
func (x *GatewayJitaGrant) GetRevoked() *timestamppb.Timestamp
func (*GatewayJitaGrant) ProtoMessage ¶ added in v1.6.0
func (*GatewayJitaGrant) ProtoMessage()
func (*GatewayJitaGrant) ProtoReflect ¶ added in v1.6.0
func (x *GatewayJitaGrant) ProtoReflect() protoreflect.Message
func (*GatewayJitaGrant) Reset ¶ added in v1.6.0
func (x *GatewayJitaGrant) Reset()
func (*GatewayJitaGrant) String ¶ added in v1.6.0
func (x *GatewayJitaGrant) String() string
type GetAcceptableUseAcceptedAtRequest ¶ added in v1.2.0
type GetAcceptableUseAcceptedAtRequest struct {
SessionKey string `protobuf:"bytes,1,opt,name=sessionKey,proto3" json:"sessionKey,omitempty"`
// contains filtered or unexported fields
}
func (*GetAcceptableUseAcceptedAtRequest) Descriptor
deprecated
added in
v1.2.0
func (*GetAcceptableUseAcceptedAtRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetAcceptableUseAcceptedAtRequest.ProtoReflect.Descriptor instead.
func (*GetAcceptableUseAcceptedAtRequest) GetSessionKey ¶ added in v1.2.0
func (x *GetAcceptableUseAcceptedAtRequest) GetSessionKey() string
func (*GetAcceptableUseAcceptedAtRequest) ProtoMessage ¶ added in v1.2.0
func (*GetAcceptableUseAcceptedAtRequest) ProtoMessage()
func (*GetAcceptableUseAcceptedAtRequest) ProtoReflect ¶ added in v1.2.0
func (x *GetAcceptableUseAcceptedAtRequest) ProtoReflect() protoreflect.Message
func (*GetAcceptableUseAcceptedAtRequest) Reset ¶ added in v1.2.0
func (x *GetAcceptableUseAcceptedAtRequest) Reset()
func (*GetAcceptableUseAcceptedAtRequest) String ¶ added in v1.2.0
func (x *GetAcceptableUseAcceptedAtRequest) String() string
type GetAcceptableUseAcceptedAtResponse ¶ added in v1.2.0
type GetAcceptableUseAcceptedAtResponse struct {
AcceptedAt *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=acceptedAt,proto3" json:"acceptedAt,omitempty"`
// contains filtered or unexported fields
}
func (*GetAcceptableUseAcceptedAtResponse) Descriptor
deprecated
added in
v1.2.0
func (*GetAcceptableUseAcceptedAtResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetAcceptableUseAcceptedAtResponse.ProtoReflect.Descriptor instead.
func (*GetAcceptableUseAcceptedAtResponse) GetAcceptedAt ¶ added in v1.2.0
func (x *GetAcceptableUseAcceptedAtResponse) GetAcceptedAt() *timestamppb.Timestamp
func (*GetAcceptableUseAcceptedAtResponse) ProtoMessage ¶ added in v1.2.0
func (*GetAcceptableUseAcceptedAtResponse) ProtoMessage()
func (*GetAcceptableUseAcceptedAtResponse) ProtoReflect ¶ added in v1.2.0
func (x *GetAcceptableUseAcceptedAtResponse) ProtoReflect() protoreflect.Message
func (*GetAcceptableUseAcceptedAtResponse) Reset ¶ added in v1.2.0
func (x *GetAcceptableUseAcceptedAtResponse) Reset()
func (*GetAcceptableUseAcceptedAtResponse) String ¶ added in v1.2.0
func (x *GetAcceptableUseAcceptedAtResponse) String() string
type GetAgentConfigurationRequest ¶
type GetAgentConfigurationRequest struct {
// contains filtered or unexported fields
}
func (*GetAgentConfigurationRequest) Descriptor
deprecated
func (*GetAgentConfigurationRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetAgentConfigurationRequest.ProtoReflect.Descriptor instead.
func (*GetAgentConfigurationRequest) ProtoMessage ¶
func (*GetAgentConfigurationRequest) ProtoMessage()
func (*GetAgentConfigurationRequest) ProtoReflect ¶
func (x *GetAgentConfigurationRequest) ProtoReflect() protoreflect.Message
func (*GetAgentConfigurationRequest) Reset ¶
func (x *GetAgentConfigurationRequest) Reset()
func (*GetAgentConfigurationRequest) String ¶
func (x *GetAgentConfigurationRequest) String() string
type GetAgentConfigurationResponse ¶
type GetAgentConfigurationResponse struct {
Config *AgentConfiguration `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"`
// contains filtered or unexported fields
}
func (*GetAgentConfigurationResponse) Descriptor
deprecated
func (*GetAgentConfigurationResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetAgentConfigurationResponse.ProtoReflect.Descriptor instead.
func (*GetAgentConfigurationResponse) GetConfig ¶
func (x *GetAgentConfigurationResponse) GetConfig() *AgentConfiguration
func (*GetAgentConfigurationResponse) ProtoMessage ¶
func (*GetAgentConfigurationResponse) ProtoMessage()
func (*GetAgentConfigurationResponse) ProtoReflect ¶
func (x *GetAgentConfigurationResponse) ProtoReflect() protoreflect.Message
func (*GetAgentConfigurationResponse) Reset ¶
func (x *GetAgentConfigurationResponse) Reset()
func (*GetAgentConfigurationResponse) String ¶
func (x *GetAgentConfigurationResponse) String() string
type GetDeviceConfigurationRequest ¶
type GetDeviceConfigurationRequest struct {
SessionKey string `protobuf:"bytes,1,opt,name=sessionKey,proto3" json:"sessionKey,omitempty"`
// contains filtered or unexported fields
}
func (*GetDeviceConfigurationRequest) Descriptor
deprecated
func (*GetDeviceConfigurationRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetDeviceConfigurationRequest.ProtoReflect.Descriptor instead.
func (*GetDeviceConfigurationRequest) GetSessionKey ¶
func (x *GetDeviceConfigurationRequest) GetSessionKey() string
func (*GetDeviceConfigurationRequest) ProtoMessage ¶
func (*GetDeviceConfigurationRequest) ProtoMessage()
func (*GetDeviceConfigurationRequest) ProtoReflect ¶
func (x *GetDeviceConfigurationRequest) ProtoReflect() protoreflect.Message
func (*GetDeviceConfigurationRequest) Reset ¶
func (x *GetDeviceConfigurationRequest) Reset()
func (*GetDeviceConfigurationRequest) String ¶
func (x *GetDeviceConfigurationRequest) String() string
type GetDeviceConfigurationResponse ¶
type GetDeviceConfigurationResponse struct {
Status DeviceConfigurationStatus `protobuf:"varint,1,opt,name=status,proto3,enum=naisdevice.DeviceConfigurationStatus" json:"status,omitempty"`
Gateways []*Gateway `protobuf:"bytes,2,rep,name=Gateways,proto3" json:"Gateways,omitempty"`
Issues []*DeviceIssue `protobuf:"bytes,3,rep,name=issues,proto3" json:"issues,omitempty"`
// contains filtered or unexported fields
}
func (*GetDeviceConfigurationResponse) Descriptor
deprecated
func (*GetDeviceConfigurationResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetDeviceConfigurationResponse.ProtoReflect.Descriptor instead.
func (*GetDeviceConfigurationResponse) GetGateways ¶
func (x *GetDeviceConfigurationResponse) GetGateways() []*Gateway
func (*GetDeviceConfigurationResponse) GetIssues ¶
func (x *GetDeviceConfigurationResponse) GetIssues() []*DeviceIssue
func (*GetDeviceConfigurationResponse) GetStatus ¶
func (x *GetDeviceConfigurationResponse) GetStatus() DeviceConfigurationStatus
func (*GetDeviceConfigurationResponse) ProtoMessage ¶
func (*GetDeviceConfigurationResponse) ProtoMessage()
func (*GetDeviceConfigurationResponse) ProtoReflect ¶
func (x *GetDeviceConfigurationResponse) ProtoReflect() protoreflect.Message
func (*GetDeviceConfigurationResponse) Reset ¶
func (x *GetDeviceConfigurationResponse) Reset()
func (*GetDeviceConfigurationResponse) String ¶
func (x *GetDeviceConfigurationResponse) String() string
type GetGatewayConfigurationRequest ¶
type GetGatewayConfigurationRequest struct {
Gateway string `protobuf:"bytes,1,opt,name=gateway,proto3" json:"gateway,omitempty"`
Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
// contains filtered or unexported fields
}
func (*GetGatewayConfigurationRequest) Descriptor
deprecated
func (*GetGatewayConfigurationRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetGatewayConfigurationRequest.ProtoReflect.Descriptor instead.
func (*GetGatewayConfigurationRequest) GetGateway ¶
func (x *GetGatewayConfigurationRequest) GetGateway() string
func (*GetGatewayConfigurationRequest) GetPassword ¶
func (x *GetGatewayConfigurationRequest) GetPassword() string
func (*GetGatewayConfigurationRequest) ProtoMessage ¶
func (*GetGatewayConfigurationRequest) ProtoMessage()
func (*GetGatewayConfigurationRequest) ProtoReflect ¶
func (x *GetGatewayConfigurationRequest) ProtoReflect() protoreflect.Message
func (*GetGatewayConfigurationRequest) Reset ¶
func (x *GetGatewayConfigurationRequest) Reset()
func (*GetGatewayConfigurationRequest) String ¶
func (x *GetGatewayConfigurationRequest) String() string
type GetGatewayConfigurationResponse ¶
type GetGatewayConfigurationResponse struct {
Devices []*Device `protobuf:"bytes,1,rep,name=devices,proto3" json:"devices,omitempty"`
RoutesIPv4 []string `protobuf:"bytes,2,rep,name=routesIPv4,proto3" json:"routesIPv4,omitempty"`
RoutesIPv6 []string `protobuf:"bytes,3,rep,name=routesIPv6,proto3" json:"routesIPv6,omitempty"`
// contains filtered or unexported fields
}
func (*GetGatewayConfigurationResponse) Descriptor
deprecated
func (*GetGatewayConfigurationResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetGatewayConfigurationResponse.ProtoReflect.Descriptor instead.
func (*GetGatewayConfigurationResponse) GetDevices ¶
func (x *GetGatewayConfigurationResponse) GetDevices() []*Device
func (*GetGatewayConfigurationResponse) GetRoutesIPv4 ¶
func (x *GetGatewayConfigurationResponse) GetRoutesIPv4() []string
func (*GetGatewayConfigurationResponse) GetRoutesIPv6 ¶
func (x *GetGatewayConfigurationResponse) GetRoutesIPv6() []string
func (*GetGatewayConfigurationResponse) ProtoMessage ¶
func (*GetGatewayConfigurationResponse) ProtoMessage()
func (*GetGatewayConfigurationResponse) ProtoReflect ¶
func (x *GetGatewayConfigurationResponse) ProtoReflect() protoreflect.Message
func (*GetGatewayConfigurationResponse) Reset ¶
func (x *GetGatewayConfigurationResponse) Reset()
func (*GetGatewayConfigurationResponse) String ¶
func (x *GetGatewayConfigurationResponse) String() string
type GetGatewayJitaGrantsForUserRequest ¶ added in v1.6.0
type GetGatewayJitaGrantsForUserRequest struct {
SessionKey string `protobuf:"bytes,1,opt,name=sessionKey,proto3" json:"sessionKey,omitempty"`
// contains filtered or unexported fields
}
func (*GetGatewayJitaGrantsForUserRequest) Descriptor
deprecated
added in
v1.6.0
func (*GetGatewayJitaGrantsForUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetGatewayJitaGrantsForUserRequest.ProtoReflect.Descriptor instead.
func (*GetGatewayJitaGrantsForUserRequest) GetSessionKey ¶ added in v1.6.0
func (x *GetGatewayJitaGrantsForUserRequest) GetSessionKey() string
func (*GetGatewayJitaGrantsForUserRequest) ProtoMessage ¶ added in v1.6.0
func (*GetGatewayJitaGrantsForUserRequest) ProtoMessage()
func (*GetGatewayJitaGrantsForUserRequest) ProtoReflect ¶ added in v1.6.0
func (x *GetGatewayJitaGrantsForUserRequest) ProtoReflect() protoreflect.Message
func (*GetGatewayJitaGrantsForUserRequest) Reset ¶ added in v1.6.0
func (x *GetGatewayJitaGrantsForUserRequest) Reset()
func (*GetGatewayJitaGrantsForUserRequest) String ¶ added in v1.6.0
func (x *GetGatewayJitaGrantsForUserRequest) String() string
type GetGatewayJitaGrantsForUserResponse ¶ added in v1.6.0
type GetGatewayJitaGrantsForUserResponse struct {
GatewayJitaGrants []*GatewayJitaGrant `protobuf:"bytes,1,rep,name=gatewayJitaGrants,proto3" json:"gatewayJitaGrants,omitempty"`
// contains filtered or unexported fields
}
func (*GetGatewayJitaGrantsForUserResponse) Descriptor
deprecated
added in
v1.6.0
func (*GetGatewayJitaGrantsForUserResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetGatewayJitaGrantsForUserResponse.ProtoReflect.Descriptor instead.
func (*GetGatewayJitaGrantsForUserResponse) GetGatewayJitaGrants ¶ added in v1.6.0
func (x *GetGatewayJitaGrantsForUserResponse) GetGatewayJitaGrants() []*GatewayJitaGrant
func (*GetGatewayJitaGrantsForUserResponse) ProtoMessage ¶ added in v1.6.0
func (*GetGatewayJitaGrantsForUserResponse) ProtoMessage()
func (*GetGatewayJitaGrantsForUserResponse) ProtoReflect ¶ added in v1.6.0
func (x *GetGatewayJitaGrantsForUserResponse) ProtoReflect() protoreflect.Message
func (*GetGatewayJitaGrantsForUserResponse) Reset ¶ added in v1.6.0
func (x *GetGatewayJitaGrantsForUserResponse) Reset()
func (*GetGatewayJitaGrantsForUserResponse) String ¶ added in v1.6.0
func (x *GetGatewayJitaGrantsForUserResponse) String() string
type GetKolideCacheRequest ¶
type GetKolideCacheRequest struct {
Password string `protobuf:"bytes,1,opt,name=password,proto3" json:"password,omitempty"`
Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"`
// contains filtered or unexported fields
}
func (*GetKolideCacheRequest) Descriptor
deprecated
func (*GetKolideCacheRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetKolideCacheRequest.ProtoReflect.Descriptor instead.
func (*GetKolideCacheRequest) GetPassword ¶
func (x *GetKolideCacheRequest) GetPassword() string
func (*GetKolideCacheRequest) GetUsername ¶
func (x *GetKolideCacheRequest) GetUsername() string
func (*GetKolideCacheRequest) ProtoMessage ¶
func (*GetKolideCacheRequest) ProtoMessage()
func (*GetKolideCacheRequest) ProtoReflect ¶
func (x *GetKolideCacheRequest) ProtoReflect() protoreflect.Message
func (*GetKolideCacheRequest) Reset ¶
func (x *GetKolideCacheRequest) Reset()
func (*GetKolideCacheRequest) String ¶
func (x *GetKolideCacheRequest) String() string
type GetKolideCacheResponse ¶
type GetKolideCacheResponse struct {
RawChecks []byte `protobuf:"bytes,99,opt,name=rawChecks,proto3" json:"rawChecks,omitempty"`
// contains filtered or unexported fields
}
func (*GetKolideCacheResponse) Descriptor
deprecated
func (*GetKolideCacheResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetKolideCacheResponse.ProtoReflect.Descriptor instead.
func (*GetKolideCacheResponse) GetRawChecks ¶
func (x *GetKolideCacheResponse) GetRawChecks() []byte
func (*GetKolideCacheResponse) ProtoMessage ¶
func (*GetKolideCacheResponse) ProtoMessage()
func (*GetKolideCacheResponse) ProtoReflect ¶
func (x *GetKolideCacheResponse) ProtoReflect() protoreflect.Message
func (*GetKolideCacheResponse) Reset ¶
func (x *GetKolideCacheResponse) Reset()
func (*GetKolideCacheResponse) String ¶
func (x *GetKolideCacheResponse) String() string
type GetSerialRequest ¶
type GetSerialRequest struct {
// contains filtered or unexported fields
}
func (*GetSerialRequest) Descriptor
deprecated
func (*GetSerialRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetSerialRequest.ProtoReflect.Descriptor instead.
func (*GetSerialRequest) ProtoMessage ¶
func (*GetSerialRequest) ProtoMessage()
func (*GetSerialRequest) ProtoReflect ¶
func (x *GetSerialRequest) ProtoReflect() protoreflect.Message
func (*GetSerialRequest) Reset ¶
func (x *GetSerialRequest) Reset()
func (*GetSerialRequest) String ¶
func (x *GetSerialRequest) String() string
type GetSerialResponse ¶
type GetSerialResponse struct {
Serial string `protobuf:"bytes,1,opt,name=serial,proto3" json:"serial,omitempty"`
// contains filtered or unexported fields
}
func (*GetSerialResponse) Descriptor
deprecated
func (*GetSerialResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetSerialResponse.ProtoReflect.Descriptor instead.
func (*GetSerialResponse) GetSerial ¶
func (x *GetSerialResponse) GetSerial() string
func (*GetSerialResponse) ProtoMessage ¶
func (*GetSerialResponse) ProtoMessage()
func (*GetSerialResponse) ProtoReflect ¶
func (x *GetSerialResponse) ProtoReflect() protoreflect.Message
func (*GetSerialResponse) Reset ¶
func (x *GetSerialResponse) Reset()
func (*GetSerialResponse) String ¶
func (x *GetSerialResponse) String() string
type GetSessionsRequest ¶
type GetSessionsRequest struct {
Password string `protobuf:"bytes,1,opt,name=password,proto3" json:"password,omitempty"`
Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"`
// contains filtered or unexported fields
}
func (*GetSessionsRequest) Descriptor
deprecated
func (*GetSessionsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetSessionsRequest.ProtoReflect.Descriptor instead.
func (*GetSessionsRequest) GetPassword ¶
func (x *GetSessionsRequest) GetPassword() string
func (*GetSessionsRequest) GetUsername ¶
func (x *GetSessionsRequest) GetUsername() string
func (*GetSessionsRequest) ProtoMessage ¶
func (*GetSessionsRequest) ProtoMessage()
func (*GetSessionsRequest) ProtoReflect ¶
func (x *GetSessionsRequest) ProtoReflect() protoreflect.Message
func (*GetSessionsRequest) Reset ¶
func (x *GetSessionsRequest) Reset()
func (*GetSessionsRequest) String ¶
func (x *GetSessionsRequest) String() string
type GetSessionsResponse ¶
type GetSessionsResponse struct {
Sessions []*Session `protobuf:"bytes,1,rep,name=sessions,proto3" json:"sessions,omitempty"`
// contains filtered or unexported fields
}
func (*GetSessionsResponse) Descriptor
deprecated
func (*GetSessionsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetSessionsResponse.ProtoReflect.Descriptor instead.
func (*GetSessionsResponse) GetSessions ¶
func (x *GetSessionsResponse) GetSessions() []*Session
func (*GetSessionsResponse) ProtoMessage ¶
func (*GetSessionsResponse) ProtoMessage()
func (*GetSessionsResponse) ProtoReflect ¶
func (x *GetSessionsResponse) ProtoReflect() protoreflect.Message
func (*GetSessionsResponse) Reset ¶
func (x *GetSessionsResponse) Reset()
func (*GetSessionsResponse) String ¶
func (x *GetSessionsResponse) String() string
type GrantPrivilegedGatewayAccessRequest ¶ added in v1.6.0
type GrantPrivilegedGatewayAccessRequest struct {
SessionKey string `protobuf:"bytes,1,opt,name=sessionKey,proto3" json:"sessionKey,omitempty"`
NewPrivilegedGatewayAccess *NewPrivilegedGatewayAccess `protobuf:"bytes,2,opt,name=newPrivilegedGatewayAccess,proto3" json:"newPrivilegedGatewayAccess,omitempty"`
Token string `protobuf:"bytes,3,opt,name=token,proto3" json:"token,omitempty"`
// contains filtered or unexported fields
}
func (*GrantPrivilegedGatewayAccessRequest) Descriptor
deprecated
added in
v1.6.0
func (*GrantPrivilegedGatewayAccessRequest) Descriptor() ([]byte, []int)
Deprecated: Use GrantPrivilegedGatewayAccessRequest.ProtoReflect.Descriptor instead.
func (*GrantPrivilegedGatewayAccessRequest) GetNewPrivilegedGatewayAccess ¶ added in v1.6.0
func (x *GrantPrivilegedGatewayAccessRequest) GetNewPrivilegedGatewayAccess() *NewPrivilegedGatewayAccess
func (*GrantPrivilegedGatewayAccessRequest) GetSessionKey ¶ added in v1.6.0
func (x *GrantPrivilegedGatewayAccessRequest) GetSessionKey() string
func (*GrantPrivilegedGatewayAccessRequest) GetToken ¶ added in v1.6.0
func (x *GrantPrivilegedGatewayAccessRequest) GetToken() string
func (*GrantPrivilegedGatewayAccessRequest) ProtoMessage ¶ added in v1.6.0
func (*GrantPrivilegedGatewayAccessRequest) ProtoMessage()
func (*GrantPrivilegedGatewayAccessRequest) ProtoReflect ¶ added in v1.6.0
func (x *GrantPrivilegedGatewayAccessRequest) ProtoReflect() protoreflect.Message
func (*GrantPrivilegedGatewayAccessRequest) Reset ¶ added in v1.6.0
func (x *GrantPrivilegedGatewayAccessRequest) Reset()
func (*GrantPrivilegedGatewayAccessRequest) String ¶ added in v1.6.0
func (x *GrantPrivilegedGatewayAccessRequest) String() string
type GrantPrivilegedGatewayAccessResponse ¶ added in v1.6.0
type GrantPrivilegedGatewayAccessResponse struct {
// contains filtered or unexported fields
}
func (*GrantPrivilegedGatewayAccessResponse) Descriptor
deprecated
added in
v1.6.0
func (*GrantPrivilegedGatewayAccessResponse) Descriptor() ([]byte, []int)
Deprecated: Use GrantPrivilegedGatewayAccessResponse.ProtoReflect.Descriptor instead.
func (*GrantPrivilegedGatewayAccessResponse) ProtoMessage ¶ added in v1.6.0
func (*GrantPrivilegedGatewayAccessResponse) ProtoMessage()
func (*GrantPrivilegedGatewayAccessResponse) ProtoReflect ¶ added in v1.6.0
func (x *GrantPrivilegedGatewayAccessResponse) ProtoReflect() protoreflect.Message
func (*GrantPrivilegedGatewayAccessResponse) Reset ¶ added in v1.6.0
func (x *GrantPrivilegedGatewayAccessResponse) Reset()
func (*GrantPrivilegedGatewayAccessResponse) String ¶ added in v1.6.0
func (x *GrantPrivilegedGatewayAccessResponse) String() string
type ListGatewayRequest ¶
type ListGatewayRequest struct {
Password string `protobuf:"bytes,1,opt,name=password,proto3" json:"password,omitempty"`
Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"`
// contains filtered or unexported fields
}
func (*ListGatewayRequest) Descriptor
deprecated
func (*ListGatewayRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListGatewayRequest.ProtoReflect.Descriptor instead.
func (*ListGatewayRequest) GetPassword ¶
func (x *ListGatewayRequest) GetPassword() string
func (*ListGatewayRequest) GetUsername ¶
func (x *ListGatewayRequest) GetUsername() string
func (*ListGatewayRequest) ProtoMessage ¶
func (*ListGatewayRequest) ProtoMessage()
func (*ListGatewayRequest) ProtoReflect ¶
func (x *ListGatewayRequest) ProtoReflect() protoreflect.Message
func (*ListGatewayRequest) Reset ¶
func (x *ListGatewayRequest) Reset()
func (*ListGatewayRequest) String ¶
func (x *ListGatewayRequest) String() string
type LoginRequest ¶
type LoginRequest struct {
// contains filtered or unexported fields
}
func (*LoginRequest) Descriptor
deprecated
func (*LoginRequest) Descriptor() ([]byte, []int)
Deprecated: Use LoginRequest.ProtoReflect.Descriptor instead.
func (*LoginRequest) ProtoMessage ¶
func (*LoginRequest) ProtoMessage()
func (*LoginRequest) ProtoReflect ¶
func (x *LoginRequest) ProtoReflect() protoreflect.Message
func (*LoginRequest) Reset ¶
func (x *LoginRequest) Reset()
func (*LoginRequest) String ¶
func (x *LoginRequest) String() string
type LoginResponse ¶
type LoginResponse struct {
// contains filtered or unexported fields
}
func (*LoginResponse) Descriptor
deprecated
func (*LoginResponse) Descriptor() ([]byte, []int)
Deprecated: Use LoginResponse.ProtoReflect.Descriptor instead.
func (*LoginResponse) ProtoMessage ¶
func (*LoginResponse) ProtoMessage()
func (*LoginResponse) ProtoReflect ¶
func (x *LoginResponse) ProtoReflect() protoreflect.Message
func (*LoginResponse) Reset ¶
func (x *LoginResponse) Reset()
func (*LoginResponse) String ¶
func (x *LoginResponse) String() string
type LogoutRequest ¶
type LogoutRequest struct {
// contains filtered or unexported fields
}
func (*LogoutRequest) Descriptor
deprecated
func (*LogoutRequest) Descriptor() ([]byte, []int)
Deprecated: Use LogoutRequest.ProtoReflect.Descriptor instead.
func (*LogoutRequest) ProtoMessage ¶
func (*LogoutRequest) ProtoMessage()
func (*LogoutRequest) ProtoReflect ¶
func (x *LogoutRequest) ProtoReflect() protoreflect.Message
func (*LogoutRequest) Reset ¶
func (x *LogoutRequest) Reset()
func (*LogoutRequest) String ¶
func (x *LogoutRequest) String() string
type LogoutResponse ¶
type LogoutResponse struct {
// contains filtered or unexported fields
}
func (*LogoutResponse) Descriptor
deprecated
func (*LogoutResponse) Descriptor() ([]byte, []int)
Deprecated: Use LogoutResponse.ProtoReflect.Descriptor instead.
func (*LogoutResponse) ProtoMessage ¶
func (*LogoutResponse) ProtoMessage()
func (*LogoutResponse) ProtoReflect ¶
func (x *LogoutResponse) ProtoReflect() protoreflect.Message
func (*LogoutResponse) Reset ¶
func (x *LogoutResponse) Reset()
func (*LogoutResponse) String ¶
func (x *LogoutResponse) String() string
type MockAPIServerClient ¶
MockAPIServerClient is an autogenerated mock type for the APIServerClient type
func NewMockAPIServerClient ¶
func NewMockAPIServerClient(t interface {
mock.TestingT
Cleanup(func())
}) *MockAPIServerClient
NewMockAPIServerClient creates a new instance of MockAPIServerClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*MockAPIServerClient) EXPECT ¶
func (_m *MockAPIServerClient) EXPECT() *MockAPIServerClient_Expecter
func (*MockAPIServerClient) EnrollGateway ¶
func (_mock *MockAPIServerClient) EnrollGateway(ctx context.Context, in *ModifyGatewayRequest, opts ...grpc.CallOption) (*ModifyGatewayResponse, error)
EnrollGateway provides a mock function for the type MockAPIServerClient
func (*MockAPIServerClient) GetAcceptableUseAcceptedAt ¶ added in v1.2.0
func (_mock *MockAPIServerClient) GetAcceptableUseAcceptedAt(ctx context.Context, in *GetAcceptableUseAcceptedAtRequest, opts ...grpc.CallOption) (*GetAcceptableUseAcceptedAtResponse, error)
GetAcceptableUseAcceptedAt provides a mock function for the type MockAPIServerClient
func (*MockAPIServerClient) GetDeviceConfiguration ¶
func (_mock *MockAPIServerClient) GetDeviceConfiguration(ctx context.Context, in *GetDeviceConfigurationRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[GetDeviceConfigurationResponse], error)
GetDeviceConfiguration provides a mock function for the type MockAPIServerClient
func (*MockAPIServerClient) GetGateway ¶
func (_mock *MockAPIServerClient) GetGateway(ctx context.Context, in *ModifyGatewayRequest, opts ...grpc.CallOption) (*Gateway, error)
GetGateway provides a mock function for the type MockAPIServerClient
func (*MockAPIServerClient) GetGatewayConfiguration ¶
func (_mock *MockAPIServerClient) GetGatewayConfiguration(ctx context.Context, in *GetGatewayConfigurationRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[GetGatewayConfigurationResponse], error)
GetGatewayConfiguration provides a mock function for the type MockAPIServerClient
func (*MockAPIServerClient) GetGatewayJitaGrantsForUser ¶ added in v1.6.0
func (_mock *MockAPIServerClient) GetGatewayJitaGrantsForUser(ctx context.Context, in *GetGatewayJitaGrantsForUserRequest, opts ...grpc.CallOption) (*GetGatewayJitaGrantsForUserResponse, error)
GetGatewayJitaGrantsForUser provides a mock function for the type MockAPIServerClient
func (*MockAPIServerClient) GetKolideCache ¶
func (_mock *MockAPIServerClient) GetKolideCache(ctx context.Context, in *GetKolideCacheRequest, opts ...grpc.CallOption) (*GetKolideCacheResponse, error)
GetKolideCache provides a mock function for the type MockAPIServerClient
func (*MockAPIServerClient) GetSessions ¶
func (_mock *MockAPIServerClient) GetSessions(ctx context.Context, in *GetSessionsRequest, opts ...grpc.CallOption) (*GetSessionsResponse, error)
GetSessions provides a mock function for the type MockAPIServerClient
func (*MockAPIServerClient) GrantPrivilegedGatewayAccess ¶ added in v1.6.0
func (_mock *MockAPIServerClient) GrantPrivilegedGatewayAccess(ctx context.Context, in *GrantPrivilegedGatewayAccessRequest, opts ...grpc.CallOption) (*GrantPrivilegedGatewayAccessResponse, error)
GrantPrivilegedGatewayAccess provides a mock function for the type MockAPIServerClient
func (*MockAPIServerClient) ListGateways ¶
func (_mock *MockAPIServerClient) ListGateways(ctx context.Context, in *ListGatewayRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[Gateway], error)
ListGateways provides a mock function for the type MockAPIServerClient
func (*MockAPIServerClient) Login ¶
func (_mock *MockAPIServerClient) Login(ctx context.Context, in *APIServerLoginRequest, opts ...grpc.CallOption) (*APIServerLoginResponse, error)
Login provides a mock function for the type MockAPIServerClient
func (*MockAPIServerClient) RevokePrivilegedGatewayAccess ¶ added in v1.6.0
func (_mock *MockAPIServerClient) RevokePrivilegedGatewayAccess(ctx context.Context, in *RevokePrivilegedGatewayAccessRequest, opts ...grpc.CallOption) (*RevokePrivilegedGatewayAccessResponse, error)
RevokePrivilegedGatewayAccess provides a mock function for the type MockAPIServerClient
func (*MockAPIServerClient) SetAcceptableUseAccepted ¶ added in v1.2.0
func (_mock *MockAPIServerClient) SetAcceptableUseAccepted(ctx context.Context, in *SetAcceptableUseAcceptedRequest, opts ...grpc.CallOption) (*SetAcceptableUseAcceptedResponse, error)
SetAcceptableUseAccepted provides a mock function for the type MockAPIServerClient
func (*MockAPIServerClient) UpdateGateway ¶
func (_mock *MockAPIServerClient) UpdateGateway(ctx context.Context, in *ModifyGatewayRequest, opts ...grpc.CallOption) (*ModifyGatewayResponse, error)
UpdateGateway provides a mock function for the type MockAPIServerClient
func (*MockAPIServerClient) UserHasAccessToPrivilegedGateway ¶ added in v1.6.0
func (_mock *MockAPIServerClient) UserHasAccessToPrivilegedGateway(ctx context.Context, in *UserHasAccessToPrivilegedGatewayRequest, opts ...grpc.CallOption) (*UserHasAccessToPrivilegedGatewayResponse, error)
UserHasAccessToPrivilegedGateway provides a mock function for the type MockAPIServerClient
type MockAPIServerClient_EnrollGateway_Call ¶
MockAPIServerClient_EnrollGateway_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'EnrollGateway'
func (*MockAPIServerClient_EnrollGateway_Call) Return ¶
func (_c *MockAPIServerClient_EnrollGateway_Call) Return(modifyGatewayResponse *ModifyGatewayResponse, err error) *MockAPIServerClient_EnrollGateway_Call
func (*MockAPIServerClient_EnrollGateway_Call) Run ¶
func (_c *MockAPIServerClient_EnrollGateway_Call) Run(run func(ctx context.Context, in *ModifyGatewayRequest, opts ...grpc.CallOption)) *MockAPIServerClient_EnrollGateway_Call
func (*MockAPIServerClient_EnrollGateway_Call) RunAndReturn ¶
func (_c *MockAPIServerClient_EnrollGateway_Call) RunAndReturn(run func(ctx context.Context, in *ModifyGatewayRequest, opts ...grpc.CallOption) (*ModifyGatewayResponse, error)) *MockAPIServerClient_EnrollGateway_Call
type MockAPIServerClient_Expecter ¶
type MockAPIServerClient_Expecter struct {
// contains filtered or unexported fields
}
func (*MockAPIServerClient_Expecter) EnrollGateway ¶
func (_e *MockAPIServerClient_Expecter) EnrollGateway(ctx interface{}, in interface{}, opts ...interface{}) *MockAPIServerClient_EnrollGateway_Call
EnrollGateway is a helper method to define mock.On call
- ctx context.Context
- in *ModifyGatewayRequest
- opts ...grpc.CallOption
func (*MockAPIServerClient_Expecter) GetAcceptableUseAcceptedAt ¶ added in v1.2.0
func (_e *MockAPIServerClient_Expecter) GetAcceptableUseAcceptedAt(ctx interface{}, in interface{}, opts ...interface{}) *MockAPIServerClient_GetAcceptableUseAcceptedAt_Call
GetAcceptableUseAcceptedAt is a helper method to define mock.On call
- ctx context.Context
- in *GetAcceptableUseAcceptedAtRequest
- opts ...grpc.CallOption
func (*MockAPIServerClient_Expecter) GetDeviceConfiguration ¶
func (_e *MockAPIServerClient_Expecter) GetDeviceConfiguration(ctx interface{}, in interface{}, opts ...interface{}) *MockAPIServerClient_GetDeviceConfiguration_Call
GetDeviceConfiguration is a helper method to define mock.On call
- ctx context.Context
- in *GetDeviceConfigurationRequest
- opts ...grpc.CallOption
func (*MockAPIServerClient_Expecter) GetGateway ¶
func (_e *MockAPIServerClient_Expecter) GetGateway(ctx interface{}, in interface{}, opts ...interface{}) *MockAPIServerClient_GetGateway_Call
GetGateway is a helper method to define mock.On call
- ctx context.Context
- in *ModifyGatewayRequest
- opts ...grpc.CallOption
func (*MockAPIServerClient_Expecter) GetGatewayConfiguration ¶
func (_e *MockAPIServerClient_Expecter) GetGatewayConfiguration(ctx interface{}, in interface{}, opts ...interface{}) *MockAPIServerClient_GetGatewayConfiguration_Call
GetGatewayConfiguration is a helper method to define mock.On call
- ctx context.Context
- in *GetGatewayConfigurationRequest
- opts ...grpc.CallOption
func (*MockAPIServerClient_Expecter) GetGatewayJitaGrantsForUser ¶ added in v1.6.0
func (_e *MockAPIServerClient_Expecter) GetGatewayJitaGrantsForUser(ctx interface{}, in interface{}, opts ...interface{}) *MockAPIServerClient_GetGatewayJitaGrantsForUser_Call
GetGatewayJitaGrantsForUser is a helper method to define mock.On call
- ctx context.Context
- in *GetGatewayJitaGrantsForUserRequest
- opts ...grpc.CallOption
func (*MockAPIServerClient_Expecter) GetKolideCache ¶
func (_e *MockAPIServerClient_Expecter) GetKolideCache(ctx interface{}, in interface{}, opts ...interface{}) *MockAPIServerClient_GetKolideCache_Call
GetKolideCache is a helper method to define mock.On call
- ctx context.Context
- in *GetKolideCacheRequest
- opts ...grpc.CallOption
func (*MockAPIServerClient_Expecter) GetSessions ¶
func (_e *MockAPIServerClient_Expecter) GetSessions(ctx interface{}, in interface{}, opts ...interface{}) *MockAPIServerClient_GetSessions_Call
GetSessions is a helper method to define mock.On call
- ctx context.Context
- in *GetSessionsRequest
- opts ...grpc.CallOption
func (*MockAPIServerClient_Expecter) GrantPrivilegedGatewayAccess ¶ added in v1.6.0
func (_e *MockAPIServerClient_Expecter) GrantPrivilegedGatewayAccess(ctx interface{}, in interface{}, opts ...interface{}) *MockAPIServerClient_GrantPrivilegedGatewayAccess_Call
GrantPrivilegedGatewayAccess is a helper method to define mock.On call
- ctx context.Context
- in *GrantPrivilegedGatewayAccessRequest
- opts ...grpc.CallOption
func (*MockAPIServerClient_Expecter) ListGateways ¶
func (_e *MockAPIServerClient_Expecter) ListGateways(ctx interface{}, in interface{}, opts ...interface{}) *MockAPIServerClient_ListGateways_Call
ListGateways is a helper method to define mock.On call
- ctx context.Context
- in *ListGatewayRequest
- opts ...grpc.CallOption
func (*MockAPIServerClient_Expecter) Login ¶
func (_e *MockAPIServerClient_Expecter) Login(ctx interface{}, in interface{}, opts ...interface{}) *MockAPIServerClient_Login_Call
Login is a helper method to define mock.On call
- ctx context.Context
- in *APIServerLoginRequest
- opts ...grpc.CallOption
func (*MockAPIServerClient_Expecter) RevokePrivilegedGatewayAccess ¶ added in v1.6.0
func (_e *MockAPIServerClient_Expecter) RevokePrivilegedGatewayAccess(ctx interface{}, in interface{}, opts ...interface{}) *MockAPIServerClient_RevokePrivilegedGatewayAccess_Call
RevokePrivilegedGatewayAccess is a helper method to define mock.On call
- ctx context.Context
- in *RevokePrivilegedGatewayAccessRequest
- opts ...grpc.CallOption
func (*MockAPIServerClient_Expecter) SetAcceptableUseAccepted ¶ added in v1.2.0
func (_e *MockAPIServerClient_Expecter) SetAcceptableUseAccepted(ctx interface{}, in interface{}, opts ...interface{}) *MockAPIServerClient_SetAcceptableUseAccepted_Call
SetAcceptableUseAccepted is a helper method to define mock.On call
- ctx context.Context
- in *SetAcceptableUseAcceptedRequest
- opts ...grpc.CallOption
func (*MockAPIServerClient_Expecter) UpdateGateway ¶
func (_e *MockAPIServerClient_Expecter) UpdateGateway(ctx interface{}, in interface{}, opts ...interface{}) *MockAPIServerClient_UpdateGateway_Call
UpdateGateway is a helper method to define mock.On call
- ctx context.Context
- in *ModifyGatewayRequest
- opts ...grpc.CallOption
func (*MockAPIServerClient_Expecter) UserHasAccessToPrivilegedGateway ¶ added in v1.6.0
func (_e *MockAPIServerClient_Expecter) UserHasAccessToPrivilegedGateway(ctx interface{}, in interface{}, opts ...interface{}) *MockAPIServerClient_UserHasAccessToPrivilegedGateway_Call
UserHasAccessToPrivilegedGateway is a helper method to define mock.On call
- ctx context.Context
- in *UserHasAccessToPrivilegedGatewayRequest
- opts ...grpc.CallOption
type MockAPIServerClient_GetAcceptableUseAcceptedAt_Call ¶ added in v1.2.0
MockAPIServerClient_GetAcceptableUseAcceptedAt_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAcceptableUseAcceptedAt'
func (*MockAPIServerClient_GetAcceptableUseAcceptedAt_Call) Return ¶ added in v1.2.0
func (_c *MockAPIServerClient_GetAcceptableUseAcceptedAt_Call) Return(getAcceptableUseAcceptedAtResponse *GetAcceptableUseAcceptedAtResponse, err error) *MockAPIServerClient_GetAcceptableUseAcceptedAt_Call
func (*MockAPIServerClient_GetAcceptableUseAcceptedAt_Call) Run ¶ added in v1.2.0
func (_c *MockAPIServerClient_GetAcceptableUseAcceptedAt_Call) Run(run func(ctx context.Context, in *GetAcceptableUseAcceptedAtRequest, opts ...grpc.CallOption)) *MockAPIServerClient_GetAcceptableUseAcceptedAt_Call
func (*MockAPIServerClient_GetAcceptableUseAcceptedAt_Call) RunAndReturn ¶ added in v1.2.0
func (_c *MockAPIServerClient_GetAcceptableUseAcceptedAt_Call) RunAndReturn(run func(ctx context.Context, in *GetAcceptableUseAcceptedAtRequest, opts ...grpc.CallOption) (*GetAcceptableUseAcceptedAtResponse, error)) *MockAPIServerClient_GetAcceptableUseAcceptedAt_Call
type MockAPIServerClient_GetDeviceConfiguration_Call ¶
MockAPIServerClient_GetDeviceConfiguration_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetDeviceConfiguration'
func (*MockAPIServerClient_GetDeviceConfiguration_Call) Return ¶
func (_c *MockAPIServerClient_GetDeviceConfiguration_Call) Return(serverStreamingClient grpc.ServerStreamingClient[GetDeviceConfigurationResponse], err error) *MockAPIServerClient_GetDeviceConfiguration_Call
func (*MockAPIServerClient_GetDeviceConfiguration_Call) Run ¶
func (_c *MockAPIServerClient_GetDeviceConfiguration_Call) Run(run func(ctx context.Context, in *GetDeviceConfigurationRequest, opts ...grpc.CallOption)) *MockAPIServerClient_GetDeviceConfiguration_Call
func (*MockAPIServerClient_GetDeviceConfiguration_Call) RunAndReturn ¶
func (_c *MockAPIServerClient_GetDeviceConfiguration_Call) RunAndReturn(run func(ctx context.Context, in *GetDeviceConfigurationRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[GetDeviceConfigurationResponse], error)) *MockAPIServerClient_GetDeviceConfiguration_Call
type MockAPIServerClient_GetGatewayConfiguration_Call ¶
MockAPIServerClient_GetGatewayConfiguration_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetGatewayConfiguration'
func (*MockAPIServerClient_GetGatewayConfiguration_Call) Return ¶
func (_c *MockAPIServerClient_GetGatewayConfiguration_Call) Return(serverStreamingClient grpc.ServerStreamingClient[GetGatewayConfigurationResponse], err error) *MockAPIServerClient_GetGatewayConfiguration_Call
func (*MockAPIServerClient_GetGatewayConfiguration_Call) Run ¶
func (_c *MockAPIServerClient_GetGatewayConfiguration_Call) Run(run func(ctx context.Context, in *GetGatewayConfigurationRequest, opts ...grpc.CallOption)) *MockAPIServerClient_GetGatewayConfiguration_Call
func (*MockAPIServerClient_GetGatewayConfiguration_Call) RunAndReturn ¶
func (_c *MockAPIServerClient_GetGatewayConfiguration_Call) RunAndReturn(run func(ctx context.Context, in *GetGatewayConfigurationRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[GetGatewayConfigurationResponse], error)) *MockAPIServerClient_GetGatewayConfiguration_Call
type MockAPIServerClient_GetGatewayJitaGrantsForUser_Call ¶ added in v1.6.0
MockAPIServerClient_GetGatewayJitaGrantsForUser_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetGatewayJitaGrantsForUser'
func (*MockAPIServerClient_GetGatewayJitaGrantsForUser_Call) Return ¶ added in v1.6.0
func (_c *MockAPIServerClient_GetGatewayJitaGrantsForUser_Call) Return(getGatewayJitaGrantsForUserResponse *GetGatewayJitaGrantsForUserResponse, err error) *MockAPIServerClient_GetGatewayJitaGrantsForUser_Call
func (*MockAPIServerClient_GetGatewayJitaGrantsForUser_Call) Run ¶ added in v1.6.0
func (_c *MockAPIServerClient_GetGatewayJitaGrantsForUser_Call) Run(run func(ctx context.Context, in *GetGatewayJitaGrantsForUserRequest, opts ...grpc.CallOption)) *MockAPIServerClient_GetGatewayJitaGrantsForUser_Call
func (*MockAPIServerClient_GetGatewayJitaGrantsForUser_Call) RunAndReturn ¶ added in v1.6.0
func (_c *MockAPIServerClient_GetGatewayJitaGrantsForUser_Call) RunAndReturn(run func(ctx context.Context, in *GetGatewayJitaGrantsForUserRequest, opts ...grpc.CallOption) (*GetGatewayJitaGrantsForUserResponse, error)) *MockAPIServerClient_GetGatewayJitaGrantsForUser_Call
type MockAPIServerClient_GetGateway_Call ¶
MockAPIServerClient_GetGateway_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetGateway'
func (*MockAPIServerClient_GetGateway_Call) Return ¶
func (_c *MockAPIServerClient_GetGateway_Call) Return(gateway *Gateway, err error) *MockAPIServerClient_GetGateway_Call
func (*MockAPIServerClient_GetGateway_Call) Run ¶
func (_c *MockAPIServerClient_GetGateway_Call) Run(run func(ctx context.Context, in *ModifyGatewayRequest, opts ...grpc.CallOption)) *MockAPIServerClient_GetGateway_Call
func (*MockAPIServerClient_GetGateway_Call) RunAndReturn ¶
func (_c *MockAPIServerClient_GetGateway_Call) RunAndReturn(run func(ctx context.Context, in *ModifyGatewayRequest, opts ...grpc.CallOption) (*Gateway, error)) *MockAPIServerClient_GetGateway_Call
type MockAPIServerClient_GetKolideCache_Call ¶
MockAPIServerClient_GetKolideCache_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetKolideCache'
func (*MockAPIServerClient_GetKolideCache_Call) Return ¶
func (_c *MockAPIServerClient_GetKolideCache_Call) Return(getKolideCacheResponse *GetKolideCacheResponse, err error) *MockAPIServerClient_GetKolideCache_Call
func (*MockAPIServerClient_GetKolideCache_Call) Run ¶
func (_c *MockAPIServerClient_GetKolideCache_Call) Run(run func(ctx context.Context, in *GetKolideCacheRequest, opts ...grpc.CallOption)) *MockAPIServerClient_GetKolideCache_Call
func (*MockAPIServerClient_GetKolideCache_Call) RunAndReturn ¶
func (_c *MockAPIServerClient_GetKolideCache_Call) RunAndReturn(run func(ctx context.Context, in *GetKolideCacheRequest, opts ...grpc.CallOption) (*GetKolideCacheResponse, error)) *MockAPIServerClient_GetKolideCache_Call
type MockAPIServerClient_GetSessions_Call ¶
MockAPIServerClient_GetSessions_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetSessions'
func (*MockAPIServerClient_GetSessions_Call) Return ¶
func (_c *MockAPIServerClient_GetSessions_Call) Return(getSessionsResponse *GetSessionsResponse, err error) *MockAPIServerClient_GetSessions_Call
func (*MockAPIServerClient_GetSessions_Call) Run ¶
func (_c *MockAPIServerClient_GetSessions_Call) Run(run func(ctx context.Context, in *GetSessionsRequest, opts ...grpc.CallOption)) *MockAPIServerClient_GetSessions_Call
func (*MockAPIServerClient_GetSessions_Call) RunAndReturn ¶
func (_c *MockAPIServerClient_GetSessions_Call) RunAndReturn(run func(ctx context.Context, in *GetSessionsRequest, opts ...grpc.CallOption) (*GetSessionsResponse, error)) *MockAPIServerClient_GetSessions_Call
type MockAPIServerClient_GrantPrivilegedGatewayAccess_Call ¶ added in v1.6.0
MockAPIServerClient_GrantPrivilegedGatewayAccess_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GrantPrivilegedGatewayAccess'
func (*MockAPIServerClient_GrantPrivilegedGatewayAccess_Call) Return ¶ added in v1.6.0
func (_c *MockAPIServerClient_GrantPrivilegedGatewayAccess_Call) Return(grantPrivilegedGatewayAccessResponse *GrantPrivilegedGatewayAccessResponse, err error) *MockAPIServerClient_GrantPrivilegedGatewayAccess_Call
func (*MockAPIServerClient_GrantPrivilegedGatewayAccess_Call) Run ¶ added in v1.6.0
func (_c *MockAPIServerClient_GrantPrivilegedGatewayAccess_Call) Run(run func(ctx context.Context, in *GrantPrivilegedGatewayAccessRequest, opts ...grpc.CallOption)) *MockAPIServerClient_GrantPrivilegedGatewayAccess_Call
func (*MockAPIServerClient_GrantPrivilegedGatewayAccess_Call) RunAndReturn ¶ added in v1.6.0
func (_c *MockAPIServerClient_GrantPrivilegedGatewayAccess_Call) RunAndReturn(run func(ctx context.Context, in *GrantPrivilegedGatewayAccessRequest, opts ...grpc.CallOption) (*GrantPrivilegedGatewayAccessResponse, error)) *MockAPIServerClient_GrantPrivilegedGatewayAccess_Call
type MockAPIServerClient_ListGateways_Call ¶
MockAPIServerClient_ListGateways_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListGateways'
func (*MockAPIServerClient_ListGateways_Call) Return ¶
func (_c *MockAPIServerClient_ListGateways_Call) Return(serverStreamingClient grpc.ServerStreamingClient[Gateway], err error) *MockAPIServerClient_ListGateways_Call
func (*MockAPIServerClient_ListGateways_Call) Run ¶
func (_c *MockAPIServerClient_ListGateways_Call) Run(run func(ctx context.Context, in *ListGatewayRequest, opts ...grpc.CallOption)) *MockAPIServerClient_ListGateways_Call
func (*MockAPIServerClient_ListGateways_Call) RunAndReturn ¶
func (_c *MockAPIServerClient_ListGateways_Call) RunAndReturn(run func(ctx context.Context, in *ListGatewayRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[Gateway], error)) *MockAPIServerClient_ListGateways_Call
type MockAPIServerClient_Login_Call ¶
MockAPIServerClient_Login_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Login'
func (*MockAPIServerClient_Login_Call) Return ¶
func (_c *MockAPIServerClient_Login_Call) Return(aPIServerLoginResponse *APIServerLoginResponse, err error) *MockAPIServerClient_Login_Call
func (*MockAPIServerClient_Login_Call) Run ¶
func (_c *MockAPIServerClient_Login_Call) Run(run func(ctx context.Context, in *APIServerLoginRequest, opts ...grpc.CallOption)) *MockAPIServerClient_Login_Call
func (*MockAPIServerClient_Login_Call) RunAndReturn ¶
func (_c *MockAPIServerClient_Login_Call) RunAndReturn(run func(ctx context.Context, in *APIServerLoginRequest, opts ...grpc.CallOption) (*APIServerLoginResponse, error)) *MockAPIServerClient_Login_Call
type MockAPIServerClient_RevokePrivilegedGatewayAccess_Call ¶ added in v1.6.0
MockAPIServerClient_RevokePrivilegedGatewayAccess_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RevokePrivilegedGatewayAccess'
func (*MockAPIServerClient_RevokePrivilegedGatewayAccess_Call) Return ¶ added in v1.6.0
func (_c *MockAPIServerClient_RevokePrivilegedGatewayAccess_Call) Return(revokePrivilegedGatewayAccessResponse *RevokePrivilegedGatewayAccessResponse, err error) *MockAPIServerClient_RevokePrivilegedGatewayAccess_Call
func (*MockAPIServerClient_RevokePrivilegedGatewayAccess_Call) Run ¶ added in v1.6.0
func (_c *MockAPIServerClient_RevokePrivilegedGatewayAccess_Call) Run(run func(ctx context.Context, in *RevokePrivilegedGatewayAccessRequest, opts ...grpc.CallOption)) *MockAPIServerClient_RevokePrivilegedGatewayAccess_Call
func (*MockAPIServerClient_RevokePrivilegedGatewayAccess_Call) RunAndReturn ¶ added in v1.6.0
func (_c *MockAPIServerClient_RevokePrivilegedGatewayAccess_Call) RunAndReturn(run func(ctx context.Context, in *RevokePrivilegedGatewayAccessRequest, opts ...grpc.CallOption) (*RevokePrivilegedGatewayAccessResponse, error)) *MockAPIServerClient_RevokePrivilegedGatewayAccess_Call
type MockAPIServerClient_SetAcceptableUseAccepted_Call ¶ added in v1.2.0
MockAPIServerClient_SetAcceptableUseAccepted_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetAcceptableUseAccepted'
func (*MockAPIServerClient_SetAcceptableUseAccepted_Call) Return ¶ added in v1.2.0
func (_c *MockAPIServerClient_SetAcceptableUseAccepted_Call) Return(setAcceptableUseAcceptedResponse *SetAcceptableUseAcceptedResponse, err error) *MockAPIServerClient_SetAcceptableUseAccepted_Call
func (*MockAPIServerClient_SetAcceptableUseAccepted_Call) Run ¶ added in v1.2.0
func (_c *MockAPIServerClient_SetAcceptableUseAccepted_Call) Run(run func(ctx context.Context, in *SetAcceptableUseAcceptedRequest, opts ...grpc.CallOption)) *MockAPIServerClient_SetAcceptableUseAccepted_Call
func (*MockAPIServerClient_SetAcceptableUseAccepted_Call) RunAndReturn ¶ added in v1.2.0
func (_c *MockAPIServerClient_SetAcceptableUseAccepted_Call) RunAndReturn(run func(ctx context.Context, in *SetAcceptableUseAcceptedRequest, opts ...grpc.CallOption) (*SetAcceptableUseAcceptedResponse, error)) *MockAPIServerClient_SetAcceptableUseAccepted_Call
type MockAPIServerClient_UpdateGateway_Call ¶
MockAPIServerClient_UpdateGateway_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateGateway'
func (*MockAPIServerClient_UpdateGateway_Call) Return ¶
func (_c *MockAPIServerClient_UpdateGateway_Call) Return(modifyGatewayResponse *ModifyGatewayResponse, err error) *MockAPIServerClient_UpdateGateway_Call
func (*MockAPIServerClient_UpdateGateway_Call) Run ¶
func (_c *MockAPIServerClient_UpdateGateway_Call) Run(run func(ctx context.Context, in *ModifyGatewayRequest, opts ...grpc.CallOption)) *MockAPIServerClient_UpdateGateway_Call
func (*MockAPIServerClient_UpdateGateway_Call) RunAndReturn ¶
func (_c *MockAPIServerClient_UpdateGateway_Call) RunAndReturn(run func(ctx context.Context, in *ModifyGatewayRequest, opts ...grpc.CallOption) (*ModifyGatewayResponse, error)) *MockAPIServerClient_UpdateGateway_Call
type MockAPIServerClient_UserHasAccessToPrivilegedGateway_Call ¶ added in v1.6.0
MockAPIServerClient_UserHasAccessToPrivilegedGateway_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UserHasAccessToPrivilegedGateway'
func (*MockAPIServerClient_UserHasAccessToPrivilegedGateway_Call) Return ¶ added in v1.6.0
func (_c *MockAPIServerClient_UserHasAccessToPrivilegedGateway_Call) Return(userHasAccessToPrivilegedGatewayResponse *UserHasAccessToPrivilegedGatewayResponse, err error) *MockAPIServerClient_UserHasAccessToPrivilegedGateway_Call
func (*MockAPIServerClient_UserHasAccessToPrivilegedGateway_Call) Run ¶ added in v1.6.0
func (_c *MockAPIServerClient_UserHasAccessToPrivilegedGateway_Call) Run(run func(ctx context.Context, in *UserHasAccessToPrivilegedGatewayRequest, opts ...grpc.CallOption)) *MockAPIServerClient_UserHasAccessToPrivilegedGateway_Call
func (*MockAPIServerClient_UserHasAccessToPrivilegedGateway_Call) RunAndReturn ¶ added in v1.6.0
func (_c *MockAPIServerClient_UserHasAccessToPrivilegedGateway_Call) RunAndReturn(run func(ctx context.Context, in *UserHasAccessToPrivilegedGatewayRequest, opts ...grpc.CallOption) (*UserHasAccessToPrivilegedGatewayResponse, error)) *MockAPIServerClient_UserHasAccessToPrivilegedGateway_Call
type MockAPIServer_GetDeviceConfigurationClient ¶
MockAPIServer_GetDeviceConfigurationClient is an autogenerated mock type for the APIServer_GetDeviceConfigurationClient type
func NewMockAPIServer_GetDeviceConfigurationClient ¶
func NewMockAPIServer_GetDeviceConfigurationClient(t interface {
mock.TestingT
Cleanup(func())
}) *MockAPIServer_GetDeviceConfigurationClient
NewMockAPIServer_GetDeviceConfigurationClient creates a new instance of MockAPIServer_GetDeviceConfigurationClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*MockAPIServer_GetDeviceConfigurationClient) CloseSend ¶
func (_mock *MockAPIServer_GetDeviceConfigurationClient) CloseSend() error
CloseSend provides a mock function for the type MockAPIServer_GetDeviceConfigurationClient
func (*MockAPIServer_GetDeviceConfigurationClient) Context ¶
func (_mock *MockAPIServer_GetDeviceConfigurationClient) Context() context.Context
Context provides a mock function for the type MockAPIServer_GetDeviceConfigurationClient
func (*MockAPIServer_GetDeviceConfigurationClient) Header ¶
func (_mock *MockAPIServer_GetDeviceConfigurationClient) Header() (metadata.MD, error)
Header provides a mock function for the type MockAPIServer_GetDeviceConfigurationClient
func (*MockAPIServer_GetDeviceConfigurationClient) Recv ¶
func (_mock *MockAPIServer_GetDeviceConfigurationClient) Recv() (*GetDeviceConfigurationResponse, error)
Recv provides a mock function for the type MockAPIServer_GetDeviceConfigurationClient
func (*MockAPIServer_GetDeviceConfigurationClient) RecvMsg ¶
func (_mock *MockAPIServer_GetDeviceConfigurationClient) RecvMsg(m any) error
RecvMsg provides a mock function for the type MockAPIServer_GetDeviceConfigurationClient
func (*MockAPIServer_GetDeviceConfigurationClient) SendMsg ¶
func (_mock *MockAPIServer_GetDeviceConfigurationClient) SendMsg(m any) error
SendMsg provides a mock function for the type MockAPIServer_GetDeviceConfigurationClient
func (*MockAPIServer_GetDeviceConfigurationClient) Trailer ¶
func (_mock *MockAPIServer_GetDeviceConfigurationClient) Trailer() metadata.MD
Trailer provides a mock function for the type MockAPIServer_GetDeviceConfigurationClient
type MockAPIServer_GetDeviceConfigurationClient_CloseSend_Call ¶
MockAPIServer_GetDeviceConfigurationClient_CloseSend_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CloseSend'
func (*MockAPIServer_GetDeviceConfigurationClient_CloseSend_Call) Run ¶
func (_c *MockAPIServer_GetDeviceConfigurationClient_CloseSend_Call) Run(run func()) *MockAPIServer_GetDeviceConfigurationClient_CloseSend_Call
func (*MockAPIServer_GetDeviceConfigurationClient_CloseSend_Call) RunAndReturn ¶
func (_c *MockAPIServer_GetDeviceConfigurationClient_CloseSend_Call) RunAndReturn(run func() error) *MockAPIServer_GetDeviceConfigurationClient_CloseSend_Call
type MockAPIServer_GetDeviceConfigurationClient_Context_Call ¶
MockAPIServer_GetDeviceConfigurationClient_Context_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Context'
func (*MockAPIServer_GetDeviceConfigurationClient_Context_Call) Return ¶
func (_c *MockAPIServer_GetDeviceConfigurationClient_Context_Call) Return(context1 context.Context) *MockAPIServer_GetDeviceConfigurationClient_Context_Call
func (*MockAPIServer_GetDeviceConfigurationClient_Context_Call) Run ¶
func (_c *MockAPIServer_GetDeviceConfigurationClient_Context_Call) Run(run func()) *MockAPIServer_GetDeviceConfigurationClient_Context_Call
func (*MockAPIServer_GetDeviceConfigurationClient_Context_Call) RunAndReturn ¶
func (_c *MockAPIServer_GetDeviceConfigurationClient_Context_Call) RunAndReturn(run func() context.Context) *MockAPIServer_GetDeviceConfigurationClient_Context_Call
type MockAPIServer_GetDeviceConfigurationClient_Expecter ¶
type MockAPIServer_GetDeviceConfigurationClient_Expecter struct {
// contains filtered or unexported fields
}
func (*MockAPIServer_GetDeviceConfigurationClient_Expecter) CloseSend ¶
func (_e *MockAPIServer_GetDeviceConfigurationClient_Expecter) CloseSend() *MockAPIServer_GetDeviceConfigurationClient_CloseSend_Call
CloseSend is a helper method to define mock.On call
func (*MockAPIServer_GetDeviceConfigurationClient_Expecter) Context ¶
func (_e *MockAPIServer_GetDeviceConfigurationClient_Expecter) Context() *MockAPIServer_GetDeviceConfigurationClient_Context_Call
Context is a helper method to define mock.On call
func (*MockAPIServer_GetDeviceConfigurationClient_Expecter) Header ¶
func (_e *MockAPIServer_GetDeviceConfigurationClient_Expecter) Header() *MockAPIServer_GetDeviceConfigurationClient_Header_Call
Header is a helper method to define mock.On call
func (*MockAPIServer_GetDeviceConfigurationClient_Expecter) Recv ¶
func (_e *MockAPIServer_GetDeviceConfigurationClient_Expecter) Recv() *MockAPIServer_GetDeviceConfigurationClient_Recv_Call
Recv is a helper method to define mock.On call
func (*MockAPIServer_GetDeviceConfigurationClient_Expecter) RecvMsg ¶
func (_e *MockAPIServer_GetDeviceConfigurationClient_Expecter) RecvMsg(m interface{}) *MockAPIServer_GetDeviceConfigurationClient_RecvMsg_Call
RecvMsg is a helper method to define mock.On call
- m any
func (*MockAPIServer_GetDeviceConfigurationClient_Expecter) SendMsg ¶
func (_e *MockAPIServer_GetDeviceConfigurationClient_Expecter) SendMsg(m interface{}) *MockAPIServer_GetDeviceConfigurationClient_SendMsg_Call
SendMsg is a helper method to define mock.On call
- m any
func (*MockAPIServer_GetDeviceConfigurationClient_Expecter) Trailer ¶
func (_e *MockAPIServer_GetDeviceConfigurationClient_Expecter) Trailer() *MockAPIServer_GetDeviceConfigurationClient_Trailer_Call
Trailer is a helper method to define mock.On call
type MockAPIServer_GetDeviceConfigurationClient_Header_Call ¶
MockAPIServer_GetDeviceConfigurationClient_Header_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Header'
func (*MockAPIServer_GetDeviceConfigurationClient_Header_Call) Return ¶
func (_c *MockAPIServer_GetDeviceConfigurationClient_Header_Call) Return(mD metadata.MD, err error) *MockAPIServer_GetDeviceConfigurationClient_Header_Call
func (*MockAPIServer_GetDeviceConfigurationClient_Header_Call) Run ¶
func (_c *MockAPIServer_GetDeviceConfigurationClient_Header_Call) Run(run func()) *MockAPIServer_GetDeviceConfigurationClient_Header_Call
func (*MockAPIServer_GetDeviceConfigurationClient_Header_Call) RunAndReturn ¶
func (_c *MockAPIServer_GetDeviceConfigurationClient_Header_Call) RunAndReturn(run func() (metadata.MD, error)) *MockAPIServer_GetDeviceConfigurationClient_Header_Call
type MockAPIServer_GetDeviceConfigurationClient_RecvMsg_Call ¶
MockAPIServer_GetDeviceConfigurationClient_RecvMsg_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RecvMsg'
func (*MockAPIServer_GetDeviceConfigurationClient_RecvMsg_Call) Run ¶
func (_c *MockAPIServer_GetDeviceConfigurationClient_RecvMsg_Call) Run(run func(m any)) *MockAPIServer_GetDeviceConfigurationClient_RecvMsg_Call
func (*MockAPIServer_GetDeviceConfigurationClient_RecvMsg_Call) RunAndReturn ¶
func (_c *MockAPIServer_GetDeviceConfigurationClient_RecvMsg_Call) RunAndReturn(run func(m any) error) *MockAPIServer_GetDeviceConfigurationClient_RecvMsg_Call
type MockAPIServer_GetDeviceConfigurationClient_Recv_Call ¶
MockAPIServer_GetDeviceConfigurationClient_Recv_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Recv'
func (*MockAPIServer_GetDeviceConfigurationClient_Recv_Call) Return ¶
func (_c *MockAPIServer_GetDeviceConfigurationClient_Recv_Call) Return(getDeviceConfigurationResponse *GetDeviceConfigurationResponse, err error) *MockAPIServer_GetDeviceConfigurationClient_Recv_Call
func (*MockAPIServer_GetDeviceConfigurationClient_Recv_Call) Run ¶
func (_c *MockAPIServer_GetDeviceConfigurationClient_Recv_Call) Run(run func()) *MockAPIServer_GetDeviceConfigurationClient_Recv_Call
func (*MockAPIServer_GetDeviceConfigurationClient_Recv_Call) RunAndReturn ¶
func (_c *MockAPIServer_GetDeviceConfigurationClient_Recv_Call) RunAndReturn(run func() (*GetDeviceConfigurationResponse, error)) *MockAPIServer_GetDeviceConfigurationClient_Recv_Call
type MockAPIServer_GetDeviceConfigurationClient_SendMsg_Call ¶
MockAPIServer_GetDeviceConfigurationClient_SendMsg_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SendMsg'
func (*MockAPIServer_GetDeviceConfigurationClient_SendMsg_Call) Run ¶
func (_c *MockAPIServer_GetDeviceConfigurationClient_SendMsg_Call) Run(run func(m any)) *MockAPIServer_GetDeviceConfigurationClient_SendMsg_Call
func (*MockAPIServer_GetDeviceConfigurationClient_SendMsg_Call) RunAndReturn ¶
func (_c *MockAPIServer_GetDeviceConfigurationClient_SendMsg_Call) RunAndReturn(run func(m any) error) *MockAPIServer_GetDeviceConfigurationClient_SendMsg_Call
type MockAPIServer_GetDeviceConfigurationClient_Trailer_Call ¶
MockAPIServer_GetDeviceConfigurationClient_Trailer_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Trailer'
func (*MockAPIServer_GetDeviceConfigurationClient_Trailer_Call) Run ¶
func (_c *MockAPIServer_GetDeviceConfigurationClient_Trailer_Call) Run(run func()) *MockAPIServer_GetDeviceConfigurationClient_Trailer_Call
func (*MockAPIServer_GetDeviceConfigurationClient_Trailer_Call) RunAndReturn ¶
func (_c *MockAPIServer_GetDeviceConfigurationClient_Trailer_Call) RunAndReturn(run func() metadata.MD) *MockAPIServer_GetDeviceConfigurationClient_Trailer_Call
type MockAPIServer_GetGatewayConfigurationClient ¶
MockAPIServer_GetGatewayConfigurationClient is an autogenerated mock type for the APIServer_GetGatewayConfigurationClient type
func NewMockAPIServer_GetGatewayConfigurationClient ¶
func NewMockAPIServer_GetGatewayConfigurationClient(t interface {
mock.TestingT
Cleanup(func())
}) *MockAPIServer_GetGatewayConfigurationClient
NewMockAPIServer_GetGatewayConfigurationClient creates a new instance of MockAPIServer_GetGatewayConfigurationClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*MockAPIServer_GetGatewayConfigurationClient) CloseSend ¶
func (_mock *MockAPIServer_GetGatewayConfigurationClient) CloseSend() error
CloseSend provides a mock function for the type MockAPIServer_GetGatewayConfigurationClient
func (*MockAPIServer_GetGatewayConfigurationClient) Context ¶
func (_mock *MockAPIServer_GetGatewayConfigurationClient) Context() context.Context
Context provides a mock function for the type MockAPIServer_GetGatewayConfigurationClient
func (*MockAPIServer_GetGatewayConfigurationClient) Header ¶
func (_mock *MockAPIServer_GetGatewayConfigurationClient) Header() (metadata.MD, error)
Header provides a mock function for the type MockAPIServer_GetGatewayConfigurationClient
func (*MockAPIServer_GetGatewayConfigurationClient) Recv ¶
func (_mock *MockAPIServer_GetGatewayConfigurationClient) Recv() (*GetGatewayConfigurationResponse, error)
Recv provides a mock function for the type MockAPIServer_GetGatewayConfigurationClient
func (*MockAPIServer_GetGatewayConfigurationClient) RecvMsg ¶
func (_mock *MockAPIServer_GetGatewayConfigurationClient) RecvMsg(m any) error
RecvMsg provides a mock function for the type MockAPIServer_GetGatewayConfigurationClient
func (*MockAPIServer_GetGatewayConfigurationClient) SendMsg ¶
func (_mock *MockAPIServer_GetGatewayConfigurationClient) SendMsg(m any) error
SendMsg provides a mock function for the type MockAPIServer_GetGatewayConfigurationClient
func (*MockAPIServer_GetGatewayConfigurationClient) Trailer ¶
func (_mock *MockAPIServer_GetGatewayConfigurationClient) Trailer() metadata.MD
Trailer provides a mock function for the type MockAPIServer_GetGatewayConfigurationClient
type MockAPIServer_GetGatewayConfigurationClient_CloseSend_Call ¶
MockAPIServer_GetGatewayConfigurationClient_CloseSend_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CloseSend'
func (*MockAPIServer_GetGatewayConfigurationClient_CloseSend_Call) Run ¶
func (_c *MockAPIServer_GetGatewayConfigurationClient_CloseSend_Call) Run(run func()) *MockAPIServer_GetGatewayConfigurationClient_CloseSend_Call
func (*MockAPIServer_GetGatewayConfigurationClient_CloseSend_Call) RunAndReturn ¶
func (_c *MockAPIServer_GetGatewayConfigurationClient_CloseSend_Call) RunAndReturn(run func() error) *MockAPIServer_GetGatewayConfigurationClient_CloseSend_Call
type MockAPIServer_GetGatewayConfigurationClient_Context_Call ¶
MockAPIServer_GetGatewayConfigurationClient_Context_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Context'
func (*MockAPIServer_GetGatewayConfigurationClient_Context_Call) Return ¶
func (_c *MockAPIServer_GetGatewayConfigurationClient_Context_Call) Return(context1 context.Context) *MockAPIServer_GetGatewayConfigurationClient_Context_Call
func (*MockAPIServer_GetGatewayConfigurationClient_Context_Call) Run ¶
func (_c *MockAPIServer_GetGatewayConfigurationClient_Context_Call) Run(run func()) *MockAPIServer_GetGatewayConfigurationClient_Context_Call
func (*MockAPIServer_GetGatewayConfigurationClient_Context_Call) RunAndReturn ¶
func (_c *MockAPIServer_GetGatewayConfigurationClient_Context_Call) RunAndReturn(run func() context.Context) *MockAPIServer_GetGatewayConfigurationClient_Context_Call
type MockAPIServer_GetGatewayConfigurationClient_Expecter ¶
type MockAPIServer_GetGatewayConfigurationClient_Expecter struct {
// contains filtered or unexported fields
}
func (*MockAPIServer_GetGatewayConfigurationClient_Expecter) CloseSend ¶
func (_e *MockAPIServer_GetGatewayConfigurationClient_Expecter) CloseSend() *MockAPIServer_GetGatewayConfigurationClient_CloseSend_Call
CloseSend is a helper method to define mock.On call
func (*MockAPIServer_GetGatewayConfigurationClient_Expecter) Context ¶
func (_e *MockAPIServer_GetGatewayConfigurationClient_Expecter) Context() *MockAPIServer_GetGatewayConfigurationClient_Context_Call
Context is a helper method to define mock.On call
func (*MockAPIServer_GetGatewayConfigurationClient_Expecter) Header ¶
func (_e *MockAPIServer_GetGatewayConfigurationClient_Expecter) Header() *MockAPIServer_GetGatewayConfigurationClient_Header_Call
Header is a helper method to define mock.On call
func (*MockAPIServer_GetGatewayConfigurationClient_Expecter) Recv ¶
func (_e *MockAPIServer_GetGatewayConfigurationClient_Expecter) Recv() *MockAPIServer_GetGatewayConfigurationClient_Recv_Call
Recv is a helper method to define mock.On call
func (*MockAPIServer_GetGatewayConfigurationClient_Expecter) RecvMsg ¶
func (_e *MockAPIServer_GetGatewayConfigurationClient_Expecter) RecvMsg(m interface{}) *MockAPIServer_GetGatewayConfigurationClient_RecvMsg_Call
RecvMsg is a helper method to define mock.On call
- m any
func (*MockAPIServer_GetGatewayConfigurationClient_Expecter) SendMsg ¶
func (_e *MockAPIServer_GetGatewayConfigurationClient_Expecter) SendMsg(m interface{}) *MockAPIServer_GetGatewayConfigurationClient_SendMsg_Call
SendMsg is a helper method to define mock.On call
- m any
func (*MockAPIServer_GetGatewayConfigurationClient_Expecter) Trailer ¶
func (_e *MockAPIServer_GetGatewayConfigurationClient_Expecter) Trailer() *MockAPIServer_GetGatewayConfigurationClient_Trailer_Call
Trailer is a helper method to define mock.On call
type MockAPIServer_GetGatewayConfigurationClient_Header_Call ¶
MockAPIServer_GetGatewayConfigurationClient_Header_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Header'
func (*MockAPIServer_GetGatewayConfigurationClient_Header_Call) Return ¶
func (_c *MockAPIServer_GetGatewayConfigurationClient_Header_Call) Return(mD metadata.MD, err error) *MockAPIServer_GetGatewayConfigurationClient_Header_Call
func (*MockAPIServer_GetGatewayConfigurationClient_Header_Call) Run ¶
func (_c *MockAPIServer_GetGatewayConfigurationClient_Header_Call) Run(run func()) *MockAPIServer_GetGatewayConfigurationClient_Header_Call
func (*MockAPIServer_GetGatewayConfigurationClient_Header_Call) RunAndReturn ¶
func (_c *MockAPIServer_GetGatewayConfigurationClient_Header_Call) RunAndReturn(run func() (metadata.MD, error)) *MockAPIServer_GetGatewayConfigurationClient_Header_Call
type MockAPIServer_GetGatewayConfigurationClient_RecvMsg_Call ¶
MockAPIServer_GetGatewayConfigurationClient_RecvMsg_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RecvMsg'
func (*MockAPIServer_GetGatewayConfigurationClient_RecvMsg_Call) Run ¶
func (_c *MockAPIServer_GetGatewayConfigurationClient_RecvMsg_Call) Run(run func(m any)) *MockAPIServer_GetGatewayConfigurationClient_RecvMsg_Call
func (*MockAPIServer_GetGatewayConfigurationClient_RecvMsg_Call) RunAndReturn ¶
func (_c *MockAPIServer_GetGatewayConfigurationClient_RecvMsg_Call) RunAndReturn(run func(m any) error) *MockAPIServer_GetGatewayConfigurationClient_RecvMsg_Call
type MockAPIServer_GetGatewayConfigurationClient_Recv_Call ¶
MockAPIServer_GetGatewayConfigurationClient_Recv_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Recv'
func (*MockAPIServer_GetGatewayConfigurationClient_Recv_Call) Return ¶
func (_c *MockAPIServer_GetGatewayConfigurationClient_Recv_Call) Return(getGatewayConfigurationResponse *GetGatewayConfigurationResponse, err error) *MockAPIServer_GetGatewayConfigurationClient_Recv_Call
func (*MockAPIServer_GetGatewayConfigurationClient_Recv_Call) Run ¶
func (_c *MockAPIServer_GetGatewayConfigurationClient_Recv_Call) Run(run func()) *MockAPIServer_GetGatewayConfigurationClient_Recv_Call
func (*MockAPIServer_GetGatewayConfigurationClient_Recv_Call) RunAndReturn ¶
func (_c *MockAPIServer_GetGatewayConfigurationClient_Recv_Call) RunAndReturn(run func() (*GetGatewayConfigurationResponse, error)) *MockAPIServer_GetGatewayConfigurationClient_Recv_Call
type MockAPIServer_GetGatewayConfigurationClient_SendMsg_Call ¶
MockAPIServer_GetGatewayConfigurationClient_SendMsg_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SendMsg'
func (*MockAPIServer_GetGatewayConfigurationClient_SendMsg_Call) Run ¶
func (_c *MockAPIServer_GetGatewayConfigurationClient_SendMsg_Call) Run(run func(m any)) *MockAPIServer_GetGatewayConfigurationClient_SendMsg_Call
func (*MockAPIServer_GetGatewayConfigurationClient_SendMsg_Call) RunAndReturn ¶
func (_c *MockAPIServer_GetGatewayConfigurationClient_SendMsg_Call) RunAndReturn(run func(m any) error) *MockAPIServer_GetGatewayConfigurationClient_SendMsg_Call
type MockAPIServer_GetGatewayConfigurationClient_Trailer_Call ¶
MockAPIServer_GetGatewayConfigurationClient_Trailer_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Trailer'
func (*MockAPIServer_GetGatewayConfigurationClient_Trailer_Call) Run ¶
func (_c *MockAPIServer_GetGatewayConfigurationClient_Trailer_Call) Run(run func()) *MockAPIServer_GetGatewayConfigurationClient_Trailer_Call
func (*MockAPIServer_GetGatewayConfigurationClient_Trailer_Call) RunAndReturn ¶
func (_c *MockAPIServer_GetGatewayConfigurationClient_Trailer_Call) RunAndReturn(run func() metadata.MD) *MockAPIServer_GetGatewayConfigurationClient_Trailer_Call
type MockDeviceHelperClient ¶
MockDeviceHelperClient is an autogenerated mock type for the DeviceHelperClient type
func NewMockDeviceHelperClient ¶
func NewMockDeviceHelperClient(t interface {
mock.TestingT
Cleanup(func())
}) *MockDeviceHelperClient
NewMockDeviceHelperClient creates a new instance of MockDeviceHelperClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*MockDeviceHelperClient) Configure ¶
func (_mock *MockDeviceHelperClient) Configure(ctx context.Context, in *Configuration, opts ...grpc.CallOption) (*ConfigureResponse, error)
Configure provides a mock function for the type MockDeviceHelperClient
func (*MockDeviceHelperClient) EXPECT ¶
func (_m *MockDeviceHelperClient) EXPECT() *MockDeviceHelperClient_Expecter
func (*MockDeviceHelperClient) GetSerial ¶
func (_mock *MockDeviceHelperClient) GetSerial(ctx context.Context, in *GetSerialRequest, opts ...grpc.CallOption) (*GetSerialResponse, error)
GetSerial provides a mock function for the type MockDeviceHelperClient
func (*MockDeviceHelperClient) Ping ¶
func (_mock *MockDeviceHelperClient) Ping(ctx context.Context, in *PingRequest, opts ...grpc.CallOption) (*PingResponse, error)
Ping provides a mock function for the type MockDeviceHelperClient
func (*MockDeviceHelperClient) Teardown ¶
func (_mock *MockDeviceHelperClient) Teardown(ctx context.Context, in *TeardownRequest, opts ...grpc.CallOption) (*TeardownResponse, error)
Teardown provides a mock function for the type MockDeviceHelperClient
func (*MockDeviceHelperClient) Upgrade ¶
func (_mock *MockDeviceHelperClient) Upgrade(ctx context.Context, in *UpgradeRequest, opts ...grpc.CallOption) (*UpgradeResponse, error)
Upgrade provides a mock function for the type MockDeviceHelperClient
type MockDeviceHelperClient_Configure_Call ¶
MockDeviceHelperClient_Configure_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Configure'
func (*MockDeviceHelperClient_Configure_Call) Return ¶
func (_c *MockDeviceHelperClient_Configure_Call) Return(configureResponse *ConfigureResponse, err error) *MockDeviceHelperClient_Configure_Call
func (*MockDeviceHelperClient_Configure_Call) Run ¶
func (_c *MockDeviceHelperClient_Configure_Call) Run(run func(ctx context.Context, in *Configuration, opts ...grpc.CallOption)) *MockDeviceHelperClient_Configure_Call
func (*MockDeviceHelperClient_Configure_Call) RunAndReturn ¶
func (_c *MockDeviceHelperClient_Configure_Call) RunAndReturn(run func(ctx context.Context, in *Configuration, opts ...grpc.CallOption) (*ConfigureResponse, error)) *MockDeviceHelperClient_Configure_Call
type MockDeviceHelperClient_Expecter ¶
type MockDeviceHelperClient_Expecter struct {
// contains filtered or unexported fields
}
func (*MockDeviceHelperClient_Expecter) Configure ¶
func (_e *MockDeviceHelperClient_Expecter) Configure(ctx interface{}, in interface{}, opts ...interface{}) *MockDeviceHelperClient_Configure_Call
Configure is a helper method to define mock.On call
- ctx context.Context
- in *Configuration
- opts ...grpc.CallOption
func (*MockDeviceHelperClient_Expecter) GetSerial ¶
func (_e *MockDeviceHelperClient_Expecter) GetSerial(ctx interface{}, in interface{}, opts ...interface{}) *MockDeviceHelperClient_GetSerial_Call
GetSerial is a helper method to define mock.On call
- ctx context.Context
- in *GetSerialRequest
- opts ...grpc.CallOption
func (*MockDeviceHelperClient_Expecter) Ping ¶
func (_e *MockDeviceHelperClient_Expecter) Ping(ctx interface{}, in interface{}, opts ...interface{}) *MockDeviceHelperClient_Ping_Call
Ping is a helper method to define mock.On call
- ctx context.Context
- in *PingRequest
- opts ...grpc.CallOption
func (*MockDeviceHelperClient_Expecter) Teardown ¶
func (_e *MockDeviceHelperClient_Expecter) Teardown(ctx interface{}, in interface{}, opts ...interface{}) *MockDeviceHelperClient_Teardown_Call
Teardown is a helper method to define mock.On call
- ctx context.Context
- in *TeardownRequest
- opts ...grpc.CallOption
func (*MockDeviceHelperClient_Expecter) Upgrade ¶
func (_e *MockDeviceHelperClient_Expecter) Upgrade(ctx interface{}, in interface{}, opts ...interface{}) *MockDeviceHelperClient_Upgrade_Call
Upgrade is a helper method to define mock.On call
- ctx context.Context
- in *UpgradeRequest
- opts ...grpc.CallOption
type MockDeviceHelperClient_GetSerial_Call ¶
MockDeviceHelperClient_GetSerial_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetSerial'
func (*MockDeviceHelperClient_GetSerial_Call) Return ¶
func (_c *MockDeviceHelperClient_GetSerial_Call) Return(getSerialResponse *GetSerialResponse, err error) *MockDeviceHelperClient_GetSerial_Call
func (*MockDeviceHelperClient_GetSerial_Call) Run ¶
func (_c *MockDeviceHelperClient_GetSerial_Call) Run(run func(ctx context.Context, in *GetSerialRequest, opts ...grpc.CallOption)) *MockDeviceHelperClient_GetSerial_Call
func (*MockDeviceHelperClient_GetSerial_Call) RunAndReturn ¶
func (_c *MockDeviceHelperClient_GetSerial_Call) RunAndReturn(run func(ctx context.Context, in *GetSerialRequest, opts ...grpc.CallOption) (*GetSerialResponse, error)) *MockDeviceHelperClient_GetSerial_Call
type MockDeviceHelperClient_Ping_Call ¶
MockDeviceHelperClient_Ping_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Ping'
func (*MockDeviceHelperClient_Ping_Call) Return ¶
func (_c *MockDeviceHelperClient_Ping_Call) Return(pingResponse *PingResponse, err error) *MockDeviceHelperClient_Ping_Call
func (*MockDeviceHelperClient_Ping_Call) Run ¶
func (_c *MockDeviceHelperClient_Ping_Call) Run(run func(ctx context.Context, in *PingRequest, opts ...grpc.CallOption)) *MockDeviceHelperClient_Ping_Call
func (*MockDeviceHelperClient_Ping_Call) RunAndReturn ¶
func (_c *MockDeviceHelperClient_Ping_Call) RunAndReturn(run func(ctx context.Context, in *PingRequest, opts ...grpc.CallOption) (*PingResponse, error)) *MockDeviceHelperClient_Ping_Call
type MockDeviceHelperClient_Teardown_Call ¶
MockDeviceHelperClient_Teardown_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Teardown'
func (*MockDeviceHelperClient_Teardown_Call) Return ¶
func (_c *MockDeviceHelperClient_Teardown_Call) Return(teardownResponse *TeardownResponse, err error) *MockDeviceHelperClient_Teardown_Call
func (*MockDeviceHelperClient_Teardown_Call) Run ¶
func (_c *MockDeviceHelperClient_Teardown_Call) Run(run func(ctx context.Context, in *TeardownRequest, opts ...grpc.CallOption)) *MockDeviceHelperClient_Teardown_Call
func (*MockDeviceHelperClient_Teardown_Call) RunAndReturn ¶
func (_c *MockDeviceHelperClient_Teardown_Call) RunAndReturn(run func(ctx context.Context, in *TeardownRequest, opts ...grpc.CallOption) (*TeardownResponse, error)) *MockDeviceHelperClient_Teardown_Call
type MockDeviceHelperClient_Upgrade_Call ¶
MockDeviceHelperClient_Upgrade_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Upgrade'
func (*MockDeviceHelperClient_Upgrade_Call) Return ¶
func (_c *MockDeviceHelperClient_Upgrade_Call) Return(upgradeResponse *UpgradeResponse, err error) *MockDeviceHelperClient_Upgrade_Call
func (*MockDeviceHelperClient_Upgrade_Call) Run ¶
func (_c *MockDeviceHelperClient_Upgrade_Call) Run(run func(ctx context.Context, in *UpgradeRequest, opts ...grpc.CallOption)) *MockDeviceHelperClient_Upgrade_Call
func (*MockDeviceHelperClient_Upgrade_Call) RunAndReturn ¶
func (_c *MockDeviceHelperClient_Upgrade_Call) RunAndReturn(run func(ctx context.Context, in *UpgradeRequest, opts ...grpc.CallOption) (*UpgradeResponse, error)) *MockDeviceHelperClient_Upgrade_Call
type ModifyGatewayRequest ¶
type ModifyGatewayRequest struct {
Password string `protobuf:"bytes,1,opt,name=password,proto3" json:"password,omitempty"` // authentication token
Gateway *Gateway `protobuf:"bytes,2,opt,name=gateway,proto3" json:"gateway,omitempty"`
Username string `protobuf:"bytes,3,opt,name=username,proto3" json:"username,omitempty"`
// contains filtered or unexported fields
}
func (*ModifyGatewayRequest) Descriptor
deprecated
func (*ModifyGatewayRequest) Descriptor() ([]byte, []int)
Deprecated: Use ModifyGatewayRequest.ProtoReflect.Descriptor instead.
func (*ModifyGatewayRequest) GetGateway ¶
func (x *ModifyGatewayRequest) GetGateway() *Gateway
func (*ModifyGatewayRequest) GetPassword ¶
func (x *ModifyGatewayRequest) GetPassword() string
func (*ModifyGatewayRequest) GetUsername ¶
func (x *ModifyGatewayRequest) GetUsername() string
func (*ModifyGatewayRequest) ProtoMessage ¶
func (*ModifyGatewayRequest) ProtoMessage()
func (*ModifyGatewayRequest) ProtoReflect ¶
func (x *ModifyGatewayRequest) ProtoReflect() protoreflect.Message
func (*ModifyGatewayRequest) Reset ¶
func (x *ModifyGatewayRequest) Reset()
func (*ModifyGatewayRequest) String ¶
func (x *ModifyGatewayRequest) String() string
type ModifyGatewayResponse ¶
type ModifyGatewayResponse struct {
Gateway *Gateway `protobuf:"bytes,1,opt,name=gateway,proto3" json:"gateway,omitempty"`
// contains filtered or unexported fields
}
func (*ModifyGatewayResponse) Descriptor
deprecated
func (*ModifyGatewayResponse) Descriptor() ([]byte, []int)
Deprecated: Use ModifyGatewayResponse.ProtoReflect.Descriptor instead.
func (*ModifyGatewayResponse) GetGateway ¶
func (x *ModifyGatewayResponse) GetGateway() *Gateway
func (*ModifyGatewayResponse) ProtoMessage ¶
func (*ModifyGatewayResponse) ProtoMessage()
func (*ModifyGatewayResponse) ProtoReflect ¶
func (x *ModifyGatewayResponse) ProtoReflect() protoreflect.Message
func (*ModifyGatewayResponse) Reset ¶
func (x *ModifyGatewayResponse) Reset()
func (*ModifyGatewayResponse) String ¶
func (x *ModifyGatewayResponse) String() string
type NewPrivilegedGatewayAccess ¶ added in v1.6.0
type NewPrivilegedGatewayAccess struct {
Gateway string `protobuf:"bytes,1,opt,name=gateway,proto3" json:"gateway,omitempty"`
Expires *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=expires,proto3" json:"expires,omitempty"`
Reason string `protobuf:"bytes,3,opt,name=reason,proto3" json:"reason,omitempty"`
// contains filtered or unexported fields
}
func (*NewPrivilegedGatewayAccess) Descriptor
deprecated
added in
v1.6.0
func (*NewPrivilegedGatewayAccess) Descriptor() ([]byte, []int)
Deprecated: Use NewPrivilegedGatewayAccess.ProtoReflect.Descriptor instead.
func (*NewPrivilegedGatewayAccess) GetExpires ¶ added in v1.6.0
func (x *NewPrivilegedGatewayAccess) GetExpires() *timestamppb.Timestamp
func (*NewPrivilegedGatewayAccess) GetGateway ¶ added in v1.6.0
func (x *NewPrivilegedGatewayAccess) GetGateway() string
func (*NewPrivilegedGatewayAccess) GetReason ¶ added in v1.6.0
func (x *NewPrivilegedGatewayAccess) GetReason() string
func (*NewPrivilegedGatewayAccess) ProtoMessage ¶ added in v1.6.0
func (*NewPrivilegedGatewayAccess) ProtoMessage()
func (*NewPrivilegedGatewayAccess) ProtoReflect ¶ added in v1.6.0
func (x *NewPrivilegedGatewayAccess) ProtoReflect() protoreflect.Message
func (*NewPrivilegedGatewayAccess) Reset ¶ added in v1.6.0
func (x *NewPrivilegedGatewayAccess) Reset()
func (*NewPrivilegedGatewayAccess) String ¶ added in v1.6.0
func (x *NewPrivilegedGatewayAccess) String() string
type PingRequest ¶
type PingRequest struct {
// contains filtered or unexported fields
}
func (*PingRequest) Descriptor
deprecated
func (*PingRequest) Descriptor() ([]byte, []int)
Deprecated: Use PingRequest.ProtoReflect.Descriptor instead.
func (*PingRequest) ProtoMessage ¶
func (*PingRequest) ProtoMessage()
func (*PingRequest) ProtoReflect ¶
func (x *PingRequest) ProtoReflect() protoreflect.Message
func (*PingRequest) Reset ¶
func (x *PingRequest) Reset()
func (*PingRequest) String ¶
func (x *PingRequest) String() string
type PingResponse ¶
type PingResponse struct {
// contains filtered or unexported fields
}
func (*PingResponse) Descriptor
deprecated
func (*PingResponse) Descriptor() ([]byte, []int)
Deprecated: Use PingResponse.ProtoReflect.Descriptor instead.
func (*PingResponse) ProtoMessage ¶
func (*PingResponse) ProtoMessage()
func (*PingResponse) ProtoReflect ¶
func (x *PingResponse) ProtoReflect() protoreflect.Message
func (*PingResponse) Reset ¶
func (x *PingResponse) Reset()
func (*PingResponse) String ¶
func (x *PingResponse) String() string
type RevokePrivilegedGatewayAccessRequest ¶ added in v1.6.0
type RevokePrivilegedGatewayAccessRequest struct {
SessionKey string `protobuf:"bytes,1,opt,name=sessionKey,proto3" json:"sessionKey,omitempty"`
Gateway string `protobuf:"bytes,2,opt,name=gateway,proto3" json:"gateway,omitempty"`
// contains filtered or unexported fields
}
func (*RevokePrivilegedGatewayAccessRequest) Descriptor
deprecated
added in
v1.6.0
func (*RevokePrivilegedGatewayAccessRequest) Descriptor() ([]byte, []int)
Deprecated: Use RevokePrivilegedGatewayAccessRequest.ProtoReflect.Descriptor instead.
func (*RevokePrivilegedGatewayAccessRequest) GetGateway ¶ added in v1.6.0
func (x *RevokePrivilegedGatewayAccessRequest) GetGateway() string
func (*RevokePrivilegedGatewayAccessRequest) GetSessionKey ¶ added in v1.6.0
func (x *RevokePrivilegedGatewayAccessRequest) GetSessionKey() string
func (*RevokePrivilegedGatewayAccessRequest) ProtoMessage ¶ added in v1.6.0
func (*RevokePrivilegedGatewayAccessRequest) ProtoMessage()
func (*RevokePrivilegedGatewayAccessRequest) ProtoReflect ¶ added in v1.6.0
func (x *RevokePrivilegedGatewayAccessRequest) ProtoReflect() protoreflect.Message
func (*RevokePrivilegedGatewayAccessRequest) Reset ¶ added in v1.6.0
func (x *RevokePrivilegedGatewayAccessRequest) Reset()
func (*RevokePrivilegedGatewayAccessRequest) String ¶ added in v1.6.0
func (x *RevokePrivilegedGatewayAccessRequest) String() string
type RevokePrivilegedGatewayAccessResponse ¶ added in v1.6.0
type RevokePrivilegedGatewayAccessResponse struct {
// contains filtered or unexported fields
}
func (*RevokePrivilegedGatewayAccessResponse) Descriptor
deprecated
added in
v1.6.0
func (*RevokePrivilegedGatewayAccessResponse) Descriptor() ([]byte, []int)
Deprecated: Use RevokePrivilegedGatewayAccessResponse.ProtoReflect.Descriptor instead.
func (*RevokePrivilegedGatewayAccessResponse) ProtoMessage ¶ added in v1.6.0
func (*RevokePrivilegedGatewayAccessResponse) ProtoMessage()
func (*RevokePrivilegedGatewayAccessResponse) ProtoReflect ¶ added in v1.6.0
func (x *RevokePrivilegedGatewayAccessResponse) ProtoReflect() protoreflect.Message
func (*RevokePrivilegedGatewayAccessResponse) Reset ¶ added in v1.6.0
func (x *RevokePrivilegedGatewayAccessResponse) Reset()
func (*RevokePrivilegedGatewayAccessResponse) String ¶ added in v1.6.0
func (x *RevokePrivilegedGatewayAccessResponse) String() string
type Session ¶
type Session struct {
Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
Expiry *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=expiry,proto3" json:"expiry,omitempty"`
Device *Device `protobuf:"bytes,3,opt,name=device,proto3" json:"device,omitempty"`
Groups []string `protobuf:"bytes,4,rep,name=groups,proto3" json:"groups,omitempty"`
ObjectID string `protobuf:"bytes,5,opt,name=objectID,proto3" json:"objectID,omitempty"`
// contains filtered or unexported fields
}
func (*Session) Descriptor
deprecated
func (*Session) GetExpiry ¶
func (x *Session) GetExpiry() *timestamppb.Timestamp
func (*Session) GetObjectID ¶
func (*Session) ProtoMessage ¶
func (*Session) ProtoMessage()
func (*Session) ProtoReflect ¶
func (x *Session) ProtoReflect() protoreflect.Message
type SetAcceptableUseAcceptedRequest ¶ added in v1.2.0
type SetAcceptableUseAcceptedRequest struct {
SessionKey string `protobuf:"bytes,1,opt,name=sessionKey,proto3" json:"sessionKey,omitempty"`
Accepted bool `protobuf:"varint,2,opt,name=accepted,proto3" json:"accepted,omitempty"`
// contains filtered or unexported fields
}
func (*SetAcceptableUseAcceptedRequest) Descriptor
deprecated
added in
v1.2.0
func (*SetAcceptableUseAcceptedRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetAcceptableUseAcceptedRequest.ProtoReflect.Descriptor instead.
func (*SetAcceptableUseAcceptedRequest) GetAccepted ¶ added in v1.2.0
func (x *SetAcceptableUseAcceptedRequest) GetAccepted() bool
func (*SetAcceptableUseAcceptedRequest) GetSessionKey ¶ added in v1.2.0
func (x *SetAcceptableUseAcceptedRequest) GetSessionKey() string
func (*SetAcceptableUseAcceptedRequest) ProtoMessage ¶ added in v1.2.0
func (*SetAcceptableUseAcceptedRequest) ProtoMessage()
func (*SetAcceptableUseAcceptedRequest) ProtoReflect ¶ added in v1.2.0
func (x *SetAcceptableUseAcceptedRequest) ProtoReflect() protoreflect.Message
func (*SetAcceptableUseAcceptedRequest) Reset ¶ added in v1.2.0
func (x *SetAcceptableUseAcceptedRequest) Reset()
func (*SetAcceptableUseAcceptedRequest) String ¶ added in v1.2.0
func (x *SetAcceptableUseAcceptedRequest) String() string
type SetAcceptableUseAcceptedResponse ¶ added in v1.2.0
type SetAcceptableUseAcceptedResponse struct {
// contains filtered or unexported fields
}
func (*SetAcceptableUseAcceptedResponse) Descriptor
deprecated
added in
v1.2.0
func (*SetAcceptableUseAcceptedResponse) Descriptor() ([]byte, []int)
Deprecated: Use SetAcceptableUseAcceptedResponse.ProtoReflect.Descriptor instead.
func (*SetAcceptableUseAcceptedResponse) ProtoMessage ¶ added in v1.2.0
func (*SetAcceptableUseAcceptedResponse) ProtoMessage()
func (*SetAcceptableUseAcceptedResponse) ProtoReflect ¶ added in v1.2.0
func (x *SetAcceptableUseAcceptedResponse) ProtoReflect() protoreflect.Message
func (*SetAcceptableUseAcceptedResponse) Reset ¶ added in v1.2.0
func (x *SetAcceptableUseAcceptedResponse) Reset()
func (*SetAcceptableUseAcceptedResponse) String ¶ added in v1.2.0
func (x *SetAcceptableUseAcceptedResponse) String() string
type SetActiveTenantRequest ¶
type SetActiveTenantRequest struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
func (*SetActiveTenantRequest) Descriptor
deprecated
func (*SetActiveTenantRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetActiveTenantRequest.ProtoReflect.Descriptor instead.
func (*SetActiveTenantRequest) GetName ¶
func (x *SetActiveTenantRequest) GetName() string
func (*SetActiveTenantRequest) ProtoMessage ¶
func (*SetActiveTenantRequest) ProtoMessage()
func (*SetActiveTenantRequest) ProtoReflect ¶
func (x *SetActiveTenantRequest) ProtoReflect() protoreflect.Message
func (*SetActiveTenantRequest) Reset ¶
func (x *SetActiveTenantRequest) Reset()
func (*SetActiveTenantRequest) String ¶
func (x *SetActiveTenantRequest) String() string
type SetActiveTenantResponse ¶
type SetActiveTenantResponse struct {
// contains filtered or unexported fields
}
func (*SetActiveTenantResponse) Descriptor
deprecated
func (*SetActiveTenantResponse) Descriptor() ([]byte, []int)
Deprecated: Use SetActiveTenantResponse.ProtoReflect.Descriptor instead.
func (*SetActiveTenantResponse) ProtoMessage ¶
func (*SetActiveTenantResponse) ProtoMessage()
func (*SetActiveTenantResponse) ProtoReflect ¶
func (x *SetActiveTenantResponse) ProtoReflect() protoreflect.Message
func (*SetActiveTenantResponse) Reset ¶
func (x *SetActiveTenantResponse) Reset()
func (*SetActiveTenantResponse) String ¶
func (x *SetActiveTenantResponse) String() string
type SetAgentConfigurationRequest ¶
type SetAgentConfigurationRequest struct {
Config *AgentConfiguration `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"`
// contains filtered or unexported fields
}
func (*SetAgentConfigurationRequest) Descriptor
deprecated
func (*SetAgentConfigurationRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetAgentConfigurationRequest.ProtoReflect.Descriptor instead.
func (*SetAgentConfigurationRequest) GetConfig ¶
func (x *SetAgentConfigurationRequest) GetConfig() *AgentConfiguration
func (*SetAgentConfigurationRequest) ProtoMessage ¶
func (*SetAgentConfigurationRequest) ProtoMessage()
func (*SetAgentConfigurationRequest) ProtoReflect ¶
func (x *SetAgentConfigurationRequest) ProtoReflect() protoreflect.Message
func (*SetAgentConfigurationRequest) Reset ¶
func (x *SetAgentConfigurationRequest) Reset()
func (*SetAgentConfigurationRequest) String ¶
func (x *SetAgentConfigurationRequest) String() string
type SetAgentConfigurationResponse ¶
type SetAgentConfigurationResponse struct {
// contains filtered or unexported fields
}
func (*SetAgentConfigurationResponse) Descriptor
deprecated
func (*SetAgentConfigurationResponse) Descriptor() ([]byte, []int)
Deprecated: Use SetAgentConfigurationResponse.ProtoReflect.Descriptor instead.
func (*SetAgentConfigurationResponse) ProtoMessage ¶
func (*SetAgentConfigurationResponse) ProtoMessage()
func (*SetAgentConfigurationResponse) ProtoReflect ¶
func (x *SetAgentConfigurationResponse) ProtoReflect() protoreflect.Message
func (*SetAgentConfigurationResponse) Reset ¶
func (x *SetAgentConfigurationResponse) Reset()
func (*SetAgentConfigurationResponse) String ¶
func (x *SetAgentConfigurationResponse) String() string
type Severity ¶
type Severity int32
func (Severity) Descriptor ¶
func (Severity) Descriptor() protoreflect.EnumDescriptor
func (Severity) EnumDescriptor
deprecated
func (Severity) Number ¶
func (x Severity) Number() protoreflect.EnumNumber
func (Severity) Type ¶
func (Severity) Type() protoreflect.EnumType
type ShowAcceptableUseRequest ¶ added in v1.2.0
type ShowAcceptableUseRequest struct {
// contains filtered or unexported fields
}
func (*ShowAcceptableUseRequest) Descriptor
deprecated
added in
v1.2.0
func (*ShowAcceptableUseRequest) Descriptor() ([]byte, []int)
Deprecated: Use ShowAcceptableUseRequest.ProtoReflect.Descriptor instead.
func (*ShowAcceptableUseRequest) ProtoMessage ¶ added in v1.2.0
func (*ShowAcceptableUseRequest) ProtoMessage()
func (*ShowAcceptableUseRequest) ProtoReflect ¶ added in v1.2.0
func (x *ShowAcceptableUseRequest) ProtoReflect() protoreflect.Message
func (*ShowAcceptableUseRequest) Reset ¶ added in v1.2.0
func (x *ShowAcceptableUseRequest) Reset()
func (*ShowAcceptableUseRequest) String ¶ added in v1.2.0
func (x *ShowAcceptableUseRequest) String() string
type ShowAcceptableUseResponse ¶ added in v1.2.0
type ShowAcceptableUseResponse struct {
// contains filtered or unexported fields
}
func (*ShowAcceptableUseResponse) Descriptor
deprecated
added in
v1.2.0
func (*ShowAcceptableUseResponse) Descriptor() ([]byte, []int)
Deprecated: Use ShowAcceptableUseResponse.ProtoReflect.Descriptor instead.
func (*ShowAcceptableUseResponse) ProtoMessage ¶ added in v1.2.0
func (*ShowAcceptableUseResponse) ProtoMessage()
func (*ShowAcceptableUseResponse) ProtoReflect ¶ added in v1.2.0
func (x *ShowAcceptableUseResponse) ProtoReflect() protoreflect.Message
func (*ShowAcceptableUseResponse) Reset ¶ added in v1.2.0
func (x *ShowAcceptableUseResponse) Reset()
func (*ShowAcceptableUseResponse) String ¶ added in v1.2.0
func (x *ShowAcceptableUseResponse) String() string
type ShowJitaRequest ¶ added in v1.6.0
type ShowJitaRequest struct {
Gateway string `protobuf:"bytes,1,opt,name=Gateway,proto3" json:"Gateway,omitempty"`
// contains filtered or unexported fields
}
func (*ShowJitaRequest) Descriptor
deprecated
added in
v1.6.0
func (*ShowJitaRequest) Descriptor() ([]byte, []int)
Deprecated: Use ShowJitaRequest.ProtoReflect.Descriptor instead.
func (*ShowJitaRequest) GetGateway ¶ added in v1.6.0
func (x *ShowJitaRequest) GetGateway() string
func (*ShowJitaRequest) ProtoMessage ¶ added in v1.6.0
func (*ShowJitaRequest) ProtoMessage()
func (*ShowJitaRequest) ProtoReflect ¶ added in v1.6.0
func (x *ShowJitaRequest) ProtoReflect() protoreflect.Message
func (*ShowJitaRequest) Reset ¶ added in v1.6.0
func (x *ShowJitaRequest) Reset()
func (*ShowJitaRequest) String ¶ added in v1.6.0
func (x *ShowJitaRequest) String() string
type ShowJitaResponse ¶ added in v1.6.0
type ShowJitaResponse struct {
// contains filtered or unexported fields
}
func (*ShowJitaResponse) Descriptor
deprecated
added in
v1.6.0
func (*ShowJitaResponse) Descriptor() ([]byte, []int)
Deprecated: Use ShowJitaResponse.ProtoReflect.Descriptor instead.
func (*ShowJitaResponse) ProtoMessage ¶ added in v1.6.0
func (*ShowJitaResponse) ProtoMessage()
func (*ShowJitaResponse) ProtoReflect ¶ added in v1.6.0
func (x *ShowJitaResponse) ProtoReflect() protoreflect.Message
func (*ShowJitaResponse) Reset ¶ added in v1.6.0
func (x *ShowJitaResponse) Reset()
func (*ShowJitaResponse) String ¶ added in v1.6.0
func (x *ShowJitaResponse) String() string
type TeardownRequest ¶
type TeardownRequest struct {
// contains filtered or unexported fields
}
func (*TeardownRequest) Descriptor
deprecated
func (*TeardownRequest) Descriptor() ([]byte, []int)
Deprecated: Use TeardownRequest.ProtoReflect.Descriptor instead.
func (*TeardownRequest) ProtoMessage ¶
func (*TeardownRequest) ProtoMessage()
func (*TeardownRequest) ProtoReflect ¶
func (x *TeardownRequest) ProtoReflect() protoreflect.Message
func (*TeardownRequest) Reset ¶
func (x *TeardownRequest) Reset()
func (*TeardownRequest) String ¶
func (x *TeardownRequest) String() string
type TeardownResponse ¶
type TeardownResponse struct {
// contains filtered or unexported fields
}
func (*TeardownResponse) Descriptor
deprecated
func (*TeardownResponse) Descriptor() ([]byte, []int)
Deprecated: Use TeardownResponse.ProtoReflect.Descriptor instead.
func (*TeardownResponse) ProtoMessage ¶
func (*TeardownResponse) ProtoMessage()
func (*TeardownResponse) ProtoReflect ¶
func (x *TeardownResponse) ProtoReflect() protoreflect.Message
func (*TeardownResponse) Reset ¶
func (x *TeardownResponse) Reset()
func (*TeardownResponse) String ¶
func (x *TeardownResponse) String() string
type Tenant ¶
type Tenant struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
AuthProvider AuthProvider `protobuf:"varint,2,opt,name=authProvider,proto3,enum=naisdevice.AuthProvider" json:"authProvider,omitempty"`
Domain string `protobuf:"bytes,4,opt,name=domain,proto3" json:"domain,omitempty"`
Active bool `protobuf:"varint,5,opt,name=active,proto3" json:"active,omitempty"`
Session *Session `protobuf:"bytes,6,opt,name=session,proto3" json:"session,omitempty"`
// contains filtered or unexported fields
}
func (*Tenant) Descriptor
deprecated
func (*Tenant) GetAuthProvider ¶
func (x *Tenant) GetAuthProvider() AuthProvider
func (*Tenant) GetSession ¶
func (*Tenant) ProtoMessage ¶
func (*Tenant) ProtoMessage()
func (*Tenant) ProtoReflect ¶
func (x *Tenant) ProtoReflect() protoreflect.Message
type UnimplementedAPIServerServer ¶
type UnimplementedAPIServerServer struct{}
UnimplementedAPIServerServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedAPIServerServer) EnrollGateway ¶
func (UnimplementedAPIServerServer) EnrollGateway(context.Context, *ModifyGatewayRequest) (*ModifyGatewayResponse, error)
func (UnimplementedAPIServerServer) GetAcceptableUseAcceptedAt ¶ added in v1.2.0
func (UnimplementedAPIServerServer) GetAcceptableUseAcceptedAt(context.Context, *GetAcceptableUseAcceptedAtRequest) (*GetAcceptableUseAcceptedAtResponse, error)
func (UnimplementedAPIServerServer) GetDeviceConfiguration ¶
func (UnimplementedAPIServerServer) GetDeviceConfiguration(*GetDeviceConfigurationRequest, grpc.ServerStreamingServer[GetDeviceConfigurationResponse]) error
func (UnimplementedAPIServerServer) GetGateway ¶
func (UnimplementedAPIServerServer) GetGateway(context.Context, *ModifyGatewayRequest) (*Gateway, error)
func (UnimplementedAPIServerServer) GetGatewayConfiguration ¶
func (UnimplementedAPIServerServer) GetGatewayConfiguration(*GetGatewayConfigurationRequest, grpc.ServerStreamingServer[GetGatewayConfigurationResponse]) error
func (UnimplementedAPIServerServer) GetGatewayJitaGrantsForUser ¶ added in v1.6.0
func (UnimplementedAPIServerServer) GetGatewayJitaGrantsForUser(context.Context, *GetGatewayJitaGrantsForUserRequest) (*GetGatewayJitaGrantsForUserResponse, error)
func (UnimplementedAPIServerServer) GetKolideCache ¶
func (UnimplementedAPIServerServer) GetKolideCache(context.Context, *GetKolideCacheRequest) (*GetKolideCacheResponse, error)
func (UnimplementedAPIServerServer) GetSessions ¶
func (UnimplementedAPIServerServer) GetSessions(context.Context, *GetSessionsRequest) (*GetSessionsResponse, error)
func (UnimplementedAPIServerServer) GrantPrivilegedGatewayAccess ¶ added in v1.6.0
func (UnimplementedAPIServerServer) GrantPrivilegedGatewayAccess(context.Context, *GrantPrivilegedGatewayAccessRequest) (*GrantPrivilegedGatewayAccessResponse, error)
func (UnimplementedAPIServerServer) ListGateways ¶
func (UnimplementedAPIServerServer) ListGateways(*ListGatewayRequest, grpc.ServerStreamingServer[Gateway]) error
func (UnimplementedAPIServerServer) Login ¶
func (UnimplementedAPIServerServer) Login(context.Context, *APIServerLoginRequest) (*APIServerLoginResponse, error)
func (UnimplementedAPIServerServer) RevokePrivilegedGatewayAccess ¶ added in v1.6.0
func (UnimplementedAPIServerServer) RevokePrivilegedGatewayAccess(context.Context, *RevokePrivilegedGatewayAccessRequest) (*RevokePrivilegedGatewayAccessResponse, error)
func (UnimplementedAPIServerServer) SetAcceptableUseAccepted ¶ added in v1.2.0
func (UnimplementedAPIServerServer) SetAcceptableUseAccepted(context.Context, *SetAcceptableUseAcceptedRequest) (*SetAcceptableUseAcceptedResponse, error)
func (UnimplementedAPIServerServer) UpdateGateway ¶
func (UnimplementedAPIServerServer) UpdateGateway(context.Context, *ModifyGatewayRequest) (*ModifyGatewayResponse, error)
func (UnimplementedAPIServerServer) UserHasAccessToPrivilegedGateway ¶ added in v1.6.0
func (UnimplementedAPIServerServer) UserHasAccessToPrivilegedGateway(context.Context, *UserHasAccessToPrivilegedGatewayRequest) (*UserHasAccessToPrivilegedGatewayResponse, error)
type UnimplementedDeviceAgentServer ¶
type UnimplementedDeviceAgentServer struct{}
UnimplementedDeviceAgentServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedDeviceAgentServer) ConfigureJITA ¶
func (UnimplementedDeviceAgentServer) ConfigureJITA(context.Context, *ConfigureJITARequest) (*ConfigureJITAResponse, error)
func (UnimplementedDeviceAgentServer) GetAgentConfiguration ¶
func (UnimplementedDeviceAgentServer) GetAgentConfiguration(context.Context, *GetAgentConfigurationRequest) (*GetAgentConfigurationResponse, error)
func (UnimplementedDeviceAgentServer) Login ¶
func (UnimplementedDeviceAgentServer) Login(context.Context, *LoginRequest) (*LoginResponse, error)
func (UnimplementedDeviceAgentServer) Logout ¶
func (UnimplementedDeviceAgentServer) Logout(context.Context, *LogoutRequest) (*LogoutResponse, error)
func (UnimplementedDeviceAgentServer) SetActiveTenant ¶
func (UnimplementedDeviceAgentServer) SetActiveTenant(context.Context, *SetActiveTenantRequest) (*SetActiveTenantResponse, error)
func (UnimplementedDeviceAgentServer) SetAgentConfiguration ¶
func (UnimplementedDeviceAgentServer) SetAgentConfiguration(context.Context, *SetAgentConfigurationRequest) (*SetAgentConfigurationResponse, error)
func (UnimplementedDeviceAgentServer) ShowAcceptableUse ¶ added in v1.2.0
func (UnimplementedDeviceAgentServer) ShowAcceptableUse(context.Context, *ShowAcceptableUseRequest) (*ShowAcceptableUseResponse, error)
func (UnimplementedDeviceAgentServer) ShowJita ¶ added in v1.6.0
func (UnimplementedDeviceAgentServer) ShowJita(context.Context, *ShowJitaRequest) (*ShowJitaResponse, error)
func (UnimplementedDeviceAgentServer) Status ¶
func (UnimplementedDeviceAgentServer) Status(*AgentStatusRequest, grpc.ServerStreamingServer[AgentStatus]) error
type UnimplementedDeviceHelperServer ¶
type UnimplementedDeviceHelperServer struct{}
UnimplementedDeviceHelperServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedDeviceHelperServer) Configure ¶
func (UnimplementedDeviceHelperServer) Configure(context.Context, *Configuration) (*ConfigureResponse, error)
func (UnimplementedDeviceHelperServer) GetSerial ¶
func (UnimplementedDeviceHelperServer) GetSerial(context.Context, *GetSerialRequest) (*GetSerialResponse, error)
func (UnimplementedDeviceHelperServer) Ping ¶
func (UnimplementedDeviceHelperServer) Ping(context.Context, *PingRequest) (*PingResponse, error)
func (UnimplementedDeviceHelperServer) Teardown ¶
func (UnimplementedDeviceHelperServer) Teardown(context.Context, *TeardownRequest) (*TeardownResponse, error)
func (UnimplementedDeviceHelperServer) Upgrade ¶
func (UnimplementedDeviceHelperServer) Upgrade(context.Context, *UpgradeRequest) (*UpgradeResponse, error)
type UnsafeAPIServerServer ¶
type UnsafeAPIServerServer interface {
// contains filtered or unexported methods
}
UnsafeAPIServerServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to APIServerServer will result in compilation errors.
type UnsafeDeviceAgentServer ¶
type UnsafeDeviceAgentServer interface {
// contains filtered or unexported methods
}
UnsafeDeviceAgentServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to DeviceAgentServer will result in compilation errors.
type UnsafeDeviceHelperServer ¶
type UnsafeDeviceHelperServer interface {
// contains filtered or unexported methods
}
UnsafeDeviceHelperServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to DeviceHelperServer will result in compilation errors.
type UpgradeRequest ¶
type UpgradeRequest struct {
// contains filtered or unexported fields
}
func (*UpgradeRequest) Descriptor
deprecated
func (*UpgradeRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpgradeRequest.ProtoReflect.Descriptor instead.
func (*UpgradeRequest) ProtoMessage ¶
func (*UpgradeRequest) ProtoMessage()
func (*UpgradeRequest) ProtoReflect ¶
func (x *UpgradeRequest) ProtoReflect() protoreflect.Message
func (*UpgradeRequest) Reset ¶
func (x *UpgradeRequest) Reset()
func (*UpgradeRequest) String ¶
func (x *UpgradeRequest) String() string
type UpgradeResponse ¶
type UpgradeResponse struct {
// contains filtered or unexported fields
}
func (*UpgradeResponse) Descriptor
deprecated
func (*UpgradeResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpgradeResponse.ProtoReflect.Descriptor instead.
func (*UpgradeResponse) ProtoMessage ¶
func (*UpgradeResponse) ProtoMessage()
func (*UpgradeResponse) ProtoReflect ¶
func (x *UpgradeResponse) ProtoReflect() protoreflect.Message
func (*UpgradeResponse) Reset ¶
func (x *UpgradeResponse) Reset()
func (*UpgradeResponse) String ¶
func (x *UpgradeResponse) String() string
type UserHasAccessToPrivilegedGatewayRequest ¶ added in v1.6.0
type UserHasAccessToPrivilegedGatewayRequest struct {
SessionKey string `protobuf:"bytes,1,opt,name=sessionKey,proto3" json:"sessionKey,omitempty"`
Gateway string `protobuf:"bytes,2,opt,name=gateway,proto3" json:"gateway,omitempty"`
// contains filtered or unexported fields
}
func (*UserHasAccessToPrivilegedGatewayRequest) Descriptor
deprecated
added in
v1.6.0
func (*UserHasAccessToPrivilegedGatewayRequest) Descriptor() ([]byte, []int)
Deprecated: Use UserHasAccessToPrivilegedGatewayRequest.ProtoReflect.Descriptor instead.
func (*UserHasAccessToPrivilegedGatewayRequest) GetGateway ¶ added in v1.6.0
func (x *UserHasAccessToPrivilegedGatewayRequest) GetGateway() string
func (*UserHasAccessToPrivilegedGatewayRequest) GetSessionKey ¶ added in v1.6.0
func (x *UserHasAccessToPrivilegedGatewayRequest) GetSessionKey() string
func (*UserHasAccessToPrivilegedGatewayRequest) ProtoMessage ¶ added in v1.6.0
func (*UserHasAccessToPrivilegedGatewayRequest) ProtoMessage()
func (*UserHasAccessToPrivilegedGatewayRequest) ProtoReflect ¶ added in v1.6.0
func (x *UserHasAccessToPrivilegedGatewayRequest) ProtoReflect() protoreflect.Message
func (*UserHasAccessToPrivilegedGatewayRequest) Reset ¶ added in v1.6.0
func (x *UserHasAccessToPrivilegedGatewayRequest) Reset()
func (*UserHasAccessToPrivilegedGatewayRequest) String ¶ added in v1.6.0
func (x *UserHasAccessToPrivilegedGatewayRequest) String() string
type UserHasAccessToPrivilegedGatewayResponse ¶ added in v1.6.0
type UserHasAccessToPrivilegedGatewayResponse struct {
HasAccess bool `protobuf:"varint,1,opt,name=hasAccess,proto3" json:"hasAccess,omitempty"`
// contains filtered or unexported fields
}
func (*UserHasAccessToPrivilegedGatewayResponse) Descriptor
deprecated
added in
v1.6.0
func (*UserHasAccessToPrivilegedGatewayResponse) Descriptor() ([]byte, []int)
Deprecated: Use UserHasAccessToPrivilegedGatewayResponse.ProtoReflect.Descriptor instead.
func (*UserHasAccessToPrivilegedGatewayResponse) GetHasAccess ¶ added in v1.6.0
func (x *UserHasAccessToPrivilegedGatewayResponse) GetHasAccess() bool
func (*UserHasAccessToPrivilegedGatewayResponse) ProtoMessage ¶ added in v1.6.0
func (*UserHasAccessToPrivilegedGatewayResponse) ProtoMessage()
func (*UserHasAccessToPrivilegedGatewayResponse) ProtoReflect ¶ added in v1.6.0
func (x *UserHasAccessToPrivilegedGatewayResponse) ProtoReflect() protoreflect.Message
func (*UserHasAccessToPrivilegedGatewayResponse) Reset ¶ added in v1.6.0
func (x *UserHasAccessToPrivilegedGatewayResponse) Reset()
func (*UserHasAccessToPrivilegedGatewayResponse) String ¶ added in v1.6.0
func (x *UserHasAccessToPrivilegedGatewayResponse) String() string
Source Files
¶
- connection_notifier.go
- connectionstate.go
- device_issue.go
- devices.go
- gateways.go
- mock_api_server_client.go
- mock_api_server_get_device_configuration_client.go
- mock_api_server_get_gateway_configuration_client.go
- mock_device_helper_client.go
- mock_helper_client.go
- protobuf-api.pb.go
- protobuf-api_grpc.pb.go
- session.go