juju: github.com/juju/juju/core/relation Index | Files

package relation

import "github.com/juju/juju/core/relation"

Index

Package Files

status.go

type Status Uses

type Status string

Status describes the status of a relation.

const (
    // Joined is the normal status for a healthy, alive relation.
    Joined Status = "joined"

    // Broken is the status for when a relation life goes to Dead.
    Broken Status = "broken"

    // Suspended is used to signify that a relation is temporarily broken pending
    // action to resume it.
    Suspended Status = "suspended"

    // Error is used to signify that the relation is in an error state.
    Error Status = "error"
)

func (Status) String Uses

func (s Status) String() string

Package relation is imported by 39 packages. Updated 2017-10-15. Refresh now. Tools for package owners.