configOperator

package
v0.0.0-...-1d5d4ec Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2019 License: Apache-2.0 Imports: 24 Imported by: 3

Documentation

Index

Constants

View Source
const BaseUrl = "http://localhost:8080/rest/applications"

Variables

This section is empty.

Functions

This section is empty.

Types

type AndroidVariant

type AndroidVariant struct {
	ProjectNumber string `json:"projectNumber"`
	GoogleKey     string `json:"googleKey"`
	Variant
}

type AnnotationHelper

type AnnotationHelper interface {
	// contains filtered or unexported methods
}

type AnnotationHelperImpl

type AnnotationHelperImpl struct {
	// contains filtered or unexported fields
}

func NewAnnotationHelper

func NewAnnotationHelper(mobileclient *mc.Clientset) *AnnotationHelperImpl

type BindingSecret

type BindingSecret = v1.Secret

This is required because importing core/v1/Secret leads to a double import and redefinition of log_dir

type ConfigOperator

type ConfigOperator struct {
	// contains filtered or unexported fields
}

func NewConfigOperator

func NewConfigOperator(pushClientProvider UpsClientProvider, annotationHelper AnnotationHelper, kubeHelper KubeHelper) *ConfigOperator

func (ConfigOperator) StartService

func (op ConfigOperator) StartService()

type IOSVariant

type IOSVariant struct {
	Certificate []byte `json:"certificate"`
	Passphrase  string `json:"passphrase"`
	Production  bool   `json:"production"`
	Variant
}

type KubeHelper

type KubeHelper interface {
	// contains filtered or unexported methods
}

type KubeHelperImpl

type KubeHelperImpl struct {
	// contains filtered or unexported fields
}

func NewKubeHelper

func NewKubeHelper(k8client *kubernetes.Clientset, scclient *sc.Clientset) *KubeHelperImpl

type MockAnnotationHelper

type MockAnnotationHelper struct {
	mock.Mock
}

MockAnnotationHelper is an autogenerated mock type for the AnnotationHelper type

type MockKubeHelper

type MockKubeHelper struct {
	mock.Mock
}

MockKubeHelper is an autogenerated mock type for the KubeHelper type

type MockUpsClient

type MockUpsClient struct {
	mock.Mock
}

MockUpsClient is an autogenerated mock type for the UpsClient type

type MockUpsClientProvider

type MockUpsClientProvider struct {
	mock.Mock
}

MockUpsClientProvider is an autogenerated mock type for the UpsClientProvider type

type PushApplication

type PushApplication struct {
	ApplicationId string `json:"applicationId"`
}

type UPSClientConfig

type UPSClientConfig struct {
	Android *map[string]string `json:"android,omitempty"`
	IOS     *map[string]string `json:"ios,omitempty"`
}

type UpsClient

type UpsClient interface {
	// contains filtered or unexported methods
}

type UpsClientImpl

type UpsClientImpl struct {
	// contains filtered or unexported fields
}

func NewUpsClientImpl

func NewUpsClientImpl(config *PushApplication, serviceInstanceId string, baseUrl string) *UpsClientImpl

type UpsClientProvider

type UpsClientProvider interface {
	// contains filtered or unexported methods
}

Provides ups clients. This is to allow creation of

type UpsClientProviderImpl

type UpsClientProviderImpl struct {
	// contains filtered or unexported fields
}

func NewUpsClientProviderImpl

func NewUpsClientProviderImpl(k8client *kubernetes.Clientset) *UpsClientProviderImpl

type Variant

type Variant struct {
	Name        string `json:"name"`
	Description string `json:"description"`
	VariantID   string `json:"variantID"`
	Secret      string `json:"secret"`
}

type VariantServiceBindingMapping

type VariantServiceBindingMapping struct {
	VariantId        string
	ServiceBindingId string
}

func GetClientConfigRepresentation

func GetClientConfigRepresentation(variantId, serviceBindingId string) (VariantServiceBindingMapping, error)

func (*VariantServiceBindingMapping) Validate

func (configRepresentation *VariantServiceBindingMapping) Validate() error

Jump to

Keyboard shortcuts

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