sfc

package
v2.1.3+incompatible Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2019 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

func (*Sfc) XXX_DiscardUnknown

func (m *Sfc) XXX_DiscardUnknown()

func (*Sfc) XXX_Marshal

func (m *Sfc) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Sfc) XXX_Merge

func (dst *Sfc) XXX_Merge(src proto.Message)

func (*Sfc) XXX_Size

func (m *Sfc) XXX_Size() int

func (*Sfc) XXX_Unmarshal

func (m *Sfc) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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