ztp_provision_hardware_client

package
v1.2.4 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ProvisionHardwareClientStream

type ProvisionHardwareClientStream interface {
	Send(*ProvisionHardwareRequest) error
	Recv() (*ProvisionHardwareResponse, error)
	grpc.ClientStream
}

type ProvisionHardwareDescriptor

type ProvisionHardwareDescriptor struct{}

func GetProvisionHardwareDescriptor

func GetProvisionHardwareDescriptor() *ProvisionHardwareDescriptor

func (*ProvisionHardwareDescriptor) GetApiDescriptor

func (*ProvisionHardwareDescriptor) GetApiName

func (d *ProvisionHardwareDescriptor) GetApiName() string

func (*ProvisionHardwareDescriptor) GetClientMsgReflectHandle

func (d *ProvisionHardwareDescriptor) GetClientMsgReflectHandle() gotenclient.MethodMsgHandle

func (*ProvisionHardwareDescriptor) GetFullMethodName

func (d *ProvisionHardwareDescriptor) GetFullMethodName() string

func (*ProvisionHardwareDescriptor) GetMethodName

func (d *ProvisionHardwareDescriptor) GetMethodName() string

func (*ProvisionHardwareDescriptor) GetProtoPkgName

func (d *ProvisionHardwareDescriptor) GetProtoPkgName() string

func (*ProvisionHardwareDescriptor) GetResourceDescriptor

func (d *ProvisionHardwareDescriptor) GetResourceDescriptor() gotenresource.Descriptor

func (*ProvisionHardwareDescriptor) GetServerMsgReflectHandle

func (d *ProvisionHardwareDescriptor) GetServerMsgReflectHandle() gotenclient.MethodMsgHandle

func (*ProvisionHardwareDescriptor) GetServiceDomain

func (d *ProvisionHardwareDescriptor) GetServiceDomain() string

func (*ProvisionHardwareDescriptor) GetServiceVersion

func (d *ProvisionHardwareDescriptor) GetServiceVersion() string

func (*ProvisionHardwareDescriptor) GetVerb

func (d *ProvisionHardwareDescriptor) GetVerb() string

func (*ProvisionHardwareDescriptor) HasResource

func (d *ProvisionHardwareDescriptor) HasResource() bool

func (*ProvisionHardwareDescriptor) IsClientStream

func (d *ProvisionHardwareDescriptor) IsClientStream() bool

func (*ProvisionHardwareDescriptor) IsCollection

func (d *ProvisionHardwareDescriptor) IsCollection() bool

func (*ProvisionHardwareDescriptor) IsPlural

func (d *ProvisionHardwareDescriptor) IsPlural() bool

func (*ProvisionHardwareDescriptor) IsServerStream

func (d *ProvisionHardwareDescriptor) IsServerStream() bool

func (*ProvisionHardwareDescriptor) IsUnary

func (d *ProvisionHardwareDescriptor) IsUnary() bool

func (*ProvisionHardwareDescriptor) NewEmptyClientMsg

func (d *ProvisionHardwareDescriptor) NewEmptyClientMsg() proto.Message

func (*ProvisionHardwareDescriptor) NewEmptyServerMsg

func (d *ProvisionHardwareDescriptor) NewEmptyServerMsg() proto.Message

func (*ProvisionHardwareDescriptor) RequestHasResourceBody

func (d *ProvisionHardwareDescriptor) RequestHasResourceBody() bool

type ProvisionHardwareDescriptorClientMsgHandle

type ProvisionHardwareDescriptorClientMsgHandle struct{}

func (*ProvisionHardwareDescriptorClientMsgHandle) ExtractCollectionName

func (*ProvisionHardwareDescriptorClientMsgHandle) ExtractResourceBodies

func (*ProvisionHardwareDescriptorClientMsgHandle) ExtractResourceBody

func (*ProvisionHardwareDescriptorClientMsgHandle) ExtractResourceName

func (*ProvisionHardwareDescriptorClientMsgHandle) ExtractResourceNames

type ProvisionHardwareDescriptorServerMsgHandle

type ProvisionHardwareDescriptorServerMsgHandle struct{}

func (*ProvisionHardwareDescriptorServerMsgHandle) ExtractCollectionName

func (*ProvisionHardwareDescriptorServerMsgHandle) ExtractResourceBodies

func (*ProvisionHardwareDescriptorServerMsgHandle) ExtractResourceBody

func (*ProvisionHardwareDescriptorServerMsgHandle) ExtractResourceName

func (*ProvisionHardwareDescriptorServerMsgHandle) ExtractResourceNames

type ProvisionHardwareRequest

type ProvisionHardwareRequest struct {

	// Types that are valid to be assigned to Msg:
	//	*ProvisionHardwareRequest_ProvisioningTarget_
	//	*ProvisionHardwareRequest_Identify
	//	*ProvisionHardwareRequest_ChallengeResponse
	Msg isProvisionHardwareRequest_Msg `protobuf_oneof:"msg"`
	// contains filtered or unexported fields
}

Request message for method [ProvisionHardware][ntt.devices.v1.ProvisionHardware]

func (*ProvisionHardwareRequest) Descriptor

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

Deprecated, Use ProvisionHardwareRequest.ProtoReflect.Descriptor instead.

func (*ProvisionHardwareRequest) GetChallengeResponse

func (m *ProvisionHardwareRequest) GetChallengeResponse() *api.IdentityChallengeResponse

func (*ProvisionHardwareRequest) GetIdentify

func (m *ProvisionHardwareRequest) GetIdentify() *api.DeviceIdentity

func (*ProvisionHardwareRequest) GetMsg

func (m *ProvisionHardwareRequest) GetMsg() isProvisionHardwareRequest_Msg

func (*ProvisionHardwareRequest) GetProvisioningTarget

func (*ProvisionHardwareRequest) GotenMessage

func (*ProvisionHardwareRequest) GotenMessage()

func (*ProvisionHardwareRequest) GotenValidate

func (obj *ProvisionHardwareRequest) GotenValidate() error

func (*ProvisionHardwareRequest) Marshal

func (m *ProvisionHardwareRequest) Marshal() ([]byte, error)

func (*ProvisionHardwareRequest) MarshalJSON

func (m *ProvisionHardwareRequest) MarshalJSON() ([]byte, error)

func (*ProvisionHardwareRequest) ProtoMessage

func (*ProvisionHardwareRequest) ProtoMessage()

func (*ProvisionHardwareRequest) ProtoReflect

func (m *ProvisionHardwareRequest) ProtoReflect() preflect.Message

func (*ProvisionHardwareRequest) Reset

func (m *ProvisionHardwareRequest) Reset()

func (*ProvisionHardwareRequest) SetChallengeResponse

func (m *ProvisionHardwareRequest) SetChallengeResponse(fv *api.IdentityChallengeResponse)

func (*ProvisionHardwareRequest) SetIdentify

func (m *ProvisionHardwareRequest) SetIdentify(fv *api.DeviceIdentity)

func (*ProvisionHardwareRequest) SetMsg

func (m *ProvisionHardwareRequest) SetMsg(ofv isProvisionHardwareRequest_Msg)

func (*ProvisionHardwareRequest) SetProvisioningTarget

func (*ProvisionHardwareRequest) String

func (m *ProvisionHardwareRequest) String() string

func (*ProvisionHardwareRequest) Unmarshal

func (m *ProvisionHardwareRequest) Unmarshal(b []byte) error

func (*ProvisionHardwareRequest) UnmarshalJSON

func (m *ProvisionHardwareRequest) UnmarshalJSON(data []byte) error

type ProvisionHardwareRequest_ChallengeResponse

type ProvisionHardwareRequest_ChallengeResponse struct {
	ChallengeResponse *api.IdentityChallengeResponse `protobuf:"bytes,3,opt,name=challenge_response,json=challengeResponse,proto3,oneof" firestore:"challengeResponse"`
}

type ProvisionHardwareRequest_Identify

type ProvisionHardwareRequest_Identify struct {
	Identify *api.DeviceIdentity `protobuf:"bytes,2,opt,name=identify,proto3,oneof" firestore:"identify"`
}

type ProvisionHardwareRequest_ProvisioningTarget

type ProvisionHardwareRequest_ProvisioningTarget struct {

	// one of provisioning_policy_name or device_name is required
	ProvisioningPolicyName *provisioning_policy.Name `` /* 180-byte string literal not displayed */
	DeviceName             *device.Name              `` /* 130-byte string literal not displayed */
	// contains filtered or unexported fields
}

ProvisioningTarget is used to know the correct region to route the request

func (*ProvisionHardwareRequest_ProvisioningTarget) Descriptor

Deprecated, Use ProvisionHardwareRequest_ProvisioningTarget.ProtoReflect.Descriptor instead.

func (*ProvisionHardwareRequest_ProvisioningTarget) GetDeviceName

func (*ProvisionHardwareRequest_ProvisioningTarget) GetProvisioningPolicyName

func (*ProvisionHardwareRequest_ProvisioningTarget) GotenMessage

func (*ProvisionHardwareRequest_ProvisioningTarget) GotenValidate

func (*ProvisionHardwareRequest_ProvisioningTarget) Marshal

func (*ProvisionHardwareRequest_ProvisioningTarget) MarshalJSON

func (*ProvisionHardwareRequest_ProvisioningTarget) ProtoMessage

func (*ProvisionHardwareRequest_ProvisioningTarget) ProtoReflect

func (*ProvisionHardwareRequest_ProvisioningTarget) Reset

func (*ProvisionHardwareRequest_ProvisioningTarget) SetDeviceName

func (*ProvisionHardwareRequest_ProvisioningTarget) SetProvisioningPolicyName

func (m *ProvisionHardwareRequest_ProvisioningTarget) SetProvisioningPolicyName(fv *provisioning_policy.Name)

func (*ProvisionHardwareRequest_ProvisioningTarget) String

func (*ProvisionHardwareRequest_ProvisioningTarget) Unmarshal

func (*ProvisionHardwareRequest_ProvisioningTarget) UnmarshalJSON

func (m *ProvisionHardwareRequest_ProvisioningTarget) UnmarshalJSON(data []byte) error

type ProvisionHardwareRequest_ProvisioningTarget_

type ProvisionHardwareRequest_ProvisioningTarget_ struct {
	ProvisioningTarget *ProvisionHardwareRequest_ProvisioningTarget `protobuf:"bytes,1,opt,name=provisioning_target,json=provisioningTarget,proto3,oneof" firestore:"provisioningTarget"`
}

type ProvisionHardwareResponse

type ProvisionHardwareResponse struct {

	// Types that are valid to be assigned to Msg:
	//	*ProvisionHardwareResponse_IdentityChallenge
	//	*ProvisionHardwareResponse_ProvisioningResponse_
	Msg isProvisionHardwareResponse_Msg `protobuf_oneof:"msg"`
	// contains filtered or unexported fields
}

Response message for method [ProvisionHardware][ntt.devices.v1.ProvisionHardware]

func (*ProvisionHardwareResponse) Descriptor

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

Deprecated, Use ProvisionHardwareResponse.ProtoReflect.Descriptor instead.

func (*ProvisionHardwareResponse) GetIdentityChallenge

func (m *ProvisionHardwareResponse) GetIdentityChallenge() *api.IdentityChallenge

func (*ProvisionHardwareResponse) GetMsg

func (m *ProvisionHardwareResponse) GetMsg() isProvisionHardwareResponse_Msg

func (*ProvisionHardwareResponse) GetProvisioningResponse

func (*ProvisionHardwareResponse) GotenMessage

func (*ProvisionHardwareResponse) GotenMessage()

func (*ProvisionHardwareResponse) GotenValidate

func (obj *ProvisionHardwareResponse) GotenValidate() error

func (*ProvisionHardwareResponse) Marshal

func (m *ProvisionHardwareResponse) Marshal() ([]byte, error)

func (*ProvisionHardwareResponse) MarshalJSON

func (m *ProvisionHardwareResponse) MarshalJSON() ([]byte, error)

func (*ProvisionHardwareResponse) ProtoMessage

func (*ProvisionHardwareResponse) ProtoMessage()

func (*ProvisionHardwareResponse) ProtoReflect

func (m *ProvisionHardwareResponse) ProtoReflect() preflect.Message

func (*ProvisionHardwareResponse) Reset

func (m *ProvisionHardwareResponse) Reset()

func (*ProvisionHardwareResponse) SetIdentityChallenge

func (m *ProvisionHardwareResponse) SetIdentityChallenge(fv *api.IdentityChallenge)

func (*ProvisionHardwareResponse) SetMsg

func (m *ProvisionHardwareResponse) SetMsg(ofv isProvisionHardwareResponse_Msg)

func (*ProvisionHardwareResponse) SetProvisioningResponse

func (*ProvisionHardwareResponse) String

func (m *ProvisionHardwareResponse) String() string

func (*ProvisionHardwareResponse) Unmarshal

func (m *ProvisionHardwareResponse) Unmarshal(b []byte) error

func (*ProvisionHardwareResponse) UnmarshalJSON

func (m *ProvisionHardwareResponse) UnmarshalJSON(data []byte) error

type ProvisionHardwareResponse_IdentityChallenge

type ProvisionHardwareResponse_IdentityChallenge struct {
	IdentityChallenge *api.IdentityChallenge `protobuf:"bytes,1,opt,name=identity_challenge,json=identityChallenge,proto3,oneof" firestore:"identityChallenge"`
}

type ProvisionHardwareResponse_ProvisioningResponse

type ProvisionHardwareResponse_ProvisioningResponse struct {
	ServiceAccount         *api.ServiceAccount       `` /* 130-byte string literal not displayed */
	ProvisioningPolicyName *provisioning_policy.Name `` /* 180-byte string literal not displayed */
	DeviceName             *device.Name              `` /* 130-byte string literal not displayed */
	// contains filtered or unexported fields
}

One of provisioning service_account and policy name or device service_account and device name will be returned.

func (*ProvisionHardwareResponse_ProvisioningResponse) Descriptor

Deprecated, Use ProvisionHardwareResponse_ProvisioningResponse.ProtoReflect.Descriptor instead.

func (*ProvisionHardwareResponse_ProvisioningResponse) GetDeviceName

func (*ProvisionHardwareResponse_ProvisioningResponse) GetProvisioningPolicyName

func (*ProvisionHardwareResponse_ProvisioningResponse) GetServiceAccount

func (*ProvisionHardwareResponse_ProvisioningResponse) GotenMessage

func (*ProvisionHardwareResponse_ProvisioningResponse) GotenValidate

func (*ProvisionHardwareResponse_ProvisioningResponse) Marshal

func (*ProvisionHardwareResponse_ProvisioningResponse) MarshalJSON

func (*ProvisionHardwareResponse_ProvisioningResponse) ProtoMessage

func (*ProvisionHardwareResponse_ProvisioningResponse) ProtoReflect

func (*ProvisionHardwareResponse_ProvisioningResponse) Reset

func (*ProvisionHardwareResponse_ProvisioningResponse) SetDeviceName

func (*ProvisionHardwareResponse_ProvisioningResponse) SetProvisioningPolicyName

func (*ProvisionHardwareResponse_ProvisioningResponse) SetServiceAccount

func (*ProvisionHardwareResponse_ProvisioningResponse) String

func (*ProvisionHardwareResponse_ProvisioningResponse) Unmarshal

func (*ProvisionHardwareResponse_ProvisioningResponse) UnmarshalJSON

type ProvisionHardwareResponse_ProvisioningResponse_

type ProvisionHardwareResponse_ProvisioningResponse_ struct {
	ProvisioningResponse *ProvisionHardwareResponse_ProvisioningResponse `protobuf:"bytes,2,opt,name=provisioning_response,json=provisioningResponse,proto3,oneof" firestore:"provisioningResponse"`
}

type ZtpProvisionHardwareServiceClient

type ZtpProvisionHardwareServiceClient interface {
	ProvisionHardware(ctx context.Context, opts ...grpc.CallOption) (ProvisionHardwareClientStream, error)
}

ZtpProvisionHardwareServiceClient is the client API for ZtpProvisionHardwareService.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

type ZtpProvisionHardwareServiceDescriptor

type ZtpProvisionHardwareServiceDescriptor struct{}

func GetZtpProvisionHardwareServiceDescriptor

func GetZtpProvisionHardwareServiceDescriptor() *ZtpProvisionHardwareServiceDescriptor

func (*ZtpProvisionHardwareServiceDescriptor) AllMethodDescriptors

func (*ZtpProvisionHardwareServiceDescriptor) GetApiName

func (*ZtpProvisionHardwareServiceDescriptor) GetFullAPIName

func (d *ZtpProvisionHardwareServiceDescriptor) GetFullAPIName() string

func (*ZtpProvisionHardwareServiceDescriptor) GetProtoPkgName

func (d *ZtpProvisionHardwareServiceDescriptor) GetProtoPkgName() string

func (*ZtpProvisionHardwareServiceDescriptor) GetServiceDomain

func (d *ZtpProvisionHardwareServiceDescriptor) GetServiceDomain() string

func (*ZtpProvisionHardwareServiceDescriptor) GetServiceVersion

func (d *ZtpProvisionHardwareServiceDescriptor) GetServiceVersion() string

Jump to

Keyboard shortcuts

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