Documentation ¶
Index ¶
- type AdminConsole
- func (a AdminConsole) Application() ([]byte, error)
- func (a AdminConsole) EmbeddedClusterConfig() (*embeddedclusterv1beta1.Config, error)
- func (a AdminConsole) ExtractCustomization() (*ParsedSection, error)
- func (a AdminConsole) HostPreflights() (*v1beta2.HostPreflightSpec, error)
- func (a AdminConsole) License() (*v1beta1.License, error)
- type ParsedSection
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdminConsole ¶
type AdminConsole struct{}
AdminConsole is a struct that contains the actions to create and update the admin console customization found inside the binary. This is necessary for backwards compatibility with older versions of embedded-cluster.
func (AdminConsole) Application ¶
func (a AdminConsole) Application() ([]byte, error)
Application reads and returns the kots application embedded as part of the release. If no application is found, returns nil and no error. This function does not unmarshal the application yaml.
func (AdminConsole) EmbeddedClusterConfig ¶
func (a AdminConsole) EmbeddedClusterConfig() (*embeddedclusterv1beta1.Config, error)
EmbeddedClusterConfig reads the embedded cluster config from the embedded Kots Application Release.
func (AdminConsole) ExtractCustomization ¶
func (a AdminConsole) ExtractCustomization() (*ParsedSection, error)
ExtractCustomization will extract the customization from the binary if it exists. The customization is expected to be found in the sec_bundle section of the binary.
func (AdminConsole) HostPreflights ¶
func (a AdminConsole) HostPreflights() (*v1beta2.HostPreflightSpec, error)
HostPreflights returns a list of HostPreflight specs that are found in the binary. These are part of the embedded Kots Application Release.