cookies

package
v1.56.2 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 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 CookieEntries

type CookieEntries []*CookieEntry

func (CookieEntries) MarshalHCL

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

func (*CookieEntries) Schema

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

func (*CookieEntries) UnmarshalHCL

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

type CookieEntry

type CookieEntry struct {
	Domain string  `json:"domain"`         // Enclose placeholder values in brackets, for example \\{email\\}
	Name   string  `json:"name"`           // Enclose placeholder values in brackets, for example \\{email\\}
	Path   *string `json:"path,omitempty"` // Enclose placeholder values in brackets, for example \\{email\\}
	Value  string  `json:"value"`          // Enclose placeholder values in brackets, for example \\{email\\}
}

func (*CookieEntry) MarshalHCL

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

func (*CookieEntry) Schema

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

func (*CookieEntry) UnmarshalHCL

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

type Settings

type Settings struct {
	Cookies CookieEntries `json:"cookies"`
	Enabled bool          `json:"enabled"`         // This setting is enabled (`true`) or disabled (`false`)
	Scope   string        `json:"-" scope:"scope"` // The scope of this setting (HTTP_CHECK)
}

func (*Settings) MarshalHCL

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

func (*Settings) Name

func (me *Settings) Name() string

func (*Settings) Schema

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

func (*Settings) UnmarshalHCL

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

Jump to

Keyboard shortcuts

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