httpmodels

package
v0.0.0-...-bf201e6 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateSecretScopeReq

type CreateSecretScopeReq struct {
	Scope                string                  `json:"scope,omitempty" url:"scope,omitempty"`
	ScopeBackendType     models.ScopeBackendType `json:"scope_backend_type,omitempty" url:"scope_backend_type,omitempty"`
	BackendAzureKeyvault struct {
		ResourceID string `json:"backend_azure_keyvault,omitempty" url:"backend_azure_keyvault,omitempty"`
		DNSName    string `json:"dns_name,omitempty" url:"dns_name,omitempty"`
	}
	InitialManagePrincipal string `json:"initial_manage_principal,omitempty" url:"initial_manage_principal,omitempty"`
}

type DeleteSecretACLReq

type DeleteSecretACLReq struct {
	Scope     string `json:"scope,omitempty" url:"scope,omitempty"`
	Principal string `json:"principal,omitempty" url:"principal,omitempty"`
}

type DeleteSecretReq

type DeleteSecretReq struct {
	Scope string `json:"scope,omitempty" url:"scope,omitempty"`
	Key   string `json:"key,omitempty" url:"key,omitempty"`
}

type DeleteSecretScopeReq

type DeleteSecretScopeReq struct {
	Scope string `json:"scope,omitempty" url:"scope,omitempty"`
}

type GetSecretACLReq

type GetSecretACLReq struct {
	Scope     string `json:"scope,omitempty" url:"scope,omitempty"`
	Principal string `json:"principal,omitempty" url:"principal,omitempty"`
}

type GetSecretACLResp

type GetSecretACLResp struct {
	Principal  string               `json:"principal,omitempty" url:"principal,omitempty"`
	Permission models.ACLPermission `json:"permission,omitempty" url:"permission,omitempty"`
}

type ListSecretACLsReq

type ListSecretACLsReq struct {
	Scope string `json:"scope,omitempty" url:"scope,omitempty"`
}

type ListSecretACLsResp

type ListSecretACLsResp struct {
	Items []models.ACLItem `json:"items,omitempty" url:"items,omitempty"`
}

type ListSecretScopesResp

type ListSecretScopesResp struct {
	Scopes *[]models.SecretScope `json:"scopes,omitempty" url:"scopes,omitempty"`
}

type ListSecretsReq

type ListSecretsReq struct {
	Scope string `json:"scope,omitempty" url:"scope,omitempty"`
}

type ListSecretsResp

type ListSecretsResp struct {
	Secrets []models.SecretMetadata `json:"secrets,omitempty" url:"secrets,omitempty"`
}

type PutSecretACLReq

type PutSecretACLReq struct {
	Scope      string               `json:"scope,omitempty" url:"scope,omitempty"`
	Principal  string               `json:"principal,omitempty" url:"principal,omitempty"`
	Permission models.ACLPermission `json:"permission,omitempty" url:"permission,omitempty"`
}

type PutSecretReq

type PutSecretReq struct {
	StringValue string `json:"string_value,omitempty" url:"string_value,omitempty"`
	BytesValue  string `json:"bytes_value,omitempty" url:"bytes_value,omitempty"`
	Scope       string `json:"scope,omitempty" url:"scope,omitempty"`
	Key         string `json:"key,omitempty" url:"key,omitempty"`
}

Jump to

Keyboard shortcuts

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