Documentation
¶
Index ¶
- func FromAPIHttpBodyKind(kind httpv1.HttpBodyKind) mhttp.HttpBodyKind
- func FromAPIHttpMethod(method httpv1.HttpMethod) string
- func ToAPICredential(cred mcredential.Credential) *credentialv1.Credential
- func ToAPICredentialAnthropic(cred mcredential.CredentialAnthropic) *credentialv1.CredentialAnthropic
- func ToAPICredentialGemini(cred mcredential.CredentialGemini) *credentialv1.CredentialGemini
- func ToAPICredentialKind(kind mcredential.CredentialKind) credentialv1.CredentialKind
- func ToAPICredentialOpenAI(cred mcredential.CredentialOpenAI) *credentialv1.CredentialOpenAi
- func ToAPIEnvironment(env menv.Env) *environmentv1.Environment
- func ToAPIEnvironmentVariable(v menv.Variable) *environmentv1.EnvironmentVariable
- func ToAPIErrorHandling(eh mflow.ErrorHandling) flowv1.ErrorHandling
- func ToAPIFile(file mfile.File) *filev1.File
- func ToAPIFileKind(kind mfile.ContentType) filev1.FileKind
- func ToAPIGraphQLAssert(assert mgraphql.GraphQLAssert) *graphqlv1.GraphQLAssert
- func ToAPIHttp(http mhttp.HTTP) *httpv1.Http
- func ToAPIHttpAssert(assert mhttp.HTTPAssert) *httpv1.HttpAssert
- func ToAPIHttpBodyFormData(form mhttp.HTTPBodyForm) *httpv1.HttpBodyFormData
- func ToAPIHttpBodyFormDataFromMHttp(form mhttp.HTTPBodyForm) *httpv1.HttpBodyFormData
- func ToAPIHttpBodyKind(kind mhttp.HttpBodyKind) httpv1.HttpBodyKind
- func ToAPIHttpBodyRaw(httpID []byte, data string) *httpv1.HttpBodyRaw
- func ToAPIHttpBodyRawFromMHttp(raw mhttp.HTTPBodyRaw) *httpv1.HttpBodyRaw
- func ToAPIHttpBodyUrlEncoded(urlEncoded mhttp.HTTPBodyUrlencoded) *httpv1.HttpBodyUrlEncoded
- func ToAPIHttpBodyUrlEncodedFromMHttp(encoded mhttp.HTTPBodyUrlencoded) *httpv1.HttpBodyUrlEncoded
- func ToAPIHttpHeader(header mhttp.HTTPHeader) *httpv1.HttpHeader
- func ToAPIHttpMethod(method string) httpv1.HttpMethod
- func ToAPIHttpResponse(response mhttp.HTTPResponse) *httpv1.HttpResponse
- func ToAPIHttpResponseAssert(assert mhttp.HTTPResponseAssert) *httpv1.HttpResponseAssert
- func ToAPIHttpResponseHeader(header mhttp.HTTPResponseHeader) *httpv1.HttpResponseHeader
- func ToAPIHttpSearchParam(param mhttp.HTTPSearchParam) *httpv1.HttpSearchParam
- func ToAPIHttpSearchParamFromMHttp(param mhttp.HTTPSearchParam) *httpv1.HttpSearchParam
- func ToAPIHttpVersion(version mhttp.HttpVersion) *httpv1.HttpVersion
- func ToAPINodeKind(kind mflow.NodeKind) flowv1.NodeKind
- func ToModelCredentialKind(kind credentialv1.CredentialKind) mcredential.CredentialKind
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FromAPIHttpBodyKind ¶
func FromAPIHttpBodyKind(kind httpv1.HttpBodyKind) mhttp.HttpBodyKind
FromAPIHttpBodyKind converts API HttpBodyKind to model HttpBodyKind
func FromAPIHttpMethod ¶
func FromAPIHttpMethod(method httpv1.HttpMethod) string
FromAPIHttpMethod converts API HttpMethod to string
func ToAPICredential ¶
func ToAPICredential(cred mcredential.Credential) *credentialv1.Credential
ToAPICredential converts model Credential to API Credential
func ToAPICredentialAnthropic ¶
func ToAPICredentialAnthropic(cred mcredential.CredentialAnthropic) *credentialv1.CredentialAnthropic
ToAPICredentialAnthropic converts model CredentialAnthropic to API CredentialAnthropic
func ToAPICredentialGemini ¶
func ToAPICredentialGemini(cred mcredential.CredentialGemini) *credentialv1.CredentialGemini
ToAPICredentialGemini converts model CredentialGemini to API CredentialGemini
func ToAPICredentialKind ¶
func ToAPICredentialKind(kind mcredential.CredentialKind) credentialv1.CredentialKind
ToAPICredentialKind converts model CredentialKind to API CredentialKind
func ToAPICredentialOpenAI ¶
func ToAPICredentialOpenAI(cred mcredential.CredentialOpenAI) *credentialv1.CredentialOpenAi
ToAPICredentialOpenAI converts model CredentialOpenAI to API CredentialOpenAi
func ToAPIEnvironment ¶
func ToAPIEnvironment(env menv.Env) *environmentv1.Environment
ToAPIEnvironment converts model Environment to API Environment
func ToAPIEnvironmentVariable ¶
func ToAPIEnvironmentVariable(v menv.Variable) *environmentv1.EnvironmentVariable
ToAPIEnvironmentVariable converts model EnvironmentVariable to API EnvironmentVariable
func ToAPIErrorHandling ¶
func ToAPIErrorHandling(eh mflow.ErrorHandling) flowv1.ErrorHandling
ToAPIErrorHandling converts model ErrorHandling to API ErrorHandling
func ToAPIFileKind ¶
func ToAPIFileKind(kind mfile.ContentType) filev1.FileKind
ToAPIFileKind converts a model ContentType to an API FileKind
func ToAPIGraphQLAssert ¶
func ToAPIGraphQLAssert(assert mgraphql.GraphQLAssert) *graphqlv1.GraphQLAssert
ToAPIGraphQLAssert converts model GraphQLAssert to API GraphQLAssert
func ToAPIHttpAssert ¶
func ToAPIHttpAssert(assert mhttp.HTTPAssert) *httpv1.HttpAssert
ToAPIHttpAssert converts model HttpAssert to API HttpAssert
func ToAPIHttpBodyFormData ¶
func ToAPIHttpBodyFormData(form mhttp.HTTPBodyForm) *httpv1.HttpBodyFormData
ToAPIHttpBodyFormData converts model HttpBodyForm to API HttpBodyFormData
func ToAPIHttpBodyFormDataFromMHttp ¶
func ToAPIHttpBodyFormDataFromMHttp(form mhttp.HTTPBodyForm) *httpv1.HttpBodyFormData
ToAPIHttpBodyFormDataFromMHttp converts mhttp.HTTPBodyForm to API HttpBodyFormData
func ToAPIHttpBodyKind ¶
func ToAPIHttpBodyKind(kind mhttp.HttpBodyKind) httpv1.HttpBodyKind
ToAPIHttpBodyKind converts model HttpBodyKind to API HttpBodyKind
func ToAPIHttpBodyRaw ¶
func ToAPIHttpBodyRaw(httpID []byte, data string) *httpv1.HttpBodyRaw
ToAPIHttpBodyRaw converts raw body data to API HttpBodyRaw
func ToAPIHttpBodyRawFromMHttp ¶
func ToAPIHttpBodyRawFromMHttp(raw mhttp.HTTPBodyRaw) *httpv1.HttpBodyRaw
ToAPIHttpBodyRawFromMHttp converts mhttp.HTTPBodyRaw to API HttpBodyRaw
func ToAPIHttpBodyUrlEncoded ¶
func ToAPIHttpBodyUrlEncoded(urlEncoded mhttp.HTTPBodyUrlencoded) *httpv1.HttpBodyUrlEncoded
ToAPIHttpBodyUrlEncoded converts model HttpBodyUrlEncoded to API HttpBodyUrlEncoded
func ToAPIHttpBodyUrlEncodedFromMHttp ¶
func ToAPIHttpBodyUrlEncodedFromMHttp(encoded mhttp.HTTPBodyUrlencoded) *httpv1.HttpBodyUrlEncoded
ToAPIHttpBodyUrlEncodedFromMHttp converts mhttp.HTTPBodyUrlencoded to API HttpBodyUrlEncoded
func ToAPIHttpHeader ¶
func ToAPIHttpHeader(header mhttp.HTTPHeader) *httpv1.HttpHeader
ToAPIHttpHeader converts model HTTPHeader to API HttpHeader
func ToAPIHttpMethod ¶
func ToAPIHttpMethod(method string) httpv1.HttpMethod
ToAPIHttpMethod converts string method to API HttpMethod
func ToAPIHttpResponse ¶
func ToAPIHttpResponse(response mhttp.HTTPResponse) *httpv1.HttpResponse
ToAPIHttpResponse converts DB HttpResponse to API HttpResponse
func ToAPIHttpResponseAssert ¶
func ToAPIHttpResponseAssert(assert mhttp.HTTPResponseAssert) *httpv1.HttpResponseAssert
ToAPIHttpResponseAssert converts DB HttpResponseAssert to API HttpResponseAssert
func ToAPIHttpResponseHeader ¶
func ToAPIHttpResponseHeader(header mhttp.HTTPResponseHeader) *httpv1.HttpResponseHeader
ToAPIHttpResponseHeader converts DB HttpResponseHeader to API HttpResponseHeader
func ToAPIHttpSearchParam ¶
func ToAPIHttpSearchParam(param mhttp.HTTPSearchParam) *httpv1.HttpSearchParam
ToAPIHttpSearchParam converts model HttpSearchParam to API HttpSearchParam
func ToAPIHttpSearchParamFromMHttp ¶
func ToAPIHttpSearchParamFromMHttp(param mhttp.HTTPSearchParam) *httpv1.HttpSearchParam
ToAPIHttpSearchParamFromMHttp converts mhttp.HTTPSearchParam to API HttpSearchParam
func ToAPIHttpVersion ¶
func ToAPIHttpVersion(version mhttp.HttpVersion) *httpv1.HttpVersion
ToAPIHttpVersion converts model HttpVersion to API HttpVersion
func ToAPINodeKind ¶
ToAPINodeKind converts model NodeKind to API NodeKind
func ToModelCredentialKind ¶
func ToModelCredentialKind(kind credentialv1.CredentialKind) mcredential.CredentialKind
ToModelCredentialKind converts API CredentialKind to model CredentialKind
Types ¶
This section is empty.