Versions in this module Expand all Collapse all v1 v1.5.0 Sep 23, 2019 Changes in this version + const ResourceRequirementKindDefaultFromLimits + const ResourceRequirementKindDefaultsLimitRange + const ResourceRequirementKindSet + func Decode(in []byte, out interface{}) error + func DecodeGOB(in []byte, out interface{}) error + func DecodeJSON(in []byte, out interface{}) error + func Encode(in interface{}) ([]byte, error) + func EncodeGOB(in interface{}) ([]byte, error) + func EncodeJSON(in interface{}) ([]byte, error) + func RegisterGOBTypes() + type ContainerResourceRequirements struct + LimitsKinds ResourcesRequirementsKind + RequestsKinds ResourcesRequirementsKind + SpecResourceRequirements kv1.ResourceRequirements + type ContainerResources struct + Limits RequestLimit + Requests RequestLimit + type DecisionExecutionStatus string + const DecisionExecutionStatusFailed + const DecisionExecutionStatusSkipped + const DecisionExecutionStatusSucceed + type MetricStoreRequest struct + AdditionalTags map[string]interface{} + Application uuid.UUID + Container uuid.UUID + Name string + Node uuid.UUID + Pod string + Service uuid.UUID + Timestamp time.Time + Type string + Value int64 + type PacketApplicationsStoreRequest []PacketRegisterApplicationItem + type PacketApplicationsStoreResponse struct + type PacketAuthorizationAnswer struct + Token []byte + type PacketAuthorizationFailure struct + type PacketAuthorizationQuestion struct + Token []byte + type PacketAuthorizationRequest struct + AccountID uuid.UUID + ClusterID uuid.UUID + type PacketAuthorizationSuccess struct + type PacketBye struct + Reason string + type PacketDecision struct + ContainerId uuid.UUID + ContainerResources ContainerResources + ID uuid.UUID + ServiceId uuid.UUID + type PacketDecisionFeedbackRequest struct + ContainerId uuid.UUID + ID uuid.UUID + Message string + ServiceId uuid.UUID + Status DecisionExecutionStatus + type PacketDecisionFeedbackResponse struct + type PacketDecisionPullRequest struct + type PacketDecisionPullResponse struct + Decisions []*PacketDecision + type PacketDecisionResponse struct + Error *string + type PacketEventLastValueRequest struct + Entity string + EntityID string + EventKind string + type PacketEventLastValueResponse struct + Value interface{} + type PacketEventsStoreRequest []watcher.Event + type PacketEventsStoreResponse struct + type PacketHello struct + AccountID uuid.UUID + Build string + ClusterID uuid.UUID + Major uint + Minor uint + StartID string + type PacketKind string + const PacketKindApplicationsStoreRequest + const PacketKindAuthorizationAnswer + const PacketKindAuthorizationFailure + const PacketKindAuthorizationQuestion + const PacketKindAuthorizationRequest + const PacketKindAuthorizationSuccess + const PacketKindBye + const PacketKindDecision + const PacketKindDecisionFeedback + const PacketKindDecisionPull + const PacketKindEventLastValueRequest + const PacketKindEventsStoreRequest + const PacketKindHello + const PacketKindLogs + const PacketKindMetricsPromStoreRequest + const PacketKindMetricsStoreRequest + const PacketKindNodesStoreRequest + const PacketKindPing + const PacketKindPong + const PacketKindRawStoreRequest + const PacketKindRestart + const PacketKindStatusStoreRequest + func (kind PacketKind) String() string + type PacketLogItem struct + Data interface{} + Date time.Time + Level lorg.Level + type PacketLogs []PacketLogItem + type PacketMetricFamilyItem struct + Help string + Name string + Tags []string + Type string + Values []*PacketMetricValueItem + type PacketMetricValueItem struct + Application *uuid.UUID + Container *uuid.UUID + Node *uuid.UUID + Service *uuid.UUID + Tags map[string]string + Value float64 + type PacketMetricsPromStoreRequest struct + Metrics []*PacketMetricFamilyItem + Timestamp time.Time + type PacketMetricsPromStoreResponse struct + type PacketMetricsStoreRequest []MetricStoreRequest + type PacketMetricsStoreResponse struct + type PacketNodesStoreRequest []PacketRegisterNodeItem + type PacketNodesStoreResponse struct + type PacketPing struct + Number int + Started time.Time + type PacketPong struct + Number int + Started time.Time + type PacketRaw map[string]interface + type PacketRawRequest struct + Timestamp time.Time + type PacketRawResponse struct + type PacketRegisterApplicationItem struct + LimitRanges []kv1.LimitRange + Services []PacketRegisterServiceItem + type PacketRegisterContainerItem struct + Image string + LivenessProbe json.RawMessage + ReadinessProbe json.RawMessage + Resources json.RawMessage + type PacketRegisterEntityItem struct + Annotations map[string]string + ID uuid.UUID + Kind string + Name string + type PacketRegisterNodeCapacityItem struct + CPU int + Memory int + Pods int + StorageEphemeral int + type PacketRegisterNodeContainerListItem struct + Cluster string + Image string + Limits *PacketRegisterNodeContainerListResourcesItem + Name string + Namespace string + Node string + Pod string + Requests *PacketRegisterNodeContainerListResourcesItem + type PacketRegisterNodeContainerListResourcesItem struct + CPU int + Memory int + type PacketRegisterNodeItem struct + Allocatable PacketRegisterNodeCapacityItem + Capacity PacketRegisterNodeCapacityItem + ContainerList []*PacketRegisterNodeContainerListItem + Containers int + ID uuid.UUID + IP string + InstanceSize string + InstanceType string + Name string + Provider string + Region string + Roles string + type PacketRegisterServiceItem struct + Containers []PacketRegisterContainerItem + ReplicasStatus ReplicasStatus + type PacketRestart struct + Status int + type PacketStatusStoreRequest struct + Entity string + EntityID uuid.UUID + Source *watcher.ContainerStatusSource + Status watcher.Status + Timestamp time.Time + type PacketStatusStoreResponse struct + type ReplicasStatus struct + Available *int32 + Current *int32 + Desired *int32 + Ready *int32 + type RequestLimit struct + CPU *int64 + Memory *int64 + type ResourcesRequirementsKind = map[kv1.ResourceName]string