...

Package examples

import "edge-infra.dev/pkg/edge/rollouts/examples"
Overview
Index

Overview ▾

Variables

var SampleGraphJSON []byte
var SamplePlanJSON []byte

func CreateSampleGraph

func CreateSampleGraph(plan rollouts.RolloutPlan) *rollouts.RolloutGraph

func CreateSamplePlan

func CreateSamplePlan() rollouts.RolloutPlan

TODO(dk185217): Either move to _test.go or remove. Examples for human use and developers wont be creating graph entity structs etc etc

func GetSampleGraphFromJSON

func GetSampleGraphFromJSON() *rollouts.RolloutGraph

func GetSamplePlanFromJSON

func GetSamplePlanFromJSON() rollouts.RolloutPlan