pb

package
v0.11.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 8, 2024 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Overview

************************************************************************ Copyright (C) 2022 plgd.dev, s.r.o.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. ************************************************************************

Package pb is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
const (
	ClientApplication_GetDevices_FullMethodName             = "/service.pb.ClientApplication/GetDevices"
	ClientApplication_GetDevice_FullMethodName              = "/service.pb.ClientApplication/GetDevice"
	ClientApplication_GetDeviceResourceLinks_FullMethodName = "/service.pb.ClientApplication/GetDeviceResourceLinks"
	ClientApplication_GetResource_FullMethodName            = "/service.pb.ClientApplication/GetResource"
	ClientApplication_UpdateResource_FullMethodName         = "/service.pb.ClientApplication/UpdateResource"
	ClientApplication_CreateResource_FullMethodName         = "/service.pb.ClientApplication/CreateResource"
	ClientApplication_DeleteResource_FullMethodName         = "/service.pb.ClientApplication/DeleteResource"
	ClientApplication_OwnDevice_FullMethodName              = "/service.pb.ClientApplication/OwnDevice"
	ClientApplication_FinishOwnDevice_FullMethodName        = "/service.pb.ClientApplication/FinishOwnDevice"
	ClientApplication_DisownDevice_FullMethodName           = "/service.pb.ClientApplication/DisownDevice"
	ClientApplication_ClearCache_FullMethodName             = "/service.pb.ClientApplication/ClearCache"
	ClientApplication_GetConfiguration_FullMethodName       = "/service.pb.ClientApplication/GetConfiguration"
	ClientApplication_GetJSONWebKeys_FullMethodName         = "/service.pb.ClientApplication/GetJSONWebKeys"
	ClientApplication_GetIdentityCertificate_FullMethodName = "/service.pb.ClientApplication/GetIdentityCertificate"
	ClientApplication_Initialize_FullMethodName             = "/service.pb.ClientApplication/Initialize"
	ClientApplication_FinishInitialize_FullMethodName       = "/service.pb.ClientApplication/FinishInitialize"
	ClientApplication_Reset_FullMethodName                  = "/service.pb.ClientApplication/Reset"
	ClientApplication_OnboardDevice_FullMethodName          = "/service.pb.ClientApplication/OnboardDevice"
	ClientApplication_OffboardDevice_FullMethodName         = "/service.pb.ClientApplication/OffboardDevice"
)

Variables

View Source
var (
	RemoteProvisioning_Mode_name = map[int32]string{
		0: "MODE_NONE",
		1: "USER_AGENT",
	}
	RemoteProvisioning_Mode_value = map[string]int32{
		"MODE_NONE":  0,
		"USER_AGENT": 1,
	}
)

Enum value maps for RemoteProvisioning_Mode.

View Source
var (
	GetConfigurationResponse_DeviceAuthenticationMode_name = map[int32]string{
		0: "PRE_SHARED_KEY",
		1: "X509",
		2: "UNINITIALIZED",
	}
	GetConfigurationResponse_DeviceAuthenticationMode_value = map[string]int32{
		"PRE_SHARED_KEY": 0,
		"X509":           1,
		"UNINITIALIZED":  2,
	}
)

Enum value maps for GetConfigurationResponse_DeviceAuthenticationMode.

View Source
var (
	GetDevicesRequest_OwnershipStatusFilter_name = map[int32]string{
		0: "UNOWNED",
		1: "OWNED",
	}
	GetDevicesRequest_OwnershipStatusFilter_value = map[string]int32{
		"UNOWNED": 0,
		"OWNED":   1,
	}
)

Enum value maps for GetDevicesRequest_OwnershipStatusFilter.

View Source
var (
	GetDevicesRequest_UseMulticast_name = map[int32]string{
		0: "IPV4",
		1: "IPV6",
	}
	GetDevicesRequest_UseMulticast_value = map[string]int32{
		"IPV4": 0,
		"IPV6": 1,
	}
)

Enum value maps for GetDevicesRequest_UseMulticast.

View Source
var ClientApplication_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "service.pb.ClientApplication",
	HandlerType: (*ClientApplicationServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetDevice",
			Handler:    _ClientApplication_GetDevice_Handler,
		},
		{
			MethodName: "GetDeviceResourceLinks",
			Handler:    _ClientApplication_GetDeviceResourceLinks_Handler,
		},
		{
			MethodName: "GetResource",
			Handler:    _ClientApplication_GetResource_Handler,
		},
		{
			MethodName: "UpdateResource",
			Handler:    _ClientApplication_UpdateResource_Handler,
		},
		{
			MethodName: "CreateResource",
			Handler:    _ClientApplication_CreateResource_Handler,
		},
		{
			MethodName: "DeleteResource",
			Handler:    _ClientApplication_DeleteResource_Handler,
		},
		{
			MethodName: "OwnDevice",
			Handler:    _ClientApplication_OwnDevice_Handler,
		},
		{
			MethodName: "FinishOwnDevice",
			Handler:    _ClientApplication_FinishOwnDevice_Handler,
		},
		{
			MethodName: "DisownDevice",
			Handler:    _ClientApplication_DisownDevice_Handler,
		},
		{
			MethodName: "ClearCache",
			Handler:    _ClientApplication_ClearCache_Handler,
		},
		{
			MethodName: "GetConfiguration",
			Handler:    _ClientApplication_GetConfiguration_Handler,
		},
		{
			MethodName: "GetJSONWebKeys",
			Handler:    _ClientApplication_GetJSONWebKeys_Handler,
		},
		{
			MethodName: "GetIdentityCertificate",
			Handler:    _ClientApplication_GetIdentityCertificate_Handler,
		},
		{
			MethodName: "Initialize",
			Handler:    _ClientApplication_Initialize_Handler,
		},
		{
			MethodName: "FinishInitialize",
			Handler:    _ClientApplication_FinishInitialize_Handler,
		},
		{
			MethodName: "Reset",
			Handler:    _ClientApplication_Reset_Handler,
		},
		{
			MethodName: "OnboardDevice",
			Handler:    _ClientApplication_OnboardDevice_Handler,
		},
		{
			MethodName: "OffboardDevice",
			Handler:    _ClientApplication_OffboardDevice_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "GetDevices",
			Handler:       _ClientApplication_GetDevices_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "github.com/plgd-dev/client-application/pb/service.proto",
}

ClientApplication_ServiceDesc is the grpc.ServiceDesc for ClientApplication service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var File_github_com_plgd_dev_client_application_pb_clear_cache_proto protoreflect.FileDescriptor
View Source
var File_github_com_plgd_dev_client_application_pb_create_resource_proto protoreflect.FileDescriptor
View Source
var File_github_com_plgd_dev_client_application_pb_delete_resource_proto protoreflect.FileDescriptor
View Source
var File_github_com_plgd_dev_client_application_pb_disown_device_proto protoreflect.FileDescriptor
View Source
var File_github_com_plgd_dev_client_application_pb_get_configuration_proto protoreflect.FileDescriptor
View Source
var File_github_com_plgd_dev_client_application_pb_get_device_proto protoreflect.FileDescriptor
View Source
var File_github_com_plgd_dev_client_application_pb_get_device_resource_links_proto protoreflect.FileDescriptor
View Source
var File_github_com_plgd_dev_client_application_pb_get_devices_proto protoreflect.FileDescriptor
View Source
var File_github_com_plgd_dev_client_application_pb_get_identity_certificate_proto protoreflect.FileDescriptor
View Source
var File_github_com_plgd_dev_client_application_pb_get_json_web_keys_proto protoreflect.FileDescriptor
View Source
var File_github_com_plgd_dev_client_application_pb_get_resource_proto protoreflect.FileDescriptor
View Source
var File_github_com_plgd_dev_client_application_pb_initialize_proto protoreflect.FileDescriptor
View Source
var File_github_com_plgd_dev_client_application_pb_offboard_device_proto protoreflect.FileDescriptor
View Source
var File_github_com_plgd_dev_client_application_pb_onboard_device_proto protoreflect.FileDescriptor
View Source
var File_github_com_plgd_dev_client_application_pb_own_device_proto protoreflect.FileDescriptor
View Source
var File_github_com_plgd_dev_client_application_pb_reset_proto protoreflect.FileDescriptor
View Source
var File_github_com_plgd_dev_client_application_pb_update_resource_proto protoreflect.FileDescriptor

Functions

func RegisterClientApplicationHandler

func RegisterClientApplicationHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterClientApplicationHandler registers the http handlers for service ClientApplication to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterClientApplicationHandlerClient

func RegisterClientApplicationHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ClientApplicationClient) error

RegisterClientApplicationHandlerClient registers the http handlers for service ClientApplication to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "ClientApplicationClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "ClientApplicationClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "ClientApplicationClient" to call the correct interceptors.

func RegisterClientApplicationHandlerFromEndpoint

func RegisterClientApplicationHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterClientApplicationHandlerFromEndpoint is same as RegisterClientApplicationHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterClientApplicationHandlerServer

func RegisterClientApplicationHandlerServer(ctx context.Context, mux *runtime.ServeMux, server ClientApplicationServer) error

RegisterClientApplicationHandlerServer registers the http handlers for service ClientApplication to "mux". UnaryRPC :call ClientApplicationServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterClientApplicationHandlerFromEndpoint instead.

func RegisterClientApplicationServer

func RegisterClientApplicationServer(s grpc.ServiceRegistrar, srv ClientApplicationServer)

func ValidateWebOAuthClient added in v0.4.0

func ValidateWebOAuthClient(c *pb.WebOAuthClient) error

Types

type BuildInfo added in v0.7.0

type BuildInfo struct {

	// version of the service
	Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
	// build date of the service
	BuildDate string `protobuf:"bytes,2,opt,name=build_date,json=buildDate,proto3" json:"build_date,omitempty"`
	// commit hash of the service
	CommitHash string `protobuf:"bytes,3,opt,name=commit_hash,json=commitHash,proto3" json:"commit_hash,omitempty"`
	// commit date of the service
	CommitDate string `protobuf:"bytes,4,opt,name=commit_date,json=commitDate,proto3" json:"commit_date,omitempty"`
	// release url of the service
	ReleaseUrl string `protobuf:"bytes,5,opt,name=release_url,json=releaseUrl,proto3" json:"release_url,omitempty"`
	// contains filtered or unexported fields
}

func (*BuildInfo) Clone added in v0.7.0

func (c *BuildInfo) Clone() *BuildInfo

func (*BuildInfo) Descriptor deprecated added in v0.7.0

func (*BuildInfo) Descriptor() ([]byte, []int)

Deprecated: Use BuildInfo.ProtoReflect.Descriptor instead.

func (*BuildInfo) GetBuildDate added in v0.7.0

func (x *BuildInfo) GetBuildDate() string

func (*BuildInfo) GetCommitDate added in v0.7.0

func (x *BuildInfo) GetCommitDate() string

func (*BuildInfo) GetCommitHash added in v0.7.0

func (x *BuildInfo) GetCommitHash() string

func (*BuildInfo) GetReleaseUrl added in v0.7.0

func (x *BuildInfo) GetReleaseUrl() string

func (*BuildInfo) GetVersion added in v0.7.0

func (x *BuildInfo) GetVersion() string

func (*BuildInfo) ProtoMessage added in v0.7.0

func (*BuildInfo) ProtoMessage()

func (*BuildInfo) ProtoReflect added in v0.7.0

func (x *BuildInfo) ProtoReflect() protoreflect.Message

func (*BuildInfo) Reset added in v0.7.0

func (x *BuildInfo) Reset()

func (*BuildInfo) String added in v0.7.0

func (x *BuildInfo) String() string

type ClearCacheRequest

type ClearCacheRequest struct {
	// contains filtered or unexported fields
}

func (*ClearCacheRequest) Descriptor deprecated

func (*ClearCacheRequest) Descriptor() ([]byte, []int)

Deprecated: Use ClearCacheRequest.ProtoReflect.Descriptor instead.

func (*ClearCacheRequest) ProtoMessage

func (*ClearCacheRequest) ProtoMessage()

func (*ClearCacheRequest) ProtoReflect

func (x *ClearCacheRequest) ProtoReflect() protoreflect.Message

func (*ClearCacheRequest) Reset

func (x *ClearCacheRequest) Reset()

func (*ClearCacheRequest) String

func (x *ClearCacheRequest) String() string

type ClearCacheResponse

type ClearCacheResponse struct {
	// contains filtered or unexported fields
}

func (*ClearCacheResponse) Descriptor deprecated

func (*ClearCacheResponse) Descriptor() ([]byte, []int)

Deprecated: Use ClearCacheResponse.ProtoReflect.Descriptor instead.

func (*ClearCacheResponse) ProtoMessage

func (*ClearCacheResponse) ProtoMessage()

func (*ClearCacheResponse) ProtoReflect

func (x *ClearCacheResponse) ProtoReflect() protoreflect.Message

func (*ClearCacheResponse) Reset

func (x *ClearCacheResponse) Reset()

func (*ClearCacheResponse) String

func (x *ClearCacheResponse) String() string

type ClientApplicationClient

type ClientApplicationClient interface {
	GetDevices(ctx context.Context, in *GetDevicesRequest, opts ...grpc.CallOption) (ClientApplication_GetDevicesClient, error)
	GetDevice(ctx context.Context, in *GetDeviceRequest, opts ...grpc.CallOption) (*pb.Device, error)
	GetDeviceResourceLinks(ctx context.Context, in *GetDeviceResourceLinksRequest, opts ...grpc.CallOption) (*events.ResourceLinksPublished, error)
	GetResource(ctx context.Context, in *GetResourceRequest, opts ...grpc.CallOption) (*pb.Resource, error)
	UpdateResource(ctx context.Context, in *UpdateResourceRequest, opts ...grpc.CallOption) (*pb.UpdateResourceResponse, error)
	CreateResource(ctx context.Context, in *CreateResourceRequest, opts ...grpc.CallOption) (*pb.CreateResourceResponse, error)
	DeleteResource(ctx context.Context, in *DeleteResourceRequest, opts ...grpc.CallOption) (*pb.DeleteResourceResponse, error)
	OwnDevice(ctx context.Context, in *OwnDeviceRequest, opts ...grpc.CallOption) (*OwnDeviceResponse, error)
	FinishOwnDevice(ctx context.Context, in *FinishOwnDeviceRequest, opts ...grpc.CallOption) (*FinishOwnDeviceResponse, error)
	DisownDevice(ctx context.Context, in *DisownDeviceRequest, opts ...grpc.CallOption) (*DisownDeviceResponse, error)
	ClearCache(ctx context.Context, in *ClearCacheRequest, opts ...grpc.CallOption) (*ClearCacheResponse, error)
	GetConfiguration(ctx context.Context, in *GetConfigurationRequest, opts ...grpc.CallOption) (*GetConfigurationResponse, error)
	GetJSONWebKeys(ctx context.Context, in *GetJSONWebKeysRequest, opts ...grpc.CallOption) (*structpb.Struct, error)
	GetIdentityCertificate(ctx context.Context, in *GetIdentityCertificateRequest, opts ...grpc.CallOption) (*GetIdentityCertificateResponse, error)
	Initialize(ctx context.Context, in *InitializeRequest, opts ...grpc.CallOption) (*InitializeResponse, error)
	FinishInitialize(ctx context.Context, in *FinishInitializeRequest, opts ...grpc.CallOption) (*FinishInitializeResponse, error)
	Reset(ctx context.Context, in *ResetRequest, opts ...grpc.CallOption) (*ResetResponse, error)
	OnboardDevice(ctx context.Context, in *OnboardDeviceRequest, opts ...grpc.CallOption) (*OnboardDeviceResponse, error)
	OffboardDevice(ctx context.Context, in *OffboardDeviceRequest, opts ...grpc.CallOption) (*OffboardDeviceResponse, error)
}

ClientApplicationClient is the client API for ClientApplication 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.

type ClientApplicationServer

type ClientApplicationServer interface {
	GetDevices(*GetDevicesRequest, ClientApplication_GetDevicesServer) error
	GetDevice(context.Context, *GetDeviceRequest) (*pb.Device, error)
	GetDeviceResourceLinks(context.Context, *GetDeviceResourceLinksRequest) (*events.ResourceLinksPublished, error)
	GetResource(context.Context, *GetResourceRequest) (*pb.Resource, error)
	UpdateResource(context.Context, *UpdateResourceRequest) (*pb.UpdateResourceResponse, error)
	CreateResource(context.Context, *CreateResourceRequest) (*pb.CreateResourceResponse, error)
	DeleteResource(context.Context, *DeleteResourceRequest) (*pb.DeleteResourceResponse, error)
	OwnDevice(context.Context, *OwnDeviceRequest) (*OwnDeviceResponse, error)
	FinishOwnDevice(context.Context, *FinishOwnDeviceRequest) (*FinishOwnDeviceResponse, error)
	DisownDevice(context.Context, *DisownDeviceRequest) (*DisownDeviceResponse, error)
	ClearCache(context.Context, *ClearCacheRequest) (*ClearCacheResponse, error)
	GetConfiguration(context.Context, *GetConfigurationRequest) (*GetConfigurationResponse, error)
	GetJSONWebKeys(context.Context, *GetJSONWebKeysRequest) (*structpb.Struct, error)
	GetIdentityCertificate(context.Context, *GetIdentityCertificateRequest) (*GetIdentityCertificateResponse, error)
	Initialize(context.Context, *InitializeRequest) (*InitializeResponse, error)
	FinishInitialize(context.Context, *FinishInitializeRequest) (*FinishInitializeResponse, error)
	Reset(context.Context, *ResetRequest) (*ResetResponse, error)
	OnboardDevice(context.Context, *OnboardDeviceRequest) (*OnboardDeviceResponse, error)
	OffboardDevice(context.Context, *OffboardDeviceRequest) (*OffboardDeviceResponse, error)
	// contains filtered or unexported methods
}

ClientApplicationServer is the server API for ClientApplication service. All implementations must embed UnimplementedClientApplicationServer for forward compatibility

type ClientApplication_GetDevicesClient

type ClientApplication_GetDevicesClient interface {
	Recv() (*pb.Device, error)
	grpc.ClientStream
}

type ClientApplication_GetDevicesServer

type ClientApplication_GetDevicesServer interface {
	Send(*pb.Device) error
	grpc.ServerStream
}

type CreateResourceRequest

type CreateResourceRequest struct {
	ResourceId *commands.ResourceId `protobuf:"bytes,1,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"`
	Content    *pb.Content          `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateResourceRequest) Descriptor deprecated

func (*CreateResourceRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateResourceRequest.ProtoReflect.Descriptor instead.

func (*CreateResourceRequest) GetContent

func (x *CreateResourceRequest) GetContent() *pb.Content

func (*CreateResourceRequest) GetResourceId

func (x *CreateResourceRequest) GetResourceId() *commands.ResourceId

func (*CreateResourceRequest) ProtoMessage

func (*CreateResourceRequest) ProtoMessage()

func (*CreateResourceRequest) ProtoReflect

func (x *CreateResourceRequest) ProtoReflect() protoreflect.Message

func (*CreateResourceRequest) Reset

func (x *CreateResourceRequest) Reset()

func (*CreateResourceRequest) String

func (x *CreateResourceRequest) String() string

type DeleteResourceRequest

type DeleteResourceRequest struct {
	ResourceId *commands.ResourceId `protobuf:"bytes,1,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteResourceRequest) Descriptor deprecated

func (*DeleteResourceRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteResourceRequest.ProtoReflect.Descriptor instead.

func (*DeleteResourceRequest) GetResourceId

func (x *DeleteResourceRequest) GetResourceId() *commands.ResourceId

func (*DeleteResourceRequest) ProtoMessage

func (*DeleteResourceRequest) ProtoMessage()

func (*DeleteResourceRequest) ProtoReflect

func (x *DeleteResourceRequest) ProtoReflect() protoreflect.Message

func (*DeleteResourceRequest) Reset

func (x *DeleteResourceRequest) Reset()

func (*DeleteResourceRequest) String

func (x *DeleteResourceRequest) String() string

type DeviceOauthClient added in v0.4.0

type DeviceOauthClient = pb.DeviceOAuthClient

type DisownDeviceRequest

type DisownDeviceRequest struct {
	DeviceId string `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
	// contains filtered or unexported fields
}

func (*DisownDeviceRequest) Descriptor deprecated

func (*DisownDeviceRequest) Descriptor() ([]byte, []int)

Deprecated: Use DisownDeviceRequest.ProtoReflect.Descriptor instead.

func (*DisownDeviceRequest) GetDeviceId

func (x *DisownDeviceRequest) GetDeviceId() string

func (*DisownDeviceRequest) ProtoMessage

func (*DisownDeviceRequest) ProtoMessage()

func (*DisownDeviceRequest) ProtoReflect

func (x *DisownDeviceRequest) ProtoReflect() protoreflect.Message

func (*DisownDeviceRequest) Reset

func (x *DisownDeviceRequest) Reset()

func (*DisownDeviceRequest) String

func (x *DisownDeviceRequest) String() string

type DisownDeviceResponse

type DisownDeviceResponse struct {
	// contains filtered or unexported fields
}

func (*DisownDeviceResponse) Descriptor deprecated

func (*DisownDeviceResponse) Descriptor() ([]byte, []int)

Deprecated: Use DisownDeviceResponse.ProtoReflect.Descriptor instead.

func (*DisownDeviceResponse) ProtoMessage

func (*DisownDeviceResponse) ProtoMessage()

func (*DisownDeviceResponse) ProtoReflect

func (x *DisownDeviceResponse) ProtoReflect() protoreflect.Message

func (*DisownDeviceResponse) Reset

func (x *DisownDeviceResponse) Reset()

func (*DisownDeviceResponse) String

func (x *DisownDeviceResponse) String() string

type FinishInitializeRequest added in v0.2.0

type FinishInitializeRequest struct {

	// Certificate chain in PEM format
	Certificate []byte `protobuf:"bytes,1,opt,name=certificate,proto3" json:"certificate,omitempty"`
	// Use value for pairing otherwise finish will be refused.
	State string `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"`
	// contains filtered or unexported fields
}

func (*FinishInitializeRequest) Descriptor deprecated added in v0.2.0

func (*FinishInitializeRequest) Descriptor() ([]byte, []int)

Deprecated: Use FinishInitializeRequest.ProtoReflect.Descriptor instead.

func (*FinishInitializeRequest) GetCertificate added in v0.2.0

func (x *FinishInitializeRequest) GetCertificate() []byte

func (*FinishInitializeRequest) GetState added in v0.2.0

func (x *FinishInitializeRequest) GetState() string

func (*FinishInitializeRequest) ProtoMessage added in v0.2.0

func (*FinishInitializeRequest) ProtoMessage()

func (*FinishInitializeRequest) ProtoReflect added in v0.2.0

func (x *FinishInitializeRequest) ProtoReflect() protoreflect.Message

func (*FinishInitializeRequest) Reset added in v0.2.0

func (x *FinishInitializeRequest) Reset()

func (*FinishInitializeRequest) String added in v0.2.0

func (x *FinishInitializeRequest) String() string

type FinishInitializeResponse added in v0.2.0

type FinishInitializeResponse struct {
	// contains filtered or unexported fields
}

func (*FinishInitializeResponse) Descriptor deprecated added in v0.2.0

func (*FinishInitializeResponse) Descriptor() ([]byte, []int)

Deprecated: Use FinishInitializeResponse.ProtoReflect.Descriptor instead.

func (*FinishInitializeResponse) ProtoMessage added in v0.2.0

func (*FinishInitializeResponse) ProtoMessage()

func (*FinishInitializeResponse) ProtoReflect added in v0.2.0

func (x *FinishInitializeResponse) ProtoReflect() protoreflect.Message

func (*FinishInitializeResponse) Reset added in v0.2.0

func (x *FinishInitializeResponse) Reset()

func (*FinishInitializeResponse) String added in v0.2.0

func (x *FinishInitializeResponse) String() string

type FinishOwnDeviceRequest added in v0.2.0

type FinishOwnDeviceRequest struct {
	DeviceId string `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
	// Use value form OwnDeviceResponse.get_identity_csr.state
	State string `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"`
	// Certificate chain in PEM format
	Certificate []byte `protobuf:"bytes,3,opt,name=certificate,proto3" json:"certificate,omitempty"`
	// contains filtered or unexported fields
}

func (*FinishOwnDeviceRequest) Descriptor deprecated added in v0.2.0

func (*FinishOwnDeviceRequest) Descriptor() ([]byte, []int)

Deprecated: Use FinishOwnDeviceRequest.ProtoReflect.Descriptor instead.

func (*FinishOwnDeviceRequest) GetCertificate added in v0.2.0

func (x *FinishOwnDeviceRequest) GetCertificate() []byte

func (*FinishOwnDeviceRequest) GetDeviceId added in v0.2.0

func (x *FinishOwnDeviceRequest) GetDeviceId() string

func (*FinishOwnDeviceRequest) GetState added in v0.2.0

func (x *FinishOwnDeviceRequest) GetState() string

func (*FinishOwnDeviceRequest) ProtoMessage added in v0.2.0

func (*FinishOwnDeviceRequest) ProtoMessage()

func (*FinishOwnDeviceRequest) ProtoReflect added in v0.2.0

func (x *FinishOwnDeviceRequest) ProtoReflect() protoreflect.Message

func (*FinishOwnDeviceRequest) Reset added in v0.2.0

func (x *FinishOwnDeviceRequest) Reset()

func (*FinishOwnDeviceRequest) String added in v0.2.0

func (x *FinishOwnDeviceRequest) String() string

type FinishOwnDeviceResponse added in v0.2.0

type FinishOwnDeviceResponse struct {
	// contains filtered or unexported fields
}

func (*FinishOwnDeviceResponse) Descriptor deprecated added in v0.2.0

func (*FinishOwnDeviceResponse) Descriptor() ([]byte, []int)

Deprecated: Use FinishOwnDeviceResponse.ProtoReflect.Descriptor instead.

func (*FinishOwnDeviceResponse) ProtoMessage added in v0.2.0

func (*FinishOwnDeviceResponse) ProtoMessage()

func (*FinishOwnDeviceResponse) ProtoReflect added in v0.2.0

func (x *FinishOwnDeviceResponse) ProtoReflect() protoreflect.Message

func (*FinishOwnDeviceResponse) Reset added in v0.2.0

func (x *FinishOwnDeviceResponse) Reset()

func (*FinishOwnDeviceResponse) String added in v0.2.0

func (x *FinishOwnDeviceResponse) String() string

type GetConfigurationRequest added in v0.2.0

type GetConfigurationRequest struct {
	// contains filtered or unexported fields
}

func (*GetConfigurationRequest) Descriptor deprecated added in v0.2.0

func (*GetConfigurationRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetConfigurationRequest.ProtoReflect.Descriptor instead.

func (*GetConfigurationRequest) ProtoMessage added in v0.2.0

func (*GetConfigurationRequest) ProtoMessage()

func (*GetConfigurationRequest) ProtoReflect added in v0.2.0

func (x *GetConfigurationRequest) ProtoReflect() protoreflect.Message

func (*GetConfigurationRequest) Reset added in v0.2.0

func (x *GetConfigurationRequest) Reset()

func (*GetConfigurationRequest) String added in v0.2.0

func (x *GetConfigurationRequest) String() string

type GetConfigurationResponse added in v0.2.0

type GetConfigurationResponse struct {
	Version    string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`                         // deprecated, use build_info.version
	BuildDate  string `protobuf:"bytes,2,opt,name=build_date,json=buildDate,proto3" json:"build_date,omitempty"`    // deprecated, use build_info.build_date
	CommitHash string `protobuf:"bytes,3,opt,name=commit_hash,json=commitHash,proto3" json:"commit_hash,omitempty"` // deprecated, use build_info.commit_hash
	CommitDate string `protobuf:"bytes,4,opt,name=commit_date,json=commitDate,proto3" json:"commit_date,omitempty"` // deprecated, use build_info.commit_date
	ReleaseUrl string `protobuf:"bytes,5,opt,name=release_url,json=releaseUrl,proto3" json:"release_url,omitempty"` // deprecated, use build_info.release_url
	// user don't need to call initialize endpoint
	IsInitialized            bool                                              `protobuf:"varint,6,opt,name=is_initialized,json=isInitialized,proto3" json:"is_initialized,omitempty"`
	DeviceAuthenticationMode GetConfigurationResponse_DeviceAuthenticationMode `` /* 202-byte string literal not displayed */
	RemoteProvisioning       *RemoteProvisioning                               `protobuf:"bytes,8,opt,name=remote_provisioning,json=remoteProvisioning,proto3" json:"remote_provisioning,omitempty"`
	Owner                    string                                            `protobuf:"bytes,9,opt,name=owner,proto3" json:"owner,omitempty"`
	BuildInfo                *BuildInfo                                        `protobuf:"bytes,10,opt,name=build_info,json=buildInfo,proto3" json:"build_info,omitempty"`
	Ui                       *UIConfiguration                                  `protobuf:"bytes,11,opt,name=ui,proto3" json:"ui,omitempty"`
	// contains filtered or unexported fields
}

func NewGetConfigurationResponse added in v0.7.0

func NewGetConfigurationResponse(info *BuildInfo, ui *UIConfiguration) *GetConfigurationResponse

func (*GetConfigurationResponse) Clone added in v0.2.0

func (*GetConfigurationResponse) Descriptor deprecated added in v0.2.0

func (*GetConfigurationResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetConfigurationResponse.ProtoReflect.Descriptor instead.

func (*GetConfigurationResponse) GetBuildDate added in v0.2.0

func (x *GetConfigurationResponse) GetBuildDate() string

func (*GetConfigurationResponse) GetBuildInfo added in v0.7.0

func (x *GetConfigurationResponse) GetBuildInfo() *BuildInfo

func (*GetConfigurationResponse) GetCommitDate added in v0.2.0

func (x *GetConfigurationResponse) GetCommitDate() string

func (*GetConfigurationResponse) GetCommitHash added in v0.2.0

func (x *GetConfigurationResponse) GetCommitHash() string

func (*GetConfigurationResponse) GetDeviceAuthenticationMode added in v0.2.0

func (*GetConfigurationResponse) GetIsInitialized added in v0.2.0

func (x *GetConfigurationResponse) GetIsInitialized() bool

func (*GetConfigurationResponse) GetOwner added in v0.2.2

func (x *GetConfigurationResponse) GetOwner() string

func (*GetConfigurationResponse) GetReleaseUrl added in v0.2.0

func (x *GetConfigurationResponse) GetReleaseUrl() string

func (*GetConfigurationResponse) GetRemoteProvisioning added in v0.2.0

func (x *GetConfigurationResponse) GetRemoteProvisioning() *RemoteProvisioning

func (*GetConfigurationResponse) GetUi added in v0.11.0

func (*GetConfigurationResponse) GetVersion added in v0.2.0

func (x *GetConfigurationResponse) GetVersion() string

func (*GetConfigurationResponse) ProtoMessage added in v0.2.0

func (*GetConfigurationResponse) ProtoMessage()

func (*GetConfigurationResponse) ProtoReflect added in v0.2.0

func (x *GetConfigurationResponse) ProtoReflect() protoreflect.Message

func (*GetConfigurationResponse) Reset added in v0.2.0

func (x *GetConfigurationResponse) Reset()

func (*GetConfigurationResponse) String added in v0.2.0

func (x *GetConfigurationResponse) String() string

type GetConfigurationResponse_DeviceAuthenticationMode added in v0.2.0

type GetConfigurationResponse_DeviceAuthenticationMode int32
const (
	GetConfigurationResponse_PRE_SHARED_KEY GetConfigurationResponse_DeviceAuthenticationMode = 0
	GetConfigurationResponse_X509           GetConfigurationResponse_DeviceAuthenticationMode = 1
	GetConfigurationResponse_UNINITIALIZED  GetConfigurationResponse_DeviceAuthenticationMode = 2
)

func (GetConfigurationResponse_DeviceAuthenticationMode) Descriptor added in v0.2.0

func (GetConfigurationResponse_DeviceAuthenticationMode) Enum added in v0.2.0

func (GetConfigurationResponse_DeviceAuthenticationMode) EnumDescriptor deprecated added in v0.2.0

Deprecated: Use GetConfigurationResponse_DeviceAuthenticationMode.Descriptor instead.

func (GetConfigurationResponse_DeviceAuthenticationMode) Number added in v0.2.0

func (GetConfigurationResponse_DeviceAuthenticationMode) String added in v0.2.0

func (GetConfigurationResponse_DeviceAuthenticationMode) Type added in v0.2.0

type GetDeviceRequest

type GetDeviceRequest struct {
	DeviceId string `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetDeviceRequest) Descriptor deprecated

func (*GetDeviceRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetDeviceRequest.ProtoReflect.Descriptor instead.

func (*GetDeviceRequest) GetDeviceId

func (x *GetDeviceRequest) GetDeviceId() string

func (*GetDeviceRequest) ProtoMessage

func (*GetDeviceRequest) ProtoMessage()

func (*GetDeviceRequest) ProtoReflect

func (x *GetDeviceRequest) ProtoReflect() protoreflect.Message

func (*GetDeviceRequest) Reset

func (x *GetDeviceRequest) Reset()

func (*GetDeviceRequest) String

func (x *GetDeviceRequest) String() string

type GetDeviceResourceLinksRequest

type GetDeviceResourceLinksRequest struct {
	DeviceId string `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetDeviceResourceLinksRequest) Descriptor deprecated

func (*GetDeviceResourceLinksRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetDeviceResourceLinksRequest.ProtoReflect.Descriptor instead.

func (*GetDeviceResourceLinksRequest) GetDeviceId

func (x *GetDeviceResourceLinksRequest) GetDeviceId() string

func (*GetDeviceResourceLinksRequest) ProtoMessage

func (*GetDeviceResourceLinksRequest) ProtoMessage()

func (*GetDeviceResourceLinksRequest) ProtoReflect

func (*GetDeviceResourceLinksRequest) Reset

func (x *GetDeviceResourceLinksRequest) Reset()

func (*GetDeviceResourceLinksRequest) String

type GetDevicesRequest

type GetDevicesRequest struct {

	// Devices are taken from the cache. Default: false.
	UseCache bool `protobuf:"varint,1,opt,name=use_cache,json=useCache,proto3" json:"use_cache,omitempty"`
	// Filter by multicast IP address version. Default: [] - multicast is disabled. If it is set, the new devices will be added to cache.
	UseMulticast []GetDevicesRequest_UseMulticast `` /* 152-byte string literal not displayed */
	// Returns devices via endpoints. Default: [] - filter is disabled. New devices will be added to cache. Not reachable devices will be not in response.
	// Endpoint can be in format:
	// - <host>:<port> is interpreted as coap://<host>:<port>
	// - <host> is interpreted as coap://<host>:5683
	UseEndpoints []string `protobuf:"bytes,3,rep,name=use_endpoints,json=useEndpoints,proto3" json:"use_endpoints,omitempty"`
	// How long to wait for the devices responses for responses in nanoseconds. Default: 0 - means 2sec.
	Timeout int64 `protobuf:"varint,4,opt,name=timeout,proto3" json:"timeout,omitempty"`
	// Filter by ownership status. Default: [UNOWNED,OWNED].
	OwnershipStatusFilter []GetDevicesRequest_OwnershipStatusFilter `` /* 190-byte string literal not displayed */
	// Filter by device resource type of oic/d. Default: [] - filter is disabled.
	TypeFilter []string `protobuf:"bytes,6,rep,name=type_filter,json=typeFilter,proto3" json:"type_filter,omitempty"`
	// contains filtered or unexported fields
}

Returns a list of devices. The list is sorted by device id. If use_cache, use_multicast, use_endpoints are not set, then it will set use_multicast with [IPV4,IPV6].

func (*GetDevicesRequest) Descriptor deprecated

func (*GetDevicesRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetDevicesRequest.ProtoReflect.Descriptor instead.

func (*GetDevicesRequest) GetOwnershipStatusFilter

func (x *GetDevicesRequest) GetOwnershipStatusFilter() []GetDevicesRequest_OwnershipStatusFilter

func (*GetDevicesRequest) GetTimeout

func (x *GetDevicesRequest) GetTimeout() int64

func (*GetDevicesRequest) GetTypeFilter

func (x *GetDevicesRequest) GetTypeFilter() []string

func (*GetDevicesRequest) GetUseCache

func (x *GetDevicesRequest) GetUseCache() bool

func (*GetDevicesRequest) GetUseEndpoints

func (x *GetDevicesRequest) GetUseEndpoints() []string

func (*GetDevicesRequest) GetUseMulticast

func (x *GetDevicesRequest) GetUseMulticast() []GetDevicesRequest_UseMulticast

func (*GetDevicesRequest) ProtoMessage

func (*GetDevicesRequest) ProtoMessage()

func (*GetDevicesRequest) ProtoReflect

func (x *GetDevicesRequest) ProtoReflect() protoreflect.Message

func (*GetDevicesRequest) Reset

func (x *GetDevicesRequest) Reset()

func (*GetDevicesRequest) String

func (x *GetDevicesRequest) String() string

type GetDevicesRequest_OwnershipStatusFilter

type GetDevicesRequest_OwnershipStatusFilter int32
const (
	// get only unowned devices
	GetDevicesRequest_UNOWNED GetDevicesRequest_OwnershipStatusFilter = 0
	// get only owned devices
	GetDevicesRequest_OWNED GetDevicesRequest_OwnershipStatusFilter = 1
)

func (GetDevicesRequest_OwnershipStatusFilter) Descriptor

func (GetDevicesRequest_OwnershipStatusFilter) Enum

func (GetDevicesRequest_OwnershipStatusFilter) EnumDescriptor deprecated

func (GetDevicesRequest_OwnershipStatusFilter) EnumDescriptor() ([]byte, []int)

Deprecated: Use GetDevicesRequest_OwnershipStatusFilter.Descriptor instead.

func (GetDevicesRequest_OwnershipStatusFilter) Number

func (GetDevicesRequest_OwnershipStatusFilter) String

func (GetDevicesRequest_OwnershipStatusFilter) Type

type GetDevicesRequest_UseMulticast

type GetDevicesRequest_UseMulticast int32
const (
	GetDevicesRequest_IPV4 GetDevicesRequest_UseMulticast = 0
	GetDevicesRequest_IPV6 GetDevicesRequest_UseMulticast = 1
)

func (GetDevicesRequest_UseMulticast) Descriptor

func (GetDevicesRequest_UseMulticast) Enum

func (GetDevicesRequest_UseMulticast) EnumDescriptor deprecated

func (GetDevicesRequest_UseMulticast) EnumDescriptor() ([]byte, []int)

Deprecated: Use GetDevicesRequest_UseMulticast.Descriptor instead.

func (GetDevicesRequest_UseMulticast) Number

func (GetDevicesRequest_UseMulticast) String

func (GetDevicesRequest_UseMulticast) Type

type GetIdentityCertificateRequest added in v0.2.0

type GetIdentityCertificateRequest struct {
	// contains filtered or unexported fields
}

func (*GetIdentityCertificateRequest) Descriptor deprecated added in v0.2.0

func (*GetIdentityCertificateRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetIdentityCertificateRequest.ProtoReflect.Descriptor instead.

func (*GetIdentityCertificateRequest) ProtoMessage added in v0.2.0

func (*GetIdentityCertificateRequest) ProtoMessage()

func (*GetIdentityCertificateRequest) ProtoReflect added in v0.2.0

func (*GetIdentityCertificateRequest) Reset added in v0.2.0

func (x *GetIdentityCertificateRequest) Reset()

func (*GetIdentityCertificateRequest) String added in v0.2.0

type GetIdentityCertificateResponse added in v0.2.0

type GetIdentityCertificateResponse struct {
	Certificate []byte `protobuf:"bytes,1,opt,name=certificate,proto3" json:"certificate,omitempty"` // PEM format
	// contains filtered or unexported fields
}

func (*GetIdentityCertificateResponse) Descriptor deprecated added in v0.2.0

func (*GetIdentityCertificateResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetIdentityCertificateResponse.ProtoReflect.Descriptor instead.

func (*GetIdentityCertificateResponse) GetCertificate added in v0.2.0

func (x *GetIdentityCertificateResponse) GetCertificate() []byte

func (*GetIdentityCertificateResponse) ProtoMessage added in v0.2.0

func (*GetIdentityCertificateResponse) ProtoMessage()

func (*GetIdentityCertificateResponse) ProtoReflect added in v0.2.0

func (*GetIdentityCertificateResponse) Reset added in v0.2.0

func (x *GetIdentityCertificateResponse) Reset()

func (*GetIdentityCertificateResponse) String added in v0.2.0

type GetJSONWebKeysRequest added in v0.2.0

type GetJSONWebKeysRequest struct {
	// contains filtered or unexported fields
}

func (*GetJSONWebKeysRequest) Descriptor deprecated added in v0.2.0

func (*GetJSONWebKeysRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetJSONWebKeysRequest.ProtoReflect.Descriptor instead.

func (*GetJSONWebKeysRequest) ProtoMessage added in v0.2.0

func (*GetJSONWebKeysRequest) ProtoMessage()

func (*GetJSONWebKeysRequest) ProtoReflect added in v0.2.0

func (x *GetJSONWebKeysRequest) ProtoReflect() protoreflect.Message

func (*GetJSONWebKeysRequest) Reset added in v0.2.0

func (x *GetJSONWebKeysRequest) Reset()

func (*GetJSONWebKeysRequest) String added in v0.2.0

func (x *GetJSONWebKeysRequest) String() string

type GetResourceRequest

type GetResourceRequest struct {
	ResourceId        *commands.ResourceId `protobuf:"bytes,1,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"`
	ResourceInterface string               `protobuf:"bytes,2,opt,name=resource_interface,json=resourceInterface,proto3" json:"resource_interface,omitempty"`
	// contains filtered or unexported fields
}

func (*GetResourceRequest) Descriptor deprecated

func (*GetResourceRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetResourceRequest.ProtoReflect.Descriptor instead.

func (*GetResourceRequest) GetResourceId

func (x *GetResourceRequest) GetResourceId() *commands.ResourceId

func (*GetResourceRequest) GetResourceInterface added in v0.5.0

func (x *GetResourceRequest) GetResourceInterface() string

func (*GetResourceRequest) ProtoMessage

func (*GetResourceRequest) ProtoMessage()

func (*GetResourceRequest) ProtoReflect

func (x *GetResourceRequest) ProtoReflect() protoreflect.Message

func (*GetResourceRequest) Reset

func (x *GetResourceRequest) Reset()

func (*GetResourceRequest) String

func (x *GetResourceRequest) String() string

type IdentityCertificateChallenge added in v0.2.0

type IdentityCertificateChallenge struct {
	CertificateSigningRequest []byte `` // in PEM format
	/* 138-byte string literal not displayed */
	State string `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"` // for pairing calls
	// contains filtered or unexported fields
}

func (*IdentityCertificateChallenge) Descriptor deprecated added in v0.2.0

func (*IdentityCertificateChallenge) Descriptor() ([]byte, []int)

Deprecated: Use IdentityCertificateChallenge.ProtoReflect.Descriptor instead.

func (*IdentityCertificateChallenge) GetCertificateSigningRequest added in v0.2.0

func (x *IdentityCertificateChallenge) GetCertificateSigningRequest() []byte

func (*IdentityCertificateChallenge) GetState added in v0.2.0

func (x *IdentityCertificateChallenge) GetState() string

func (*IdentityCertificateChallenge) ProtoMessage added in v0.2.0

func (*IdentityCertificateChallenge) ProtoMessage()

func (*IdentityCertificateChallenge) ProtoReflect added in v0.2.0

func (*IdentityCertificateChallenge) Reset added in v0.2.0

func (x *IdentityCertificateChallenge) Reset()

func (*IdentityCertificateChallenge) String added in v0.2.0

type InitializePreSharedKey added in v0.2.0

type InitializePreSharedKey struct {

	// ID of the client application that is used to identify the client application by the device.
	SubjectId string `protobuf:"bytes,1,opt,name=subject_id,json=subjectId,proto3" json:"subject_id,omitempty"`
	// Associated secret to the client application ID. Only first 16bytes is used.
	Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`
	// If true, the client application will be save subject_id and key to the persistent storage.
	Save bool `protobuf:"varint,3,opt,name=save,proto3" json:"save,omitempty"`
	// contains filtered or unexported fields
}

func (*InitializePreSharedKey) Descriptor deprecated added in v0.2.0

func (*InitializePreSharedKey) Descriptor() ([]byte, []int)

Deprecated: Use InitializePreSharedKey.ProtoReflect.Descriptor instead.

func (*InitializePreSharedKey) GetKey added in v0.3.0

func (x *InitializePreSharedKey) GetKey() string

func (*InitializePreSharedKey) GetSave added in v0.9.0

func (x *InitializePreSharedKey) GetSave() bool

func (*InitializePreSharedKey) GetSubjectId added in v0.3.0

func (x *InitializePreSharedKey) GetSubjectId() string

func (*InitializePreSharedKey) ProtoMessage added in v0.2.0

func (*InitializePreSharedKey) ProtoMessage()

func (*InitializePreSharedKey) ProtoReflect added in v0.2.0

func (x *InitializePreSharedKey) ProtoReflect() protoreflect.Message

func (*InitializePreSharedKey) Reset added in v0.2.0

func (x *InitializePreSharedKey) Reset()

func (*InitializePreSharedKey) String added in v0.2.0

func (x *InitializePreSharedKey) String() string

type InitializeRequest added in v0.2.0

type InitializeRequest struct {
	PreSharedKey *InitializePreSharedKey `protobuf:"bytes,1,opt,name=pre_shared_key,json=preSharedKey,proto3" json:"pre_shared_key,omitempty"`
	Jwks         *structpb.Struct        `protobuf:"bytes,2,opt,name=jwks,proto3" json:"jwks,omitempty"`
	// contains filtered or unexported fields
}

The client application must be initialized when GetConfigurationResponse.is_initialized is set to false. The initialization depends on the GetConfigurationResponse.device_authentication_mode. For:

  • PRE_SHARED_KEY - pre_shared_key values need to be set.
  • X509 - jwks need to be set only if GetConfigurationResponse.remote_provisioning.mode is set to USER_AGENT

func (*InitializeRequest) Descriptor deprecated added in v0.2.0

func (*InitializeRequest) Descriptor() ([]byte, []int)

Deprecated: Use InitializeRequest.ProtoReflect.Descriptor instead.

func (*InitializeRequest) GetJwks added in v0.2.0

func (x *InitializeRequest) GetJwks() *structpb.Struct

func (*InitializeRequest) GetPreSharedKey added in v0.2.0

func (x *InitializeRequest) GetPreSharedKey() *InitializePreSharedKey

func (*InitializeRequest) ProtoMessage added in v0.2.0

func (*InitializeRequest) ProtoMessage()

func (*InitializeRequest) ProtoReflect added in v0.2.0

func (x *InitializeRequest) ProtoReflect() protoreflect.Message

func (*InitializeRequest) Reset added in v0.2.0

func (x *InitializeRequest) Reset()

func (*InitializeRequest) String added in v0.2.0

func (x *InitializeRequest) String() string

type InitializeResponse added in v0.2.0

type InitializeResponse struct {

	// If is set, the initialization process will be paused.
	// For the next call FinishInitialize, request must contain provided identity_certificate_challenge.state.
	IdentityCertificateChallenge *IdentityCertificateChallenge `` /* 147-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*InitializeResponse) Descriptor deprecated added in v0.2.0

func (*InitializeResponse) Descriptor() ([]byte, []int)

Deprecated: Use InitializeResponse.ProtoReflect.Descriptor instead.

func (*InitializeResponse) GetIdentityCertificateChallenge added in v0.2.0

func (x *InitializeResponse) GetIdentityCertificateChallenge() *IdentityCertificateChallenge

func (*InitializeResponse) ProtoMessage added in v0.2.0

func (*InitializeResponse) ProtoMessage()

func (*InitializeResponse) ProtoReflect added in v0.2.0

func (x *InitializeResponse) ProtoReflect() protoreflect.Message

func (*InitializeResponse) Reset added in v0.2.0

func (x *InitializeResponse) Reset()

func (*InitializeResponse) String added in v0.2.0

func (x *InitializeResponse) String() string

type InitializeX509 added in v0.2.0

type InitializeX509 struct {

	// Certificate chain in PEM format
	Certificate string `protobuf:"bytes,1,opt,name=certificate,proto3" json:"certificate,omitempty"`
	// contains filtered or unexported fields
}

func (*InitializeX509) Descriptor deprecated added in v0.2.0

func (*InitializeX509) Descriptor() ([]byte, []int)

Deprecated: Use InitializeX509.ProtoReflect.Descriptor instead.

func (*InitializeX509) GetCertificate added in v0.2.0

func (x *InitializeX509) GetCertificate() string

func (*InitializeX509) ProtoMessage added in v0.2.0

func (*InitializeX509) ProtoMessage()

func (*InitializeX509) ProtoReflect added in v0.2.0

func (x *InitializeX509) ProtoReflect() protoreflect.Message

func (*InitializeX509) Reset added in v0.2.0

func (x *InitializeX509) Reset()

func (*InitializeX509) String added in v0.2.0

func (x *InitializeX509) String() string

type OffboardDeviceRequest added in v0.4.0

type OffboardDeviceRequest struct {
	DeviceId string `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
	// contains filtered or unexported fields
}

func (*OffboardDeviceRequest) Descriptor deprecated added in v0.4.0

func (*OffboardDeviceRequest) Descriptor() ([]byte, []int)

Deprecated: Use OffboardDeviceRequest.ProtoReflect.Descriptor instead.

func (*OffboardDeviceRequest) GetDeviceId added in v0.4.0

func (x *OffboardDeviceRequest) GetDeviceId() string

func (*OffboardDeviceRequest) ProtoMessage added in v0.4.0

func (*OffboardDeviceRequest) ProtoMessage()

func (*OffboardDeviceRequest) ProtoReflect added in v0.4.0

func (x *OffboardDeviceRequest) ProtoReflect() protoreflect.Message

func (*OffboardDeviceRequest) Reset added in v0.4.0

func (x *OffboardDeviceRequest) Reset()

func (*OffboardDeviceRequest) String added in v0.4.0

func (x *OffboardDeviceRequest) String() string

type OffboardDeviceResponse added in v0.4.0

type OffboardDeviceResponse struct {
	// contains filtered or unexported fields
}

func (*OffboardDeviceResponse) Descriptor deprecated added in v0.4.0

func (*OffboardDeviceResponse) Descriptor() ([]byte, []int)

Deprecated: Use OffboardDeviceResponse.ProtoReflect.Descriptor instead.

func (*OffboardDeviceResponse) ProtoMessage added in v0.4.0

func (*OffboardDeviceResponse) ProtoMessage()

func (*OffboardDeviceResponse) ProtoReflect added in v0.4.0

func (x *OffboardDeviceResponse) ProtoReflect() protoreflect.Message

func (*OffboardDeviceResponse) Reset added in v0.4.0

func (x *OffboardDeviceResponse) Reset()

func (*OffboardDeviceResponse) String added in v0.4.0

func (x *OffboardDeviceResponse) String() string

type OnboardDeviceRequest added in v0.4.0

type OnboardDeviceRequest struct {
	DeviceId string `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
	// endpoint in format <scheme>://<host>:<port>
	CoapGatewayAddress string `protobuf:"bytes,2,opt,name=coap_gateway_address,json=coapGatewayAddress,proto3" json:"coap_gateway_address,omitempty"`
	// authorization code from the hub
	AuthorizationCode string `protobuf:"bytes,3,opt,name=authorization_code,json=authorizationCode,proto3" json:"authorization_code,omitempty"`
	// authorization provider from the hub
	AuthorizationProviderName string `` /* 138-byte string literal not displayed */
	// hub id in uuid format to allow hub access to device
	HubId string `protobuf:"bytes,5,opt,name=hub_id,json=hubId,proto3" json:"hub_id,omitempty"`
	// list of hub certificate authorities in PEM format to verify the hub certificate
	CertificateAuthorities string `` /* 127-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*OnboardDeviceRequest) Descriptor deprecated added in v0.4.0

func (*OnboardDeviceRequest) Descriptor() ([]byte, []int)

Deprecated: Use OnboardDeviceRequest.ProtoReflect.Descriptor instead.

func (*OnboardDeviceRequest) GetAuthorizationCode added in v0.4.0

func (x *OnboardDeviceRequest) GetAuthorizationCode() string

func (*OnboardDeviceRequest) GetAuthorizationProviderName added in v0.4.0

func (x *OnboardDeviceRequest) GetAuthorizationProviderName() string

func (*OnboardDeviceRequest) GetCertificateAuthorities added in v0.4.0

func (x *OnboardDeviceRequest) GetCertificateAuthorities() string

func (*OnboardDeviceRequest) GetCoapGatewayAddress added in v0.4.0

func (x *OnboardDeviceRequest) GetCoapGatewayAddress() string

func (*OnboardDeviceRequest) GetDeviceId added in v0.4.0

func (x *OnboardDeviceRequest) GetDeviceId() string

func (*OnboardDeviceRequest) GetHubId added in v0.4.0

func (x *OnboardDeviceRequest) GetHubId() string

func (*OnboardDeviceRequest) ProtoMessage added in v0.4.0

func (*OnboardDeviceRequest) ProtoMessage()

func (*OnboardDeviceRequest) ProtoReflect added in v0.4.0

func (x *OnboardDeviceRequest) ProtoReflect() protoreflect.Message

func (*OnboardDeviceRequest) Reset added in v0.4.0

func (x *OnboardDeviceRequest) Reset()

func (*OnboardDeviceRequest) String added in v0.4.0

func (x *OnboardDeviceRequest) String() string

type OnboardDeviceResponse added in v0.4.0

type OnboardDeviceResponse struct {
	// contains filtered or unexported fields
}

func (*OnboardDeviceResponse) Descriptor deprecated added in v0.4.0

func (*OnboardDeviceResponse) Descriptor() ([]byte, []int)

Deprecated: Use OnboardDeviceResponse.ProtoReflect.Descriptor instead.

func (*OnboardDeviceResponse) ProtoMessage added in v0.4.0

func (*OnboardDeviceResponse) ProtoMessage()

func (*OnboardDeviceResponse) ProtoReflect added in v0.4.0

func (x *OnboardDeviceResponse) ProtoReflect() protoreflect.Message

func (*OnboardDeviceResponse) Reset added in v0.4.0

func (x *OnboardDeviceResponse) Reset()

func (*OnboardDeviceResponse) String added in v0.4.0

func (x *OnboardDeviceResponse) String() string

type OwnDeviceRequest

type OwnDeviceRequest struct {
	DeviceId string `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
	// Defines how long own process will wait for the OwnDeviceRequest with set_identity_certificate in nanoseconds. Default value is 15secs.
	Timeout int64 `protobuf:"varint,2,opt,name=timeout,proto3" json:"timeout,omitempty"`
	// contains filtered or unexported fields
}

func (*OwnDeviceRequest) Descriptor deprecated

func (*OwnDeviceRequest) Descriptor() ([]byte, []int)

Deprecated: Use OwnDeviceRequest.ProtoReflect.Descriptor instead.

func (*OwnDeviceRequest) GetDeviceId

func (x *OwnDeviceRequest) GetDeviceId() string

func (*OwnDeviceRequest) GetTimeout added in v0.2.0

func (x *OwnDeviceRequest) GetTimeout() int64

func (*OwnDeviceRequest) ProtoMessage

func (*OwnDeviceRequest) ProtoMessage()

func (*OwnDeviceRequest) ProtoReflect

func (x *OwnDeviceRequest) ProtoReflect() protoreflect.Message

func (*OwnDeviceRequest) Reset

func (x *OwnDeviceRequest) Reset()

func (*OwnDeviceRequest) String

func (x *OwnDeviceRequest) String() string

type OwnDeviceResponse

type OwnDeviceResponse struct {

	// Filled when OwnDeviceRequest.get_identity_csr is true
	IdentityCertificateChallenge *IdentityCertificateChallenge `` /* 147-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*OwnDeviceResponse) Descriptor deprecated

func (*OwnDeviceResponse) Descriptor() ([]byte, []int)

Deprecated: Use OwnDeviceResponse.ProtoReflect.Descriptor instead.

func (*OwnDeviceResponse) GetIdentityCertificateChallenge added in v0.2.0

func (x *OwnDeviceResponse) GetIdentityCertificateChallenge() *IdentityCertificateChallenge

func (*OwnDeviceResponse) ProtoMessage

func (*OwnDeviceResponse) ProtoMessage()

func (*OwnDeviceResponse) ProtoReflect

func (x *OwnDeviceResponse) ProtoReflect() protoreflect.Message

func (*OwnDeviceResponse) Reset

func (x *OwnDeviceResponse) Reset()

func (*OwnDeviceResponse) String

func (x *OwnDeviceResponse) String() string

type RemoteProvisioning added in v0.2.0

type RemoteProvisioning struct {
	CurrentTime   int64  `protobuf:"varint,1,opt,name=current_time,json=currentTime,proto3" json:"current_time,omitempty" yaml:"-"`                 // @gotags: yaml:"-"
	JwtOwnerClaim string `protobuf:"bytes,2,opt,name=jwt_owner_claim,json=jwtOwnerClaim,proto3" json:"jwt_owner_claim,omitempty" yaml:"ownerClaim"` // @gotags: yaml:"ownerClaim"
	// Hub ID
	Id string `protobuf:"bytes,4,opt,name=id,proto3" json:"id,omitempty" yaml:"hubID"` // @gotags: yaml:"hubID"
	// coap-gateway in format coaps+tcp://host:port
	CoapGateway string `protobuf:"bytes,5,opt,name=coap_gateway,json=coapGateway,proto3" json:"coap_gateway,omitempty" yaml:"coapGateway"` // @gotags: yaml:"coapGateway"
	// certificate_authorities in format PEM - can contain multiple certificates
	CertificateAuthorities string `` // @gotags: yaml:"-"
	/* 136-byte string literal not displayed */
	// authority in format https://host:port
	Authority string `protobuf:"bytes,7,opt,name=authority,proto3" json:"authority,omitempty" yaml:"authority"` // @gotags: yaml:"authority"
	// certificate_authority in format https://host:port
	CertificateAuthority string `` // @gotags: yaml:"certificateAuthority"
	/* 149-byte string literal not displayed */
	// http-gateway in format https://host:port
	// string http_gateway_address = 10; // @gotags: yaml:"-"
	WebOauthClient *pb.WebOAuthClient `` // @gotags: yaml:"webOAuthClient"
	/* 128-byte string literal not displayed */
	DeviceOauthClient *pb.DeviceOAuthClient `` // @gotags: yaml:"deviceOAuthClient"
	/* 140-byte string literal not displayed */
	Mode      RemoteProvisioning_Mode `protobuf:"varint,100,opt,name=mode,proto3,enum=service.pb.RemoteProvisioning_Mode" json:"mode,omitempty" yaml:"mode"` // @gotags: yaml:"mode"
	UserAgent *UserAgent              `protobuf:"bytes,101,opt,name=user_agent,json=userAgent,proto3" json:"user_agent,omitempty" yaml:"userAgent"`          // @gotags: yaml:"userAgent"
	CaPool    []string                `protobuf:"bytes,102,rep,name=ca_pool,json=caPool,proto3" json:"ca_pool,omitempty" yaml:"caPool"`                      // @gotags: yaml:"caPool"
	// contains filtered or unexported fields
}

func (*RemoteProvisioning) Clone added in v0.2.0

func (*RemoteProvisioning) Descriptor deprecated added in v0.2.0

func (*RemoteProvisioning) Descriptor() ([]byte, []int)

Deprecated: Use RemoteProvisioning.ProtoReflect.Descriptor instead.

func (*RemoteProvisioning) GetAuthority added in v0.4.0

func (x *RemoteProvisioning) GetAuthority() string

func (*RemoteProvisioning) GetCaPool added in v0.4.0

func (x *RemoteProvisioning) GetCaPool() []string

func (*RemoteProvisioning) GetCertificateAuthorities added in v0.4.0

func (x *RemoteProvisioning) GetCertificateAuthorities() string

func (*RemoteProvisioning) GetCertificateAuthority added in v0.4.0

func (x *RemoteProvisioning) GetCertificateAuthority() string

func (*RemoteProvisioning) GetCoapGateway added in v0.4.0

func (x *RemoteProvisioning) GetCoapGateway() string

func (*RemoteProvisioning) GetCurrentTime added in v0.4.0

func (x *RemoteProvisioning) GetCurrentTime() int64

func (*RemoteProvisioning) GetDeviceOauthClient added in v0.4.0

func (x *RemoteProvisioning) GetDeviceOauthClient() *pb.DeviceOAuthClient

func (*RemoteProvisioning) GetId added in v0.4.0

func (x *RemoteProvisioning) GetId() string

func (*RemoteProvisioning) GetJwtOwnerClaim added in v0.4.0

func (x *RemoteProvisioning) GetJwtOwnerClaim() string

func (*RemoteProvisioning) GetMode added in v0.2.0

func (*RemoteProvisioning) GetUserAgent added in v0.2.0

func (x *RemoteProvisioning) GetUserAgent() *UserAgent

func (*RemoteProvisioning) GetWebOauthClient added in v0.4.0

func (x *RemoteProvisioning) GetWebOauthClient() *pb.WebOAuthClient

func (*RemoteProvisioning) ProtoMessage added in v0.2.0

func (*RemoteProvisioning) ProtoMessage()

func (*RemoteProvisioning) ProtoReflect added in v0.2.0

func (x *RemoteProvisioning) ProtoReflect() protoreflect.Message

func (*RemoteProvisioning) Reset added in v0.2.0

func (x *RemoteProvisioning) Reset()

func (*RemoteProvisioning) String added in v0.2.0

func (x *RemoteProvisioning) String() string

func (*RemoteProvisioning) Validate added in v0.4.0

func (c *RemoteProvisioning) Validate() error

type RemoteProvisioning_Mode added in v0.2.0

type RemoteProvisioning_Mode int32
const (
	RemoteProvisioning_MODE_NONE  RemoteProvisioning_Mode = 0
	RemoteProvisioning_USER_AGENT RemoteProvisioning_Mode = 1
)

func (RemoteProvisioning_Mode) Descriptor added in v0.2.0

func (RemoteProvisioning_Mode) Enum added in v0.2.0

func (RemoteProvisioning_Mode) EnumDescriptor deprecated added in v0.2.0

func (RemoteProvisioning_Mode) EnumDescriptor() ([]byte, []int)

Deprecated: Use RemoteProvisioning_Mode.Descriptor instead.

func (RemoteProvisioning_Mode) MarshalYAML added in v0.4.0

func (c RemoteProvisioning_Mode) MarshalYAML() (interface{}, error)

func (RemoteProvisioning_Mode) Number added in v0.2.0

func (RemoteProvisioning_Mode) String added in v0.2.0

func (x RemoteProvisioning_Mode) String() string

func (RemoteProvisioning_Mode) Type added in v0.2.0

func (*RemoteProvisioning_Mode) UnmarshalYAML added in v0.4.0

func (c *RemoteProvisioning_Mode) UnmarshalYAML(value *yaml.Node) error

type ResetRequest added in v0.2.0

type ResetRequest struct {
	// contains filtered or unexported fields
}

func (*ResetRequest) Descriptor deprecated added in v0.2.0

func (*ResetRequest) Descriptor() ([]byte, []int)

Deprecated: Use ResetRequest.ProtoReflect.Descriptor instead.

func (*ResetRequest) ProtoMessage added in v0.2.0

func (*ResetRequest) ProtoMessage()

func (*ResetRequest) ProtoReflect added in v0.2.0

func (x *ResetRequest) ProtoReflect() protoreflect.Message

func (*ResetRequest) Reset added in v0.2.0

func (x *ResetRequest) Reset()

func (*ResetRequest) String added in v0.2.0

func (x *ResetRequest) String() string

type ResetResponse added in v0.2.0

type ResetResponse struct {
	// contains filtered or unexported fields
}

func (*ResetResponse) Descriptor deprecated added in v0.2.0

func (*ResetResponse) Descriptor() ([]byte, []int)

Deprecated: Use ResetResponse.ProtoReflect.Descriptor instead.

func (*ResetResponse) ProtoMessage added in v0.2.0

func (*ResetResponse) ProtoMessage()

func (*ResetResponse) ProtoReflect added in v0.2.0

func (x *ResetResponse) ProtoReflect() protoreflect.Message

func (*ResetResponse) Reset added in v0.2.0

func (x *ResetResponse) Reset()

func (*ResetResponse) String added in v0.2.0

func (x *ResetResponse) String() string

type UIConfiguration added in v0.11.0

type UIConfiguration struct {
	DefaultDiscoveryTimeout int64 `` // default discovery timeout in nanoseconds
	/* 135-byte string literal not displayed */
	// contains filtered or unexported fields
}

UI configuration

func (*UIConfiguration) Clone added in v0.11.0

func (r *UIConfiguration) Clone() *UIConfiguration

func (*UIConfiguration) Descriptor deprecated added in v0.11.0

func (*UIConfiguration) Descriptor() ([]byte, []int)

Deprecated: Use UIConfiguration.ProtoReflect.Descriptor instead.

func (*UIConfiguration) GetDefaultDiscoveryTimeout added in v0.11.0

func (x *UIConfiguration) GetDefaultDiscoveryTimeout() int64

func (*UIConfiguration) ProtoMessage added in v0.11.0

func (*UIConfiguration) ProtoMessage()

func (*UIConfiguration) ProtoReflect added in v0.11.0

func (x *UIConfiguration) ProtoReflect() protoreflect.Message

func (*UIConfiguration) Reset added in v0.11.0

func (x *UIConfiguration) Reset()

func (*UIConfiguration) String added in v0.11.0

func (x *UIConfiguration) String() string

type UnimplementedClientApplicationServer

type UnimplementedClientApplicationServer struct {
}

UnimplementedClientApplicationServer must be embedded to have forward compatible implementations.

func (UnimplementedClientApplicationServer) ClearCache

func (UnimplementedClientApplicationServer) CreateResource

func (UnimplementedClientApplicationServer) DeleteResource

func (UnimplementedClientApplicationServer) DisownDevice

func (UnimplementedClientApplicationServer) FinishInitialize added in v0.2.0

func (UnimplementedClientApplicationServer) FinishOwnDevice added in v0.2.0

func (UnimplementedClientApplicationServer) GetConfiguration added in v0.2.0

func (UnimplementedClientApplicationServer) GetDevice

func (UnimplementedClientApplicationServer) GetDevices

func (UnimplementedClientApplicationServer) GetIdentityCertificate added in v0.2.0

func (UnimplementedClientApplicationServer) GetJSONWebKeys added in v0.2.0

func (UnimplementedClientApplicationServer) GetResource

func (UnimplementedClientApplicationServer) Initialize added in v0.2.0

func (UnimplementedClientApplicationServer) OffboardDevice added in v0.4.0

func (UnimplementedClientApplicationServer) OnboardDevice added in v0.4.0

func (UnimplementedClientApplicationServer) OwnDevice

func (UnimplementedClientApplicationServer) Reset added in v0.2.0

func (UnimplementedClientApplicationServer) UpdateResource

type UnsafeClientApplicationServer

type UnsafeClientApplicationServer interface {
	// contains filtered or unexported methods
}

UnsafeClientApplicationServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ClientApplicationServer will result in compilation errors.

type UpdateResourceRequest

type UpdateResourceRequest struct {
	ResourceId        *commands.ResourceId `protobuf:"bytes,1,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"`
	Content           *pb.Content          `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"`
	ResourceInterface string               `protobuf:"bytes,3,opt,name=resource_interface,json=resourceInterface,proto3" json:"resource_interface,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateResourceRequest) Descriptor deprecated

func (*UpdateResourceRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateResourceRequest.ProtoReflect.Descriptor instead.

func (*UpdateResourceRequest) GetContent

func (x *UpdateResourceRequest) GetContent() *pb.Content

func (*UpdateResourceRequest) GetResourceId

func (x *UpdateResourceRequest) GetResourceId() *commands.ResourceId

func (*UpdateResourceRequest) GetResourceInterface added in v0.5.0

func (x *UpdateResourceRequest) GetResourceInterface() string

func (*UpdateResourceRequest) ProtoMessage

func (*UpdateResourceRequest) ProtoMessage()

func (*UpdateResourceRequest) ProtoReflect

func (x *UpdateResourceRequest) ProtoReflect() protoreflect.Message

func (*UpdateResourceRequest) Reset

func (x *UpdateResourceRequest) Reset()

func (*UpdateResourceRequest) String

func (x *UpdateResourceRequest) String() string

type UserAgent added in v0.2.0

type UserAgent struct {

	// in nanoseconds
	CsrChallengeStateExpiration int64 `` // @gotags: yaml:"csrChallengeStateExpiration"
	/* 182-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*UserAgent) Clone added in v0.2.0

func (c *UserAgent) Clone() *UserAgent

func (*UserAgent) Descriptor deprecated added in v0.2.0

func (*UserAgent) Descriptor() ([]byte, []int)

Deprecated: Use UserAgent.ProtoReflect.Descriptor instead.

func (*UserAgent) GetCsrChallengeStateExpiration added in v0.2.0

func (x *UserAgent) GetCsrChallengeStateExpiration() int64

func (*UserAgent) MarshalYAML added in v0.4.0

func (c *UserAgent) MarshalYAML() (interface{}, error)

func (*UserAgent) ProtoMessage added in v0.2.0

func (*UserAgent) ProtoMessage()

func (*UserAgent) ProtoReflect added in v0.2.0

func (x *UserAgent) ProtoReflect() protoreflect.Message

func (*UserAgent) Reset added in v0.2.0

func (x *UserAgent) Reset()

func (*UserAgent) String added in v0.2.0

func (x *UserAgent) String() string

func (*UserAgent) UnmarshalYAML added in v0.4.0

func (c *UserAgent) UnmarshalYAML(value *yaml.Node) error

func (*UserAgent) Validate added in v0.4.0

func (c *UserAgent) Validate() error

type WebOauthClient added in v0.4.0

type WebOauthClient = pb.WebOAuthClient

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL