Struct k8s_openapi::apiextensions_apiserver::pkg::apis::apiextensions::v1::ServiceReference [−][src]
pub struct ServiceReference {
pub name: String,
pub namespace: String,
pub path: Option<String>,
pub port: Option<i32>,
}
Expand description
ServiceReference holds a reference to Service.legacy.k8s.io
Fields
name: String
name is the name of the service. Required
namespace: String
namespace is the namespace of the service. Required
path: Option<String>
path is an optional URL path at which the webhook will be contacted.
port: Option<i32>
port is an optional service port at which the webhook will be contacted. port
should be a valid port number (1-65535, inclusive). Defaults to 443 for backward compatibility.
Trait Implementations
Returns the “default value” for a type. Read more
Deserialize this value from the given Serde deserializer. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for ServiceReference
impl Send for ServiceReference
impl Sync for ServiceReference
impl Unpin for ServiceReference
impl UnwindSafe for ServiceReference
Blanket Implementations
Mutably borrows from an owned value. Read more