SecretReference Model
SecretReference Model documentation for Go SDK
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| Uri | Pointer to string | URI identifying where the secret can be resolved (e.g., vault://, env://) | [optional] |
| Hints | Pointer to map[string]string | Optional metadata to help resolvers decode the secret (e.g., {"encoding":"base64"}) | [optional] |
Methods
NewSecretReference
func NewSecretReference() *SecretReference
NewSecretReference instantiates a new SecretReference object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
NewSecretReferenceWithDefaults
func NewSecretReferenceWithDefaults() *SecretReference
NewSecretReferenceWithDefaults instantiates a new SecretReference object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
GetUri
func (o *SecretReference) GetUri() string
GetUri returns the Uri field if non-nil, zero value otherwise.
GetUriOk
func (o *SecretReference) GetUriOk() (*string, bool)
GetUriOk returns a tuple with the Uri field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetUri
func (o *SecretReference) SetUri(v string)
SetUri sets Uri field to given value.
HasUri
func (o *SecretReference) HasUri() bool
HasUri returns a boolean if a field has been set.
GetHints
func (o *SecretReference) GetHints() map[string]string
GetHints returns the Hints field if non-nil, zero value otherwise.
GetHintsOk
func (o *SecretReference) GetHintsOk() (*map[string]string, bool)
GetHintsOk returns a tuple with the Hints field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetHints
func (o *SecretReference) SetHints(v map[string]string)
SetHints sets Hints field to given value.
HasHints
func (o *SecretReference) HasHints() bool
HasHints returns a boolean if a field has been set.
SetHintsNil
func (o *SecretReference) SetHintsNil(b bool)
SetHintsNil sets the value for Hints to be an explicit nil
UnsetHints
func (o *SecretReference) UnsetHints()
UnsetHints ensures that no value is present for Hints, not even an explicit nil