bunnyshell.com/sdk@v0.16.0/docs/ContextKubeConfigRead.md (about) 1 # ContextKubeConfigRead 2 3 ## Properties 4 5 Name | Type | Description | Notes 6 ------------ | ------------- | ------------- | ------------- 7 **Cluster** | **string** | | 8 **Namespace** | Pointer to **string** | | [optional] 9 **User** | **string** | | 10 11 ## Methods 12 13 ### NewContextKubeConfigRead 14 15 `func NewContextKubeConfigRead(cluster string, user string, ) *ContextKubeConfigRead` 16 17 NewContextKubeConfigRead instantiates a new ContextKubeConfigRead object 18 This constructor will assign default values to properties that have it defined, 19 and makes sure properties required by API are set, but the set of arguments 20 will change when the set of required properties is changed 21 22 ### NewContextKubeConfigReadWithDefaults 23 24 `func NewContextKubeConfigReadWithDefaults() *ContextKubeConfigRead` 25 26 NewContextKubeConfigReadWithDefaults instantiates a new ContextKubeConfigRead object 27 This constructor will only assign default values to properties that have it defined, 28 but it doesn't guarantee that properties required by API are set 29 30 ### GetCluster 31 32 `func (o *ContextKubeConfigRead) GetCluster() string` 33 34 GetCluster returns the Cluster field if non-nil, zero value otherwise. 35 36 ### GetClusterOk 37 38 `func (o *ContextKubeConfigRead) GetClusterOk() (*string, bool)` 39 40 GetClusterOk returns a tuple with the Cluster field if it's non-nil, zero value otherwise 41 and a boolean to check if the value has been set. 42 43 ### SetCluster 44 45 `func (o *ContextKubeConfigRead) SetCluster(v string)` 46 47 SetCluster sets Cluster field to given value. 48 49 50 ### GetNamespace 51 52 `func (o *ContextKubeConfigRead) GetNamespace() string` 53 54 GetNamespace returns the Namespace field if non-nil, zero value otherwise. 55 56 ### GetNamespaceOk 57 58 `func (o *ContextKubeConfigRead) GetNamespaceOk() (*string, bool)` 59 60 GetNamespaceOk returns a tuple with the Namespace field if it's non-nil, zero value otherwise 61 and a boolean to check if the value has been set. 62 63 ### SetNamespace 64 65 `func (o *ContextKubeConfigRead) SetNamespace(v string)` 66 67 SetNamespace sets Namespace field to given value. 68 69 ### HasNamespace 70 71 `func (o *ContextKubeConfigRead) HasNamespace() bool` 72 73 HasNamespace returns a boolean if a field has been set. 74 75 ### GetUser 76 77 `func (o *ContextKubeConfigRead) GetUser() string` 78 79 GetUser returns the User field if non-nil, zero value otherwise. 80 81 ### GetUserOk 82 83 `func (o *ContextKubeConfigRead) GetUserOk() (*string, bool)` 84 85 GetUserOk returns a tuple with the User field if it's non-nil, zero value otherwise 86 and a boolean to check if the value has been set. 87 88 ### SetUser 89 90 `func (o *ContextKubeConfigRead) SetUser(v string)` 91 92 SetUser sets User field to given value. 93 94 95 96 [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 97 98