pub struct GameServerSpec {
pub container: Option<String>,
pub ports: Vec<GameServerPort>,
pub health: Health,
pub scheduling: SchedulingStrategy,
pub sdk_server: SdkServer,
pub template: PodTemplateSpec,
}
Fields
container: Option<String>
Container specifies which Pod container is the game server. Only required if there is more than one container defined.
ports: Vec<GameServerPort>
Ports are the array of ports that can be exposed via the game server
health: Health
Configures health checking
scheduling: SchedulingStrategy
Scheduling strategy. Defaults to “Packed”
sdk_server: SdkServer
Specifies parameters for the Agones SDK Server sidecar container.
template: PodTemplateSpec
Describes the Pod that will be created for the GameServer
.
Trait Implementations
sourceimpl Clone for GameServerSpec
impl Clone for GameServerSpec
sourcefn clone(&self) -> GameServerSpec
fn clone(&self) -> GameServerSpec
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for GameServerSpec
impl Debug for GameServerSpec
sourceimpl Default for GameServerSpec
impl Default for GameServerSpec
sourceimpl<'de> Deserialize<'de> for GameServerSpec
impl<'de> Deserialize<'de> for GameServerSpec
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl JsonSchema for GameServerSpec
impl JsonSchema for GameServerSpec
sourcefn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
sourcefn json_schema(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref
keyword. Read moresourceimpl Serialize for GameServerSpec
impl Serialize for GameServerSpec
Auto Trait Implementations
impl RefUnwindSafe for GameServerSpec
impl Send for GameServerSpec
impl Sync for GameServerSpec
impl Unpin for GameServerSpec
impl UnwindSafe for GameServerSpec
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
sourcefn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request