sfc

package
v1.5.2-alpha Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2018 License: Apache-2.0 Imports: 3 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package sfc is a generated protocol buffer package.

Package pod defines data model for Kubernetes Pod.

It is generated from these files:

sfc.proto

It has these top-level messages:

Sfc

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Key

func Key(name string, namespace string) string

Key returns the key under which a given K8s pod is stored in the data store.

func KeyPrefix

func KeyPrefix() string

KeyPrefix returns the sfc-controller prefix for pods with sfc label.

Types

type Sfc

type Sfc struct {
	// Name of the pod unique within the namespace.
	// Cannot be updated.
	Pod string `protobuf:"bytes,1,opt,name=pod,proto3" json:"pod,omitempty"`
	// Node the pod is deployed into into.
	// Can be updated
	Node string `protobuf:"bytes,2,opt,name=node,proto3" json:"node,omitempty"`
}

Pod is a collection of containers that can run on a host. This resource is created by clients and scheduled onto hosts.

func (*Sfc) Descriptor

func (*Sfc) Descriptor() ([]byte, []int)

func (*Sfc) GetNode

func (m *Sfc) GetNode() string

func (*Sfc) GetPod

func (m *Sfc) GetPod() string

func (*Sfc) ProtoMessage

func (*Sfc) ProtoMessage()

func (*Sfc) Reset

func (m *Sfc) Reset()

func (*Sfc) String

func (m *Sfc) String() string

Jump to

Keyboard shortcuts

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