http

package
v1.48.1 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Header struct {
	Name        string  `json:"name"`                  // The name of the HTTP header
	Secret      bool    `json:"secret"`                // The value of this HTTP header is a secret (`true`) or not (`false`).
	Value       *string `json:"value,omitempty"`       // The value of the HTTP header. May contain an empty value
	SecretValue *string `json:"secretValue,omitempty"` // The secret value of the HTTP header. May contain an empty value
}

func (*Header) Equals

func (me *Header) Equals(v any) bool

func (*Header) FillDemoValues

func (me *Header) FillDemoValues() []string

func (*Header) MarshalHCL

func (me *Header) MarshalHCL(properties hcl.Properties) error

func (*Header) Schema

func (me *Header) Schema() map[string]*schema.Schema

func (*Header) UnmarshalHCL

func (me *Header) UnmarshalHCL(decoder hcl.Decoder) error

type Headers

type Headers []*Header

func (Headers) MarshalHCL

func (me Headers) MarshalHCL(properties hcl.Properties) error

func (*Headers) Schema

func (me *Headers) Schema() map[string]*schema.Schema

func (*Headers) UnmarshalHCL

func (me *Headers) UnmarshalHCL(decoder hcl.Decoder) error

Jump to

Keyboard shortcuts

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