api

package
v1.11.8 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2025 License: Apache-2.0 Imports: 18 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	TpmVersion_name = map[int32]string{
		0: "TPMVAGNOSTIC",
		1: "TPMV12",
		2: "TPMV20",
	}

	TpmVersion_value = map[string]int32{
		"TPMVAGNOSTIC": 0,
		"TPMV12":       1,
		"TPMV20":       2,
	}
)
View Source
var (
	DigestAlg_name = map[int32]string{
		0: "SHA1",
		1: "SHA256",
	}

	DigestAlg_value = map[string]int32{
		"SHA1":   0,
		"SHA256": 1,
	}
)
View Source
var (
	DeviceIdentity_ChallengeFormat_name = map[int32]string{
		0: "TPM20_CREDENTIAL",
	}

	DeviceIdentity_ChallengeFormat_value = map[string]int32{
		"TPM20_CREDENTIAL": 0,
	}
)
View Source
var (
	LaunchStage_name = map[int32]string{
		0: "LAUNCH_STAGE_UNSPECIFIED",
		1: "EARLY_ACCESS",
		2: "ALPHA",
		3: "BETA",
		4: "GA",
		5: "DEPRECATED",
	}

	LaunchStage_value = map[string]int32{
		"LAUNCH_STAGE_UNSPECIFIED": 0,
		"EARLY_ACCESS":             1,
		"ALPHA":                    2,
		"BETA":                     3,
		"GA":                       4,
		"DEPRECATED":               5,
	}
)

Functions

This section is empty.

Types

type Account

type Account struct {

	// Types that are valid to be assigned to Account:
	//	*Account_User
	//	*Account_ServiceAccount
	Account isAccount_Account `protobuf_oneof:"account"`
	// contains filtered or unexported fields
}

func (*Account) Descriptor

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

Deprecated, Use Account.ProtoReflect.Descriptor instead.

func (*Account) GetAccount

func (m *Account) GetAccount() isAccount_Account

func (*Account) GetServiceAccount

func (m *Account) GetServiceAccount() *ServiceAccount

func (*Account) GetUser

func (m *Account) GetUser() *User

func (*Account) GotenMessage

func (*Account) GotenMessage()

func (*Account) GotenValidate

func (obj *Account) GotenValidate() error

func (*Account) Marshal

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

func (*Account) MarshalJSON

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

func (*Account) ProtoMessage

func (*Account) ProtoMessage()

func (*Account) ProtoReflect

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

func (*Account) Reset

func (m *Account) Reset()

func (*Account) SetAccount

func (m *Account) SetAccount(ofv isAccount_Account)

func (*Account) SetServiceAccount

func (m *Account) SetServiceAccount(fv *ServiceAccount)

func (*Account) SetUser

func (m *Account) SetUser(fv *User)

func (*Account) String

func (m *Account) String() string

func (*Account) Unmarshal

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

func (*Account) UnmarshalJSON

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

type Account_ServiceAccount

type Account_ServiceAccount struct {
	ServiceAccount *ServiceAccount `protobuf:"bytes,3,opt,name=service_account,json=serviceAccount,proto3,oneof" firestore:"serviceAccount"`
}

type Account_User

type Account_User struct {
	User *User `protobuf:"bytes,2,opt,name=user,proto3,oneof" firestore:"user"`
}

type DeviceFileCheck added in v1.11.8

type DeviceFileCheck struct {
	FileType       *DeviceFileCheck_FileTypeOneOf `protobuf:"bytes,1,opt,name=file_type,json=fileType,proto3" json:"file_type,omitempty" firestore:"fileType"`
	DeviceFileName string                         `` /* 132-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*DeviceFileCheck) Descriptor added in v1.11.8

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

Deprecated, Use DeviceFileCheck.ProtoReflect.Descriptor instead.

func (*DeviceFileCheck) GetDeviceFileName added in v1.11.8

func (m *DeviceFileCheck) GetDeviceFileName() string

func (*DeviceFileCheck) GetFileType added in v1.11.8

func (*DeviceFileCheck) GotenMessage added in v1.11.8

func (*DeviceFileCheck) GotenMessage()

func (*DeviceFileCheck) GotenValidate added in v1.11.8

func (obj *DeviceFileCheck) GotenValidate() error

func (*DeviceFileCheck) Marshal added in v1.11.8

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

func (*DeviceFileCheck) MarshalJSON added in v1.11.8

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

func (*DeviceFileCheck) ProtoMessage added in v1.11.8

func (*DeviceFileCheck) ProtoMessage()

func (*DeviceFileCheck) ProtoReflect added in v1.11.8

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

func (*DeviceFileCheck) Reset added in v1.11.8

func (m *DeviceFileCheck) Reset()

func (*DeviceFileCheck) SetDeviceFileName added in v1.11.8

func (m *DeviceFileCheck) SetDeviceFileName(fv string)

func (*DeviceFileCheck) SetFileType added in v1.11.8

func (m *DeviceFileCheck) SetFileType(fv *DeviceFileCheck_FileTypeOneOf)

func (*DeviceFileCheck) String added in v1.11.8

func (m *DeviceFileCheck) String() string

func (*DeviceFileCheck) Unmarshal added in v1.11.8

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

func (*DeviceFileCheck) UnmarshalJSON added in v1.11.8

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

type DeviceFileCheck_FileTypeOneOf added in v1.11.8

type DeviceFileCheck_FileTypeOneOf struct {
	IsDirectory   bool `protobuf:"varint,1,opt,name=is_directory,json=isDirectory,proto3" json:"is_directory,omitempty" firestore:"isDirectory"`
	IsBlockDevice bool `` /* 129-byte string literal not displayed */
	IsCharDevice  bool `protobuf:"varint,3,opt,name=is_char_device,json=isCharDevice,proto3" json:"is_char_device,omitempty" firestore:"isCharDevice"`
	IsFifo        bool `protobuf:"varint,4,opt,name=is_fifo,json=isFifo,proto3" json:"is_fifo,omitempty" firestore:"isFifo"`
	IsRegularFile bool `` /* 129-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*DeviceFileCheck_FileTypeOneOf) Descriptor added in v1.11.8

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

Deprecated, Use DeviceFileCheck_FileTypeOneOf.ProtoReflect.Descriptor instead.

func (*DeviceFileCheck_FileTypeOneOf) GetIsBlockDevice added in v1.11.8

func (m *DeviceFileCheck_FileTypeOneOf) GetIsBlockDevice() bool

func (*DeviceFileCheck_FileTypeOneOf) GetIsCharDevice added in v1.11.8

func (m *DeviceFileCheck_FileTypeOneOf) GetIsCharDevice() bool

func (*DeviceFileCheck_FileTypeOneOf) GetIsDirectory added in v1.11.8

func (m *DeviceFileCheck_FileTypeOneOf) GetIsDirectory() bool

func (*DeviceFileCheck_FileTypeOneOf) GetIsFifo added in v1.11.8

func (m *DeviceFileCheck_FileTypeOneOf) GetIsFifo() bool

func (*DeviceFileCheck_FileTypeOneOf) GetIsRegularFile added in v1.11.8

func (m *DeviceFileCheck_FileTypeOneOf) GetIsRegularFile() bool

func (*DeviceFileCheck_FileTypeOneOf) GotenMessage added in v1.11.8

func (*DeviceFileCheck_FileTypeOneOf) GotenMessage()

func (*DeviceFileCheck_FileTypeOneOf) GotenValidate added in v1.11.8

func (obj *DeviceFileCheck_FileTypeOneOf) GotenValidate() error

func (*DeviceFileCheck_FileTypeOneOf) Marshal added in v1.11.8

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

func (*DeviceFileCheck_FileTypeOneOf) MarshalJSON added in v1.11.8

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

func (*DeviceFileCheck_FileTypeOneOf) ProtoMessage added in v1.11.8

func (*DeviceFileCheck_FileTypeOneOf) ProtoMessage()

func (*DeviceFileCheck_FileTypeOneOf) ProtoReflect added in v1.11.8

func (*DeviceFileCheck_FileTypeOneOf) Reset added in v1.11.8

func (m *DeviceFileCheck_FileTypeOneOf) Reset()

func (*DeviceFileCheck_FileTypeOneOf) SetIsBlockDevice added in v1.11.8

func (m *DeviceFileCheck_FileTypeOneOf) SetIsBlockDevice(fv bool)

func (*DeviceFileCheck_FileTypeOneOf) SetIsCharDevice added in v1.11.8

func (m *DeviceFileCheck_FileTypeOneOf) SetIsCharDevice(fv bool)

func (*DeviceFileCheck_FileTypeOneOf) SetIsDirectory added in v1.11.8

func (m *DeviceFileCheck_FileTypeOneOf) SetIsDirectory(fv bool)

func (*DeviceFileCheck_FileTypeOneOf) SetIsFifo added in v1.11.8

func (m *DeviceFileCheck_FileTypeOneOf) SetIsFifo(fv bool)

func (*DeviceFileCheck_FileTypeOneOf) SetIsRegularFile added in v1.11.8

func (m *DeviceFileCheck_FileTypeOneOf) SetIsRegularFile(fv bool)

func (*DeviceFileCheck_FileTypeOneOf) String added in v1.11.8

func (*DeviceFileCheck_FileTypeOneOf) Unmarshal added in v1.11.8

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

func (*DeviceFileCheck_FileTypeOneOf) UnmarshalJSON added in v1.11.8

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

type DeviceIdentity added in v1.0.21

type DeviceIdentity struct {
	SerialNumber string `protobuf:"bytes,1,opt,name=serial_number,json=serialNumber,proto3" json:"serial_number,omitempty" firestore:"serialNumber"`
	Manufacturer string `protobuf:"bytes,2,opt,name=manufacturer,proto3" json:"manufacturer,omitempty" firestore:"manufacturer"`
	ProductName  string `protobuf:"bytes,3,opt,name=product_name,json=productName,proto3" json:"product_name,omitempty" firestore:"productName"`
	// Only TPM2.0 is supported
	TpmVersion TpmVersion `` /* 139-byte string literal not displayed */
	// TPM_PUBLIC format object obtained by tpm2.ReadPublic
	EkTpmPub []byte `protobuf:"bytes,5,opt,name=ek_tpm_pub,json=ekTpmPub,proto3" json:"ek_tpm_pub,omitempty" firestore:"ekTpmPub"`
	// ASN.1 DER encoded EK certificate.
	Ekcert []byte `protobuf:"bytes,6,opt,name=ekcert,proto3" json:"ekcert,omitempty" firestore:"ekcert"`
	// For Intel TPMs, Intel hosts certificates at a public URL derived from the
	// Public key. Clients or servers can perform an HTTP GET to this URL, and
	// use ParseEKCertificate on the response body.
	Ekcerturl string `protobuf:"bytes,7,opt,name=ekcerturl,proto3" json:"ekcerturl,omitempty" firestore:"ekcerturl"`
	// TPM_PUBLIC format object obtained by tpm2.ReadPublic
	IdevidCertTpmPub []byte `` /* 142-byte string literal not displayed */
	// ASN.1 DER encoded IDevID certificate.
	IdevidCert []byte `protobuf:"bytes,9,opt,name=idevid_cert,json=idevidCert,proto3" json:"idevid_cert,omitempty" firestore:"idevidCert"`
	// TPM_PUBLIC format object obtained by tpm2.ReadPublic
	LdevidCertTpmPub []byte `` /* 143-byte string literal not displayed */
	// ASN.1 DER encoded LDevID certificate.
	LdevidCert []byte                            `protobuf:"bytes,11,opt,name=ldevid_cert,json=ldevidCert,proto3" json:"ldevid_cert,omitempty" firestore:"ldevidCert"`
	AkParams   *DeviceIdentity_AttestationParams `protobuf:"bytes,12,opt,name=ak_params,json=akParams,proto3" json:"ak_params,omitempty" firestore:"akParams"`
	// ChallengeFormat defines the method of generating identity activation
	// challenge by the Verifier (server). It should affect the interpretation
	// ChallengeResponse fields cred_encrypted_by_ekpub and
	// secret_encrypted_by_cred. Attestor (client) is responsible for chosing
	// the right format depending on TPM version and the presence of TrouSerS
	// daemon.
	ChallengeFormat DeviceIdentity_ChallengeFormat `` /* 180-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*DeviceIdentity) Descriptor added in v1.0.21

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

Deprecated, Use DeviceIdentity.ProtoReflect.Descriptor instead.

func (*DeviceIdentity) GetAkParams added in v1.0.21

func (*DeviceIdentity) GetChallengeFormat added in v1.0.21

func (m *DeviceIdentity) GetChallengeFormat() DeviceIdentity_ChallengeFormat

func (*DeviceIdentity) GetEkTpmPub added in v1.0.21

func (m *DeviceIdentity) GetEkTpmPub() []byte

func (*DeviceIdentity) GetEkcert added in v1.0.21

func (m *DeviceIdentity) GetEkcert() []byte

func (*DeviceIdentity) GetEkcerturl added in v1.0.21

func (m *DeviceIdentity) GetEkcerturl() string

func (*DeviceIdentity) GetIdevidCert added in v1.0.21

func (m *DeviceIdentity) GetIdevidCert() []byte

func (*DeviceIdentity) GetIdevidCertTpmPub added in v1.0.21

func (m *DeviceIdentity) GetIdevidCertTpmPub() []byte

func (*DeviceIdentity) GetLdevidCert added in v1.0.21

func (m *DeviceIdentity) GetLdevidCert() []byte

func (*DeviceIdentity) GetLdevidCertTpmPub added in v1.0.21

func (m *DeviceIdentity) GetLdevidCertTpmPub() []byte

func (*DeviceIdentity) GetManufacturer added in v1.0.21

func (m *DeviceIdentity) GetManufacturer() string

func (*DeviceIdentity) GetProductName added in v1.0.21

func (m *DeviceIdentity) GetProductName() string

func (*DeviceIdentity) GetSerialNumber added in v1.0.21

func (m *DeviceIdentity) GetSerialNumber() string

func (*DeviceIdentity) GetTpmVersion added in v1.0.21

func (m *DeviceIdentity) GetTpmVersion() TpmVersion

func (*DeviceIdentity) GotenMessage added in v1.0.21

func (*DeviceIdentity) GotenMessage()

func (*DeviceIdentity) GotenValidate added in v1.0.21

func (obj *DeviceIdentity) GotenValidate() error

func (*DeviceIdentity) Marshal added in v1.0.21

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

func (*DeviceIdentity) MarshalJSON added in v1.0.21

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

func (*DeviceIdentity) ProtoMessage added in v1.0.21

func (*DeviceIdentity) ProtoMessage()

func (*DeviceIdentity) ProtoReflect added in v1.0.21

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

func (*DeviceIdentity) Reset added in v1.0.21

func (m *DeviceIdentity) Reset()

func (*DeviceIdentity) SetAkParams added in v1.0.21

func (*DeviceIdentity) SetChallengeFormat added in v1.0.21

func (m *DeviceIdentity) SetChallengeFormat(fv DeviceIdentity_ChallengeFormat)

func (*DeviceIdentity) SetEkTpmPub added in v1.0.21

func (m *DeviceIdentity) SetEkTpmPub(fv []byte)

func (*DeviceIdentity) SetEkcert added in v1.0.21

func (m *DeviceIdentity) SetEkcert(fv []byte)

func (*DeviceIdentity) SetEkcerturl added in v1.0.21

func (m *DeviceIdentity) SetEkcerturl(fv string)

func (*DeviceIdentity) SetIdevidCert added in v1.0.21

func (m *DeviceIdentity) SetIdevidCert(fv []byte)

func (*DeviceIdentity) SetIdevidCertTpmPub added in v1.0.21

func (m *DeviceIdentity) SetIdevidCertTpmPub(fv []byte)

func (*DeviceIdentity) SetLdevidCert added in v1.0.21

func (m *DeviceIdentity) SetLdevidCert(fv []byte)

func (*DeviceIdentity) SetLdevidCertTpmPub added in v1.0.21

func (m *DeviceIdentity) SetLdevidCertTpmPub(fv []byte)

func (*DeviceIdentity) SetManufacturer added in v1.0.21

func (m *DeviceIdentity) SetManufacturer(fv string)

func (*DeviceIdentity) SetProductName added in v1.0.21

func (m *DeviceIdentity) SetProductName(fv string)

func (*DeviceIdentity) SetSerialNumber added in v1.0.21

func (m *DeviceIdentity) SetSerialNumber(fv string)

func (*DeviceIdentity) SetTpmVersion added in v1.0.21

func (m *DeviceIdentity) SetTpmVersion(fv TpmVersion)

func (*DeviceIdentity) String added in v1.0.21

func (m *DeviceIdentity) String() string

func (*DeviceIdentity) Unmarshal added in v1.0.21

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

func (*DeviceIdentity) UnmarshalJSON added in v1.0.21

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

type DeviceIdentity_AttestationParams added in v1.0.21

type DeviceIdentity_AttestationParams struct {

	// https: //
	// trustedcomputinggroup.org/wp-content/uploads/TPM-Main-Part-2-TPM-Structures_v1.2_rev116_01032011.pdf
	// https: //
	// www.trustedcomputinggroup.org/wp-content/uploads/TPM-Rev-2.0-Part-2-Structures-01.38.pdf
	// TPMT_PUBLIC (TPM 2.0) or TPM_PUBKEY (TPM 1.2)
	Akpub []byte `protobuf:"bytes,1,opt,name=akpub,proto3" json:"akpub,omitempty" firestore:"akpub"`
	// TPMS_CREATION_DATA
	CreationData []byte `protobuf:"bytes,2,opt,name=creation_data,json=creationData,proto3" json:"creation_data,omitempty" firestore:"creationData"`
	// TPMS_ATTEST
	Attest []byte `protobuf:"bytes,3,opt,name=attest,proto3" json:"attest,omitempty" firestore:"attest"`
	// TPMT_SIGNATURE
	Signature []byte `protobuf:"bytes,4,opt,name=signature,proto3" json:"signature,omitempty" firestore:"signature"`
	// contains filtered or unexported fields
}

func (*DeviceIdentity_AttestationParams) Descriptor added in v1.0.21

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

Deprecated, Use DeviceIdentity_AttestationParams.ProtoReflect.Descriptor instead.

func (*DeviceIdentity_AttestationParams) GetAkpub added in v1.0.21

func (m *DeviceIdentity_AttestationParams) GetAkpub() []byte

func (*DeviceIdentity_AttestationParams) GetAttest added in v1.0.21

func (m *DeviceIdentity_AttestationParams) GetAttest() []byte

func (*DeviceIdentity_AttestationParams) GetCreationData added in v1.0.21

func (m *DeviceIdentity_AttestationParams) GetCreationData() []byte

func (*DeviceIdentity_AttestationParams) GetSignature added in v1.0.21

func (m *DeviceIdentity_AttestationParams) GetSignature() []byte

func (*DeviceIdentity_AttestationParams) GotenMessage added in v1.0.21

func (*DeviceIdentity_AttestationParams) GotenMessage()

func (*DeviceIdentity_AttestationParams) GotenValidate added in v1.0.21

func (obj *DeviceIdentity_AttestationParams) GotenValidate() error

func (*DeviceIdentity_AttestationParams) Marshal added in v1.0.21

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

func (*DeviceIdentity_AttestationParams) MarshalJSON added in v1.0.21

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

func (*DeviceIdentity_AttestationParams) ProtoMessage added in v1.0.21

func (*DeviceIdentity_AttestationParams) ProtoMessage()

func (*DeviceIdentity_AttestationParams) ProtoReflect added in v1.0.21

func (*DeviceIdentity_AttestationParams) Reset added in v1.0.21

func (*DeviceIdentity_AttestationParams) SetAkpub added in v1.0.21

func (m *DeviceIdentity_AttestationParams) SetAkpub(fv []byte)

func (*DeviceIdentity_AttestationParams) SetAttest added in v1.0.21

func (m *DeviceIdentity_AttestationParams) SetAttest(fv []byte)

func (*DeviceIdentity_AttestationParams) SetCreationData added in v1.0.21

func (m *DeviceIdentity_AttestationParams) SetCreationData(fv []byte)

func (*DeviceIdentity_AttestationParams) SetSignature added in v1.0.21

func (m *DeviceIdentity_AttestationParams) SetSignature(fv []byte)

func (*DeviceIdentity_AttestationParams) String added in v1.0.21

func (*DeviceIdentity_AttestationParams) Unmarshal added in v1.0.21

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

func (*DeviceIdentity_AttestationParams) UnmarshalJSON added in v1.0.21

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

type DeviceIdentity_ChallengeFormat added in v1.0.21

type DeviceIdentity_ChallengeFormat int32
const (
	// Credential Protection as defined in section 24 of the TPM specification
	// revision 2 part 1 See:
	// https://trustedcomputinggroup.org/resource/tpm-library-specification/
	// Returned primitives are of type TPM2B_ID_OBJECT and
	// TPM2B_ENCRYPTED_SECRET.
	// NOTE: ECC is not supported.
	//
	// Reference implementation:
	//  github.com/google/go-attestation@v0.3.2/attest/activation.go:generateChallengeTPM20,
	//  which uses
	//  github.com/google/go-tmp@v0.3.2/tmp2/credactivation/credential_activation.go:Generate
	DeviceIdentity_TPM20_CREDENTIAL DeviceIdentity_ChallengeFormat = 0
)

func (DeviceIdentity_ChallengeFormat) Descriptor added in v1.0.21

func (DeviceIdentity_ChallengeFormat) Enum added in v1.0.21

func (DeviceIdentity_ChallengeFormat) EnumDescriptor added in v1.0.21

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

Deprecated, Use DeviceIdentity_ChallengeFormat.ProtoReflect.Descriptor instead.

func (DeviceIdentity_ChallengeFormat) Number added in v1.0.21

func (DeviceIdentity_ChallengeFormat) String added in v1.0.21

func (DeviceIdentity_ChallengeFormat) Type added in v1.0.21

type DigestAlg added in v1.0.21

type DigestAlg int32
const (
	DigestAlg_SHA1   DigestAlg = 0
	DigestAlg_SHA256 DigestAlg = 1
)

func (DigestAlg) Descriptor added in v1.0.21

func (DigestAlg) Descriptor() preflect.EnumDescriptor

func (DigestAlg) Enum added in v1.0.21

func (x DigestAlg) Enum() *DigestAlg

func (DigestAlg) EnumDescriptor added in v1.0.21

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

Deprecated, Use DigestAlg.ProtoReflect.Descriptor instead.

func (DigestAlg) Number added in v1.0.21

func (x DigestAlg) Number() preflect.EnumNumber

func (DigestAlg) String added in v1.0.21

func (x DigestAlg) String() string

func (DigestAlg) Type added in v1.0.21

func (DigestAlg) Type() preflect.EnumType

type ExecCheck added in v1.11.8

type ExecCheck struct {

	// Command is the command line to execute inside the container, the
	// working directory for the command  is root ('/') in the container's
	// filesystem. The command is simply exec'd, it is not run inside a shell,
	// so traditional shell instructions ('|', etc) won't work. To use a
	// shell, you need to explicitly call out to that shell. Exit status of 0
	// is treated as live/healthy and non-zero is unhealthy.
	Command []string `protobuf:"bytes,1,rep,name=command,proto3" json:"command,omitempty" firestore:"command"`
	// contains filtered or unexported fields
}

ExecCheck describes a "run in container" action.

func (*ExecCheck) Descriptor added in v1.11.8

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

Deprecated, Use ExecCheck.ProtoReflect.Descriptor instead.

func (*ExecCheck) GetCommand added in v1.11.8

func (m *ExecCheck) GetCommand() []string

func (*ExecCheck) GotenMessage added in v1.11.8

func (*ExecCheck) GotenMessage()

func (*ExecCheck) GotenValidate added in v1.11.8

func (obj *ExecCheck) GotenValidate() error

func (*ExecCheck) Marshal added in v1.11.8

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

func (*ExecCheck) MarshalJSON added in v1.11.8

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

func (*ExecCheck) ProtoMessage added in v1.11.8

func (*ExecCheck) ProtoMessage()

func (*ExecCheck) ProtoReflect added in v1.11.8

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

func (*ExecCheck) Reset added in v1.11.8

func (m *ExecCheck) Reset()

func (*ExecCheck) SetCommand added in v1.11.8

func (m *ExecCheck) SetCommand(fv []string)

func (*ExecCheck) String added in v1.11.8

func (m *ExecCheck) String() string

func (*ExecCheck) Unmarshal added in v1.11.8

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

func (*ExecCheck) UnmarshalJSON added in v1.11.8

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

type GRPCCheck added in v1.11.8

type GRPCCheck struct {

	// Port number of the gRPC service. Number must be in the range 1 to
	// 65535.
	Port int32 `protobuf:"varint,1,opt,name=port,proto3" json:"port,omitempty" firestore:"port"`
	// Service is the name of the service to place in the gRPC
	// HealthCheckRequest (see
	// https://github.com/grpc/grpc/blob/master/doc/health-checking.md).
	//
	// If this is not specified, the default behavior is defined by gRPC.
	Service string `protobuf:"bytes,2,opt,name=service,proto3" json:"service,omitempty" firestore:"service"`
	// Host name to connect to.
	// For containers this defaults to the container IP or wan interface IP in
	// host mode networking For device, this is a mandatory parameter
	Host         string `protobuf:"bytes,3,opt,name=host,proto3" json:"host,omitempty" firestore:"host"`
	SkipTlsCheck bool   `protobuf:"varint,4,opt,name=skip_tls_check,json=skipTlsCheck,proto3" json:"skip_tls_check,omitempty" firestore:"skipTlsCheck"`
	// contains filtered or unexported fields
}

func (*GRPCCheck) Descriptor added in v1.11.8

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

Deprecated, Use GRPCCheck.ProtoReflect.Descriptor instead.

func (*GRPCCheck) GetHost added in v1.11.8

func (m *GRPCCheck) GetHost() string

func (*GRPCCheck) GetPort added in v1.11.8

func (m *GRPCCheck) GetPort() int32

func (*GRPCCheck) GetService added in v1.11.8

func (m *GRPCCheck) GetService() string

func (*GRPCCheck) GetSkipTlsCheck added in v1.11.8

func (m *GRPCCheck) GetSkipTlsCheck() bool

func (*GRPCCheck) GotenMessage added in v1.11.8

func (*GRPCCheck) GotenMessage()

func (*GRPCCheck) GotenValidate added in v1.11.8

func (obj *GRPCCheck) GotenValidate() error

func (*GRPCCheck) Marshal added in v1.11.8

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

func (*GRPCCheck) MarshalJSON added in v1.11.8

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

func (*GRPCCheck) ProtoMessage added in v1.11.8

func (*GRPCCheck) ProtoMessage()

func (*GRPCCheck) ProtoReflect added in v1.11.8

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

func (*GRPCCheck) Reset added in v1.11.8

func (m *GRPCCheck) Reset()

func (*GRPCCheck) SetHost added in v1.11.8

func (m *GRPCCheck) SetHost(fv string)

func (*GRPCCheck) SetPort added in v1.11.8

func (m *GRPCCheck) SetPort(fv int32)

func (*GRPCCheck) SetService added in v1.11.8

func (m *GRPCCheck) SetService(fv string)

func (*GRPCCheck) SetSkipTlsCheck added in v1.11.8

func (m *GRPCCheck) SetSkipTlsCheck(fv bool)

func (*GRPCCheck) String added in v1.11.8

func (m *GRPCCheck) String() string

func (*GRPCCheck) Unmarshal added in v1.11.8

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

func (*GRPCCheck) UnmarshalJSON added in v1.11.8

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

type HTTPGetCheck added in v1.11.8

type HTTPGetCheck struct {

	// http_url field has to be used when the IP to perform health check is a
	// container IP that cannot not be known beforehand,  In all other cases,
	// simple url string can be used
	// Although not explicitly declared as oneof, url and http_url is oneof type
	Url     string                `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty" firestore:"url"`
	HttpUrl *HTTPGetCheck_HTTPUrl `protobuf:"bytes,2,opt,name=http_url,json=httpUrl,proto3" json:"http_url,omitempty" firestore:"httpUrl"`
	// Custom headers to set in the request. HTTP allows repeated headers.
	// optional
	HttpHeaders  []*HTTPGetCheck_HTTPHeader `protobuf:"bytes,3,rep,name=httpHeaders,proto3" json:"httpHeaders,omitempty" firestore:"httpHeaders"`
	SkipTlsCheck bool                       `protobuf:"varint,4,opt,name=skip_tls_check,json=skipTlsCheck,proto3" json:"skip_tls_check,omitempty" firestore:"skipTlsCheck"`
	// optional. By default any response code >= 400 or response code == 300 are
	// considered as failure Sometimes, the health check might actually expect
	// 401/403/511 without proper authentication setting expected_response_code
	// will help to consider this as successful for health check
	ExpectedResponseCode int32 `` /* 157-byte string literal not displayed */
	// By default only Success or Failure metric will be generated.
	// This field can be used to enable response time metric and network metrics
	// if supported
	EnableDetailedMetrics bool `` /* 161-byte string literal not displayed */
	// contains filtered or unexported fields
}

HTTPGetCheck describes health check based on HTTP Get requests.

func (*HTTPGetCheck) Descriptor added in v1.11.8

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

Deprecated, Use HTTPGetCheck.ProtoReflect.Descriptor instead.

func (*HTTPGetCheck) GetEnableDetailedMetrics added in v1.11.8

func (m *HTTPGetCheck) GetEnableDetailedMetrics() bool

func (*HTTPGetCheck) GetExpectedResponseCode added in v1.11.8

func (m *HTTPGetCheck) GetExpectedResponseCode() int32

func (*HTTPGetCheck) GetHttpHeaders added in v1.11.8

func (m *HTTPGetCheck) GetHttpHeaders() []*HTTPGetCheck_HTTPHeader

func (*HTTPGetCheck) GetHttpUrl added in v1.11.8

func (m *HTTPGetCheck) GetHttpUrl() *HTTPGetCheck_HTTPUrl

func (*HTTPGetCheck) GetSkipTlsCheck added in v1.11.8

func (m *HTTPGetCheck) GetSkipTlsCheck() bool

func (*HTTPGetCheck) GetUrl added in v1.11.8

func (m *HTTPGetCheck) GetUrl() string

func (*HTTPGetCheck) GotenMessage added in v1.11.8

func (*HTTPGetCheck) GotenMessage()

func (*HTTPGetCheck) GotenValidate added in v1.11.8

func (obj *HTTPGetCheck) GotenValidate() error

func (*HTTPGetCheck) Marshal added in v1.11.8

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

func (*HTTPGetCheck) MarshalJSON added in v1.11.8

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

func (*HTTPGetCheck) ProtoMessage added in v1.11.8

func (*HTTPGetCheck) ProtoMessage()

func (*HTTPGetCheck) ProtoReflect added in v1.11.8

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

func (*HTTPGetCheck) Reset added in v1.11.8

func (m *HTTPGetCheck) Reset()

func (*HTTPGetCheck) SetEnableDetailedMetrics added in v1.11.8

func (m *HTTPGetCheck) SetEnableDetailedMetrics(fv bool)

func (*HTTPGetCheck) SetExpectedResponseCode added in v1.11.8

func (m *HTTPGetCheck) SetExpectedResponseCode(fv int32)

func (*HTTPGetCheck) SetHttpHeaders added in v1.11.8

func (m *HTTPGetCheck) SetHttpHeaders(fv []*HTTPGetCheck_HTTPHeader)

func (*HTTPGetCheck) SetHttpUrl added in v1.11.8

func (m *HTTPGetCheck) SetHttpUrl(fv *HTTPGetCheck_HTTPUrl)

func (*HTTPGetCheck) SetSkipTlsCheck added in v1.11.8

func (m *HTTPGetCheck) SetSkipTlsCheck(fv bool)

func (*HTTPGetCheck) SetUrl added in v1.11.8

func (m *HTTPGetCheck) SetUrl(fv string)

func (*HTTPGetCheck) String added in v1.11.8

func (m *HTTPGetCheck) String() string

func (*HTTPGetCheck) Unmarshal added in v1.11.8

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

func (*HTTPGetCheck) UnmarshalJSON added in v1.11.8

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

type HTTPGetCheck_HTTPHeader added in v1.11.8

type HTTPGetCheck_HTTPHeader struct {

	// The header field name.
	// This will be canonicalized upon output, so case-variant names will be
	// understood as the same header.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty" firestore:"name"`
	// The header field value
	Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty" firestore:"value"`
	// contains filtered or unexported fields
}

HTTPHeader describes a custom header to be used in HTTP HealthChecks

func (*HTTPGetCheck_HTTPHeader) Descriptor added in v1.11.8

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

Deprecated, Use HTTPGetCheck_HTTPHeader.ProtoReflect.Descriptor instead.

func (*HTTPGetCheck_HTTPHeader) GetName added in v1.11.8

func (m *HTTPGetCheck_HTTPHeader) GetName() string

func (*HTTPGetCheck_HTTPHeader) GetValue added in v1.11.8

func (m *HTTPGetCheck_HTTPHeader) GetValue() string

func (*HTTPGetCheck_HTTPHeader) GotenMessage added in v1.11.8

func (*HTTPGetCheck_HTTPHeader) GotenMessage()

func (*HTTPGetCheck_HTTPHeader) GotenValidate added in v1.11.8

func (obj *HTTPGetCheck_HTTPHeader) GotenValidate() error

func (*HTTPGetCheck_HTTPHeader) Marshal added in v1.11.8

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

func (*HTTPGetCheck_HTTPHeader) MarshalJSON added in v1.11.8

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

func (*HTTPGetCheck_HTTPHeader) ProtoMessage added in v1.11.8

func (*HTTPGetCheck_HTTPHeader) ProtoMessage()

func (*HTTPGetCheck_HTTPHeader) ProtoReflect added in v1.11.8

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

func (*HTTPGetCheck_HTTPHeader) Reset added in v1.11.8

func (m *HTTPGetCheck_HTTPHeader) Reset()

func (*HTTPGetCheck_HTTPHeader) SetName added in v1.11.8

func (m *HTTPGetCheck_HTTPHeader) SetName(fv string)

func (*HTTPGetCheck_HTTPHeader) SetValue added in v1.11.8

func (m *HTTPGetCheck_HTTPHeader) SetValue(fv string)

func (*HTTPGetCheck_HTTPHeader) String added in v1.11.8

func (m *HTTPGetCheck_HTTPHeader) String() string

func (*HTTPGetCheck_HTTPHeader) Unmarshal added in v1.11.8

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

func (*HTTPGetCheck_HTTPHeader) UnmarshalJSON added in v1.11.8

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

type HTTPGetCheck_HTTPUrl added in v1.11.8

type HTTPGetCheck_HTTPUrl struct {

	// Path to access on the HTTP server, defaults to /
	Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty" firestore:"path"`
	// port to access on the container. defaults to 80 for http and 443 for
	// https Number must be in the range 1 to 65535.
	Port int32 `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty" firestore:"port"`
	// Host name to connect to.
	// For containers this defaults to the container IP or wan interface IP in
	// host mode networking For device, this is a mandatory parameter
	Host string `protobuf:"bytes,3,opt,name=host,proto3" json:"host,omitempty" firestore:"host"`
	// Scheme to use for connecting to the host.
	// optional, defaults to HTTP.
	Scheme string `protobuf:"bytes,4,opt,name=scheme,proto3" json:"scheme,omitempty" firestore:"scheme"`
	// contains filtered or unexported fields
}

func (*HTTPGetCheck_HTTPUrl) Descriptor added in v1.11.8

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

Deprecated, Use HTTPGetCheck_HTTPUrl.ProtoReflect.Descriptor instead.

func (*HTTPGetCheck_HTTPUrl) GetHost added in v1.11.8

func (m *HTTPGetCheck_HTTPUrl) GetHost() string

func (*HTTPGetCheck_HTTPUrl) GetPath added in v1.11.8

func (m *HTTPGetCheck_HTTPUrl) GetPath() string

func (*HTTPGetCheck_HTTPUrl) GetPort added in v1.11.8

func (m *HTTPGetCheck_HTTPUrl) GetPort() int32

func (*HTTPGetCheck_HTTPUrl) GetScheme added in v1.11.8

func (m *HTTPGetCheck_HTTPUrl) GetScheme() string

func (*HTTPGetCheck_HTTPUrl) GotenMessage added in v1.11.8

func (*HTTPGetCheck_HTTPUrl) GotenMessage()

func (*HTTPGetCheck_HTTPUrl) GotenValidate added in v1.11.8

func (obj *HTTPGetCheck_HTTPUrl) GotenValidate() error

func (*HTTPGetCheck_HTTPUrl) Marshal added in v1.11.8

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

func (*HTTPGetCheck_HTTPUrl) MarshalJSON added in v1.11.8

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

func (*HTTPGetCheck_HTTPUrl) ProtoMessage added in v1.11.8

func (*HTTPGetCheck_HTTPUrl) ProtoMessage()

func (*HTTPGetCheck_HTTPUrl) ProtoReflect added in v1.11.8

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

func (*HTTPGetCheck_HTTPUrl) Reset added in v1.11.8

func (m *HTTPGetCheck_HTTPUrl) Reset()

func (*HTTPGetCheck_HTTPUrl) SetHost added in v1.11.8

func (m *HTTPGetCheck_HTTPUrl) SetHost(fv string)

func (*HTTPGetCheck_HTTPUrl) SetPath added in v1.11.8

func (m *HTTPGetCheck_HTTPUrl) SetPath(fv string)

func (*HTTPGetCheck_HTTPUrl) SetPort added in v1.11.8

func (m *HTTPGetCheck_HTTPUrl) SetPort(fv int32)

func (*HTTPGetCheck_HTTPUrl) SetScheme added in v1.11.8

func (m *HTTPGetCheck_HTTPUrl) SetScheme(fv string)

func (*HTTPGetCheck_HTTPUrl) String added in v1.11.8

func (m *HTTPGetCheck_HTTPUrl) String() string

func (*HTTPGetCheck_HTTPUrl) Unmarshal added in v1.11.8

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

func (*HTTPGetCheck_HTTPUrl) UnmarshalJSON added in v1.11.8

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

type HealthCheckSpec added in v1.11.8

type HealthCheckSpec struct {

	// http_get_check specifies the http request to perform.
	HttpGetCheck *HTTPGetCheck `protobuf:"bytes,1,opt,name=http_get_check,json=httpGetCheck,proto3" json:"http_get_check,omitempty" firestore:"httpGetCheck"`
	// tcp_check specifies an action involving a TCP port.
	TcpCheck *TCPCheck `protobuf:"bytes,2,opt,name=tcp_check,json=tcpCheck,proto3" json:"tcp_check,omitempty" firestore:"tcpCheck"`
	// icmp_check specifies an icmp health check
	IcmpCheck *ICMPCheck `protobuf:"bytes,3,opt,name=icmp_check,json=icmpCheck,proto3" json:"icmp_check,omitempty" firestore:"icmpCheck"`
	// GRPC specifies an action involving a GRPC port.
	// It is essential that the grpc server inplements this api
	// https://github.com/grpc/grpc/blob/master/doc/health-checking.md
	// If not, tcp_check should be used.
	GrpcCheck *GRPCCheck `protobuf:"bytes,4,opt,name=grpc_check,json=grpcCheck,proto3" json:"grpc_check,omitempty" firestore:"grpcCheck"`
	// Exec specifies the command to execute in the container to determine its
	// health
	Exec *ExecCheck `protobuf:"bytes,5,opt,name=exec,proto3" json:"exec,omitempty" firestore:"exec"`
	// device_file_check is only available for device.
	// It can be configured to ensure specific hardware is connected
	// (eg modem /dev/cdc-wdm0, RFID reader device /dev/ttyACM0 etc)
	DeviceFileCheck *DeviceFileCheck `` /* 136-byte string literal not displayed */
	// Timeout for the HealthCheck.
	// Defaults to 1 second, greater than 5 seconds is not allowed
	Timeout *durationpb.Duration `protobuf:"bytes,7,opt,name=timeout,proto3" json:"timeout,omitempty" firestore:"timeout"`
	// Interval for health check, 60 seconds minimum interval
	Interval *durationpb.Duration `protobuf:"bytes,8,opt,name=interval,proto3" json:"interval,omitempty" firestore:"interval"`
	// name for the health check. A meaningful name for this might be useful as a
	// metrics label
	Name string `protobuf:"bytes,9,opt,name=name,proto3" json:"name,omitempty" firestore:"name"`
	// contains filtered or unexported fields
}

HealthCheck describes a health check to be performed in the context of a device or a container. Only the exec check can be truly executed inside a container. All the other checks are run on the host device. When run for device health check, host/IP address is mandatory for connectivity checks. For container health checks, host/IP is optional and would default to IP address of the container. It is important to note that a health check for https://endpoint.com/api defined for a container would be run from the host device and not from withthin the container

func (*HealthCheckSpec) Descriptor added in v1.11.8

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

Deprecated, Use HealthCheckSpec.ProtoReflect.Descriptor instead.

func (*HealthCheckSpec) GetDeviceFileCheck added in v1.11.8

func (m *HealthCheckSpec) GetDeviceFileCheck() *DeviceFileCheck

func (*HealthCheckSpec) GetExec added in v1.11.8

func (m *HealthCheckSpec) GetExec() *ExecCheck

func (*HealthCheckSpec) GetGrpcCheck added in v1.11.8

func (m *HealthCheckSpec) GetGrpcCheck() *GRPCCheck

func (*HealthCheckSpec) GetHttpGetCheck added in v1.11.8

func (m *HealthCheckSpec) GetHttpGetCheck() *HTTPGetCheck

func (*HealthCheckSpec) GetIcmpCheck added in v1.11.8

func (m *HealthCheckSpec) GetIcmpCheck() *ICMPCheck

func (*HealthCheckSpec) GetInterval added in v1.11.8

func (m *HealthCheckSpec) GetInterval() *durationpb.Duration

func (*HealthCheckSpec) GetName added in v1.11.8

func (m *HealthCheckSpec) GetName() string

func (*HealthCheckSpec) GetTcpCheck added in v1.11.8

func (m *HealthCheckSpec) GetTcpCheck() *TCPCheck

func (*HealthCheckSpec) GetTimeout added in v1.11.8

func (m *HealthCheckSpec) GetTimeout() *durationpb.Duration

func (*HealthCheckSpec) GotenMessage added in v1.11.8

func (*HealthCheckSpec) GotenMessage()

func (*HealthCheckSpec) GotenValidate added in v1.11.8

func (obj *HealthCheckSpec) GotenValidate() error

func (*HealthCheckSpec) Marshal added in v1.11.8

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

func (*HealthCheckSpec) MarshalJSON added in v1.11.8

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

func (*HealthCheckSpec) ProtoMessage added in v1.11.8

func (*HealthCheckSpec) ProtoMessage()

func (*HealthCheckSpec) ProtoReflect added in v1.11.8

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

func (*HealthCheckSpec) Reset added in v1.11.8

func (m *HealthCheckSpec) Reset()

func (*HealthCheckSpec) SetDeviceFileCheck added in v1.11.8

func (m *HealthCheckSpec) SetDeviceFileCheck(fv *DeviceFileCheck)

func (*HealthCheckSpec) SetExec added in v1.11.8

func (m *HealthCheckSpec) SetExec(fv *ExecCheck)

func (*HealthCheckSpec) SetGrpcCheck added in v1.11.8

func (m *HealthCheckSpec) SetGrpcCheck(fv *GRPCCheck)

func (*HealthCheckSpec) SetHttpGetCheck added in v1.11.8

func (m *HealthCheckSpec) SetHttpGetCheck(fv *HTTPGetCheck)

func (*HealthCheckSpec) SetIcmpCheck added in v1.11.8

func (m *HealthCheckSpec) SetIcmpCheck(fv *ICMPCheck)

func (*HealthCheckSpec) SetInterval added in v1.11.8

func (m *HealthCheckSpec) SetInterval(fv *durationpb.Duration)

func (*HealthCheckSpec) SetName added in v1.11.8

func (m *HealthCheckSpec) SetName(fv string)

func (*HealthCheckSpec) SetTcpCheck added in v1.11.8

func (m *HealthCheckSpec) SetTcpCheck(fv *TCPCheck)

func (*HealthCheckSpec) SetTimeout added in v1.11.8

func (m *HealthCheckSpec) SetTimeout(fv *durationpb.Duration)

func (*HealthCheckSpec) String added in v1.11.8

func (m *HealthCheckSpec) String() string

func (*HealthCheckSpec) Unmarshal added in v1.11.8

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

func (*HealthCheckSpec) UnmarshalJSON added in v1.11.8

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

type ICMPCheck added in v1.11.8

type ICMPCheck struct {

	// domain name or IP Addres to perform ICMP check
	Host string `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty" firestore:"host"`
	// By default only Success or Failure metric will be generated.
	// This field can be used to enable network metrics such as latency/jitter
	EnableDetailedMetrics bool `` /* 161-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ICMPCheck) Descriptor added in v1.11.8

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

Deprecated, Use ICMPCheck.ProtoReflect.Descriptor instead.

func (*ICMPCheck) GetEnableDetailedMetrics added in v1.11.8

func (m *ICMPCheck) GetEnableDetailedMetrics() bool

func (*ICMPCheck) GetHost added in v1.11.8

func (m *ICMPCheck) GetHost() string

func (*ICMPCheck) GotenMessage added in v1.11.8

func (*ICMPCheck) GotenMessage()

func (*ICMPCheck) GotenValidate added in v1.11.8

func (obj *ICMPCheck) GotenValidate() error

func (*ICMPCheck) Marshal added in v1.11.8

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

func (*ICMPCheck) MarshalJSON added in v1.11.8

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

func (*ICMPCheck) ProtoMessage added in v1.11.8

func (*ICMPCheck) ProtoMessage()

func (*ICMPCheck) ProtoReflect added in v1.11.8

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

func (*ICMPCheck) Reset added in v1.11.8

func (m *ICMPCheck) Reset()

func (*ICMPCheck) SetEnableDetailedMetrics added in v1.11.8

func (m *ICMPCheck) SetEnableDetailedMetrics(fv bool)

func (*ICMPCheck) SetHost added in v1.11.8

func (m *ICMPCheck) SetHost(fv string)

func (*ICMPCheck) String added in v1.11.8

func (m *ICMPCheck) String() string

func (*ICMPCheck) Unmarshal added in v1.11.8

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

func (*ICMPCheck) UnmarshalJSON added in v1.11.8

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

type IdentityChallenge added in v1.0.21

type IdentityChallenge struct {

	// Platform attestation
	PlatformAttestationNonce []byte `` /* 172-byte string literal not displayed */
	// AK TPM Residency check
	CredEncryptedByEkpub    []byte `` /* 158-byte string literal not displayed */
	SecretEncryptedByEkcred []byte `` /* 170-byte string literal not displayed */
	// IDevID TPM Residency check
	CredEncryptedByIdevidPub    []byte `` /* 176-byte string literal not displayed */
	SecretEncryptedByIdevidCred []byte `` /* 188-byte string literal not displayed */
	// LDevID TPM Residency check
	CredEncryptedByLdevidPub    []byte `` /* 176-byte string literal not displayed */
	SecretEncryptedByLdevidCred []byte `` /* 188-byte string literal not displayed */
	// IDevID verification when key is signing
	DigestToSignWithIdevid []byte `` /* 168-byte string literal not displayed */
	// IDevID verification when key is decrypt
	RsaSecretToDecryptWithIdevid []byte `` /* 194-byte string literal not displayed */
	// LDevID verification when key is signing
	DigestToSignWithLdevid []byte `` /* 169-byte string literal not displayed */
	// LDevID verification when key is decrypt
	RsaSecretToDecryptWithLdevid []byte `` /* 195-byte string literal not displayed */
	// contains filtered or unexported fields
}

One of IDevID or LDevID is mandatory for IdentityChallenge to succeed DevID keys can be either signing or decrypt With GlobalSign + Compulab, we use decrypt keys, but other vendors like Dell may be using signing keys instead, so api should allow both

func (*IdentityChallenge) Descriptor added in v1.0.21

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

Deprecated, Use IdentityChallenge.ProtoReflect.Descriptor instead.

func (*IdentityChallenge) GetCredEncryptedByEkpub added in v1.0.21

func (m *IdentityChallenge) GetCredEncryptedByEkpub() []byte

func (*IdentityChallenge) GetCredEncryptedByIdevidPub added in v1.0.21

func (m *IdentityChallenge) GetCredEncryptedByIdevidPub() []byte

func (*IdentityChallenge) GetCredEncryptedByLdevidPub added in v1.0.21

func (m *IdentityChallenge) GetCredEncryptedByLdevidPub() []byte

func (*IdentityChallenge) GetDigestToSignWithIdevid added in v1.0.21

func (m *IdentityChallenge) GetDigestToSignWithIdevid() []byte

func (*IdentityChallenge) GetDigestToSignWithLdevid added in v1.0.21

func (m *IdentityChallenge) GetDigestToSignWithLdevid() []byte

func (*IdentityChallenge) GetPlatformAttestationNonce added in v1.0.21

func (m *IdentityChallenge) GetPlatformAttestationNonce() []byte

func (*IdentityChallenge) GetRsaSecretToDecryptWithIdevid added in v1.0.21

func (m *IdentityChallenge) GetRsaSecretToDecryptWithIdevid() []byte

func (*IdentityChallenge) GetRsaSecretToDecryptWithLdevid added in v1.0.21

func (m *IdentityChallenge) GetRsaSecretToDecryptWithLdevid() []byte

func (*IdentityChallenge) GetSecretEncryptedByEkcred added in v1.0.21

func (m *IdentityChallenge) GetSecretEncryptedByEkcred() []byte

func (*IdentityChallenge) GetSecretEncryptedByIdevidCred added in v1.0.21

func (m *IdentityChallenge) GetSecretEncryptedByIdevidCred() []byte

func (*IdentityChallenge) GetSecretEncryptedByLdevidCred added in v1.0.21

func (m *IdentityChallenge) GetSecretEncryptedByLdevidCred() []byte

func (*IdentityChallenge) GotenMessage added in v1.0.21

func (*IdentityChallenge) GotenMessage()

func (*IdentityChallenge) GotenValidate added in v1.0.21

func (obj *IdentityChallenge) GotenValidate() error

func (*IdentityChallenge) Marshal added in v1.0.21

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

func (*IdentityChallenge) MarshalJSON added in v1.0.21

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

func (*IdentityChallenge) ProtoMessage added in v1.0.21

func (*IdentityChallenge) ProtoMessage()

func (*IdentityChallenge) ProtoReflect added in v1.0.21

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

func (*IdentityChallenge) Reset added in v1.0.21

func (m *IdentityChallenge) Reset()

func (*IdentityChallenge) SetCredEncryptedByEkpub added in v1.0.21

func (m *IdentityChallenge) SetCredEncryptedByEkpub(fv []byte)

func (*IdentityChallenge) SetCredEncryptedByIdevidPub added in v1.0.21

func (m *IdentityChallenge) SetCredEncryptedByIdevidPub(fv []byte)

func (*IdentityChallenge) SetCredEncryptedByLdevidPub added in v1.0.21

func (m *IdentityChallenge) SetCredEncryptedByLdevidPub(fv []byte)

func (*IdentityChallenge) SetDigestToSignWithIdevid added in v1.0.21

func (m *IdentityChallenge) SetDigestToSignWithIdevid(fv []byte)

func (*IdentityChallenge) SetDigestToSignWithLdevid added in v1.0.21

func (m *IdentityChallenge) SetDigestToSignWithLdevid(fv []byte)

func (*IdentityChallenge) SetPlatformAttestationNonce added in v1.0.21

func (m *IdentityChallenge) SetPlatformAttestationNonce(fv []byte)

func (*IdentityChallenge) SetRsaSecretToDecryptWithIdevid added in v1.0.21

func (m *IdentityChallenge) SetRsaSecretToDecryptWithIdevid(fv []byte)

func (*IdentityChallenge) SetRsaSecretToDecryptWithLdevid added in v1.0.21

func (m *IdentityChallenge) SetRsaSecretToDecryptWithLdevid(fv []byte)

func (*IdentityChallenge) SetSecretEncryptedByEkcred added in v1.0.21

func (m *IdentityChallenge) SetSecretEncryptedByEkcred(fv []byte)

func (*IdentityChallenge) SetSecretEncryptedByIdevidCred added in v1.0.21

func (m *IdentityChallenge) SetSecretEncryptedByIdevidCred(fv []byte)

func (*IdentityChallenge) SetSecretEncryptedByLdevidCred added in v1.0.21

func (m *IdentityChallenge) SetSecretEncryptedByLdevidCred(fv []byte)

func (*IdentityChallenge) String added in v1.0.21

func (m *IdentityChallenge) String() string

func (*IdentityChallenge) Unmarshal added in v1.0.21

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

func (*IdentityChallenge) UnmarshalJSON added in v1.0.21

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

type IdentityChallengeResponse added in v1.0.21

type IdentityChallengeResponse struct {
	AkActivationDecryptedSecret     []byte                             `` /* 186-byte string literal not displayed */
	IdevidActivationDecryptedSecret []byte                             `` /* 202-byte string literal not displayed */
	LdevidActivationDecryptedSecret []byte                             `` /* 202-byte string literal not displayed */
	DigestSignedByIdevid            []byte                             `` /* 158-byte string literal not displayed */
	DigestSignedByLdevid            []byte                             `` /* 158-byte string literal not displayed */
	RsaDecryptedWithIdevid          []byte                             `` /* 166-byte string literal not displayed */
	RsaDecryptedWithLdevid          []byte                             `` /* 166-byte string literal not displayed */
	Quotes                          []*IdentityChallengeResponse_Quote `protobuf:"bytes,8,rep,name=quotes,proto3" json:"quotes,omitempty" firestore:"quotes"`
	Pcrs                            []*PCR                             `protobuf:"bytes,9,rep,name=pcrs,proto3" json:"pcrs,omitempty" firestore:"pcrs"`
	// Binary contents of /sys/kernel/security/tpm0/binary_bios_measurements
	Eventlog []byte `protobuf:"bytes,10,opt,name=eventlog,proto3" json:"eventlog,omitempty" firestore:"eventlog"`
	// contains filtered or unexported fields
}

func (*IdentityChallengeResponse) Descriptor added in v1.0.21

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

Deprecated, Use IdentityChallengeResponse.ProtoReflect.Descriptor instead.

func (*IdentityChallengeResponse) GetAkActivationDecryptedSecret added in v1.0.21

func (m *IdentityChallengeResponse) GetAkActivationDecryptedSecret() []byte

func (*IdentityChallengeResponse) GetDigestSignedByIdevid added in v1.0.21

func (m *IdentityChallengeResponse) GetDigestSignedByIdevid() []byte

func (*IdentityChallengeResponse) GetDigestSignedByLdevid added in v1.0.21

func (m *IdentityChallengeResponse) GetDigestSignedByLdevid() []byte

func (*IdentityChallengeResponse) GetEventlog added in v1.0.21

func (m *IdentityChallengeResponse) GetEventlog() []byte

func (*IdentityChallengeResponse) GetIdevidActivationDecryptedSecret added in v1.0.21

func (m *IdentityChallengeResponse) GetIdevidActivationDecryptedSecret() []byte

func (*IdentityChallengeResponse) GetLdevidActivationDecryptedSecret added in v1.0.21

func (m *IdentityChallengeResponse) GetLdevidActivationDecryptedSecret() []byte

func (*IdentityChallengeResponse) GetPcrs added in v1.0.21

func (m *IdentityChallengeResponse) GetPcrs() []*PCR

func (*IdentityChallengeResponse) GetQuotes added in v1.0.21

func (*IdentityChallengeResponse) GetRsaDecryptedWithIdevid added in v1.0.21

func (m *IdentityChallengeResponse) GetRsaDecryptedWithIdevid() []byte

func (*IdentityChallengeResponse) GetRsaDecryptedWithLdevid added in v1.0.21

func (m *IdentityChallengeResponse) GetRsaDecryptedWithLdevid() []byte

func (*IdentityChallengeResponse) GotenMessage added in v1.0.21

func (*IdentityChallengeResponse) GotenMessage()

func (*IdentityChallengeResponse) GotenValidate added in v1.0.21

func (obj *IdentityChallengeResponse) GotenValidate() error

func (*IdentityChallengeResponse) Marshal added in v1.0.21

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

func (*IdentityChallengeResponse) MarshalJSON added in v1.0.21

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

func (*IdentityChallengeResponse) ProtoMessage added in v1.0.21

func (*IdentityChallengeResponse) ProtoMessage()

func (*IdentityChallengeResponse) ProtoReflect added in v1.0.21

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

func (*IdentityChallengeResponse) Reset added in v1.0.21

func (m *IdentityChallengeResponse) Reset()

func (*IdentityChallengeResponse) SetAkActivationDecryptedSecret added in v1.0.21

func (m *IdentityChallengeResponse) SetAkActivationDecryptedSecret(fv []byte)

func (*IdentityChallengeResponse) SetDigestSignedByIdevid added in v1.0.21

func (m *IdentityChallengeResponse) SetDigestSignedByIdevid(fv []byte)

func (*IdentityChallengeResponse) SetDigestSignedByLdevid added in v1.0.21

func (m *IdentityChallengeResponse) SetDigestSignedByLdevid(fv []byte)

func (*IdentityChallengeResponse) SetEventlog added in v1.0.21

func (m *IdentityChallengeResponse) SetEventlog(fv []byte)

func (*IdentityChallengeResponse) SetIdevidActivationDecryptedSecret added in v1.0.21

func (m *IdentityChallengeResponse) SetIdevidActivationDecryptedSecret(fv []byte)

func (*IdentityChallengeResponse) SetLdevidActivationDecryptedSecret added in v1.0.21

func (m *IdentityChallengeResponse) SetLdevidActivationDecryptedSecret(fv []byte)

func (*IdentityChallengeResponse) SetPcrs added in v1.0.21

func (m *IdentityChallengeResponse) SetPcrs(fv []*PCR)

func (*IdentityChallengeResponse) SetQuotes added in v1.0.21

func (*IdentityChallengeResponse) SetRsaDecryptedWithIdevid added in v1.0.21

func (m *IdentityChallengeResponse) SetRsaDecryptedWithIdevid(fv []byte)

func (*IdentityChallengeResponse) SetRsaDecryptedWithLdevid added in v1.0.21

func (m *IdentityChallengeResponse) SetRsaDecryptedWithLdevid(fv []byte)

func (*IdentityChallengeResponse) String added in v1.0.21

func (m *IdentityChallengeResponse) String() string

func (*IdentityChallengeResponse) Unmarshal added in v1.0.21

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

func (*IdentityChallengeResponse) UnmarshalJSON added in v1.0.21

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

type IdentityChallengeResponse_Quote added in v1.0.21

type IdentityChallengeResponse_Quote struct {

	// TPMS_ATTEST (TSS_VALIDATION.Data or TSS_VALIDATION.rgbData)
	// This contains PCR selection information for which the signature was
	// calculated and other required data, like nonce.
	Quote []byte `protobuf:"bytes,1,opt,name=quote,proto3" json:"quote,omitempty" firestore:"quote"`
	// TSS_VALIDATION.ValidationData or TSS_VALIDATION.rgbValidationData
	Signature []byte `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty" firestore:"signature"`
	// contains filtered or unexported fields
}

func (*IdentityChallengeResponse_Quote) Descriptor added in v1.0.21

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

Deprecated, Use IdentityChallengeResponse_Quote.ProtoReflect.Descriptor instead.

func (*IdentityChallengeResponse_Quote) GetQuote added in v1.0.21

func (m *IdentityChallengeResponse_Quote) GetQuote() []byte

func (*IdentityChallengeResponse_Quote) GetSignature added in v1.0.21

func (m *IdentityChallengeResponse_Quote) GetSignature() []byte

func (*IdentityChallengeResponse_Quote) GotenMessage added in v1.0.21

func (*IdentityChallengeResponse_Quote) GotenMessage()

func (*IdentityChallengeResponse_Quote) GotenValidate added in v1.0.21

func (obj *IdentityChallengeResponse_Quote) GotenValidate() error

func (*IdentityChallengeResponse_Quote) Marshal added in v1.0.21

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

func (*IdentityChallengeResponse_Quote) MarshalJSON added in v1.0.21

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

func (*IdentityChallengeResponse_Quote) ProtoMessage added in v1.0.21

func (*IdentityChallengeResponse_Quote) ProtoMessage()

func (*IdentityChallengeResponse_Quote) ProtoReflect added in v1.0.21

func (*IdentityChallengeResponse_Quote) Reset added in v1.0.21

func (*IdentityChallengeResponse_Quote) SetQuote added in v1.0.21

func (m *IdentityChallengeResponse_Quote) SetQuote(fv []byte)

func (*IdentityChallengeResponse_Quote) SetSignature added in v1.0.21

func (m *IdentityChallengeResponse_Quote) SetSignature(fv []byte)

func (*IdentityChallengeResponse_Quote) String added in v1.0.21

func (*IdentityChallengeResponse_Quote) Unmarshal added in v1.0.21

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

func (*IdentityChallengeResponse_Quote) UnmarshalJSON added in v1.0.21

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

type LaunchStage

type LaunchStage int32

The launch stage as defined by [Google Cloud Platform Launch Stages](http://cloud.google.com/terms/launch-stages).

const (
	// Do not use this default value.
	LaunchStage_LAUNCH_STAGE_UNSPECIFIED LaunchStage = 0
	// Early Access features are limited to a closed group of testers. To use
	// these features, you must sign up in advance and sign a Trusted Tester
	// agreement (which includes confidentiality provisions). These features may
	// be unstable, changed in backward-incompatible ways, and are not
	// guaranteed to be released.
	LaunchStage_EARLY_ACCESS LaunchStage = 1
	// Alpha is a limited availability test for releases before they are cleared
	// for widespread use. By Alpha, all significant design issues are resolved
	// and we are in the process of verifying functionality. Alpha customers
	// need to apply for access, agree to applicable terms, and have their
	// projects whitelisted. Alpha releases don’t have to be feature complete,
	// no SLAs are provided, and there are no technical support obligations, but
	// they will be far enough along that customers can actually use them in
	// test environments or for limited-use tests -- just like they would in
	// normal production cases.
	LaunchStage_ALPHA LaunchStage = 2
	// Beta is the point at which we are ready to open a release for any
	// customer to use. There are no SLA or technical support obligations in a
	// Beta release. Products will be complete from a feature perspective, but
	// may have some open outstanding issues. Beta releases are suitable for
	// limited production use cases.
	LaunchStage_BETA LaunchStage = 3
	// GA features are open to all developers and are considered stable and
	// fully qualified for production use.
	LaunchStage_GA LaunchStage = 4
	// Deprecated features are scheduled to be shut down and removed. For more
	// information, see the “Deprecation Policy” section of our [Terms of
	// Service](https://cloud.google.com/terms/)
	// and the [Google Cloud Platform Subject to the Deprecation
	// Policy](https://cloud.google.com/terms/deprecation) documentation.
	LaunchStage_DEPRECATED LaunchStage = 5
)

func (LaunchStage) Descriptor

func (LaunchStage) Descriptor() preflect.EnumDescriptor

func (LaunchStage) Enum

func (x LaunchStage) Enum() *LaunchStage

func (LaunchStage) EnumDescriptor

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

Deprecated, Use LaunchStage.ProtoReflect.Descriptor instead.

func (LaunchStage) Number

func (x LaunchStage) Number() preflect.EnumNumber

func (LaunchStage) String

func (x LaunchStage) String() string

func (LaunchStage) Type

func (LaunchStage) Type() preflect.EnumType

type PCR added in v1.0.21

type PCR struct {
	Index uint32 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty" firestore:"index"`
	// Hex-encoded digest string (without 0x prefix, e.g. "DEADBEEF")
	DigestHex string    `protobuf:"bytes,2,opt,name=digest_hex,json=digestHex,proto3" json:"digest_hex,omitempty" firestore:"digestHex"`
	DigestAlg DigestAlg `` /* 134-byte string literal not displayed */
	// User's comments for this entry
	Comment string `protobuf:"bytes,4,opt,name=comment,proto3" json:"comment,omitempty" firestore:"comment"`
	// contains filtered or unexported fields
}

func (*PCR) Descriptor added in v1.0.21

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

Deprecated, Use PCR.ProtoReflect.Descriptor instead.

func (*PCR) GetComment added in v1.0.21

func (m *PCR) GetComment() string

func (*PCR) GetDigestAlg added in v1.0.21

func (m *PCR) GetDigestAlg() DigestAlg

func (*PCR) GetDigestHex added in v1.0.21

func (m *PCR) GetDigestHex() string

func (*PCR) GetIndex added in v1.0.21

func (m *PCR) GetIndex() uint32

func (*PCR) GotenMessage added in v1.0.21

func (*PCR) GotenMessage()

func (*PCR) GotenValidate added in v1.0.21

func (obj *PCR) GotenValidate() error

func (*PCR) Marshal added in v1.0.21

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

func (*PCR) MarshalJSON added in v1.0.21

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

func (*PCR) ProtoMessage added in v1.0.21

func (*PCR) ProtoMessage()

func (*PCR) ProtoReflect added in v1.0.21

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

func (*PCR) Reset added in v1.0.21

func (m *PCR) Reset()

func (*PCR) SetComment added in v1.0.21

func (m *PCR) SetComment(fv string)

func (*PCR) SetDigestAlg added in v1.0.21

func (m *PCR) SetDigestAlg(fv DigestAlg)

func (*PCR) SetDigestHex added in v1.0.21

func (m *PCR) SetDigestHex(fv string)

func (*PCR) SetIndex added in v1.0.21

func (m *PCR) SetIndex(fv uint32)

func (*PCR) String added in v1.0.21

func (m *PCR) String() string

func (*PCR) Unmarshal added in v1.0.21

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

func (*PCR) UnmarshalJSON added in v1.0.21

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

type ServiceAccount

type ServiceAccount struct {
	Type         string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty" firestore:"type"`
	ClientEmail  string `protobuf:"bytes,2,opt,name=client_email,proto3" json:"client_email,omitempty" firestore:"client_email"`
	PrivateKeyId string `protobuf:"bytes,3,opt,name=private_key_id,proto3" json:"private_key_id,omitempty" firestore:"private_key_id"`
	PrivateKey   string `protobuf:"bytes,4,opt,name=private_key,proto3" json:"private_key,omitempty" firestore:"private_key"`
	// contains filtered or unexported fields
}

func (*ServiceAccount) Descriptor

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

Deprecated, Use ServiceAccount.ProtoReflect.Descriptor instead.

func (*ServiceAccount) GetClientEmail

func (m *ServiceAccount) GetClientEmail() string

func (*ServiceAccount) GetPrivateKey

func (m *ServiceAccount) GetPrivateKey() string

func (*ServiceAccount) GetPrivateKeyId

func (m *ServiceAccount) GetPrivateKeyId() string

func (*ServiceAccount) GetType

func (m *ServiceAccount) GetType() string

func (*ServiceAccount) GotenMessage

func (*ServiceAccount) GotenMessage()

func (*ServiceAccount) GotenValidate

func (obj *ServiceAccount) GotenValidate() error

func (*ServiceAccount) Marshal

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

func (*ServiceAccount) MarshalJSON

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

func (*ServiceAccount) ProtoMessage

func (*ServiceAccount) ProtoMessage()

func (*ServiceAccount) ProtoReflect

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

func (*ServiceAccount) Reset

func (m *ServiceAccount) Reset()

func (*ServiceAccount) SetClientEmail

func (m *ServiceAccount) SetClientEmail(fv string)

func (*ServiceAccount) SetPrivateKey

func (m *ServiceAccount) SetPrivateKey(fv string)

func (*ServiceAccount) SetPrivateKeyId

func (m *ServiceAccount) SetPrivateKeyId(fv string)

func (*ServiceAccount) SetType

func (m *ServiceAccount) SetType(fv string)

func (*ServiceAccount) String

func (m *ServiceAccount) String() string

func (*ServiceAccount) Unmarshal

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

func (*ServiceAccount) UnmarshalJSON

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

type TCPCheck added in v1.11.8

type TCPCheck struct {

	// Port number to access on the container or given destination.
	// Number must be in the range 1 to 65535.
	Port int32 `protobuf:"varint,1,opt,name=port,proto3" json:"port,omitempty" firestore:"port"`
	// Host name to connect to.
	// For containers this defaults to the container IP or wan interface IP in
	// host mode networking For device, this is a mandatory parameter
	Host string `protobuf:"bytes,2,opt,name=host,proto3" json:"host,omitempty" firestore:"host"`
	// contains filtered or unexported fields
}

TCPCheck performs a TCP connect check. Only TCP handshake is performed. No data is sent

func (*TCPCheck) Descriptor added in v1.11.8

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

Deprecated, Use TCPCheck.ProtoReflect.Descriptor instead.

func (*TCPCheck) GetHost added in v1.11.8

func (m *TCPCheck) GetHost() string

func (*TCPCheck) GetPort added in v1.11.8

func (m *TCPCheck) GetPort() int32

func (*TCPCheck) GotenMessage added in v1.11.8

func (*TCPCheck) GotenMessage()

func (*TCPCheck) GotenValidate added in v1.11.8

func (obj *TCPCheck) GotenValidate() error

func (*TCPCheck) Marshal added in v1.11.8

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

func (*TCPCheck) MarshalJSON added in v1.11.8

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

func (*TCPCheck) ProtoMessage added in v1.11.8

func (*TCPCheck) ProtoMessage()

func (*TCPCheck) ProtoReflect added in v1.11.8

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

func (*TCPCheck) Reset added in v1.11.8

func (m *TCPCheck) Reset()

func (*TCPCheck) SetHost added in v1.11.8

func (m *TCPCheck) SetHost(fv string)

func (*TCPCheck) SetPort added in v1.11.8

func (m *TCPCheck) SetPort(fv int32)

func (*TCPCheck) String added in v1.11.8

func (m *TCPCheck) String() string

func (*TCPCheck) Unmarshal added in v1.11.8

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

func (*TCPCheck) UnmarshalJSON added in v1.11.8

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

type TpmVersion added in v1.0.21

type TpmVersion int32
const (
	TpmVersion_TPMVAGNOSTIC TpmVersion = 0
	TpmVersion_TPMV12       TpmVersion = 1
	TpmVersion_TPMV20       TpmVersion = 2
)

func (TpmVersion) Descriptor added in v1.0.21

func (TpmVersion) Descriptor() preflect.EnumDescriptor

func (TpmVersion) Enum added in v1.0.21

func (x TpmVersion) Enum() *TpmVersion

func (TpmVersion) EnumDescriptor added in v1.0.21

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

Deprecated, Use TpmVersion.ProtoReflect.Descriptor instead.

func (TpmVersion) Number added in v1.0.21

func (x TpmVersion) Number() preflect.EnumNumber

func (TpmVersion) String added in v1.0.21

func (x TpmVersion) String() string

func (TpmVersion) Type added in v1.0.21

func (TpmVersion) Type() preflect.EnumType

type User

type User struct {
	Email        string                 `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty" firestore:"email"`
	AccessToken  string                 `protobuf:"bytes,2,opt,name=access_token,proto3" json:"access_token,omitempty" firestore:"access_token"`
	TokenType    string                 `protobuf:"bytes,3,opt,name=token_type,proto3" json:"token_type,omitempty" firestore:"token_type"`
	RefreshToken string                 `protobuf:"bytes,4,opt,name=refresh_token,proto3" json:"refresh_token,omitempty" firestore:"refresh_token"`
	Expiry       *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=expiry,proto3" json:"expiry,omitempty" firestore:"expiry"`
	// contains filtered or unexported fields
}

func (*User) Descriptor

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

Deprecated, Use User.ProtoReflect.Descriptor instead.

func (*User) GetAccessToken

func (m *User) GetAccessToken() string

func (*User) GetEmail

func (m *User) GetEmail() string

func (*User) GetExpiry

func (m *User) GetExpiry() *timestamppb.Timestamp

func (*User) GetRefreshToken

func (m *User) GetRefreshToken() string

func (*User) GetTokenType

func (m *User) GetTokenType() string

func (*User) GotenMessage

func (*User) GotenMessage()

func (*User) GotenValidate

func (obj *User) GotenValidate() error

func (*User) Marshal

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

func (*User) MarshalJSON

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

func (*User) ProtoMessage

func (*User) ProtoMessage()

func (*User) ProtoReflect

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

func (*User) Reset

func (m *User) Reset()

func (*User) SetAccessToken

func (m *User) SetAccessToken(fv string)

func (*User) SetEmail

func (m *User) SetEmail(fv string)

func (*User) SetExpiry

func (m *User) SetExpiry(fv *timestamppb.Timestamp)

func (*User) SetRefreshToken

func (m *User) SetRefreshToken(fv string)

func (*User) SetTokenType

func (m *User) SetTokenType(fv string)

func (*User) String

func (m *User) String() string

func (*User) Unmarshal

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

func (*User) UnmarshalJSON

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

Jump to

Keyboard shortcuts

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