package
0.0.0-20241018223127-a062be16fda2
Repository: https://github.com/activestate/cli.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
No description provided by the author
# Functions
FetchAll fetchs the current user's secrets for an organization.
FetchDefinitions fetchs the secret definitions for a given project.
Get is an alias for InitializeClient used to persist our Get() pattern used throughout the codebase.
GetClient gets the cached (if any) client instance that was initialized using our default settings.
InitializeClient will create new Client using defaults, including the api.BearerToken value.
NewClient creates a new SecretsAPI client instance using the provided HTTP settings.
NewDefaultClient creates a new Client using constants SecretsAPISchema, -Host, and -Path and a provided Bearer-token value.
Reset will reset the client cache.
No description provided by the author
# Variables
DefaultClient represents a secretsapi Client instance that can be accessed by any package needing it.
No description provided by the author
No description provided by the author
ScopeProject is the project scope.
ScopeUser is the user scope.
# Type aliases
Scope covers what scope a secret belongs to.