Name | Type | Description | Notes |
---|---|---|---|
Key | string | The key to project. | |
Mode | Pointer to int32 | Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. | [optional] |
Path | string | The relative path of the file to map the key to. May not be an absolute path. May not contain the path element '..'. May not start with the string '..'. |
func NewV1KeyToPath(key string, path string, ) *V1KeyToPath
NewV1KeyToPath instantiates a new V1KeyToPath 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
func NewV1KeyToPathWithDefaults() *V1KeyToPath
NewV1KeyToPathWithDefaults instantiates a new V1KeyToPath 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
func (o *V1KeyToPath) GetKey() string
GetKey returns the Key field if non-nil, zero value otherwise.
func (o *V1KeyToPath) GetKeyOk() (*string, bool)
GetKeyOk returns a tuple with the Key field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *V1KeyToPath) SetKey(v string)
SetKey sets Key field to given value.
func (o *V1KeyToPath) GetMode() int32
GetMode returns the Mode field if non-nil, zero value otherwise.
func (o *V1KeyToPath) GetModeOk() (*int32, bool)
GetModeOk returns a tuple with the Mode field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *V1KeyToPath) SetMode(v int32)
SetMode sets Mode field to given value.
func (o *V1KeyToPath) HasMode() bool
HasMode returns a boolean if a field has been set.
func (o *V1KeyToPath) GetPath() string
GetPath returns the Path field if non-nil, zero value otherwise.
func (o *V1KeyToPath) GetPathOk() (*string, bool)
GetPathOk returns a tuple with the Path field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *V1KeyToPath) SetPath(v string)
SetPath sets Path field to given value.