| 452 | var xxx_messageInfo_NetworkAttachment proto.InternalMessageInfo |
| 453 | |
| 454 | type Network struct { |
| 455 | ID string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` |
| 456 | Meta Meta `protobuf:"bytes,2,opt,name=meta,proto3" json:"meta"` |
| 457 | Spec NetworkSpec `protobuf:"bytes,3,opt,name=spec,proto3" json:"spec"` |
| 458 | // Driver specific operational state provided by the network driver. |
| 459 | DriverState *Driver `protobuf:"bytes,4,opt,name=driver_state,json=driverState,proto3" json:"driver_state,omitempty"` |
| 460 | // Runtime state of IPAM options. This may not reflect the |
| 461 | // ipam options from NetworkSpec. |
| 462 | IPAM *IPAMOptions `protobuf:"bytes,5,opt,name=ipam,proto3" json:"ipam,omitempty"` |
| 463 | // PendingDelete indicates that this network's deletion has been requested. |
| 464 | // Services, as well as all service-level resources, can only be deleted |
| 465 | // after all the service's containers have properly shut down |
| 466 | // when a user requests a deletion, we just flip this flag |
| 467 | // the deallocator will take it from there |
| 468 | // PendingDelete indicates that this network's deletion has been requested. |
| 469 | // Services, as well as all service-level resources, can only be deleted |
| 470 | // after all of the service's containers have properly shut down. |
| 471 | // When a user requests a deletion of this network, we just flip this flag |
| 472 | // the deallocator will take it from there - it will start monitoring |
| 473 | // the services that still use this service, and proceed to delete |
| 474 | // this network when all of these services are gone |
| 475 | PendingDelete bool `protobuf:"varint,6,opt,name=pending_delete,json=pendingDelete,proto3" json:"pending_delete,omitempty"` |
| 476 | // Extra encodes application-specific information about the live state |
| 477 | // of the network. The syntax and semantics of the value are dictated by |
| 478 | // the network allocator implementation. |
| 479 | Extra *types.Any `protobuf:"bytes,7,opt,name=extra,proto3" json:"extra,omitempty"` |
| 480 | } |
| 481 | |
| 482 | func (m *Network) Reset() { *m = Network{} } |
| 483 | func (*Network) ProtoMessage() {} |
nothing calls this directly
no outgoing calls
no test coverage detected