deployment

package
v1.33.0-20230531113704... Latest Latest
Warning

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

Go to latest
Published: unknown License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Interface_Transport_name = map[int32]string{
		0: "TRANSPORT_UNSPECIFIED",
		1: "TRANSPORT_HTTP",
		2: "TRANSPORT_GRPC",
	}
	Interface_Transport_value = map[string]int32{
		"TRANSPORT_UNSPECIFIED": 0,
		"TRANSPORT_HTTP":        1,
		"TRANSPORT_GRPC":        2,
	}
)

Enum value maps for Interface_Transport.

View Source
var File_nuntio_management_model_deployment_capsule_proto protoreflect.FileDescriptor
View Source
var File_nuntio_management_model_deployment_container_proto protoreflect.FileDescriptor
View Source
var File_nuntio_management_model_deployment_deployment_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Capsule

type Capsule struct {
	Container *Container `protobuf:"bytes,1,opt,name=container,proto3" json:"container,omitempty"`
	Network   *Network   `protobuf:"bytes,2,opt,name=network,proto3" json:"network,omitempty"`
	// contains filtered or unexported fields
}

func (*Capsule) Descriptor deprecated

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

Deprecated: Use Capsule.ProtoReflect.Descriptor instead.

func (*Capsule) GetContainer

func (x *Capsule) GetContainer() *Container

func (*Capsule) GetNetwork

func (x *Capsule) GetNetwork() *Network

func (*Capsule) ProtoMessage

func (*Capsule) ProtoMessage()

func (*Capsule) ProtoReflect

func (x *Capsule) ProtoReflect() protoreflect.Message

func (*Capsule) Reset

func (x *Capsule) Reset()

func (*Capsule) String

func (x *Capsule) String() string

type Container

type Container struct {
	Image   string            `protobuf:"bytes,1,opt,name=image,proto3" json:"image,omitempty"`
	Command string            `protobuf:"bytes,2,opt,name=command,proto3" json:"command,omitempty"`
	Args    []string          `protobuf:"bytes,3,rep,name=args,proto3" json:"args,omitempty"`
	Env     map[string]string `` /* 147-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Container) Descriptor deprecated

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

Deprecated: Use Container.ProtoReflect.Descriptor instead.

func (*Container) GetArgs

func (x *Container) GetArgs() []string

func (*Container) GetCommand

func (x *Container) GetCommand() string

func (*Container) GetEnv

func (x *Container) GetEnv() map[string]string

func (*Container) GetImage

func (x *Container) GetImage() string

func (*Container) ProtoMessage

func (*Container) ProtoMessage()

func (*Container) ProtoReflect

func (x *Container) ProtoReflect() protoreflect.Message

func (*Container) Reset

func (x *Container) Reset()

func (*Container) String

func (x *Container) String() string

type Deployment

type Deployment struct {
	Capsule  *Capsule `protobuf:"bytes,1,opt,name=capsule,proto3" json:"capsule,omitempty"`
	Replicas uint32   `protobuf:"varint,2,opt,name=replicas,proto3" json:"replicas,omitempty"`
	// contains filtered or unexported fields
}

func (*Deployment) Descriptor deprecated

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

Deprecated: Use Deployment.ProtoReflect.Descriptor instead.

func (*Deployment) GetCapsule

func (x *Deployment) GetCapsule() *Capsule

func (*Deployment) GetReplicas

func (x *Deployment) GetReplicas() uint32

func (*Deployment) ProtoMessage

func (*Deployment) ProtoMessage()

func (*Deployment) ProtoReflect

func (x *Deployment) ProtoReflect() protoreflect.Message

func (*Deployment) Reset

func (x *Deployment) Reset()

func (*Deployment) String

func (x *Deployment) String() string

type Interface

type Interface struct {
	Port       uint32              `protobuf:"varint,1,opt,name=port,proto3" json:"port,omitempty"`
	Name       string              `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Transport  Interface_Transport `` /* 132-byte string literal not displayed */
	PublicPort uint32              `protobuf:"varint,4,opt,name=public_port,json=publicPort,proto3" json:"public_port,omitempty"`
	// contains filtered or unexported fields
}

func (*Interface) Descriptor deprecated

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

Deprecated: Use Interface.ProtoReflect.Descriptor instead.

func (*Interface) GetName

func (x *Interface) GetName() string

func (*Interface) GetPort

func (x *Interface) GetPort() uint32

func (*Interface) GetPublicPort

func (x *Interface) GetPublicPort() uint32

func (*Interface) GetTransport

func (x *Interface) GetTransport() Interface_Transport

func (*Interface) ProtoMessage

func (*Interface) ProtoMessage()

func (*Interface) ProtoReflect

func (x *Interface) ProtoReflect() protoreflect.Message

func (*Interface) Reset

func (x *Interface) Reset()

func (*Interface) String

func (x *Interface) String() string

type Interface_Transport

type Interface_Transport int32
const (
	Interface_TRANSPORT_UNSPECIFIED Interface_Transport = 0
	Interface_TRANSPORT_HTTP        Interface_Transport = 1
	Interface_TRANSPORT_GRPC        Interface_Transport = 2
)

func (Interface_Transport) Descriptor

func (Interface_Transport) Enum

func (Interface_Transport) EnumDescriptor deprecated

func (Interface_Transport) EnumDescriptor() ([]byte, []int)

Deprecated: Use Interface_Transport.Descriptor instead.

func (Interface_Transport) Number

func (Interface_Transport) String

func (x Interface_Transport) String() string

func (Interface_Transport) Type

type Network

type Network struct {
	Interfaces []*Interface `protobuf:"bytes,1,rep,name=interfaces,proto3" json:"interfaces,omitempty"`
	// contains filtered or unexported fields
}

func (*Network) Descriptor deprecated

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

Deprecated: Use Network.ProtoReflect.Descriptor instead.

func (*Network) GetInterfaces

func (x *Network) GetInterfaces() []*Interface

func (*Network) ProtoMessage

func (*Network) ProtoMessage()

func (*Network) ProtoReflect

func (x *Network) ProtoReflect() protoreflect.Message

func (*Network) Reset

func (x *Network) Reset()

func (*Network) String

func (x *Network) String() string

Jump to

Keyboard shortcuts

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