api

package
v0.5.96 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 10, 2025 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateDynamicSecretLeaseV1Request

type CreateDynamicSecretLeaseV1Request struct {
	DynamicSecretName string         `json:"dynamicSecretName"`
	ProjectSlug       string         `json:"projectSlug"`
	TTL               string         `json:"ttl"`
	SecretPath        string         `json:"path"`
	EnvironmentSlug   string         `json:"environmentSlug"`
	Config            map[string]any `json:"config"`
}

type CreateDynamicSecretLeaseV1Response

type CreateDynamicSecretLeaseV1Response struct {
	Lease         models.DynamicSecretLease `json:"lease"`
	DynamicSecret models.DynamicSecret      `json:"dynamicSecret"`
	Data          map[string]any            `json:"data"`
}

type DeleteDynamicSecretLeaseV1Request

type DeleteDynamicSecretLeaseV1Request struct {
	LeaseId         string `json:"leaseId"`
	ProjectSlug     string `json:"projectSlug"`
	SecretPath      string `json:"path"`
	EnvironmentSlug string `json:"environmentSlug"`
	IsForced        bool   `json:"isForced"`
}

type DeleteDynamicSecretLeaseV1Response

type DeleteDynamicSecretLeaseV1Response struct {
	Lease models.DynamicSecretLease `json:"lease"`
}

type GetDynamicSecretByNameV1Request

type GetDynamicSecretByNameV1Request struct {
	DynamicSecretName string `json:"secretName"`
	ProjectSlug       string `json:"projectSlug"`
	SecretPath        string `json:"path"`
	EnvironmentSlug   string `json:"environmentSlug"`
}

type GetDynamicSecretByNameV1Response

type GetDynamicSecretByNameV1Response struct {
	DynamicSecret models.DynamicSecret `json:"dynamicSecret"`
}

type GetDynamicSecretLeaseByIdV1Request

type GetDynamicSecretLeaseByIdV1Request struct {
	LeaseId         string `json:"leaseId"`
	ProjectSlug     string `json:"projectSlug"`
	SecretPath      string `json:"path"`
	EnvironmentSlug string `json:"environmentSlug"`
}

type GetDynamicSecretLeaseByIdV1Response

type GetDynamicSecretLeaseByIdV1Response struct {
	Lease models.DynamicSecretLeaseWithDynamicSecret `json:"lease"`
}

type ListDynamicSecretLeaseV1Request

type ListDynamicSecretLeaseV1Request struct {
	DynamicSecretName string `json:"secretName"`
	ProjectSlug       string `json:"projectSlug"`
	SecretPath        string `json:"path"`
	EnvironmentSlug   string `json:"environmentSlug"`
}

type ListDynamicSecretLeaseV1Response

type ListDynamicSecretLeaseV1Response struct {
	Leases []models.DynamicSecretLease `json:"leases"`
}

type ListDynamicSecretsV1Request

type ListDynamicSecretsV1Request struct {
	ProjectSlug     string `json:"projectSlug"`
	SecretPath      string `json:"path"`
	EnvironmentSlug string `json:"environmentSlug"`
}

type ListDynamicSecretsV1Response

type ListDynamicSecretsV1Response struct {
	DynamicSecrets []models.DynamicSecret `json:"dynamicSecrets"`
}

func CallListDynamicSecretsV1

func CallListDynamicSecretsV1(httpClient *resty.Client, request ListDynamicSecretsV1Request) (ListDynamicSecretsV1Response, error)

type RenewDynamicSecretLeaseV1Request

type RenewDynamicSecretLeaseV1Request struct {
	LeaseId         string `json:"leaseId"`
	TTL             string `json:"ttl"`
	ProjectSlug     string `json:"projectSlug"`
	SecretPath      string `json:"path"`
	EnvironmentSlug string `json:"environmentSlug"`
	IsForced        bool   `json:"isForced"`
}

type RenewDynamicSecretLeaseV1Response

type RenewDynamicSecretLeaseV1Response struct {
	Lease models.DynamicSecretLease `json:"lease"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL