Versions in this module Expand all Collapse all v0 v0.3.2 Aug 15, 2025 v0.3.1 Aug 15, 2025 v0.3.0 Aug 15, 2025 v0.2.1 Aug 15, 2025 Changes in this version + const BearerAuthScopes + const DefaultAPIBaseURL + func NewCreateAppRequest(server string, params *CreateAppParams, body CreateAppJSONRequestBody) (*http.Request, error) + func NewCreateAppRequestWithBody(server string, params *CreateAppParams, contentType string, body io.Reader) (*http.Request, error) + func NewCreateDeploymentRequest(server string, appId openapi_types.UUID, params *CreateDeploymentParams, ...) (*http.Request, error) + func NewCreateDeploymentRequestWithBody(server string, appId openapi_types.UUID, params *CreateDeploymentParams, ...) (*http.Request, error) + func NewCreateEcrTokenRequest(server string, params *CreateEcrTokenParams, ...) (*http.Request, error) + func NewCreateEcrTokenRequestWithBody(server string, params *CreateEcrTokenParams, contentType string, ...) (*http.Request, error) + func NewDeleteAppRequest(server string, appId openapi_types.UUID, params *DeleteAppParams) (*http.Request, error) + func NewGetAppLogsRequest(server string, appId openapi_types.UUID, params *GetAppLogsParams) (*http.Request, error) + func NewGetAppRequest(server string, appId openapi_types.UUID, params *GetAppParams) (*http.Request, error) + func NewGetUserOrgsRequest(server string, params *GetUserOrgsParams) (*http.Request, error) + func NewListAppComponentsRequest(server string, appId openapi_types.UUID, params *ListAppComponentsParams) (*http.Request, error) + func NewListAppsRequest(server string, params *ListAppsParams) (*http.Request, error) + func NewUpdateComponentsRequest(server string, appId openapi_types.UUID, params *UpdateComponentsParams, ...) (*http.Request, error) + func NewUpdateComponentsRequestWithBody(server string, appId openapi_types.UUID, params *UpdateComponentsParams, ...) (*http.Request, error) + type App struct + AccessControl *AppAccessControl + AllowedRoles *[]string + AppId openapi_types.UUID + AppName string + CreatedAt string + CustomAuth ... + OrgId *string + ProviderError *string + ProviderUrl *string + Status AppStatus + UpdatedAt string + type AppAccessControl string + const AppAccessControlCustom + const AppAccessControlOrg + const AppAccessControlPrivate + const AppAccessControlPublic + type AppStatus string + const AppStatusACTIVE + const AppStatusCREATING + const AppStatusDELETED + const AppStatusDELETING + const AppStatusFAILED + const AppStatusPENDING + type Client struct + Client HttpRequestDoer + RequestEditors []RequestEditorFn + Server string + func NewClient(server string, opts ...ClientOption) (*Client, error) + func (c *Client) CreateApp(ctx context.Context, params *CreateAppParams, body CreateAppJSONRequestBody, ...) (*http.Response, error) + func (c *Client) CreateAppWithBody(ctx context.Context, params *CreateAppParams, contentType string, ...) (*http.Response, error) + func (c *Client) CreateDeployment(ctx context.Context, appId openapi_types.UUID, params *CreateDeploymentParams, ...) (*http.Response, error) + func (c *Client) CreateDeploymentWithBody(ctx context.Context, appId openapi_types.UUID, params *CreateDeploymentParams, ...) (*http.Response, error) + func (c *Client) CreateEcrToken(ctx context.Context, params *CreateEcrTokenParams, ...) (*http.Response, error) + func (c *Client) CreateEcrTokenWithBody(ctx context.Context, params *CreateEcrTokenParams, contentType string, ...) (*http.Response, error) + func (c *Client) DeleteApp(ctx context.Context, appId openapi_types.UUID, params *DeleteAppParams, ...) (*http.Response, error) + func (c *Client) GetApp(ctx context.Context, appId openapi_types.UUID, params *GetAppParams, ...) (*http.Response, error) + func (c *Client) GetAppLogs(ctx context.Context, appId openapi_types.UUID, params *GetAppLogsParams, ...) (*http.Response, error) + func (c *Client) GetUserOrgs(ctx context.Context, params *GetUserOrgsParams, reqEditors ...RequestEditorFn) (*http.Response, error) + func (c *Client) ListAppComponents(ctx context.Context, appId openapi_types.UUID, params *ListAppComponentsParams, ...) (*http.Response, error) + func (c *Client) ListApps(ctx context.Context, params *ListAppsParams, reqEditors ...RequestEditorFn) (*http.Response, error) + func (c *Client) UpdateComponents(ctx context.Context, appId openapi_types.UUID, params *UpdateComponentsParams, ...) (*http.Response, error) + func (c *Client) UpdateComponentsWithBody(ctx context.Context, appId openapi_types.UUID, params *UpdateComponentsParams, ...) (*http.Response, error) + type ClientInterface interface + CreateApp func(ctx context.Context, params *CreateAppParams, body CreateAppJSONRequestBody, ...) (*http.Response, error) + CreateAppWithBody func(ctx context.Context, params *CreateAppParams, contentType string, ...) (*http.Response, error) + CreateDeployment func(ctx context.Context, appId openapi_types.UUID, params *CreateDeploymentParams, ...) (*http.Response, error) + CreateDeploymentWithBody func(ctx context.Context, appId openapi_types.UUID, params *CreateDeploymentParams, ...) (*http.Response, error) + CreateEcrToken func(ctx context.Context, params *CreateEcrTokenParams, ...) (*http.Response, error) + CreateEcrTokenWithBody func(ctx context.Context, params *CreateEcrTokenParams, contentType string, ...) (*http.Response, error) + DeleteApp func(ctx context.Context, appId openapi_types.UUID, params *DeleteAppParams, ...) (*http.Response, error) + GetApp func(ctx context.Context, appId openapi_types.UUID, params *GetAppParams, ...) (*http.Response, error) + GetAppLogs func(ctx context.Context, appId openapi_types.UUID, params *GetAppLogsParams, ...) (*http.Response, error) + GetUserOrgs func(ctx context.Context, params *GetUserOrgsParams, reqEditors ...RequestEditorFn) (*http.Response, error) + ListAppComponents func(ctx context.Context, appId openapi_types.UUID, params *ListAppComponentsParams, ...) (*http.Response, error) + ListApps func(ctx context.Context, params *ListAppsParams, reqEditors ...RequestEditorFn) (*http.Response, error) + UpdateComponents func(ctx context.Context, appId openapi_types.UUID, params *UpdateComponentsParams, ...) (*http.Response, error) + UpdateComponentsWithBody func(ctx context.Context, appId openapi_types.UUID, params *UpdateComponentsParams, ...) (*http.Response, error) + type ClientOption func(*Client) error + func WithBaseURL(baseURL string) ClientOption + func WithHTTPClient(doer HttpRequestDoer) ClientOption + func WithRequestEditorFn(fn RequestEditorFn) ClientOption + type ClientWithResponses struct + func NewClientWithResponses(server string, opts ...ClientOption) (*ClientWithResponses, error) + func (c *ClientWithResponses) CreateAppWithBodyWithResponse(ctx context.Context, params *CreateAppParams, contentType string, ...) (*CreateAppResponse, error) + func (c *ClientWithResponses) CreateAppWithResponse(ctx context.Context, params *CreateAppParams, body CreateAppJSONRequestBody, ...) (*CreateAppResponse, error) + func (c *ClientWithResponses) CreateDeploymentWithBodyWithResponse(ctx context.Context, appId openapi_types.UUID, params *CreateDeploymentParams, ...) (*CreateDeploymentResponse, error) + func (c *ClientWithResponses) CreateDeploymentWithResponse(ctx context.Context, appId openapi_types.UUID, params *CreateDeploymentParams, ...) (*CreateDeploymentResponse, error) + func (c *ClientWithResponses) CreateEcrTokenWithBodyWithResponse(ctx context.Context, params *CreateEcrTokenParams, contentType string, ...) (*CreateEcrTokenResponse, error) + func (c *ClientWithResponses) CreateEcrTokenWithResponse(ctx context.Context, params *CreateEcrTokenParams, ...) (*CreateEcrTokenResponse, error) + func (c *ClientWithResponses) DeleteAppWithResponse(ctx context.Context, appId openapi_types.UUID, params *DeleteAppParams, ...) (*DeleteAppResponse, error) + func (c *ClientWithResponses) GetAppLogsWithResponse(ctx context.Context, appId openapi_types.UUID, params *GetAppLogsParams, ...) (*GetAppLogsResponse, error) + func (c *ClientWithResponses) GetAppWithResponse(ctx context.Context, appId openapi_types.UUID, params *GetAppParams, ...) (*GetAppResponse, error) + func (c *ClientWithResponses) GetUserOrgsWithResponse(ctx context.Context, params *GetUserOrgsParams, reqEditors ...RequestEditorFn) (*GetUserOrgsResponse, error) + func (c *ClientWithResponses) ListAppComponentsWithResponse(ctx context.Context, appId openapi_types.UUID, params *ListAppComponentsParams, ...) (*ListAppComponentsResponse, error) + func (c *ClientWithResponses) ListAppsWithResponse(ctx context.Context, params *ListAppsParams, reqEditors ...RequestEditorFn) (*ListAppsResponse, error) + func (c *ClientWithResponses) UpdateComponentsWithBodyWithResponse(ctx context.Context, appId openapi_types.UUID, params *UpdateComponentsParams, ...) (*UpdateComponentsResponse, error) + func (c *ClientWithResponses) UpdateComponentsWithResponse(ctx context.Context, appId openapi_types.UUID, params *UpdateComponentsParams, ...) (*UpdateComponentsResponse, error) + type ClientWithResponsesInterface interface + CreateAppWithBodyWithResponse func(ctx context.Context, params *CreateAppParams, contentType string, ...) (*CreateAppResponse, error) + CreateAppWithResponse func(ctx context.Context, params *CreateAppParams, body CreateAppJSONRequestBody, ...) (*CreateAppResponse, error) + CreateDeploymentWithBodyWithResponse func(ctx context.Context, appId openapi_types.UUID, params *CreateDeploymentParams, ...) (*CreateDeploymentResponse, error) + CreateDeploymentWithResponse func(ctx context.Context, appId openapi_types.UUID, params *CreateDeploymentParams, ...) (*CreateDeploymentResponse, error) + CreateEcrTokenWithBodyWithResponse func(ctx context.Context, params *CreateEcrTokenParams, contentType string, ...) (*CreateEcrTokenResponse, error) + CreateEcrTokenWithResponse func(ctx context.Context, params *CreateEcrTokenParams, ...) (*CreateEcrTokenResponse, error) + DeleteAppWithResponse func(ctx context.Context, appId openapi_types.UUID, params *DeleteAppParams, ...) (*DeleteAppResponse, error) + GetAppLogsWithResponse func(ctx context.Context, appId openapi_types.UUID, params *GetAppLogsParams, ...) (*GetAppLogsResponse, error) + GetAppWithResponse func(ctx context.Context, appId openapi_types.UUID, params *GetAppParams, ...) (*GetAppResponse, error) + GetUserOrgsWithResponse func(ctx context.Context, params *GetUserOrgsParams, reqEditors ...RequestEditorFn) (*GetUserOrgsResponse, error) + ListAppComponentsWithResponse func(ctx context.Context, appId openapi_types.UUID, params *ListAppComponentsParams, ...) (*ListAppComponentsResponse, error) + ListAppsWithResponse func(ctx context.Context, params *ListAppsParams, reqEditors ...RequestEditorFn) (*ListAppsResponse, error) + UpdateComponentsWithBodyWithResponse func(ctx context.Context, appId openapi_types.UUID, params *UpdateComponentsParams, ...) (*UpdateComponentsResponse, error) + UpdateComponentsWithResponse func(ctx context.Context, appId openapi_types.UUID, params *UpdateComponentsParams, ...) (*UpdateComponentsResponse, error) + type CreateAppJSONRequestBody = CreateAppRequest + type CreateAppParams struct + Authorization string + type CreateAppRequest struct + AccessControl *CreateAppRequestAccessControl + AppName string + type CreateAppRequestAccessControl string + const CreateAppRequestAccessControlCustom + const CreateAppRequestAccessControlOrg + const CreateAppRequestAccessControlPrivate + const CreateAppRequestAccessControlPublic + type CreateAppResponse struct + Body []byte + HTTPResponse *http.Response + JSON201 *CreateAppResponseBody + JSON400 *ErrorResponse + JSON401 *ErrorResponse + JSON409 *ErrorResponse + JSON500 *ErrorResponse + func ParseCreateAppResponse(rsp *http.Response) (*CreateAppResponse, error) + func (r CreateAppResponse) Status() string + func (r CreateAppResponse) StatusCode() int + type CreateAppResponseBody struct + AppId openapi_types.UUID + AppName string + CreatedAt string + Status CreateAppResponseBodyStatus + UpdatedAt string + type CreateAppResponseBodyStatus string + const CreateAppResponseBodyStatusACTIVE + const CreateAppResponseBodyStatusCREATING + const CreateAppResponseBodyStatusDELETED + const CreateAppResponseBodyStatusDELETING + const CreateAppResponseBodyStatusFAILED + const CreateAppResponseBodyStatusPENDING + type CreateDeploymentJSONRequestBody = CreateDeploymentRequest + type CreateDeploymentParams struct + Authorization string + type CreateDeploymentRequest struct + Access *CreateDeploymentRequestAccess + Application struct{ ... } + Auth ... + Environment *CreateDeploymentRequestEnvironment + Variables *map[string]string + type CreateDeploymentRequestAccess string + const CreateDeploymentRequestAccessCustom + const CreateDeploymentRequestAccessOrg + const CreateDeploymentRequestAccessPrivate + const CreateDeploymentRequestAccessPublic + type CreateDeploymentRequestApplicationAccess string + const CreateDeploymentRequestApplicationAccessCustom + const CreateDeploymentRequestApplicationAccessOrg + const CreateDeploymentRequestApplicationAccessPrivate + const CreateDeploymentRequestApplicationAccessPublic + type CreateDeploymentRequestApplicationAuthProvider string + const CreateDeploymentRequestApplicationAuthProviderCustom + const CreateDeploymentRequestApplicationAuthProviderWorkos + type CreateDeploymentRequestAuthProvider string + const CreateDeploymentRequestAuthProviderCustom + const CreateDeploymentRequestAuthProviderWorkos + type CreateDeploymentRequestEnvironment string + const Development + const Production + const Staging + type CreateDeploymentResponse struct + Body []byte + HTTPResponse *http.Response + JSON202 *CreateDeploymentResponseBody + JSON400 *ErrorResponse + JSON401 *ErrorResponse + JSON500 *ErrorResponse + func ParseCreateDeploymentResponse(rsp *http.Response) (*CreateDeploymentResponse, error) + func (r CreateDeploymentResponse) Status() string + func (r CreateDeploymentResponse) StatusCode() int + type CreateDeploymentResponseBody struct + AppId string + AppName string + AppUrl *string + DeploymentId string + Message string + Status CreateDeploymentResponseBodyStatus + type CreateDeploymentResponseBodyStatus string + const CreateDeploymentResponseBodyStatusDEPLOYED + const CreateDeploymentResponseBodyStatusDEPLOYING + const CreateDeploymentResponseBodyStatusFAILED + type CreateEcrTokenJSONRequestBody = CreateEcrTokenRequest + type CreateEcrTokenParams struct + Authorization string + type CreateEcrTokenRequest struct + AppId openapi_types.UUID + Components []string + type CreateEcrTokenResponse struct + Body []byte + HTTPResponse *http.Response + JSON200 *CreateEcrTokenResponseBody + JSON401 *ErrorResponse + JSON500 *ErrorResponse + func ParseCreateEcrTokenResponse(rsp *http.Response) (*CreateEcrTokenResponse, error) + func (r CreateEcrTokenResponse) Status() string + func (r CreateEcrTokenResponse) StatusCode() int + type CreateEcrTokenResponseBody struct + AppId *string + AuthorizationToken string + ExpiresAt string + PackageNamespace *string + ProxyEndpoint string + Region string + RegistryUri string + type DeleteAppParams struct + Authorization string + type DeleteAppResponse struct + Body []byte + HTTPResponse *http.Response + JSON202 *DeleteAppResponseBody + JSON401 *ErrorResponse + JSON404 *ErrorResponse + JSON500 *ErrorResponse + func ParseDeleteAppResponse(rsp *http.Response) (*DeleteAppResponse, error) + func (r DeleteAppResponse) Status() string + func (r DeleteAppResponse) StatusCode() int + type DeleteAppResponseBody struct + Message string + type ErrorResponse struct + Details *[]interface{} + Error *string + Message string + type FTLClient struct + func NewFTLClient(authManager *auth.Manager, baseURL string) (*FTLClient, error) + func (c *FTLClient) Client() *ClientWithResponses + func (c *FTLClient) CreateApp(ctx context.Context, request CreateAppRequest) (*CreateAppResponseBody, error) + func (c *FTLClient) CreateDeployment(ctx context.Context, appID string, request CreateDeploymentRequest) (*CreateDeploymentResponseBody, error) + func (c *FTLClient) CreateECRToken(ctx context.Context, appID string, components []string) (*CreateEcrTokenResponseBody, error) + func (c *FTLClient) DeleteApp(ctx context.Context, appID string) error + func (c *FTLClient) GetApp(ctx context.Context, appID string) (*App, error) + func (c *FTLClient) GetUserOrgs(ctx context.Context) (*GetUserOrgsResponseBody, error) + func (c *FTLClient) ListApps(ctx context.Context, params *ListAppsParams) (*ListAppsResponseBody, error) + func (c *FTLClient) UpdateComponents(ctx context.Context, appID string, request UpdateComponentsRequest) (*UpdateComponentsResponseBody, error) + type GetAppLogsParams struct + Authorization string + Since *string + Tail *string + type GetAppLogsResponse struct + Body []byte + HTTPResponse *http.Response + JSON200 *GetAppLogsResponseBody + JSON400 *ErrorResponse + JSON401 *ErrorResponse + JSON403 *ErrorResponse + JSON404 *ErrorResponse + JSON500 *ErrorResponse + func ParseGetAppLogsResponse(rsp *http.Response) (*GetAppLogsResponse, error) + func (r GetAppLogsResponse) Status() string + func (r GetAppLogsResponse) StatusCode() int + type GetAppLogsResponseBody struct + AppId openapi_types.UUID + Logs string + Metadata struct{ ... } + type GetAppParams struct + Authorization string + type GetAppResponse struct + Body []byte + HTTPResponse *http.Response + JSON200 *App + JSON401 *ErrorResponse + JSON404 *ErrorResponse + JSON500 *ErrorResponse + func ParseGetAppResponse(rsp *http.Response) (*GetAppResponse, error) + func (r GetAppResponse) Status() string + func (r GetAppResponse) StatusCode() int + type GetUserOrgsParams struct + Authorization string + type GetUserOrgsResponse struct + Body []byte + HTTPResponse *http.Response + JSON200 *GetUserOrgsResponseBody + JSON401 *ErrorResponse + JSON500 *ErrorResponse + func ParseGetUserOrgsResponse(rsp *http.Response) (*GetUserOrgsResponse, error) + func (r GetUserOrgsResponse) Status() string + func (r GetUserOrgsResponse) StatusCode() int + type GetUserOrgsResponseBody struct + Organizations []struct{ ... } + type HttpRequestDoer interface + Do func(req *http.Request) (*http.Response, error) + type ListAppComponentsParams struct + Authorization string + type ListAppComponentsResponse struct + Body []byte + HTTPResponse *http.Response + JSON200 *ListComponentsResponseBody + JSON401 *ErrorResponse + JSON404 *ErrorResponse + JSON500 *ErrorResponse + func ParseListAppComponentsResponse(rsp *http.Response) (*ListAppComponentsResponse, error) + func (r ListAppComponentsResponse) Status() string + func (r ListAppComponentsResponse) StatusCode() int + type ListAppsParams struct + Authorization string + Limit *int + Name *string + NextToken *string + type ListAppsResponse struct + Body []byte + HTTPResponse *http.Response + JSON200 *ListAppsResponseBody + JSON400 *ErrorResponse + JSON401 *ErrorResponse + JSON500 *ErrorResponse + func ParseListAppsResponse(rsp *http.Response) (*ListAppsResponse, error) + func (r ListAppsResponse) Status() string + func (r ListAppsResponse) StatusCode() int + type ListAppsResponseBody struct + Apps []struct{ ... } + NextToken *string + type ListAppsResponseBodyAppsAccessControl string + const Custom + const Org + const Private + const Public + type ListAppsResponseBodyAppsStatus string + const ListAppsResponseBodyAppsStatusACTIVE + const ListAppsResponseBodyAppsStatusCREATING + const ListAppsResponseBodyAppsStatusDELETED + const ListAppsResponseBodyAppsStatusDELETING + const ListAppsResponseBodyAppsStatusFAILED + const ListAppsResponseBodyAppsStatusPENDING + type ListComponentsResponseBody struct + AppId openapi_types.UUID + AppName string + Components []struct{ ... } + type RequestEditorFn func(ctx context.Context, req *http.Request) error + type UpdateComponentsJSONRequestBody = UpdateComponentsRequest + type UpdateComponentsParams struct + Authorization string + type UpdateComponentsRequest struct + Components []struct{ ... } + type UpdateComponentsResponse struct + Body []byte + HTTPResponse *http.Response + JSON200 *UpdateComponentsResponseBody + JSON400 *ErrorResponse + JSON401 *ErrorResponse + JSON404 *ErrorResponse + JSON500 *ErrorResponse + func ParseUpdateComponentsResponse(rsp *http.Response) (*UpdateComponentsResponse, error) + func (r UpdateComponentsResponse) Status() string + func (r UpdateComponentsResponse) StatusCode() int + type UpdateComponentsResponseBody struct + Changes struct{ ... } + Components []struct{ ... }