Skip to content

Latest commit

 

History

History
160 lines (87 loc) · 4.19 KB

ClusterRoleBinding.md

File metadata and controls

160 lines (87 loc) · 4.19 KB

ClusterRoleBinding

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]
Subjects Pointer to []Subject [optional]

Methods

NewClusterRoleBinding

func NewClusterRoleBinding() *ClusterRoleBinding

NewClusterRoleBinding instantiates a new ClusterRoleBinding 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

NewClusterRoleBindingWithDefaults

func NewClusterRoleBindingWithDefaults() *ClusterRoleBinding

NewClusterRoleBindingWithDefaults instantiates a new ClusterRoleBinding 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 *ClusterRoleBinding) GetKind() string

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

GetKindOk

func (o *ClusterRoleBinding) 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 *ClusterRoleBinding) SetKind(v string)

SetKind sets Kind field to given value.

HasKind

func (o *ClusterRoleBinding) HasKind() bool

HasKind returns a boolean if a field has been set.

GetApiVersion

func (o *ClusterRoleBinding) GetApiVersion() string

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

GetApiVersionOk

func (o *ClusterRoleBinding) 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 *ClusterRoleBinding) SetApiVersion(v string)

SetApiVersion sets ApiVersion field to given value.

HasApiVersion

func (o *ClusterRoleBinding) HasApiVersion() bool

HasApiVersion returns a boolean if a field has been set.

GetName

func (o *ClusterRoleBinding) GetName() string

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

GetNameOk

func (o *ClusterRoleBinding) 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 *ClusterRoleBinding) SetName(v string)

SetName sets Name field to given value.

HasName

func (o *ClusterRoleBinding) HasName() bool

HasName returns a boolean if a field has been set.

GetNamespace

func (o *ClusterRoleBinding) GetNamespace() string

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

GetNamespaceOk

func (o *ClusterRoleBinding) 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 *ClusterRoleBinding) SetNamespace(v string)

SetNamespace sets Namespace field to given value.

HasNamespace

func (o *ClusterRoleBinding) HasNamespace() bool

HasNamespace returns a boolean if a field has been set.

GetSubjects

func (o *ClusterRoleBinding) GetSubjects() []Subject

GetSubjects returns the Subjects field if non-nil, zero value otherwise.

GetSubjectsOk

func (o *ClusterRoleBinding) GetSubjectsOk() (*[]Subject, bool)

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

SetSubjects

func (o *ClusterRoleBinding) SetSubjects(v []Subject)

SetSubjects sets Subjects field to given value.

HasSubjects

func (o *ClusterRoleBinding) HasSubjects() bool

HasSubjects returns a boolean if a field has been set.

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