qliksense

package
v0.16.0 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2020 License: MIT Imports: 24 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetTransformerVersion added in v0.10.0

func GetTransformerVersion() (string, error)

GetTransformerVersion ...

Types

type AboutAction added in v0.10.0

type AboutAction struct {
	Steps []AboutStep `yaml:"about"`
}

AboutAction The `Porter.sh` action for Qliksense About

type AboutArguments added in v0.10.0

type AboutArguments struct {
	Step    `yaml:",inline"`
	Version string `yaml:"version"`
	Profile string `yaml:"profile"`
}

AboutArguments ...

type AboutStep added in v0.10.0

type AboutStep struct {
	AboutArguments `yaml:"qliksense"`
}

AboutStep The `Porter.sh` step for Install for Kustomize

type Action

type Action struct {
	Steps []Steps // using UnmarshalYAML so that we don't need a custom type per action
}

func (Action) GetSteps

func (a Action) GetSteps() []builder.ExecutableStep

func (*Action) UnmarshalYAML

func (a *Action) UnmarshalYAML(unmarshal func(interface{}) error) error

UnmarshalYAML takes any yaml in this form ACTION: - qliksense: ... and puts the steps into the Action.Steps field

type InstallAction added in v0.0.2

type InstallAction struct {
	Steps []InstallStep `yaml:"install"`
}

The `Porter.sh` action for Install

type InstallArguments added in v0.0.2

type InstallArguments struct {
	Step `yaml:",inline"`
	Cr   map[string]interface{} `yaml:"cr" json:"cr"`
}

type InstallStep added in v0.0.2

type InstallStep struct {
	InstallArguments `yaml:"qliksense"`
}

The `Porter.sh` step for Install for Kustomize

type Mixin

type Mixin struct {
	*context.Context
	// contains filtered or unexported fields
}

func New

func New() (*Mixin, error)

New azure mixin client, initialized with useful defaults.

func (*Mixin) About added in v0.10.0

func (m *Mixin) About() error

About The public method invoked by `porter` when performing an `Install` step that has a `qliksense` mixin step

func (*Mixin) Build

func (m *Mixin) Build() error

Build will generate the necessary Dockerfile lines for an invocation image using this mixin

func (*Mixin) Execute

func (m *Mixin) Execute() error

func (*Mixin) GetSchema

func (m *Mixin) GetSchema() (string, error)

func (*Mixin) Install added in v0.0.2

func (m *Mixin) Install() error

The public method invoked by `porter` when performing an `Install` step that has a `qliksense` mixin step

func (*Mixin) PrintSchema

func (m *Mixin) PrintSchema() error

func (*Mixin) PrintVersion

func (m *Mixin) PrintVersion(opts version.Options) error

func (*Mixin) Uninstall added in v0.0.2

func (m *Mixin) Uninstall() error

Uninstall deletes a provided set of Kustomize releases, supplying optional flags/params

func (*Mixin) Upgrade added in v0.0.4

func (m *Mixin) Upgrade() error

Upgrade deletes a provided set of Kustomize releases, supplying optional flags/params

func (*Mixin) ValidatePayload added in v0.0.2

func (m *Mixin) ValidatePayload(b []byte) error

type Output

type Output struct {
	Name string `yaml:"name"`

	// See https://porter.sh/mixins/exec/#outputs
	// TODO: If your mixin doesn't support these output types, you can remove these and the interface assertions above, and from #/definitions/outputs in schema.json
	JsonPath string `yaml:"jsonPath,omitempty"`
	FilePath string `yaml:"path,omitempty"`
	Regex    string `yaml:"regex,omitempty"`
}

func (Output) GetFilePath

func (o Output) GetFilePath() string

func (Output) GetJsonPath

func (o Output) GetJsonPath() string

func (Output) GetName

func (o Output) GetName() string

func (Output) GetRegex

func (o Output) GetRegex() string

type Step

type Step struct {
	Name        string        `yaml:"name"`
	Description string        `yaml:"description"`
	Arguments   []string      `yaml:"arguments,omitempty"`
	Flags       builder.Flags `yaml:"flags,omitempty"`
	Outputs     []Output      `yaml:"outputs,omitempty"`
}

func (Step) GetArguments

func (s Step) GetArguments() []string

func (Step) GetCommand

func (s Step) GetCommand() string

func (Step) GetFlags

func (s Step) GetFlags() builder.Flags

func (Step) GetOutputs

func (s Step) GetOutputs() []builder.Output

type Steps

type Steps struct {
	Step `yaml:"qliksense"`
}

type TestMixin

type TestMixin struct {
	*Mixin
	TestContext *context.TestContext
}

func NewTestMixin

func NewTestMixin(t *testing.T) *TestMixin

NewTestMixin initializes a mixin test client, with the output buffered, and an in-memory file system.

type UninstallAction added in v0.0.2

type UninstallAction struct {
	Steps []UninstallStep `yaml:"uninstall"`
}

type UninstallArguments added in v0.0.2

type UninstallArguments struct {
	Step `yaml:",inline"`
	Cr   map[string]interface{} `yaml:"cr"`
}

UninstallArguments are the arguments available for the Uninstall action

type UninstallStep added in v0.0.2

type UninstallStep struct {
	UninstallArguments `yaml:"qliksense"`
}

UninstallStep represents the structure of an Uninstall action

type UpgradeAction added in v0.0.4

type UpgradeAction struct {
	Steps []UpgradeStep `yaml:"upgrade"`
}

type UpgradeArguments added in v0.0.4

type UpgradeArguments struct {
	Step `yaml:",inline"`
	Cr   map[string]interface{} `yaml:"cr"`
}

UpgradeArguments are the arguments available for the Upgrade action

type UpgradeStep added in v0.0.4

type UpgradeStep struct {
	UpgradeArguments `yaml:"qliksense"`
}

UpgradeStep represents the structure of an Upgrade action

type VersionOutput added in v0.10.0

type VersionOutput struct {
	QliksenseVersion string   `yaml:"qlikSenseVersion"`
	Images           []string `yaml:"images"`
}

Jump to

Keyboard shortcuts

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