v1

package
v3.0.0-...-6a82a2e Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2024 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CommandService_CreateConnection_FullMethodName      = "/mpi.v1.CommandService/CreateConnection"
	CommandService_UpdateDataPlaneStatus_FullMethodName = "/mpi.v1.CommandService/UpdateDataPlaneStatus"
	CommandService_UpdateDataPlaneHealth_FullMethodName = "/mpi.v1.CommandService/UpdateDataPlaneHealth"
	CommandService_Subscribe_FullMethodName             = "/mpi.v1.CommandService/Subscribe"
)
View Source
const (
	FileService_GetOverview_FullMethodName    = "/mpi.v1.FileService/GetOverview"
	FileService_UpdateOverview_FullMethodName = "/mpi.v1.FileService/UpdateOverview"
	FileService_GetFile_FullMethodName        = "/mpi.v1.FileService/GetFile"
	FileService_UpdateFile_FullMethodName     = "/mpi.v1.FileService/UpdateFile"
)

Variables

View Source
var (
	InstanceHealth_InstanceHealthStatus_name = map[int32]string{
		0: "INSTANCE_HEALTH_STATUS_UNSPECIFIED",
		1: "INSTANCE_HEALTH_STATUS_HEALTHY",
		2: "INSTANCE_HEALTH_STATUS_UNHEALTHY",
		3: "INSTANCE_HEALTH_STATUS_DEGRADED",
	}
	InstanceHealth_InstanceHealthStatus_value = map[string]int32{
		"INSTANCE_HEALTH_STATUS_UNSPECIFIED": 0,
		"INSTANCE_HEALTH_STATUS_HEALTHY":     1,
		"INSTANCE_HEALTH_STATUS_UNHEALTHY":   2,
		"INSTANCE_HEALTH_STATUS_DEGRADED":    3,
	}
)

Enum value maps for InstanceHealth_InstanceHealthStatus.

View Source
var (
	InstanceMeta_InstanceType_name = map[int32]string{
		0: "INSTANCE_TYPE_UNSPECIFIED",
		1: "INSTANCE_TYPE_AGENT",
		2: "INSTANCE_TYPE_NGINX",
		3: "INSTANCE_TYPE_NGINX_PLUS",
		4: "INSTANCE_TYPE_UNIT",
	}
	InstanceMeta_InstanceType_value = map[string]int32{
		"INSTANCE_TYPE_UNSPECIFIED": 0,
		"INSTANCE_TYPE_AGENT":       1,
		"INSTANCE_TYPE_NGINX":       2,
		"INSTANCE_TYPE_NGINX_PLUS":  3,
		"INSTANCE_TYPE_UNIT":        4,
	}
)

Enum value maps for InstanceMeta_InstanceType.

View Source
var (
	CommandResponse_CommandStatus_name = map[int32]string{
		0: "COMMAND_STATUS_UNSPECIFIED",
		1: "COMMAND_STATUS_OK",
		2: "COMMAND_STATUS_ERROR",
		3: "COMMAND_STATUS_IN_PROGRESS",
		4: "COMMAND_STATUS_FAILURE",
	}
	CommandResponse_CommandStatus_value = map[string]int32{
		"COMMAND_STATUS_UNSPECIFIED": 0,
		"COMMAND_STATUS_OK":          1,
		"COMMAND_STATUS_ERROR":       2,
		"COMMAND_STATUS_IN_PROGRESS": 3,
		"COMMAND_STATUS_FAILURE":     4,
	}
)

Enum value maps for CommandResponse_CommandStatus.

View Source
var (
	ServerSettings_ServerType_name = map[int32]string{
		0: "SERVER_SETTINGS_TYPE_UNDEFINED",
		1: "SERVER_SETTINGS_TYPE_GRPC",
		2: "SERVER_SETTINGS_TYPE_HTTP",
	}
	ServerSettings_ServerType_value = map[string]int32{
		"SERVER_SETTINGS_TYPE_UNDEFINED": 0,
		"SERVER_SETTINGS_TYPE_GRPC":      1,
		"SERVER_SETTINGS_TYPE_HTTP":      2,
	}
)

Enum value maps for ServerSettings_ServerType.

View Source
var (
	SignatureAlgorithm_name = map[int32]string{
		0:  "SIGNATURE_ALGORITHM_UNKNOWN",
		1:  "MD2_WITH_RSA",
		2:  "MD5_WITH_RSA",
		3:  "SHA1_WITH_RSA",
		4:  "SHA256_WITH_RSA",
		5:  "SHA384_WITH_RSA",
		6:  "SHA512_WITH_RSA",
		7:  "DSA_WITH_SHA1",
		8:  "DSA_WITH_SHA256",
		9:  "ECDSA_WITH_SHA1",
		10: "ECDSA_WITH_SHA256",
		11: "ECDSA_WITH_SHA384",
		12: "ECDSA_WITH_SHA512",
		13: "SHA256_WITH_RSA_PSS",
		14: "SHA384_WITH_RSA_PSS",
		15: "SHA512_WITH_RSA_PSS",
		16: "PURE_ED25519",
	}
	SignatureAlgorithm_value = map[string]int32{
		"SIGNATURE_ALGORITHM_UNKNOWN": 0,
		"MD2_WITH_RSA":                1,
		"MD5_WITH_RSA":                2,
		"SHA1_WITH_RSA":               3,
		"SHA256_WITH_RSA":             4,
		"SHA384_WITH_RSA":             5,
		"SHA512_WITH_RSA":             6,
		"DSA_WITH_SHA1":               7,
		"DSA_WITH_SHA256":             8,
		"ECDSA_WITH_SHA1":             9,
		"ECDSA_WITH_SHA256":           10,
		"ECDSA_WITH_SHA384":           11,
		"ECDSA_WITH_SHA512":           12,
		"SHA256_WITH_RSA_PSS":         13,
		"SHA384_WITH_RSA_PSS":         14,
		"SHA512_WITH_RSA_PSS":         15,
		"PURE_ED25519":                16,
	}
)

Enum value maps for SignatureAlgorithm.

View Source
var (
	File_FileAction_name = map[int32]string{
		0: "FILE_ACTION_UNSPECIFIED",
		1: "FILE_ACTION_UNCHANGED",
		2: "FILE_ACTION_ADD",
		3: "FILE_ACTION_UPDATE",
		4: "FILE_ACTION_DELETE",
	}
	File_FileAction_value = map[string]int32{
		"FILE_ACTION_UNSPECIFIED": 0,
		"FILE_ACTION_UNCHANGED":   1,
		"FILE_ACTION_ADD":         2,
		"FILE_ACTION_UPDATE":      3,
		"FILE_ACTION_DELETE":      4,
	}
)

Enum value maps for File_FileAction.

View Source
var CommandService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "mpi.v1.CommandService",
	HandlerType: (*CommandServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateConnection",
			Handler:    _CommandService_CreateConnection_Handler,
		},
		{
			MethodName: "UpdateDataPlaneStatus",
			Handler:    _CommandService_UpdateDataPlaneStatus_Handler,
		},
		{
			MethodName: "UpdateDataPlaneHealth",
			Handler:    _CommandService_UpdateDataPlaneHealth_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "Subscribe",
			Handler:       _CommandService_Subscribe_Handler,
			ServerStreams: true,
			ClientStreams: true,
		},
	},
	Metadata: "mpi/v1/command.proto",
}

CommandService_ServiceDesc is the grpc.ServiceDesc for CommandService 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 FileService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "mpi.v1.FileService",
	HandlerType: (*FileServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetOverview",
			Handler:    _FileService_GetOverview_Handler,
		},
		{
			MethodName: "UpdateOverview",
			Handler:    _FileService_UpdateOverview_Handler,
		},
		{
			MethodName: "GetFile",
			Handler:    _FileService_GetFile_Handler,
		},
		{
			MethodName: "UpdateFile",
			Handler:    _FileService_UpdateFile_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "mpi/v1/files.proto",
}

FileService_ServiceDesc is the grpc.ServiceDesc for FileService 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_mpi_v1_command_proto protoreflect.FileDescriptor
View Source
var File_mpi_v1_common_proto protoreflect.FileDescriptor
View Source
var File_mpi_v1_files_proto protoreflect.FileDescriptor

Functions

func RegisterCommandServiceServer

func RegisterCommandServiceServer(s grpc.ServiceRegistrar, srv CommandServiceServer)

func RegisterFileServiceServer

func RegisterFileServiceServer(s grpc.ServiceRegistrar, srv FileServiceServer)

Types

type APIActionRequest

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

Perform an associated API action on an instance

func (*APIActionRequest) Descriptor deprecated

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

Deprecated: Use APIActionRequest.ProtoReflect.Descriptor instead.

func (*APIActionRequest) ProtoMessage

func (*APIActionRequest) ProtoMessage()

func (*APIActionRequest) ProtoReflect

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

func (*APIActionRequest) Reset

func (x *APIActionRequest) Reset()

func (*APIActionRequest) String

func (x *APIActionRequest) String() string

func (*APIActionRequest) Validate

func (m *APIActionRequest) Validate() error

Validate checks the field values on APIActionRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*APIActionRequest) ValidateAll

func (m *APIActionRequest) ValidateAll() error

ValidateAll checks the field values on APIActionRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in APIActionRequestMultiError, or nil if none found.

type APIActionRequestMultiError

type APIActionRequestMultiError []error

APIActionRequestMultiError is an error wrapping multiple validation errors returned by APIActionRequest.ValidateAll() if the designated constraints aren't met.

func (APIActionRequestMultiError) AllErrors

func (m APIActionRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (APIActionRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type APIActionRequestValidationError

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

APIActionRequestValidationError is the validation error returned by APIActionRequest.Validate if the designated constraints aren't met.

func (APIActionRequestValidationError) Cause

Cause function returns cause value.

func (APIActionRequestValidationError) Error

Error satisfies the builtin error interface

func (APIActionRequestValidationError) ErrorName

ErrorName returns error name.

func (APIActionRequestValidationError) Field

Field function returns field value.

func (APIActionRequestValidationError) Key

Key function returns key value.

func (APIActionRequestValidationError) Reason

Reason function returns reason value.

type APIDetails

type APIDetails struct {

	// the API location directive
	Location string `protobuf:"bytes,1,opt,name=location,proto3" json:"location,omitempty"`
	// the API listen directive
	Listen string `protobuf:"bytes,2,opt,name=listen,proto3" json:"listen,omitempty"`
	// contains filtered or unexported fields
}

func (*APIDetails) Descriptor deprecated

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

Deprecated: Use APIDetails.ProtoReflect.Descriptor instead.

func (*APIDetails) GetListen

func (x *APIDetails) GetListen() string

func (*APIDetails) GetLocation

func (x *APIDetails) GetLocation() string

func (*APIDetails) ProtoMessage

func (*APIDetails) ProtoMessage()

func (*APIDetails) ProtoReflect

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

func (*APIDetails) Reset

func (x *APIDetails) Reset()

func (*APIDetails) String

func (x *APIDetails) String() string

func (*APIDetails) Validate

func (m *APIDetails) Validate() error

Validate checks the field values on APIDetails with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*APIDetails) ValidateAll

func (m *APIDetails) ValidateAll() error

ValidateAll checks the field values on APIDetails with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in APIDetailsMultiError, or nil if none found.

type APIDetailsMultiError

type APIDetailsMultiError []error

APIDetailsMultiError is an error wrapping multiple validation errors returned by APIDetails.ValidateAll() if the designated constraints aren't met.

func (APIDetailsMultiError) AllErrors

func (m APIDetailsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (APIDetailsMultiError) Error

func (m APIDetailsMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type APIDetailsValidationError

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

APIDetailsValidationError is the validation error returned by APIDetails.Validate if the designated constraints aren't met.

func (APIDetailsValidationError) Cause

func (e APIDetailsValidationError) Cause() error

Cause function returns cause value.

func (APIDetailsValidationError) Error

Error satisfies the builtin error interface

func (APIDetailsValidationError) ErrorName

func (e APIDetailsValidationError) ErrorName() string

ErrorName returns error name.

func (APIDetailsValidationError) Field

Field function returns field value.

func (APIDetailsValidationError) Key

Key function returns key value.

func (APIDetailsValidationError) Reason

func (e APIDetailsValidationError) Reason() string

Reason function returns reason value.

type AgentConfig

type AgentConfig struct {

	// Command server settings
	Command *CommandServer `protobuf:"bytes,1,opt,name=command,proto3" json:"command,omitempty"`
	// Metrics server settings
	Metrics *MetricsServer `protobuf:"bytes,2,opt,name=metrics,proto3" json:"metrics,omitempty"`
	// File server settings
	File *FileServer `protobuf:"bytes,3,opt,name=file,proto3" json:"file,omitempty"`
	// A series of key/value pairs to add more data to the NGINX Agent instance
	Labels []*structpb.Struct `protobuf:"bytes,4,rep,name=labels,proto3" json:"labels,omitempty"`
	// A list of features that the NGINX Agent has
	Features []string `protobuf:"bytes,5,rep,name=features,proto3" json:"features,omitempty"`
	// Message buffer size, maximum not acknowledged messages from the subscribe perspective
	MessageBufferSize string `protobuf:"bytes,6,opt,name=message_buffer_size,json=messageBufferSize,proto3" json:"message_buffer_size,omitempty"`
	// contains filtered or unexported fields
}

This contains a series of NGINX Agent configurations

func (*AgentConfig) Descriptor deprecated

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

Deprecated: Use AgentConfig.ProtoReflect.Descriptor instead.

func (*AgentConfig) GetCommand

func (x *AgentConfig) GetCommand() *CommandServer

func (*AgentConfig) GetFeatures

func (x *AgentConfig) GetFeatures() []string

func (*AgentConfig) GetFile

func (x *AgentConfig) GetFile() *FileServer

func (*AgentConfig) GetLabels

func (x *AgentConfig) GetLabels() []*structpb.Struct

func (*AgentConfig) GetMessageBufferSize

func (x *AgentConfig) GetMessageBufferSize() string

func (*AgentConfig) GetMetrics

func (x *AgentConfig) GetMetrics() *MetricsServer

func (*AgentConfig) ProtoMessage

func (*AgentConfig) ProtoMessage()

func (*AgentConfig) ProtoReflect

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

func (*AgentConfig) Reset

func (x *AgentConfig) Reset()

func (*AgentConfig) String

func (x *AgentConfig) String() string

func (*AgentConfig) Validate

func (m *AgentConfig) Validate() error

Validate checks the field values on AgentConfig with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*AgentConfig) ValidateAll

func (m *AgentConfig) ValidateAll() error

ValidateAll checks the field values on AgentConfig with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AgentConfigMultiError, or nil if none found.

type AgentConfigMultiError

type AgentConfigMultiError []error

AgentConfigMultiError is an error wrapping multiple validation errors returned by AgentConfig.ValidateAll() if the designated constraints aren't met.

func (AgentConfigMultiError) AllErrors

func (m AgentConfigMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (AgentConfigMultiError) Error

func (m AgentConfigMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type AgentConfigValidationError

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

AgentConfigValidationError is the validation error returned by AgentConfig.Validate if the designated constraints aren't met.

func (AgentConfigValidationError) Cause

Cause function returns cause value.

func (AgentConfigValidationError) Error

Error satisfies the builtin error interface

func (AgentConfigValidationError) ErrorName

func (e AgentConfigValidationError) ErrorName() string

ErrorName returns error name.

func (AgentConfigValidationError) Field

Field function returns field value.

func (AgentConfigValidationError) Key

Key function returns key value.

func (AgentConfigValidationError) Reason

Reason function returns reason value.

type AttributeTypeAndValue

type AttributeTypeAndValue struct {

	// The type (or identifier) of the attribute (e.g., OID).
	Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	// The value associated with the attribute.
	Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*AttributeTypeAndValue) Descriptor deprecated

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

Deprecated: Use AttributeTypeAndValue.ProtoReflect.Descriptor instead.

func (*AttributeTypeAndValue) GetType

func (x *AttributeTypeAndValue) GetType() string

func (*AttributeTypeAndValue) GetValue

func (x *AttributeTypeAndValue) GetValue() string

func (*AttributeTypeAndValue) ProtoMessage

func (*AttributeTypeAndValue) ProtoMessage()

func (*AttributeTypeAndValue) ProtoReflect

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

func (*AttributeTypeAndValue) Reset

func (x *AttributeTypeAndValue) Reset()

func (*AttributeTypeAndValue) String

func (x *AttributeTypeAndValue) String() string

func (*AttributeTypeAndValue) Validate

func (m *AttributeTypeAndValue) Validate() error

Validate checks the field values on AttributeTypeAndValue with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*AttributeTypeAndValue) ValidateAll

func (m *AttributeTypeAndValue) ValidateAll() error

ValidateAll checks the field values on AttributeTypeAndValue with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AttributeTypeAndValueMultiError, or nil if none found.

type AttributeTypeAndValueMultiError

type AttributeTypeAndValueMultiError []error

AttributeTypeAndValueMultiError is an error wrapping multiple validation errors returned by AttributeTypeAndValue.ValidateAll() if the designated constraints aren't met.

func (AttributeTypeAndValueMultiError) AllErrors

func (m AttributeTypeAndValueMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (AttributeTypeAndValueMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type AttributeTypeAndValueValidationError

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

AttributeTypeAndValueValidationError is the validation error returned by AttributeTypeAndValue.Validate if the designated constraints aren't met.

func (AttributeTypeAndValueValidationError) Cause

Cause function returns cause value.

func (AttributeTypeAndValueValidationError) Error

Error satisfies the builtin error interface

func (AttributeTypeAndValueValidationError) ErrorName

ErrorName returns error name.

func (AttributeTypeAndValueValidationError) Field

Field function returns field value.

func (AttributeTypeAndValueValidationError) Key

Key function returns key value.

func (AttributeTypeAndValueValidationError) Reason

Reason function returns reason value.

type AuthSettings

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

Defines the authentication configuration

func (*AuthSettings) Descriptor deprecated

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

Deprecated: Use AuthSettings.ProtoReflect.Descriptor instead.

func (*AuthSettings) ProtoMessage

func (*AuthSettings) ProtoMessage()

func (*AuthSettings) ProtoReflect

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

func (*AuthSettings) Reset

func (x *AuthSettings) Reset()

func (*AuthSettings) String

func (x *AuthSettings) String() string

func (*AuthSettings) Validate

func (m *AuthSettings) Validate() error

Validate checks the field values on AuthSettings with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*AuthSettings) ValidateAll

func (m *AuthSettings) ValidateAll() error

ValidateAll checks the field values on AuthSettings with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AuthSettingsMultiError, or nil if none found.

type AuthSettingsMultiError

type AuthSettingsMultiError []error

AuthSettingsMultiError is an error wrapping multiple validation errors returned by AuthSettings.ValidateAll() if the designated constraints aren't met.

func (AuthSettingsMultiError) AllErrors

func (m AuthSettingsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (AuthSettingsMultiError) Error

func (m AuthSettingsMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type AuthSettingsValidationError

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

AuthSettingsValidationError is the validation error returned by AuthSettings.Validate if the designated constraints aren't met.

func (AuthSettingsValidationError) Cause

Cause function returns cause value.

func (AuthSettingsValidationError) Error

Error satisfies the builtin error interface

func (AuthSettingsValidationError) ErrorName

func (e AuthSettingsValidationError) ErrorName() string

ErrorName returns error name.

func (AuthSettingsValidationError) Field

Field function returns field value.

func (AuthSettingsValidationError) Key

Key function returns key value.

func (AuthSettingsValidationError) Reason

Reason function returns reason value.

type CertificateDates

type CertificateDates struct {

	// The start date that for when the certificate is valid
	NotBefore int64 `protobuf:"varint,1,opt,name=not_before,json=notBefore,proto3" json:"not_before,omitempty"`
	// The end date that for when the certificate is valid
	NotAfter int64 `protobuf:"varint,2,opt,name=not_after,json=notAfter,proto3" json:"not_after,omitempty"`
	// contains filtered or unexported fields
}

Represents the dates for which a certificate is valid

func (*CertificateDates) Descriptor deprecated

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

Deprecated: Use CertificateDates.ProtoReflect.Descriptor instead.

func (*CertificateDates) GetNotAfter

func (x *CertificateDates) GetNotAfter() int64

func (*CertificateDates) GetNotBefore

func (x *CertificateDates) GetNotBefore() int64

func (*CertificateDates) ProtoMessage

func (*CertificateDates) ProtoMessage()

func (*CertificateDates) ProtoReflect

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

func (*CertificateDates) Reset

func (x *CertificateDates) Reset()

func (*CertificateDates) String

func (x *CertificateDates) String() string

func (*CertificateDates) Validate

func (m *CertificateDates) Validate() error

Validate checks the field values on CertificateDates with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*CertificateDates) ValidateAll

func (m *CertificateDates) ValidateAll() error

ValidateAll checks the field values on CertificateDates with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CertificateDatesMultiError, or nil if none found.

type CertificateDatesMultiError

type CertificateDatesMultiError []error

CertificateDatesMultiError is an error wrapping multiple validation errors returned by CertificateDates.ValidateAll() if the designated constraints aren't met.

func (CertificateDatesMultiError) AllErrors

func (m CertificateDatesMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CertificateDatesMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type CertificateDatesValidationError

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

CertificateDatesValidationError is the validation error returned by CertificateDates.Validate if the designated constraints aren't met.

func (CertificateDatesValidationError) Cause

Cause function returns cause value.

func (CertificateDatesValidationError) Error

Error satisfies the builtin error interface

func (CertificateDatesValidationError) ErrorName

ErrorName returns error name.

func (CertificateDatesValidationError) Field

Field function returns field value.

func (CertificateDatesValidationError) Key

Key function returns key value.

func (CertificateDatesValidationError) Reason

Reason function returns reason value.

type CertificateMeta

type CertificateMeta struct {

	// Serial number of the certificate, usually a unique identifier, the max length is the length of an interger
	SerialNumber string `protobuf:"bytes,1,opt,name=serial_number,json=serialNumber,proto3" json:"serial_number,omitempty"`
	// Issuer details (who issued the certificate)
	Issuer *X509Name `protobuf:"bytes,2,opt,name=issuer,proto3" json:"issuer,omitempty"`
	// Subject details (to whom the certificate is issued)
	Subject *X509Name `protobuf:"bytes,3,opt,name=subject,proto3" json:"subject,omitempty"`
	// Subject Alternative Names (SAN) including DNS names and IP addresses
	Sans *SubjectAlternativeNames `protobuf:"bytes,4,opt,name=sans,proto3" json:"sans,omitempty"`
	// Timestamps representing the start of certificate validity (Not Before, Not After)
	Dates *CertificateDates `protobuf:"bytes,5,opt,name=dates,proto3" json:"dates,omitempty"`
	// The algorithm used to sign the certificate (e.g., SHA256-RSA)
	SignatureAlgorithm SignatureAlgorithm `` /* 147-byte string literal not displayed */
	// The type of public key in the certificate.
	PublicKeyAlgorithm string `protobuf:"bytes,7,opt,name=public_key_algorithm,json=publicKeyAlgorithm,proto3" json:"public_key_algorithm,omitempty"`
	// contains filtered or unexported fields
}

Define the certificate message based on https://pkg.go.dev/crypto/x509#Certificate and https://github.com/googleapis/googleapis/blob/005df4681b89bd204a90b76168a6dc9d9e7bf4fe/google/cloud/iot/v1/resources.proto#L341

func (*CertificateMeta) Descriptor deprecated

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

Deprecated: Use CertificateMeta.ProtoReflect.Descriptor instead.

func (*CertificateMeta) GetDates

func (x *CertificateMeta) GetDates() *CertificateDates

func (*CertificateMeta) GetIssuer

func (x *CertificateMeta) GetIssuer() *X509Name

func (*CertificateMeta) GetPublicKeyAlgorithm

func (x *CertificateMeta) GetPublicKeyAlgorithm() string

func (*CertificateMeta) GetSans

func (*CertificateMeta) GetSerialNumber

func (x *CertificateMeta) GetSerialNumber() string

func (*CertificateMeta) GetSignatureAlgorithm

func (x *CertificateMeta) GetSignatureAlgorithm() SignatureAlgorithm

func (*CertificateMeta) GetSubject

func (x *CertificateMeta) GetSubject() *X509Name

func (*CertificateMeta) ProtoMessage

func (*CertificateMeta) ProtoMessage()

func (*CertificateMeta) ProtoReflect

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

func (*CertificateMeta) Reset

func (x *CertificateMeta) Reset()

func (*CertificateMeta) String

func (x *CertificateMeta) String() string

func (*CertificateMeta) Validate

func (m *CertificateMeta) Validate() error

Validate checks the field values on CertificateMeta with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*CertificateMeta) ValidateAll

func (m *CertificateMeta) ValidateAll() error

ValidateAll checks the field values on CertificateMeta with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CertificateMetaMultiError, or nil if none found.

type CertificateMetaMultiError

type CertificateMetaMultiError []error

CertificateMetaMultiError is an error wrapping multiple validation errors returned by CertificateMeta.ValidateAll() if the designated constraints aren't met.

func (CertificateMetaMultiError) AllErrors

func (m CertificateMetaMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CertificateMetaMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type CertificateMetaValidationError

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

CertificateMetaValidationError is the validation error returned by CertificateMeta.Validate if the designated constraints aren't met.

func (CertificateMetaValidationError) Cause

Cause function returns cause value.

func (CertificateMetaValidationError) Error

Error satisfies the builtin error interface

func (CertificateMetaValidationError) ErrorName

func (e CertificateMetaValidationError) ErrorName() string

ErrorName returns error name.

func (CertificateMetaValidationError) Field

Field function returns field value.

func (CertificateMetaValidationError) Key

Key function returns key value.

func (CertificateMetaValidationError) Reason

Reason function returns reason value.

type CommandResponse

type CommandResponse struct {

	// Command status
	Status CommandResponse_CommandStatus `protobuf:"varint,1,opt,name=status,proto3,enum=mpi.v1.CommandResponse_CommandStatus" json:"status,omitempty"`
	// Provides a user friendly message to describe the response
	Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	// Provides an error message of why the command failed, only populated when CommandStatus is COMMAND_STATUS_ERROR
	Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"`
	// contains filtered or unexported fields
}

Represents a the status response of an command

func (*CommandResponse) Descriptor deprecated

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

Deprecated: Use CommandResponse.ProtoReflect.Descriptor instead.

func (*CommandResponse) GetError

func (x *CommandResponse) GetError() string

func (*CommandResponse) GetMessage

func (x *CommandResponse) GetMessage() string

func (*CommandResponse) GetStatus

func (*CommandResponse) ProtoMessage

func (*CommandResponse) ProtoMessage()

func (*CommandResponse) ProtoReflect

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

func (*CommandResponse) Reset

func (x *CommandResponse) Reset()

func (*CommandResponse) String

func (x *CommandResponse) String() string

func (*CommandResponse) Validate

func (m *CommandResponse) Validate() error

Validate checks the field values on CommandResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*CommandResponse) ValidateAll

func (m *CommandResponse) ValidateAll() error

ValidateAll checks the field values on CommandResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CommandResponseMultiError, or nil if none found.

type CommandResponseMultiError

type CommandResponseMultiError []error

CommandResponseMultiError is an error wrapping multiple validation errors returned by CommandResponse.ValidateAll() if the designated constraints aren't met.

func (CommandResponseMultiError) AllErrors

func (m CommandResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CommandResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type CommandResponseValidationError

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

CommandResponseValidationError is the validation error returned by CommandResponse.Validate if the designated constraints aren't met.

func (CommandResponseValidationError) Cause

Cause function returns cause value.

func (CommandResponseValidationError) Error

Error satisfies the builtin error interface

func (CommandResponseValidationError) ErrorName

func (e CommandResponseValidationError) ErrorName() string

ErrorName returns error name.

func (CommandResponseValidationError) Field

Field function returns field value.

func (CommandResponseValidationError) Key

Key function returns key value.

func (CommandResponseValidationError) Reason

Reason function returns reason value.

type CommandResponse_CommandStatus

type CommandResponse_CommandStatus int32

Command status enum

const (
	// Unspecified status of command
	CommandResponse_COMMAND_STATUS_UNSPECIFIED CommandResponse_CommandStatus = 0
	// Command was successful
	CommandResponse_COMMAND_STATUS_OK CommandResponse_CommandStatus = 1
	// Command error
	CommandResponse_COMMAND_STATUS_ERROR CommandResponse_CommandStatus = 2
	// Command in-progress
	CommandResponse_COMMAND_STATUS_IN_PROGRESS CommandResponse_CommandStatus = 3
	// Command failure
	CommandResponse_COMMAND_STATUS_FAILURE CommandResponse_CommandStatus = 4
)

func (CommandResponse_CommandStatus) Descriptor

func (CommandResponse_CommandStatus) Enum

func (CommandResponse_CommandStatus) EnumDescriptor deprecated

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

Deprecated: Use CommandResponse_CommandStatus.Descriptor instead.

func (CommandResponse_CommandStatus) Number

func (CommandResponse_CommandStatus) String

func (CommandResponse_CommandStatus) Type

type CommandServer

type CommandServer struct {

	// Server configuration (e.g., host, port, type)
	Server *ServerSettings `protobuf:"bytes,1,opt,name=server,proto3" json:"server,omitempty"`
	// Authentication configuration (e.g., token)
	Auth *AuthSettings `protobuf:"bytes,2,opt,name=auth,proto3" json:"auth,omitempty"`
	// TLS configuration for secure communication
	Tls *TLSSettings `protobuf:"bytes,3,opt,name=tls,proto3" json:"tls,omitempty"`
	// contains filtered or unexported fields
}

The command server settings, associated with messaging from an external source

func (*CommandServer) Descriptor deprecated

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

Deprecated: Use CommandServer.ProtoReflect.Descriptor instead.

func (*CommandServer) GetAuth

func (x *CommandServer) GetAuth() *AuthSettings

func (*CommandServer) GetServer

func (x *CommandServer) GetServer() *ServerSettings

func (*CommandServer) GetTls

func (x *CommandServer) GetTls() *TLSSettings

func (*CommandServer) ProtoMessage

func (*CommandServer) ProtoMessage()

func (*CommandServer) ProtoReflect

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

func (*CommandServer) Reset

func (x *CommandServer) Reset()

func (*CommandServer) String

func (x *CommandServer) String() string

func (*CommandServer) Validate

func (m *CommandServer) Validate() error

Validate checks the field values on CommandServer with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*CommandServer) ValidateAll

func (m *CommandServer) ValidateAll() error

ValidateAll checks the field values on CommandServer with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CommandServerMultiError, or nil if none found.

type CommandServerMultiError

type CommandServerMultiError []error

CommandServerMultiError is an error wrapping multiple validation errors returned by CommandServer.ValidateAll() if the designated constraints aren't met.

func (CommandServerMultiError) AllErrors

func (m CommandServerMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CommandServerMultiError) Error

func (m CommandServerMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type CommandServerValidationError

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

CommandServerValidationError is the validation error returned by CommandServer.Validate if the designated constraints aren't met.

func (CommandServerValidationError) Cause

Cause function returns cause value.

func (CommandServerValidationError) Error

Error satisfies the builtin error interface

func (CommandServerValidationError) ErrorName

func (e CommandServerValidationError) ErrorName() string

ErrorName returns error name.

func (CommandServerValidationError) Field

Field function returns field value.

func (CommandServerValidationError) Key

Key function returns key value.

func (CommandServerValidationError) Reason

Reason function returns reason value.

type CommandServiceClient

type CommandServiceClient interface {
	// Connects NGINX Agent to the Management Plane agnostic of instance data
	CreateConnection(ctx context.Context, in *CreateConnectionRequest, opts ...grpc.CallOption) (*CreateConnectionResponse, error)
	// Reports on instances and their configurations
	UpdateDataPlaneStatus(ctx context.Context, in *UpdateDataPlaneStatusRequest, opts ...grpc.CallOption) (*UpdateDataPlaneStatusResponse, error)
	// Reports on instance health
	UpdateDataPlaneHealth(ctx context.Context, in *UpdateDataPlaneHealthRequest, opts ...grpc.CallOption) (*UpdateDataPlaneHealthResponse, error)
	// A decoupled communication mechanism between the data plane and management plane.
	// buf:lint:ignore RPC_RESPONSE_STANDARD_NAME
	// buf:lint:ignore RPC_REQUEST_STANDARD_NAME
	Subscribe(ctx context.Context, opts ...grpc.CallOption) (grpc.BidiStreamingClient[DataPlaneResponse, ManagementPlaneRequest], error)
}

CommandServiceClient is the client API for CommandService 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.

A service outlining the command and control options for a Data Plane Client All operations are written from a client perspective The RPC calls generally flow Client -> Server, except for Subscribe which contains a bidirectional stream The ManagementPlaneRequest sent in the Subscribe stream triggers one or more client actions. Messages provided by the Management Plane must be a FIFO ordered queue. Messages in the queue must have a monotonically-increasing integer index. The indexes do not need to be sequential. The index must be a 64-bit signed integer. The index must not reset for the entire lifetime of a unique Agent (i.e. the index does not reset to 0 only because of a temporary disconnection or new session). Messages must not be removed from the Management Plane queue until Ack’d by the Agent. Messages sent but not yet Ack’d must be kept in an “in-flight” buffer as they may need to be retried.

type CommandServiceServer

type CommandServiceServer interface {
	// Connects NGINX Agent to the Management Plane agnostic of instance data
	CreateConnection(context.Context, *CreateConnectionRequest) (*CreateConnectionResponse, error)
	// Reports on instances and their configurations
	UpdateDataPlaneStatus(context.Context, *UpdateDataPlaneStatusRequest) (*UpdateDataPlaneStatusResponse, error)
	// Reports on instance health
	UpdateDataPlaneHealth(context.Context, *UpdateDataPlaneHealthRequest) (*UpdateDataPlaneHealthResponse, error)
	// A decoupled communication mechanism between the data plane and management plane.
	// buf:lint:ignore RPC_RESPONSE_STANDARD_NAME
	// buf:lint:ignore RPC_REQUEST_STANDARD_NAME
	Subscribe(grpc.BidiStreamingServer[DataPlaneResponse, ManagementPlaneRequest]) error
}

CommandServiceServer is the server API for CommandService service. All implementations should embed UnimplementedCommandServiceServer for forward compatibility.

A service outlining the command and control options for a Data Plane Client All operations are written from a client perspective The RPC calls generally flow Client -> Server, except for Subscribe which contains a bidirectional stream The ManagementPlaneRequest sent in the Subscribe stream triggers one or more client actions. Messages provided by the Management Plane must be a FIFO ordered queue. Messages in the queue must have a monotonically-increasing integer index. The indexes do not need to be sequential. The index must be a 64-bit signed integer. The index must not reset for the entire lifetime of a unique Agent (i.e. the index does not reset to 0 only because of a temporary disconnection or new session). Messages must not be removed from the Management Plane queue until Ack’d by the Agent. Messages sent but not yet Ack’d must be kept in an “in-flight” buffer as they may need to be retried.

type CommandService_SubscribeClient

type CommandService_SubscribeClient = grpc.BidiStreamingClient[DataPlaneResponse, ManagementPlaneRequest]

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type CommandService_SubscribeServer

type CommandService_SubscribeServer = grpc.BidiStreamingServer[DataPlaneResponse, ManagementPlaneRequest]

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type CommandStatusRequest

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

Request an update on a particular command

func (*CommandStatusRequest) Descriptor deprecated

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

Deprecated: Use CommandStatusRequest.ProtoReflect.Descriptor instead.

func (*CommandStatusRequest) ProtoMessage

func (*CommandStatusRequest) ProtoMessage()

func (*CommandStatusRequest) ProtoReflect

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

func (*CommandStatusRequest) Reset

func (x *CommandStatusRequest) Reset()

func (*CommandStatusRequest) String

func (x *CommandStatusRequest) String() string

func (*CommandStatusRequest) Validate

func (m *CommandStatusRequest) Validate() error

Validate checks the field values on CommandStatusRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*CommandStatusRequest) ValidateAll

func (m *CommandStatusRequest) ValidateAll() error

ValidateAll checks the field values on CommandStatusRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CommandStatusRequestMultiError, or nil if none found.

type CommandStatusRequestMultiError

type CommandStatusRequestMultiError []error

CommandStatusRequestMultiError is an error wrapping multiple validation errors returned by CommandStatusRequest.ValidateAll() if the designated constraints aren't met.

func (CommandStatusRequestMultiError) AllErrors

func (m CommandStatusRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CommandStatusRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type CommandStatusRequestValidationError

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

CommandStatusRequestValidationError is the validation error returned by CommandStatusRequest.Validate if the designated constraints aren't met.

func (CommandStatusRequestValidationError) Cause

Cause function returns cause value.

func (CommandStatusRequestValidationError) Error

Error satisfies the builtin error interface

func (CommandStatusRequestValidationError) ErrorName

ErrorName returns error name.

func (CommandStatusRequestValidationError) Field

Field function returns field value.

func (CommandStatusRequestValidationError) Key

Key function returns key value.

func (CommandStatusRequestValidationError) Reason

Reason function returns reason value.

type ConfigApplyRequest

type ConfigApplyRequest struct {

	// set of files related to the request
	Overview *FileOverview `protobuf:"bytes,1,opt,name=overview,proto3" json:"overview,omitempty"`
	// contains filtered or unexported fields
}

Additional information associated with a ConfigApplyRequest

func (*ConfigApplyRequest) Descriptor deprecated

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

Deprecated: Use ConfigApplyRequest.ProtoReflect.Descriptor instead.

func (*ConfigApplyRequest) GetOverview

func (x *ConfigApplyRequest) GetOverview() *FileOverview

func (*ConfigApplyRequest) ProtoMessage

func (*ConfigApplyRequest) ProtoMessage()

func (*ConfigApplyRequest) ProtoReflect

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

func (*ConfigApplyRequest) Reset

func (x *ConfigApplyRequest) Reset()

func (*ConfigApplyRequest) String

func (x *ConfigApplyRequest) String() string

func (*ConfigApplyRequest) Validate

func (m *ConfigApplyRequest) Validate() error

Validate checks the field values on ConfigApplyRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ConfigApplyRequest) ValidateAll

func (m *ConfigApplyRequest) ValidateAll() error

ValidateAll checks the field values on ConfigApplyRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ConfigApplyRequestMultiError, or nil if none found.

type ConfigApplyRequestMultiError

type ConfigApplyRequestMultiError []error

ConfigApplyRequestMultiError is an error wrapping multiple validation errors returned by ConfigApplyRequest.ValidateAll() if the designated constraints aren't met.

func (ConfigApplyRequestMultiError) AllErrors

func (m ConfigApplyRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ConfigApplyRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ConfigApplyRequestValidationError

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

ConfigApplyRequestValidationError is the validation error returned by ConfigApplyRequest.Validate if the designated constraints aren't met.

func (ConfigApplyRequestValidationError) Cause

Cause function returns cause value.

func (ConfigApplyRequestValidationError) Error

Error satisfies the builtin error interface

func (ConfigApplyRequestValidationError) ErrorName

ErrorName returns error name.

func (ConfigApplyRequestValidationError) Field

Field function returns field value.

func (ConfigApplyRequestValidationError) Key

Key function returns key value.

func (ConfigApplyRequestValidationError) Reason

Reason function returns reason value.

type ConfigUploadRequest

type ConfigUploadRequest struct {

	// set of files related to the request
	Overview *FileOverview `protobuf:"bytes,1,opt,name=overview,proto3" json:"overview,omitempty"`
	// contains filtered or unexported fields
}

Additional information associated with a ConfigUploadRequest

func (*ConfigUploadRequest) Descriptor deprecated

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

Deprecated: Use ConfigUploadRequest.ProtoReflect.Descriptor instead.

func (*ConfigUploadRequest) GetOverview

func (x *ConfigUploadRequest) GetOverview() *FileOverview

func (*ConfigUploadRequest) ProtoMessage

func (*ConfigUploadRequest) ProtoMessage()

func (*ConfigUploadRequest) ProtoReflect

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

func (*ConfigUploadRequest) Reset

func (x *ConfigUploadRequest) Reset()

func (*ConfigUploadRequest) String

func (x *ConfigUploadRequest) String() string

func (*ConfigUploadRequest) Validate

func (m *ConfigUploadRequest) Validate() error

Validate checks the field values on ConfigUploadRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ConfigUploadRequest) ValidateAll

func (m *ConfigUploadRequest) ValidateAll() error

ValidateAll checks the field values on ConfigUploadRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ConfigUploadRequestMultiError, or nil if none found.

type ConfigUploadRequestMultiError

type ConfigUploadRequestMultiError []error

ConfigUploadRequestMultiError is an error wrapping multiple validation errors returned by ConfigUploadRequest.ValidateAll() if the designated constraints aren't met.

func (ConfigUploadRequestMultiError) AllErrors

func (m ConfigUploadRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ConfigUploadRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ConfigUploadRequestValidationError

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

ConfigUploadRequestValidationError is the validation error returned by ConfigUploadRequest.Validate if the designated constraints aren't met.

func (ConfigUploadRequestValidationError) Cause

Cause function returns cause value.

func (ConfigUploadRequestValidationError) Error

Error satisfies the builtin error interface

func (ConfigUploadRequestValidationError) ErrorName

ErrorName returns error name.

func (ConfigUploadRequestValidationError) Field

Field function returns field value.

func (ConfigUploadRequestValidationError) Key

Key function returns key value.

func (ConfigUploadRequestValidationError) Reason

Reason function returns reason value.

type ConfigVersion

type ConfigVersion struct {

	// The instance identifier
	InstanceId string `protobuf:"bytes,1,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
	// The version of the configuration
	Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
	// contains filtered or unexported fields
}

Represents a specific configuration version associated with an instance

func (*ConfigVersion) Descriptor deprecated

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

Deprecated: Use ConfigVersion.ProtoReflect.Descriptor instead.

func (*ConfigVersion) GetInstanceId

func (x *ConfigVersion) GetInstanceId() string

func (*ConfigVersion) GetVersion

func (x *ConfigVersion) GetVersion() string

func (*ConfigVersion) ProtoMessage

func (*ConfigVersion) ProtoMessage()

func (*ConfigVersion) ProtoReflect

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

func (*ConfigVersion) Reset

func (x *ConfigVersion) Reset()

func (*ConfigVersion) String

func (x *ConfigVersion) String() string

func (*ConfigVersion) Validate

func (m *ConfigVersion) Validate() error

Validate checks the field values on ConfigVersion with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ConfigVersion) ValidateAll

func (m *ConfigVersion) ValidateAll() error

ValidateAll checks the field values on ConfigVersion with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ConfigVersionMultiError, or nil if none found.

type ConfigVersionMultiError

type ConfigVersionMultiError []error

ConfigVersionMultiError is an error wrapping multiple validation errors returned by ConfigVersion.ValidateAll() if the designated constraints aren't met.

func (ConfigVersionMultiError) AllErrors

func (m ConfigVersionMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ConfigVersionMultiError) Error

func (m ConfigVersionMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type ConfigVersionValidationError

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

ConfigVersionValidationError is the validation error returned by ConfigVersion.Validate if the designated constraints aren't met.

func (ConfigVersionValidationError) Cause

Cause function returns cause value.

func (ConfigVersionValidationError) Error

Error satisfies the builtin error interface

func (ConfigVersionValidationError) ErrorName

func (e ConfigVersionValidationError) ErrorName() string

ErrorName returns error name.

func (ConfigVersionValidationError) Field

Field function returns field value.

func (ConfigVersionValidationError) Key

Key function returns key value.

func (ConfigVersionValidationError) Reason

Reason function returns reason value.

type ContainerInfo

type ContainerInfo struct {

	// The identifier of the container
	ContainerId string `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"`
	// The name of the host
	Hostname string `protobuf:"bytes,2,opt,name=hostname,proto3" json:"hostname,omitempty"`
	// contains filtered or unexported fields
}

Container information

func (*ContainerInfo) Descriptor deprecated

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

Deprecated: Use ContainerInfo.ProtoReflect.Descriptor instead.

func (*ContainerInfo) GetContainerId

func (x *ContainerInfo) GetContainerId() string

func (*ContainerInfo) GetHostname

func (x *ContainerInfo) GetHostname() string

func (*ContainerInfo) ProtoMessage

func (*ContainerInfo) ProtoMessage()

func (*ContainerInfo) ProtoReflect

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

func (*ContainerInfo) Reset

func (x *ContainerInfo) Reset()

func (*ContainerInfo) String

func (x *ContainerInfo) String() string

func (*ContainerInfo) Validate

func (m *ContainerInfo) Validate() error

Validate checks the field values on ContainerInfo with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ContainerInfo) ValidateAll

func (m *ContainerInfo) ValidateAll() error

ValidateAll checks the field values on ContainerInfo with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ContainerInfoMultiError, or nil if none found.

type ContainerInfoMultiError

type ContainerInfoMultiError []error

ContainerInfoMultiError is an error wrapping multiple validation errors returned by ContainerInfo.ValidateAll() if the designated constraints aren't met.

func (ContainerInfoMultiError) AllErrors

func (m ContainerInfoMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ContainerInfoMultiError) Error

func (m ContainerInfoMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type ContainerInfoValidationError

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

ContainerInfoValidationError is the validation error returned by ContainerInfo.Validate if the designated constraints aren't met.

func (ContainerInfoValidationError) Cause

Cause function returns cause value.

func (ContainerInfoValidationError) Error

Error satisfies the builtin error interface

func (ContainerInfoValidationError) ErrorName

func (e ContainerInfoValidationError) ErrorName() string

ErrorName returns error name.

func (ContainerInfoValidationError) Field

Field function returns field value.

func (ContainerInfoValidationError) Key

Key function returns key value.

func (ContainerInfoValidationError) Reason

Reason function returns reason value.

type CreateConnectionRequest

type CreateConnectionRequest struct {

	// Meta-information associated with a message
	MessageMeta *MessageMeta `protobuf:"bytes,1,opt,name=message_meta,json=messageMeta,proto3" json:"message_meta,omitempty"`
	// Instance and infrastructure information associated with the NGINX Agent
	Resource *Resource `protobuf:"bytes,2,opt,name=resource,proto3" json:"resource,omitempty"`
	// contains filtered or unexported fields
}

The connection request is an initial handshake to establish a connection, sending NGINX Agent instance information

func (*CreateConnectionRequest) Descriptor deprecated

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

Deprecated: Use CreateConnectionRequest.ProtoReflect.Descriptor instead.

func (*CreateConnectionRequest) GetMessageMeta

func (x *CreateConnectionRequest) GetMessageMeta() *MessageMeta

func (*CreateConnectionRequest) GetResource

func (x *CreateConnectionRequest) GetResource() *Resource

func (*CreateConnectionRequest) ProtoMessage

func (*CreateConnectionRequest) ProtoMessage()

func (*CreateConnectionRequest) ProtoReflect

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

func (*CreateConnectionRequest) Reset

func (x *CreateConnectionRequest) Reset()

func (*CreateConnectionRequest) String

func (x *CreateConnectionRequest) String() string

func (*CreateConnectionRequest) Validate

func (m *CreateConnectionRequest) Validate() error

Validate checks the field values on CreateConnectionRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*CreateConnectionRequest) ValidateAll

func (m *CreateConnectionRequest) ValidateAll() error

ValidateAll checks the field values on CreateConnectionRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateConnectionRequestMultiError, or nil if none found.

type CreateConnectionRequestMultiError

type CreateConnectionRequestMultiError []error

CreateConnectionRequestMultiError is an error wrapping multiple validation errors returned by CreateConnectionRequest.ValidateAll() if the designated constraints aren't met.

func (CreateConnectionRequestMultiError) AllErrors

func (m CreateConnectionRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CreateConnectionRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type CreateConnectionRequestValidationError

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

CreateConnectionRequestValidationError is the validation error returned by CreateConnectionRequest.Validate if the designated constraints aren't met.

func (CreateConnectionRequestValidationError) Cause

Cause function returns cause value.

func (CreateConnectionRequestValidationError) Error

Error satisfies the builtin error interface

func (CreateConnectionRequestValidationError) ErrorName

ErrorName returns error name.

func (CreateConnectionRequestValidationError) Field

Field function returns field value.

func (CreateConnectionRequestValidationError) Key

Key function returns key value.

func (CreateConnectionRequestValidationError) Reason

Reason function returns reason value.

type CreateConnectionResponse

type CreateConnectionResponse struct {

	// The success or failure of the CreateConnectionRequest
	Response *CommandResponse `protobuf:"bytes,1,opt,name=response,proto3" json:"response,omitempty"`
	// The recommendation NGINX Agent configurations provided by the ManagementPlane
	AgentConfig *AgentConfig `protobuf:"bytes,2,opt,name=agent_config,json=agentConfig,proto3" json:"agent_config,omitempty"`
	// contains filtered or unexported fields
}

A response to a CreateConnectionRequest

func (*CreateConnectionResponse) Descriptor deprecated

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

Deprecated: Use CreateConnectionResponse.ProtoReflect.Descriptor instead.

func (*CreateConnectionResponse) GetAgentConfig

func (x *CreateConnectionResponse) GetAgentConfig() *AgentConfig

func (*CreateConnectionResponse) GetResponse

func (x *CreateConnectionResponse) GetResponse() *CommandResponse

func (*CreateConnectionResponse) ProtoMessage

func (*CreateConnectionResponse) ProtoMessage()

func (*CreateConnectionResponse) ProtoReflect

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

func (*CreateConnectionResponse) Reset

func (x *CreateConnectionResponse) Reset()

func (*CreateConnectionResponse) String

func (x *CreateConnectionResponse) String() string

func (*CreateConnectionResponse) Validate

func (m *CreateConnectionResponse) Validate() error

Validate checks the field values on CreateConnectionResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*CreateConnectionResponse) ValidateAll

func (m *CreateConnectionResponse) ValidateAll() error

ValidateAll checks the field values on CreateConnectionResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateConnectionResponseMultiError, or nil if none found.

type CreateConnectionResponseMultiError

type CreateConnectionResponseMultiError []error

CreateConnectionResponseMultiError is an error wrapping multiple validation errors returned by CreateConnectionResponse.ValidateAll() if the designated constraints aren't met.

func (CreateConnectionResponseMultiError) AllErrors

func (m CreateConnectionResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CreateConnectionResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type CreateConnectionResponseValidationError

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

CreateConnectionResponseValidationError is the validation error returned by CreateConnectionResponse.Validate if the designated constraints aren't met.

func (CreateConnectionResponseValidationError) Cause

Cause function returns cause value.

func (CreateConnectionResponseValidationError) Error

Error satisfies the builtin error interface

func (CreateConnectionResponseValidationError) ErrorName

ErrorName returns error name.

func (CreateConnectionResponseValidationError) Field

Field function returns field value.

func (CreateConnectionResponseValidationError) Key

Key function returns key value.

func (CreateConnectionResponseValidationError) Reason

Reason function returns reason value.

type DataPlaneResponse

type DataPlaneResponse struct {

	// Meta-information associated with a message
	MessageMeta *MessageMeta `protobuf:"bytes,1,opt,name=message_meta,json=messageMeta,proto3" json:"message_meta,omitempty"`
	// The command response with the associated request
	CommandResponse *CommandResponse `protobuf:"bytes,2,opt,name=command_response,json=commandResponse,proto3" json:"command_response,omitempty"`
	// The instance identifier, if applicable, for this response
	InstanceId string `protobuf:"bytes,3,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
	// contains filtered or unexported fields
}

Reports the status of an associated command. This may be in response to a ManagementPlaneRequest

func (*DataPlaneResponse) Descriptor deprecated

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

Deprecated: Use DataPlaneResponse.ProtoReflect.Descriptor instead.

func (*DataPlaneResponse) GetCommandResponse

func (x *DataPlaneResponse) GetCommandResponse() *CommandResponse

func (*DataPlaneResponse) GetInstanceId

func (x *DataPlaneResponse) GetInstanceId() string

func (*DataPlaneResponse) GetMessageMeta

func (x *DataPlaneResponse) GetMessageMeta() *MessageMeta

func (*DataPlaneResponse) ProtoMessage

func (*DataPlaneResponse) ProtoMessage()

func (*DataPlaneResponse) ProtoReflect

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

func (*DataPlaneResponse) Reset

func (x *DataPlaneResponse) Reset()

func (*DataPlaneResponse) String

func (x *DataPlaneResponse) String() string

func (*DataPlaneResponse) Validate

func (m *DataPlaneResponse) Validate() error

Validate checks the field values on DataPlaneResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*DataPlaneResponse) ValidateAll

func (m *DataPlaneResponse) ValidateAll() error

ValidateAll checks the field values on DataPlaneResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DataPlaneResponseMultiError, or nil if none found.

type DataPlaneResponseMultiError

type DataPlaneResponseMultiError []error

DataPlaneResponseMultiError is an error wrapping multiple validation errors returned by DataPlaneResponse.ValidateAll() if the designated constraints aren't met.

func (DataPlaneResponseMultiError) AllErrors

func (m DataPlaneResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DataPlaneResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type DataPlaneResponseValidationError

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

DataPlaneResponseValidationError is the validation error returned by DataPlaneResponse.Validate if the designated constraints aren't met.

func (DataPlaneResponseValidationError) Cause

Cause function returns cause value.

func (DataPlaneResponseValidationError) Error

Error satisfies the builtin error interface

func (DataPlaneResponseValidationError) ErrorName

ErrorName returns error name.

func (DataPlaneResponseValidationError) Field

Field function returns field value.

func (DataPlaneResponseValidationError) Key

Key function returns key value.

func (DataPlaneResponseValidationError) Reason

Reason function returns reason value.

type File

type File struct {

	// Meta information about the file, the name (including path) and hash
	FileMeta *FileMeta `protobuf:"bytes,1,opt,name=file_meta,json=fileMeta,proto3" json:"file_meta,omitempty"`
	// Optional action
	Action *File_FileAction `protobuf:"varint,2,opt,name=action,proto3,enum=mpi.v1.File_FileAction,oneof" json:"action,omitempty"`
	// contains filtered or unexported fields
}

Represents meta data about a file

func (*File) Descriptor deprecated

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

Deprecated: Use File.ProtoReflect.Descriptor instead.

func (*File) GetAction

func (x *File) GetAction() File_FileAction

func (*File) GetFileMeta

func (x *File) GetFileMeta() *FileMeta

func (*File) ProtoMessage

func (*File) ProtoMessage()

func (*File) ProtoReflect

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

func (*File) Reset

func (x *File) Reset()

func (*File) String

func (x *File) String() string

func (*File) Validate

func (m *File) Validate() error

Validate checks the field values on File with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*File) ValidateAll

func (m *File) ValidateAll() error

ValidateAll checks the field values on File with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in FileMultiError, or nil if none found.

type FileContents

type FileContents struct {

	// Byte representation of a file without encoding
	Contents []byte `protobuf:"bytes,1,opt,name=contents,proto3" json:"contents,omitempty"`
	// contains filtered or unexported fields
}

Represents the bytes contents of the file https://protobuf.dev/programming-guides/api/#dont-encode-data-in-a-string

func (*FileContents) Descriptor deprecated

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

Deprecated: Use FileContents.ProtoReflect.Descriptor instead.

func (*FileContents) GetContents

func (x *FileContents) GetContents() []byte

func (*FileContents) ProtoMessage

func (*FileContents) ProtoMessage()

func (*FileContents) ProtoReflect

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

func (*FileContents) Reset

func (x *FileContents) Reset()

func (*FileContents) String

func (x *FileContents) String() string

func (*FileContents) Validate

func (m *FileContents) Validate() error

Validate checks the field values on FileContents with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*FileContents) ValidateAll

func (m *FileContents) ValidateAll() error

ValidateAll checks the field values on FileContents with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in FileContentsMultiError, or nil if none found.

type FileContentsMultiError

type FileContentsMultiError []error

FileContentsMultiError is an error wrapping multiple validation errors returned by FileContents.ValidateAll() if the designated constraints aren't met.

func (FileContentsMultiError) AllErrors

func (m FileContentsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (FileContentsMultiError) Error

func (m FileContentsMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type FileContentsValidationError

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

FileContentsValidationError is the validation error returned by FileContents.Validate if the designated constraints aren't met.

func (FileContentsValidationError) Cause

Cause function returns cause value.

func (FileContentsValidationError) Error

Error satisfies the builtin error interface

func (FileContentsValidationError) ErrorName

func (e FileContentsValidationError) ErrorName() string

ErrorName returns error name.

func (FileContentsValidationError) Field

Field function returns field value.

func (FileContentsValidationError) Key

Key function returns key value.

func (FileContentsValidationError) Reason

Reason function returns reason value.

type FileMeta

type FileMeta struct {

	// The full path of the file
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The hash of the file contents sha256, hex encoded
	Hash string `protobuf:"bytes,2,opt,name=hash,proto3" json:"hash,omitempty"`
	// Last modified time of the file (created time if never modified)
	ModifiedTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=modified_time,json=modifiedTime,proto3" json:"modified_time,omitempty"`
	// The permission set associated with a particular file
	Permissions string `protobuf:"bytes,4,opt,name=permissions,proto3" json:"permissions,omitempty"`
	// The size of the file in bytes
	Size int64 `protobuf:"varint,5,opt,name=size,proto3" json:"size,omitempty"`
	// additional file information
	//
	// Types that are valid to be assigned to FileType:
	//
	//	*FileMeta_CertificateMeta
	FileType isFileMeta_FileType `protobuf_oneof:"file_type"`
	// contains filtered or unexported fields
}

Meta information about the file, the name (including path) and hash

func (*FileMeta) Descriptor deprecated

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

Deprecated: Use FileMeta.ProtoReflect.Descriptor instead.

func (*FileMeta) GetCertificateMeta

func (x *FileMeta) GetCertificateMeta() *CertificateMeta

func (*FileMeta) GetFileType

func (x *FileMeta) GetFileType() isFileMeta_FileType

func (*FileMeta) GetHash

func (x *FileMeta) GetHash() string

func (*FileMeta) GetModifiedTime

func (x *FileMeta) GetModifiedTime() *timestamppb.Timestamp

func (*FileMeta) GetName

func (x *FileMeta) GetName() string

func (*FileMeta) GetPermissions

func (x *FileMeta) GetPermissions() string

func (*FileMeta) GetSize

func (x *FileMeta) GetSize() int64

func (*FileMeta) ProtoMessage

func (*FileMeta) ProtoMessage()

func (*FileMeta) ProtoReflect

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

func (*FileMeta) Reset

func (x *FileMeta) Reset()

func (*FileMeta) String

func (x *FileMeta) String() string

func (*FileMeta) Validate

func (m *FileMeta) Validate() error

Validate checks the field values on FileMeta with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*FileMeta) ValidateAll

func (m *FileMeta) ValidateAll() error

ValidateAll checks the field values on FileMeta with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in FileMetaMultiError, or nil if none found.

type FileMetaMultiError

type FileMetaMultiError []error

FileMetaMultiError is an error wrapping multiple validation errors returned by FileMeta.ValidateAll() if the designated constraints aren't met.

func (FileMetaMultiError) AllErrors

func (m FileMetaMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (FileMetaMultiError) Error

func (m FileMetaMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type FileMetaValidationError

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

FileMetaValidationError is the validation error returned by FileMeta.Validate if the designated constraints aren't met.

func (FileMetaValidationError) Cause

func (e FileMetaValidationError) Cause() error

Cause function returns cause value.

func (FileMetaValidationError) Error

func (e FileMetaValidationError) Error() string

Error satisfies the builtin error interface

func (FileMetaValidationError) ErrorName

func (e FileMetaValidationError) ErrorName() string

ErrorName returns error name.

func (FileMetaValidationError) Field

func (e FileMetaValidationError) Field() string

Field function returns field value.

func (FileMetaValidationError) Key

func (e FileMetaValidationError) Key() bool

Key function returns key value.

func (FileMetaValidationError) Reason

func (e FileMetaValidationError) Reason() string

Reason function returns reason value.

type FileMeta_CertificateMeta

type FileMeta_CertificateMeta struct {
	CertificateMeta *CertificateMeta `protobuf:"bytes,6,opt,name=certificate_meta,json=certificateMeta,proto3,oneof"`
}

type FileMultiError

type FileMultiError []error

FileMultiError is an error wrapping multiple validation errors returned by File.ValidateAll() if the designated constraints aren't met.

func (FileMultiError) AllErrors

func (m FileMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (FileMultiError) Error

func (m FileMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type FileOverview

type FileOverview struct {

	// A list of files
	Files []*File `protobuf:"bytes,1,rep,name=files,proto3" json:"files,omitempty"`
	// The configuration version of the current set of files
	ConfigVersion *ConfigVersion `protobuf:"bytes,2,opt,name=config_version,json=configVersion,proto3" json:"config_version,omitempty"`
	// contains filtered or unexported fields
}

Represents a collection of files

func (*FileOverview) Descriptor deprecated

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

Deprecated: Use FileOverview.ProtoReflect.Descriptor instead.

func (*FileOverview) GetConfigVersion

func (x *FileOverview) GetConfigVersion() *ConfigVersion

func (*FileOverview) GetFiles

func (x *FileOverview) GetFiles() []*File

func (*FileOverview) ProtoMessage

func (*FileOverview) ProtoMessage()

func (*FileOverview) ProtoReflect

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

func (*FileOverview) Reset

func (x *FileOverview) Reset()

func (*FileOverview) String

func (x *FileOverview) String() string

func (*FileOverview) Validate

func (m *FileOverview) Validate() error

Validate checks the field values on FileOverview with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*FileOverview) ValidateAll

func (m *FileOverview) ValidateAll() error

ValidateAll checks the field values on FileOverview with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in FileOverviewMultiError, or nil if none found.

type FileOverviewMultiError

type FileOverviewMultiError []error

FileOverviewMultiError is an error wrapping multiple validation errors returned by FileOverview.ValidateAll() if the designated constraints aren't met.

func (FileOverviewMultiError) AllErrors

func (m FileOverviewMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (FileOverviewMultiError) Error

func (m FileOverviewMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type FileOverviewValidationError

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

FileOverviewValidationError is the validation error returned by FileOverview.Validate if the designated constraints aren't met.

func (FileOverviewValidationError) Cause

Cause function returns cause value.

func (FileOverviewValidationError) Error

Error satisfies the builtin error interface

func (FileOverviewValidationError) ErrorName

func (e FileOverviewValidationError) ErrorName() string

ErrorName returns error name.

func (FileOverviewValidationError) Field

Field function returns field value.

func (FileOverviewValidationError) Key

Key function returns key value.

func (FileOverviewValidationError) Reason

Reason function returns reason value.

type FileServer

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

The file settings associated with file server for configurations

func (*FileServer) Descriptor deprecated

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

Deprecated: Use FileServer.ProtoReflect.Descriptor instead.

func (*FileServer) ProtoMessage

func (*FileServer) ProtoMessage()

func (*FileServer) ProtoReflect

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

func (*FileServer) Reset

func (x *FileServer) Reset()

func (*FileServer) String

func (x *FileServer) String() string

func (*FileServer) Validate

func (m *FileServer) Validate() error

Validate checks the field values on FileServer with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*FileServer) ValidateAll

func (m *FileServer) ValidateAll() error

ValidateAll checks the field values on FileServer with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in FileServerMultiError, or nil if none found.

type FileServerMultiError

type FileServerMultiError []error

FileServerMultiError is an error wrapping multiple validation errors returned by FileServer.ValidateAll() if the designated constraints aren't met.

func (FileServerMultiError) AllErrors

func (m FileServerMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (FileServerMultiError) Error

func (m FileServerMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type FileServerValidationError

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

FileServerValidationError is the validation error returned by FileServer.Validate if the designated constraints aren't met.

func (FileServerValidationError) Cause

func (e FileServerValidationError) Cause() error

Cause function returns cause value.

func (FileServerValidationError) Error

Error satisfies the builtin error interface

func (FileServerValidationError) ErrorName

func (e FileServerValidationError) ErrorName() string

ErrorName returns error name.

func (FileServerValidationError) Field

Field function returns field value.

func (FileServerValidationError) Key

Key function returns key value.

func (FileServerValidationError) Reason

func (e FileServerValidationError) Reason() string

Reason function returns reason value.

type FileServiceClient

type FileServiceClient interface {
	// Get the overview of files for a particular configuration version of an instance
	GetOverview(ctx context.Context, in *GetOverviewRequest, opts ...grpc.CallOption) (*GetOverviewResponse, error)
	// Update the overview of files for a particular set of file changes on the data plane
	UpdateOverview(ctx context.Context, in *UpdateOverviewRequest, opts ...grpc.CallOption) (*UpdateOverviewResponse, error)
	// Get the file contents for a particular file
	GetFile(ctx context.Context, in *GetFileRequest, opts ...grpc.CallOption) (*GetFileResponse, error)
	// Update a file from the Agent to the Server
	UpdateFile(ctx context.Context, in *UpdateFileRequest, opts ...grpc.CallOption) (*UpdateFileResponse, error)
}

FileServiceClient is the client API for FileService 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.

This specifies the FileService operations for transferring file data between a client and server. All operations are written from a client perspective and flow Client -> Server The server must set a max file size (in bytes), and that size must be used to configure the gRPC server and client for the FileService such that the FileContents object can be sent with bytes of the configured size. The actual configured max size for gRPC objects must be maxFileSize + sizeOfSha256HashString since a FileContents object contains both. A SHA256 hash string is 64 bytes, therefore the configured max message size should be maxFileSize + 64.

type FileServiceServer

type FileServiceServer interface {
	// Get the overview of files for a particular configuration version of an instance
	GetOverview(context.Context, *GetOverviewRequest) (*GetOverviewResponse, error)
	// Update the overview of files for a particular set of file changes on the data plane
	UpdateOverview(context.Context, *UpdateOverviewRequest) (*UpdateOverviewResponse, error)
	// Get the file contents for a particular file
	GetFile(context.Context, *GetFileRequest) (*GetFileResponse, error)
	// Update a file from the Agent to the Server
	UpdateFile(context.Context, *UpdateFileRequest) (*UpdateFileResponse, error)
}

FileServiceServer is the server API for FileService service. All implementations should embed UnimplementedFileServiceServer for forward compatibility.

This specifies the FileService operations for transferring file data between a client and server. All operations are written from a client perspective and flow Client -> Server The server must set a max file size (in bytes), and that size must be used to configure the gRPC server and client for the FileService such that the FileContents object can be sent with bytes of the configured size. The actual configured max size for gRPC objects must be maxFileSize + sizeOfSha256HashString since a FileContents object contains both. A SHA256 hash string is 64 bytes, therefore the configured max message size should be maxFileSize + 64.

type FileValidationError

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

FileValidationError is the validation error returned by File.Validate if the designated constraints aren't met.

func (FileValidationError) Cause

func (e FileValidationError) Cause() error

Cause function returns cause value.

func (FileValidationError) Error

func (e FileValidationError) Error() string

Error satisfies the builtin error interface

func (FileValidationError) ErrorName

func (e FileValidationError) ErrorName() string

ErrorName returns error name.

func (FileValidationError) Field

func (e FileValidationError) Field() string

Field function returns field value.

func (FileValidationError) Key

func (e FileValidationError) Key() bool

Key function returns key value.

func (FileValidationError) Reason

func (e FileValidationError) Reason() string

Reason function returns reason value.

type File_FileAction

type File_FileAction int32

Action enumeration

const (
	// Default value, no action
	File_FILE_ACTION_UNSPECIFIED File_FileAction = 0
	// No changes to the file
	File_FILE_ACTION_UNCHANGED File_FileAction = 1
	// New file
	File_FILE_ACTION_ADD File_FileAction = 2
	// Updated file
	File_FILE_ACTION_UPDATE File_FileAction = 3
	// File deleted
	File_FILE_ACTION_DELETE File_FileAction = 4
)

func (File_FileAction) Descriptor

func (File_FileAction) Enum

func (x File_FileAction) Enum() *File_FileAction

func (File_FileAction) EnumDescriptor deprecated

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

Deprecated: Use File_FileAction.Descriptor instead.

func (File_FileAction) Number

func (File_FileAction) String

func (x File_FileAction) String() string

func (File_FileAction) Type

type GetFileRequest

type GetFileRequest struct {

	// Meta-information associated with a message
	MessageMeta *MessageMeta `protobuf:"bytes,1,opt,name=message_meta,json=messageMeta,proto3" json:"message_meta,omitempty"`
	// Meta-information associated with the file
	FileMeta *FileMeta `protobuf:"bytes,2,opt,name=file_meta,json=fileMeta,proto3" json:"file_meta,omitempty"`
	// contains filtered or unexported fields
}

Represents the get file request

func (*GetFileRequest) Descriptor deprecated

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

Deprecated: Use GetFileRequest.ProtoReflect.Descriptor instead.

func (*GetFileRequest) GetFileMeta

func (x *GetFileRequest) GetFileMeta() *FileMeta

func (*GetFileRequest) GetMessageMeta

func (x *GetFileRequest) GetMessageMeta() *MessageMeta

func (*GetFileRequest) ProtoMessage

func (*GetFileRequest) ProtoMessage()

func (*GetFileRequest) ProtoReflect

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

func (*GetFileRequest) Reset

func (x *GetFileRequest) Reset()

func (*GetFileRequest) String

func (x *GetFileRequest) String() string

func (*GetFileRequest) Validate

func (m *GetFileRequest) Validate() error

Validate checks the field values on GetFileRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetFileRequest) ValidateAll

func (m *GetFileRequest) ValidateAll() error

ValidateAll checks the field values on GetFileRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetFileRequestMultiError, or nil if none found.

type GetFileRequestMultiError

type GetFileRequestMultiError []error

GetFileRequestMultiError is an error wrapping multiple validation errors returned by GetFileRequest.ValidateAll() if the designated constraints aren't met.

func (GetFileRequestMultiError) AllErrors

func (m GetFileRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetFileRequestMultiError) Error

func (m GetFileRequestMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type GetFileRequestValidationError

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

GetFileRequestValidationError is the validation error returned by GetFileRequest.Validate if the designated constraints aren't met.

func (GetFileRequestValidationError) Cause

Cause function returns cause value.

func (GetFileRequestValidationError) Error

Error satisfies the builtin error interface

func (GetFileRequestValidationError) ErrorName

func (e GetFileRequestValidationError) ErrorName() string

ErrorName returns error name.

func (GetFileRequestValidationError) Field

Field function returns field value.

func (GetFileRequestValidationError) Key

Key function returns key value.

func (GetFileRequestValidationError) Reason

Reason function returns reason value.

type GetFileResponse

type GetFileResponse struct {

	// The contents of a file
	Contents *FileContents `protobuf:"bytes,1,opt,name=contents,proto3" json:"contents,omitempty"`
	// contains filtered or unexported fields
}

Represents the response to a get file request

func (*GetFileResponse) Descriptor deprecated

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

Deprecated: Use GetFileResponse.ProtoReflect.Descriptor instead.

func (*GetFileResponse) GetContents

func (x *GetFileResponse) GetContents() *FileContents

func (*GetFileResponse) ProtoMessage

func (*GetFileResponse) ProtoMessage()

func (*GetFileResponse) ProtoReflect

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

func (*GetFileResponse) Reset

func (x *GetFileResponse) Reset()

func (*GetFileResponse) String

func (x *GetFileResponse) String() string

func (*GetFileResponse) Validate

func (m *GetFileResponse) Validate() error

Validate checks the field values on GetFileResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetFileResponse) ValidateAll

func (m *GetFileResponse) ValidateAll() error

ValidateAll checks the field values on GetFileResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetFileResponseMultiError, or nil if none found.

type GetFileResponseMultiError

type GetFileResponseMultiError []error

GetFileResponseMultiError is an error wrapping multiple validation errors returned by GetFileResponse.ValidateAll() if the designated constraints aren't met.

func (GetFileResponseMultiError) AllErrors

func (m GetFileResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetFileResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetFileResponseValidationError

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

GetFileResponseValidationError is the validation error returned by GetFileResponse.Validate if the designated constraints aren't met.

func (GetFileResponseValidationError) Cause

Cause function returns cause value.

func (GetFileResponseValidationError) Error

Error satisfies the builtin error interface

func (GetFileResponseValidationError) ErrorName

func (e GetFileResponseValidationError) ErrorName() string

ErrorName returns error name.

func (GetFileResponseValidationError) Field

Field function returns field value.

func (GetFileResponseValidationError) Key

Key function returns key value.

func (GetFileResponseValidationError) Reason

Reason function returns reason value.

type GetOverviewRequest

type GetOverviewRequest struct {

	// Meta-information associated with a message
	MessageMeta *MessageMeta `protobuf:"bytes,1,opt,name=message_meta,json=messageMeta,proto3" json:"message_meta,omitempty"`
	// The config version of the overview you are requesting
	ConfigVersion *ConfigVersion `protobuf:"bytes,2,opt,name=config_version,json=configVersion,proto3" json:"config_version,omitempty"`
	// contains filtered or unexported fields
}

Represents a request payload for a file overview

func (*GetOverviewRequest) Descriptor deprecated

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

Deprecated: Use GetOverviewRequest.ProtoReflect.Descriptor instead.

func (*GetOverviewRequest) GetConfigVersion

func (x *GetOverviewRequest) GetConfigVersion() *ConfigVersion

func (*GetOverviewRequest) GetMessageMeta

func (x *GetOverviewRequest) GetMessageMeta() *MessageMeta

func (*GetOverviewRequest) ProtoMessage

func (*GetOverviewRequest) ProtoMessage()

func (*GetOverviewRequest) ProtoReflect

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

func (*GetOverviewRequest) Reset

func (x *GetOverviewRequest) Reset()

func (*GetOverviewRequest) String

func (x *GetOverviewRequest) String() string

func (*GetOverviewRequest) Validate

func (m *GetOverviewRequest) Validate() error

Validate checks the field values on GetOverviewRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetOverviewRequest) ValidateAll

func (m *GetOverviewRequest) ValidateAll() error

ValidateAll checks the field values on GetOverviewRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetOverviewRequestMultiError, or nil if none found.

type GetOverviewRequestMultiError

type GetOverviewRequestMultiError []error

GetOverviewRequestMultiError is an error wrapping multiple validation errors returned by GetOverviewRequest.ValidateAll() if the designated constraints aren't met.

func (GetOverviewRequestMultiError) AllErrors

func (m GetOverviewRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetOverviewRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetOverviewRequestValidationError

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

GetOverviewRequestValidationError is the validation error returned by GetOverviewRequest.Validate if the designated constraints aren't met.

func (GetOverviewRequestValidationError) Cause

Cause function returns cause value.

func (GetOverviewRequestValidationError) Error

Error satisfies the builtin error interface

func (GetOverviewRequestValidationError) ErrorName

ErrorName returns error name.

func (GetOverviewRequestValidationError) Field

Field function returns field value.

func (GetOverviewRequestValidationError) Key

Key function returns key value.

func (GetOverviewRequestValidationError) Reason

Reason function returns reason value.

type GetOverviewResponse

type GetOverviewResponse struct {

	// The file overview of an instance
	Overview *FileOverview `protobuf:"bytes,1,opt,name=overview,proto3" json:"overview,omitempty"`
	// contains filtered or unexported fields
}

Represents the response payload to a GetOverviewRequest, requesting a list of logically grouped files e.g. configuration payload

func (*GetOverviewResponse) Descriptor deprecated

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

Deprecated: Use GetOverviewResponse.ProtoReflect.Descriptor instead.

func (*GetOverviewResponse) GetOverview

func (x *GetOverviewResponse) GetOverview() *FileOverview

func (*GetOverviewResponse) ProtoMessage

func (*GetOverviewResponse) ProtoMessage()

func (*GetOverviewResponse) ProtoReflect

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

func (*GetOverviewResponse) Reset

func (x *GetOverviewResponse) Reset()

func (*GetOverviewResponse) String

func (x *GetOverviewResponse) String() string

func (*GetOverviewResponse) Validate

func (m *GetOverviewResponse) Validate() error

Validate checks the field values on GetOverviewResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetOverviewResponse) ValidateAll

func (m *GetOverviewResponse) ValidateAll() error

ValidateAll checks the field values on GetOverviewResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetOverviewResponseMultiError, or nil if none found.

type GetOverviewResponseMultiError

type GetOverviewResponseMultiError []error

GetOverviewResponseMultiError is an error wrapping multiple validation errors returned by GetOverviewResponse.ValidateAll() if the designated constraints aren't met.

func (GetOverviewResponseMultiError) AllErrors

func (m GetOverviewResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetOverviewResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetOverviewResponseValidationError

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

GetOverviewResponseValidationError is the validation error returned by GetOverviewResponse.Validate if the designated constraints aren't met.

func (GetOverviewResponseValidationError) Cause

Cause function returns cause value.

func (GetOverviewResponseValidationError) Error

Error satisfies the builtin error interface

func (GetOverviewResponseValidationError) ErrorName

ErrorName returns error name.

func (GetOverviewResponseValidationError) Field

Field function returns field value.

func (GetOverviewResponseValidationError) Key

Key function returns key value.

func (GetOverviewResponseValidationError) Reason

Reason function returns reason value.

type HealthRequest

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

Additional information associated with a HealthRequest

func (*HealthRequest) Descriptor deprecated

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

Deprecated: Use HealthRequest.ProtoReflect.Descriptor instead.

func (*HealthRequest) ProtoMessage

func (*HealthRequest) ProtoMessage()

func (*HealthRequest) ProtoReflect

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

func (*HealthRequest) Reset

func (x *HealthRequest) Reset()

func (*HealthRequest) String

func (x *HealthRequest) String() string

func (*HealthRequest) Validate

func (m *HealthRequest) Validate() error

Validate checks the field values on HealthRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*HealthRequest) ValidateAll

func (m *HealthRequest) ValidateAll() error

ValidateAll checks the field values on HealthRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in HealthRequestMultiError, or nil if none found.

type HealthRequestMultiError

type HealthRequestMultiError []error

HealthRequestMultiError is an error wrapping multiple validation errors returned by HealthRequest.ValidateAll() if the designated constraints aren't met.

func (HealthRequestMultiError) AllErrors

func (m HealthRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (HealthRequestMultiError) Error

func (m HealthRequestMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type HealthRequestValidationError

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

HealthRequestValidationError is the validation error returned by HealthRequest.Validate if the designated constraints aren't met.

func (HealthRequestValidationError) Cause

Cause function returns cause value.

func (HealthRequestValidationError) Error

Error satisfies the builtin error interface

func (HealthRequestValidationError) ErrorName

func (e HealthRequestValidationError) ErrorName() string

ErrorName returns error name.

func (HealthRequestValidationError) Field

Field function returns field value.

func (HealthRequestValidationError) Key

Key function returns key value.

func (HealthRequestValidationError) Reason

Reason function returns reason value.

type HostInfo

type HostInfo struct {

	// The host identifier
	HostId string `protobuf:"bytes,1,opt,name=host_id,json=hostId,proto3" json:"host_id,omitempty"`
	// The name of the host
	Hostname string `protobuf:"bytes,2,opt,name=hostname,proto3" json:"hostname,omitempty"`
	// Release information of the host
	ReleaseInfo *ReleaseInfo `protobuf:"bytes,3,opt,name=release_info,json=releaseInfo,proto3" json:"release_info,omitempty"`
	// contains filtered or unexported fields
}

Represents the host system information

func (*HostInfo) Descriptor deprecated

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

Deprecated: Use HostInfo.ProtoReflect.Descriptor instead.

func (*HostInfo) GetHostId

func (x *HostInfo) GetHostId() string

func (*HostInfo) GetHostname

func (x *HostInfo) GetHostname() string

func (*HostInfo) GetReleaseInfo

func (x *HostInfo) GetReleaseInfo() *ReleaseInfo

func (*HostInfo) ProtoMessage

func (*HostInfo) ProtoMessage()

func (*HostInfo) ProtoReflect

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

func (*HostInfo) Reset

func (x *HostInfo) Reset()

func (*HostInfo) String

func (x *HostInfo) String() string

func (*HostInfo) Validate

func (m *HostInfo) Validate() error

Validate checks the field values on HostInfo with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*HostInfo) ValidateAll

func (m *HostInfo) ValidateAll() error

ValidateAll checks the field values on HostInfo with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in HostInfoMultiError, or nil if none found.

type HostInfoMultiError

type HostInfoMultiError []error

HostInfoMultiError is an error wrapping multiple validation errors returned by HostInfo.ValidateAll() if the designated constraints aren't met.

func (HostInfoMultiError) AllErrors

func (m HostInfoMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (HostInfoMultiError) Error

func (m HostInfoMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type HostInfoValidationError

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

HostInfoValidationError is the validation error returned by HostInfo.Validate if the designated constraints aren't met.

func (HostInfoValidationError) Cause

func (e HostInfoValidationError) Cause() error

Cause function returns cause value.

func (HostInfoValidationError) Error

func (e HostInfoValidationError) Error() string

Error satisfies the builtin error interface

func (HostInfoValidationError) ErrorName

func (e HostInfoValidationError) ErrorName() string

ErrorName returns error name.

func (HostInfoValidationError) Field

func (e HostInfoValidationError) Field() string

Field function returns field value.

func (HostInfoValidationError) Key

func (e HostInfoValidationError) Key() bool

Key function returns key value.

func (HostInfoValidationError) Reason

func (e HostInfoValidationError) Reason() string

Reason function returns reason value.

type Instance

type Instance struct {

	// Meta-information associated with an instance
	InstanceMeta *InstanceMeta `protobuf:"bytes,1,opt,name=instance_meta,json=instanceMeta,proto3" json:"instance_meta,omitempty"`
	// Read and write configuration associated with an instance that can be modified via this definition
	InstanceConfig *InstanceConfig `protobuf:"bytes,2,opt,name=instance_config,json=instanceConfig,proto3" json:"instance_config,omitempty"`
	// Read-only meta data associated with the instance running in it's environment
	InstanceRuntime *InstanceRuntime `protobuf:"bytes,3,opt,name=instance_runtime,json=instanceRuntime,proto3" json:"instance_runtime,omitempty"`
	// contains filtered or unexported fields
}

This represents an instance being reported on

func (*Instance) Descriptor deprecated

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

Deprecated: Use Instance.ProtoReflect.Descriptor instead.

func (*Instance) GetInstanceConfig

func (x *Instance) GetInstanceConfig() *InstanceConfig

func (*Instance) GetInstanceMeta

func (x *Instance) GetInstanceMeta() *InstanceMeta

func (*Instance) GetInstanceRuntime

func (x *Instance) GetInstanceRuntime() *InstanceRuntime

func (*Instance) ProtoMessage

func (*Instance) ProtoMessage()

func (*Instance) ProtoReflect

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

func (*Instance) Reset

func (x *Instance) Reset()

func (*Instance) String

func (x *Instance) String() string

func (*Instance) Validate

func (m *Instance) Validate() error

Validate checks the field values on Instance with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Instance) ValidateAll

func (m *Instance) ValidateAll() error

ValidateAll checks the field values on Instance with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in InstanceMultiError, or nil if none found.

type InstanceAction

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

A set of actions that can be performed on an instance

func (*InstanceAction) Descriptor deprecated

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

Deprecated: Use InstanceAction.ProtoReflect.Descriptor instead.

func (*InstanceAction) ProtoMessage

func (*InstanceAction) ProtoMessage()

func (*InstanceAction) ProtoReflect

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

func (*InstanceAction) Reset

func (x *InstanceAction) Reset()

func (*InstanceAction) String

func (x *InstanceAction) String() string

func (*InstanceAction) Validate

func (m *InstanceAction) Validate() error

Validate checks the field values on InstanceAction with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*InstanceAction) ValidateAll

func (m *InstanceAction) ValidateAll() error

ValidateAll checks the field values on InstanceAction with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in InstanceActionMultiError, or nil if none found.

type InstanceActionMultiError

type InstanceActionMultiError []error

InstanceActionMultiError is an error wrapping multiple validation errors returned by InstanceAction.ValidateAll() if the designated constraints aren't met.

func (InstanceActionMultiError) AllErrors

func (m InstanceActionMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (InstanceActionMultiError) Error

func (m InstanceActionMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type InstanceActionValidationError

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

InstanceActionValidationError is the validation error returned by InstanceAction.Validate if the designated constraints aren't met.

func (InstanceActionValidationError) Cause

Cause function returns cause value.

func (InstanceActionValidationError) Error

Error satisfies the builtin error interface

func (InstanceActionValidationError) ErrorName

func (e InstanceActionValidationError) ErrorName() string

ErrorName returns error name.

func (InstanceActionValidationError) Field

Field function returns field value.

func (InstanceActionValidationError) Key

Key function returns key value.

func (InstanceActionValidationError) Reason

Reason function returns reason value.

type InstanceChild

type InstanceChild struct {

	// the process identifier
	ProcessId int32 `protobuf:"varint,1,opt,name=process_id,json=processId,proto3" json:"process_id,omitempty"`
	// contains filtered or unexported fields
}

func (*InstanceChild) Descriptor deprecated

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

Deprecated: Use InstanceChild.ProtoReflect.Descriptor instead.

func (*InstanceChild) GetProcessId

func (x *InstanceChild) GetProcessId() int32

func (*InstanceChild) ProtoMessage

func (*InstanceChild) ProtoMessage()

func (*InstanceChild) ProtoReflect

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

func (*InstanceChild) Reset

func (x *InstanceChild) Reset()

func (*InstanceChild) String

func (x *InstanceChild) String() string

func (*InstanceChild) Validate

func (m *InstanceChild) Validate() error

Validate checks the field values on InstanceChild with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*InstanceChild) ValidateAll

func (m *InstanceChild) ValidateAll() error

ValidateAll checks the field values on InstanceChild with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in InstanceChildMultiError, or nil if none found.

type InstanceChildMultiError

type InstanceChildMultiError []error

InstanceChildMultiError is an error wrapping multiple validation errors returned by InstanceChild.ValidateAll() if the designated constraints aren't met.

func (InstanceChildMultiError) AllErrors

func (m InstanceChildMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (InstanceChildMultiError) Error

func (m InstanceChildMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type InstanceChildValidationError

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

InstanceChildValidationError is the validation error returned by InstanceChild.Validate if the designated constraints aren't met.

func (InstanceChildValidationError) Cause

Cause function returns cause value.

func (InstanceChildValidationError) Error

Error satisfies the builtin error interface

func (InstanceChildValidationError) ErrorName

func (e InstanceChildValidationError) ErrorName() string

ErrorName returns error name.

func (InstanceChildValidationError) Field

Field function returns field value.

func (InstanceChildValidationError) Key

Key function returns key value.

func (InstanceChildValidationError) Reason

Reason function returns reason value.

type InstanceConfig

type InstanceConfig struct {

	// provided actions associated with a particular instance. These are runtime based and provided by a particular version of the NGINX Agent
	Actions []*InstanceAction `protobuf:"bytes,1,rep,name=actions,proto3" json:"actions,omitempty"`
	// Types that are valid to be assigned to Config:
	//
	//	*InstanceConfig_AgentConfig
	Config isInstanceConfig_Config `protobuf_oneof:"config"`
	// contains filtered or unexported fields
}

Instance Configuration options

func (*InstanceConfig) Descriptor deprecated

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

Deprecated: Use InstanceConfig.ProtoReflect.Descriptor instead.

func (*InstanceConfig) GetActions

func (x *InstanceConfig) GetActions() []*InstanceAction

func (*InstanceConfig) GetAgentConfig

func (x *InstanceConfig) GetAgentConfig() *AgentConfig

func (*InstanceConfig) GetConfig

func (x *InstanceConfig) GetConfig() isInstanceConfig_Config

func (*InstanceConfig) ProtoMessage

func (*InstanceConfig) ProtoMessage()

func (*InstanceConfig) ProtoReflect

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

func (*InstanceConfig) Reset

func (x *InstanceConfig) Reset()

func (*InstanceConfig) String

func (x *InstanceConfig) String() string

func (*InstanceConfig) Validate

func (m *InstanceConfig) Validate() error

Validate checks the field values on InstanceConfig with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*InstanceConfig) ValidateAll

func (m *InstanceConfig) ValidateAll() error

ValidateAll checks the field values on InstanceConfig with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in InstanceConfigMultiError, or nil if none found.

type InstanceConfigMultiError

type InstanceConfigMultiError []error

InstanceConfigMultiError is an error wrapping multiple validation errors returned by InstanceConfig.ValidateAll() if the designated constraints aren't met.

func (InstanceConfigMultiError) AllErrors

func (m InstanceConfigMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (InstanceConfigMultiError) Error

func (m InstanceConfigMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type InstanceConfigValidationError

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

InstanceConfigValidationError is the validation error returned by InstanceConfig.Validate if the designated constraints aren't met.

func (InstanceConfigValidationError) Cause

Cause function returns cause value.

func (InstanceConfigValidationError) Error

Error satisfies the builtin error interface

func (InstanceConfigValidationError) ErrorName

func (e InstanceConfigValidationError) ErrorName() string

ErrorName returns error name.

func (InstanceConfigValidationError) Field

Field function returns field value.

func (InstanceConfigValidationError) Key

Key function returns key value.

func (InstanceConfigValidationError) Reason

Reason function returns reason value.

type InstanceConfig_AgentConfig

type InstanceConfig_AgentConfig struct {
	// NGINX Agent runtime configuration settings
	AgentConfig *AgentConfig `protobuf:"bytes,2,opt,name=agent_config,json=agentConfig,proto3,oneof"`
}

type InstanceHealth

type InstanceHealth struct {
	InstanceId string `protobuf:"bytes,1,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
	// Health status
	InstanceHealthStatus InstanceHealth_InstanceHealthStatus `` /* 172-byte string literal not displayed */
	// Provides a human readable context around why a health status is a particular state
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// contains filtered or unexported fields
}

func (*InstanceHealth) Descriptor deprecated

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

Deprecated: Use InstanceHealth.ProtoReflect.Descriptor instead.

func (*InstanceHealth) GetDescription

func (x *InstanceHealth) GetDescription() string

func (*InstanceHealth) GetInstanceHealthStatus

func (x *InstanceHealth) GetInstanceHealthStatus() InstanceHealth_InstanceHealthStatus

func (*InstanceHealth) GetInstanceId

func (x *InstanceHealth) GetInstanceId() string

func (*InstanceHealth) ProtoMessage

func (*InstanceHealth) ProtoMessage()

func (*InstanceHealth) ProtoReflect

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

func (*InstanceHealth) Reset

func (x *InstanceHealth) Reset()

func (*InstanceHealth) String

func (x *InstanceHealth) String() string

func (*InstanceHealth) Validate

func (m *InstanceHealth) Validate() error

Validate checks the field values on InstanceHealth with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*InstanceHealth) ValidateAll

func (m *InstanceHealth) ValidateAll() error

ValidateAll checks the field values on InstanceHealth with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in InstanceHealthMultiError, or nil if none found.

type InstanceHealthMultiError

type InstanceHealthMultiError []error

InstanceHealthMultiError is an error wrapping multiple validation errors returned by InstanceHealth.ValidateAll() if the designated constraints aren't met.

func (InstanceHealthMultiError) AllErrors

func (m InstanceHealthMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (InstanceHealthMultiError) Error

func (m InstanceHealthMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type InstanceHealthValidationError

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

InstanceHealthValidationError is the validation error returned by InstanceHealth.Validate if the designated constraints aren't met.

func (InstanceHealthValidationError) Cause

Cause function returns cause value.

func (InstanceHealthValidationError) Error

Error satisfies the builtin error interface

func (InstanceHealthValidationError) ErrorName

func (e InstanceHealthValidationError) ErrorName() string

ErrorName returns error name.

func (InstanceHealthValidationError) Field

Field function returns field value.

func (InstanceHealthValidationError) Key

Key function returns key value.

func (InstanceHealthValidationError) Reason

Reason function returns reason value.

type InstanceHealth_InstanceHealthStatus

type InstanceHealth_InstanceHealthStatus int32

Health status enum

const (
	// Unspecified status
	InstanceHealth_INSTANCE_HEALTH_STATUS_UNSPECIFIED InstanceHealth_InstanceHealthStatus = 0
	// Healthy status
	InstanceHealth_INSTANCE_HEALTH_STATUS_HEALTHY InstanceHealth_InstanceHealthStatus = 1
	// Unhealthy status
	InstanceHealth_INSTANCE_HEALTH_STATUS_UNHEALTHY InstanceHealth_InstanceHealthStatus = 2
	// Degraded status
	InstanceHealth_INSTANCE_HEALTH_STATUS_DEGRADED InstanceHealth_InstanceHealthStatus = 3
)

func (InstanceHealth_InstanceHealthStatus) Descriptor

func (InstanceHealth_InstanceHealthStatus) Enum

func (InstanceHealth_InstanceHealthStatus) EnumDescriptor deprecated

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

Deprecated: Use InstanceHealth_InstanceHealthStatus.Descriptor instead.

func (InstanceHealth_InstanceHealthStatus) Number

func (InstanceHealth_InstanceHealthStatus) String

func (InstanceHealth_InstanceHealthStatus) Type

type InstanceMeta

type InstanceMeta struct {

	// the identifier associated with the instance
	InstanceId string `protobuf:"bytes,1,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
	// the types of instances possible
	InstanceType InstanceMeta_InstanceType `` /* 136-byte string literal not displayed */
	// the version of the instance
	Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"`
	// contains filtered or unexported fields
}

Meta-information relating to the reported instance

func (*InstanceMeta) Descriptor deprecated

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

Deprecated: Use InstanceMeta.ProtoReflect.Descriptor instead.

func (*InstanceMeta) GetInstanceId

func (x *InstanceMeta) GetInstanceId() string

func (*InstanceMeta) GetInstanceType

func (x *InstanceMeta) GetInstanceType() InstanceMeta_InstanceType

func (*InstanceMeta) GetVersion

func (x *InstanceMeta) GetVersion() string

func (*InstanceMeta) ProtoMessage

func (*InstanceMeta) ProtoMessage()

func (*InstanceMeta) ProtoReflect

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

func (*InstanceMeta) Reset

func (x *InstanceMeta) Reset()

func (*InstanceMeta) String

func (x *InstanceMeta) String() string

func (*InstanceMeta) Validate

func (m *InstanceMeta) Validate() error

Validate checks the field values on InstanceMeta with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*InstanceMeta) ValidateAll

func (m *InstanceMeta) ValidateAll() error

ValidateAll checks the field values on InstanceMeta with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in InstanceMetaMultiError, or nil if none found.

type InstanceMetaMultiError

type InstanceMetaMultiError []error

InstanceMetaMultiError is an error wrapping multiple validation errors returned by InstanceMeta.ValidateAll() if the designated constraints aren't met.

func (InstanceMetaMultiError) AllErrors

func (m InstanceMetaMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (InstanceMetaMultiError) Error

func (m InstanceMetaMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type InstanceMetaValidationError

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

InstanceMetaValidationError is the validation error returned by InstanceMeta.Validate if the designated constraints aren't met.

func (InstanceMetaValidationError) Cause

Cause function returns cause value.

func (InstanceMetaValidationError) Error

Error satisfies the builtin error interface

func (InstanceMetaValidationError) ErrorName

func (e InstanceMetaValidationError) ErrorName() string

ErrorName returns error name.

func (InstanceMetaValidationError) Field

Field function returns field value.

func (InstanceMetaValidationError) Key

Key function returns key value.

func (InstanceMetaValidationError) Reason

Reason function returns reason value.

type InstanceMeta_InstanceType

type InstanceMeta_InstanceType int32

the types of instances possible

const (
	// Unspecified instance type
	InstanceMeta_INSTANCE_TYPE_UNSPECIFIED InstanceMeta_InstanceType = 0
	// NGINX Agent
	InstanceMeta_INSTANCE_TYPE_AGENT InstanceMeta_InstanceType = 1
	// NGINX
	InstanceMeta_INSTANCE_TYPE_NGINX InstanceMeta_InstanceType = 2
	// NGINX Plus
	InstanceMeta_INSTANCE_TYPE_NGINX_PLUS InstanceMeta_InstanceType = 3
	// NGINX Unit
	InstanceMeta_INSTANCE_TYPE_UNIT InstanceMeta_InstanceType = 4
)

func (InstanceMeta_InstanceType) Descriptor

func (InstanceMeta_InstanceType) Enum

func (InstanceMeta_InstanceType) EnumDescriptor deprecated

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

Deprecated: Use InstanceMeta_InstanceType.Descriptor instead.

func (InstanceMeta_InstanceType) Number

func (InstanceMeta_InstanceType) String

func (x InstanceMeta_InstanceType) String() string

func (InstanceMeta_InstanceType) Type

type InstanceMultiError

type InstanceMultiError []error

InstanceMultiError is an error wrapping multiple validation errors returned by Instance.ValidateAll() if the designated constraints aren't met.

func (InstanceMultiError) AllErrors

func (m InstanceMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (InstanceMultiError) Error

func (m InstanceMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type InstanceRuntime

type InstanceRuntime struct {

	// the process identifier
	ProcessId int32 `protobuf:"varint,1,opt,name=process_id,json=processId,proto3" json:"process_id,omitempty"`
	// the binary path location
	BinaryPath string `protobuf:"bytes,2,opt,name=binary_path,json=binaryPath,proto3" json:"binary_path,omitempty"`
	// the config path location
	ConfigPath string `protobuf:"bytes,3,opt,name=config_path,json=configPath,proto3" json:"config_path,omitempty"`
	// more detailed runtime objects
	//
	// Types that are valid to be assigned to Details:
	//
	//	*InstanceRuntime_NginxRuntimeInfo
	//	*InstanceRuntime_NginxPlusRuntimeInfo
	Details isInstanceRuntime_Details `protobuf_oneof:"details"`
	// List of worker processes
	InstanceChildren []*InstanceChild `protobuf:"bytes,6,rep,name=instance_children,json=instanceChildren,proto3" json:"instance_children,omitempty"`
	// contains filtered or unexported fields
}

func (*InstanceRuntime) Descriptor deprecated

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

Deprecated: Use InstanceRuntime.ProtoReflect.Descriptor instead.

func (*InstanceRuntime) GetBinaryPath

func (x *InstanceRuntime) GetBinaryPath() string

func (*InstanceRuntime) GetConfigPath

func (x *InstanceRuntime) GetConfigPath() string

func (*InstanceRuntime) GetDetails

func (x *InstanceRuntime) GetDetails() isInstanceRuntime_Details

func (*InstanceRuntime) GetInstanceChildren

func (x *InstanceRuntime) GetInstanceChildren() []*InstanceChild

func (*InstanceRuntime) GetNginxPlusRuntimeInfo

func (x *InstanceRuntime) GetNginxPlusRuntimeInfo() *NGINXPlusRuntimeInfo

func (*InstanceRuntime) GetNginxRuntimeInfo

func (x *InstanceRuntime) GetNginxRuntimeInfo() *NGINXRuntimeInfo

func (*InstanceRuntime) GetProcessId

func (x *InstanceRuntime) GetProcessId() int32

func (*InstanceRuntime) ProtoMessage

func (*InstanceRuntime) ProtoMessage()

func (*InstanceRuntime) ProtoReflect

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

func (*InstanceRuntime) Reset

func (x *InstanceRuntime) Reset()

func (*InstanceRuntime) String

func (x *InstanceRuntime) String() string

func (*InstanceRuntime) Validate

func (m *InstanceRuntime) Validate() error

Validate checks the field values on InstanceRuntime with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*InstanceRuntime) ValidateAll

func (m *InstanceRuntime) ValidateAll() error

ValidateAll checks the field values on InstanceRuntime with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in InstanceRuntimeMultiError, or nil if none found.

type InstanceRuntimeMultiError

type InstanceRuntimeMultiError []error

InstanceRuntimeMultiError is an error wrapping multiple validation errors returned by InstanceRuntime.ValidateAll() if the designated constraints aren't met.

func (InstanceRuntimeMultiError) AllErrors

func (m InstanceRuntimeMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (InstanceRuntimeMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type InstanceRuntimeValidationError

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

InstanceRuntimeValidationError is the validation error returned by InstanceRuntime.Validate if the designated constraints aren't met.

func (InstanceRuntimeValidationError) Cause

Cause function returns cause value.

func (InstanceRuntimeValidationError) Error

Error satisfies the builtin error interface

func (InstanceRuntimeValidationError) ErrorName

func (e InstanceRuntimeValidationError) ErrorName() string

ErrorName returns error name.

func (InstanceRuntimeValidationError) Field

Field function returns field value.

func (InstanceRuntimeValidationError) Key

Key function returns key value.

func (InstanceRuntimeValidationError) Reason

Reason function returns reason value.

type InstanceRuntime_NginxPlusRuntimeInfo

type InstanceRuntime_NginxPlusRuntimeInfo struct {
	// NGINX Plus runtime configuration settings like api value, usually read from the NGINX config, NGINX process or NGINX Plus API
	NginxPlusRuntimeInfo *NGINXPlusRuntimeInfo `protobuf:"bytes,5,opt,name=nginx_plus_runtime_info,json=nginxPlusRuntimeInfo,proto3,oneof"`
}

type InstanceRuntime_NginxRuntimeInfo

type InstanceRuntime_NginxRuntimeInfo struct {
	// NGINX runtime configuration settings like stub_status, usually read from the NGINX config or NGINX process
	NginxRuntimeInfo *NGINXRuntimeInfo `protobuf:"bytes,4,opt,name=nginx_runtime_info,json=nginxRuntimeInfo,proto3,oneof"`
}

type InstanceValidationError

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

InstanceValidationError is the validation error returned by Instance.Validate if the designated constraints aren't met.

func (InstanceValidationError) Cause

func (e InstanceValidationError) Cause() error

Cause function returns cause value.

func (InstanceValidationError) Error

func (e InstanceValidationError) Error() string

Error satisfies the builtin error interface

func (InstanceValidationError) ErrorName

func (e InstanceValidationError) ErrorName() string

ErrorName returns error name.

func (InstanceValidationError) Field

func (e InstanceValidationError) Field() string

Field function returns field value.

func (InstanceValidationError) Key

func (e InstanceValidationError) Key() bool

Key function returns key value.

func (InstanceValidationError) Reason

func (e InstanceValidationError) Reason() string

Reason function returns reason value.

type ManagementPlaneRequest

type ManagementPlaneRequest struct {

	// Meta-information associated with a message
	MessageMeta *MessageMeta `protobuf:"bytes,1,opt,name=message_meta,json=messageMeta,proto3" json:"message_meta,omitempty"`
	// Types that are valid to be assigned to Request:
	//
	//	*ManagementPlaneRequest_StatusRequest
	//	*ManagementPlaneRequest_HealthRequest
	//	*ManagementPlaneRequest_ConfigApplyRequest
	//	*ManagementPlaneRequest_ConfigUploadRequest
	//	*ManagementPlaneRequest_ActionRequest
	//	*ManagementPlaneRequest_CommandStatusRequest
	Request isManagementPlaneRequest_Request `protobuf_oneof:"request"`
	// contains filtered or unexported fields
}

A Management Plane request for information, triggers an associated rpc on the Data Plane

func (*ManagementPlaneRequest) Descriptor deprecated

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

Deprecated: Use ManagementPlaneRequest.ProtoReflect.Descriptor instead.

func (*ManagementPlaneRequest) GetActionRequest

func (x *ManagementPlaneRequest) GetActionRequest() *APIActionRequest

func (*ManagementPlaneRequest) GetCommandStatusRequest

func (x *ManagementPlaneRequest) GetCommandStatusRequest() *CommandStatusRequest

func (*ManagementPlaneRequest) GetConfigApplyRequest

func (x *ManagementPlaneRequest) GetConfigApplyRequest() *ConfigApplyRequest

func (*ManagementPlaneRequest) GetConfigUploadRequest

func (x *ManagementPlaneRequest) GetConfigUploadRequest() *ConfigUploadRequest

func (*ManagementPlaneRequest) GetHealthRequest

func (x *ManagementPlaneRequest) GetHealthRequest() *HealthRequest

func (*ManagementPlaneRequest) GetMessageMeta

func (x *ManagementPlaneRequest) GetMessageMeta() *MessageMeta

func (*ManagementPlaneRequest) GetRequest

func (x *ManagementPlaneRequest) GetRequest() isManagementPlaneRequest_Request

func (*ManagementPlaneRequest) GetStatusRequest

func (x *ManagementPlaneRequest) GetStatusRequest() *StatusRequest

func (*ManagementPlaneRequest) ProtoMessage

func (*ManagementPlaneRequest) ProtoMessage()

func (*ManagementPlaneRequest) ProtoReflect

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

func (*ManagementPlaneRequest) Reset

func (x *ManagementPlaneRequest) Reset()

func (*ManagementPlaneRequest) String

func (x *ManagementPlaneRequest) String() string

func (*ManagementPlaneRequest) Validate

func (m *ManagementPlaneRequest) Validate() error

Validate checks the field values on ManagementPlaneRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ManagementPlaneRequest) ValidateAll

func (m *ManagementPlaneRequest) ValidateAll() error

ValidateAll checks the field values on ManagementPlaneRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ManagementPlaneRequestMultiError, or nil if none found.

type ManagementPlaneRequestMultiError

type ManagementPlaneRequestMultiError []error

ManagementPlaneRequestMultiError is an error wrapping multiple validation errors returned by ManagementPlaneRequest.ValidateAll() if the designated constraints aren't met.

func (ManagementPlaneRequestMultiError) AllErrors

func (m ManagementPlaneRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ManagementPlaneRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ManagementPlaneRequestValidationError

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

ManagementPlaneRequestValidationError is the validation error returned by ManagementPlaneRequest.Validate if the designated constraints aren't met.

func (ManagementPlaneRequestValidationError) Cause

Cause function returns cause value.

func (ManagementPlaneRequestValidationError) Error

Error satisfies the builtin error interface

func (ManagementPlaneRequestValidationError) ErrorName

ErrorName returns error name.

func (ManagementPlaneRequestValidationError) Field

Field function returns field value.

func (ManagementPlaneRequestValidationError) Key

Key function returns key value.

func (ManagementPlaneRequestValidationError) Reason

Reason function returns reason value.

type ManagementPlaneRequest_ActionRequest

type ManagementPlaneRequest_ActionRequest struct {
	// triggers a DataPlaneResponse with a command_response for a particular action
	ActionRequest *APIActionRequest `protobuf:"bytes,7,opt,name=action_request,json=actionRequest,proto3,oneof"`
}

type ManagementPlaneRequest_CommandStatusRequest

type ManagementPlaneRequest_CommandStatusRequest struct {
	// triggers a DataPlaneResponse with a command_response for a particular correlation_id
	CommandStatusRequest *CommandStatusRequest `protobuf:"bytes,8,opt,name=command_status_request,json=commandStatusRequest,proto3,oneof"`
}

type ManagementPlaneRequest_ConfigApplyRequest

type ManagementPlaneRequest_ConfigApplyRequest struct {
	// triggers a rpc GetFile(FileRequest) for overview list,
	// if overview is missing, triggers a rpc GetOverview(ConfigVersion) first
	ConfigApplyRequest *ConfigApplyRequest `protobuf:"bytes,5,opt,name=config_apply_request,json=configApplyRequest,proto3,oneof"`
}

type ManagementPlaneRequest_ConfigUploadRequest

type ManagementPlaneRequest_ConfigUploadRequest struct {
	// triggers a series of rpc UpdateFile(File) for that instances
	ConfigUploadRequest *ConfigUploadRequest `protobuf:"bytes,6,opt,name=config_upload_request,json=configUploadRequest,proto3,oneof"`
}

type ManagementPlaneRequest_HealthRequest

type ManagementPlaneRequest_HealthRequest struct {
	// triggers a DataPlaneHealth rpc
	HealthRequest *HealthRequest `protobuf:"bytes,3,opt,name=health_request,json=healthRequest,proto3,oneof"`
}

type ManagementPlaneRequest_StatusRequest

type ManagementPlaneRequest_StatusRequest struct {
	// triggers a DataPlaneStatus rpc
	StatusRequest *StatusRequest `protobuf:"bytes,2,opt,name=status_request,json=statusRequest,proto3,oneof"`
}

type MessageMeta

type MessageMeta struct {

	// uuid v7 monotonically increasing string
	MessageId string `protobuf:"bytes,1,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"`
	// if 2 or more messages associated with the same workflow, use this field as an association
	CorrelationId string `protobuf:"bytes,2,opt,name=correlation_id,json=correlationId,proto3" json:"correlation_id,omitempty"`
	// timestamp for human readable timestamp in UTC format
	Timestamp *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	// contains filtered or unexported fields
}

Meta-information associated with a message

func (*MessageMeta) Descriptor deprecated

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

Deprecated: Use MessageMeta.ProtoReflect.Descriptor instead.

func (*MessageMeta) GetCorrelationId

func (x *MessageMeta) GetCorrelationId() string

func (*MessageMeta) GetMessageId

func (x *MessageMeta) GetMessageId() string

func (*MessageMeta) GetTimestamp

func (x *MessageMeta) GetTimestamp() *timestamppb.Timestamp

func (*MessageMeta) ProtoMessage

func (*MessageMeta) ProtoMessage()

func (*MessageMeta) ProtoReflect

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

func (*MessageMeta) Reset

func (x *MessageMeta) Reset()

func (*MessageMeta) String

func (x *MessageMeta) String() string

func (*MessageMeta) Validate

func (m *MessageMeta) Validate() error

Validate checks the field values on MessageMeta with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*MessageMeta) ValidateAll

func (m *MessageMeta) ValidateAll() error

ValidateAll checks the field values on MessageMeta with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in MessageMetaMultiError, or nil if none found.

type MessageMetaMultiError

type MessageMetaMultiError []error

MessageMetaMultiError is an error wrapping multiple validation errors returned by MessageMeta.ValidateAll() if the designated constraints aren't met.

func (MessageMetaMultiError) AllErrors

func (m MessageMetaMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (MessageMetaMultiError) Error

func (m MessageMetaMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type MessageMetaValidationError

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

MessageMetaValidationError is the validation error returned by MessageMeta.Validate if the designated constraints aren't met.

func (MessageMetaValidationError) Cause

Cause function returns cause value.

func (MessageMetaValidationError) Error

Error satisfies the builtin error interface

func (MessageMetaValidationError) ErrorName

func (e MessageMetaValidationError) ErrorName() string

ErrorName returns error name.

func (MessageMetaValidationError) Field

Field function returns field value.

func (MessageMetaValidationError) Key

Key function returns key value.

func (MessageMetaValidationError) Reason

Reason function returns reason value.

type MetricsServer

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

The metrics settings associated with origins (sources) of the metrics and destinations (exporter)

func (*MetricsServer) Descriptor deprecated

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

Deprecated: Use MetricsServer.ProtoReflect.Descriptor instead.

func (*MetricsServer) ProtoMessage

func (*MetricsServer) ProtoMessage()

func (*MetricsServer) ProtoReflect

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

func (*MetricsServer) Reset

func (x *MetricsServer) Reset()

func (*MetricsServer) String

func (x *MetricsServer) String() string

func (*MetricsServer) Validate

func (m *MetricsServer) Validate() error

Validate checks the field values on MetricsServer with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*MetricsServer) ValidateAll

func (m *MetricsServer) ValidateAll() error

ValidateAll checks the field values on MetricsServer with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in MetricsServerMultiError, or nil if none found.

type MetricsServerMultiError

type MetricsServerMultiError []error

MetricsServerMultiError is an error wrapping multiple validation errors returned by MetricsServer.ValidateAll() if the designated constraints aren't met.

func (MetricsServerMultiError) AllErrors

func (m MetricsServerMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (MetricsServerMultiError) Error

func (m MetricsServerMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type MetricsServerValidationError

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

MetricsServerValidationError is the validation error returned by MetricsServer.Validate if the designated constraints aren't met.

func (MetricsServerValidationError) Cause

Cause function returns cause value.

func (MetricsServerValidationError) Error

Error satisfies the builtin error interface

func (MetricsServerValidationError) ErrorName

func (e MetricsServerValidationError) ErrorName() string

ErrorName returns error name.

func (MetricsServerValidationError) Field

Field function returns field value.

func (MetricsServerValidationError) Key

Key function returns key value.

func (MetricsServerValidationError) Reason

Reason function returns reason value.

type NGINXPlusRuntimeInfo

type NGINXPlusRuntimeInfo struct {

	// the stub status API details
	StubStatus *APIDetails `protobuf:"bytes,1,opt,name=stub_status,json=stubStatus,proto3" json:"stub_status,omitempty"`
	// a list of access_logs
	AccessLogs []string `protobuf:"bytes,2,rep,name=access_logs,json=accessLogs,proto3" json:"access_logs,omitempty"`
	// a list of error_logs
	ErrorLogs []string `protobuf:"bytes,3,rep,name=error_logs,json=errorLogs,proto3" json:"error_logs,omitempty"`
	// List of NGINX potentially loadable modules (installed but not loaded).
	LoadableModules []string `protobuf:"bytes,4,rep,name=loadable_modules,json=loadableModules,proto3" json:"loadable_modules,omitempty"`
	// List of NGINX dynamic modules.
	DynamicModules []string `protobuf:"bytes,5,rep,name=dynamic_modules,json=dynamicModules,proto3" json:"dynamic_modules,omitempty"`
	// the plus API details
	PlusApi *APIDetails `protobuf:"bytes,6,opt,name=plus_api,json=plusApi,proto3" json:"plus_api,omitempty"`
	// contains filtered or unexported fields
}

A set of runtime NGINX Plus settings

func (*NGINXPlusRuntimeInfo) Descriptor deprecated

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

Deprecated: Use NGINXPlusRuntimeInfo.ProtoReflect.Descriptor instead.

func (*NGINXPlusRuntimeInfo) GetAccessLogs

func (x *NGINXPlusRuntimeInfo) GetAccessLogs() []string

func (*NGINXPlusRuntimeInfo) GetDynamicModules

func (x *NGINXPlusRuntimeInfo) GetDynamicModules() []string

func (*NGINXPlusRuntimeInfo) GetErrorLogs

func (x *NGINXPlusRuntimeInfo) GetErrorLogs() []string

func (*NGINXPlusRuntimeInfo) GetLoadableModules

func (x *NGINXPlusRuntimeInfo) GetLoadableModules() []string

func (*NGINXPlusRuntimeInfo) GetPlusApi

func (x *NGINXPlusRuntimeInfo) GetPlusApi() *APIDetails

func (*NGINXPlusRuntimeInfo) GetStubStatus

func (x *NGINXPlusRuntimeInfo) GetStubStatus() *APIDetails

func (*NGINXPlusRuntimeInfo) ProtoMessage

func (*NGINXPlusRuntimeInfo) ProtoMessage()

func (*NGINXPlusRuntimeInfo) ProtoReflect

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

func (*NGINXPlusRuntimeInfo) Reset

func (x *NGINXPlusRuntimeInfo) Reset()

func (*NGINXPlusRuntimeInfo) String

func (x *NGINXPlusRuntimeInfo) String() string

func (*NGINXPlusRuntimeInfo) Validate

func (m *NGINXPlusRuntimeInfo) Validate() error

Validate checks the field values on NGINXPlusRuntimeInfo with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*NGINXPlusRuntimeInfo) ValidateAll

func (m *NGINXPlusRuntimeInfo) ValidateAll() error

ValidateAll checks the field values on NGINXPlusRuntimeInfo with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in NGINXPlusRuntimeInfoMultiError, or nil if none found.

type NGINXPlusRuntimeInfoMultiError

type NGINXPlusRuntimeInfoMultiError []error

NGINXPlusRuntimeInfoMultiError is an error wrapping multiple validation errors returned by NGINXPlusRuntimeInfo.ValidateAll() if the designated constraints aren't met.

func (NGINXPlusRuntimeInfoMultiError) AllErrors

func (m NGINXPlusRuntimeInfoMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (NGINXPlusRuntimeInfoMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type NGINXPlusRuntimeInfoValidationError

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

NGINXPlusRuntimeInfoValidationError is the validation error returned by NGINXPlusRuntimeInfo.Validate if the designated constraints aren't met.

func (NGINXPlusRuntimeInfoValidationError) Cause

Cause function returns cause value.

func (NGINXPlusRuntimeInfoValidationError) Error

Error satisfies the builtin error interface

func (NGINXPlusRuntimeInfoValidationError) ErrorName

ErrorName returns error name.

func (NGINXPlusRuntimeInfoValidationError) Field

Field function returns field value.

func (NGINXPlusRuntimeInfoValidationError) Key

Key function returns key value.

func (NGINXPlusRuntimeInfoValidationError) Reason

Reason function returns reason value.

type NGINXRuntimeInfo

type NGINXRuntimeInfo struct {

	// the stub status API details
	StubStatus *APIDetails `protobuf:"bytes,1,opt,name=stub_status,json=stubStatus,proto3" json:"stub_status,omitempty"`
	// a list of access_logs
	AccessLogs []string `protobuf:"bytes,2,rep,name=access_logs,json=accessLogs,proto3" json:"access_logs,omitempty"`
	// a list of error_logs
	ErrorLogs []string `protobuf:"bytes,3,rep,name=error_logs,json=errorLogs,proto3" json:"error_logs,omitempty"`
	// List of NGINX potentially loadable modules (installed but not loaded).
	LoadableModules []string `protobuf:"bytes,4,rep,name=loadable_modules,json=loadableModules,proto3" json:"loadable_modules,omitempty"`
	// List of NGINX dynamic modules.
	DynamicModules []string `protobuf:"bytes,5,rep,name=dynamic_modules,json=dynamicModules,proto3" json:"dynamic_modules,omitempty"`
	// contains filtered or unexported fields
}

A set of runtime NGINX OSS settings

func (*NGINXRuntimeInfo) Descriptor deprecated

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

Deprecated: Use NGINXRuntimeInfo.ProtoReflect.Descriptor instead.

func (*NGINXRuntimeInfo) GetAccessLogs

func (x *NGINXRuntimeInfo) GetAccessLogs() []string

func (*NGINXRuntimeInfo) GetDynamicModules

func (x *NGINXRuntimeInfo) GetDynamicModules() []string

func (*NGINXRuntimeInfo) GetErrorLogs

func (x *NGINXRuntimeInfo) GetErrorLogs() []string

func (*NGINXRuntimeInfo) GetLoadableModules

func (x *NGINXRuntimeInfo) GetLoadableModules() []string

func (*NGINXRuntimeInfo) GetStubStatus

func (x *NGINXRuntimeInfo) GetStubStatus() *APIDetails

func (*NGINXRuntimeInfo) ProtoMessage

func (*NGINXRuntimeInfo) ProtoMessage()

func (*NGINXRuntimeInfo) ProtoReflect

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

func (*NGINXRuntimeInfo) Reset

func (x *NGINXRuntimeInfo) Reset()

func (*NGINXRuntimeInfo) String

func (x *NGINXRuntimeInfo) String() string

func (*NGINXRuntimeInfo) Validate

func (m *NGINXRuntimeInfo) Validate() error

Validate checks the field values on NGINXRuntimeInfo with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*NGINXRuntimeInfo) ValidateAll

func (m *NGINXRuntimeInfo) ValidateAll() error

ValidateAll checks the field values on NGINXRuntimeInfo with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in NGINXRuntimeInfoMultiError, or nil if none found.

type NGINXRuntimeInfoMultiError

type NGINXRuntimeInfoMultiError []error

NGINXRuntimeInfoMultiError is an error wrapping multiple validation errors returned by NGINXRuntimeInfo.ValidateAll() if the designated constraints aren't met.

func (NGINXRuntimeInfoMultiError) AllErrors

func (m NGINXRuntimeInfoMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (NGINXRuntimeInfoMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type NGINXRuntimeInfoValidationError

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

NGINXRuntimeInfoValidationError is the validation error returned by NGINXRuntimeInfo.Validate if the designated constraints aren't met.

func (NGINXRuntimeInfoValidationError) Cause

Cause function returns cause value.

func (NGINXRuntimeInfoValidationError) Error

Error satisfies the builtin error interface

func (NGINXRuntimeInfoValidationError) ErrorName

ErrorName returns error name.

func (NGINXRuntimeInfoValidationError) Field

Field function returns field value.

func (NGINXRuntimeInfoValidationError) Key

Key function returns key value.

func (NGINXRuntimeInfoValidationError) Reason

Reason function returns reason value.

type ReleaseInfo

type ReleaseInfo struct {

	// OS type (e.g. freebsd, linux, etc)
	Codename string `protobuf:"bytes,1,opt,name=codename,proto3" json:"codename,omitempty"`
	// OS name (e.g. ubuntu, linuxmint, etc)
	Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	// OS family (e.g. debian, rhel)
	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	// Version of the OS kernel
	VersionId string `protobuf:"bytes,4,opt,name=version_id,json=versionId,proto3" json:"version_id,omitempty"`
	// Version of the OS
	Version string `protobuf:"bytes,5,opt,name=version,proto3" json:"version,omitempty"`
	// contains filtered or unexported fields
}

Release information of the host

func (*ReleaseInfo) Descriptor deprecated

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

Deprecated: Use ReleaseInfo.ProtoReflect.Descriptor instead.

func (*ReleaseInfo) GetCodename

func (x *ReleaseInfo) GetCodename() string

func (*ReleaseInfo) GetId

func (x *ReleaseInfo) GetId() string

func (*ReleaseInfo) GetName

func (x *ReleaseInfo) GetName() string

func (*ReleaseInfo) GetVersion

func (x *ReleaseInfo) GetVersion() string

func (*ReleaseInfo) GetVersionId

func (x *ReleaseInfo) GetVersionId() string

func (*ReleaseInfo) ProtoMessage

func (*ReleaseInfo) ProtoMessage()

func (*ReleaseInfo) ProtoReflect

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

func (*ReleaseInfo) Reset

func (x *ReleaseInfo) Reset()

func (*ReleaseInfo) String

func (x *ReleaseInfo) String() string

func (*ReleaseInfo) Validate

func (m *ReleaseInfo) Validate() error

Validate checks the field values on ReleaseInfo with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ReleaseInfo) ValidateAll

func (m *ReleaseInfo) ValidateAll() error

ValidateAll checks the field values on ReleaseInfo with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ReleaseInfoMultiError, or nil if none found.

type ReleaseInfoMultiError

type ReleaseInfoMultiError []error

ReleaseInfoMultiError is an error wrapping multiple validation errors returned by ReleaseInfo.ValidateAll() if the designated constraints aren't met.

func (ReleaseInfoMultiError) AllErrors

func (m ReleaseInfoMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ReleaseInfoMultiError) Error

func (m ReleaseInfoMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type ReleaseInfoValidationError

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

ReleaseInfoValidationError is the validation error returned by ReleaseInfo.Validate if the designated constraints aren't met.

func (ReleaseInfoValidationError) Cause

Cause function returns cause value.

func (ReleaseInfoValidationError) Error

Error satisfies the builtin error interface

func (ReleaseInfoValidationError) ErrorName

func (e ReleaseInfoValidationError) ErrorName() string

ErrorName returns error name.

func (ReleaseInfoValidationError) Field

Field function returns field value.

func (ReleaseInfoValidationError) Key

Key function returns key value.

func (ReleaseInfoValidationError) Reason

Reason function returns reason value.

type Resource

type Resource struct {

	// A resource identifier
	ResourceId string `protobuf:"bytes,1,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"`
	// A list of instances associated with this resource
	Instances []*Instance `protobuf:"bytes,2,rep,name=instances,proto3" json:"instances,omitempty"`
	// Runtime information of where the instances reside. Host or container based
	//
	// Types that are valid to be assigned to Info:
	//
	//	*Resource_HostInfo
	//	*Resource_ContainerInfo
	Info isResource_Info `protobuf_oneof:"info"`
	// contains filtered or unexported fields
}

A representation of instances and runtime resource information

func (*Resource) Descriptor deprecated

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

Deprecated: Use Resource.ProtoReflect.Descriptor instead.

func (*Resource) GetContainerInfo

func (x *Resource) GetContainerInfo() *ContainerInfo

func (*Resource) GetHostInfo

func (x *Resource) GetHostInfo() *HostInfo

func (*Resource) GetInfo

func (x *Resource) GetInfo() isResource_Info

func (*Resource) GetInstances

func (x *Resource) GetInstances() []*Instance

func (*Resource) GetResourceId

func (x *Resource) GetResourceId() string

func (*Resource) ProtoMessage

func (*Resource) ProtoMessage()

func (*Resource) ProtoReflect

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

func (*Resource) Reset

func (x *Resource) Reset()

func (*Resource) String

func (x *Resource) String() string

func (*Resource) Validate

func (m *Resource) Validate() error

Validate checks the field values on Resource with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Resource) ValidateAll

func (m *Resource) ValidateAll() error

ValidateAll checks the field values on Resource with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ResourceMultiError, or nil if none found.

type ResourceMultiError

type ResourceMultiError []error

ResourceMultiError is an error wrapping multiple validation errors returned by Resource.ValidateAll() if the designated constraints aren't met.

func (ResourceMultiError) AllErrors

func (m ResourceMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ResourceMultiError) Error

func (m ResourceMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type ResourceValidationError

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

ResourceValidationError is the validation error returned by Resource.Validate if the designated constraints aren't met.

func (ResourceValidationError) Cause

func (e ResourceValidationError) Cause() error

Cause function returns cause value.

func (ResourceValidationError) Error

func (e ResourceValidationError) Error() string

Error satisfies the builtin error interface

func (ResourceValidationError) ErrorName

func (e ResourceValidationError) ErrorName() string

ErrorName returns error name.

func (ResourceValidationError) Field

func (e ResourceValidationError) Field() string

Field function returns field value.

func (ResourceValidationError) Key

func (e ResourceValidationError) Key() bool

Key function returns key value.

func (ResourceValidationError) Reason

func (e ResourceValidationError) Reason() string

Reason function returns reason value.

type Resource_ContainerInfo

type Resource_ContainerInfo struct {
	// If running in a containerized environment, provides additional information
	ContainerInfo *ContainerInfo `protobuf:"bytes,4,opt,name=container_info,json=containerInfo,proto3,oneof"`
}

type Resource_HostInfo

type Resource_HostInfo struct {
	// If running on bare-metal, provides additional information
	HostInfo *HostInfo `protobuf:"bytes,3,opt,name=host_info,json=hostInfo,proto3,oneof"`
}

type ServerSettings

type ServerSettings struct {

	// Command server host
	Host string `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"`
	// Command server port
	Port int32 `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"`
	// Server type (enum for gRPC, HTTP, etc.)
	Type ServerSettings_ServerType `protobuf:"varint,3,opt,name=type,proto3,enum=mpi.v1.ServerSettings_ServerType" json:"type,omitempty"`
	// contains filtered or unexported fields
}

The top-level configuration for the command server

func (*ServerSettings) Descriptor deprecated

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

Deprecated: Use ServerSettings.ProtoReflect.Descriptor instead.

func (*ServerSettings) GetHost

func (x *ServerSettings) GetHost() string

func (*ServerSettings) GetPort

func (x *ServerSettings) GetPort() int32

func (*ServerSettings) GetType

func (*ServerSettings) ProtoMessage

func (*ServerSettings) ProtoMessage()

func (*ServerSettings) ProtoReflect

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

func (*ServerSettings) Reset

func (x *ServerSettings) Reset()

func (*ServerSettings) String

func (x *ServerSettings) String() string

func (*ServerSettings) Validate

func (m *ServerSettings) Validate() error

Validate checks the field values on ServerSettings with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ServerSettings) ValidateAll

func (m *ServerSettings) ValidateAll() error

ValidateAll checks the field values on ServerSettings with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ServerSettingsMultiError, or nil if none found.

type ServerSettingsMultiError

type ServerSettingsMultiError []error

ServerSettingsMultiError is an error wrapping multiple validation errors returned by ServerSettings.ValidateAll() if the designated constraints aren't met.

func (ServerSettingsMultiError) AllErrors

func (m ServerSettingsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ServerSettingsMultiError) Error

func (m ServerSettingsMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type ServerSettingsValidationError

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

ServerSettingsValidationError is the validation error returned by ServerSettings.Validate if the designated constraints aren't met.

func (ServerSettingsValidationError) Cause

Cause function returns cause value.

func (ServerSettingsValidationError) Error

Error satisfies the builtin error interface

func (ServerSettingsValidationError) ErrorName

func (e ServerSettingsValidationError) ErrorName() string

ErrorName returns error name.

func (ServerSettingsValidationError) Field

Field function returns field value.

func (ServerSettingsValidationError) Key

Key function returns key value.

func (ServerSettingsValidationError) Reason

Reason function returns reason value.

type ServerSettings_ServerType

type ServerSettings_ServerType int32
const (
	// Undefined server type
	ServerSettings_SERVER_SETTINGS_TYPE_UNDEFINED ServerSettings_ServerType = 0
	// gRPC server type
	ServerSettings_SERVER_SETTINGS_TYPE_GRPC ServerSettings_ServerType = 1
	// HTTP server type
	ServerSettings_SERVER_SETTINGS_TYPE_HTTP ServerSettings_ServerType = 2
)

func (ServerSettings_ServerType) Descriptor

func (ServerSettings_ServerType) Enum

func (ServerSettings_ServerType) EnumDescriptor deprecated

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

Deprecated: Use ServerSettings_ServerType.Descriptor instead.

func (ServerSettings_ServerType) Number

func (ServerSettings_ServerType) String

func (x ServerSettings_ServerType) String() string

func (ServerSettings_ServerType) Type

type SignatureAlgorithm

type SignatureAlgorithm int32

Enum to represent the possible signature algorithms used for certificates

const (
	// Default, unknown or unsupported algorithm
	SignatureAlgorithm_SIGNATURE_ALGORITHM_UNKNOWN SignatureAlgorithm = 0
	// MD2 with RSA (Unsupported)
	SignatureAlgorithm_MD2_WITH_RSA SignatureAlgorithm = 1
	// MD5 with RSA (Only supported for signing, not verification)
	SignatureAlgorithm_MD5_WITH_RSA SignatureAlgorithm = 2
	// SHA-1 with RSA (Only supported for signing and for verification of CRLs, CSRs, and OCSP responses)
	SignatureAlgorithm_SHA1_WITH_RSA SignatureAlgorithm = 3
	// SHA-256 with RSA
	SignatureAlgorithm_SHA256_WITH_RSA SignatureAlgorithm = 4
	// SHA-384 with RSA
	SignatureAlgorithm_SHA384_WITH_RSA SignatureAlgorithm = 5
	// SHA-512 with RSA
	SignatureAlgorithm_SHA512_WITH_RSA SignatureAlgorithm = 6
	// DSA with SHA-1 (Unsupported)
	SignatureAlgorithm_DSA_WITH_SHA1 SignatureAlgorithm = 7
	// DSA with SHA-256 (Unsupported)
	SignatureAlgorithm_DSA_WITH_SHA256 SignatureAlgorithm = 8
	// ECDSA with SHA-1 (Only supported for signing and for verification of CRLs, CSRs, and OCSP responses)
	SignatureAlgorithm_ECDSA_WITH_SHA1 SignatureAlgorithm = 9
	// ECDSA with SHA-256
	SignatureAlgorithm_ECDSA_WITH_SHA256 SignatureAlgorithm = 10
	// ECDSA with SHA-384
	SignatureAlgorithm_ECDSA_WITH_SHA384 SignatureAlgorithm = 11
	// ECDSA with SHA-512
	SignatureAlgorithm_ECDSA_WITH_SHA512 SignatureAlgorithm = 12
	// SHA-256 with RSA-PSS
	SignatureAlgorithm_SHA256_WITH_RSA_PSS SignatureAlgorithm = 13
	// SHA-384 with RSA-PSS
	SignatureAlgorithm_SHA384_WITH_RSA_PSS SignatureAlgorithm = 14
	// SHA-512 with RSA-PSS
	SignatureAlgorithm_SHA512_WITH_RSA_PSS SignatureAlgorithm = 15
	// Pure Ed25519
	SignatureAlgorithm_PURE_ED25519 SignatureAlgorithm = 16
)

func (SignatureAlgorithm) Descriptor

func (SignatureAlgorithm) Enum

func (SignatureAlgorithm) EnumDescriptor deprecated

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

Deprecated: Use SignatureAlgorithm.Descriptor instead.

func (SignatureAlgorithm) Number

func (SignatureAlgorithm) String

func (x SignatureAlgorithm) String() string

func (SignatureAlgorithm) Type

type StatusRequest

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

Additional information associated with a StatusRequest

func (*StatusRequest) Descriptor deprecated

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

Deprecated: Use StatusRequest.ProtoReflect.Descriptor instead.

func (*StatusRequest) ProtoMessage

func (*StatusRequest) ProtoMessage()

func (*StatusRequest) ProtoReflect

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

func (*StatusRequest) Reset

func (x *StatusRequest) Reset()

func (*StatusRequest) String

func (x *StatusRequest) String() string

func (*StatusRequest) Validate

func (m *StatusRequest) Validate() error

Validate checks the field values on StatusRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*StatusRequest) ValidateAll

func (m *StatusRequest) ValidateAll() error

ValidateAll checks the field values on StatusRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in StatusRequestMultiError, or nil if none found.

type StatusRequestMultiError

type StatusRequestMultiError []error

StatusRequestMultiError is an error wrapping multiple validation errors returned by StatusRequest.ValidateAll() if the designated constraints aren't met.

func (StatusRequestMultiError) AllErrors

func (m StatusRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (StatusRequestMultiError) Error

func (m StatusRequestMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type StatusRequestValidationError

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

StatusRequestValidationError is the validation error returned by StatusRequest.Validate if the designated constraints aren't met.

func (StatusRequestValidationError) Cause

Cause function returns cause value.

func (StatusRequestValidationError) Error

Error satisfies the builtin error interface

func (StatusRequestValidationError) ErrorName

func (e StatusRequestValidationError) ErrorName() string

ErrorName returns error name.

func (StatusRequestValidationError) Field

Field function returns field value.

func (StatusRequestValidationError) Key

Key function returns key value.

func (StatusRequestValidationError) Reason

Reason function returns reason value.

type SubjectAlternativeNames

type SubjectAlternativeNames struct {

	// List of DNS names in the Subject Alternative Name (SAN) extension
	DnsNames []string `protobuf:"bytes,1,rep,name=dns_names,json=dnsNames,proto3" json:"dns_names,omitempty"`
	// List of ip addresses in the SAN extension
	IpAddresses []string `protobuf:"bytes,2,rep,name=ip_addresses,json=ipAddresses,proto3" json:"ip_addresses,omitempty"`
	// contains filtered or unexported fields
}

Represents the Subject Alternative Names for a certificate

func (*SubjectAlternativeNames) Descriptor deprecated

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

Deprecated: Use SubjectAlternativeNames.ProtoReflect.Descriptor instead.

func (*SubjectAlternativeNames) GetDnsNames

func (x *SubjectAlternativeNames) GetDnsNames() []string

func (*SubjectAlternativeNames) GetIpAddresses

func (x *SubjectAlternativeNames) GetIpAddresses() []string

func (*SubjectAlternativeNames) ProtoMessage

func (*SubjectAlternativeNames) ProtoMessage()

func (*SubjectAlternativeNames) ProtoReflect

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

func (*SubjectAlternativeNames) Reset

func (x *SubjectAlternativeNames) Reset()

func (*SubjectAlternativeNames) String

func (x *SubjectAlternativeNames) String() string

func (*SubjectAlternativeNames) Validate

func (m *SubjectAlternativeNames) Validate() error

Validate checks the field values on SubjectAlternativeNames with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*SubjectAlternativeNames) ValidateAll

func (m *SubjectAlternativeNames) ValidateAll() error

ValidateAll checks the field values on SubjectAlternativeNames with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SubjectAlternativeNamesMultiError, or nil if none found.

type SubjectAlternativeNamesMultiError

type SubjectAlternativeNamesMultiError []error

SubjectAlternativeNamesMultiError is an error wrapping multiple validation errors returned by SubjectAlternativeNames.ValidateAll() if the designated constraints aren't met.

func (SubjectAlternativeNamesMultiError) AllErrors

func (m SubjectAlternativeNamesMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SubjectAlternativeNamesMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type SubjectAlternativeNamesValidationError

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

SubjectAlternativeNamesValidationError is the validation error returned by SubjectAlternativeNames.Validate if the designated constraints aren't met.

func (SubjectAlternativeNamesValidationError) Cause

Cause function returns cause value.

func (SubjectAlternativeNamesValidationError) Error

Error satisfies the builtin error interface

func (SubjectAlternativeNamesValidationError) ErrorName

ErrorName returns error name.

func (SubjectAlternativeNamesValidationError) Field

Field function returns field value.

func (SubjectAlternativeNamesValidationError) Key

Key function returns key value.

func (SubjectAlternativeNamesValidationError) Reason

Reason function returns reason value.

type TLSSettings

type TLSSettings struct {

	// TLS certificate for the command server (e.g., "/path/to/cert.pem")
	Cert string `protobuf:"bytes,1,opt,name=cert,proto3" json:"cert,omitempty"`
	// TLS key for the command server (e.g., "/path/to/key.pem")
	Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`
	// CA certificate for the command server (e.g., "/path/to/ca.pem")
	Ca string `protobuf:"bytes,3,opt,name=ca,proto3" json:"ca,omitempty"`
	// Controls whether a client verifies the server's certificate chain and host name.
	// If skip_verify is true, accepts any certificate presented by the server and any host name in that certificate.
	SkipVerify bool `protobuf:"varint,4,opt,name=skip_verify,json=skipVerify,proto3" json:"skip_verify,omitempty"`
	// Server name for TLS
	ServerName string `protobuf:"bytes,5,opt,name=server_name,json=serverName,proto3" json:"server_name,omitempty"`
	// contains filtered or unexported fields
}

func (*TLSSettings) Descriptor deprecated

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

Deprecated: Use TLSSettings.ProtoReflect.Descriptor instead.

func (*TLSSettings) GetCa

func (x *TLSSettings) GetCa() string

func (*TLSSettings) GetCert

func (x *TLSSettings) GetCert() string

func (*TLSSettings) GetKey

func (x *TLSSettings) GetKey() string

func (*TLSSettings) GetServerName

func (x *TLSSettings) GetServerName() string

func (*TLSSettings) GetSkipVerify

func (x *TLSSettings) GetSkipVerify() bool

func (*TLSSettings) ProtoMessage

func (*TLSSettings) ProtoMessage()

func (*TLSSettings) ProtoReflect

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

func (*TLSSettings) Reset

func (x *TLSSettings) Reset()

func (*TLSSettings) String

func (x *TLSSettings) String() string

func (*TLSSettings) Validate

func (m *TLSSettings) Validate() error

Validate checks the field values on TLSSettings with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*TLSSettings) ValidateAll

func (m *TLSSettings) ValidateAll() error

ValidateAll checks the field values on TLSSettings with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in TLSSettingsMultiError, or nil if none found.

type TLSSettingsMultiError

type TLSSettingsMultiError []error

TLSSettingsMultiError is an error wrapping multiple validation errors returned by TLSSettings.ValidateAll() if the designated constraints aren't met.

func (TLSSettingsMultiError) AllErrors

func (m TLSSettingsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (TLSSettingsMultiError) Error

func (m TLSSettingsMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type TLSSettingsValidationError

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

TLSSettingsValidationError is the validation error returned by TLSSettings.Validate if the designated constraints aren't met.

func (TLSSettingsValidationError) Cause

Cause function returns cause value.

func (TLSSettingsValidationError) Error

Error satisfies the builtin error interface

func (TLSSettingsValidationError) ErrorName

func (e TLSSettingsValidationError) ErrorName() string

ErrorName returns error name.

func (TLSSettingsValidationError) Field

Field function returns field value.

func (TLSSettingsValidationError) Key

Key function returns key value.

func (TLSSettingsValidationError) Reason

Reason function returns reason value.

type UnimplementedCommandServiceServer

type UnimplementedCommandServiceServer struct{}

UnimplementedCommandServiceServer should be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedCommandServiceServer) CreateConnection

type UnimplementedFileServiceServer

type UnimplementedFileServiceServer struct{}

UnimplementedFileServiceServer should be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedFileServiceServer) GetFile

func (UnimplementedFileServiceServer) GetOverview

func (UnimplementedFileServiceServer) UpdateFile

func (UnimplementedFileServiceServer) UpdateOverview

type UnsafeCommandServiceServer

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

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

type UnsafeFileServiceServer

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

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

type UpdateDataPlaneHealthRequest

type UpdateDataPlaneHealthRequest struct {

	// Meta-information associated with a message
	MessageMeta *MessageMeta `protobuf:"bytes,1,opt,name=message_meta,json=messageMeta,proto3" json:"message_meta,omitempty"`
	// Health report of a set of instances
	InstanceHealths []*InstanceHealth `protobuf:"bytes,2,rep,name=instance_healths,json=instanceHealths,proto3" json:"instance_healths,omitempty"`
	// contains filtered or unexported fields
}

Health report of a set of instances

func (*UpdateDataPlaneHealthRequest) Descriptor deprecated

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

Deprecated: Use UpdateDataPlaneHealthRequest.ProtoReflect.Descriptor instead.

func (*UpdateDataPlaneHealthRequest) GetInstanceHealths

func (x *UpdateDataPlaneHealthRequest) GetInstanceHealths() []*InstanceHealth

func (*UpdateDataPlaneHealthRequest) GetMessageMeta

func (x *UpdateDataPlaneHealthRequest) GetMessageMeta() *MessageMeta

func (*UpdateDataPlaneHealthRequest) ProtoMessage

func (*UpdateDataPlaneHealthRequest) ProtoMessage()

func (*UpdateDataPlaneHealthRequest) ProtoReflect

func (*UpdateDataPlaneHealthRequest) Reset

func (x *UpdateDataPlaneHealthRequest) Reset()

func (*UpdateDataPlaneHealthRequest) String

func (*UpdateDataPlaneHealthRequest) Validate

func (m *UpdateDataPlaneHealthRequest) Validate() error

Validate checks the field values on UpdateDataPlaneHealthRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*UpdateDataPlaneHealthRequest) ValidateAll

func (m *UpdateDataPlaneHealthRequest) ValidateAll() error

ValidateAll checks the field values on UpdateDataPlaneHealthRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateDataPlaneHealthRequestMultiError, or nil if none found.

type UpdateDataPlaneHealthRequestMultiError

type UpdateDataPlaneHealthRequestMultiError []error

UpdateDataPlaneHealthRequestMultiError is an error wrapping multiple validation errors returned by UpdateDataPlaneHealthRequest.ValidateAll() if the designated constraints aren't met.

func (UpdateDataPlaneHealthRequestMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (UpdateDataPlaneHealthRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type UpdateDataPlaneHealthRequestValidationError

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

UpdateDataPlaneHealthRequestValidationError is the validation error returned by UpdateDataPlaneHealthRequest.Validate if the designated constraints aren't met.

func (UpdateDataPlaneHealthRequestValidationError) Cause

Cause function returns cause value.

func (UpdateDataPlaneHealthRequestValidationError) Error

Error satisfies the builtin error interface

func (UpdateDataPlaneHealthRequestValidationError) ErrorName

ErrorName returns error name.

func (UpdateDataPlaneHealthRequestValidationError) Field

Field function returns field value.

func (UpdateDataPlaneHealthRequestValidationError) Key

Key function returns key value.

func (UpdateDataPlaneHealthRequestValidationError) Reason

Reason function returns reason value.

type UpdateDataPlaneHealthResponse

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

Response to a UpdateDataPlaneHealthRequest - intentionally empty

func (*UpdateDataPlaneHealthResponse) Descriptor deprecated

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

Deprecated: Use UpdateDataPlaneHealthResponse.ProtoReflect.Descriptor instead.

func (*UpdateDataPlaneHealthResponse) ProtoMessage

func (*UpdateDataPlaneHealthResponse) ProtoMessage()

func (*UpdateDataPlaneHealthResponse) ProtoReflect

func (*UpdateDataPlaneHealthResponse) Reset

func (x *UpdateDataPlaneHealthResponse) Reset()

func (*UpdateDataPlaneHealthResponse) String

func (*UpdateDataPlaneHealthResponse) Validate

func (m *UpdateDataPlaneHealthResponse) Validate() error

Validate checks the field values on UpdateDataPlaneHealthResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*UpdateDataPlaneHealthResponse) ValidateAll

func (m *UpdateDataPlaneHealthResponse) ValidateAll() error

ValidateAll checks the field values on UpdateDataPlaneHealthResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateDataPlaneHealthResponseMultiError, or nil if none found.

type UpdateDataPlaneHealthResponseMultiError

type UpdateDataPlaneHealthResponseMultiError []error

UpdateDataPlaneHealthResponseMultiError is an error wrapping multiple validation errors returned by UpdateDataPlaneHealthResponse.ValidateAll() if the designated constraints aren't met.

func (UpdateDataPlaneHealthResponseMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (UpdateDataPlaneHealthResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type UpdateDataPlaneHealthResponseValidationError

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

UpdateDataPlaneHealthResponseValidationError is the validation error returned by UpdateDataPlaneHealthResponse.Validate if the designated constraints aren't met.

func (UpdateDataPlaneHealthResponseValidationError) Cause

Cause function returns cause value.

func (UpdateDataPlaneHealthResponseValidationError) Error

Error satisfies the builtin error interface

func (UpdateDataPlaneHealthResponseValidationError) ErrorName

ErrorName returns error name.

func (UpdateDataPlaneHealthResponseValidationError) Field

Field function returns field value.

func (UpdateDataPlaneHealthResponseValidationError) Key

Key function returns key value.

func (UpdateDataPlaneHealthResponseValidationError) Reason

Reason function returns reason value.

type UpdateDataPlaneStatusRequest

type UpdateDataPlaneStatusRequest struct {

	// Meta-information associated with a message
	MessageMeta *MessageMeta `protobuf:"bytes,1,opt,name=message_meta,json=messageMeta,proto3" json:"message_meta,omitempty"`
	// the representation of a data plane
	Resource *Resource `protobuf:"bytes,2,opt,name=resource,proto3" json:"resource,omitempty"`
	// contains filtered or unexported fields
}

Report on the status of the Data Plane

func (*UpdateDataPlaneStatusRequest) Descriptor deprecated

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

Deprecated: Use UpdateDataPlaneStatusRequest.ProtoReflect.Descriptor instead.

func (*UpdateDataPlaneStatusRequest) GetMessageMeta

func (x *UpdateDataPlaneStatusRequest) GetMessageMeta() *MessageMeta

func (*UpdateDataPlaneStatusRequest) GetResource

func (x *UpdateDataPlaneStatusRequest) GetResource() *Resource

func (*UpdateDataPlaneStatusRequest) ProtoMessage

func (*UpdateDataPlaneStatusRequest) ProtoMessage()

func (*UpdateDataPlaneStatusRequest) ProtoReflect

func (*UpdateDataPlaneStatusRequest) Reset

func (x *UpdateDataPlaneStatusRequest) Reset()

func (*UpdateDataPlaneStatusRequest) String

func (*UpdateDataPlaneStatusRequest) Validate

func (m *UpdateDataPlaneStatusRequest) Validate() error

Validate checks the field values on UpdateDataPlaneStatusRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*UpdateDataPlaneStatusRequest) ValidateAll

func (m *UpdateDataPlaneStatusRequest) ValidateAll() error

ValidateAll checks the field values on UpdateDataPlaneStatusRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateDataPlaneStatusRequestMultiError, or nil if none found.

type UpdateDataPlaneStatusRequestMultiError

type UpdateDataPlaneStatusRequestMultiError []error

UpdateDataPlaneStatusRequestMultiError is an error wrapping multiple validation errors returned by UpdateDataPlaneStatusRequest.ValidateAll() if the designated constraints aren't met.

func (UpdateDataPlaneStatusRequestMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (UpdateDataPlaneStatusRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type UpdateDataPlaneStatusRequestValidationError

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

UpdateDataPlaneStatusRequestValidationError is the validation error returned by UpdateDataPlaneStatusRequest.Validate if the designated constraints aren't met.

func (UpdateDataPlaneStatusRequestValidationError) Cause

Cause function returns cause value.

func (UpdateDataPlaneStatusRequestValidationError) Error

Error satisfies the builtin error interface

func (UpdateDataPlaneStatusRequestValidationError) ErrorName

ErrorName returns error name.

func (UpdateDataPlaneStatusRequestValidationError) Field

Field function returns field value.

func (UpdateDataPlaneStatusRequestValidationError) Key

Key function returns key value.

func (UpdateDataPlaneStatusRequestValidationError) Reason

Reason function returns reason value.

type UpdateDataPlaneStatusResponse

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

Respond to a UpdateDataPlaneStatusRequest - intentionally empty

func (*UpdateDataPlaneStatusResponse) Descriptor deprecated

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

Deprecated: Use UpdateDataPlaneStatusResponse.ProtoReflect.Descriptor instead.

func (*UpdateDataPlaneStatusResponse) ProtoMessage

func (*UpdateDataPlaneStatusResponse) ProtoMessage()

func (*UpdateDataPlaneStatusResponse) ProtoReflect

func (*UpdateDataPlaneStatusResponse) Reset

func (x *UpdateDataPlaneStatusResponse) Reset()

func (*UpdateDataPlaneStatusResponse) String

func (*UpdateDataPlaneStatusResponse) Validate

func (m *UpdateDataPlaneStatusResponse) Validate() error

Validate checks the field values on UpdateDataPlaneStatusResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*UpdateDataPlaneStatusResponse) ValidateAll

func (m *UpdateDataPlaneStatusResponse) ValidateAll() error

ValidateAll checks the field values on UpdateDataPlaneStatusResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateDataPlaneStatusResponseMultiError, or nil if none found.

type UpdateDataPlaneStatusResponseMultiError

type UpdateDataPlaneStatusResponseMultiError []error

UpdateDataPlaneStatusResponseMultiError is an error wrapping multiple validation errors returned by UpdateDataPlaneStatusResponse.ValidateAll() if the designated constraints aren't met.

func (UpdateDataPlaneStatusResponseMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (UpdateDataPlaneStatusResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type UpdateDataPlaneStatusResponseValidationError

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

UpdateDataPlaneStatusResponseValidationError is the validation error returned by UpdateDataPlaneStatusResponse.Validate if the designated constraints aren't met.

func (UpdateDataPlaneStatusResponseValidationError) Cause

Cause function returns cause value.

func (UpdateDataPlaneStatusResponseValidationError) Error

Error satisfies the builtin error interface

func (UpdateDataPlaneStatusResponseValidationError) ErrorName

ErrorName returns error name.

func (UpdateDataPlaneStatusResponseValidationError) Field

Field function returns field value.

func (UpdateDataPlaneStatusResponseValidationError) Key

Key function returns key value.

func (UpdateDataPlaneStatusResponseValidationError) Reason

Reason function returns reason value.

type UpdateFileRequest

type UpdateFileRequest struct {

	// The file requested to be updated
	File *File `protobuf:"bytes,1,opt,name=file,proto3" json:"file,omitempty"`
	// The contents of a file
	Contents *FileContents `protobuf:"bytes,2,opt,name=contents,proto3" json:"contents,omitempty"`
	// Meta-information associated with a message
	MessageMeta *MessageMeta `protobuf:"bytes,3,opt,name=message_meta,json=messageMeta,proto3" json:"message_meta,omitempty"`
	// contains filtered or unexported fields
}

Represents the update file request

func (*UpdateFileRequest) Descriptor deprecated

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

Deprecated: Use UpdateFileRequest.ProtoReflect.Descriptor instead.

func (*UpdateFileRequest) GetContents

func (x *UpdateFileRequest) GetContents() *FileContents

func (*UpdateFileRequest) GetFile

func (x *UpdateFileRequest) GetFile() *File

func (*UpdateFileRequest) GetMessageMeta

func (x *UpdateFileRequest) GetMessageMeta() *MessageMeta

func (*UpdateFileRequest) ProtoMessage

func (*UpdateFileRequest) ProtoMessage()

func (*UpdateFileRequest) ProtoReflect

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

func (*UpdateFileRequest) Reset

func (x *UpdateFileRequest) Reset()

func (*UpdateFileRequest) String

func (x *UpdateFileRequest) String() string

func (*UpdateFileRequest) Validate

func (m *UpdateFileRequest) Validate() error

Validate checks the field values on UpdateFileRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*UpdateFileRequest) ValidateAll

func (m *UpdateFileRequest) ValidateAll() error

ValidateAll checks the field values on UpdateFileRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateFileRequestMultiError, or nil if none found.

type UpdateFileRequestMultiError

type UpdateFileRequestMultiError []error

UpdateFileRequestMultiError is an error wrapping multiple validation errors returned by UpdateFileRequest.ValidateAll() if the designated constraints aren't met.

func (UpdateFileRequestMultiError) AllErrors

func (m UpdateFileRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UpdateFileRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type UpdateFileRequestValidationError

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

UpdateFileRequestValidationError is the validation error returned by UpdateFileRequest.Validate if the designated constraints aren't met.

func (UpdateFileRequestValidationError) Cause

Cause function returns cause value.

func (UpdateFileRequestValidationError) Error

Error satisfies the builtin error interface

func (UpdateFileRequestValidationError) ErrorName

ErrorName returns error name.

func (UpdateFileRequestValidationError) Field

Field function returns field value.

func (UpdateFileRequestValidationError) Key

Key function returns key value.

func (UpdateFileRequestValidationError) Reason

Reason function returns reason value.

type UpdateFileResponse

type UpdateFileResponse struct {

	// Meta-information associated with the updated file
	FileMeta *FileMeta `protobuf:"bytes,1,opt,name=file_meta,json=fileMeta,proto3" json:"file_meta,omitempty"`
	// contains filtered or unexported fields
}

Represents the response to an update file request

func (*UpdateFileResponse) Descriptor deprecated

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

Deprecated: Use UpdateFileResponse.ProtoReflect.Descriptor instead.

func (*UpdateFileResponse) GetFileMeta

func (x *UpdateFileResponse) GetFileMeta() *FileMeta

func (*UpdateFileResponse) ProtoMessage

func (*UpdateFileResponse) ProtoMessage()

func (*UpdateFileResponse) ProtoReflect

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

func (*UpdateFileResponse) Reset

func (x *UpdateFileResponse) Reset()

func (*UpdateFileResponse) String

func (x *UpdateFileResponse) String() string

func (*UpdateFileResponse) Validate

func (m *UpdateFileResponse) Validate() error

Validate checks the field values on UpdateFileResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*UpdateFileResponse) ValidateAll

func (m *UpdateFileResponse) ValidateAll() error

ValidateAll checks the field values on UpdateFileResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateFileResponseMultiError, or nil if none found.

type UpdateFileResponseMultiError

type UpdateFileResponseMultiError []error

UpdateFileResponseMultiError is an error wrapping multiple validation errors returned by UpdateFileResponse.ValidateAll() if the designated constraints aren't met.

func (UpdateFileResponseMultiError) AllErrors

func (m UpdateFileResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UpdateFileResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type UpdateFileResponseValidationError

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

UpdateFileResponseValidationError is the validation error returned by UpdateFileResponse.Validate if the designated constraints aren't met.

func (UpdateFileResponseValidationError) Cause

Cause function returns cause value.

func (UpdateFileResponseValidationError) Error

Error satisfies the builtin error interface

func (UpdateFileResponseValidationError) ErrorName

ErrorName returns error name.

func (UpdateFileResponseValidationError) Field

Field function returns field value.

func (UpdateFileResponseValidationError) Key

Key function returns key value.

func (UpdateFileResponseValidationError) Reason

Reason function returns reason value.

type UpdateOverviewRequest

type UpdateOverviewRequest struct {

	// Meta-information associated with a message
	MessageMeta *MessageMeta `protobuf:"bytes,1,opt,name=message_meta,json=messageMeta,proto3" json:"message_meta,omitempty"`
	// The file overview of an instance
	Overview *FileOverview `protobuf:"bytes,2,opt,name=overview,proto3" json:"overview,omitempty"`
	// contains filtered or unexported fields
}

Represents a list of logically grouped files that have changed e.g. configuration payload

func (*UpdateOverviewRequest) Descriptor deprecated

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

Deprecated: Use UpdateOverviewRequest.ProtoReflect.Descriptor instead.

func (*UpdateOverviewRequest) GetMessageMeta

func (x *UpdateOverviewRequest) GetMessageMeta() *MessageMeta

func (*UpdateOverviewRequest) GetOverview

func (x *UpdateOverviewRequest) GetOverview() *FileOverview

func (*UpdateOverviewRequest) ProtoMessage

func (*UpdateOverviewRequest) ProtoMessage()

func (*UpdateOverviewRequest) ProtoReflect

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

func (*UpdateOverviewRequest) Reset

func (x *UpdateOverviewRequest) Reset()

func (*UpdateOverviewRequest) String

func (x *UpdateOverviewRequest) String() string

func (*UpdateOverviewRequest) Validate

func (m *UpdateOverviewRequest) Validate() error

Validate checks the field values on UpdateOverviewRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*UpdateOverviewRequest) ValidateAll

func (m *UpdateOverviewRequest) ValidateAll() error

ValidateAll checks the field values on UpdateOverviewRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateOverviewRequestMultiError, or nil if none found.

type UpdateOverviewRequestMultiError

type UpdateOverviewRequestMultiError []error

UpdateOverviewRequestMultiError is an error wrapping multiple validation errors returned by UpdateOverviewRequest.ValidateAll() if the designated constraints aren't met.

func (UpdateOverviewRequestMultiError) AllErrors

func (m UpdateOverviewRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UpdateOverviewRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type UpdateOverviewRequestValidationError

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

UpdateOverviewRequestValidationError is the validation error returned by UpdateOverviewRequest.Validate if the designated constraints aren't met.

func (UpdateOverviewRequestValidationError) Cause

Cause function returns cause value.

func (UpdateOverviewRequestValidationError) Error

Error satisfies the builtin error interface

func (UpdateOverviewRequestValidationError) ErrorName

ErrorName returns error name.

func (UpdateOverviewRequestValidationError) Field

Field function returns field value.

func (UpdateOverviewRequestValidationError) Key

Key function returns key value.

func (UpdateOverviewRequestValidationError) Reason

Reason function returns reason value.

type UpdateOverviewResponse

type UpdateOverviewResponse struct {

	// The file overview with the list of files that were uploaded
	Overview *FileOverview `protobuf:"bytes,1,opt,name=overview,proto3" json:"overview,omitempty"`
	// contains filtered or unexported fields
}

Represents a the response from an UpdateOverviewRequest

func (*UpdateOverviewResponse) Descriptor deprecated

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

Deprecated: Use UpdateOverviewResponse.ProtoReflect.Descriptor instead.

func (*UpdateOverviewResponse) GetOverview

func (x *UpdateOverviewResponse) GetOverview() *FileOverview

func (*UpdateOverviewResponse) ProtoMessage

func (*UpdateOverviewResponse) ProtoMessage()

func (*UpdateOverviewResponse) ProtoReflect

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

func (*UpdateOverviewResponse) Reset

func (x *UpdateOverviewResponse) Reset()

func (*UpdateOverviewResponse) String

func (x *UpdateOverviewResponse) String() string

func (*UpdateOverviewResponse) Validate

func (m *UpdateOverviewResponse) Validate() error

Validate checks the field values on UpdateOverviewResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*UpdateOverviewResponse) ValidateAll

func (m *UpdateOverviewResponse) ValidateAll() error

ValidateAll checks the field values on UpdateOverviewResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateOverviewResponseMultiError, or nil if none found.

type UpdateOverviewResponseMultiError

type UpdateOverviewResponseMultiError []error

UpdateOverviewResponseMultiError is an error wrapping multiple validation errors returned by UpdateOverviewResponse.ValidateAll() if the designated constraints aren't met.

func (UpdateOverviewResponseMultiError) AllErrors

func (m UpdateOverviewResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UpdateOverviewResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type UpdateOverviewResponseValidationError

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

UpdateOverviewResponseValidationError is the validation error returned by UpdateOverviewResponse.Validate if the designated constraints aren't met.

func (UpdateOverviewResponseValidationError) Cause

Cause function returns cause value.

func (UpdateOverviewResponseValidationError) Error

Error satisfies the builtin error interface

func (UpdateOverviewResponseValidationError) ErrorName

ErrorName returns error name.

func (UpdateOverviewResponseValidationError) Field

Field function returns field value.

func (UpdateOverviewResponseValidationError) Key

Key function returns key value.

func (UpdateOverviewResponseValidationError) Reason

Reason function returns reason value.

type X509Name

type X509Name struct {

	// Country name (C): Two-letter country code as per ISO 3166.
	// Must be exactly 2 characters.
	Country []string `protobuf:"bytes,1,rep,name=country,proto3" json:"country,omitempty"`
	// Organization name (O): Name of the organization.
	Organization []string `protobuf:"bytes,2,rep,name=organization,proto3" json:"organization,omitempty"`
	// Organizational Unit name (OU): Name of a subdivision or unit within the organization.
	OrganizationalUnit []string `protobuf:"bytes,3,rep,name=organizational_unit,json=organizationalUnit,proto3" json:"organizational_unit,omitempty"`
	// Locality name (L): Name of the city or locality.
	// Must be non-empty and a reasonable length (e.g., max 100 characters).
	Locality []string `protobuf:"bytes,4,rep,name=locality,proto3" json:"locality,omitempty"`
	// State or Province name (ST): Name of the state or province.
	Province []string `protobuf:"bytes,5,rep,name=province,proto3" json:"province,omitempty"`
	// Street Address (STREET): Physical street address.
	StreetAddress []string `protobuf:"bytes,6,rep,name=street_address,json=streetAddress,proto3" json:"street_address,omitempty"`
	// Postal Code (PC): Postal or ZIP code for the address.
	PostalCode []string `protobuf:"bytes,7,rep,name=postal_code,json=postalCode,proto3" json:"postal_code,omitempty"`
	// Serial Number (SN): Unique identifier or serial number.
	SerialNumber string `protobuf:"bytes,8,opt,name=serial_number,json=serialNumber,proto3" json:"serial_number,omitempty"`
	// Common Name (CN): Typically the person’s or entity's full name.
	CommonName string `protobuf:"bytes,9,opt,name=common_name,json=commonName,proto3" json:"common_name,omitempty"`
	// Parsed attributes including any non-standard attributes, as specified in RFC 2253.
	// These attributes are parsed but not marshaled by this package.
	Names []*AttributeTypeAndValue `protobuf:"bytes,10,rep,name=names,proto3" json:"names,omitempty"`
	// Additional attributes to be included in the marshaled distinguished names.
	// These override any attributes with the same OID in `names`.
	ExtraNames []*AttributeTypeAndValue `protobuf:"bytes,11,rep,name=extra_names,json=extraNames,proto3" json:"extra_names,omitempty"`
	// contains filtered or unexported fields
}

Represents the dates for which a certificate is valid as seen at https://pkg.go.dev/crypto/x509/pkix#Name

func (*X509Name) Descriptor deprecated

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

Deprecated: Use X509Name.ProtoReflect.Descriptor instead.

func (*X509Name) GetCommonName

func (x *X509Name) GetCommonName() string

func (*X509Name) GetCountry

func (x *X509Name) GetCountry() []string

func (*X509Name) GetExtraNames

func (x *X509Name) GetExtraNames() []*AttributeTypeAndValue

func (*X509Name) GetLocality

func (x *X509Name) GetLocality() []string

func (*X509Name) GetNames

func (x *X509Name) GetNames() []*AttributeTypeAndValue

func (*X509Name) GetOrganization

func (x *X509Name) GetOrganization() []string

func (*X509Name) GetOrganizationalUnit

func (x *X509Name) GetOrganizationalUnit() []string

func (*X509Name) GetPostalCode

func (x *X509Name) GetPostalCode() []string

func (*X509Name) GetProvince

func (x *X509Name) GetProvince() []string

func (*X509Name) GetSerialNumber

func (x *X509Name) GetSerialNumber() string

func (*X509Name) GetStreetAddress

func (x *X509Name) GetStreetAddress() []string

func (*X509Name) ProtoMessage

func (*X509Name) ProtoMessage()

func (*X509Name) ProtoReflect

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

func (*X509Name) Reset

func (x *X509Name) Reset()

func (*X509Name) String

func (x *X509Name) String() string

func (*X509Name) Validate

func (m *X509Name) Validate() error

Validate checks the field values on X509Name with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*X509Name) ValidateAll

func (m *X509Name) ValidateAll() error

ValidateAll checks the field values on X509Name with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in X509NameMultiError, or nil if none found.

type X509NameMultiError

type X509NameMultiError []error

X509NameMultiError is an error wrapping multiple validation errors returned by X509Name.ValidateAll() if the designated constraints aren't met.

func (X509NameMultiError) AllErrors

func (m X509NameMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (X509NameMultiError) Error

func (m X509NameMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type X509NameValidationError

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

X509NameValidationError is the validation error returned by X509Name.Validate if the designated constraints aren't met.

func (X509NameValidationError) Cause

func (e X509NameValidationError) Cause() error

Cause function returns cause value.

func (X509NameValidationError) Error

func (e X509NameValidationError) Error() string

Error satisfies the builtin error interface

func (X509NameValidationError) ErrorName

func (e X509NameValidationError) ErrorName() string

ErrorName returns error name.

func (X509NameValidationError) Field

func (e X509NameValidationError) Field() string

Field function returns field value.

func (X509NameValidationError) Key

func (e X509NameValidationError) Key() bool

Key function returns key value.

func (X509NameValidationError) Reason

func (e X509NameValidationError) Reason() string

Reason function returns reason value.

Directories

Path Synopsis
Code generated by counterfeiter.
Code generated by counterfeiter.

Jump to

Keyboard shortcuts

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