Documentation
¶
Index ¶
- Variables
- func RegisterConnectionServiceServer(s *grpc.Server, srv ConnectionServiceServer)
- type ConnectionServiceClient
- type ConnectionServiceServer
- type CreateConnectionRequest
- func (*CreateConnectionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateConnectionRequest) GetItem() *v1alpha1.Connection
- func (x *CreateConnectionRequest) GetSecret() map[string]string
- func (*CreateConnectionRequest) ProtoMessage()
- func (x *CreateConnectionRequest) ProtoReflect() protoreflect.Message
- func (x *CreateConnectionRequest) Reset()
- func (x *CreateConnectionRequest) String() string
- type CreateConnectionResponse
- type DeleteConnectionRequest
- func (*DeleteConnectionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteConnectionRequest) GetName() string
- func (x *DeleteConnectionRequest) GetNamespace() string
- func (*DeleteConnectionRequest) ProtoMessage()
- func (x *DeleteConnectionRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteConnectionRequest) Reset()
- func (x *DeleteConnectionRequest) String() string
- type DeleteConnectionResponse
- type GetConnectionRequest
- func (*GetConnectionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetConnectionRequest) GetName() string
- func (x *GetConnectionRequest) GetNamespace() string
- func (*GetConnectionRequest) ProtoMessage()
- func (x *GetConnectionRequest) ProtoReflect() protoreflect.Message
- func (x *GetConnectionRequest) Reset()
- func (x *GetConnectionRequest) String() string
- type GetConnectionResponse
- func (*GetConnectionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetConnectionResponse) GetItem() *v1alpha1.Connection
- func (x *GetConnectionResponse) GetYaml() string
- func (*GetConnectionResponse) ProtoMessage()
- func (x *GetConnectionResponse) ProtoReflect() protoreflect.Message
- func (x *GetConnectionResponse) Reset()
- func (x *GetConnectionResponse) String() string
- type ListConnectionsRequest
- func (*ListConnectionsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListConnectionsRequest) GetLabels() map[string]string
- func (x *ListConnectionsRequest) GetNamespace() string
- func (x *ListConnectionsRequest) GetOrderBy() string
- func (x *ListConnectionsRequest) GetPageSize() int32
- func (x *ListConnectionsRequest) GetPageToken() string
- func (*ListConnectionsRequest) ProtoMessage()
- func (x *ListConnectionsRequest) ProtoReflect() protoreflect.Message
- func (x *ListConnectionsRequest) Reset()
- func (x *ListConnectionsRequest) String() string
- type ListConnectionsResponse
- func (*ListConnectionsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListConnectionsResponse) GetItems() *v1alpha1.ConnectionList
- func (*ListConnectionsResponse) ProtoMessage()
- func (x *ListConnectionsResponse) ProtoReflect() protoreflect.Message
- func (x *ListConnectionsResponse) Reset()
- func (x *ListConnectionsResponse) String() string
- type TestConnectionRequest
- func (*TestConnectionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *TestConnectionRequest) GetName() string
- func (x *TestConnectionRequest) GetNamespace() string
- func (*TestConnectionRequest) ProtoMessage()
- func (x *TestConnectionRequest) ProtoReflect() protoreflect.Message
- func (x *TestConnectionRequest) Reset()
- func (x *TestConnectionRequest) String() string
- type TestConnectionResponse
- func (*TestConnectionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *TestConnectionResponse) GetMsg() string
- func (x *TestConnectionResponse) GetStatus() bool
- func (*TestConnectionResponse) ProtoMessage()
- func (x *TestConnectionResponse) ProtoReflect() protoreflect.Message
- func (x *TestConnectionResponse) Reset()
- func (x *TestConnectionResponse) String() string
- type UnimplementedConnectionServiceServer
- func (*UnimplementedConnectionServiceServer) CreateConnection(context.Context, *CreateConnectionRequest) (*CreateConnectionResponse, error)
- func (*UnimplementedConnectionServiceServer) DeleteConnection(context.Context, *DeleteConnectionRequest) (*DeleteConnectionResponse, error)
- func (*UnimplementedConnectionServiceServer) GetConnection(context.Context, *GetConnectionRequest) (*GetConnectionResponse, error)
- func (*UnimplementedConnectionServiceServer) ListConnections(context.Context, *ListConnectionsRequest) (*ListConnectionsResponse, error)
- func (*UnimplementedConnectionServiceServer) TestConnection(context.Context, *TestConnectionRequest) (*TestConnectionResponse, error)
- func (*UnimplementedConnectionServiceServer) UpdateConnection(context.Context, *UpdateConnectionRequest) (*UpdateConnectionResponse, error)
- type UpdateConnectionRequest
- func (*UpdateConnectionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateConnectionRequest) GetFieldMask() *field_mask.FieldMask
- func (x *UpdateConnectionRequest) GetItem() *v1alpha1.Connection
- func (x *UpdateConnectionRequest) GetSecret() map[string]string
- func (*UpdateConnectionRequest) ProtoMessage()
- func (x *UpdateConnectionRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateConnectionRequest) Reset()
- func (x *UpdateConnectionRequest) String() string
- type UpdateConnectionResponse
Constants ¶
This section is empty.
Variables ¶
var File_github_com_metaprov_modelaapi_services_connection_v1_connection_proto protoreflect.FileDescriptor
Functions ¶
func RegisterConnectionServiceServer ¶
func RegisterConnectionServiceServer(s *grpc.Server, srv ConnectionServiceServer)
Types ¶
type ConnectionServiceClient ¶
type ConnectionServiceClient interface { ListConnections(ctx context.Context, in *ListConnectionsRequest, opts ...grpc.CallOption) (*ListConnectionsResponse, error) CreateConnection(ctx context.Context, in *CreateConnectionRequest, opts ...grpc.CallOption) (*CreateConnectionResponse, error) GetConnection(ctx context.Context, in *GetConnectionRequest, opts ...grpc.CallOption) (*GetConnectionResponse, error) UpdateConnection(ctx context.Context, in *UpdateConnectionRequest, opts ...grpc.CallOption) (*UpdateConnectionResponse, error) DeleteConnection(ctx context.Context, in *DeleteConnectionRequest, opts ...grpc.CallOption) (*DeleteConnectionResponse, error) TestConnection(ctx context.Context, in *TestConnectionRequest, opts ...grpc.CallOption) (*TestConnectionResponse, error) }
ConnectionServiceClient is the client API for ConnectionService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewConnectionServiceClient ¶
func NewConnectionServiceClient(cc grpc.ClientConnInterface) ConnectionServiceClient
type ConnectionServiceServer ¶
type ConnectionServiceServer interface { ListConnections(context.Context, *ListConnectionsRequest) (*ListConnectionsResponse, error) CreateConnection(context.Context, *CreateConnectionRequest) (*CreateConnectionResponse, error) GetConnection(context.Context, *GetConnectionRequest) (*GetConnectionResponse, error) UpdateConnection(context.Context, *UpdateConnectionRequest) (*UpdateConnectionResponse, error) DeleteConnection(context.Context, *DeleteConnectionRequest) (*DeleteConnectionResponse, error) TestConnection(context.Context, *TestConnectionRequest) (*TestConnectionResponse, error) }
ConnectionServiceServer is the server API for ConnectionService service.
type CreateConnectionRequest ¶
type CreateConnectionRequest struct { Item *v1alpha1.Connection `protobuf:"bytes,1,opt,name=item,proto3" json:"item,omitempty"` Secret map[string]string `` /* 153-byte string literal not displayed */ // contains filtered or unexported fields }
func (*CreateConnectionRequest) Descriptor
deprecated
func (*CreateConnectionRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateConnectionRequest.ProtoReflect.Descriptor instead.
func (*CreateConnectionRequest) GetItem ¶
func (x *CreateConnectionRequest) GetItem() *v1alpha1.Connection
func (*CreateConnectionRequest) GetSecret ¶
func (x *CreateConnectionRequest) GetSecret() map[string]string
func (*CreateConnectionRequest) ProtoMessage ¶
func (*CreateConnectionRequest) ProtoMessage()
func (*CreateConnectionRequest) ProtoReflect ¶
func (x *CreateConnectionRequest) ProtoReflect() protoreflect.Message
func (*CreateConnectionRequest) Reset ¶
func (x *CreateConnectionRequest) Reset()
func (*CreateConnectionRequest) String ¶
func (x *CreateConnectionRequest) String() string
type CreateConnectionResponse ¶
type CreateConnectionResponse struct {
// contains filtered or unexported fields
}
func (*CreateConnectionResponse) Descriptor
deprecated
func (*CreateConnectionResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateConnectionResponse.ProtoReflect.Descriptor instead.
func (*CreateConnectionResponse) ProtoMessage ¶
func (*CreateConnectionResponse) ProtoMessage()
func (*CreateConnectionResponse) ProtoReflect ¶
func (x *CreateConnectionResponse) ProtoReflect() protoreflect.Message
func (*CreateConnectionResponse) Reset ¶
func (x *CreateConnectionResponse) Reset()
func (*CreateConnectionResponse) String ¶
func (x *CreateConnectionResponse) String() string
type DeleteConnectionRequest ¶
type DeleteConnectionRequest struct { Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*DeleteConnectionRequest) Descriptor
deprecated
func (*DeleteConnectionRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteConnectionRequest.ProtoReflect.Descriptor instead.
func (*DeleteConnectionRequest) GetName ¶
func (x *DeleteConnectionRequest) GetName() string
func (*DeleteConnectionRequest) GetNamespace ¶
func (x *DeleteConnectionRequest) GetNamespace() string
func (*DeleteConnectionRequest) ProtoMessage ¶
func (*DeleteConnectionRequest) ProtoMessage()
func (*DeleteConnectionRequest) ProtoReflect ¶
func (x *DeleteConnectionRequest) ProtoReflect() protoreflect.Message
func (*DeleteConnectionRequest) Reset ¶
func (x *DeleteConnectionRequest) Reset()
func (*DeleteConnectionRequest) String ¶
func (x *DeleteConnectionRequest) String() string
type DeleteConnectionResponse ¶
type DeleteConnectionResponse struct {
// contains filtered or unexported fields
}
func (*DeleteConnectionResponse) Descriptor
deprecated
func (*DeleteConnectionResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteConnectionResponse.ProtoReflect.Descriptor instead.
func (*DeleteConnectionResponse) ProtoMessage ¶
func (*DeleteConnectionResponse) ProtoMessage()
func (*DeleteConnectionResponse) ProtoReflect ¶
func (x *DeleteConnectionResponse) ProtoReflect() protoreflect.Message
func (*DeleteConnectionResponse) Reset ¶
func (x *DeleteConnectionResponse) Reset()
func (*DeleteConnectionResponse) String ¶
func (x *DeleteConnectionResponse) String() string
type GetConnectionRequest ¶
type GetConnectionRequest struct { Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*GetConnectionRequest) Descriptor
deprecated
func (*GetConnectionRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetConnectionRequest.ProtoReflect.Descriptor instead.
func (*GetConnectionRequest) GetName ¶
func (x *GetConnectionRequest) GetName() string
func (*GetConnectionRequest) GetNamespace ¶
func (x *GetConnectionRequest) GetNamespace() string
func (*GetConnectionRequest) ProtoMessage ¶
func (*GetConnectionRequest) ProtoMessage()
func (*GetConnectionRequest) ProtoReflect ¶
func (x *GetConnectionRequest) ProtoReflect() protoreflect.Message
func (*GetConnectionRequest) Reset ¶
func (x *GetConnectionRequest) Reset()
func (*GetConnectionRequest) String ¶
func (x *GetConnectionRequest) String() string
type GetConnectionResponse ¶
type GetConnectionResponse struct { Item *v1alpha1.Connection `protobuf:"bytes,1,opt,name=item,proto3" json:"item,omitempty"` Yaml string `protobuf:"bytes,2,opt,name=yaml,proto3" json:"yaml,omitempty"` // contains filtered or unexported fields }
func (*GetConnectionResponse) Descriptor
deprecated
func (*GetConnectionResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetConnectionResponse.ProtoReflect.Descriptor instead.
func (*GetConnectionResponse) GetItem ¶
func (x *GetConnectionResponse) GetItem() *v1alpha1.Connection
func (*GetConnectionResponse) GetYaml ¶
func (x *GetConnectionResponse) GetYaml() string
func (*GetConnectionResponse) ProtoMessage ¶
func (*GetConnectionResponse) ProtoMessage()
func (*GetConnectionResponse) ProtoReflect ¶
func (x *GetConnectionResponse) ProtoReflect() protoreflect.Message
func (*GetConnectionResponse) Reset ¶
func (x *GetConnectionResponse) Reset()
func (*GetConnectionResponse) String ¶
func (x *GetConnectionResponse) String() string
type ListConnectionsRequest ¶
type ListConnectionsRequest struct { Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` Labels map[string]string `` /* 153-byte string literal not displayed */ PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"` // contains filtered or unexported fields }
func (*ListConnectionsRequest) Descriptor
deprecated
func (*ListConnectionsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListConnectionsRequest.ProtoReflect.Descriptor instead.
func (*ListConnectionsRequest) GetLabels ¶
func (x *ListConnectionsRequest) GetLabels() map[string]string
func (*ListConnectionsRequest) GetNamespace ¶
func (x *ListConnectionsRequest) GetNamespace() string
func (*ListConnectionsRequest) GetOrderBy ¶ added in v0.4.414
func (x *ListConnectionsRequest) GetOrderBy() string
func (*ListConnectionsRequest) GetPageSize ¶ added in v0.4.414
func (x *ListConnectionsRequest) GetPageSize() int32
func (*ListConnectionsRequest) GetPageToken ¶ added in v0.4.414
func (x *ListConnectionsRequest) GetPageToken() string
func (*ListConnectionsRequest) ProtoMessage ¶
func (*ListConnectionsRequest) ProtoMessage()
func (*ListConnectionsRequest) ProtoReflect ¶
func (x *ListConnectionsRequest) ProtoReflect() protoreflect.Message
func (*ListConnectionsRequest) Reset ¶
func (x *ListConnectionsRequest) Reset()
func (*ListConnectionsRequest) String ¶
func (x *ListConnectionsRequest) String() string
type ListConnectionsResponse ¶
type ListConnectionsResponse struct { Items *v1alpha1.ConnectionList `protobuf:"bytes,1,opt,name=items,proto3" json:"items,omitempty"` // contains filtered or unexported fields }
func (*ListConnectionsResponse) Descriptor
deprecated
func (*ListConnectionsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListConnectionsResponse.ProtoReflect.Descriptor instead.
func (*ListConnectionsResponse) GetItems ¶
func (x *ListConnectionsResponse) GetItems() *v1alpha1.ConnectionList
func (*ListConnectionsResponse) ProtoMessage ¶
func (*ListConnectionsResponse) ProtoMessage()
func (*ListConnectionsResponse) ProtoReflect ¶
func (x *ListConnectionsResponse) ProtoReflect() protoreflect.Message
func (*ListConnectionsResponse) Reset ¶
func (x *ListConnectionsResponse) Reset()
func (*ListConnectionsResponse) String ¶
func (x *ListConnectionsResponse) String() string
type TestConnectionRequest ¶
type TestConnectionRequest struct { Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*TestConnectionRequest) Descriptor
deprecated
func (*TestConnectionRequest) Descriptor() ([]byte, []int)
Deprecated: Use TestConnectionRequest.ProtoReflect.Descriptor instead.
func (*TestConnectionRequest) GetName ¶
func (x *TestConnectionRequest) GetName() string
func (*TestConnectionRequest) GetNamespace ¶
func (x *TestConnectionRequest) GetNamespace() string
func (*TestConnectionRequest) ProtoMessage ¶
func (*TestConnectionRequest) ProtoMessage()
func (*TestConnectionRequest) ProtoReflect ¶
func (x *TestConnectionRequest) ProtoReflect() protoreflect.Message
func (*TestConnectionRequest) Reset ¶
func (x *TestConnectionRequest) Reset()
func (*TestConnectionRequest) String ¶
func (x *TestConnectionRequest) String() string
type TestConnectionResponse ¶
type TestConnectionResponse struct { Status bool `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"` Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` // contains filtered or unexported fields }
func (*TestConnectionResponse) Descriptor
deprecated
func (*TestConnectionResponse) Descriptor() ([]byte, []int)
Deprecated: Use TestConnectionResponse.ProtoReflect.Descriptor instead.
func (*TestConnectionResponse) GetMsg ¶
func (x *TestConnectionResponse) GetMsg() string
func (*TestConnectionResponse) GetStatus ¶
func (x *TestConnectionResponse) GetStatus() bool
func (*TestConnectionResponse) ProtoMessage ¶
func (*TestConnectionResponse) ProtoMessage()
func (*TestConnectionResponse) ProtoReflect ¶
func (x *TestConnectionResponse) ProtoReflect() protoreflect.Message
func (*TestConnectionResponse) Reset ¶
func (x *TestConnectionResponse) Reset()
func (*TestConnectionResponse) String ¶
func (x *TestConnectionResponse) String() string
type UnimplementedConnectionServiceServer ¶
type UnimplementedConnectionServiceServer struct { }
UnimplementedConnectionServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedConnectionServiceServer) CreateConnection ¶
func (*UnimplementedConnectionServiceServer) CreateConnection(context.Context, *CreateConnectionRequest) (*CreateConnectionResponse, error)
func (*UnimplementedConnectionServiceServer) DeleteConnection ¶
func (*UnimplementedConnectionServiceServer) DeleteConnection(context.Context, *DeleteConnectionRequest) (*DeleteConnectionResponse, error)
func (*UnimplementedConnectionServiceServer) GetConnection ¶
func (*UnimplementedConnectionServiceServer) GetConnection(context.Context, *GetConnectionRequest) (*GetConnectionResponse, error)
func (*UnimplementedConnectionServiceServer) ListConnections ¶
func (*UnimplementedConnectionServiceServer) ListConnections(context.Context, *ListConnectionsRequest) (*ListConnectionsResponse, error)
func (*UnimplementedConnectionServiceServer) TestConnection ¶
func (*UnimplementedConnectionServiceServer) TestConnection(context.Context, *TestConnectionRequest) (*TestConnectionResponse, error)
func (*UnimplementedConnectionServiceServer) UpdateConnection ¶
func (*UnimplementedConnectionServiceServer) UpdateConnection(context.Context, *UpdateConnectionRequest) (*UpdateConnectionResponse, error)
type UpdateConnectionRequest ¶
type UpdateConnectionRequest struct { Item *v1alpha1.Connection `protobuf:"bytes,1,opt,name=item,proto3" json:"item,omitempty"` Secret map[string]string `` /* 153-byte string literal not displayed */ FieldMask *field_mask.FieldMask `protobuf:"bytes,3,opt,name=field_mask,json=fieldMask,proto3" json:"field_mask,omitempty"` // contains filtered or unexported fields }
func (*UpdateConnectionRequest) Descriptor
deprecated
func (*UpdateConnectionRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateConnectionRequest.ProtoReflect.Descriptor instead.
func (*UpdateConnectionRequest) GetFieldMask ¶ added in v0.4.422
func (x *UpdateConnectionRequest) GetFieldMask() *field_mask.FieldMask
func (*UpdateConnectionRequest) GetItem ¶
func (x *UpdateConnectionRequest) GetItem() *v1alpha1.Connection
func (*UpdateConnectionRequest) GetSecret ¶
func (x *UpdateConnectionRequest) GetSecret() map[string]string
func (*UpdateConnectionRequest) ProtoMessage ¶
func (*UpdateConnectionRequest) ProtoMessage()
func (*UpdateConnectionRequest) ProtoReflect ¶
func (x *UpdateConnectionRequest) ProtoReflect() protoreflect.Message
func (*UpdateConnectionRequest) Reset ¶
func (x *UpdateConnectionRequest) Reset()
func (*UpdateConnectionRequest) String ¶
func (x *UpdateConnectionRequest) String() string
type UpdateConnectionResponse ¶
type UpdateConnectionResponse struct {
// contains filtered or unexported fields
}
func (*UpdateConnectionResponse) Descriptor
deprecated
func (*UpdateConnectionResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateConnectionResponse.ProtoReflect.Descriptor instead.
func (*UpdateConnectionResponse) ProtoMessage ¶
func (*UpdateConnectionResponse) ProtoMessage()
func (*UpdateConnectionResponse) ProtoReflect ¶
func (x *UpdateConnectionResponse) ProtoReflect() protoreflect.Message
func (*UpdateConnectionResponse) Reset ¶
func (x *UpdateConnectionResponse) Reset()
func (*UpdateConnectionResponse) String ¶
func (x *UpdateConnectionResponse) String() string