Documentation ¶
Index ¶
- type Nfs
- type NfsAttributes
- type NfsMountOptions
- type NfsMountOptionsAttributes
- func (mo NfsMountOptionsAttributes) InternalRef() (terra.Reference, error)
- func (mo NfsMountOptionsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (mo NfsMountOptionsAttributes) InternalWithRef(ref terra.Reference) NfsMountOptionsAttributes
- func (mo NfsMountOptionsAttributes) Version() terra.StringValue
- type NfsMountOptionsState
- type NfsState
- type Protocol
- type ProtocolAttributes
- func (p ProtocolAttributes) InternalRef() (terra.Reference, error)
- func (p ProtocolAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (p ProtocolAttributes) InternalWithRef(ref terra.Reference) ProtocolAttributes
- func (p ProtocolAttributes) Nfs() terra.ListValue[NfsAttributes]
- func (p ProtocolAttributes) Smb() terra.ListValue[SmbAttributes]
- type ProtocolState
- type Smb
- type SmbAttributes
- func (s SmbAttributes) Domain() terra.StringValue
- func (s SmbAttributes) InternalRef() (terra.Reference, error)
- func (s SmbAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (s SmbAttributes) InternalWithRef(ref terra.Reference) SmbAttributes
- func (s SmbAttributes) MountOptions() terra.ListValue[SmbMountOptionsAttributes]
- func (s SmbAttributes) Password() terra.StringValue
- func (s SmbAttributes) User() terra.StringValue
- type SmbMountOptions
- type SmbMountOptionsAttributes
- func (mo SmbMountOptionsAttributes) InternalRef() (terra.Reference, error)
- func (mo SmbMountOptionsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (mo SmbMountOptionsAttributes) InternalWithRef(ref terra.Reference) SmbMountOptionsAttributes
- func (mo SmbMountOptionsAttributes) Version() terra.StringValue
- type SmbMountOptionsState
- type SmbState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Nfs ¶
type Nfs struct { // NfsMountOptions: required MountOptions *NfsMountOptions `hcl:"mount_options,block" validate:"required"` }
type NfsAttributes ¶
type NfsAttributes struct {
// contains filtered or unexported fields
}
func (NfsAttributes) InternalRef ¶
func (n NfsAttributes) InternalRef() (terra.Reference, error)
func (NfsAttributes) InternalTokens ¶
func (n NfsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (NfsAttributes) InternalWithRef ¶
func (n NfsAttributes) InternalWithRef(ref terra.Reference) NfsAttributes
func (NfsAttributes) MountOptions ¶
func (n NfsAttributes) MountOptions() terra.ListValue[NfsMountOptionsAttributes]
type NfsMountOptions ¶
type NfsMountOptions struct { // Version: string, optional Version terra.StringValue `hcl:"version,attr"` }
type NfsMountOptionsAttributes ¶
type NfsMountOptionsAttributes struct {
// contains filtered or unexported fields
}
func (NfsMountOptionsAttributes) InternalRef ¶
func (mo NfsMountOptionsAttributes) InternalRef() (terra.Reference, error)
func (NfsMountOptionsAttributes) InternalTokens ¶
func (mo NfsMountOptionsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (NfsMountOptionsAttributes) InternalWithRef ¶
func (mo NfsMountOptionsAttributes) InternalWithRef(ref terra.Reference) NfsMountOptionsAttributes
func (NfsMountOptionsAttributes) Version ¶
func (mo NfsMountOptionsAttributes) Version() terra.StringValue
type NfsMountOptionsState ¶
type NfsMountOptionsState struct {
Version string `json:"version"`
}
type NfsState ¶
type NfsState struct {
MountOptions []NfsMountOptionsState `json:"mount_options"`
}
type ProtocolAttributes ¶
type ProtocolAttributes struct {
// contains filtered or unexported fields
}
func (ProtocolAttributes) InternalRef ¶
func (p ProtocolAttributes) InternalRef() (terra.Reference, error)
func (ProtocolAttributes) InternalTokens ¶
func (p ProtocolAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ProtocolAttributes) InternalWithRef ¶
func (p ProtocolAttributes) InternalWithRef(ref terra.Reference) ProtocolAttributes
func (ProtocolAttributes) Nfs ¶
func (p ProtocolAttributes) Nfs() terra.ListValue[NfsAttributes]
func (ProtocolAttributes) Smb ¶
func (p ProtocolAttributes) Smb() terra.ListValue[SmbAttributes]
type ProtocolState ¶
type Smb ¶
type Smb struct { // Domain: string, optional Domain terra.StringValue `hcl:"domain,attr"` // Password: string, required Password terra.StringValue `hcl:"password,attr" validate:"required"` // User: string, required User terra.StringValue `hcl:"user,attr" validate:"required"` // SmbMountOptions: required MountOptions *SmbMountOptions `hcl:"mount_options,block" validate:"required"` }
type SmbAttributes ¶
type SmbAttributes struct {
// contains filtered or unexported fields
}
func (SmbAttributes) Domain ¶
func (s SmbAttributes) Domain() terra.StringValue
func (SmbAttributes) InternalRef ¶
func (s SmbAttributes) InternalRef() (terra.Reference, error)
func (SmbAttributes) InternalTokens ¶
func (s SmbAttributes) InternalTokens() (hclwrite.Tokens, error)
func (SmbAttributes) InternalWithRef ¶
func (s SmbAttributes) InternalWithRef(ref terra.Reference) SmbAttributes
func (SmbAttributes) MountOptions ¶
func (s SmbAttributes) MountOptions() terra.ListValue[SmbMountOptionsAttributes]
func (SmbAttributes) Password ¶
func (s SmbAttributes) Password() terra.StringValue
func (SmbAttributes) User ¶
func (s SmbAttributes) User() terra.StringValue
type SmbMountOptions ¶
type SmbMountOptions struct { // Version: string, optional Version terra.StringValue `hcl:"version,attr"` }
type SmbMountOptionsAttributes ¶
type SmbMountOptionsAttributes struct {
// contains filtered or unexported fields
}
func (SmbMountOptionsAttributes) InternalRef ¶
func (mo SmbMountOptionsAttributes) InternalRef() (terra.Reference, error)
func (SmbMountOptionsAttributes) InternalTokens ¶
func (mo SmbMountOptionsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (SmbMountOptionsAttributes) InternalWithRef ¶
func (mo SmbMountOptionsAttributes) InternalWithRef(ref terra.Reference) SmbMountOptionsAttributes
func (SmbMountOptionsAttributes) Version ¶
func (mo SmbMountOptionsAttributes) Version() terra.StringValue
type SmbMountOptionsState ¶
type SmbMountOptionsState struct {
Version string `json:"version"`
}
Click to show internal directories.
Click to hide internal directories.