nodes

package
v3.7.49-1+incompatible Latest Latest
Warning

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

Go to latest
Published: May 23, 2018 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DaemonSetNodeKind        = reflect.TypeOf(kapisext.DaemonSet{}).Name()
	DeploymentNodeKind       = reflect.TypeOf(kapisext.Deployment{}).Name()
	DeploymentConfigNodeKind = reflect.TypeOf(deployapi.DeploymentConfig{}).Name()
	ReplicaSetNodeKind       = reflect.TypeOf(kapisext.ReplicaSet{}).Name()
)

Functions

func DaemonSetNodeName

func DaemonSetNodeName(o *kapisext.DaemonSet) osgraph.UniqueName

func DeploymentConfigNodeName

func DeploymentConfigNodeName(o *deployapi.DeploymentConfig) osgraph.UniqueName

func DeploymentNodeName

func DeploymentNodeName(o *kapisext.Deployment) osgraph.UniqueName

func ReplicaSetNodeName

func ReplicaSetNodeName(o *kapisext.ReplicaSet) osgraph.UniqueName

Types

type DaemonSetNode

type DaemonSetNode struct {
	osgraph.Node
	DaemonSet *kapisext.DaemonSet

	IsFound bool
}

func EnsureDaemonSetNode

func EnsureDaemonSetNode(g osgraph.MutableUniqueGraph, ds *kapisext.DaemonSet) *DaemonSetNode

EnsureDaemonSetNode adds the provided daemon set to the graph if it does not exist

func FindOrCreateSyntheticDaemonSetNode

func FindOrCreateSyntheticDaemonSetNode(g osgraph.MutableUniqueGraph, ds *kapisext.DaemonSet) *DaemonSetNode

func (DaemonSetNode) Found

func (n DaemonSetNode) Found() bool

func (*DaemonSetNode) Kind

func (*DaemonSetNode) Kind() string

func (DaemonSetNode) Object

func (n DaemonSetNode) Object() interface{}

func (DaemonSetNode) String

func (n DaemonSetNode) String() string

type DeploymentConfigNode

type DeploymentConfigNode struct {
	osgraph.Node
	DeploymentConfig *deployapi.DeploymentConfig

	IsFound bool
}

func EnsureDeploymentConfigNode

func EnsureDeploymentConfigNode(g osgraph.MutableUniqueGraph, dc *deployapi.DeploymentConfig) *DeploymentConfigNode

EnsureDeploymentConfigNode adds the provided deployment config to the graph if it does not exist

func (DeploymentConfigNode) Found

func (n DeploymentConfigNode) Found() bool

func (*DeploymentConfigNode) Kind

func (*DeploymentConfigNode) Kind() string

func (DeploymentConfigNode) Object

func (n DeploymentConfigNode) Object() interface{}

func (DeploymentConfigNode) String

func (n DeploymentConfigNode) String() string

type DeploymentNode

type DeploymentNode struct {
	osgraph.Node
	Deployment *kapisext.Deployment

	IsFound bool
}

func EnsureDeploymentNode

func EnsureDeploymentNode(g osgraph.MutableUniqueGraph, deployment *kapisext.Deployment) *DeploymentNode

EnsureDeploymentNode adds the provided upstream deployment to the graph if it does not exist

func FindOrCreateSyntheticDeploymentNode

func FindOrCreateSyntheticDeploymentNode(g osgraph.MutableUniqueGraph, deployment *kapisext.Deployment) *DeploymentNode

func (DeploymentNode) Found

func (n DeploymentNode) Found() bool

func (*DeploymentNode) Kind

func (*DeploymentNode) Kind() string

func (DeploymentNode) Object

func (n DeploymentNode) Object() interface{}

func (DeploymentNode) String

func (n DeploymentNode) String() string

type ReplicaSetNode

type ReplicaSetNode struct {
	osgraph.Node
	ReplicaSet *kapisext.ReplicaSet

	IsFound bool
}

func EnsureReplicaSetNode

func EnsureReplicaSetNode(g osgraph.MutableUniqueGraph, rs *kapisext.ReplicaSet) *ReplicaSetNode

EnsureReplicaSetNode adds the provided replica set to the graph if it does not exist

func FindOrCreateSyntheticReplicaSetNode

func FindOrCreateSyntheticReplicaSetNode(g osgraph.MutableUniqueGraph, rs *kapisext.ReplicaSet) *ReplicaSetNode

func (ReplicaSetNode) Found

func (n ReplicaSetNode) Found() bool

func (*ReplicaSetNode) Kind

func (*ReplicaSetNode) Kind() string

func (ReplicaSetNode) Object

func (n ReplicaSetNode) Object() interface{}

func (ReplicaSetNode) String

func (n ReplicaSetNode) String() string

Jump to

Keyboard shortcuts

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