Documentation
¶
Index ¶
- Variables
- type Capsule
- func (x *Capsule) ClearContainer()
- func (x *Capsule) ClearNetwork()
- func (x *Capsule) GetContainer() *Container
- func (x *Capsule) GetNetwork() *Network
- func (x *Capsule) HasContainer() bool
- func (x *Capsule) HasNetwork() bool
- func (*Capsule) ProtoMessage()
- func (x *Capsule) ProtoReflect() protoreflect.Message
- func (x *Capsule) Reset()
- func (x *Capsule) SetContainer(v *Container)
- func (x *Capsule) SetNetwork(v *Network)
- func (x *Capsule) String() string
- type Capsule_builder
- type Container
- func (x *Container) GetArgs() []string
- func (x *Container) GetCommand() string
- func (x *Container) GetEnv() map[string]string
- func (x *Container) GetImage() string
- func (*Container) ProtoMessage()
- func (x *Container) ProtoReflect() protoreflect.Message
- func (x *Container) Reset()
- func (x *Container) SetArgs(v []string)
- func (x *Container) SetCommand(v string)
- func (x *Container) SetEnv(v map[string]string)
- func (x *Container) SetImage(v string)
- func (x *Container) String() string
- type Container_builder
- type Deployment
- func (x *Deployment) ClearCapsule()
- func (x *Deployment) GetCapsule() *Capsule
- func (x *Deployment) GetReplicas() uint32
- func (x *Deployment) HasCapsule() bool
- func (*Deployment) ProtoMessage()
- func (x *Deployment) ProtoReflect() protoreflect.Message
- func (x *Deployment) Reset()
- func (x *Deployment) SetCapsule(v *Capsule)
- func (x *Deployment) SetReplicas(v uint32)
- func (x *Deployment) String() string
- type Deployment_builder
- type Interface
- func (x *Interface) GetName() string
- func (x *Interface) GetPort() uint32
- func (x *Interface) GetPublicPort() uint32
- func (x *Interface) GetTransport() Interface_Transport
- func (*Interface) ProtoMessage()
- func (x *Interface) ProtoReflect() protoreflect.Message
- func (x *Interface) Reset()
- func (x *Interface) SetName(v string)
- func (x *Interface) SetPort(v uint32)
- func (x *Interface) SetPublicPort(v uint32)
- func (x *Interface) SetTransport(v Interface_Transport)
- func (x *Interface) String() string
- type Interface_Transport
- type Interface_builder
- type Network
- type Network_builder
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) ProtoReflect ¶
func (x *Capsule) ProtoReflect() protoreflect.Message
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) ProtoReflect ¶
func (x *Container) ProtoReflect() protoreflect.Message
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) GetTransport ¶
func (x *Interface) GetTransport() Interface_Transport
func (*Interface) ProtoReflect ¶
func (x *Interface) ProtoReflect() protoreflect.Message
func (*Interface) SetTransport ¶
func (x *Interface) SetTransport(v Interface_Transport)
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) Descriptor() protoreflect.EnumDescriptor
func (Interface_Transport) Enum ¶
func (x Interface_Transport) Enum() *Interface_Transport
func (Interface_Transport) Number ¶
func (x Interface_Transport) Number() protoreflect.EnumNumber
func (Interface_Transport) String ¶
func (x Interface_Transport) String() string
func (Interface_Transport) Type ¶
func (Interface_Transport) Type() protoreflect.EnumType
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) ProtoReflect ¶
func (x *Network) ProtoReflect() protoreflect.Message
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
Click to show internal directories.
Click to hide internal directories.