status

package
v0.0.0-...-d42efe0 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	State_name = map[int32]string{
		0: "UNSPECIFIED_STATE",
		1: "SUCCESS_STATE",
		2: "FAILURE_STATE",
		3: "ERROR_STATE",
	}
	State_value = map[string]int32{
		"UNSPECIFIED_STATE": 0,
		"SUCCESS_STATE":     1,
		"FAILURE_STATE":     2,
		"ERROR_STATE":       3,
	}
)

Enum value maps for State.

View Source
var File_integration_common_shared_protos_status_status_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type AgentStatus

type AgentStatus struct {
	InstalledVersion                string           `protobuf:"bytes,1,opt,name=installed_version,json=installedVersion,proto3" json:"installed_version,omitempty"`
	AvailableVersion                string           `protobuf:"bytes,2,opt,name=available_version,json=availableVersion,proto3" json:"available_version,omitempty"`
	SystemdServiceEnabled           State            `` /* 200-byte string literal not displayed */
	SystemdServiceRunning           State            `` /* 200-byte string literal not displayed */
	ConfigurationFilePath           string           `` /* 126-byte string literal not displayed */
	ConfigurationValid              State            `` /* 189-byte string literal not displayed */
	ConfigurationErrorMessage       string           `` /* 138-byte string literal not displayed */
	Services                        []*ServiceStatus `protobuf:"bytes,8,rep,name=services,proto3" json:"services,omitempty"`
	References                      []*Reference     `protobuf:"bytes,9,rep,name=references,proto3" json:"references,omitempty"`
	AgentName                       string           `protobuf:"bytes,10,opt,name=agent_name,json=agentName,proto3" json:"agent_name,omitempty"`
	CloudApiAccessFullScopesGranted State            `` /* 237-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*AgentStatus) Descriptor deprecated

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

Deprecated: Use AgentStatus.ProtoReflect.Descriptor instead.

func (*AgentStatus) GetAgentName

func (x *AgentStatus) GetAgentName() string

func (*AgentStatus) GetAvailableVersion

func (x *AgentStatus) GetAvailableVersion() string

func (*AgentStatus) GetCloudApiAccessFullScopesGranted

func (x *AgentStatus) GetCloudApiAccessFullScopesGranted() State

func (*AgentStatus) GetConfigurationErrorMessage

func (x *AgentStatus) GetConfigurationErrorMessage() string

func (*AgentStatus) GetConfigurationFilePath

func (x *AgentStatus) GetConfigurationFilePath() string

func (*AgentStatus) GetConfigurationValid

func (x *AgentStatus) GetConfigurationValid() State

func (*AgentStatus) GetInstalledVersion

func (x *AgentStatus) GetInstalledVersion() string

func (*AgentStatus) GetReferences

func (x *AgentStatus) GetReferences() []*Reference

func (*AgentStatus) GetServices

func (x *AgentStatus) GetServices() []*ServiceStatus

func (*AgentStatus) GetSystemdServiceEnabled

func (x *AgentStatus) GetSystemdServiceEnabled() State

func (*AgentStatus) GetSystemdServiceRunning

func (x *AgentStatus) GetSystemdServiceRunning() State

func (*AgentStatus) ProtoMessage

func (*AgentStatus) ProtoMessage()

func (*AgentStatus) ProtoReflect

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

func (*AgentStatus) Reset

func (x *AgentStatus) Reset()

func (*AgentStatus) String

func (x *AgentStatus) String() string

type ConfigValue

type ConfigValue struct {
	Name      string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Value     string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	IsDefault bool   `protobuf:"varint,3,opt,name=is_default,json=isDefault,proto3" json:"is_default,omitempty"`
	// contains filtered or unexported fields
}

func (*ConfigValue) Descriptor deprecated

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

Deprecated: Use ConfigValue.ProtoReflect.Descriptor instead.

func (*ConfigValue) GetIsDefault

func (x *ConfigValue) GetIsDefault() bool

func (*ConfigValue) GetName

func (x *ConfigValue) GetName() string

func (*ConfigValue) GetValue

func (x *ConfigValue) GetValue() string

func (*ConfigValue) ProtoMessage

func (*ConfigValue) ProtoMessage()

func (*ConfigValue) ProtoReflect

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

func (*ConfigValue) Reset

func (x *ConfigValue) Reset()

func (*ConfigValue) String

func (x *ConfigValue) String() string

type IAMPermission

type IAMPermission struct {
	Name    string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Granted State  `` /* 141-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*IAMPermission) Descriptor deprecated

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

Deprecated: Use IAMPermission.ProtoReflect.Descriptor instead.

func (*IAMPermission) GetGranted

func (x *IAMPermission) GetGranted() State

func (*IAMPermission) GetName

func (x *IAMPermission) GetName() string

func (*IAMPermission) ProtoMessage

func (*IAMPermission) ProtoMessage()

func (*IAMPermission) ProtoReflect

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

func (*IAMPermission) Reset

func (x *IAMPermission) Reset()

func (*IAMPermission) String

func (x *IAMPermission) String() string

type Reference

type Reference struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Url  string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"`
	// contains filtered or unexported fields
}

func (*Reference) Descriptor deprecated

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

Deprecated: Use Reference.ProtoReflect.Descriptor instead.

func (*Reference) GetName

func (x *Reference) GetName() string

func (*Reference) GetUrl

func (x *Reference) GetUrl() string

func (*Reference) ProtoMessage

func (*Reference) ProtoMessage()

func (*Reference) ProtoReflect

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

func (*Reference) Reset

func (x *Reference) Reset()

func (*Reference) String

func (x *Reference) String() string

type ServiceStatus

type ServiceStatus struct {
	Name                    string           `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	State                   State            `` /* 137-byte string literal not displayed */
	FullyFunctional         State            `` /* 180-byte string literal not displayed */
	ErrorMessage            string           `protobuf:"bytes,4,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"`
	IamPermissions          []*IAMPermission `protobuf:"bytes,5,rep,name=iam_permissions,json=iamPermissions,proto3" json:"iam_permissions,omitempty"`
	ConfigValues            []*ConfigValue   `protobuf:"bytes,6,rep,name=config_values,json=configValues,proto3" json:"config_values,omitempty"`
	UnspecifiedStateMessage string           `` /* 132-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ServiceStatus) Descriptor deprecated

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

Deprecated: Use ServiceStatus.ProtoReflect.Descriptor instead.

func (*ServiceStatus) GetConfigValues

func (x *ServiceStatus) GetConfigValues() []*ConfigValue

func (*ServiceStatus) GetErrorMessage

func (x *ServiceStatus) GetErrorMessage() string

func (*ServiceStatus) GetFullyFunctional

func (x *ServiceStatus) GetFullyFunctional() State

func (*ServiceStatus) GetIamPermissions

func (x *ServiceStatus) GetIamPermissions() []*IAMPermission

func (*ServiceStatus) GetName

func (x *ServiceStatus) GetName() string

func (*ServiceStatus) GetState

func (x *ServiceStatus) GetState() State

func (*ServiceStatus) GetUnspecifiedStateMessage

func (x *ServiceStatus) GetUnspecifiedStateMessage() string

func (*ServiceStatus) ProtoMessage

func (*ServiceStatus) ProtoMessage()

func (*ServiceStatus) ProtoReflect

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

func (*ServiceStatus) Reset

func (x *ServiceStatus) Reset()

func (*ServiceStatus) String

func (x *ServiceStatus) String() string

type State

type State int32
const (
	State_UNSPECIFIED_STATE State = 0
	State_SUCCESS_STATE     State = 1
	State_FAILURE_STATE     State = 2
	State_ERROR_STATE       State = 3
)

func (State) Descriptor

func (State) Descriptor() protoreflect.EnumDescriptor

func (State) Enum

func (x State) Enum() *State

func (State) EnumDescriptor deprecated

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

Deprecated: Use State.Descriptor instead.

func (State) Number

func (x State) Number() protoreflect.EnumNumber

func (State) String

func (x State) String() string

func (State) Type

func (State) Type() protoreflect.EnumType

Jump to

Keyboard shortcuts

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