Versions in this module Expand all Collapse all v0 v0.7.0 Jan 20, 2026 Changes in this version + type APIError struct + Cause string + Msg string + Title string + func (e *APIError) String() string + type APIParameter struct + APIKey string + AuthMode string + BaseURL string + Cacert string + CdkPassword string + CdkUser string + Cert string + Debug bool + Insecure bool + Key string + type AuthMethod interface + AuthorizationHeader func() string + type BasicAuth struct + Password string + Username string + func (t BasicAuth) AuthorizationHeader() string + type BearerToken struct + Token string + func (t BearerToken) AuthorizationHeader() string + type Client struct + func Make(apiParameter APIParameter) (*Client, error) + func MakeFromEnv() (*Client, error) + func (client *Client) ActivateDebug() + func (client *Client) Apply(resource *resource.Resource, dryMode bool, diffMode bool) (Result, error) + func (client *Client) CreateAdminToken(name string) (CreatedToken, error) + func (client *Client) CreateApplicationInstanceToken(applicationInstanceName, name string) (CreatedToken, error) + func (client *Client) Delete(kind *schema.Kind, parentPathValue []string, parentQueryValue []string, ...) error + func (client *Client) DeleteResource(resource *resource.Resource, ignoreMissing bool) error + func (client *Client) DeleteToken(uuid string) error + func (client *Client) Describe(kind *schema.Kind, parentPathValue []string, parentQueryValue []string, ...) (resource.Resource, error) + func (client *Client) ExecuteSQL(maxLine int, sql string) (SQLResult, error) + func (client *Client) Get(kind *schema.Kind, parentPathValue []string, parentQueryValue []string, ...) ([]resource.Resource, error) + func (client *Client) GetCatalog() *schema.Catalog + func (client *Client) GetFromResource(res *resource.Resource) (resource.Resource, error) + func (client *Client) GetKinds() schema.KindCatalog + func (client *Client) GetOpenAPI() ([]byte, error) + func (client *Client) IgnoreUntrustedCertificate() + func (client *Client) ListAdminToken() ([]Token, error) + func (client *Client) ListApplicationInstanceToken(applicationInstanceName string) ([]Token, error) + func (client *Client) Login(username, password string) (LoginResult, error) + func (client *Client) Run(run schema.Run, pathValue []string, queryParams map[string]string, ...) ([]byte, error) + func (client *Client) SetAPIKey(apiKey string) + type CreatedToken struct + CreatedAt string + Id string + Name string + Token string + type DeleteInterceptorPayload struct + Group *string + Username *string + VCluster *string + type GatewayAPIParameter struct + BaseURL string + CdkGatewayPassword string + CdkGatewayUser string + Debug bool + type GatewayClient struct + func MakeGateway(apiParameter GatewayAPIParameter) (*GatewayClient, error) + func MakeGatewayClientFromEnv() (*GatewayClient, error) + func (client *GatewayClient) ActivateDebug() + func (client *GatewayClient) Apply(resource *resource.Resource, dryMode bool, diffMode bool) (Result, error) + func (client *GatewayClient) Delete(kind *schema.Kind, parentPathValue []string, parentQueryValue []string, ...) error + func (client *GatewayClient) DeleteInterceptor(kind *schema.Kind, name string, param map[string]string, ignoreMissing bool) error + func (client *GatewayClient) DeleteKindByNameAndVCluster(kind *schema.Kind, param map[string]string, ignoreMissing bool) error + func (client *GatewayClient) DeleteResourceByName(resource *resource.Resource, ignoreMissing bool) error + func (client *GatewayClient) DeleteResourceByNameAndVCluster(resource *resource.Resource, ignoreMissing bool) error + func (client *GatewayClient) DeleteResourceInterceptors(resource *resource.Resource, ignoreMissing bool) error + func (client *GatewayClient) Describe(kind *schema.Kind, parentPathValue []string, parentQueryValue []string, ...) (resource.Resource, error) + func (client *GatewayClient) Get(kind *schema.Kind, parentPathValue []string, parentQueryValue []string, ...) ([]resource.Resource, error) + func (client *GatewayClient) GetCatalog() *schema.Catalog + func (client *GatewayClient) GetFromResource(res *resource.Resource) (resource.Resource, error) + func (client *GatewayClient) GetKinds() schema.KindCatalog + func (client *GatewayClient) GetOpenAPI() ([]byte, error) + func (client *GatewayClient) Run(run schema.Run, pathValue []string, queryParams map[string]string, ...) ([]byte, error) + type LoginResult struct + AccessToken string + ExpiresIn int + RefreshToken string + TokenType string + type Result struct + Diff string + UpsertResult string + type SQLResult struct + Header []string + Row [][]interface{} + type Token struct + CreatedAt string + Id string + LastTimeUsed string + Name string