korpc

package
v0.0.0-...-6f130a9 Latest Latest
Warning

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

Go to latest
Published: May 10, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var E_Options = &proto.ExtensionDesc{
	ExtendedType:  (*descriptor.MethodOptions)(nil),
	ExtensionType: (*Options)(nil),
	Field:         98374687,
	Name:          "korpc.options",
	Tag:           "bytes,98374687,opt,name=options",
	Filename:      "korpc.proto",
}

Functions

This section is empty.

Types

type KeyValue

type KeyValue struct {
	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Value                string   `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*KeyValue) Descriptor

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

func (*KeyValue) GetName

func (m *KeyValue) GetName() string

func (*KeyValue) GetValue

func (m *KeyValue) GetValue() string

func (*KeyValue) ProtoMessage

func (*KeyValue) ProtoMessage()

func (*KeyValue) Reset

func (m *KeyValue) Reset()

func (*KeyValue) String

func (m *KeyValue) String() string

func (*KeyValue) XXX_DiscardUnknown

func (m *KeyValue) XXX_DiscardUnknown()

func (*KeyValue) XXX_Marshal

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

func (*KeyValue) XXX_Merge

func (m *KeyValue) XXX_Merge(src proto.Message)

func (*KeyValue) XXX_Size

func (m *KeyValue) XXX_Size() int

func (*KeyValue) XXX_Unmarshal

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

type Options

type Options struct {
	ServiceAccount       string      `protobuf:"bytes,1,opt,name=service_account,json=serviceAccount,proto3" json:"service_account,omitempty"`
	ContainerConcurrency int32       `protobuf:"varint,2,opt,name=container_concurrency,json=containerConcurrency,proto3" json:"container_concurrency,omitempty"`
	Resources            *Resource   `protobuf:"bytes,3,opt,name=resources,proto3" json:"resources,omitempty"`
	Env                  []*KeyValue `protobuf:"bytes,4,rep,name=env,proto3" json:"env,omitempty"`
	TimeoutSeconds       int64       `protobuf:"varint,5,opt,name=timeout_seconds,json=timeoutSeconds,proto3" json:"timeout_seconds,omitempty"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

func (*Options) Descriptor

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

func (*Options) GetContainerConcurrency

func (m *Options) GetContainerConcurrency() int32

func (*Options) GetEnv

func (m *Options) GetEnv() []*KeyValue

func (*Options) GetResources

func (m *Options) GetResources() *Resource

func (*Options) GetServiceAccount

func (m *Options) GetServiceAccount() string

func (*Options) GetTimeoutSeconds

func (m *Options) GetTimeoutSeconds() int64

func (*Options) ProtoMessage

func (*Options) ProtoMessage()

func (*Options) Reset

func (m *Options) Reset()

func (*Options) String

func (m *Options) String() string

func (*Options) XXX_DiscardUnknown

func (m *Options) XXX_DiscardUnknown()

func (*Options) XXX_Marshal

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

func (*Options) XXX_Merge

func (m *Options) XXX_Merge(src proto.Message)

func (*Options) XXX_Size

func (m *Options) XXX_Size() int

func (*Options) XXX_Unmarshal

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

type Resource

type Resource struct {
	Limits               map[string]string `` /* 153-byte string literal not displayed */
	Requests             map[string]string `` /* 157-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (*Resource) Descriptor

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

func (*Resource) GetLimits

func (m *Resource) GetLimits() map[string]string

func (*Resource) GetRequests

func (m *Resource) GetRequests() map[string]string

func (*Resource) ProtoMessage

func (*Resource) ProtoMessage()

func (*Resource) Reset

func (m *Resource) Reset()

func (*Resource) String

func (m *Resource) String() string

func (*Resource) XXX_DiscardUnknown

func (m *Resource) XXX_DiscardUnknown()

func (*Resource) XXX_Marshal

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

func (*Resource) XXX_Merge

func (m *Resource) XXX_Merge(src proto.Message)

func (*Resource) XXX_Size

func (m *Resource) XXX_Size() int

func (*Resource) XXX_Unmarshal

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

type Resource_Block

type Resource_Block struct {
	Cpu                  string   `protobuf:"bytes,1,opt,name=cpu,proto3" json:"cpu,omitempty"`
	Memory               string   `protobuf:"bytes,2,opt,name=memory,proto3" json:"memory,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Resource_Block) Descriptor

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

func (*Resource_Block) GetCpu

func (m *Resource_Block) GetCpu() string

func (*Resource_Block) GetMemory

func (m *Resource_Block) GetMemory() string

func (*Resource_Block) ProtoMessage

func (*Resource_Block) ProtoMessage()

func (*Resource_Block) Reset

func (m *Resource_Block) Reset()

func (*Resource_Block) String

func (m *Resource_Block) String() string

func (*Resource_Block) XXX_DiscardUnknown

func (m *Resource_Block) XXX_DiscardUnknown()

func (*Resource_Block) XXX_Marshal

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

func (*Resource_Block) XXX_Merge

func (m *Resource_Block) XXX_Merge(src proto.Message)

func (*Resource_Block) XXX_Size

func (m *Resource_Block) XXX_Size() int

func (*Resource_Block) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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