deployment

package
v1.36.11-2023053111370... 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) ClearContainer

func (x *Capsule) ClearContainer()

func (*Capsule) ClearNetwork

func (x *Capsule) ClearNetwork()

func (*Capsule) GetContainer

func (x *Capsule) GetContainer() *Container

func (*Capsule) GetNetwork

func (x *Capsule) GetNetwork() *Network

func (*Capsule) HasContainer

func (x *Capsule) HasContainer() bool

func (*Capsule) HasNetwork

func (x *Capsule) HasNetwork() bool

func (*Capsule) ProtoMessage

func (*Capsule) ProtoMessage()

func (*Capsule) ProtoReflect

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

func (*Capsule) Reset

func (x *Capsule) Reset()

func (*Capsule) SetContainer

func (x *Capsule) SetContainer(v *Container)

func (*Capsule) SetNetwork

func (x *Capsule) SetNetwork(v *Network)

func (*Capsule) String

func (x *Capsule) String() string

type Capsule_builder

type Capsule_builder struct {
	Container *Container
	Network   *Network
	// contains filtered or unexported fields
}

func (Capsule_builder) Build

func (b0 Capsule_builder) Build() *Capsule

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 `` /* 133-byte string literal not displayed */
	// contains filtered or unexported fields
}

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) SetArgs

func (x *Container) SetArgs(v []string)

func (*Container) SetCommand

func (x *Container) SetCommand(v string)

func (*Container) SetEnv

func (x *Container) SetEnv(v map[string]string)

func (*Container) SetImage

func (x *Container) SetImage(v string)

func (*Container) String

func (x *Container) String() string

type Container_builder

type Container_builder struct {
	Image   string
	Command string
	Args    []string
	Env     map[string]string
	// contains filtered or unexported fields
}

func (Container_builder) Build

func (b0 Container_builder) Build() *Container

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) ClearCapsule

func (x *Deployment) ClearCapsule()

func (*Deployment) GetCapsule

func (x *Deployment) GetCapsule() *Capsule

func (*Deployment) GetReplicas

func (x *Deployment) GetReplicas() uint32

func (*Deployment) HasCapsule

func (x *Deployment) HasCapsule() bool

func (*Deployment) ProtoMessage

func (*Deployment) ProtoMessage()

func (*Deployment) ProtoReflect

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

func (*Deployment) Reset

func (x *Deployment) Reset()

func (*Deployment) SetCapsule

func (x *Deployment) SetCapsule(v *Capsule)

func (*Deployment) SetReplicas

func (x *Deployment) SetReplicas(v uint32)

func (*Deployment) String

func (x *Deployment) String() string

type Deployment_builder

type Deployment_builder struct {
	Capsule  *Capsule
	Replicas uint32
	// contains filtered or unexported fields
}

func (Deployment_builder) Build

func (b0 Deployment_builder) Build() *Deployment

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) 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) SetName

func (x *Interface) SetName(v string)

func (*Interface) SetPort

func (x *Interface) SetPort(v uint32)

func (*Interface) SetPublicPort

func (x *Interface) SetPublicPort(v uint32)

func (*Interface) SetTransport

func (x *Interface) SetTransport(v Interface_Transport)

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) Number

func (Interface_Transport) String

func (x Interface_Transport) String() string

func (Interface_Transport) Type

type Interface_builder

type Interface_builder struct {
	Port       uint32
	Name       string
	Transport  Interface_Transport
	PublicPort uint32
	// contains filtered or unexported fields
}

func (Interface_builder) Build

func (b0 Interface_builder) Build() *Interface

type Network

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

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) SetInterfaces

func (x *Network) SetInterfaces(v []*Interface)

func (*Network) String

func (x *Network) String() string

type Network_builder

type Network_builder struct {
	Interfaces []*Interface
	// contains filtered or unexported fields
}

func (Network_builder) Build

func (b0 Network_builder) Build() *Network

Source Files

  • capsule.pb.go
  • container.pb.go
  • deployment.pb.go

Jump to

Keyboard shortcuts

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