s3objectcopy

package
v0.0.0-...-964ba77 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2024 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 Grant

type Grant struct {
	// Email: string, optional
	Email terra.StringValue `hcl:"email,attr"`
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// Permissions: set of string, required
	Permissions terra.SetValue[terra.StringValue] `hcl:"permissions,attr" validate:"required"`
	// Type: string, required
	Type terra.StringValue `hcl:"type,attr" validate:"required"`
	// Uri: string, optional
	Uri terra.StringValue `hcl:"uri,attr"`
}

type GrantAttributes

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

func (GrantAttributes) Email

func (g GrantAttributes) Email() terra.StringValue

func (GrantAttributes) Id

func (GrantAttributes) InternalRef

func (g GrantAttributes) InternalRef() (terra.Reference, error)

func (GrantAttributes) InternalTokens

func (g GrantAttributes) InternalTokens() (hclwrite.Tokens, error)

func (GrantAttributes) InternalWithRef

func (g GrantAttributes) InternalWithRef(ref terra.Reference) GrantAttributes

func (GrantAttributes) Permissions

func (g GrantAttributes) Permissions() terra.SetValue[terra.StringValue]

func (GrantAttributes) Type

func (GrantAttributes) Uri

type GrantState

type GrantState struct {
	Email       string   `json:"email"`
	Id          string   `json:"id"`
	Permissions []string `json:"permissions"`
	Type        string   `json:"type"`
	Uri         string   `json:"uri"`
}

Jump to

Keyboard shortcuts

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