Documentation
¶
Index ¶
- Constants
- type DSnippetQueryParams
- type ResourceNameQueryParams
- type ServiceQueryParams
- type SetIndexKeyParams
- type TFState
- func (s *TFState) AddTemplate(tmpl string) (*TFStateWithTemplate, error)
- func (s TFState) Bytes() []byte
- func (s *TFState) Query(query string) (*TFState, error)
- func (s *TFState) SetActivateAttributes() (*TFState, error)
- func (s *TFState) SetIndexKey(param SetIndexKeyParams) (*TFState, error)
- func (s *TFState) SetManageAttributes() (*TFState, error)
- func (s *TFState) SetSensitiveAttributes(blockTypes map[string]struct{}) (*TFState, error)
- func (s TFState) String() string
- type TFStateWithTemplate
Constants ¶
View Source
const DsnippetQueryTmplate = `.resources[] | select(.name == "{{.ResourceName}}") | .instances[].attributes.content`
View Source
const ResourceNameQueryTmplate = `` /* 145-byte string literal not displayed */
View Source
const ServiceQueryTmplate = `` /* 153-byte string literal not displayed */
query templates for gojq
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DSnippetQueryParams ¶
type DSnippetQueryParams struct {
ResourceName string
}
type ResourceNameQueryParams ¶
type ServiceQueryParams ¶
type SetIndexKeyParams ¶
type TFState ¶
type TFState struct {
Value interface{}
}
func (*TFState) AddTemplate ¶
func (s *TFState) AddTemplate(tmpl string) (*TFStateWithTemplate, error)
func (*TFState) SetActivateAttributes ¶
func (*TFState) SetIndexKey ¶
func (s *TFState) SetIndexKey(param SetIndexKeyParams) (*TFState, error)
func (*TFState) SetManageAttributes ¶
func (*TFState) SetSensitiveAttributes ¶
type TFStateWithTemplate ¶
func (*TFStateWithTemplate) DSnippetQuery ¶
func (s *TFStateWithTemplate) DSnippetQuery(params DSnippetQueryParams) (*TFState, error)
func (*TFStateWithTemplate) ResourceNameQuery ¶
func (s *TFStateWithTemplate) ResourceNameQuery(params ResourceNameQueryParams) (*TFState, error)
func (*TFStateWithTemplate) ServiceQuery ¶
func (s *TFStateWithTemplate) ServiceQuery(params ServiceQueryParams) (*TFState, error)
Click to show internal directories.
Click to hide internal directories.