{"modulePath":"github.com/cloudfoundry/copilot","version":"v0.0.0-20190805213701-993a85bcdc3a","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package api\n\n## Functions\n\n```go\nfunc RegisterCloudControllerCopilotServer(s *grpc.Server, srv CloudControllerCopilotServer)\n```\n\n```go\nfunc RegisterVIPResolverCopilotServer(s *grpc.Server, srv VIPResolverCopilotServer)\n```\n\n## Types\n\n```go\ntype BulkSyncRequest struct {\n\tRouteMappings                []*RouteMapping                `protobuf:\"bytes,1,rep,name=route_mappings,json=routeMappings,proto3\" json:\"route_mappings,omitempty\"`\n\tRoutes                       []*Route                       `protobuf:\"bytes,2,rep,name=routes,proto3\" json:\"routes,omitempty\"`\n\tCapiDiegoProcessAssociations []*CapiDiegoProcessAssociation `protobuf:\"bytes,3,rep,name=capi_diego_process_associations,json=capiDiegoProcessAssociations,proto3\" json:\"capi_diego_process_associations,omitempty\"`\n\tXXX_NoUnkeyedLiteral         struct{}                       `json:\"-\"`\n\tXXX_unrecognized             []byte                         `json:\"-\"`\n\tXXX_sizecache                int32                          `json:\"-\"`\n}\n```\n\n```go\nfunc (*BulkSyncRequest) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *BulkSyncRequest) GetCapiDiegoProcessAssociations() []*CapiDiegoProcessAssociation\n```\n\n```go\nfunc (m *BulkSyncRequest) GetRouteMappings() []*RouteMapping\n```\n\n```go\nfunc (m *BulkSyncRequest) GetRoutes() []*Route\n```\n\n```go\nfunc (*BulkSyncRequest) ProtoMessage()\n```\n\n```go\nfunc (m *BulkSyncRequest) Reset()\n```\n\n```go\nfunc (m *BulkSyncRequest) String() string\n```\n\n```go\nfunc (m *BulkSyncRequest) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *BulkSyncRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *BulkSyncRequest) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *BulkSyncRequest) XXX_Size() int\n```\n\n```go\nfunc (m *BulkSyncRequest) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype BulkSyncRequestChunk struct {\n\tChunk                []byte   `protobuf:\"bytes,1,opt,name=chunk,proto3\" json:\"chunk,omitempty\"`\n\tXXX_NoUnkeyedLiteral struct{} `json:\"-\"`\n\tXXX_unrecognized     []byte   `json:\"-\"`\n\tXXX_sizecache        int32    `json:\"-\"`\n}\n```\n\n```go\nfunc (*BulkSyncRequestChunk) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *BulkSyncRequestChunk) GetChunk() []byte\n```\n\n```go\nfunc (*BulkSyncRequestChunk) ProtoMessage()\n```\n\n```go\nfunc (m *BulkSyncRequestChunk) Reset()\n```\n\n```go\nfunc (m *BulkSyncRequestChunk) String() string\n```\n\n```go\nfunc (m *BulkSyncRequestChunk) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *BulkSyncRequestChunk) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *BulkSyncRequestChunk) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *BulkSyncRequestChunk) XXX_Size() int\n```\n\n```go\nfunc (m *BulkSyncRequestChunk) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype BulkSyncResponse struct {\n\tTotalBytesReceived   int32    `protobuf:\"varint,1,opt,name=total_bytes_received,json=totalBytesReceived,proto3\" json:\"total_bytes_received,omitempty\"`\n\tXXX_NoUnkeyedLiteral struct{} `json:\"-\"`\n\tXXX_unrecognized     []byte   `json:\"-\"`\n\tXXX_sizecache        int32    `json:\"-\"`\n}\n```\n\n```go\nfunc (*BulkSyncResponse) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *BulkSyncResponse) GetTotalBytesReceived() int32\n```\n\n```go\nfunc (*BulkSyncResponse) ProtoMessage()\n```\n\n```go\nfunc (m *BulkSyncResponse) Reset()\n```\n\n```go\nfunc (m *BulkSyncResponse) String() string\n```\n\n```go\nfunc (m *BulkSyncResponse) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *BulkSyncResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *BulkSyncResponse) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *BulkSyncResponse) XXX_Size() int\n```\n\n```go\nfunc (m *BulkSyncResponse) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype CapiDiegoProcessAssociation struct {\n\tCapiProcessGuid      string   `protobuf:\"bytes,1,opt,name=capi_process_guid,json=capiProcessGuid,proto3\" json:\"capi_process_guid,omitempty\"`\n\tDiegoProcessGuids    []string `protobuf:\"bytes,2,rep,name=diego_process_guids,json=diegoProcessGuids,proto3\" json:\"diego_process_guids,omitempty\"`\n\tXXX_NoUnkeyedLiteral struct{} `json:\"-\"`\n\tXXX_unrecognized     []byte   `json:\"-\"`\n\tXXX_sizecache        int32    `json:\"-\"`\n}\n```\n\n```go\nfunc (*CapiDiegoProcessAssociation) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *CapiDiegoProcessAssociation) GetCapiProcessGuid() string\n```\n\n```go\nfunc (m *CapiDiegoProcessAssociation) GetDiegoProcessGuids() []string\n```\n\n```go\nfunc (*CapiDiegoProcessAssociation) ProtoMessage()\n```\n\n```go\nfunc (m *CapiDiegoProcessAssociation) Reset()\n```\n\n```go\nfunc (m *CapiDiegoProcessAssociation) String() string\n```\n\n```go\nfunc (m *CapiDiegoProcessAssociation) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *CapiDiegoProcessAssociation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *CapiDiegoProcessAssociation) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *CapiDiegoProcessAssociation) XXX_Size() int\n```\n\n```go\nfunc (m *CapiDiegoProcessAssociation) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype CloudControllerCopilotClient interface {\n\tListCfRoutes(ctx context.Context, in *ListCfRoutesRequest, opts ...grpc.CallOption) (*ListCfRoutesResponse, error)\n\tListCfRouteMappings(ctx context.Context, in *ListCfRouteMappingsRequest, opts ...grpc.CallOption) (*ListCfRouteMappingsResponse, error)\n\tListCapiDiegoProcessAssociations(ctx context.Context, in *ListCapiDiegoProcessAssociationsRequest, opts ...grpc.CallOption) (*ListCapiDiegoProcessAssociationsResponse, error)\n\tUpsertRoute(ctx context.Context, in *UpsertRouteRequest, opts ...grpc.CallOption) (*UpsertRouteResponse, error)\n\tDeleteRoute(ctx context.Context, in *DeleteRouteRequest, opts ...grpc.CallOption) (*DeleteRouteResponse, error)\n\tMapRoute(ctx context.Context, in *MapRouteRequest, opts ...grpc.CallOption) (*MapRouteResponse, error)\n\tUnmapRoute(ctx context.Context, in *UnmapRouteRequest, opts ...grpc.CallOption) (*UnmapRouteResponse, error)\n\tUpsertCapiDiegoProcessAssociation(ctx context.Context, in *UpsertCapiDiegoProcessAssociationRequest, opts ...grpc.CallOption) (*UpsertCapiDiegoProcessAssociationResponse, error)\n\tDeleteCapiDiegoProcessAssociation(ctx context.Context, in *DeleteCapiDiegoProcessAssociationRequest, opts ...grpc.CallOption) (*DeleteCapiDiegoProcessAssociationResponse, error)\n\tBulkSync(ctx context.Context, opts ...grpc.CallOption) (CloudControllerCopilot_BulkSyncClient, error)\n\tHealth(ctx context.Context, in *HealthRequest, opts ...grpc.CallOption) (*HealthResponse, error)\n}\n```\nCloudControllerCopilotClient is the client API for CloudControllerCopilot service.\n\nFor semantics around ctx use and closing/ending streaming RPCs, please refer to [https://godoc.org/google.golang.org/grpc#ClientConn.NewStream](https://godoc.org/google.golang.org/grpc#ClientConn.NewStream).\n\n```go\nfunc NewCloudControllerCopilotClient(cc *grpc.ClientConn) CloudControllerCopilotClient\n```\n\n```go\ntype CloudControllerCopilotServer interface {\n\tListCfRoutes(context.Context, *ListCfRoutesRequest) (*ListCfRoutesResponse, error)\n\tListCfRouteMappings(context.Context, *ListCfRouteMappingsRequest) (*ListCfRouteMappingsResponse, error)\n\tListCapiDiegoProcessAssociations(context.Context, *ListCapiDiegoProcessAssociationsRequest) (*ListCapiDiegoProcessAssociationsResponse, error)\n\tUpsertRoute(context.Context, *UpsertRouteRequest) (*UpsertRouteResponse, error)\n\tDeleteRoute(context.Context, *DeleteRouteRequest) (*DeleteRouteResponse, error)\n\tMapRoute(context.Context, *MapRouteRequest) (*MapRouteResponse, error)\n\tUnmapRoute(context.Context, *UnmapRouteRequest) (*UnmapRouteResponse, error)\n\tUpsertCapiDiegoProcessAssociation(context.Context, *UpsertCapiDiegoProcessAssociationRequest) (*UpsertCapiDiegoProcessAssociationResponse, error)\n\tDeleteCapiDiegoProcessAssociation(context.Context, *DeleteCapiDiegoProcessAssociationRequest) (*DeleteCapiDiegoProcessAssociationResponse, error)\n\tBulkSync(CloudControllerCopilot_BulkSyncServer) error\n\tHealth(context.Context, *HealthRequest) (*HealthResponse, error)\n}\n```\nCloudControllerCopilotServer is the server API for CloudControllerCopilot service.\n\n```go\ntype CloudControllerCopilot_BulkSyncClient interface {\n\tSend(*BulkSyncRequestChunk) error\n\tCloseAndRecv() (*BulkSyncResponse, error)\n\tgrpc.ClientStream\n}\n```\n\n```go\ntype CloudControllerCopilot_BulkSyncServer interface {\n\tSendAndClose(*BulkSyncResponse) error\n\tRecv() (*BulkSyncRequestChunk, error)\n\tgrpc.ServerStream\n}\n```\n\n```go\ntype DeleteCapiDiegoProcessAssociationRequest struct {\n\tCapiProcessGuid      string   `protobuf:\"bytes,1,opt,name=capi_process_guid,json=capiProcessGuid,proto3\" json:\"capi_process_guid,omitempty\"`\n\tXXX_NoUnkeyedLiteral struct{} `json:\"-\"`\n\tXXX_unrecognized     []byte   `json:\"-\"`\n\tXXX_sizecache        int32    `json:\"-\"`\n}\n```\n\n```go\nfunc (*DeleteCapiDiegoProcessAssociationRequest) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *DeleteCapiDiegoProcessAssociationRequest) GetCapiProcessGuid() string\n```\n\n```go\nfunc (*DeleteCapiDiegoProcessAssociationRequest) ProtoMessage()\n```\n\n```go\nfunc (m *DeleteCapiDiegoProcessAssociationRequest) Reset()\n```\n\n```go\nfunc (m *DeleteCapiDiegoProcessAssociationRequest) String() string\n```\n\n```go\nfunc (m *DeleteCapiDiegoProcessAssociationRequest) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *DeleteCapiDiegoProcessAssociationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *DeleteCapiDiegoProcessAssociationRequest) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *DeleteCapiDiegoProcessAssociationRequest) XXX_Size() int\n```\n\n```go\nfunc (m *DeleteCapiDiegoProcessAssociationRequest) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype DeleteCapiDiegoProcessAssociationResponse struct {\n\tXXX_NoUnkeyedLiteral struct{} `json:\"-\"`\n\tXXX_unrecognized     []byte   `json:\"-\"`\n\tXXX_sizecache        int32    `json:\"-\"`\n}\n```\n\n```go\nfunc (*DeleteCapiDiegoProcessAssociationResponse) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (*DeleteCapiDiegoProcessAssociationResponse) ProtoMessage()\n```\n\n```go\nfunc (m *DeleteCapiDiegoProcessAssociationResponse) Reset()\n```\n\n```go\nfunc (m *DeleteCapiDiegoProcessAssociationResponse) String() string\n```\n\n```go\nfunc (m *DeleteCapiDiegoProcessAssociationResponse) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *DeleteCapiDiegoProcessAssociationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *DeleteCapiDiegoProcessAssociationResponse) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *DeleteCapiDiegoProcessAssociationResponse) XXX_Size() int\n```\n\n```go\nfunc (m *DeleteCapiDiegoProcessAssociationResponse) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype DeleteRouteRequest struct {\n\tGuid                 string   `protobuf:\"bytes,1,opt,name=guid,proto3\" json:\"guid,omitempty\"`\n\tXXX_NoUnkeyedLiteral struct{} `json:\"-\"`\n\tXXX_unrecognized     []byte   `json:\"-\"`\n\tXXX_sizecache        int32    `json:\"-\"`\n}\n```\n\n```go\nfunc (*DeleteRouteRequest) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *DeleteRouteRequest) GetGuid() string\n```\n\n```go\nfunc (*DeleteRouteRequest) ProtoMessage()\n```\n\n```go\nfunc (m *DeleteRouteRequest) Reset()\n```\n\n```go\nfunc (m *DeleteRouteRequest) String() string\n```\n\n```go\nfunc (m *DeleteRouteRequest) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *DeleteRouteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *DeleteRouteRequest) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *DeleteRouteRequest) XXX_Size() int\n```\n\n```go\nfunc (m *DeleteRouteRequest) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype DeleteRouteResponse struct {\n\tXXX_NoUnkeyedLiteral struct{} `json:\"-\"`\n\tXXX_unrecognized     []byte   `json:\"-\"`\n\tXXX_sizecache        int32    `json:\"-\"`\n}\n```\n\n```go\nfunc (*DeleteRouteResponse) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (*DeleteRouteResponse) ProtoMessage()\n```\n\n```go\nfunc (m *DeleteRouteResponse) Reset()\n```\n\n```go\nfunc (m *DeleteRouteResponse) String() string\n```\n\n```go\nfunc (m *DeleteRouteResponse) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *DeleteRouteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *DeleteRouteResponse) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *DeleteRouteResponse) XXX_Size() int\n```\n\n```go\nfunc (m *DeleteRouteResponse) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype DiegoProcessGuids struct {\n\tDiegoProcessGuids    []string `protobuf:\"bytes,1,rep,name=diego_process_guids,json=diegoProcessGuids,proto3\" json:\"diego_process_guids,omitempty\"`\n\tXXX_NoUnkeyedLiteral struct{} `json:\"-\"`\n\tXXX_unrecognized     []byte   `json:\"-\"`\n\tXXX_sizecache        int32    `json:\"-\"`\n}\n```\nthis is only for ListCapiDiegoProcessAssociationsResponse, since protobuf does not support list values in maps. it's gross. try not to use it.\n\n```go\nfunc (*DiegoProcessGuids) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *DiegoProcessGuids) GetDiegoProcessGuids() []string\n```\n\n```go\nfunc (*DiegoProcessGuids) ProtoMessage()\n```\n\n```go\nfunc (m *DiegoProcessGuids) Reset()\n```\n\n```go\nfunc (m *DiegoProcessGuids) String() string\n```\n\n```go\nfunc (m *DiegoProcessGuids) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *DiegoProcessGuids) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *DiegoProcessGuids) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *DiegoProcessGuids) XXX_Size() int\n```\n\n```go\nfunc (m *DiegoProcessGuids) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype GetVIPByNameRequest struct {\n\tFqdn                 string   `protobuf:\"bytes,1,opt,name=fqdn,proto3\" json:\"fqdn,omitempty\"`\n\tXXX_NoUnkeyedLiteral struct{} `json:\"-\"`\n\tXXX_unrecognized     []byte   `json:\"-\"`\n\tXXX_sizecache        int32    `json:\"-\"`\n}\n```\n\n```go\nfunc (*GetVIPByNameRequest) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *GetVIPByNameRequest) GetFqdn() string\n```\n\n```go\nfunc (*GetVIPByNameRequest) ProtoMessage()\n```\n\n```go\nfunc (m *GetVIPByNameRequest) Reset()\n```\n\n```go\nfunc (m *GetVIPByNameRequest) String() string\n```\n\n```go\nfunc (m *GetVIPByNameRequest) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *GetVIPByNameRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *GetVIPByNameRequest) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *GetVIPByNameRequest) XXX_Size() int\n```\n\n```go\nfunc (m *GetVIPByNameRequest) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype GetVIPByNameResponse struct {\n\tIp                   string   `protobuf:\"bytes,1,opt,name=ip,proto3\" json:\"ip,omitempty\"`\n\tXXX_NoUnkeyedLiteral struct{} `json:\"-\"`\n\tXXX_unrecognized     []byte   `json:\"-\"`\n\tXXX_sizecache        int32    `json:\"-\"`\n}\n```\n\n```go\nfunc (*GetVIPByNameResponse) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *GetVIPByNameResponse) GetIp() string\n```\n\n```go\nfunc (*GetVIPByNameResponse) ProtoMessage()\n```\n\n```go\nfunc (m *GetVIPByNameResponse) Reset()\n```\n\n```go\nfunc (m *GetVIPByNameResponse) String() string\n```\n\n```go\nfunc (m *GetVIPByNameResponse) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *GetVIPByNameResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *GetVIPByNameResponse) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *GetVIPByNameResponse) XXX_Size() int\n```\n\n```go\nfunc (m *GetVIPByNameResponse) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype HealthRequest struct {\n\tXXX_NoUnkeyedLiteral struct{} `json:\"-\"`\n\tXXX_unrecognized     []byte   `json:\"-\"`\n\tXXX_sizecache        int32    `json:\"-\"`\n}\n```\n\n```go\nfunc (*HealthRequest) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (*HealthRequest) ProtoMessage()\n```\n\n```go\nfunc (m *HealthRequest) Reset()\n```\n\n```go\nfunc (m *HealthRequest) String() string\n```\n\n```go\nfunc (m *HealthRequest) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *HealthRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *HealthRequest) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *HealthRequest) XXX_Size() int\n```\n\n```go\nfunc (m *HealthRequest) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype HealthResponse struct {\n\tHealthy              bool     `protobuf:\"varint,1,opt,name=healthy,proto3\" json:\"healthy,omitempty\"`\n\tXXX_NoUnkeyedLiteral struct{} `json:\"-\"`\n\tXXX_unrecognized     []byte   `json:\"-\"`\n\tXXX_sizecache        int32    `json:\"-\"`\n}\n```\n\n```go\nfunc (*HealthResponse) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *HealthResponse) GetHealthy() bool\n```\n\n```go\nfunc (*HealthResponse) ProtoMessage()\n```\n\n```go\nfunc (m *HealthResponse) Reset()\n```\n\n```go\nfunc (m *HealthResponse) String() string\n```\n\n```go\nfunc (m *HealthResponse) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *HealthResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *HealthResponse) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *HealthResponse) XXX_Size() int\n```\n\n```go\nfunc (m *HealthResponse) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype ListCapiDiegoProcessAssociationsRequest struct {\n\tXXX_NoUnkeyedLiteral struct{} `json:\"-\"`\n\tXXX_unrecognized     []byte   `json:\"-\"`\n\tXXX_sizecache        int32    `json:\"-\"`\n}\n```\n\n```go\nfunc (*ListCapiDiegoProcessAssociationsRequest) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (*ListCapiDiegoProcessAssociationsRequest) ProtoMessage()\n```\n\n```go\nfunc (m *ListCapiDiegoProcessAssociationsRequest) Reset()\n```\n\n```go\nfunc (m *ListCapiDiegoProcessAssociationsRequest) String() string\n```\n\n```go\nfunc (m *ListCapiDiegoProcessAssociationsRequest) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *ListCapiDiegoProcessAssociationsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *ListCapiDiegoProcessAssociationsRequest) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *ListCapiDiegoProcessAssociationsRequest) XXX_Size() int\n```\n\n```go\nfunc (m *ListCapiDiegoProcessAssociationsRequest) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype ListCapiDiegoProcessAssociationsResponse struct {\n\t// key is capi process guid\n\t// value is a list of diego process guids\n\tCapiDiegoProcessAssociations map[string]*DiegoProcessGuids `protobuf:\"bytes,1,rep,name=capi_diego_process_associations,json=capiDiegoProcessAssociations,proto3\" json:\"capi_diego_process_associations,omitempty\" protobuf_key:\"bytes,1,opt,name=key,proto3\" protobuf_val:\"bytes,2,opt,name=value,proto3\"`\n\tXXX_NoUnkeyedLiteral         struct{}                      `json:\"-\"`\n\tXXX_unrecognized             []byte                        `json:\"-\"`\n\tXXX_sizecache                int32                         `json:\"-\"`\n}\n```\n\n```go\nfunc (*ListCapiDiegoProcessAssociationsResponse) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *ListCapiDiegoProcessAssociationsResponse) GetCapiDiegoProcessAssociations() map[string]*DiegoProcessGuids\n```\n\n```go\nfunc (*ListCapiDiegoProcessAssociationsResponse) ProtoMessage()\n```\n\n```go\nfunc (m *ListCapiDiegoProcessAssociationsResponse) Reset()\n```\n\n```go\nfunc (m *ListCapiDiegoProcessAssociationsResponse) String() string\n```\n\n```go\nfunc (m *ListCapiDiegoProcessAssociationsResponse) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *ListCapiDiegoProcessAssociationsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *ListCapiDiegoProcessAssociationsResponse) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *ListCapiDiegoProcessAssociationsResponse) XXX_Size() int\n```\n\n```go\nfunc (m *ListCapiDiegoProcessAssociationsResponse) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype ListCfRouteMappingsRequest struct {\n\tXXX_NoUnkeyedLiteral struct{} `json:\"-\"`\n\tXXX_unrecognized     []byte   `json:\"-\"`\n\tXXX_sizecache        int32    `json:\"-\"`\n}\n```\n\n```go\nfunc (*ListCfRouteMappingsRequest) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (*ListCfRouteMappingsRequest) ProtoMessage()\n```\n\n```go\nfunc (m *ListCfRouteMappingsRequest) Reset()\n```\n\n```go\nfunc (m *ListCfRouteMappingsRequest) String() string\n```\n\n```go\nfunc (m *ListCfRouteMappingsRequest) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *ListCfRouteMappingsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *ListCfRouteMappingsRequest) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *ListCfRouteMappingsRequest) XXX_Size() int\n```\n\n```go\nfunc (m *ListCfRouteMappingsRequest) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype ListCfRouteMappingsResponse struct {\n\t// key is '\u003croute guid\u003e-\u003ccapi process guid\u003e'\n\t// value is a route_mapping\n\tRouteMappings        map[string]*RouteMapping `protobuf:\"bytes,1,rep,name=route_mappings,json=routeMappings,proto3\" json:\"route_mappings,omitempty\" protobuf_key:\"bytes,1,opt,name=key,proto3\" protobuf_val:\"bytes,2,opt,name=value,proto3\"`\n\tXXX_NoUnkeyedLiteral struct{}                 `json:\"-\"`\n\tXXX_unrecognized     []byte                   `json:\"-\"`\n\tXXX_sizecache        int32                    `json:\"-\"`\n}\n```\n\n```go\nfunc (*ListCfRouteMappingsResponse) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *ListCfRouteMappingsResponse) GetRouteMappings() map[string]*RouteMapping\n```\n\n```go\nfunc (*ListCfRouteMappingsResponse) ProtoMessage()\n```\n\n```go\nfunc (m *ListCfRouteMappingsResponse) Reset()\n```\n\n```go\nfunc (m *ListCfRouteMappingsResponse) String() string\n```\n\n```go\nfunc (m *ListCfRouteMappingsResponse) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *ListCfRouteMappingsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *ListCfRouteMappingsResponse) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *ListCfRouteMappingsResponse) XXX_Size() int\n```\n\n```go\nfunc (m *ListCfRouteMappingsResponse) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype ListCfRoutesRequest struct {\n\tXXX_NoUnkeyedLiteral struct{} `json:\"-\"`\n\tXXX_unrecognized     []byte   `json:\"-\"`\n\tXXX_sizecache        int32    `json:\"-\"`\n}\n```\n\n```go\nfunc (*ListCfRoutesRequest) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (*ListCfRoutesRequest) ProtoMessage()\n```\n\n```go\nfunc (m *ListCfRoutesRequest) Reset()\n```\n\n```go\nfunc (m *ListCfRoutesRequest) String() string\n```\n\n```go\nfunc (m *ListCfRoutesRequest) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *ListCfRoutesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *ListCfRoutesRequest) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *ListCfRoutesRequest) XXX_Size() int\n```\n\n```go\nfunc (m *ListCfRoutesRequest) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype ListCfRoutesResponse struct {\n\t// key is route guid\n\t// value is host\n\tRoutes               map[string]string `protobuf:\"bytes,1,rep,name=routes,proto3\" json:\"routes,omitempty\" protobuf_key:\"bytes,1,opt,name=key,proto3\" protobuf_val:\"bytes,2,opt,name=value,proto3\"`\n\tXXX_NoUnkeyedLiteral struct{}          `json:\"-\"`\n\tXXX_unrecognized     []byte            `json:\"-\"`\n\tXXX_sizecache        int32             `json:\"-\"`\n}\n```\n\n```go\nfunc (*ListCfRoutesResponse) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *ListCfRoutesResponse) GetRoutes() map[string]string\n```\n\n```go\nfunc (*ListCfRoutesResponse) ProtoMessage()\n```\n\n```go\nfunc (m *ListCfRoutesResponse) Reset()\n```\n\n```go\nfunc (m *ListCfRoutesResponse) String() string\n```\n\n```go\nfunc (m *ListCfRoutesResponse) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *ListCfRoutesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *ListCfRoutesResponse) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *ListCfRoutesResponse) XXX_Size() int\n```\n\n```go\nfunc (m *ListCfRoutesResponse) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype MapRouteRequest struct {\n\tRouteMapping         *RouteMapping `protobuf:\"bytes,1,opt,name=route_mapping,json=routeMapping,proto3\" json:\"route_mapping,omitempty\"`\n\tXXX_NoUnkeyedLiteral struct{}      `json:\"-\"`\n\tXXX_unrecognized     []byte        `json:\"-\"`\n\tXXX_sizecache        int32         `json:\"-\"`\n}\n```\n\n```go\nfunc (*MapRouteRequest) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *MapRouteRequest) GetRouteMapping() *RouteMapping\n```\n\n```go\nfunc (*MapRouteRequest) ProtoMessage()\n```\n\n```go\nfunc (m *MapRouteRequest) Reset()\n```\n\n```go\nfunc (m *MapRouteRequest) String() string\n```\n\n```go\nfunc (m *MapRouteRequest) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *MapRouteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *MapRouteRequest) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *MapRouteRequest) XXX_Size() int\n```\n\n```go\nfunc (m *MapRouteRequest) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype MapRouteResponse struct {\n\tXXX_NoUnkeyedLiteral struct{} `json:\"-\"`\n\tXXX_unrecognized     []byte   `json:\"-\"`\n\tXXX_sizecache        int32    `json:\"-\"`\n}\n```\n\n```go\nfunc (*MapRouteResponse) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (*MapRouteResponse) ProtoMessage()\n```\n\n```go\nfunc (m *MapRouteResponse) Reset()\n```\n\n```go\nfunc (m *MapRouteResponse) String() string\n```\n\n```go\nfunc (m *MapRouteResponse) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *MapRouteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *MapRouteResponse) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *MapRouteResponse) XXX_Size() int\n```\n\n```go\nfunc (m *MapRouteResponse) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype Route struct {\n\tGuid                 string   `protobuf:\"bytes,1,opt,name=guid,proto3\" json:\"guid,omitempty\"`\n\tHost                 string   `protobuf:\"bytes,2,opt,name=host,proto3\" json:\"host,omitempty\"`\n\tPath                 string   `protobuf:\"bytes,3,opt,name=path,proto3\" json:\"path,omitempty\"`\n\tInternal             bool     `protobuf:\"varint,4,opt,name=internal,proto3\" json:\"internal,omitempty\"`\n\tVip                  string   `protobuf:\"bytes,5,opt,name=vip,proto3\" json:\"vip,omitempty\"`\n\tXXX_NoUnkeyedLiteral struct{} `json:\"-\"`\n\tXXX_unrecognized     []byte   `json:\"-\"`\n\tXXX_sizecache        int32    `json:\"-\"`\n}\n```\n\n```go\nfunc (*Route) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *Route) GetGuid() string\n```\n\n```go\nfunc (m *Route) GetHost() string\n```\n\n```go\nfunc (m *Route) GetInternal() bool\n```\n\n```go\nfunc (m *Route) GetPath() string\n```\n\n```go\nfunc (m *Route) GetVip() string\n```\n\n```go\nfunc (*Route) ProtoMessage()\n```\n\n```go\nfunc (m *Route) Reset()\n```\n\n```go\nfunc (m *Route) String() string\n```\n\n```go\nfunc (m *Route) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *Route) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *Route) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *Route) XXX_Size() int\n```\n\n```go\nfunc (m *Route) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype RouteMapping struct {\n\tCapiProcessGuid      string   `protobuf:\"bytes,1,opt,name=capi_process_guid,json=capiProcessGuid,proto3\" json:\"capi_process_guid,omitempty\"`\n\tRouteGuid            string   `protobuf:\"bytes,2,opt,name=route_guid,json=routeGuid,proto3\" json:\"route_guid,omitempty\"`\n\tRouteWeight          uint32   `protobuf:\"varint,3,opt,name=route_weight,json=routeWeight,proto3\" json:\"route_weight,omitempty\"`\n\tXXX_NoUnkeyedLiteral struct{} `json:\"-\"`\n\tXXX_unrecognized     []byte   `json:\"-\"`\n\tXXX_sizecache        int32    `json:\"-\"`\n}\n```\n\n```go\nfunc (*RouteMapping) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *RouteMapping) GetCapiProcessGuid() string\n```\n\n```go\nfunc (m *RouteMapping) GetRouteGuid() string\n```\n\n```go\nfunc (m *RouteMapping) GetRouteWeight() uint32\n```\n\n```go\nfunc (*RouteMapping) ProtoMessage()\n```\n\n```go\nfunc (m *RouteMapping) Reset()\n```\n\n```go\nfunc (m *RouteMapping) String() string\n```\n\n```go\nfunc (m *RouteMapping) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *RouteMapping) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *RouteMapping) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *RouteMapping) XXX_Size() int\n```\n\n```go\nfunc (m *RouteMapping) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype UnmapRouteRequest struct {\n\tRouteMapping         *RouteMapping `protobuf:\"bytes,1,opt,name=route_mapping,json=routeMapping,proto3\" json:\"route_mapping,omitempty\"`\n\tXXX_NoUnkeyedLiteral struct{}      `json:\"-\"`\n\tXXX_unrecognized     []byte        `json:\"-\"`\n\tXXX_sizecache        int32         `json:\"-\"`\n}\n```\n\n```go\nfunc (*UnmapRouteRequest) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *UnmapRouteRequest) GetRouteMapping() *RouteMapping\n```\n\n```go\nfunc (*UnmapRouteRequest) ProtoMessage()\n```\n\n```go\nfunc (m *UnmapRouteRequest) Reset()\n```\n\n```go\nfunc (m *UnmapRouteRequest) String() string\n```\n\n```go\nfunc (m *UnmapRouteRequest) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *UnmapRouteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *UnmapRouteRequest) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *UnmapRouteRequest) XXX_Size() int\n```\n\n```go\nfunc (m *UnmapRouteRequest) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype UnmapRouteResponse struct {\n\tXXX_NoUnkeyedLiteral struct{} `json:\"-\"`\n\tXXX_unrecognized     []byte   `json:\"-\"`\n\tXXX_sizecache        int32    `json:\"-\"`\n}\n```\n\n```go\nfunc (*UnmapRouteResponse) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (*UnmapRouteResponse) ProtoMessage()\n```\n\n```go\nfunc (m *UnmapRouteResponse) Reset()\n```\n\n```go\nfunc (m *UnmapRouteResponse) String() string\n```\n\n```go\nfunc (m *UnmapRouteResponse) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *UnmapRouteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *UnmapRouteResponse) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *UnmapRouteResponse) XXX_Size() int\n```\n\n```go\nfunc (m *UnmapRouteResponse) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype UpsertCapiDiegoProcessAssociationRequest struct {\n\tCapiDiegoProcessAssociation *CapiDiegoProcessAssociation `protobuf:\"bytes,1,opt,name=capi_diego_process_association,json=capiDiegoProcessAssociation,proto3\" json:\"capi_diego_process_association,omitempty\"`\n\tXXX_NoUnkeyedLiteral        struct{}                     `json:\"-\"`\n\tXXX_unrecognized            []byte                       `json:\"-\"`\n\tXXX_sizecache               int32                        `json:\"-\"`\n}\n```\n\n```go\nfunc (*UpsertCapiDiegoProcessAssociationRequest) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *UpsertCapiDiegoProcessAssociationRequest) GetCapiDiegoProcessAssociation() *CapiDiegoProcessAssociation\n```\n\n```go\nfunc (*UpsertCapiDiegoProcessAssociationRequest) ProtoMessage()\n```\n\n```go\nfunc (m *UpsertCapiDiegoProcessAssociationRequest) Reset()\n```\n\n```go\nfunc (m *UpsertCapiDiegoProcessAssociationRequest) String() string\n```\n\n```go\nfunc (m *UpsertCapiDiegoProcessAssociationRequest) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *UpsertCapiDiegoProcessAssociationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *UpsertCapiDiegoProcessAssociationRequest) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *UpsertCapiDiegoProcessAssociationRequest) XXX_Size() int\n```\n\n```go\nfunc (m *UpsertCapiDiegoProcessAssociationRequest) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype UpsertCapiDiegoProcessAssociationResponse struct {\n\tXXX_NoUnkeyedLiteral struct{} `json:\"-\"`\n\tXXX_unrecognized     []byte   `json:\"-\"`\n\tXXX_sizecache        int32    `json:\"-\"`\n}\n```\n\n```go\nfunc (*UpsertCapiDiegoProcessAssociationResponse) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (*UpsertCapiDiegoProcessAssociationResponse) ProtoMessage()\n```\n\n```go\nfunc (m *UpsertCapiDiegoProcessAssociationResponse) Reset()\n```\n\n```go\nfunc (m *UpsertCapiDiegoProcessAssociationResponse) String() string\n```\n\n```go\nfunc (m *UpsertCapiDiegoProcessAssociationResponse) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *UpsertCapiDiegoProcessAssociationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *UpsertCapiDiegoProcessAssociationResponse) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *UpsertCapiDiegoProcessAssociationResponse) XXX_Size() int\n```\n\n```go\nfunc (m *UpsertCapiDiegoProcessAssociationResponse) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype UpsertRouteRequest struct {\n\tRoute                *Route   `protobuf:\"bytes,1,opt,name=route,proto3\" json:\"route,omitempty\"`\n\tXXX_NoUnkeyedLiteral struct{} `json:\"-\"`\n\tXXX_unrecognized     []byte   `json:\"-\"`\n\tXXX_sizecache        int32    `json:\"-\"`\n}\n```\n\n```go\nfunc (*UpsertRouteRequest) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *UpsertRouteRequest) GetRoute() *Route\n```\n\n```go\nfunc (*UpsertRouteRequest) ProtoMessage()\n```\n\n```go\nfunc (m *UpsertRouteRequest) Reset()\n```\n\n```go\nfunc (m *UpsertRouteRequest) String() string\n```\n\n```go\nfunc (m *UpsertRouteRequest) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *UpsertRouteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *UpsertRouteRequest) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *UpsertRouteRequest) XXX_Size() int\n```\n\n```go\nfunc (m *UpsertRouteRequest) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype UpsertRouteResponse struct {\n\tXXX_NoUnkeyedLiteral struct{} `json:\"-\"`\n\tXXX_unrecognized     []byte   `json:\"-\"`\n\tXXX_sizecache        int32    `json:\"-\"`\n}\n```\n\n```go\nfunc (*UpsertRouteResponse) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (*UpsertRouteResponse) ProtoMessage()\n```\n\n```go\nfunc (m *UpsertRouteResponse) Reset()\n```\n\n```go\nfunc (m *UpsertRouteResponse) String() string\n```\n\n```go\nfunc (m *UpsertRouteResponse) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *UpsertRouteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *UpsertRouteResponse) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *UpsertRouteResponse) XXX_Size() int\n```\n\n```go\nfunc (m *UpsertRouteResponse) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype VIPResolverCopilotClient interface {\n\tGetVIPByName(ctx context.Context, in *GetVIPByNameRequest, opts ...grpc.CallOption) (*GetVIPByNameResponse, error)\n\tHealth(ctx context.Context, in *HealthRequest, opts ...grpc.CallOption) (*HealthResponse, error)\n}\n```\nVIPResolverCopilotClient is the client API for VIPResolverCopilot service.\n\nFor semantics around ctx use and closing/ending streaming RPCs, please refer to [https://godoc.org/google.golang.org/grpc#ClientConn.NewStream](https://godoc.org/google.golang.org/grpc#ClientConn.NewStream).\n\n```go\nfunc NewVIPResolverCopilotClient(cc *grpc.ClientConn) VIPResolverCopilotClient\n```\n\n```go\ntype VIPResolverCopilotServer interface {\n\tGetVIPByName(context.Context, *GetVIPByNameRequest) (*GetVIPByNameResponse, error)\n\tHealth(context.Context, *HealthRequest) (*HealthResponse, error)\n}\n```\nVIPResolverCopilotServer is the server API for VIPResolverCopilot service.\n\n","path":"github.com/cloudfoundry/copilot/api","name":"api","synopsis":"","isRedistributable":true}
