Documentation
¶
Overview ¶
Package integrations is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func RegisterIntegrationsHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterIntegrationsHandlerClient(ctx context.Context, mux *runtime.ServeMux, client IntegrationsClient) error
- func RegisterIntegrationsHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterIntegrationsHandlerServer(ctx context.Context, mux *runtime.ServeMux, server IntegrationsServer) error
- func RegisterIntegrationsServer(s grpc.ServiceRegistrar, srv IntegrationsServer)
- type CreateIntegrationRequest
- func (*CreateIntegrationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateIntegrationRequest) GetDomainId() string
- func (x *CreateIntegrationRequest) GetDomainType() authorization.DomainType
- func (x *CreateIntegrationRequest) GetIntegration() *Integration
- func (*CreateIntegrationRequest) ProtoMessage()
- func (x *CreateIntegrationRequest) ProtoReflect() protoreflect.Message
- func (x *CreateIntegrationRequest) Reset()
- func (x *CreateIntegrationRequest) String() string
- type CreateIntegrationResponse
- func (*CreateIntegrationResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateIntegrationResponse) GetIntegration() *Integration
- func (*CreateIntegrationResponse) ProtoMessage()
- func (x *CreateIntegrationResponse) ProtoReflect() protoreflect.Message
- func (x *CreateIntegrationResponse) Reset()
- func (x *CreateIntegrationResponse) String() string
- type DescribeIntegrationRequest
- func (*DescribeIntegrationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DescribeIntegrationRequest) GetDomainId() string
- func (x *DescribeIntegrationRequest) GetDomainType() authorization.DomainType
- func (x *DescribeIntegrationRequest) GetIdOrName() string
- func (*DescribeIntegrationRequest) ProtoMessage()
- func (x *DescribeIntegrationRequest) ProtoReflect() protoreflect.Message
- func (x *DescribeIntegrationRequest) Reset()
- func (x *DescribeIntegrationRequest) String() string
- type DescribeIntegrationResponse
- func (*DescribeIntegrationResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DescribeIntegrationResponse) GetIntegration() *Integration
- func (*DescribeIntegrationResponse) ProtoMessage()
- func (x *DescribeIntegrationResponse) ProtoReflect() protoreflect.Message
- func (x *DescribeIntegrationResponse) Reset()
- func (x *DescribeIntegrationResponse) String() string
- type Integration
- func (*Integration) Descriptor() ([]byte, []int)deprecated
- func (x *Integration) GetMetadata() *Integration_Metadata
- func (x *Integration) GetSpec() *Integration_Spec
- func (*Integration) ProtoMessage()
- func (x *Integration) ProtoReflect() protoreflect.Message
- func (x *Integration) Reset()
- func (x *Integration) String() string
- type IntegrationRef
- func (*IntegrationRef) Descriptor() ([]byte, []int)deprecated
- func (x *IntegrationRef) GetDomainType() authorization.DomainType
- func (x *IntegrationRef) GetName() string
- func (*IntegrationRef) ProtoMessage()
- func (x *IntegrationRef) ProtoReflect() protoreflect.Message
- func (x *IntegrationRef) Reset()
- func (x *IntegrationRef) String() string
- type Integration_Auth
- func (*Integration_Auth) Descriptor() ([]byte, []int)deprecated
- func (x *Integration_Auth) GetToken() *Integration_Auth_Token
- func (x *Integration_Auth) GetUse() Integration_AuthType
- func (*Integration_Auth) ProtoMessage()
- func (x *Integration_Auth) ProtoReflect() protoreflect.Message
- func (x *Integration_Auth) Reset()
- func (x *Integration_Auth) String() string
- type Integration_AuthType
- func (Integration_AuthType) Descriptor() protoreflect.EnumDescriptor
- func (x Integration_AuthType) Enum() *Integration_AuthType
- func (Integration_AuthType) EnumDescriptor() ([]byte, []int)deprecated
- func (x Integration_AuthType) Number() protoreflect.EnumNumber
- func (x Integration_AuthType) String() string
- func (Integration_AuthType) Type() protoreflect.EnumType
- type Integration_Auth_Token
- func (*Integration_Auth_Token) Descriptor() ([]byte, []int)deprecated
- func (x *Integration_Auth_Token) GetValueFrom() *ValueFrom
- func (*Integration_Auth_Token) ProtoMessage()
- func (x *Integration_Auth_Token) ProtoReflect() protoreflect.Message
- func (x *Integration_Auth_Token) Reset()
- func (x *Integration_Auth_Token) String() string
- type Integration_Metadata
- func (*Integration_Metadata) Descriptor() ([]byte, []int)deprecated
- func (x *Integration_Metadata) GetCreatedAt() *timestamp.Timestamp
- func (x *Integration_Metadata) GetCreatedBy() string
- func (x *Integration_Metadata) GetDomainId() string
- func (x *Integration_Metadata) GetDomainType() authorization.DomainType
- func (x *Integration_Metadata) GetId() string
- func (x *Integration_Metadata) GetName() string
- func (*Integration_Metadata) ProtoMessage()
- func (x *Integration_Metadata) ProtoReflect() protoreflect.Message
- func (x *Integration_Metadata) Reset()
- func (x *Integration_Metadata) String() string
- type Integration_Spec
- func (*Integration_Spec) Descriptor() ([]byte, []int)deprecated
- func (x *Integration_Spec) GetAuth() *Integration_Auth
- func (x *Integration_Spec) GetType() string
- func (x *Integration_Spec) GetUrl() string
- func (*Integration_Spec) ProtoMessage()
- func (x *Integration_Spec) ProtoReflect() protoreflect.Message
- func (x *Integration_Spec) Reset()
- func (x *Integration_Spec) String() string
- type IntegrationsClient
- type IntegrationsServer
- type ListIntegrationsRequest
- func (*ListIntegrationsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListIntegrationsRequest) GetDomainId() string
- func (x *ListIntegrationsRequest) GetDomainType() authorization.DomainType
- func (*ListIntegrationsRequest) ProtoMessage()
- func (x *ListIntegrationsRequest) ProtoReflect() protoreflect.Message
- func (x *ListIntegrationsRequest) Reset()
- func (x *ListIntegrationsRequest) String() string
- type ListIntegrationsResponse
- func (*ListIntegrationsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListIntegrationsResponse) GetIntegrations() []*Integration
- func (*ListIntegrationsResponse) ProtoMessage()
- func (x *ListIntegrationsResponse) ProtoReflect() protoreflect.Message
- func (x *ListIntegrationsResponse) Reset()
- func (x *ListIntegrationsResponse) String() string
- type ListResourcesRequest
- func (*ListResourcesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListResourcesRequest) GetDomainId() string
- func (x *ListResourcesRequest) GetDomainType() authorization.DomainType
- func (x *ListResourcesRequest) GetIdOrName() string
- func (x *ListResourcesRequest) GetType() string
- func (*ListResourcesRequest) ProtoMessage()
- func (x *ListResourcesRequest) ProtoReflect() protoreflect.Message
- func (x *ListResourcesRequest) Reset()
- func (x *ListResourcesRequest) String() string
- type ListResourcesResponse
- func (*ListResourcesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListResourcesResponse) GetResources() []*ResourceRef
- func (*ListResourcesResponse) ProtoMessage()
- func (x *ListResourcesResponse) ProtoReflect() protoreflect.Message
- func (x *ListResourcesResponse) Reset()
- func (x *ListResourcesResponse) String() string
- type ResourceRef
- func (*ResourceRef) Descriptor() ([]byte, []int)deprecated
- func (x *ResourceRef) GetId() string
- func (x *ResourceRef) GetName() string
- func (x *ResourceRef) GetType() string
- func (*ResourceRef) ProtoMessage()
- func (x *ResourceRef) ProtoReflect() protoreflect.Message
- func (x *ResourceRef) Reset()
- func (x *ResourceRef) String() string
- type UnimplementedIntegrationsServer
- func (UnimplementedIntegrationsServer) CreateIntegration(context.Context, *CreateIntegrationRequest) (*CreateIntegrationResponse, error)
- func (UnimplementedIntegrationsServer) DescribeIntegration(context.Context, *DescribeIntegrationRequest) (*DescribeIntegrationResponse, error)
- func (UnimplementedIntegrationsServer) ListIntegrations(context.Context, *ListIntegrationsRequest) (*ListIntegrationsResponse, error)
- func (UnimplementedIntegrationsServer) ListResources(context.Context, *ListResourcesRequest) (*ListResourcesResponse, error)
- func (UnimplementedIntegrationsServer) UpdateIntegration(context.Context, *UpdateIntegrationRequest) (*UpdateIntegrationResponse, error)
- type UnsafeIntegrationsServer
- type UpdateIntegrationRequest
- func (*UpdateIntegrationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateIntegrationRequest) GetDomainId() string
- func (x *UpdateIntegrationRequest) GetDomainType() authorization.DomainType
- func (x *UpdateIntegrationRequest) GetIdOrName() string
- func (x *UpdateIntegrationRequest) GetIntegration() *Integration
- func (*UpdateIntegrationRequest) ProtoMessage()
- func (x *UpdateIntegrationRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateIntegrationRequest) Reset()
- func (x *UpdateIntegrationRequest) String() string
- type UpdateIntegrationResponse
- func (*UpdateIntegrationResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateIntegrationResponse) GetIntegration() *Integration
- func (*UpdateIntegrationResponse) ProtoMessage()
- func (x *UpdateIntegrationResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateIntegrationResponse) Reset()
- func (x *UpdateIntegrationResponse) String() string
- type ValueFrom
- type ValueFromSecret
- func (*ValueFromSecret) Descriptor() ([]byte, []int)deprecated
- func (x *ValueFromSecret) GetKey() string
- func (x *ValueFromSecret) GetName() string
- func (*ValueFromSecret) ProtoMessage()
- func (x *ValueFromSecret) ProtoReflect() protoreflect.Message
- func (x *ValueFromSecret) Reset()
- func (x *ValueFromSecret) String() string
Constants ¶
const ( Integrations_ListIntegrations_FullMethodName = "/Superplane.Integrations.Integrations/ListIntegrations" Integrations_ListResources_FullMethodName = "/Superplane.Integrations.Integrations/ListResources" Integrations_DescribeIntegration_FullMethodName = "/Superplane.Integrations.Integrations/DescribeIntegration" Integrations_CreateIntegration_FullMethodName = "/Superplane.Integrations.Integrations/CreateIntegration" Integrations_UpdateIntegration_FullMethodName = "/Superplane.Integrations.Integrations/UpdateIntegration" )
Variables ¶
var ( Integration_AuthType_name = map[int32]string{ 0: "AUTH_TYPE_NONE", 1: "AUTH_TYPE_TOKEN", 2: "AUTH_TYPE_OIDC", } Integration_AuthType_value = map[string]int32{ "AUTH_TYPE_NONE": 0, "AUTH_TYPE_TOKEN": 1, "AUTH_TYPE_OIDC": 2, } )
Enum value maps for Integration_AuthType.
var File_integrations_proto protoreflect.FileDescriptor
var Integrations_ServiceDesc = grpc.ServiceDesc{ ServiceName: "Superplane.Integrations.Integrations", HandlerType: (*IntegrationsServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "ListIntegrations", Handler: _Integrations_ListIntegrations_Handler, }, { MethodName: "ListResources", Handler: _Integrations_ListResources_Handler, }, { MethodName: "DescribeIntegration", Handler: _Integrations_DescribeIntegration_Handler, }, { MethodName: "CreateIntegration", Handler: _Integrations_CreateIntegration_Handler, }, { MethodName: "UpdateIntegration", Handler: _Integrations_UpdateIntegration_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "integrations.proto", }
Integrations_ServiceDesc is the grpc.ServiceDesc for Integrations service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterIntegrationsHandler ¶
func RegisterIntegrationsHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterIntegrationsHandler registers the http handlers for service Integrations to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterIntegrationsHandlerClient ¶
func RegisterIntegrationsHandlerClient(ctx context.Context, mux *runtime.ServeMux, client IntegrationsClient) error
RegisterIntegrationsHandlerClient registers the http handlers for service Integrations to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "IntegrationsClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "IntegrationsClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "IntegrationsClient" to call the correct interceptors. This client ignores the HTTP middlewares.
func RegisterIntegrationsHandlerFromEndpoint ¶
func RegisterIntegrationsHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterIntegrationsHandlerFromEndpoint is same as RegisterIntegrationsHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterIntegrationsHandlerServer ¶
func RegisterIntegrationsHandlerServer(ctx context.Context, mux *runtime.ServeMux, server IntegrationsServer) error
RegisterIntegrationsHandlerServer registers the http handlers for service Integrations to "mux". UnaryRPC :call IntegrationsServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterIntegrationsHandlerFromEndpoint instead. GRPC interceptors will not work for this type of registration. To use interceptors, you must use the "runtime.WithMiddlewares" option in the "runtime.NewServeMux" call.
func RegisterIntegrationsServer ¶
func RegisterIntegrationsServer(s grpc.ServiceRegistrar, srv IntegrationsServer)
Types ¶
type CreateIntegrationRequest ¶
type CreateIntegrationRequest struct {
DomainType authorization.DomainType `` /* 133-byte string literal not displayed */
DomainId string `protobuf:"bytes,2,opt,name=domain_id,json=domainId,proto3" json:"domain_id,omitempty"`
Integration *Integration `protobuf:"bytes,3,opt,name=integration,proto3" json:"integration,omitempty"`
// contains filtered or unexported fields
}
func (*CreateIntegrationRequest) Descriptor
deprecated
func (*CreateIntegrationRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateIntegrationRequest.ProtoReflect.Descriptor instead.
func (*CreateIntegrationRequest) GetDomainId ¶
func (x *CreateIntegrationRequest) GetDomainId() string
func (*CreateIntegrationRequest) GetDomainType ¶
func (x *CreateIntegrationRequest) GetDomainType() authorization.DomainType
func (*CreateIntegrationRequest) GetIntegration ¶
func (x *CreateIntegrationRequest) GetIntegration() *Integration
func (*CreateIntegrationRequest) ProtoMessage ¶
func (*CreateIntegrationRequest) ProtoMessage()
func (*CreateIntegrationRequest) ProtoReflect ¶
func (x *CreateIntegrationRequest) ProtoReflect() protoreflect.Message
func (*CreateIntegrationRequest) Reset ¶
func (x *CreateIntegrationRequest) Reset()
func (*CreateIntegrationRequest) String ¶
func (x *CreateIntegrationRequest) String() string
type CreateIntegrationResponse ¶
type CreateIntegrationResponse struct {
Integration *Integration `protobuf:"bytes,1,opt,name=integration,proto3" json:"integration,omitempty"`
// contains filtered or unexported fields
}
func (*CreateIntegrationResponse) Descriptor
deprecated
func (*CreateIntegrationResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateIntegrationResponse.ProtoReflect.Descriptor instead.
func (*CreateIntegrationResponse) GetIntegration ¶
func (x *CreateIntegrationResponse) GetIntegration() *Integration
func (*CreateIntegrationResponse) ProtoMessage ¶
func (*CreateIntegrationResponse) ProtoMessage()
func (*CreateIntegrationResponse) ProtoReflect ¶
func (x *CreateIntegrationResponse) ProtoReflect() protoreflect.Message
func (*CreateIntegrationResponse) Reset ¶
func (x *CreateIntegrationResponse) Reset()
func (*CreateIntegrationResponse) String ¶
func (x *CreateIntegrationResponse) String() string
type DescribeIntegrationRequest ¶
type DescribeIntegrationRequest struct {
DomainType authorization.DomainType `` /* 133-byte string literal not displayed */
DomainId string `protobuf:"bytes,2,opt,name=domain_id,json=domainId,proto3" json:"domain_id,omitempty"`
IdOrName string `protobuf:"bytes,3,opt,name=id_or_name,json=idOrName,proto3" json:"id_or_name,omitempty"`
// contains filtered or unexported fields
}
func (*DescribeIntegrationRequest) Descriptor
deprecated
func (*DescribeIntegrationRequest) Descriptor() ([]byte, []int)
Deprecated: Use DescribeIntegrationRequest.ProtoReflect.Descriptor instead.
func (*DescribeIntegrationRequest) GetDomainId ¶
func (x *DescribeIntegrationRequest) GetDomainId() string
func (*DescribeIntegrationRequest) GetDomainType ¶
func (x *DescribeIntegrationRequest) GetDomainType() authorization.DomainType
func (*DescribeIntegrationRequest) GetIdOrName ¶
func (x *DescribeIntegrationRequest) GetIdOrName() string
func (*DescribeIntegrationRequest) ProtoMessage ¶
func (*DescribeIntegrationRequest) ProtoMessage()
func (*DescribeIntegrationRequest) ProtoReflect ¶
func (x *DescribeIntegrationRequest) ProtoReflect() protoreflect.Message
func (*DescribeIntegrationRequest) Reset ¶
func (x *DescribeIntegrationRequest) Reset()
func (*DescribeIntegrationRequest) String ¶
func (x *DescribeIntegrationRequest) String() string
type DescribeIntegrationResponse ¶
type DescribeIntegrationResponse struct {
Integration *Integration `protobuf:"bytes,1,opt,name=integration,proto3" json:"integration,omitempty"`
// contains filtered or unexported fields
}
func (*DescribeIntegrationResponse) Descriptor
deprecated
func (*DescribeIntegrationResponse) Descriptor() ([]byte, []int)
Deprecated: Use DescribeIntegrationResponse.ProtoReflect.Descriptor instead.
func (*DescribeIntegrationResponse) GetIntegration ¶
func (x *DescribeIntegrationResponse) GetIntegration() *Integration
func (*DescribeIntegrationResponse) ProtoMessage ¶
func (*DescribeIntegrationResponse) ProtoMessage()
func (*DescribeIntegrationResponse) ProtoReflect ¶
func (x *DescribeIntegrationResponse) ProtoReflect() protoreflect.Message
func (*DescribeIntegrationResponse) Reset ¶
func (x *DescribeIntegrationResponse) Reset()
func (*DescribeIntegrationResponse) String ¶
func (x *DescribeIntegrationResponse) String() string
type Integration ¶
type Integration struct {
Metadata *Integration_Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
Spec *Integration_Spec `protobuf:"bytes,2,opt,name=spec,proto3" json:"spec,omitempty"`
// contains filtered or unexported fields
}
func (*Integration) Descriptor
deprecated
func (*Integration) Descriptor() ([]byte, []int)
Deprecated: Use Integration.ProtoReflect.Descriptor instead.
func (*Integration) GetMetadata ¶
func (x *Integration) GetMetadata() *Integration_Metadata
func (*Integration) GetSpec ¶
func (x *Integration) GetSpec() *Integration_Spec
func (*Integration) ProtoMessage ¶
func (*Integration) ProtoMessage()
func (*Integration) ProtoReflect ¶
func (x *Integration) ProtoReflect() protoreflect.Message
func (*Integration) Reset ¶
func (x *Integration) Reset()
func (*Integration) String ¶
func (x *Integration) String() string
type IntegrationRef ¶
type IntegrationRef struct {
DomainType authorization.DomainType `` /* 133-byte string literal not displayed */
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
func (*IntegrationRef) Descriptor
deprecated
func (*IntegrationRef) Descriptor() ([]byte, []int)
Deprecated: Use IntegrationRef.ProtoReflect.Descriptor instead.
func (*IntegrationRef) GetDomainType ¶
func (x *IntegrationRef) GetDomainType() authorization.DomainType
func (*IntegrationRef) GetName ¶
func (x *IntegrationRef) GetName() string
func (*IntegrationRef) ProtoMessage ¶
func (*IntegrationRef) ProtoMessage()
func (*IntegrationRef) ProtoReflect ¶
func (x *IntegrationRef) ProtoReflect() protoreflect.Message
func (*IntegrationRef) Reset ¶
func (x *IntegrationRef) Reset()
func (*IntegrationRef) String ¶
func (x *IntegrationRef) String() string
type Integration_Auth ¶
type Integration_Auth struct {
Use Integration_AuthType `protobuf:"varint,1,opt,name=use,proto3,enum=Superplane.Integrations.Integration_AuthType" json:"use,omitempty"`
Token *Integration_Auth_Token `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"`
// contains filtered or unexported fields
}
func (*Integration_Auth) Descriptor
deprecated
func (*Integration_Auth) Descriptor() ([]byte, []int)
Deprecated: Use Integration_Auth.ProtoReflect.Descriptor instead.
func (*Integration_Auth) GetToken ¶
func (x *Integration_Auth) GetToken() *Integration_Auth_Token
func (*Integration_Auth) GetUse ¶
func (x *Integration_Auth) GetUse() Integration_AuthType
func (*Integration_Auth) ProtoMessage ¶
func (*Integration_Auth) ProtoMessage()
func (*Integration_Auth) ProtoReflect ¶
func (x *Integration_Auth) ProtoReflect() protoreflect.Message
func (*Integration_Auth) Reset ¶
func (x *Integration_Auth) Reset()
func (*Integration_Auth) String ¶
func (x *Integration_Auth) String() string
type Integration_AuthType ¶
type Integration_AuthType int32
const ( Integration_AUTH_TYPE_NONE Integration_AuthType = 0 Integration_AUTH_TYPE_TOKEN Integration_AuthType = 1 Integration_AUTH_TYPE_OIDC Integration_AuthType = 2 )
func (Integration_AuthType) Descriptor ¶
func (Integration_AuthType) Descriptor() protoreflect.EnumDescriptor
func (Integration_AuthType) Enum ¶
func (x Integration_AuthType) Enum() *Integration_AuthType
func (Integration_AuthType) EnumDescriptor
deprecated
func (Integration_AuthType) EnumDescriptor() ([]byte, []int)
Deprecated: Use Integration_AuthType.Descriptor instead.
func (Integration_AuthType) Number ¶
func (x Integration_AuthType) Number() protoreflect.EnumNumber
func (Integration_AuthType) String ¶
func (x Integration_AuthType) String() string
func (Integration_AuthType) Type ¶
func (Integration_AuthType) Type() protoreflect.EnumType
type Integration_Auth_Token ¶
type Integration_Auth_Token struct {
ValueFrom *ValueFrom `protobuf:"bytes,1,opt,name=value_from,json=valueFrom,proto3" json:"value_from,omitempty"`
// contains filtered or unexported fields
}
func (*Integration_Auth_Token) Descriptor
deprecated
func (*Integration_Auth_Token) Descriptor() ([]byte, []int)
Deprecated: Use Integration_Auth_Token.ProtoReflect.Descriptor instead.
func (*Integration_Auth_Token) GetValueFrom ¶
func (x *Integration_Auth_Token) GetValueFrom() *ValueFrom
func (*Integration_Auth_Token) ProtoMessage ¶
func (*Integration_Auth_Token) ProtoMessage()
func (*Integration_Auth_Token) ProtoReflect ¶
func (x *Integration_Auth_Token) ProtoReflect() protoreflect.Message
func (*Integration_Auth_Token) Reset ¶
func (x *Integration_Auth_Token) Reset()
func (*Integration_Auth_Token) String ¶
func (x *Integration_Auth_Token) String() string
type Integration_Metadata ¶
type Integration_Metadata struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
CreatedBy string `protobuf:"bytes,3,opt,name=created_by,json=createdBy,proto3" json:"created_by,omitempty"`
CreatedAt *timestamp.Timestamp `protobuf:"bytes,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
DomainType authorization.DomainType `` /* 133-byte string literal not displayed */
DomainId string `protobuf:"bytes,6,opt,name=domain_id,json=domainId,proto3" json:"domain_id,omitempty"`
// contains filtered or unexported fields
}
func (*Integration_Metadata) Descriptor
deprecated
func (*Integration_Metadata) Descriptor() ([]byte, []int)
Deprecated: Use Integration_Metadata.ProtoReflect.Descriptor instead.
func (*Integration_Metadata) GetCreatedAt ¶
func (x *Integration_Metadata) GetCreatedAt() *timestamp.Timestamp
func (*Integration_Metadata) GetCreatedBy ¶
func (x *Integration_Metadata) GetCreatedBy() string
func (*Integration_Metadata) GetDomainId ¶
func (x *Integration_Metadata) GetDomainId() string
func (*Integration_Metadata) GetDomainType ¶
func (x *Integration_Metadata) GetDomainType() authorization.DomainType
func (*Integration_Metadata) GetId ¶
func (x *Integration_Metadata) GetId() string
func (*Integration_Metadata) GetName ¶
func (x *Integration_Metadata) GetName() string
func (*Integration_Metadata) ProtoMessage ¶
func (*Integration_Metadata) ProtoMessage()
func (*Integration_Metadata) ProtoReflect ¶
func (x *Integration_Metadata) ProtoReflect() protoreflect.Message
func (*Integration_Metadata) Reset ¶
func (x *Integration_Metadata) Reset()
func (*Integration_Metadata) String ¶
func (x *Integration_Metadata) String() string
type Integration_Spec ¶
type Integration_Spec struct {
Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"`
Auth *Integration_Auth `protobuf:"bytes,3,opt,name=auth,proto3" json:"auth,omitempty"`
// contains filtered or unexported fields
}
func (*Integration_Spec) Descriptor
deprecated
func (*Integration_Spec) Descriptor() ([]byte, []int)
Deprecated: Use Integration_Spec.ProtoReflect.Descriptor instead.
func (*Integration_Spec) GetAuth ¶
func (x *Integration_Spec) GetAuth() *Integration_Auth
func (*Integration_Spec) GetType ¶
func (x *Integration_Spec) GetType() string
func (*Integration_Spec) GetUrl ¶
func (x *Integration_Spec) GetUrl() string
func (*Integration_Spec) ProtoMessage ¶
func (*Integration_Spec) ProtoMessage()
func (*Integration_Spec) ProtoReflect ¶
func (x *Integration_Spec) ProtoReflect() protoreflect.Message
func (*Integration_Spec) Reset ¶
func (x *Integration_Spec) Reset()
func (*Integration_Spec) String ¶
func (x *Integration_Spec) String() string
type IntegrationsClient ¶
type IntegrationsClient interface {
ListIntegrations(ctx context.Context, in *ListIntegrationsRequest, opts ...grpc.CallOption) (*ListIntegrationsResponse, error)
ListResources(ctx context.Context, in *ListResourcesRequest, opts ...grpc.CallOption) (*ListResourcesResponse, error)
DescribeIntegration(ctx context.Context, in *DescribeIntegrationRequest, opts ...grpc.CallOption) (*DescribeIntegrationResponse, error)
CreateIntegration(ctx context.Context, in *CreateIntegrationRequest, opts ...grpc.CallOption) (*CreateIntegrationResponse, error)
UpdateIntegration(ctx context.Context, in *UpdateIntegrationRequest, opts ...grpc.CallOption) (*UpdateIntegrationResponse, error)
}
IntegrationsClient is the client API for Integrations 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 NewIntegrationsClient ¶
func NewIntegrationsClient(cc grpc.ClientConnInterface) IntegrationsClient
type IntegrationsServer ¶
type IntegrationsServer interface {
ListIntegrations(context.Context, *ListIntegrationsRequest) (*ListIntegrationsResponse, error)
ListResources(context.Context, *ListResourcesRequest) (*ListResourcesResponse, error)
DescribeIntegration(context.Context, *DescribeIntegrationRequest) (*DescribeIntegrationResponse, error)
CreateIntegration(context.Context, *CreateIntegrationRequest) (*CreateIntegrationResponse, error)
UpdateIntegration(context.Context, *UpdateIntegrationRequest) (*UpdateIntegrationResponse, error)
}
IntegrationsServer is the server API for Integrations service. All implementations should embed UnimplementedIntegrationsServer for forward compatibility.
type ListIntegrationsRequest ¶
type ListIntegrationsRequest struct {
DomainType authorization.DomainType `` /* 133-byte string literal not displayed */
DomainId string `protobuf:"bytes,2,opt,name=domain_id,json=domainId,proto3" json:"domain_id,omitempty"`
// contains filtered or unexported fields
}
func (*ListIntegrationsRequest) Descriptor
deprecated
func (*ListIntegrationsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListIntegrationsRequest.ProtoReflect.Descriptor instead.
func (*ListIntegrationsRequest) GetDomainId ¶
func (x *ListIntegrationsRequest) GetDomainId() string
func (*ListIntegrationsRequest) GetDomainType ¶
func (x *ListIntegrationsRequest) GetDomainType() authorization.DomainType
func (*ListIntegrationsRequest) ProtoMessage ¶
func (*ListIntegrationsRequest) ProtoMessage()
func (*ListIntegrationsRequest) ProtoReflect ¶
func (x *ListIntegrationsRequest) ProtoReflect() protoreflect.Message
func (*ListIntegrationsRequest) Reset ¶
func (x *ListIntegrationsRequest) Reset()
func (*ListIntegrationsRequest) String ¶
func (x *ListIntegrationsRequest) String() string
type ListIntegrationsResponse ¶
type ListIntegrationsResponse struct {
Integrations []*Integration `protobuf:"bytes,1,rep,name=integrations,proto3" json:"integrations,omitempty"`
// contains filtered or unexported fields
}
func (*ListIntegrationsResponse) Descriptor
deprecated
func (*ListIntegrationsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListIntegrationsResponse.ProtoReflect.Descriptor instead.
func (*ListIntegrationsResponse) GetIntegrations ¶
func (x *ListIntegrationsResponse) GetIntegrations() []*Integration
func (*ListIntegrationsResponse) ProtoMessage ¶
func (*ListIntegrationsResponse) ProtoMessage()
func (*ListIntegrationsResponse) ProtoReflect ¶
func (x *ListIntegrationsResponse) ProtoReflect() protoreflect.Message
func (*ListIntegrationsResponse) Reset ¶
func (x *ListIntegrationsResponse) Reset()
func (*ListIntegrationsResponse) String ¶
func (x *ListIntegrationsResponse) String() string
type ListResourcesRequest ¶
type ListResourcesRequest struct {
DomainType authorization.DomainType `` /* 133-byte string literal not displayed */
DomainId string `protobuf:"bytes,2,opt,name=domain_id,json=domainId,proto3" json:"domain_id,omitempty"`
IdOrName string `protobuf:"bytes,3,opt,name=id_or_name,json=idOrName,proto3" json:"id_or_name,omitempty"`
Type string `protobuf:"bytes,4,opt,name=type,proto3" json:"type,omitempty"`
// contains filtered or unexported fields
}
func (*ListResourcesRequest) Descriptor
deprecated
func (*ListResourcesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListResourcesRequest.ProtoReflect.Descriptor instead.
func (*ListResourcesRequest) GetDomainId ¶
func (x *ListResourcesRequest) GetDomainId() string
func (*ListResourcesRequest) GetDomainType ¶
func (x *ListResourcesRequest) GetDomainType() authorization.DomainType
func (*ListResourcesRequest) GetIdOrName ¶
func (x *ListResourcesRequest) GetIdOrName() string
func (*ListResourcesRequest) GetType ¶
func (x *ListResourcesRequest) GetType() string
func (*ListResourcesRequest) ProtoMessage ¶
func (*ListResourcesRequest) ProtoMessage()
func (*ListResourcesRequest) ProtoReflect ¶
func (x *ListResourcesRequest) ProtoReflect() protoreflect.Message
func (*ListResourcesRequest) Reset ¶
func (x *ListResourcesRequest) Reset()
func (*ListResourcesRequest) String ¶
func (x *ListResourcesRequest) String() string
type ListResourcesResponse ¶
type ListResourcesResponse struct {
Resources []*ResourceRef `protobuf:"bytes,1,rep,name=resources,proto3" json:"resources,omitempty"`
// contains filtered or unexported fields
}
func (*ListResourcesResponse) Descriptor
deprecated
func (*ListResourcesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListResourcesResponse.ProtoReflect.Descriptor instead.
func (*ListResourcesResponse) GetResources ¶
func (x *ListResourcesResponse) GetResources() []*ResourceRef
func (*ListResourcesResponse) ProtoMessage ¶
func (*ListResourcesResponse) ProtoMessage()
func (*ListResourcesResponse) ProtoReflect ¶
func (x *ListResourcesResponse) ProtoReflect() protoreflect.Message
func (*ListResourcesResponse) Reset ¶
func (x *ListResourcesResponse) Reset()
func (*ListResourcesResponse) String ¶
func (x *ListResourcesResponse) String() string
type ResourceRef ¶
type ResourceRef struct {
Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
Id string `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"`
// contains filtered or unexported fields
}
func (*ResourceRef) Descriptor
deprecated
func (*ResourceRef) Descriptor() ([]byte, []int)
Deprecated: Use ResourceRef.ProtoReflect.Descriptor instead.
func (*ResourceRef) GetId ¶
func (x *ResourceRef) GetId() string
func (*ResourceRef) GetName ¶
func (x *ResourceRef) GetName() string
func (*ResourceRef) GetType ¶
func (x *ResourceRef) GetType() string
func (*ResourceRef) ProtoMessage ¶
func (*ResourceRef) ProtoMessage()
func (*ResourceRef) ProtoReflect ¶
func (x *ResourceRef) ProtoReflect() protoreflect.Message
func (*ResourceRef) Reset ¶
func (x *ResourceRef) Reset()
func (*ResourceRef) String ¶
func (x *ResourceRef) String() string
type UnimplementedIntegrationsServer ¶
type UnimplementedIntegrationsServer struct{}
UnimplementedIntegrationsServer should be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedIntegrationsServer) CreateIntegration ¶
func (UnimplementedIntegrationsServer) CreateIntegration(context.Context, *CreateIntegrationRequest) (*CreateIntegrationResponse, error)
func (UnimplementedIntegrationsServer) DescribeIntegration ¶
func (UnimplementedIntegrationsServer) DescribeIntegration(context.Context, *DescribeIntegrationRequest) (*DescribeIntegrationResponse, error)
func (UnimplementedIntegrationsServer) ListIntegrations ¶
func (UnimplementedIntegrationsServer) ListIntegrations(context.Context, *ListIntegrationsRequest) (*ListIntegrationsResponse, error)
func (UnimplementedIntegrationsServer) ListResources ¶
func (UnimplementedIntegrationsServer) ListResources(context.Context, *ListResourcesRequest) (*ListResourcesResponse, error)
func (UnimplementedIntegrationsServer) UpdateIntegration ¶
func (UnimplementedIntegrationsServer) UpdateIntegration(context.Context, *UpdateIntegrationRequest) (*UpdateIntegrationResponse, error)
type UnsafeIntegrationsServer ¶
type UnsafeIntegrationsServer interface {
// contains filtered or unexported methods
}
UnsafeIntegrationsServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to IntegrationsServer will result in compilation errors.
type UpdateIntegrationRequest ¶
type UpdateIntegrationRequest struct {
DomainType authorization.DomainType `` /* 133-byte string literal not displayed */
DomainId string `protobuf:"bytes,2,opt,name=domain_id,json=domainId,proto3" json:"domain_id,omitempty"`
IdOrName string `protobuf:"bytes,3,opt,name=id_or_name,json=idOrName,proto3" json:"id_or_name,omitempty"`
Integration *Integration `protobuf:"bytes,4,opt,name=integration,proto3" json:"integration,omitempty"`
// contains filtered or unexported fields
}
func (*UpdateIntegrationRequest) Descriptor
deprecated
func (*UpdateIntegrationRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateIntegrationRequest.ProtoReflect.Descriptor instead.
func (*UpdateIntegrationRequest) GetDomainId ¶
func (x *UpdateIntegrationRequest) GetDomainId() string
func (*UpdateIntegrationRequest) GetDomainType ¶
func (x *UpdateIntegrationRequest) GetDomainType() authorization.DomainType
func (*UpdateIntegrationRequest) GetIdOrName ¶
func (x *UpdateIntegrationRequest) GetIdOrName() string
func (*UpdateIntegrationRequest) GetIntegration ¶
func (x *UpdateIntegrationRequest) GetIntegration() *Integration
func (*UpdateIntegrationRequest) ProtoMessage ¶
func (*UpdateIntegrationRequest) ProtoMessage()
func (*UpdateIntegrationRequest) ProtoReflect ¶
func (x *UpdateIntegrationRequest) ProtoReflect() protoreflect.Message
func (*UpdateIntegrationRequest) Reset ¶
func (x *UpdateIntegrationRequest) Reset()
func (*UpdateIntegrationRequest) String ¶
func (x *UpdateIntegrationRequest) String() string
type UpdateIntegrationResponse ¶
type UpdateIntegrationResponse struct {
Integration *Integration `protobuf:"bytes,1,opt,name=integration,proto3" json:"integration,omitempty"`
// contains filtered or unexported fields
}
func (*UpdateIntegrationResponse) Descriptor
deprecated
func (*UpdateIntegrationResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateIntegrationResponse.ProtoReflect.Descriptor instead.
func (*UpdateIntegrationResponse) GetIntegration ¶
func (x *UpdateIntegrationResponse) GetIntegration() *Integration
func (*UpdateIntegrationResponse) ProtoMessage ¶
func (*UpdateIntegrationResponse) ProtoMessage()
func (*UpdateIntegrationResponse) ProtoReflect ¶
func (x *UpdateIntegrationResponse) ProtoReflect() protoreflect.Message
func (*UpdateIntegrationResponse) Reset ¶
func (x *UpdateIntegrationResponse) Reset()
func (*UpdateIntegrationResponse) String ¶
func (x *UpdateIntegrationResponse) String() string
type ValueFrom ¶
type ValueFrom struct {
Secret *ValueFromSecret `protobuf:"bytes,3,opt,name=secret,proto3" json:"secret,omitempty"`
// contains filtered or unexported fields
}
func (*ValueFrom) Descriptor
deprecated
func (*ValueFrom) GetSecret ¶
func (x *ValueFrom) GetSecret() *ValueFromSecret
func (*ValueFrom) ProtoMessage ¶
func (*ValueFrom) ProtoMessage()
func (*ValueFrom) ProtoReflect ¶
func (x *ValueFrom) ProtoReflect() protoreflect.Message
type ValueFromSecret ¶
type ValueFromSecret struct {
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
Key string `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty"`
// contains filtered or unexported fields
}
func (*ValueFromSecret) Descriptor
deprecated
func (*ValueFromSecret) Descriptor() ([]byte, []int)
Deprecated: Use ValueFromSecret.ProtoReflect.Descriptor instead.
func (*ValueFromSecret) GetKey ¶
func (x *ValueFromSecret) GetKey() string
func (*ValueFromSecret) GetName ¶
func (x *ValueFromSecret) GetName() string
func (*ValueFromSecret) ProtoMessage ¶
func (*ValueFromSecret) ProtoMessage()
func (*ValueFromSecret) ProtoReflect ¶
func (x *ValueFromSecret) ProtoReflect() protoreflect.Message
func (*ValueFromSecret) Reset ¶
func (x *ValueFromSecret) Reset()
func (*ValueFromSecret) String ¶
func (x *ValueFromSecret) String() string