cc_client

package
v0.0.0-...-f79c404 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: Apache-2.0 Imports: 12 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewTLSConfig

func NewTLSConfig(certFile string, keyFile string, caCertFile string) (*tls.Config, error)

Types

type BadResponseError

type BadResponseError struct {
	StatusCode int
}

func (*BadResponseError) Error

func (b *BadResponseError) Error() string

type CcClient

type CcClient interface {
	AppCrashed(guid string, appCrashed cc_messages.AppCrashedRequest, logger lager.Logger) error
	AppRescheduling(guid string, appRescheduling cc_messages.AppReschedulingRequest, logger lager.Logger) error
	AppReadinessChanged(guid string, AppReadinessChanged cc_messages.AppReadinessChangedRequest, logger lager.Logger) error
}

func NewCcClient

func NewCcClient(baseURI string, tlsConfig *tls.Config) CcClient

Directories

Path Synopsis
Code generated by counterfeiter.
Code generated by counterfeiter.

Jump to

Keyboard shortcuts

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