datastorageshare

package
v0.0.0-...-c2cc54e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 27, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccessPolicy

type AccessPolicy struct{}

type AccessPolicyAttributes

type AccessPolicyAttributes struct {
	// contains filtered or unexported fields
}

func (AccessPolicyAttributes) Expiry

func (AccessPolicyAttributes) InternalRef

func (ap AccessPolicyAttributes) InternalRef() (terra.Reference, error)

func (AccessPolicyAttributes) InternalTokens

func (ap AccessPolicyAttributes) InternalTokens() (hclwrite.Tokens, error)

func (AccessPolicyAttributes) InternalWithRef

func (AccessPolicyAttributes) Permissions

func (ap AccessPolicyAttributes) Permissions() terra.StringValue

func (AccessPolicyAttributes) Start

type AccessPolicyState

type AccessPolicyState struct {
	Expiry      string `json:"expiry"`
	Permissions string `json:"permissions"`
	Start       string `json:"start"`
}

type Acl

type Acl struct {
	// AccessPolicy: min=0
	AccessPolicy []AccessPolicy `hcl:"access_policy,block" validate:"min=0"`
}

type AclAttributes

type AclAttributes struct {
	// contains filtered or unexported fields
}

func (AclAttributes) AccessPolicy

func (AclAttributes) Id

func (AclAttributes) InternalRef

func (a AclAttributes) InternalRef() (terra.Reference, error)

func (AclAttributes) InternalTokens

func (a AclAttributes) InternalTokens() (hclwrite.Tokens, error)

func (AclAttributes) InternalWithRef

func (a AclAttributes) InternalWithRef(ref terra.Reference) AclAttributes

type AclState

type AclState struct {
	Id           string              `json:"id"`
	AccessPolicy []AccessPolicyState `json:"access_policy"`
}

type Timeouts

type Timeouts struct {
	// Read: string, optional
	Read terra.StringValue `hcl:"read,attr"`
}

type TimeoutsAttributes

type TimeoutsAttributes struct {
	// contains filtered or unexported fields
}

func (TimeoutsAttributes) InternalRef

func (t TimeoutsAttributes) InternalRef() (terra.Reference, error)

func (TimeoutsAttributes) InternalTokens

func (t TimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (TimeoutsAttributes) InternalWithRef

func (t TimeoutsAttributes) InternalWithRef(ref terra.Reference) TimeoutsAttributes

func (TimeoutsAttributes) Read

type TimeoutsState

type TimeoutsState struct {
	Read string `json:"read"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL