MCPcopy
hub / github.com/redspread/spread / ReplicationController

Struct ReplicationController

pkg/entity/replicationcontroller.go:15–19  ·  view source on GitHub ↗

ReplicationController represents kube.ReplicationController in the Redspread hierarchy.

Source from the content-addressed store, hash-verified

13
14// ReplicationController represents kube.ReplicationController in the Redspread hierarchy.
15type ReplicationController struct {
16 base
17 rc *kube.ReplicationController
18 pod *Pod
19}
20
21// NewReplicationController creates a new Entity for the provided kube.ReplicationController. Must be valid.
22func NewReplicationController(kubeRC *kube.ReplicationController, defaults kube.ObjectMeta, source string, objects ...deploy.KubeObject) (*ReplicationController, error) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected