Skip to content

Latest commit

 

History

History
160 lines (87 loc) · 3.95 KB

File metadata and controls

160 lines (87 loc) · 3.95 KB

ClusterRole

Properties

Name Type Description Notes
Kind Pointer to string [optional]
ApiVersion Pointer to string [optional]
Name Pointer to string [optional]
Namespace Pointer to string [optional]
Rules Pointer to []PolicyRule [optional]

Methods

NewClusterRole

func NewClusterRole() *ClusterRole

NewClusterRole instantiates a new ClusterRole 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

NewClusterRoleWithDefaults

func NewClusterRoleWithDefaults() *ClusterRole

NewClusterRoleWithDefaults instantiates a new ClusterRole 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

GetKind

func (o *ClusterRole) GetKind() string

GetKind returns the Kind field if non-nil, zero value otherwise.

GetKindOk

func (o *ClusterRole) GetKindOk() (*string, bool)

GetKindOk returns a tuple with the Kind field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetKind

func (o *ClusterRole) SetKind(v string)

SetKind sets Kind field to given value.

HasKind

func (o *ClusterRole) HasKind() bool

HasKind returns a boolean if a field has been set.

GetApiVersion

func (o *ClusterRole) GetApiVersion() string

GetApiVersion returns the ApiVersion field if non-nil, zero value otherwise.

GetApiVersionOk

func (o *ClusterRole) GetApiVersionOk() (*string, bool)

GetApiVersionOk returns a tuple with the ApiVersion field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetApiVersion

func (o *ClusterRole) SetApiVersion(v string)

SetApiVersion sets ApiVersion field to given value.

HasApiVersion

func (o *ClusterRole) HasApiVersion() bool

HasApiVersion returns a boolean if a field has been set.

GetName

func (o *ClusterRole) GetName() string

GetName returns the Name field if non-nil, zero value otherwise.

GetNameOk

func (o *ClusterRole) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetName

func (o *ClusterRole) SetName(v string)

SetName sets Name field to given value.

HasName

func (o *ClusterRole) HasName() bool

HasName returns a boolean if a field has been set.

GetNamespace

func (o *ClusterRole) GetNamespace() string

GetNamespace returns the Namespace field if non-nil, zero value otherwise.

GetNamespaceOk

func (o *ClusterRole) GetNamespaceOk() (*string, bool)

GetNamespaceOk returns a tuple with the Namespace field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetNamespace

func (o *ClusterRole) SetNamespace(v string)

SetNamespace sets Namespace field to given value.

HasNamespace

func (o *ClusterRole) HasNamespace() bool

HasNamespace returns a boolean if a field has been set.

GetRules

func (o *ClusterRole) GetRules() []PolicyRule

GetRules returns the Rules field if non-nil, zero value otherwise.

GetRulesOk

func (o *ClusterRole) GetRulesOk() (*[]PolicyRule, bool)

GetRulesOk returns a tuple with the Rules field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetRules

func (o *ClusterRole) SetRules(v []PolicyRule)

SetRules sets Rules field to given value.

HasRules

func (o *ClusterRole) HasRules() bool

HasRules returns a boolean if a field has been set.

[Back to Model list] [Back to API list] [Back to README]