Documentation ¶
Index ¶
- Variables
- func DomainServiceClientType() reflect.Type
- func DomainServiceHandlerType() reflect.Type
- func DomainServiceServerType() reflect.Type
- func RegisterDomainServiceHandler(r http.Router, srv DomainServiceHandler, opts ...http.HandleOption)
- func RegisterDomainServiceImp(regester transport.Register, srv DomainServiceServer, ...)
- func RegisterDomainServiceServer(s grpc1.ServiceRegistrar, srv DomainServiceServer, opts ...grpc1.HandleOption)
- func ServiceNames(svr ...string) []string
- func Types() []reflect.Type
- type ChangeInnerIngressRequest
- func (*ChangeInnerIngressRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ChangeInnerIngressRequest) GetClusterName() string
- func (x *ChangeInnerIngressRequest) GetComponentName() string
- func (x *ChangeInnerIngressRequest) GetComponentPort() int32
- func (x *ChangeInnerIngressRequest) GetIngressName() string
- func (x *ChangeInnerIngressRequest) GetK8SNamespace() string
- func (x *ChangeInnerIngressRequest) GetRouteOptions() *RouteOptions
- func (x *ChangeInnerIngressRequest) GetRoutes() []*IngressRoute
- func (m *ChangeInnerIngressRequest) MarshalJSON() ([]byte, error)
- func (*ChangeInnerIngressRequest) ProtoMessage()
- func (x *ChangeInnerIngressRequest) ProtoReflect() protoreflect.Message
- func (x *ChangeInnerIngressRequest) Reset()
- func (x *ChangeInnerIngressRequest) String() string
- func (m *ChangeInnerIngressRequest) UnmarshalJSON(b []byte) error
- func (m *ChangeInnerIngressRequest) UnmarshalURLValues(prefix string, values url.Values) error
- func (this *ChangeInnerIngressRequest) Validate() error
- type ChangeInnerIngressResponse
- func (*ChangeInnerIngressResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ChangeInnerIngressResponse) GetData() bool
- func (m *ChangeInnerIngressResponse) MarshalJSON() ([]byte, error)
- func (*ChangeInnerIngressResponse) ProtoMessage()
- func (x *ChangeInnerIngressResponse) ProtoReflect() protoreflect.Message
- func (x *ChangeInnerIngressResponse) Reset()
- func (x *ChangeInnerIngressResponse) String() string
- func (m *ChangeInnerIngressResponse) UnmarshalJSON(b []byte) error
- func (m *ChangeInnerIngressResponse) UnmarshalURLValues(prefix string, values url.Values) error
- func (this *ChangeInnerIngressResponse) Validate() error
- type ChangeRuntimeDomainsRequest
- func (*ChangeRuntimeDomainsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ChangeRuntimeDomainsRequest) GetDomains() []string
- func (x *ChangeRuntimeDomainsRequest) GetReleaseId() string
- func (x *ChangeRuntimeDomainsRequest) GetRuntimeId() string
- func (x *ChangeRuntimeDomainsRequest) GetServiceName() string
- func (m *ChangeRuntimeDomainsRequest) MarshalJSON() ([]byte, error)
- func (*ChangeRuntimeDomainsRequest) ProtoMessage()
- func (x *ChangeRuntimeDomainsRequest) ProtoReflect() protoreflect.Message
- func (x *ChangeRuntimeDomainsRequest) Reset()
- func (x *ChangeRuntimeDomainsRequest) String() string
- func (m *ChangeRuntimeDomainsRequest) UnmarshalJSON(b []byte) error
- func (m *ChangeRuntimeDomainsRequest) UnmarshalURLValues(prefix string, values url.Values) error
- func (this *ChangeRuntimeDomainsRequest) Validate() error
- type ChangeRuntimeDomainsResponse
- func (*ChangeRuntimeDomainsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ChangeRuntimeDomainsResponse) GetData() bool
- func (m *ChangeRuntimeDomainsResponse) MarshalJSON() ([]byte, error)
- func (*ChangeRuntimeDomainsResponse) ProtoMessage()
- func (x *ChangeRuntimeDomainsResponse) ProtoReflect() protoreflect.Message
- func (x *ChangeRuntimeDomainsResponse) Reset()
- func (x *ChangeRuntimeDomainsResponse) String() string
- func (m *ChangeRuntimeDomainsResponse) UnmarshalJSON(b []byte) error
- func (m *ChangeRuntimeDomainsResponse) UnmarshalURLValues(prefix string, values url.Values) error
- func (this *ChangeRuntimeDomainsResponse) Validate() error
- type DomainServiceClient
- type DomainServiceHandler
- type DomainServiceServer
- type GetOrgDomainsRequest
- func (*GetOrgDomainsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetOrgDomainsRequest) GetClusterName() string
- func (x *GetOrgDomainsRequest) GetDomain() string
- func (x *GetOrgDomainsRequest) GetEnv() string
- func (x *GetOrgDomainsRequest) GetOrgId() string
- func (x *GetOrgDomainsRequest) GetPageNo() int64
- func (x *GetOrgDomainsRequest) GetPageSize() int64
- func (x *GetOrgDomainsRequest) GetProjectId() string
- func (x *GetOrgDomainsRequest) GetType() string
- func (m *GetOrgDomainsRequest) MarshalJSON() ([]byte, error)
- func (*GetOrgDomainsRequest) ProtoMessage()
- func (x *GetOrgDomainsRequest) ProtoReflect() protoreflect.Message
- func (x *GetOrgDomainsRequest) Reset()
- func (x *GetOrgDomainsRequest) String() string
- func (m *GetOrgDomainsRequest) UnmarshalJSON(b []byte) error
- func (m *GetOrgDomainsRequest) UnmarshalURLValues(prefix string, values url.Values) error
- func (this *GetOrgDomainsRequest) Validate() error
- type GetOrgDomainsResponse
- func (*GetOrgDomainsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetOrgDomainsResponse) GetData() *pb.NewPageResult
- func (m *GetOrgDomainsResponse) MarshalJSON() ([]byte, error)
- func (*GetOrgDomainsResponse) ProtoMessage()
- func (x *GetOrgDomainsResponse) ProtoReflect() protoreflect.Message
- func (x *GetOrgDomainsResponse) Reset()
- func (x *GetOrgDomainsResponse) String() string
- func (m *GetOrgDomainsResponse) UnmarshalJSON(b []byte) error
- func (m *GetOrgDomainsResponse) UnmarshalURLValues(prefix string, values url.Values) error
- func (this *GetOrgDomainsResponse) Validate() error
- type GetRuntimeDomainsRequest
- func (*GetRuntimeDomainsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetRuntimeDomainsRequest) GetRuntimeId() string
- func (m *GetRuntimeDomainsRequest) MarshalJSON() ([]byte, error)
- func (*GetRuntimeDomainsRequest) ProtoMessage()
- func (x *GetRuntimeDomainsRequest) ProtoReflect() protoreflect.Message
- func (x *GetRuntimeDomainsRequest) Reset()
- func (x *GetRuntimeDomainsRequest) String() string
- func (m *GetRuntimeDomainsRequest) UnmarshalJSON(b []byte) error
- func (m *GetRuntimeDomainsRequest) UnmarshalURLValues(prefix string, values url.Values) error
- func (this *GetRuntimeDomainsRequest) Validate() error
- type GetRuntimeDomainsResponse
- func (*GetRuntimeDomainsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetRuntimeDomainsResponse) GetData() map[string]*structpb.ListValue
- func (m *GetRuntimeDomainsResponse) MarshalJSON() ([]byte, error)
- func (*GetRuntimeDomainsResponse) ProtoMessage()
- func (x *GetRuntimeDomainsResponse) ProtoReflect() protoreflect.Message
- func (x *GetRuntimeDomainsResponse) Reset()
- func (x *GetRuntimeDomainsResponse) String() string
- func (m *GetRuntimeDomainsResponse) UnmarshalJSON(b []byte) error
- func (m *GetRuntimeDomainsResponse) UnmarshalURLValues(prefix string, values url.Values) error
- func (this *GetRuntimeDomainsResponse) Validate() error
- type GetTenantDomainsRequest
- func (*GetTenantDomainsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetTenantDomainsRequest) GetEnv() string
- func (x *GetTenantDomainsRequest) GetProjectId() string
- func (m *GetTenantDomainsRequest) MarshalJSON() ([]byte, error)
- func (*GetTenantDomainsRequest) ProtoMessage()
- func (x *GetTenantDomainsRequest) ProtoReflect() protoreflect.Message
- func (x *GetTenantDomainsRequest) Reset()
- func (x *GetTenantDomainsRequest) String() string
- func (m *GetTenantDomainsRequest) UnmarshalJSON(b []byte) error
- func (m *GetTenantDomainsRequest) UnmarshalURLValues(prefix string, values url.Values) error
- func (this *GetTenantDomainsRequest) Validate() error
- type GetTenantDomainsResponse
- func (*GetTenantDomainsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetTenantDomainsResponse) GetData() []string
- func (m *GetTenantDomainsResponse) MarshalJSON() ([]byte, error)
- func (*GetTenantDomainsResponse) ProtoMessage()
- func (x *GetTenantDomainsResponse) ProtoReflect() protoreflect.Message
- func (x *GetTenantDomainsResponse) Reset()
- func (x *GetTenantDomainsResponse) String() string
- func (m *GetTenantDomainsResponse) UnmarshalJSON(b []byte) error
- func (m *GetTenantDomainsResponse) UnmarshalURLValues(prefix string, values url.Values) error
- func (this *GetTenantDomainsResponse) Validate() error
- type IngressRoute
- func (*IngressRoute) Descriptor() ([]byte, []int)deprecated
- func (x *IngressRoute) GetDomain() string
- func (x *IngressRoute) GetPath() string
- func (m *IngressRoute) MarshalJSON() ([]byte, error)
- func (*IngressRoute) ProtoMessage()
- func (x *IngressRoute) ProtoReflect() protoreflect.Message
- func (x *IngressRoute) Reset()
- func (x *IngressRoute) String() string
- func (m *IngressRoute) UnmarshalJSON(b []byte) error
- func (m *IngressRoute) UnmarshalURLValues(prefix string, values url.Values) error
- func (this *IngressRoute) Validate() error
- type RouteOptions
- func (*RouteOptions) Descriptor() ([]byte, []int)deprecated
- func (x *RouteOptions) GetAnnotations() map[string]string
- func (x *RouteOptions) GetEnableTls() *structpb.Value
- func (x *RouteOptions) GetLocationSnippet() string
- func (x *RouteOptions) GetRewriteHost() string
- func (x *RouteOptions) GetRewritePath() string
- func (x *RouteOptions) GetUseRegex() bool
- func (m *RouteOptions) MarshalJSON() ([]byte, error)
- func (*RouteOptions) ProtoMessage()
- func (x *RouteOptions) ProtoReflect() protoreflect.Message
- func (x *RouteOptions) Reset()
- func (x *RouteOptions) String() string
- func (m *RouteOptions) UnmarshalJSON(b []byte) error
- func (m *RouteOptions) UnmarshalURLValues(prefix string, values url.Values) error
- func (this *RouteOptions) Validate() error
- type UnimplementedDomainServiceServer
- func (*UnimplementedDomainServiceServer) ChangeInnerIngress(context.Context, *ChangeInnerIngressRequest) (*ChangeInnerIngressResponse, error)
- func (*UnimplementedDomainServiceServer) ChangeRuntimeDomains(context.Context, *ChangeRuntimeDomainsRequest) (*ChangeRuntimeDomainsResponse, error)
- func (*UnimplementedDomainServiceServer) GetOrgDomains(context.Context, *GetOrgDomainsRequest) (*GetOrgDomainsResponse, error)
- func (*UnimplementedDomainServiceServer) GetRuntimeDomains(context.Context, *GetRuntimeDomainsRequest) (*GetRuntimeDomainsResponse, error)
- func (*UnimplementedDomainServiceServer) GetTenantDomains(context.Context, *GetTenantDomainsRequest) (*GetTenantDomainsResponse, error)
Constants ¶
This section is empty.
Variables ¶
var File_domain_proto protoreflect.FileDescriptor
Functions ¶
func DomainServiceClientType ¶
DomainServiceClientType .
func DomainServiceHandlerType ¶
DomainServiceHandlerType .
func DomainServiceServerType ¶
DomainServiceServerType .
func RegisterDomainServiceHandler ¶
func RegisterDomainServiceHandler(r http.Router, srv DomainServiceHandler, opts ...http.HandleOption)
RegisterDomainServiceHandler register DomainServiceHandler to http.Router.
func RegisterDomainServiceImp ¶
func RegisterDomainServiceImp(regester transport.Register, srv DomainServiceServer, opts ...transport.ServiceOption)
RegisterDomainServiceImp domain.proto
func RegisterDomainServiceServer ¶
func RegisterDomainServiceServer(s grpc1.ServiceRegistrar, srv DomainServiceServer, opts ...grpc1.HandleOption)
Types ¶
type ChangeInnerIngressRequest ¶
type ChangeInnerIngressRequest struct { K8SNamespace string `protobuf:"bytes,1,opt,name=k8sNamespace,proto3" json:"k8sNamespace,omitempty"` ComponentName string `protobuf:"bytes,2,opt,name=componentName,proto3" json:"componentName,omitempty"` ComponentPort int32 `protobuf:"varint,3,opt,name=componentPort,proto3" json:"componentPort,omitempty"` ClusterName string `protobuf:"bytes,4,opt,name=clusterName,proto3" json:"clusterName,omitempty"` IngressName string `protobuf:"bytes,5,opt,name=ingressName,proto3" json:"ingressName,omitempty"` Routes []*IngressRoute `protobuf:"bytes,6,rep,name=routes,proto3" json:"routes,omitempty"` RouteOptions *RouteOptions `protobuf:"bytes,7,opt,name=routeOptions,proto3" json:"routeOptions,omitempty"` // contains filtered or unexported fields }
func (*ChangeInnerIngressRequest) Descriptor
deprecated
func (*ChangeInnerIngressRequest) Descriptor() ([]byte, []int)
Deprecated: Use ChangeInnerIngressRequest.ProtoReflect.Descriptor instead.
func (*ChangeInnerIngressRequest) GetClusterName ¶
func (x *ChangeInnerIngressRequest) GetClusterName() string
func (*ChangeInnerIngressRequest) GetComponentName ¶
func (x *ChangeInnerIngressRequest) GetComponentName() string
func (*ChangeInnerIngressRequest) GetComponentPort ¶
func (x *ChangeInnerIngressRequest) GetComponentPort() int32
func (*ChangeInnerIngressRequest) GetIngressName ¶
func (x *ChangeInnerIngressRequest) GetIngressName() string
func (*ChangeInnerIngressRequest) GetK8SNamespace ¶
func (x *ChangeInnerIngressRequest) GetK8SNamespace() string
func (*ChangeInnerIngressRequest) GetRouteOptions ¶
func (x *ChangeInnerIngressRequest) GetRouteOptions() *RouteOptions
func (*ChangeInnerIngressRequest) GetRoutes ¶
func (x *ChangeInnerIngressRequest) GetRoutes() []*IngressRoute
func (*ChangeInnerIngressRequest) MarshalJSON ¶
func (m *ChangeInnerIngressRequest) MarshalJSON() ([]byte, error)
ChangeInnerIngressRequest implement json.Marshaler.
func (*ChangeInnerIngressRequest) ProtoMessage ¶
func (*ChangeInnerIngressRequest) ProtoMessage()
func (*ChangeInnerIngressRequest) ProtoReflect ¶
func (x *ChangeInnerIngressRequest) ProtoReflect() protoreflect.Message
func (*ChangeInnerIngressRequest) Reset ¶
func (x *ChangeInnerIngressRequest) Reset()
func (*ChangeInnerIngressRequest) String ¶
func (x *ChangeInnerIngressRequest) String() string
func (*ChangeInnerIngressRequest) UnmarshalJSON ¶
func (m *ChangeInnerIngressRequest) UnmarshalJSON(b []byte) error
ChangeInnerIngressRequest implement json.Marshaler.
func (*ChangeInnerIngressRequest) UnmarshalURLValues ¶
func (m *ChangeInnerIngressRequest) UnmarshalURLValues(prefix string, values url.Values) error
ChangeInnerIngressRequest implement urlenc.URLValuesUnmarshaler.
func (*ChangeInnerIngressRequest) Validate ¶
func (this *ChangeInnerIngressRequest) Validate() error
type ChangeInnerIngressResponse ¶
type ChangeInnerIngressResponse struct { Data bool `protobuf:"varint,1,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*ChangeInnerIngressResponse) Descriptor
deprecated
func (*ChangeInnerIngressResponse) Descriptor() ([]byte, []int)
Deprecated: Use ChangeInnerIngressResponse.ProtoReflect.Descriptor instead.
func (*ChangeInnerIngressResponse) GetData ¶
func (x *ChangeInnerIngressResponse) GetData() bool
func (*ChangeInnerIngressResponse) MarshalJSON ¶
func (m *ChangeInnerIngressResponse) MarshalJSON() ([]byte, error)
ChangeInnerIngressResponse implement json.Marshaler.
func (*ChangeInnerIngressResponse) ProtoMessage ¶
func (*ChangeInnerIngressResponse) ProtoMessage()
func (*ChangeInnerIngressResponse) ProtoReflect ¶
func (x *ChangeInnerIngressResponse) ProtoReflect() protoreflect.Message
func (*ChangeInnerIngressResponse) Reset ¶
func (x *ChangeInnerIngressResponse) Reset()
func (*ChangeInnerIngressResponse) String ¶
func (x *ChangeInnerIngressResponse) String() string
func (*ChangeInnerIngressResponse) UnmarshalJSON ¶
func (m *ChangeInnerIngressResponse) UnmarshalJSON(b []byte) error
ChangeInnerIngressResponse implement json.Marshaler.
func (*ChangeInnerIngressResponse) UnmarshalURLValues ¶
func (m *ChangeInnerIngressResponse) UnmarshalURLValues(prefix string, values url.Values) error
ChangeInnerIngressResponse implement urlenc.URLValuesUnmarshaler.
func (*ChangeInnerIngressResponse) Validate ¶
func (this *ChangeInnerIngressResponse) Validate() error
type ChangeRuntimeDomainsRequest ¶
type ChangeRuntimeDomainsRequest struct { RuntimeId string `protobuf:"bytes,1,opt,name=runtimeId,proto3" json:"runtimeId,omitempty"` ServiceName string `protobuf:"bytes,2,opt,name=serviceName,proto3" json:"serviceName,omitempty"` ReleaseId string `protobuf:"bytes,3,opt,name=releaseId,proto3" json:"releaseId,omitempty"` Domains []string `protobuf:"bytes,4,rep,name=domains,proto3" json:"domains,omitempty"` // contains filtered or unexported fields }
func (*ChangeRuntimeDomainsRequest) Descriptor
deprecated
func (*ChangeRuntimeDomainsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ChangeRuntimeDomainsRequest.ProtoReflect.Descriptor instead.
func (*ChangeRuntimeDomainsRequest) GetDomains ¶
func (x *ChangeRuntimeDomainsRequest) GetDomains() []string
func (*ChangeRuntimeDomainsRequest) GetReleaseId ¶
func (x *ChangeRuntimeDomainsRequest) GetReleaseId() string
func (*ChangeRuntimeDomainsRequest) GetRuntimeId ¶
func (x *ChangeRuntimeDomainsRequest) GetRuntimeId() string
func (*ChangeRuntimeDomainsRequest) GetServiceName ¶
func (x *ChangeRuntimeDomainsRequest) GetServiceName() string
func (*ChangeRuntimeDomainsRequest) MarshalJSON ¶
func (m *ChangeRuntimeDomainsRequest) MarshalJSON() ([]byte, error)
ChangeRuntimeDomainsRequest implement json.Marshaler.
func (*ChangeRuntimeDomainsRequest) ProtoMessage ¶
func (*ChangeRuntimeDomainsRequest) ProtoMessage()
func (*ChangeRuntimeDomainsRequest) ProtoReflect ¶
func (x *ChangeRuntimeDomainsRequest) ProtoReflect() protoreflect.Message
func (*ChangeRuntimeDomainsRequest) Reset ¶
func (x *ChangeRuntimeDomainsRequest) Reset()
func (*ChangeRuntimeDomainsRequest) String ¶
func (x *ChangeRuntimeDomainsRequest) String() string
func (*ChangeRuntimeDomainsRequest) UnmarshalJSON ¶
func (m *ChangeRuntimeDomainsRequest) UnmarshalJSON(b []byte) error
ChangeRuntimeDomainsRequest implement json.Marshaler.
func (*ChangeRuntimeDomainsRequest) UnmarshalURLValues ¶
func (m *ChangeRuntimeDomainsRequest) UnmarshalURLValues(prefix string, values url.Values) error
ChangeRuntimeDomainsRequest implement urlenc.URLValuesUnmarshaler.
func (*ChangeRuntimeDomainsRequest) Validate ¶
func (this *ChangeRuntimeDomainsRequest) Validate() error
type ChangeRuntimeDomainsResponse ¶
type ChangeRuntimeDomainsResponse struct { Data bool `protobuf:"varint,1,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*ChangeRuntimeDomainsResponse) Descriptor
deprecated
func (*ChangeRuntimeDomainsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ChangeRuntimeDomainsResponse.ProtoReflect.Descriptor instead.
func (*ChangeRuntimeDomainsResponse) GetData ¶
func (x *ChangeRuntimeDomainsResponse) GetData() bool
func (*ChangeRuntimeDomainsResponse) MarshalJSON ¶
func (m *ChangeRuntimeDomainsResponse) MarshalJSON() ([]byte, error)
ChangeRuntimeDomainsResponse implement json.Marshaler.
func (*ChangeRuntimeDomainsResponse) ProtoMessage ¶
func (*ChangeRuntimeDomainsResponse) ProtoMessage()
func (*ChangeRuntimeDomainsResponse) ProtoReflect ¶
func (x *ChangeRuntimeDomainsResponse) ProtoReflect() protoreflect.Message
func (*ChangeRuntimeDomainsResponse) Reset ¶
func (x *ChangeRuntimeDomainsResponse) Reset()
func (*ChangeRuntimeDomainsResponse) String ¶
func (x *ChangeRuntimeDomainsResponse) String() string
func (*ChangeRuntimeDomainsResponse) UnmarshalJSON ¶
func (m *ChangeRuntimeDomainsResponse) UnmarshalJSON(b []byte) error
ChangeRuntimeDomainsResponse implement json.Marshaler.
func (*ChangeRuntimeDomainsResponse) UnmarshalURLValues ¶
func (m *ChangeRuntimeDomainsResponse) UnmarshalURLValues(prefix string, values url.Values) error
ChangeRuntimeDomainsResponse implement urlenc.URLValuesUnmarshaler.
func (*ChangeRuntimeDomainsResponse) Validate ¶
func (this *ChangeRuntimeDomainsResponse) Validate() error
type DomainServiceClient ¶
type DomainServiceClient interface { // +publish path:"/api/gateway/domains" GetOrgDomains(ctx context.Context, in *GetOrgDomainsRequest, opts ...grpc.CallOption) (*GetOrgDomainsResponse, error) // +publish path:"/api/gateway/openapi/tenant-domain" GetTenantDomains(ctx context.Context, in *GetTenantDomainsRequest, opts ...grpc.CallOption) (*GetTenantDomainsResponse, error) // +private ChangeInnerIngress(ctx context.Context, in *ChangeInnerIngressRequest, opts ...grpc.CallOption) (*ChangeInnerIngressResponse, error) // +publish path:"/api/gateway/openapi/runtimes/{runtimeId}/domains" GetRuntimeDomains(ctx context.Context, in *GetRuntimeDomainsRequest, opts ...grpc.CallOption) (*GetRuntimeDomainsResponse, error) // +publish path:"/api/gateway/openapi/runtimes/{runtimeId}/services/{serviceName}/domains" ChangeRuntimeDomains(ctx context.Context, in *ChangeRuntimeDomainsRequest, opts ...grpc.CallOption) (*ChangeRuntimeDomainsResponse, error) }
DomainServiceClient is the client API for DomainService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewDomainServiceClient ¶
func NewDomainServiceClient(cc grpc1.ClientConnInterface) DomainServiceClient
type DomainServiceHandler ¶
type DomainServiceHandler interface { // +publish path:"/api/gateway/domains" // GET /api/gateway/domains GetOrgDomains(context.Context, *GetOrgDomainsRequest) (*GetOrgDomainsResponse, error) // +publish path:"/api/gateway/openapi/tenant-domain" // GET /api/gateway/openapi/tenant-domain GetTenantDomains(context.Context, *GetTenantDomainsRequest) (*GetTenantDomainsResponse, error) // +private // PUT /api/gateway/component-ingress ChangeInnerIngress(context.Context, *ChangeInnerIngressRequest) (*ChangeInnerIngressResponse, error) // +publish path:"/api/gateway/openapi/runtimes/{runtimeId}/domains" // GET /api/gateway/openapi/runtimes/{runtimeId}/domains GetRuntimeDomains(context.Context, *GetRuntimeDomainsRequest) (*GetRuntimeDomainsResponse, error) // +publish path:"/api/gateway/openapi/runtimes/{runtimeId}/services/{serviceName}/domains" // PUT /api/gateway/openapi/runtimes/{runtimeId}/services/{serviceName}/domains ChangeRuntimeDomains(context.Context, *ChangeRuntimeDomainsRequest) (*ChangeRuntimeDomainsResponse, error) }
DomainServiceHandler is the server API for DomainService service.
type DomainServiceServer ¶
type DomainServiceServer interface { // +publish path:"/api/gateway/domains" GetOrgDomains(context.Context, *GetOrgDomainsRequest) (*GetOrgDomainsResponse, error) // +publish path:"/api/gateway/openapi/tenant-domain" GetTenantDomains(context.Context, *GetTenantDomainsRequest) (*GetTenantDomainsResponse, error) // +private ChangeInnerIngress(context.Context, *ChangeInnerIngressRequest) (*ChangeInnerIngressResponse, error) // +publish path:"/api/gateway/openapi/runtimes/{runtimeId}/domains" GetRuntimeDomains(context.Context, *GetRuntimeDomainsRequest) (*GetRuntimeDomainsResponse, error) // +publish path:"/api/gateway/openapi/runtimes/{runtimeId}/services/{serviceName}/domains" ChangeRuntimeDomains(context.Context, *ChangeRuntimeDomainsRequest) (*ChangeRuntimeDomainsResponse, error) }
DomainServiceServer is the server API for DomainService service. All implementations should embed UnimplementedDomainServiceServer for forward compatibility
type GetOrgDomainsRequest ¶
type GetOrgDomainsRequest struct { OrgId string `protobuf:"bytes,1,opt,name=orgId,proto3" json:"orgId,omitempty"` ProjectId string `protobuf:"bytes,2,opt,name=projectId,proto3" json:"projectId,omitempty"` Env string `protobuf:"bytes,3,opt,name=env,proto3" json:"env,omitempty"` PageNo int64 `protobuf:"varint,4,opt,name=pageNo,proto3" json:"pageNo,omitempty"` PageSize int64 `protobuf:"varint,5,opt,name=pageSize,proto3" json:"pageSize,omitempty"` Domain string `protobuf:"bytes,6,opt,name=domain,proto3" json:"domain,omitempty"` ClusterName string `protobuf:"bytes,7,opt,name=clusterName,proto3" json:"clusterName,omitempty"` Type string `protobuf:"bytes,8,opt,name=type,proto3" json:"type,omitempty"` // contains filtered or unexported fields }
func (*GetOrgDomainsRequest) Descriptor
deprecated
func (*GetOrgDomainsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetOrgDomainsRequest.ProtoReflect.Descriptor instead.
func (*GetOrgDomainsRequest) GetClusterName ¶
func (x *GetOrgDomainsRequest) GetClusterName() string
func (*GetOrgDomainsRequest) GetDomain ¶
func (x *GetOrgDomainsRequest) GetDomain() string
func (*GetOrgDomainsRequest) GetEnv ¶
func (x *GetOrgDomainsRequest) GetEnv() string
func (*GetOrgDomainsRequest) GetOrgId ¶
func (x *GetOrgDomainsRequest) GetOrgId() string
func (*GetOrgDomainsRequest) GetPageNo ¶
func (x *GetOrgDomainsRequest) GetPageNo() int64
func (*GetOrgDomainsRequest) GetPageSize ¶
func (x *GetOrgDomainsRequest) GetPageSize() int64
func (*GetOrgDomainsRequest) GetProjectId ¶
func (x *GetOrgDomainsRequest) GetProjectId() string
func (*GetOrgDomainsRequest) GetType ¶
func (x *GetOrgDomainsRequest) GetType() string
func (*GetOrgDomainsRequest) MarshalJSON ¶
func (m *GetOrgDomainsRequest) MarshalJSON() ([]byte, error)
GetOrgDomainsRequest implement json.Marshaler.
func (*GetOrgDomainsRequest) ProtoMessage ¶
func (*GetOrgDomainsRequest) ProtoMessage()
func (*GetOrgDomainsRequest) ProtoReflect ¶
func (x *GetOrgDomainsRequest) ProtoReflect() protoreflect.Message
func (*GetOrgDomainsRequest) Reset ¶
func (x *GetOrgDomainsRequest) Reset()
func (*GetOrgDomainsRequest) String ¶
func (x *GetOrgDomainsRequest) String() string
func (*GetOrgDomainsRequest) UnmarshalJSON ¶
func (m *GetOrgDomainsRequest) UnmarshalJSON(b []byte) error
GetOrgDomainsRequest implement json.Marshaler.
func (*GetOrgDomainsRequest) UnmarshalURLValues ¶
func (m *GetOrgDomainsRequest) UnmarshalURLValues(prefix string, values url.Values) error
GetOrgDomainsRequest implement urlenc.URLValuesUnmarshaler.
func (*GetOrgDomainsRequest) Validate ¶
func (this *GetOrgDomainsRequest) Validate() error
type GetOrgDomainsResponse ¶
type GetOrgDomainsResponse struct { Data *pb.NewPageResult `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*GetOrgDomainsResponse) Descriptor
deprecated
func (*GetOrgDomainsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetOrgDomainsResponse.ProtoReflect.Descriptor instead.
func (*GetOrgDomainsResponse) GetData ¶
func (x *GetOrgDomainsResponse) GetData() *pb.NewPageResult
func (*GetOrgDomainsResponse) MarshalJSON ¶
func (m *GetOrgDomainsResponse) MarshalJSON() ([]byte, error)
GetOrgDomainsResponse implement json.Marshaler.
func (*GetOrgDomainsResponse) ProtoMessage ¶
func (*GetOrgDomainsResponse) ProtoMessage()
func (*GetOrgDomainsResponse) ProtoReflect ¶
func (x *GetOrgDomainsResponse) ProtoReflect() protoreflect.Message
func (*GetOrgDomainsResponse) Reset ¶
func (x *GetOrgDomainsResponse) Reset()
func (*GetOrgDomainsResponse) String ¶
func (x *GetOrgDomainsResponse) String() string
func (*GetOrgDomainsResponse) UnmarshalJSON ¶
func (m *GetOrgDomainsResponse) UnmarshalJSON(b []byte) error
GetOrgDomainsResponse implement json.Marshaler.
func (*GetOrgDomainsResponse) UnmarshalURLValues ¶
func (m *GetOrgDomainsResponse) UnmarshalURLValues(prefix string, values url.Values) error
GetOrgDomainsResponse implement urlenc.URLValuesUnmarshaler.
func (*GetOrgDomainsResponse) Validate ¶
func (this *GetOrgDomainsResponse) Validate() error
type GetRuntimeDomainsRequest ¶
type GetRuntimeDomainsRequest struct { RuntimeId string `protobuf:"bytes,1,opt,name=runtimeId,proto3" json:"runtimeId,omitempty"` // contains filtered or unexported fields }
func (*GetRuntimeDomainsRequest) Descriptor
deprecated
func (*GetRuntimeDomainsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetRuntimeDomainsRequest.ProtoReflect.Descriptor instead.
func (*GetRuntimeDomainsRequest) GetRuntimeId ¶
func (x *GetRuntimeDomainsRequest) GetRuntimeId() string
func (*GetRuntimeDomainsRequest) MarshalJSON ¶
func (m *GetRuntimeDomainsRequest) MarshalJSON() ([]byte, error)
GetRuntimeDomainsRequest implement json.Marshaler.
func (*GetRuntimeDomainsRequest) ProtoMessage ¶
func (*GetRuntimeDomainsRequest) ProtoMessage()
func (*GetRuntimeDomainsRequest) ProtoReflect ¶
func (x *GetRuntimeDomainsRequest) ProtoReflect() protoreflect.Message
func (*GetRuntimeDomainsRequest) Reset ¶
func (x *GetRuntimeDomainsRequest) Reset()
func (*GetRuntimeDomainsRequest) String ¶
func (x *GetRuntimeDomainsRequest) String() string
func (*GetRuntimeDomainsRequest) UnmarshalJSON ¶
func (m *GetRuntimeDomainsRequest) UnmarshalJSON(b []byte) error
GetRuntimeDomainsRequest implement json.Marshaler.
func (*GetRuntimeDomainsRequest) UnmarshalURLValues ¶
func (m *GetRuntimeDomainsRequest) UnmarshalURLValues(prefix string, values url.Values) error
GetRuntimeDomainsRequest implement urlenc.URLValuesUnmarshaler.
func (*GetRuntimeDomainsRequest) Validate ¶
func (this *GetRuntimeDomainsRequest) Validate() error
type GetRuntimeDomainsResponse ¶
type GetRuntimeDomainsResponse struct { Data map[string]*structpb.ListValue `` /* 149-byte string literal not displayed */ // contains filtered or unexported fields }
func (*GetRuntimeDomainsResponse) Descriptor
deprecated
func (*GetRuntimeDomainsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetRuntimeDomainsResponse.ProtoReflect.Descriptor instead.
func (*GetRuntimeDomainsResponse) GetData ¶
func (x *GetRuntimeDomainsResponse) GetData() map[string]*structpb.ListValue
func (*GetRuntimeDomainsResponse) MarshalJSON ¶
func (m *GetRuntimeDomainsResponse) MarshalJSON() ([]byte, error)
GetRuntimeDomainsResponse implement json.Marshaler.
func (*GetRuntimeDomainsResponse) ProtoMessage ¶
func (*GetRuntimeDomainsResponse) ProtoMessage()
func (*GetRuntimeDomainsResponse) ProtoReflect ¶
func (x *GetRuntimeDomainsResponse) ProtoReflect() protoreflect.Message
func (*GetRuntimeDomainsResponse) Reset ¶
func (x *GetRuntimeDomainsResponse) Reset()
func (*GetRuntimeDomainsResponse) String ¶
func (x *GetRuntimeDomainsResponse) String() string
func (*GetRuntimeDomainsResponse) UnmarshalJSON ¶
func (m *GetRuntimeDomainsResponse) UnmarshalJSON(b []byte) error
GetRuntimeDomainsResponse implement json.Marshaler.
func (*GetRuntimeDomainsResponse) UnmarshalURLValues ¶
func (m *GetRuntimeDomainsResponse) UnmarshalURLValues(prefix string, values url.Values) error
GetRuntimeDomainsResponse implement urlenc.URLValuesUnmarshaler.
func (*GetRuntimeDomainsResponse) Validate ¶
func (this *GetRuntimeDomainsResponse) Validate() error
type GetTenantDomainsRequest ¶
type GetTenantDomainsRequest struct { ProjectId string `protobuf:"bytes,1,opt,name=projectId,proto3" json:"projectId,omitempty"` Env string `protobuf:"bytes,2,opt,name=env,proto3" json:"env,omitempty"` // contains filtered or unexported fields }
func (*GetTenantDomainsRequest) Descriptor
deprecated
func (*GetTenantDomainsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetTenantDomainsRequest.ProtoReflect.Descriptor instead.
func (*GetTenantDomainsRequest) GetEnv ¶
func (x *GetTenantDomainsRequest) GetEnv() string
func (*GetTenantDomainsRequest) GetProjectId ¶
func (x *GetTenantDomainsRequest) GetProjectId() string
func (*GetTenantDomainsRequest) MarshalJSON ¶
func (m *GetTenantDomainsRequest) MarshalJSON() ([]byte, error)
GetTenantDomainsRequest implement json.Marshaler.
func (*GetTenantDomainsRequest) ProtoMessage ¶
func (*GetTenantDomainsRequest) ProtoMessage()
func (*GetTenantDomainsRequest) ProtoReflect ¶
func (x *GetTenantDomainsRequest) ProtoReflect() protoreflect.Message
func (*GetTenantDomainsRequest) Reset ¶
func (x *GetTenantDomainsRequest) Reset()
func (*GetTenantDomainsRequest) String ¶
func (x *GetTenantDomainsRequest) String() string
func (*GetTenantDomainsRequest) UnmarshalJSON ¶
func (m *GetTenantDomainsRequest) UnmarshalJSON(b []byte) error
GetTenantDomainsRequest implement json.Marshaler.
func (*GetTenantDomainsRequest) UnmarshalURLValues ¶
func (m *GetTenantDomainsRequest) UnmarshalURLValues(prefix string, values url.Values) error
GetTenantDomainsRequest implement urlenc.URLValuesUnmarshaler.
func (*GetTenantDomainsRequest) Validate ¶
func (this *GetTenantDomainsRequest) Validate() error
type GetTenantDomainsResponse ¶
type GetTenantDomainsResponse struct { Data []string `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*GetTenantDomainsResponse) Descriptor
deprecated
func (*GetTenantDomainsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetTenantDomainsResponse.ProtoReflect.Descriptor instead.
func (*GetTenantDomainsResponse) GetData ¶
func (x *GetTenantDomainsResponse) GetData() []string
func (*GetTenantDomainsResponse) MarshalJSON ¶
func (m *GetTenantDomainsResponse) MarshalJSON() ([]byte, error)
GetTenantDomainsResponse implement json.Marshaler.
func (*GetTenantDomainsResponse) ProtoMessage ¶
func (*GetTenantDomainsResponse) ProtoMessage()
func (*GetTenantDomainsResponse) ProtoReflect ¶
func (x *GetTenantDomainsResponse) ProtoReflect() protoreflect.Message
func (*GetTenantDomainsResponse) Reset ¶
func (x *GetTenantDomainsResponse) Reset()
func (*GetTenantDomainsResponse) String ¶
func (x *GetTenantDomainsResponse) String() string
func (*GetTenantDomainsResponse) UnmarshalJSON ¶
func (m *GetTenantDomainsResponse) UnmarshalJSON(b []byte) error
GetTenantDomainsResponse implement json.Marshaler.
func (*GetTenantDomainsResponse) UnmarshalURLValues ¶
func (m *GetTenantDomainsResponse) UnmarshalURLValues(prefix string, values url.Values) error
GetTenantDomainsResponse implement urlenc.URLValuesUnmarshaler.
func (*GetTenantDomainsResponse) Validate ¶
func (this *GetTenantDomainsResponse) Validate() error
type IngressRoute ¶
type IngressRoute struct { Domain string `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty"` Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` // contains filtered or unexported fields }
func (*IngressRoute) Descriptor
deprecated
func (*IngressRoute) Descriptor() ([]byte, []int)
Deprecated: Use IngressRoute.ProtoReflect.Descriptor instead.
func (*IngressRoute) GetDomain ¶
func (x *IngressRoute) GetDomain() string
func (*IngressRoute) GetPath ¶
func (x *IngressRoute) GetPath() string
func (*IngressRoute) MarshalJSON ¶
func (m *IngressRoute) MarshalJSON() ([]byte, error)
IngressRoute implement json.Marshaler.
func (*IngressRoute) ProtoMessage ¶
func (*IngressRoute) ProtoMessage()
func (*IngressRoute) ProtoReflect ¶
func (x *IngressRoute) ProtoReflect() protoreflect.Message
func (*IngressRoute) Reset ¶
func (x *IngressRoute) Reset()
func (*IngressRoute) String ¶
func (x *IngressRoute) String() string
func (*IngressRoute) UnmarshalJSON ¶
func (m *IngressRoute) UnmarshalJSON(b []byte) error
IngressRoute implement json.Marshaler.
func (*IngressRoute) UnmarshalURLValues ¶
func (m *IngressRoute) UnmarshalURLValues(prefix string, values url.Values) error
IngressRoute implement urlenc.URLValuesUnmarshaler.
func (*IngressRoute) Validate ¶
func (this *IngressRoute) Validate() error
type RouteOptions ¶
type RouteOptions struct { RewriteHost string `protobuf:"bytes,1,opt,name=rewriteHost,proto3" json:"rewriteHost,omitempty"` RewritePath string `protobuf:"bytes,2,opt,name=rewritePath,proto3" json:"rewritePath,omitempty"` UseRegex bool `protobuf:"varint,3,opt,name=useRegex,proto3" json:"useRegex,omitempty"` EnableTls *structpb.Value `protobuf:"bytes,4,opt,name=enableTls,proto3" json:"enableTls,omitempty"` Annotations map[string]string `` /* 163-byte string literal not displayed */ LocationSnippet string `protobuf:"bytes,6,opt,name=locationSnippet,proto3" json:"locationSnippet,omitempty"` // contains filtered or unexported fields }
func (*RouteOptions) Descriptor
deprecated
func (*RouteOptions) Descriptor() ([]byte, []int)
Deprecated: Use RouteOptions.ProtoReflect.Descriptor instead.
func (*RouteOptions) GetAnnotations ¶
func (x *RouteOptions) GetAnnotations() map[string]string
func (*RouteOptions) GetEnableTls ¶
func (x *RouteOptions) GetEnableTls() *structpb.Value
func (*RouteOptions) GetLocationSnippet ¶
func (x *RouteOptions) GetLocationSnippet() string
func (*RouteOptions) GetRewriteHost ¶
func (x *RouteOptions) GetRewriteHost() string
func (*RouteOptions) GetRewritePath ¶
func (x *RouteOptions) GetRewritePath() string
func (*RouteOptions) GetUseRegex ¶
func (x *RouteOptions) GetUseRegex() bool
func (*RouteOptions) MarshalJSON ¶
func (m *RouteOptions) MarshalJSON() ([]byte, error)
RouteOptions implement json.Marshaler.
func (*RouteOptions) ProtoMessage ¶
func (*RouteOptions) ProtoMessage()
func (*RouteOptions) ProtoReflect ¶
func (x *RouteOptions) ProtoReflect() protoreflect.Message
func (*RouteOptions) Reset ¶
func (x *RouteOptions) Reset()
func (*RouteOptions) String ¶
func (x *RouteOptions) String() string
func (*RouteOptions) UnmarshalJSON ¶
func (m *RouteOptions) UnmarshalJSON(b []byte) error
RouteOptions implement json.Marshaler.
func (*RouteOptions) UnmarshalURLValues ¶
func (m *RouteOptions) UnmarshalURLValues(prefix string, values url.Values) error
RouteOptions implement urlenc.URLValuesUnmarshaler.
func (*RouteOptions) Validate ¶
func (this *RouteOptions) Validate() error
type UnimplementedDomainServiceServer ¶
type UnimplementedDomainServiceServer struct { }
UnimplementedDomainServiceServer should be embedded to have forward compatible implementations.
func (*UnimplementedDomainServiceServer) ChangeInnerIngress ¶
func (*UnimplementedDomainServiceServer) ChangeInnerIngress(context.Context, *ChangeInnerIngressRequest) (*ChangeInnerIngressResponse, error)
func (*UnimplementedDomainServiceServer) ChangeRuntimeDomains ¶
func (*UnimplementedDomainServiceServer) ChangeRuntimeDomains(context.Context, *ChangeRuntimeDomainsRequest) (*ChangeRuntimeDomainsResponse, error)
func (*UnimplementedDomainServiceServer) GetOrgDomains ¶
func (*UnimplementedDomainServiceServer) GetOrgDomains(context.Context, *GetOrgDomainsRequest) (*GetOrgDomainsResponse, error)
func (*UnimplementedDomainServiceServer) GetRuntimeDomains ¶
func (*UnimplementedDomainServiceServer) GetRuntimeDomains(context.Context, *GetRuntimeDomainsRequest) (*GetRuntimeDomainsResponse, error)
func (*UnimplementedDomainServiceServer) GetTenantDomains ¶
func (*UnimplementedDomainServiceServer) GetTenantDomains(context.Context, *GetTenantDomainsRequest) (*GetTenantDomainsResponse, error)