sfc

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2018 License: Apache-2.0 Imports: 3 Imported by: 2

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