Files
sdk/docs/NetworkIdentityIn.md

3.0 KiB

NetworkIdentityIn

Properties

Name Type Description Notes
Name Pointer to string Name is the identity's name within the org — a DNS label, stored on the fabric as &quot;<name>.<org>&quot;. Absent, the identity is named by the caller's IAM subject. It is set when the identity is first made; an identity that already exists keeps its name. [optional]
Roles Pointer to []string Roles are extra role attributes for the identity, each scoped to the caller's org on the way in (&quot;k3s-host&quot; is written as &quot;k3s-host.<org>&quot;) so no caller can claim an attribute another tenant's policy selects. A role of the form &quot;<service>-host&quot; makes this identity a HOST of that published service — the bind policy from POST /v1/network/services selects exactly that attribute — and is refused when the org has no such service. Only a steward (an admin of the org or its own machine client) takes roles; a plain member asking for one is 403. [optional]

Methods

NewNetworkIdentityIn

func NewNetworkIdentityIn() *NetworkIdentityIn

NewNetworkIdentityIn instantiates a new NetworkIdentityIn 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

NewNetworkIdentityInWithDefaults

func NewNetworkIdentityInWithDefaults() *NetworkIdentityIn

NewNetworkIdentityInWithDefaults instantiates a new NetworkIdentityIn 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

GetName

func (o *NetworkIdentityIn) GetName() string

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

GetNameOk

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

SetName sets Name field to given value.

HasName

func (o *NetworkIdentityIn) HasName() bool

HasName returns a boolean if a field has been set.

GetRoles

func (o *NetworkIdentityIn) GetRoles() []string

GetRoles returns the Roles field if non-nil, zero value otherwise.

GetRolesOk

func (o *NetworkIdentityIn) GetRolesOk() (*[]string, bool)

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

SetRoles

func (o *NetworkIdentityIn) SetRoles(v []string)

SetRoles sets Roles field to given value.

HasRoles

func (o *NetworkIdentityIn) HasRoles() bool

HasRoles returns a boolean if a field has been set.

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