slack

package
v0.0.0-...-c284ad8 Latest Latest
Warning

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

Go to latest
Published: May 4, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Attributes

type Attributes struct {
	Name             string
	Status           string
	ClusterTestSuite string
	CompletionTime   string
}

type Client

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

func New

func New(client *slack.Client) *Client

func (Client) UploadLogFile

func (s Client) UploadLogFile(msg Message, parentMsgTimestamp string) error

func (Client) UploadLogFiles

func (s Client) UploadLogFiles(messages []Message, prowJobName, ctsName, completionTime string) error

type Message

type Message struct {
	Data        string
	Attributes  Attributes
	ChannelName string
	ChannelID   string
	PodName     string
}

Jump to

Keyboard shortcuts

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