Documentation

Overview

    Package supervisor contains functionality to load/store Config's from/to some source.

    Index

    Constants

    This section is empty.

    Variables

    This section is empty.

    Functions

    This section is empty.

    Types

    type Config

    type Config struct {
    	APIGroupSuffix *string           `json:"apiGroupSuffix,omitempty"`
    	Labels         map[string]string `json:"labels"`
    	NamesConfig    NamesConfigSpec   `json:"names"`
    	LogLevel       plog.LogLevel     `json:"logLevel"`
    }

      Config contains knobs to setup an instance of the Pinniped Supervisor.

      func FromPath

      func FromPath(path string) (*Config, error)

        FromPath loads an Config from a provided local file path, inserts any defaults (from the Config documentation), and verifies that the config is valid (Config documentation).

        type NamesConfigSpec

        type NamesConfigSpec struct {
        	DefaultTLSCertificateSecret string `json:"defaultTLSCertificateSecret"`
        }

          NamesConfigSpec configures the names of some Kubernetes resources for the Supervisor.

          Source Files