Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConnectionBuilder ¶
type ConnectionBuilder struct {
// contains filtered or unexported fields
}
ConnectionBuilder contains the information and logic needed to build a connection to OCM. Don't create instances of this type directly; use the NewConnection function instead.
func NewConnection ¶
func NewConnection() *ConnectionBuilder
NewConnection creates a builder that can then be used to configure and build an OCM connection. Don't create instances of this type directly; use the NewConnection function instead.
func (*ConnectionBuilder) Build ¶
func (b *ConnectionBuilder) Build() (result *sdk.Connection, err error)
Build uses the information stored in the builder to create a new OCM connection.
func (*ConnectionBuilder) Config ¶
func (b *ConnectionBuilder) Config(value *config.Config) *ConnectionBuilder
Config sets the configuration that the connection will use to authenticate the user
Click to show internal directories.
Click to hide internal directories.