Documentation ¶
Index ¶
- func GetRuntimeObjectName(name string, kind string) string
- func GetWorkloadInfoRuntimeName(name string) (workloadName string, workloadKind string, err error)
- func IsObjectLabeledForInstrumentation(obj client.Object) bool
- type DaemonSetWorkload
- type DeploymentWorkload
- type StatefulSetWorkload
- type Workload
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetRuntimeObjectName ¶
runtime name is a way to store workload specific CRs with odigos and give the k8s object a name which is unique and can be used to extract the workload name and kind
func IsObjectLabeledForInstrumentation ¶ added in v1.0.71
Types ¶
type DaemonSetWorkload ¶ added in v1.0.71
func (*DaemonSetWorkload) AvailableReplicas ¶ added in v1.0.71
func (d *DaemonSetWorkload) AvailableReplicas() int32
type DeploymentWorkload ¶ added in v1.0.71
type DeploymentWorkload struct {
*v1.Deployment
}
func (*DeploymentWorkload) AvailableReplicas ¶ added in v1.0.71
func (d *DeploymentWorkload) AvailableReplicas() int32
type StatefulSetWorkload ¶ added in v1.0.71
type StatefulSetWorkload struct {
*v1.StatefulSet
}
func (*StatefulSetWorkload) AvailableReplicas ¶ added in v1.0.71
func (s *StatefulSetWorkload) AvailableReplicas() int32
Click to show internal directories.
Click to hide internal directories.