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

package firewall

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

Index

Package Files

firewall.go

Constants

const (
    // SSHRule is a rule for SSH connections.
    SSHRule = WellKnownServiceType("ssh")

    // JujuControllerRule is a rule for connections to the Juju controller.
    JujuControllerRule = WellKnownServiceType("juju-controller")

    // JujuApplicationOfferRule is a rule for connections to a Juju offer.
    JujuApplicationOfferRule = WellKnownServiceType("juju-application-offer")
)

type WellKnownServiceType Uses

type WellKnownServiceType string

WellKnownService defines a service for which firewall rules may be applied.

func (WellKnownServiceType) Validate Uses

func (v WellKnownServiceType) Validate() error

Package firewall imports 1 packages (graph) and is imported by 8 packages. Updated 2019-12-02. Refresh now. Tools for package owners.