Documentation ¶
Index ¶
- type CreationInfo
- type CreationInfoAttributes
- func (ci CreationInfoAttributes) InternalRef() (terra.Reference, error)
- func (ci CreationInfoAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ci CreationInfoAttributes) InternalWithRef(ref terra.Reference) CreationInfoAttributes
- func (ci CreationInfoAttributes) OwnerGid() terra.NumberValue
- func (ci CreationInfoAttributes) OwnerUid() terra.NumberValue
- func (ci CreationInfoAttributes) Permissions() terra.StringValue
- type CreationInfoState
- type PosixUser
- type PosixUserAttributes
- func (pu PosixUserAttributes) Gid() terra.NumberValue
- func (pu PosixUserAttributes) InternalRef() (terra.Reference, error)
- func (pu PosixUserAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (pu PosixUserAttributes) InternalWithRef(ref terra.Reference) PosixUserAttributes
- func (pu PosixUserAttributes) SecondaryGids() terra.SetValue[terra.NumberValue]
- func (pu PosixUserAttributes) Uid() terra.NumberValue
- type PosixUserState
- type RootDirectory
- type RootDirectoryAttributes
- func (rd RootDirectoryAttributes) CreationInfo() terra.ListValue[CreationInfoAttributes]
- func (rd RootDirectoryAttributes) InternalRef() (terra.Reference, error)
- func (rd RootDirectoryAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (rd RootDirectoryAttributes) InternalWithRef(ref terra.Reference) RootDirectoryAttributes
- func (rd RootDirectoryAttributes) Path() terra.StringValue
- type RootDirectoryState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreationInfo ¶
type CreationInfo struct { // OwnerGid: number, required OwnerGid terra.NumberValue `hcl:"owner_gid,attr" validate:"required"` // OwnerUid: number, required OwnerUid terra.NumberValue `hcl:"owner_uid,attr" validate:"required"` // Permissions: string, required Permissions terra.StringValue `hcl:"permissions,attr" validate:"required"` }
type CreationInfoAttributes ¶
type CreationInfoAttributes struct {
// contains filtered or unexported fields
}
func (CreationInfoAttributes) InternalRef ¶
func (ci CreationInfoAttributes) InternalRef() (terra.Reference, error)
func (CreationInfoAttributes) InternalTokens ¶
func (ci CreationInfoAttributes) InternalTokens() (hclwrite.Tokens, error)
func (CreationInfoAttributes) InternalWithRef ¶
func (ci CreationInfoAttributes) InternalWithRef(ref terra.Reference) CreationInfoAttributes
func (CreationInfoAttributes) OwnerGid ¶
func (ci CreationInfoAttributes) OwnerGid() terra.NumberValue
func (CreationInfoAttributes) OwnerUid ¶
func (ci CreationInfoAttributes) OwnerUid() terra.NumberValue
func (CreationInfoAttributes) Permissions ¶
func (ci CreationInfoAttributes) Permissions() terra.StringValue
type CreationInfoState ¶
type PosixUser ¶
type PosixUser struct { // Gid: number, required Gid terra.NumberValue `hcl:"gid,attr" validate:"required"` // SecondaryGids: set of number, optional SecondaryGids terra.SetValue[terra.NumberValue] `hcl:"secondary_gids,attr"` // Uid: number, required Uid terra.NumberValue `hcl:"uid,attr" validate:"required"` }
type PosixUserAttributes ¶
type PosixUserAttributes struct {
// contains filtered or unexported fields
}
func (PosixUserAttributes) Gid ¶
func (pu PosixUserAttributes) Gid() terra.NumberValue
func (PosixUserAttributes) InternalRef ¶
func (pu PosixUserAttributes) InternalRef() (terra.Reference, error)
func (PosixUserAttributes) InternalTokens ¶
func (pu PosixUserAttributes) InternalTokens() (hclwrite.Tokens, error)
func (PosixUserAttributes) InternalWithRef ¶
func (pu PosixUserAttributes) InternalWithRef(ref terra.Reference) PosixUserAttributes
func (PosixUserAttributes) SecondaryGids ¶
func (pu PosixUserAttributes) SecondaryGids() terra.SetValue[terra.NumberValue]
func (PosixUserAttributes) Uid ¶
func (pu PosixUserAttributes) Uid() terra.NumberValue
type PosixUserState ¶
type RootDirectory ¶
type RootDirectory struct { // Path: string, optional Path terra.StringValue `hcl:"path,attr"` // CreationInfo: optional CreationInfo *CreationInfo `hcl:"creation_info,block"` }
type RootDirectoryAttributes ¶
type RootDirectoryAttributes struct {
// contains filtered or unexported fields
}
func (RootDirectoryAttributes) CreationInfo ¶
func (rd RootDirectoryAttributes) CreationInfo() terra.ListValue[CreationInfoAttributes]
func (RootDirectoryAttributes) InternalRef ¶
func (rd RootDirectoryAttributes) InternalRef() (terra.Reference, error)
func (RootDirectoryAttributes) InternalTokens ¶
func (rd RootDirectoryAttributes) InternalTokens() (hclwrite.Tokens, error)
func (RootDirectoryAttributes) InternalWithRef ¶
func (rd RootDirectoryAttributes) InternalWithRef(ref terra.Reference) RootDirectoryAttributes
func (RootDirectoryAttributes) Path ¶
func (rd RootDirectoryAttributes) Path() terra.StringValue
type RootDirectoryState ¶
type RootDirectoryState struct { Path string `json:"path"` CreationInfo []CreationInfoState `json:"creation_info"` }
Click to show internal directories.
Click to hide internal directories.