Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewConnectionWithTemporaryToken ¶
func NewConnectionWithTemporaryToken(url, token string) (*sdk.Connection, error)
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func NewClient ¶
func NewClient(conn *sdk.Connection) Client
NewClient Not sure if I want this to be part of the ocmClient Struct yet. Any ways it needs to be exposed to the user for them to close the connection
func (Client) ListServiceLogs ¶
func (c Client) ListServiceLogs(clusterID string, query ...string) ([]ServiceLog, error)
func (Client) PostInternalServiceLog ¶
type ServiceLog ¶
type ServiceLog struct { ClusterId string ClusterUuid string CreatedAt time.Time CreatedBy string Desc string EventStreamId string Href string Id string InternalOnly bool Kind string LogType string ServiceName string Severity string Summary string Timestamp time.Time Username string }
ServiceLog is what is received from OCM
Click to show internal directories.
Click to hide internal directories.