cacheutils

package
v2.0.0-...-6fac617 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2022 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// MaxGRPCMessageSize contains max grpc message size supported by the client
	MaxClientGRPCMessageSize = 100 * 1024 * 1024
)

Variables

This section is empty.

Functions

func GenerateCacheKey

func GenerateCacheKey(
	inputs *pipelinespec.ExecutorInput_Inputs,
	outputs *pipelinespec.ExecutorInput_Outputs,
	outputParametersTypeMap map[string]string,
	cmdArgs []string, image string) (*cachekey.CacheKey, error)

func GenerateFingerPrint

func GenerateFingerPrint(cacheKey *cachekey.CacheKey) (string, error)

Types

type Client

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

Client is an KFP service client.

func NewClient

func NewClient() (*Client, error)

NewClient creates a Client.

func (*Client) CreateExecutionCache

func (c *Client) CreateExecutionCache(ctx context.Context, task *api.Task) error

func (*Client) GetExecutionCache

func (c *Client) GetExecutionCache(fingerPrint, pipelineName, namespace string) (string, error)

Jump to

Keyboard shortcuts

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