ocp3

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2019 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Masterf string

	Nodef string
	// contains filtered or unexported fields
}

Config represents OCP3 configuration

func New

func New() *Config

New instantiates and returns Config structure that represents OCP3 configuration

func (*Config) Fetch

func (c *Config) Fetch()

Fetch checks whether OCP3 configuration is available and retrieves it in case it is not.

func (*Config) ParseMaster

func (c *Config) ParseMaster() configv1.MasterConfig

ParseMaster unmarshals OCP3 master-config

Jump to

Keyboard shortcuts

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