service

package
v0.1.0-beta1 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2018 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PodObserve

func PodObserve(ss *ServiceState, p *types.Pod) error

PodObserve function manages pod handlers based on pod state

Types

type ServiceState

type ServiceState struct {
	// contains filtered or unexported fields
}

func NewServiceState

func NewServiceState(cs *cluster.ClusterState, s *types.Service) *ServiceState

func (*ServiceState) DelDeployment

func (ss *ServiceState) DelDeployment(d *types.Deployment)

func (*ServiceState) DelPod

func (ss *ServiceState) DelPod(p *types.Pod)

func (*ServiceState) Observe

func (ss *ServiceState) Observe()

func (*ServiceState) Restore

func (ss *ServiceState) Restore() error

func (*ServiceState) SetDeployment

func (ss *ServiceState) SetDeployment(d *types.Deployment)

func (*ServiceState) SetPod

func (ss *ServiceState) SetPod(p *types.Pod)

func (*ServiceState) SetService

func (ss *ServiceState) SetService(s *types.Service)

Source Files

  • deployment.go
  • endpoint.go
  • observer.go
  • pod.go
  • service.go

Jump to

Keyboard shortcuts

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