pub struct FleetSpec {
pub replicas: Option<i64>,
pub scheduling: Option<FleetScheduling>,
pub strategy: Option<FleetStrategy>,
pub template: GameServerTemplateSpec,
}
Expand description
FleetSpec is the spec for a Fleet. More info: https://agones.dev/site/docs/reference/agones_crd_api_reference/#agones.dev/v1.Fleet Fleet CRD mostly autogenerated with https://github.com/kube-rs/kopium
Fields
replicas: Option<i64>
scheduling: Option<FleetScheduling>
strategy: Option<FleetStrategy>
template: GameServerTemplateSpec
GameServer is the data structure for a GameServer resource.
Trait Implementations
sourceimpl<'de> Deserialize<'de> for FleetSpec
impl<'de> Deserialize<'de> for FleetSpec
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 FleetSpec
impl JsonSchema for FleetSpec
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 moreAuto Trait Implementations
impl RefUnwindSafe for FleetSpec
impl Send for FleetSpec
impl Sync for FleetSpec
impl Unpin for FleetSpec
impl UnwindSafe for FleetSpec
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